diff --git a/docs/404.html b/docs/404.html index c54eecb3..dc3a9663 100644 --- a/docs/404.html +++ b/docs/404.html @@ -1 +1 @@ -404: This page could not be found.OverlayScrollbars

404

This page could not be found.

\ No newline at end of file +404: This page could not be found.OverlayScrollbars

404

This page could not be found.

\ No newline at end of file diff --git a/docs/_next/static/UcpZTOtXcH1s4x2BPgCtX/_buildManifest.js b/docs/_next/static/KfYVx7uxchJZRKcSm9GOh/_buildManifest.js similarity index 100% rename from docs/_next/static/UcpZTOtXcH1s4x2BPgCtX/_buildManifest.js rename to docs/_next/static/KfYVx7uxchJZRKcSm9GOh/_buildManifest.js diff --git a/docs/_next/static/UcpZTOtXcH1s4x2BPgCtX/_ssgManifest.js b/docs/_next/static/KfYVx7uxchJZRKcSm9GOh/_ssgManifest.js similarity index 100% rename from docs/_next/static/UcpZTOtXcH1s4x2BPgCtX/_ssgManifest.js rename to docs/_next/static/KfYVx7uxchJZRKcSm9GOh/_ssgManifest.js diff --git a/docs/_next/static/chunks/556-5ae5f856421ee9c6.js b/docs/_next/static/chunks/556-2555a825b8c6e47f.js similarity index 57% rename from docs/_next/static/chunks/556-5ae5f856421ee9c6.js rename to docs/_next/static/chunks/556-2555a825b8c6e47f.js index 6d576ec7..edd81c72 100644 --- a/docs/_next/static/chunks/556-5ae5f856421ee9c6.js +++ b/docs/_next/static/chunks/556-2555a825b8c6e47f.js @@ -1,9 +1,9 @@ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[556],{7556:function(t,e,r){r.d(e,{A:function(){return i},E:function(){return a}});var n=r(2265),l=r(8618);let o=()=>{let t,e;let r=window,n="function"==typeof r.requestIdleCallback,l=r.requestAnimationFrame,o=r.cancelAnimationFrame,i=n?r.requestIdleCallback:l,a=n?r.cancelIdleCallback:o,c=()=>{a(t),o(e)};return[(r,o)=>{c(),t=i(n?()=>{c(),e=l(r)}:r,"object"==typeof o?o:{timeout:2233})},c]},i=t=>{let{options:e,events:r,defer:i}=t||{},[a,c]=(0,n.useMemo)(o,[]),s=(0,n.useRef)(null),u=(0,n.useRef)(i),d=(0,n.useRef)(e),p=(0,n.useRef)(r);return(0,n.useEffect)(()=>{u.current=i},[i]),(0,n.useEffect)(()=>{let{current:t}=s;d.current=e,l.UN.valid(t)&&t.options(e||{},!0)},[e]),(0,n.useEffect)(()=>{let{current:t}=s;p.current=r,l.UN.valid(t)&&t.on(r||{},!0)},[r]),(0,n.useEffect)(()=>()=>{var t;c(),null==(t=s.current)||t.destroy()},[]),(0,n.useMemo)(()=>[t=>{let e=s.current;if(l.UN.valid(e))return;let r=u.current,n=d.current||{},o=p.current||{},i=()=>s.current=(0,l.UN)(t,n,o);r?a(i,r):i()},()=>s.current],[])},a=(0,n.forwardRef)((t,e)=>{let{element:r="div",options:l,events:o,defer:a,children:c,...s}=t,u=(0,n.useRef)(null),d=(0,n.useRef)(null),[p,f]=i({options:l,events:o,defer:a});return(0,n.useEffect)(()=>{let{current:t}=u,{current:e}=d;if(t)return p("body"===r?{target:t,cancel:{body:null}}:{target:t,elements:{viewport:e,content:e}}),()=>{var t;return null==(t=f())?void 0:t.destroy()}},[p,r]),(0,n.useImperativeHandle)(e,()=>({osInstance:f,getElement:()=>u.current}),[]),n.createElement(r,{"data-overlayscrollbars-initialize":"",ref:u,...s},"body"===r?c:n.createElement("div",{"data-overlayscrollbars-contents":"",ref:d},c))})},8618:function(t,e,r){let n,l;r.d(e,{UN:function(){return rk},ZA:function(){return rs}});/*! * OverlayScrollbars - * Version: 2.9.1 + * Version: 2.9.2 * * Copyright (c) Rene Haas | KingSora. * https://github.com/KingSora * * Released under the MIT license. - */let o=(t,e)=>{let r;let{o:n,i:l,u:o}=t,i=n,a=(t,e)=>{let n=i,a=e||(l?!l(n,t):n!==t);return(a||o)&&(i=t,r=n),[i,a,r]};return[e?t=>a(e(i,r),t):a,t=>[i,!!t,r]]},i="undefined"!=typeof HTMLElement&&window.document?window:{},a=Math.max,c=Math.min,s=Math.round,u=Math.abs,d=Math.sign,p=i.cancelAnimationFrame,f=i.requestAnimationFrame,y=i.setTimeout,h=i.clearTimeout,v=t=>void 0!==i[t]?i[t]:void 0,b=v("MutationObserver"),g=v("IntersectionObserver"),w=v("ResizeObserver"),m=v("ScrollTimeline"),x=t=>void 0===t,k=t=>null===t,O=t=>"number"==typeof t,S=t=>"string"==typeof t,C=t=>"boolean"==typeof t,R=t=>"function"==typeof t,M=t=>Array.isArray(t),A=t=>"object"==typeof t&&!M(t)&&!k(t),E=t=>{let e=!!t&&t.length,r=O(e)&&e>-1&&e%1==0;return(!!M(t)||!R(t)&&!!r)&&(!(e>0&&A(t))||e-1 in t)},D=t=>!!t&&t.constructor===Object,H=t=>t instanceof HTMLElement,T=t=>t instanceof Element,I=()=>performance.now(),N=(t,e,r,n,l)=>{let o=0,i=I(),c=a(0,r),s=r=>{let u=I(),d=u-i>=c,p=r?1:1-(a(0,i+c-u)/c||0),y=(e-t)*(R(l)?l(p,p*c,0,1,c):p)+t,h=d||1===p;n&&n(y,p,h),o=h?0:f(()=>s())};return s(),t=>{p(o),t&&s(t)}};function _(t,e){if(E(t))for(let r=0;re(t[r],r,t));return t}let L=(t,e)=>t.indexOf(e)>=0,z=(t,e)=>t.concat(e),P=(t,e,r)=>(!r&&!S(e)&&E(e)?Array.prototype.push.apply(t,e):t.push(e),t),j=t=>Array.from(t||[]),U=t=>M(t)?t:!S(t)&&E(t)?j(t):[t],F=t=>!!t&&!t.length,V=t=>j(new Set(t)),q=(t,e,r)=>{_(t,t=>t&&t.apply(void 0,e||[])),r||(t.length=0)},K="paddingTop",Z="paddingRight",B="paddingLeft",W="paddingBottom",Y="marginLeft",X="marginRight",$="marginBottom",G="overflowX",J="overflowY",Q="width",tt="height",te="visible",tr="hidden",tn="scroll",tl=t=>{let e=String(t||"");return e?e[0].toUpperCase()+e.slice(1):""},to=(t,e,r,n)=>{if(t&&e){let l=!0;return _(r,r=>{(n?n(t[r]):t[r])!==(n?n(e[r]):e[r])&&(l=!1)}),l}return!1},ti=(t,e)=>to(t,e,["w","h"]),ta=(t,e)=>to(t,e,["x","y"]),tc=(t,e)=>to(t,e,["t","r","b","l"]),ts=()=>{},tu=function(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n{let e;let r=t?y:f,n=t?h:p;return[l=>{n(e),e=r(()=>l(),R(t)?t():t)},()=>n(e)]},tp=(t,e)=>{let r,n,l,o;let{_:i,p:a,v:c,S:s}=e||{},u=ts,d=function(e){u(),h(r),o=r=n=void 0,u=ts,t.apply(this,e)},v=t=>s&&n?s(n,t):t,b=()=>{u!==ts&&d(v(l)||l)},g=function(){let t=j(arguments),e=R(i)?i():i;if(O(e)&&e>=0){let i;let s=R(a)?a():a,g=O(s)&&s>=0,w=e>0?y:f,m=e>0?h:p,x=v(t)||t,k=d.bind(0,x);u(),c&&!o?(k(),o=!0,i=w(()=>o=void 0,e)):(i=w(k,e),g&&!r&&(r=y(b,s))),u=()=>m(i),n=l=x}else d(t)};return g.m=b,g},tf=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),ty=t=>t?Object.keys(t):[],th=(t,e,r,n,l,o,i)=>(("object"!=typeof t||k(t))&&!R(t)&&(t={}),_([e,r,n,l,o,i],e=>{_(e,(r,n)=>{let l=e[n];if(t===l)return!0;let o=M(l);if(l&&D(l)){let e=t[n],r=e;o&&!M(e)?r=[]:o||D(e)||(r={}),t[n]=th(r,l)}else t[n]=o?l.slice():l})}),t),tv=(t,e)=>_(th({},t),(t,r,n)=>{void 0===t?delete n[r]:e&&t&&D(t)&&(n[r]=tv(t,e))}),tb=t=>!ty(t).length,tg=(t,e,r)=>a(t,c(e,r)),tw=t=>V((M(t)?t:(t||"").split(" ")).filter(t=>t)),tm=(t,e)=>t&&t.getAttribute(e),tx=(t,e)=>t&&t.hasAttribute(e),tk=(t,e,r)=>{_(tw(e),e=>{t&&t.setAttribute(e,String(r||""))})},tO=(t,e)=>{_(tw(e),e=>t&&t.removeAttribute(e))},tS=(t,e)=>{let r=tw(tm(t,e)),n=tu(tk,t,e),l=(t,e)=>{let n=new Set(r);return _(tw(t),t=>{n[e](t)}),j(n).join(" ")};return{O:t=>n(l(t,"delete")),$:t=>n(l(t,"add")),C:t=>{let e=tw(t);return e.reduce((t,e)=>t&&r.includes(e),e.length>0)}}},tC=(t,e,r)=>(tS(t,e).O(r),tu(tR,t,e,r)),tR=(t,e,r)=>(tS(t,e).$(r),tu(tC,t,e,r)),tM=(t,e,r,n)=>(n?tR:tC)(t,e,r),tA=(t,e,r)=>tS(t,e).C(r),tE=t=>tS(t,"class"),tD=(t,e)=>{tE(t).O(e)},tH=(t,e)=>(tE(t).$(e),tu(tD,t,e)),tT=(t,e)=>{let r=e?T(e)&&e:document;return r?j(r.querySelectorAll(t)):[]},tI=(t,e)=>{let r=e?T(e)&&e:document;return r&&r.querySelector(t)},tN=(t,e)=>T(t)&&t.matches(e),t_=t=>tN(t,"body"),tL=t=>t?j(t.childNodes):[],tz=t=>t&&t.parentElement,tP=(t,e)=>T(t)&&t.closest(e),tj=t=>(t||document).activeElement,tU=(t,e,r)=>{let n=tP(t,e),l=t&&tI(r,n),o=tP(l,e)===n;return!!n&&!!l&&(n===t||l===t||o&&tP(tP(t,r),e)!==n)},tF=t=>{_(U(t),t=>{let e=tz(t);t&&e&&e.removeChild(t)})},tV=(t,e)=>tu(tF,t&&e&&_(U(e),e=>{e&&t.appendChild(e)})),tq=t=>{let e=document.createElement("div");return tk(e,"class",t),e},tK=t=>{let e=tq();return e.innerHTML=t.trim(),_(tL(e),t=>tF(t))},tZ=(t,e)=>t.getPropertyValue(e)||t[e]||"",tB=t=>{let e=t||0;return isFinite(e)?e:0},tW=t=>tB(parseFloat(t||"")),tY=t=>Math.round(1e4*t)/1e4,tX=t=>"".concat(tY(tB(t)),"px");function t$(t,e){t&&e&&_(e,(e,r)=>{try{let n=t.style,l=k(e)||C(e)?"":O(e)?tX(e):e;0===r.indexOf("--")?n.setProperty(r,l):n[r]=l}catch(t){}})}function tG(t,e,r){let n=S(e),l=n?"":{};if(t){let o=i.getComputedStyle(t,r)||t.style;l=n?tZ(o,e):j(e).reduce((t,e)=>(t[e]=tZ(o,e),t),l)}return l}let tJ=(t,e,r)=>{let n=e?"".concat(e,"-"):"",l=r?"-".concat(r):"",o="".concat(n,"top").concat(l),i="".concat(n,"right").concat(l),a="".concat(n,"bottom").concat(l),c="".concat(n,"left").concat(l),s=tG(t,[o,i,a,c]);return{t:tW(s[o]),r:tW(s[i]),b:tW(s[a]),l:tW(s[c])}},tQ=(t,e)=>"translate".concat(A(t)?"(".concat(t.x,",").concat(t.y,")"):"".concat(e?"X":"Y","(").concat(t,")")),t0=t=>!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length),t1={w:0,h:0},t2=(t,e)=>e?{w:e["".concat(t,"Width")],h:e["".concat(t,"Height")]}:t1,t3=t=>t2("inner",t||i),t5=tu(t2,"offset"),t4=tu(t2,"client"),t6=tu(t2,"scroll"),t8=t=>{let e=parseFloat(tG(t,Q))||0,r=parseFloat(tG(t,tt))||0;return{w:e-s(e),h:r-s(r)}},t9=t=>t.getBoundingClientRect(),t7=t=>!!t&&t0(t),et=t=>!!(t&&(t[tt]||t[Q])),ee=(t,e)=>{let r=et(t);return!et(e)&&r},er=(t,e,r,n)=>{_(tw(e),e=>{t&&t.removeEventListener(e,r,n)})},en=(t,e,r,n)=>{var l;let o=null==(l=n&&n.H)||l,i=n&&n.I||!1,a=n&&n.A||!1,c={passive:o,capture:i};return tu(q,tw(e).map(e=>{let n=a?l=>{er(t,e,n,i),r&&r(l)}:r;return t&&t.addEventListener(e,n,c),tu(er,t,e,n,i)}))},el=t=>t.stopPropagation(),eo=t=>t.preventDefault(),ei=t=>el(t)||eo(t),ea=(t,e)=>{let{x:r,y:n}=O(e)?{x:e,y:e}:e||{};O(r)&&(t.scrollLeft=r),O(n)&&(t.scrollTop=n)},ec=t=>({x:t.scrollLeft,y:t.scrollTop}),es=()=>({D:{x:0,y:0},T:{x:0,y:0}}),eu=(t,e)=>{let{D:r,T:n}=t,{w:l,h:o}=e,i=(t,e,r)=>{let n=d(t)*r,l=d(e)*r;if(n===l){let r=u(t),o=u(e);l=r>o?0:l,n=r{var e,r,n,l;let{D:o,T:i}=t;return{x:(e=o.x,r=i.x,0===e&&e<=r),y:(n=o.y,l=i.y,0===n&&n<=l)}},ep=(t,e)=>{let{D:r,T:n}=t,l=(t,e,r)=>tg(0,1,(t-r)/(t-e)||0);return{x:l(r.x,n.x,e.x),y:l(r.y,n.y,e.y)}},ef=t=>{t&&t.focus&&t.focus({preventScroll:!0})},ey=(t,e)=>{_(U(e),t)},eh=t=>{let e=new Map,r=(t,r)=>{if(t){let n=e.get(t);ey(t=>{n&&n[t?"delete":"clear"](t)},r)}else e.forEach(t=>{t.clear()}),e.clear()},n=(t,l)=>{if(S(t)){let n=e.get(t)||new Set;return e.set(t,n),ey(t=>{R(t)&&n.add(t)},l),tu(r,t,l)}C(l)&&l&&r();let o=ty(t),i=[];return _(o,e=>{let r=t[e];r&&P(i,n(e,r))}),tu(q,i)};return n(t||{}),[n,r,(t,r)=>{_(j(e.get(t)),t=>{r&&!F(r)?t.apply(0,r):t()})}]},ev=t=>JSON.stringify(t,(t,e)=>{if(R(e))throw 0;return e}),eb=(t,e)=>t?"".concat(e).split(".").reduce((t,e)=>t&&tf(t,e)?t[e]:void 0,t):void 0,eg={paddingAbsolute:!1,showNativeOverlaidScrollbars:!1,update:{elementEvents:[["img","load"]],debounce:[0,33],attributes:null,ignoreMutation:null},overflow:{x:"scroll",y:"scroll"},scrollbars:{theme:"os-theme-dark",visibility:"auto",autoHide:"never",autoHideDelay:1300,autoHideSuspend:!1,dragScroll:!0,clickScroll:!1,pointers:["mouse","touch","pen"]}},ew=(t,e)=>{let r={};return _(z(ty(e),ty(t)),n=>{let l=t[n],o=e[n];if(A(l)&&A(o))th(r[n]={},ew(l,o)),tb(r[n])&&delete r[n];else if(tf(e,n)&&o!==l){let t=!0;if(M(l)||M(o))try{ev(l)===ev(o)&&(t=!1)}catch(t){}t&&(r[n]=o)}}),r},em=(t,e,r)=>n=>[eb(t,n),r||void 0!==eb(e,n)],ex="data-overlayscrollbars",ek="os-environment",eO="".concat(ek,"-scrollbar-hidden"),eS="".concat(ex,"-initialize"),eC="noClipping",eR="".concat(ex,"-body"),eM="".concat(ex,"-viewport"),eA="measuring",eE="scrollbarHidden",eD="".concat(ex,"-padding"),eH="".concat(ex,"-content"),eT="os-size-observer",eI="".concat(eT,"-appear"),eN="".concat(eT,"-listener"),e_="os-scrollbar",eL="".concat(e_,"-rtl"),ez="".concat(e_,"-horizontal"),eP="".concat(e_,"-vertical"),ej="".concat(e_,"-track"),eU="".concat(e_,"-handle"),eF="".concat(e_,"-visible"),eV="".concat(e_,"-cornerless"),eq="".concat(e_,"-interaction"),eK="".concat(e_,"-unusable"),eZ="".concat(e_,"-auto-hide"),eB="".concat(eZ,"-hidden"),eW="".concat(e_,"-wheel"),eY="".concat(ej,"-interactive"),eX="".concat(eU,"-interactive"),e$=()=>n,eG=()=>{let t=(t,e,r)=>{tV(document.body,t),tV(document.body,t);let n=t4(t),l=t5(t),o=t8(e);return r&&tF(t),{x:l.h-n.h+o.h,y:l.w-n.w+o.w}},e=".".concat(ek,"{scroll-behavior:auto!important;position:fixed;opacity:0;visibility:hidden;overflow:scroll;height:200px;width:200px;z-index:-1}.").concat(ek," div{width:200%;height:200%;margin:10px 0}.").concat(eO,"{scrollbar-width:none!important}.").concat(eO,"::-webkit-scrollbar,.").concat(eO,"::-webkit-scrollbar-corner{appearance:none!important;display:none!important;width:0!important;height:0!important}"),r=tK('
"))[0],n=r.firstChild,l=r.lastChild,a=e$();a&&(l.nonce=a);let[c,,s]=eh(),[u,d]=o({o:t(r,n),i:ta},tu(t,r,n,!0)),[p]=d(),f=(t=>{let e=!1,r=tH(t,eO);try{e="none"===tG(t,"scrollbar-width")||"none"===tG(t,"display","::-webkit-scrollbar")}catch(t){}return r(),e})(r),y={x:0===p.x,y:0===p.y},h={elements:{host:null,padding:!f,viewport:t=>f&&t_(t)&&t,content:!1},scrollbars:{slot:!0},cancel:{nativeScrollbarsOverlaid:!1,body:null}},v=th({},eg),b=tu(th,{},v),g=tu(th,{},h),w={k:p,M:y,R:f,V:!!m,L:tu(c,"r"),U:g,P:t=>th(h,t)&&g(),N:b,q:t=>th(v,t)&&b(),B:th({},h),F:th({},v)};if(tO(r,"style"),tF(r),en(i,"resize",()=>{s("r",[])}),R(i.matchMedia)&&!f&&(!y.x||!y.y)){let t=e=>{en(i.matchMedia("(resolution: ".concat(i.devicePixelRatio,"dppx)")),"change",()=>{e(),t(e)},{A:!0})};t(()=>{let[t,e]=u();th(w.k,t),s("r",[e])})}return w},eJ=()=>(l||(l=eG()),l),eQ=(t,e)=>R(e)?e.apply(0,t):e,e0=(t,e,r,n)=>eQ(t,x(n)?r:n)||e.apply(0,t),e1=(t,e,r,n)=>{let l=eQ(t,x(n)?r:n);return!!l&&(H(l)?l:e.apply(0,t))},e2=(t,e)=>{let{nativeScrollbarsOverlaid:r,body:n}=e||{},{M:l,R:o,U:i}=eJ(),{nativeScrollbarsOverlaid:a,body:c}=i().cancel,s=x(n)?c:n,u=(l.x||l.y)&&(null!=r?r:a),d=t&&(k(s)?!o:s);return!!u||!!d},e3=new WeakMap,e5=(t,e)=>{e3.set(t,e)},e4=t=>{e3.delete(t)},e6=t=>e3.get(t),e8=(t,e,r)=>{let n=!1,l=!!r&&new WeakMap,o=o=>{l&&r&&_(r.map(e=>{let[r,n]=e||[];return[n&&r?(o||tT)(r,t):[],n]}),r=>_(r[0],o=>{let i=r[1],a=l.get(o)||[];if(t.contains(o)&&i){let t=en(o,i,r=>{n?(t(),l.delete(o)):e(r)});l.set(o,P(a,t))}else q(a),l.delete(o)}))};return o(),[()=>{n=!0},o]},e9=(t,e,r,n)=>{let l=!1,{j:o,X:i,Y:a,W:c,J:s,G:u}=n||{},d=tp(()=>l&&r(!0),{_:33,p:99}),[p,f]=e8(t,d,a),y=i||[],h=z(o||[],y),v=(l,o)=>{if(!F(o)){let i=s||ts,a=u||ts,d=[],p=[],h=!1,v=!1;if(_(o,r=>{let{attributeName:l,target:o,type:s,oldValue:u,addedNodes:f,removedNodes:b}=r,g="attributes"===s,w=t===o,m=g&&l,x=m&&tm(o,l||""),k=S(x)?x:null,O=m&&u!==k,C=L(y,l)&&O;if(e&&("childList"===s||!w)){let e=g&&O,s=e&&c&&tN(o,c),p=(s?!i(o,l,u,k):!g||e)&&!a(r,!!s,t,n);_(f,t=>P(d,t)),_(b,t=>P(d,t)),v=v||p}!e&&w&&O&&!i(o,l,u,k)&&(P(p,l),h=h||C)}),f(t=>V(d).reduce((e,r)=>(P(e,tT(t,r)),tN(r,t)?P(e,r):e),[])),e)return!l&&v&&r(!1),[!1];if(!F(p)||h){let t=[V(p),h];return l||r.apply(0,t),t}}},g=new b(tu(v,!1));return[()=>(g.observe(t,{attributes:!0,attributeOldValue:!0,attributeFilter:h,subtree:e,childList:e,characterData:e}),l=!0,()=>{l&&(p(),g.disconnect(),l=!1)}),()=>{if(l)return d.m(),v(!0,g.takeRecords())}]},e7={},rt={},re=t=>{_(t,t=>_(t,(e,r)=>{e7[r]=t[r]}))},rr=(t,e,r)=>ty(t).map(n=>{let{static:l,instance:o}=t[n],[i,a,c]=r||[],s=r?o:l;if(s){let t=r?s(i,a,e):s(e);return(c||rt)[n]=t}}),rn=t=>rt[t],rl=(t,e)=>{let{M:r}=e,[n,l]=t("showNativeOverlaidScrollbars");return[n&&r.x&&r.y,l]},ro=t=>0===t.indexOf(te),ri=(t,e)=>{let r=(t,e,r,n)=>{let l=t===te?tr:t.replace("".concat(te,"-"),""),o=ro(t),i=ro(r);if(!e&&!n)return tr;if(o&&i)return te;if(o){let t=e?te:tr;return e&&n?l:t}let a=i&&n?te:tr;return e?l:a},n={x:r(e.x,t.x,e.y,t.y),y:r(e.y,t.y,e.x,t.x)};return{K:n,Z:{x:n.x===tn,y:n.y===tn}}},ra="__osScrollbarsHidingPlugin",rc="__osClickScrollPlugin",rs={[rc]:{static:()=>(t,e,r,n,l)=>{let o=!1,i=ts,a=ts,[c,s]=td(133),u=(i,s,d)=>N(i,i+n*Math.sign(r),s?133:222,(r,i,d)=>{t(r);let p=e(),f=()=>{a=u(r,s+1)};o||!d||l>=p&&l<=p+n||(s?f():c(f))},d);return i=u(0,0,t=>1-(1-t)*(1-t)),t=>{o=!0,s(),t&&i(),a()}}}},ru=(t,e,r)=>{let{dt:n}=r||{},l=rn("__osSizeObserverPlugin"),[i]=o({o:!1,u:!0});return()=>{let r=[],o=tK('
'))[0],a=o.firstChild,c=t=>{let r=t instanceof ResizeObserverEntry,n=!1,l=!1;if(r){let[e,,r]=i(t.contentRect),o=et(e);n=!(l=ee(e,r))&&!o}else l=!0===t;n||e({ft:!0,dt:l})};if(w){let t=new w(t=>c(t.pop()));t.observe(a),P(r,()=>{t.disconnect()})}else{if(!l)return ts;let[t,e]=l(a,c,n);P(r,z([tH(o,eI),en(o,"animationstart",t)],e))}return tu(q,P(r,tV(t,o)))}},rd=(t,e)=>{let r;let n=t=>0===t.h||t.isIntersecting||t.intersectionRatio>0,l=tq("os-trinsic-observer"),[i]=o({o:!1}),a=(t,r)=>{if(t){let l=i(n(t)),[,o]=l;return o&&!r&&e(l)&&[l]}},c=(t,e)=>a(e.pop(),t);return[()=>{let e=[];if(g)(r=new g(tu(c,!1),{root:t})).observe(l),P(e,()=>{r.disconnect()});else{let t=()=>{a(t5(l))};P(e,ru(l,t)()),t()}return tu(q,P(e,tV(t,l)))},()=>r&&c(!0,r.takeRecords())]},rp=(t,e,r,n)=>{let l,i,a,c,s,u;let d="[".concat(ex,"]"),p="[".concat(eM,"]"),f=["id","class","style","open","wrap","cols","rows"],{vt:y,gt:h,ot:v,ht:b,bt:g,nt:m,wt:x,yt:k,St:S,Ot:C}=t,A=t=>"rtl"===tG(t,"direction"),E={$t:!1,ct:A(y)},D=eJ(),H=rn(ra),[T]=o({i:ti,o:{w:0,h:0}},()=>{let n=H&&H.tt(t,e,E,D,r).ut,l=!(x&&m)&&tA(h,ex,eC),o=!m&&k("arrange"),i=o&&ec(b),a=i&&C(),c=S(eA,l),s=o&&n&&n()[0],u=t6(v),d=t8(v);return s&&s(),ea(b,i),a&&a(),l&&c(),{w:u.w+d.w,h:u.h+d.h}}),I=tp(n,{_:()=>l,p:()=>i,S(t,e){let[r]=t,[n]=e;return[z(ty(r),ty(n)).reduce((t,e)=>(t[e]=r[e]||n[e],t),{})]}}),N=t=>{let e=A(y);th(t,{Ct:u!==e}),th(E,{ct:e}),u=e},_=(t,e)=>{let[r,l]=t,o={xt:l};return th(E,{$t:r}),e||n(o),o},L=t=>{let{ft:e,dt:r}=t,l=!(e&&!r)&&D.R?I:n,o={ft:e||r,dt:r};N(o),l(o)},P=(t,e)=>{let[,r]=T(),l={Ht:r};N(l);let o=t?n:I;return r&&!e&&o(l),l},j=(t,e,r)=>{let n={Et:e};return N(n),e&&!r&&I(n),n},[U,F]=g?rd(h,_):[],V=!m&&ru(h,L,{dt:!0}),[q,K]=e9(h,!1,j,{X:f,j:f}),Z=m&&w&&new w(t=>{let e=t[t.length-1].contentRect;L({ft:!0,dt:ee(e,s)}),s=e}),B=tp(()=>{let[,t]=T();n({Ht:t})},{_:222,v:!0});return[()=>{Z&&Z.observe(h);let t=V&&V(),e=U&&U(),r=q(),n=D.L(t=>{t?I({zt:t}):B()});return()=>{Z&&Z.disconnect(),t&&t(),e&&e(),c&&c(),r(),n()}},t=>{let{It:e,At:r,Dt:n}=t,o={},[s]=e("update.ignoreMutation"),[u,y]=e("update.attributes"),[h,b]=e("update.elementEvents"),[w,x]=e("update.debounce"),k=r||n,S=t=>R(s)&&s(t);if(b||y){a&&a(),c&&c();let[t,e]=e9(g||v,!0,P,{j:z(f,u||[]),Y:h,W:d,G:(t,e)=>{let{target:r,attributeName:n}=t;return!e&&!!n&&!m&&tU(r,d,p)||!!tP(r,".".concat(e_))||!!S(t)}});c=t(),a=e}if(x){if(I.m(),M(w)){let t=w[0],e=w[1];l=O(t)&&t,i=O(e)&&e}else l=!!O(w)&&w,i=!1}if(k){let t=K(),e=F&&F(),r=a&&a();t&&th(o,j(t[0],t[1],k)),e&&th(o,_(e[0],k)),r&&th(o,P(r[0],k))}return N(o),o},E]},rf=(t,e,r,n)=>{let l="--os-scroll-percent",{U:o}=eJ(),{scrollbars:i}=o(),{slot:a}=i,{vt:c,gt:s,ot:u,Tt:d,ht:p,wt:f,nt:y}=e,{scrollbars:h}=d?{}:t,{slot:v}=h||{},b=[],g=[],w=[],x=e1([c,s,u],()=>y&&f?c:s,a,v),k=t=>{if(m){let e=new m({source:p,axis:t});return{Mt:t=>{let r=t.kt.animate({clear:["left"],[l]:[0,1]},{timeline:e});return()=>r.cancel()}}}},O={x:k("x"),y:k("y")},S=()=>{let{Rt:t,Vt:e}=r,n=(t,e)=>tg(0,1,t/(t+e)||0);return{x:n(e.x,t.x),y:n(e.y,t.y)}},R=(t,e,r)=>{let n=r?tH:tD;_(t,t=>{n(t.kt,e)})},M=(t,e)=>{_(t,t=>{let[r,n]=e(t);t$(r,n)})},A=(t,e,r)=>{let n=C(r),l=!n||r,o=!n||!r;l&&R(g,t,e),o&&R(w,t,e)},E=t=>{let e=t?"x":"y",r=tq("".concat(e_," ").concat(t?ez:eP)),l=tq(ej),o=tq(eU),i={kt:r,Ut:l,Pt:o},a=O[e];return P(t?g:w,i),P(b,[tV(r,l),tV(l,o),tu(tF,r),a&&a.Mt(i),n(i,A,t)]),i},D=tu(E,!0),H=tu(E,!1);return D(),H(),[{Nt:()=>{let t=S(),e=t=>e=>[e.kt,{"--os-viewport-percent":tY(t)+""}];M(g,e(t.x)),M(w,e(t.y))},qt:()=>{if(!m){let{Lt:t}=r,e=ep(t,ec(p)),n=t=>e=>[e.kt,{[l]:tY(t)+""}];M(g,n(e.x)),M(w,n(e.y))}},Bt:()=>{let{Lt:t}=r,e=ed(t),n=t=>e=>[e.kt,{"--os-scroll-direction":t?"0":"1"}];M(g,n(e.x)),M(w,n(e.y))},Ft:()=>{if(y&&!f){let{Rt:t,Lt:e}=r,n=ed(e),l=ep(e,ec(p)),o=e=>{let{kt:r}=e,o=tz(r)===u&&r,i=(t,e,r)=>{let n=e*t;return tX(r?n:-n)};return[o,o&&{transform:tQ({x:i(l.x,t.x,n.x),y:i(l.y,t.y,n.y)})}]};M(g,o),M(w,o)}},jt:A,Xt:{Yt:g,Wt:D,Jt:tu(M,g)},Gt:{Yt:w,Wt:H,Jt:tu(M,w)}},()=>(tV(x,g[0].kt),tV(x,w[0].kt),tu(q,b))]},ry=(t,e,r,n)=>(l,o,i)=>{let{gt:a,ot:c,nt:d,ht:p,Kt:f,Ot:h}=e,{kt:v,Ut:b,Pt:g}=l,[w,m]=td(333),[x,k]=td(444),O=t=>{R(p.scrollBy)&&p.scrollBy({behavior:"smooth",left:t.x,top:t.y})},S=!0;return tu(q,[en(g,"pointermove pointerleave",n),en(v,"pointerenter",()=>{o(eq,!0)}),en(v,"pointerleave pointercancel",()=>{o(eq,!1)}),!d&&en(v,"mousedown",()=>{let t=tj();(tx(t,eM)||tx(t,ex)||t===document.body)&&y(tu(ef,c),25)}),en(v,"wheel",t=>{let{deltaX:e,deltaY:r,deltaMode:n}=t;S&&0===n&&tz(v)===a&&O({x:e,y:r}),S=!1,o(eW,!0),w(()=>{S=!0,o(eW)}),eo(t)},{H:!1,I:!0}),en(v,"pointerdown",tu(en,f,"click",ei,{A:!0,I:!0,H:!1}),{I:!0}),(()=>{let e="pointerup pointercancel lostpointercapture",n="client".concat(i?"X":"Y"),l=i?Q:tt,o=i?"left":"top",a=i?"w":"h",c=i?"x":"y",d=(t,e)=>n=>{let{Rt:l}=r,o=e*n/(t5(b)[a]-t5(g)[a])*l[c];ea(p,{[c]:t+o})},y=[];return en(b,"pointerdown",r=>{let i=tP(r.target,".".concat(eU))===g,v=i?g:b,w=t.scrollbars,{button:m,isPrimary:S,pointerType:C}=r,{pointers:R}=w;if(0===m&&S&&w[i?"dragScroll":"clickScroll"]&&(R||[]).includes(C)){q(y),k();let t=!i&&r.shiftKey,w=tu(t9,g),m=tu(t9,b),S=(t,e)=>(t||w())[o]-(e||m())[o],C=s(t9(p)[l])/t5(p)[a]||1,R=d(ec(p)[c],1/C),M=r[n],A=w(),E=m(),D=A[l],H=S(A,E)+D/2,T=M-E[o],I=i?0:T-H,N=t=>{q(L),v.releasePointerCapture(t.pointerId)},_=h(),L=[()=>{let t=ec(p);_();let e=ec(p),r={x:e.x-t.x,y:e.y-t.y};(u(r.x)>3||u(r.y)>3)&&(h(),ea(p,t),O(r),x(_))},en(f,e,N),en(f,"selectstart",t=>eo(t),{H:!1}),en(b,e,N),en(b,"pointermove",e=>{let r=e[n]-M;(i||t)&&R(I+r)})];if(v.setPointerCapture(r.pointerId),t)R(I);else if(!i){let t=rn(rc);if(t){let e=t(R,S,I,D,T);P(L,tu(e)),P(y,tu(e,!0))}}}})})(),m,k])},rh=(t,e,r,n,l,o)=>{let i,a,c,s,u;let d=ts,p=0,f=t=>"mouse"===t.pointerType,[y,h]=td(),[v,b]=td(100),[g,w]=td(100),[m,x]=td(()=>p),[k,O]=rf(t,l,n,ry(e,l,n,t=>f(t)&&I())),{gt:S,Qt:C,wt:R}=l,{jt:M,Nt:A,qt:E,Bt:D,Ft:H}=k,T=(t,e)=>{if(x(),t)M(eB);else{let t=tu(M,eB,!0);p>0&&!e?m(t):t()}},I=()=>{(c?i:s)||(T(!0),v(()=>{T(!1)}))},N=t=>{M(eZ,t,!0),M(eZ,t,!1)},_=t=>{f(t)&&(i=c,c&&T(!0))},L=[x,b,w,h,()=>d(),en(S,"pointerover",_,{A:!0}),en(S,"pointerenter",_),en(S,"pointerleave",t=>{f(t)&&(i=!1,c&&T(!1))}),en(S,"pointermove",t=>{f(t)&&a&&I()}),en(C,"scroll",t=>{y(()=>{E(),I()}),o(t),H()})];return[()=>tu(q,P(L,O())),t=>{let{It:e,Dt:l,Zt:o,tn:i}=t,{nn:f,sn:y,en:h,cn:v}=i||{},{Ct:b,dt:w}=o||{},{ct:m}=r,{M:x}=eJ(),{K:k,rn:O}=n,[S,I]=e("showNativeOverlaidScrollbars"),[_,L]=e("scrollbars.theme"),[z,P]=e("scrollbars.visibility"),[j,U]=e("scrollbars.autoHide"),[F,V]=e("scrollbars.autoHideSuspend"),[q]=e("scrollbars.autoHideDelay"),[K,Z]=e("scrollbars.dragScroll"),[B,W]=e("scrollbars.clickScroll"),[Y,X]=e("overflow"),$=O.x||O.y,G=S&&x.x&&x.y,J=(t,e,r)=>{let n=t.includes(tn)&&(z===te||"auto"===z&&e===tn);return M(eF,n,r),n};if(p=q,w&&!l&&(F&&$?(N(!1),d(),g(()=>{d=en(C,"scroll",tu(N,!0),{A:!0})})):N(!0)),I&&M("os-theme-none",G),L&&(M(u),M(_,!0),u=_),V&&!F&&N(!0),U&&(a="move"===j,c="leave"===j,T(s="never"===j,!0)),Z&&M(eX,K),W&&M(eY,B),h||P||X){let t=J(Y.x,k.x,!0),e=J(Y.y,k.y,!1);M(eV,!(t&&e))}(f||y||v||b||l)&&(E(),A(),H(),v&&D(),M(eK,!O.x,!0),M(eK,!O.y,!1),M(eL,m&&!R))},{},k]},rv=t=>{let{U:e,R:r}=eJ(),{elements:n}=e(),{padding:l,viewport:o,content:a}=n,c=H(t),s=c?{}:t,{elements:u}=s,{padding:d,viewport:p,content:f}=u||{},y=c?t:s.target,h=t_(y),v=y.ownerDocument,b=v.documentElement,g=()=>v.defaultView||i,w=tu(e0,[y]),m=tu(e1,[y]),x=tu(tq,""),k=tu(w,x,o),O=tu(m,x,a),S=k(p),C=S===y,R=C&&h,M=!C&&O(f),A=R?b:S,E=R?A:y,D=!C&&m(x,l,d),T=!(!C&&S===M)&&M,I=[T,A,D,E].map(t=>H(t)&&!tz(t)&&t),N=t=>t&&L(I,t),_=!N(A)&&(t=>{let e=t5(t),r=t6(t),n=tG(t,G),l=tG(t,J);return r.w-e.w>0&&!ro(n)||r.h-e.h>0&&!ro(l)})(A)?A:y,z=R?b:A,j=R?v:A,U={vt:y,gt:E,ot:A,ln:D,bt:T,ht:z,Qt:j,an:h?b:_,Kt:v,wt:h,Tt:c,nt:C,un:g,yt:t=>tA(A,eM,t),St:(t,e)=>tM(A,eM,t,e),Ot:()=>tM(z,eM,"scrolling",!0)},{vt:F,gt:V,ln:K,ot:Z,bt:B}=U,W=[()=>{tO(V,[ex,eS]),tO(F,eS),h&&tO(b,[eS,ex])}],Y=tL([B,Z,K,V,F].find(t=>t&&!N(t))),X=R?F:B||Z,$=tu(q,W);return[U,()=>{let t=g(),e=tj(),n=t=>{tV(tz(t),tL(t)),tF(t)},l=t=>en(t,"focusin focusout focus blur",ei,{I:!0,H:!1}),o="tabindex",i=tm(Z,o),a=l(e);return tk(V,ex,C?"":"host"),tk(K,eD,""),tk(Z,eM,""),tk(B,eH,""),!C&&(tk(Z,o,i||"-1"),h&&tk(b,eR,"")),tV(X,Y),tV(V,K),tV(K||V,!C&&Z),tV(Z,B),P(W,[a,()=>{let t=tj(),e=N(Z),r=e&&t===Z?F:t,a=l(r);tO(K,eD),tO(B,eH),tO(Z,eM),h&&tO(b,eR),i?tk(Z,o,i):tO(Z,o),N(B)&&n(B),e&&n(Z),N(K)&&n(K),ef(r),a()}]),r&&!C&&(tR(Z,eM,eE),P(W,tu(tO,Z,eM))),ef(!C&&h&&e===F&&t.top===t?Z:e),a(),Y=0,$},$]},rb=t=>{let{bt:e}=t;return t=>{let{Zt:r,_n:n,Dt:l}=t,{xt:o}=r||{},{$t:i}=n;e&&(o||l)&&t$(e,{[tt]:i&&"100%"})}},rg=(t,e)=>{let{gt:r,ln:n,ot:l,nt:i}=t,[a,c]=o({i:tc,o:tJ()},tu(tJ,r,"padding",""));return t=>{let{It:r,Zt:o,_n:s,Dt:u}=t,[d,p]=c(u),{R:f}=eJ(),{ft:y,Ht:h,Ct:v}=o||{},{ct:b}=s,[g,w]=r("paddingAbsolute"),m=u||h;(y||p||m)&&([d,p]=a(u));let x=!i&&(w||v||p);if(x){let t=!g||!n&&!f,r=d.r+d.l,o=d.t+d.b,i={[X]:t&&!b?-r:0,[$]:t?-o:0,[Y]:t&&b?-r:0,top:t?-d.t:0,right:t?b?-d.r:"auto":0,left:t?b?"auto":-d.l:0,[Q]:t&&"calc(100% + ".concat(r,"px)")},a={[K]:t?d.t:0,[Z]:t?d.r:0,[W]:t?d.b:0,[B]:t?d.l:0};t$(n||l,i),t$(l,a),th(e,{ln:d,dn:!t,rt:n?a:th({},i,a)})}return{fn:x}}},rw=(t,e)=>{let r=eJ(),{gt:n,ln:l,ot:c,nt:s,Qt:u,ht:d,wt:p,St:y,un:h}=t,{R:v}=r,b=p&&s,g=tu(a,0),w=["display","direction","flexDirection","writingMode"],m={i:ti,o:{w:0,h:0}},x={i:ta,o:{}},k=t=>{y(eA,!b&&t)},O=(t,e)=>{let r=i.devicePixelRatio%1!=0?1:0,n={w:g(t.w-e.w),h:g(t.h-e.h)};return{w:n.w>r?n.w:0,h:n.h>r?n.h:0}},[S,C]=o(m,tu(t8,c)),[R,M]=o(m,tu(t6,c)),[A,E]=o(m),[D]=o(x),[H,T]=o(m),[I]=o(x),[N]=o({i:(t,e)=>to(t,e,w),o:{}},()=>t7(c)?tG(c,w):{}),[_,L]=o({i:(t,e)=>ta(t.D,e.D)&&ta(t.T,e.T),o:es()},()=>{k(!0);let t=ec(d),e=y("noContent",!0),r=en(u,tn,e=>{let r=ec(d);e.isTrusted&&r.x===t.x&&r.y===t.y&&el(e)},{I:!0,A:!0});ea(d,{x:0,y:0}),e();let n=ec(d),l=t6(d);ea(d,{x:l.w,y:l.h});let o=ec(d);ea(d,{x:o.x-n.x<1&&-l.w,y:o.y-n.y<1&&-l.h});let i=ec(d);return ea(d,t),f(()=>r()),{D:n,T:i}}),z=rn(ra),P=(t,e)=>{let r=e?G:J;return"".concat(r).concat(tl(t))},j=t=>{let e=t=>[te,tr,tn].map(e=>P(e,t));y(e(!0).concat(e()).join(" ")),y(ty(t).map(e=>P(t[e],"x"===e)).join(" "),!0)};return(o,i)=>{let{It:a,Zt:s,_n:u,Dt:d}=o,{fn:p}=i,{ft:f,Ht:w,Ct:m,dt:x,zt:P}=s||{},{it:U,ut:F,_t:V}=z&&z.tt(t,e,u,r,a)||{},[q,K]=rl(a,r),[Z,B]=a("overflow"),W=ro(Z.x),Y=ro(Z.y),X=C(d),$=M(d),G=E(d),J=T(d);K&&v&&y(eE,!q);{tA(n,ex,eC)&&k(!0);let[t]=F?F():[],[e]=X=S(d),[r]=$=R(d),l=t4(c),o=b&&t3(h()),i={w:g(r.w+e.w),h:g(r.h+e.h)},a={w:g((o?o.w:l.w+g(l.w-r.w))+e.w),h:g((o?o.h:l.h+g(l.h-r.h))+e.h)};t&&t(),J=H(a),G=A(O(i,a),d)}let[Q,tt]=J,[te,tr]=G,[tn,tl]=$,[to,ti]=X,[ta,tc]=D({x:te.w>0,y:te.h>0}),ts=W&&Y&&(ta.x||ta.y)||W&&ta.x&&!ta.y||Y&&ta.y&&!ta.x,tu=ri(ta,Z),[td,tp]=I(tu.K),[,tf]=N(d),ty=m||x||tf||tc||d,[tv,tb]=ty?_(d):L();return tp&&j(tu.K),V&&U&&t$(c,V(tu,u,U(tu,tn,to))),k(!1),tM(n,ex,eC,ts),tM(l,eD,eC,ts),th(e,{K:td,Vt:{x:Q.w,y:Q.h},Rt:{x:te.w,y:te.h},rn:ta,Lt:eu(tv,te)}),{en:tp,nn:tt,sn:tr,cn:tb||tr,pn:ty}}},rm=t=>{let[e,r,n]=rv(t),l={ln:{t:0,r:0,b:0,l:0},dn:!1,rt:{[X]:0,[$]:0,[Y]:0,[K]:0,[Z]:0,[W]:0,[B]:0},Vt:{x:0,y:0},Rt:{x:0,y:0},K:{x:tr,y:tr},rn:{x:!1,y:!1},Lt:es()},{vt:o,ht:i,nt:a,Ot:c}=e,{R:s,M:u}=eJ(),d=!s&&(u.x||u.y),p=[rb(e),rg(e,l),rw(e,l)];return[r,t=>{let e={},r=d&&ec(i),n=r&&c();return _(p,r=>{th(e,r(t,e)||{})}),ea(i,r),n&&n(),a||ea(o,0),e},l,e,n]},rx=(t,e,r,n,l)=>{let o=!1,i=em(e,{}),[a,c,s,u,d]=rm(t),[p,f,y]=rp(u,s,i,t=>{w({},t)}),[h,v,,b]=rh(t,e,y,s,u,l),g=t=>ty(t).some(e=>!!t[e]),w=(t,l)=>{if(r())return!1;let{vn:i,Dt:a,At:s,gn:u}=t,d=i||{},p=!!a||!o,h={It:em(e,d,p),vn:d,Dt:p};if(u)return v(h),!1;let b=l||f(th({},h,{At:s})),w=c(th({},h,{_n:y,Zt:b}));v(th({},h,{Zt:b,tn:w}));let m=g(b),x=g(w),k=m||x||!tb(d)||p;return o=!0,k&&n(t,{Zt:b,tn:w}),k};return[()=>{let{an:t,ht:e,Ot:r}=u,n=ec(t),l=[p(),a(),h()],o=r();return ea(e,n),o(),tu(q,l)},w,()=>({hn:y,bn:s}),{wn:u,yn:b},d]},rk=(t,e,r)=>{let{N:n}=eJ(),l=H(t),o=l?t:t.target,i=e6(o);if(e&&!i){let i=!1,a=[],c={},s=t=>{let e=tv(t,!0),r=rn("__osOptionsValidationPlugin");return r?r(e,!0):e},u=th({},n(),s(e)),[d,p,f]=eh(),[y,h,v]=eh(r),b=(t,e)=>{v(t,e),f(t,e)},[g,w,m,x,k]=rx(t,u,()=>i,(t,e)=>{let{vn:r,Dt:n}=t,{Zt:l,tn:o}=e,{ft:i,Ct:a,xt:c,Ht:s,Et:u,dt:d}=l,{nn:p,sn:f,en:y,cn:h}=o;b("updated",[S,{updateHints:{sizeChanged:!!i,directionChanged:!!a,heightIntrinsicChanged:!!c,overflowEdgeChanged:!!p,overflowAmountChanged:!!f,overflowStyleChanged:!!y,scrollCoordinatesChanged:!!h,contentMutation:!!s,hostMutation:!!u,appear:!!d},changedOptions:r||{},force:!!n}])},t=>b("scroll",[S,t])),O=t=>{e4(o),q(a),i=!0,b("destroyed",[S,t]),p(),h()},S={options(t,e){if(t){let r=ew(u,th(e?n():{},s(t)));tb(r)||(th(u,r),w({vn:r}))}return th({},u)},on:y,off:(t,e)=>{t&&e&&h(t,e)},state(){let{hn:t,bn:e}=m(),{ct:r}=t,{Vt:n,Rt:l,K:o,rn:a,ln:c,dn:s,Lt:u}=e;return th({},{overflowEdge:n,overflowAmount:l,overflowStyle:o,hasOverflow:a,scrollCoordinates:{start:u.D,end:u.T},padding:c,paddingAbsolute:s,directionRTL:r,destroyed:i})},elements(){let{vt:t,gt:e,ln:r,ot:n,bt:l,ht:o,Qt:i}=x.wn,{Xt:a,Gt:c}=x.yn,s=t=>{let{Pt:e,Ut:r,kt:n}=t;return{scrollbar:n,track:r,handle:e}},u=t=>{let{Yt:e,Wt:r}=t;return th({},s(e[0]),{clone:()=>{let t=s(r());return w({gn:!0}),t}})};return th({},{target:t,host:e,padding:r||n,viewport:n,content:l||n,scrollOffsetElement:o,scrollEventElement:i,scrollbarHorizontal:u(a),scrollbarVertical:u(c)})},update:t=>w({Dt:t,At:!0}),destroy:tu(O,!1),plugin:t=>c[ty(t)[0]]};return(P(a,[k]),e5(o,S),rr(e7,rk,[S,d,c]),e2(x.wn.wt,!l&&t.cancel))?O(!0):(P(a,g()),b("initialized",[S]),S.update()),S}return i};rk.plugin=t=>{let e=M(t),r=e?t:[t],n=r.map(t=>rr(t,rk)[0]);return re(r),e?n:n[0]},rk.valid=t=>{let e=t&&t.elements,r=R(e)&&e();return D(r)&&!!e6(r.target)},rk.env=()=>{let{k:t,M:e,R:r,V:n,B:l,F:o,U:i,P:a,N:c,q:s}=eJ();return th({},{scrollbarsSize:t,scrollbarsOverlaid:e,scrollbarsHiding:r,scrollTimeline:n,staticDefaultInitialization:l,staticDefaultOptions:o,getDefaultInitialization:i,setDefaultInitialization:a,getDefaultOptions:c,setDefaultOptions:s})},rk.nonce=t=>{n=t}}}]); \ No newline at end of file + */let o=(t,e)=>{let r;let{o:n,i:l,u:o}=t,i=n,a=(t,e)=>{let n=i,a=e||(l?!l(n,t):n!==t);return(a||o)&&(i=t,r=n),[i,a,r]};return[e?t=>a(e(i,r),t):a,t=>[i,!!t,r]]},i="undefined"!=typeof HTMLElement&&window.document?window:{},a=Math.max,c=Math.min,s=Math.round,u=Math.abs,d=Math.sign,p=i.cancelAnimationFrame,f=i.requestAnimationFrame,y=i.setTimeout,h=i.clearTimeout,v=t=>void 0!==i[t]?i[t]:void 0,b=v("MutationObserver"),g=v("IntersectionObserver"),m=v("ResizeObserver"),w=v("ScrollTimeline"),x=t=>void 0===t,k=t=>null===t,O=t=>"number"==typeof t,S=t=>"string"==typeof t,C=t=>"boolean"==typeof t,R=t=>"function"==typeof t,M=t=>Array.isArray(t),A=t=>"object"==typeof t&&!M(t)&&!k(t),D=t=>{let e=!!t&&t.length,r=O(e)&&e>-1&&e%1==0;return(!!M(t)||!R(t)&&!!r)&&(!(e>0&&A(t))||e-1 in t)},E=t=>!!t&&t.constructor===Object,H=t=>t instanceof HTMLElement,T=t=>t instanceof Element,I=()=>performance.now(),N=(t,e,r,n,l)=>{let o=0,i=I(),c=a(0,r),s=r=>{let u=I(),d=u-i>=c,p=r?1:1-(a(0,i+c-u)/c||0),y=(e-t)*(R(l)?l(p,p*c,0,1,c):p)+t,h=d||1===p;n&&n(y,p,h),o=h?0:f(()=>s())};return s(),t=>{p(o),t&&s(t)}};function _(t,e){if(D(t))for(let r=0;re(t[r],r,t));return t}let L=(t,e)=>t.indexOf(e)>=0,z=(t,e)=>t.concat(e),P=(t,e,r)=>(!r&&!S(e)&&D(e)?Array.prototype.push.apply(t,e):t.push(e),t),j=t=>Array.from(t||[]),U=t=>M(t)?t:!S(t)&&D(t)?j(t):[t],F=t=>!!t&&!t.length,V=t=>j(new Set(t)),q=(t,e,r)=>{_(t,t=>t&&t.apply(void 0,e||[])),r||(t.length=0)},K="paddingTop",W="paddingRight",Z="paddingLeft",B="paddingBottom",Y="marginLeft",X="marginRight",$="marginBottom",G="overflowX",J="overflowY",Q="width",tt="height",te="visible",tr="hidden",tn="scroll",tl=t=>{let e=String(t||"");return e?e[0].toUpperCase()+e.slice(1):""},to=(t,e,r,n)=>{if(t&&e){let l=!0;return _(r,r=>{(n?n(t[r]):t[r])!==(n?n(e[r]):e[r])&&(l=!1)}),l}return!1},ti=(t,e)=>to(t,e,["w","h"]),ta=(t,e)=>to(t,e,["x","y"]),tc=(t,e)=>to(t,e,["t","r","b","l"]),ts=()=>{},tu=function(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n{let e;let r=t?y:f,n=t?h:p;return[l=>{n(e),e=r(()=>l(),R(t)?t():t)},()=>n(e)]},tp=(t,e)=>{let r,n,l,o;let{_:i,v:a,p:c,S:s}=e||{},u=ts,d=function(e){u(),h(r),o=r=n=void 0,u=ts,t.apply(this,e)},v=t=>s&&n?s(n,t):t,b=()=>{u!==ts&&d(v(l)||l)},g=function(){let t=j(arguments),e=R(i)?i():i;if(O(e)&&e>=0){let i;let s=R(a)?a():a,g=O(s)&&s>=0,m=e>0?y:f,w=e>0?h:p,x=v(t)||t,k=d.bind(0,x);u(),c&&!o?(k(),o=!0,i=m(()=>o=void 0,e)):(i=m(k,e),g&&!r&&(r=y(b,s))),u=()=>w(i),n=l=x}else d(t)};return g.m=b,g},tf=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),ty=t=>t?Object.keys(t):[],th=(t,e,r,n,l,o,i)=>(("object"!=typeof t||k(t))&&!R(t)&&(t={}),_([e,r,n,l,o,i],e=>{_(e,(r,n)=>{let l=e[n];if(t===l)return!0;let o=M(l);if(l&&E(l)){let e=t[n],r=e;o&&!M(e)?r=[]:o||E(e)||(r={}),t[n]=th(r,l)}else t[n]=o?l.slice():l})}),t),tv=(t,e)=>_(th({},t),(t,r,n)=>{void 0===t?delete n[r]:e&&t&&E(t)&&(n[r]=tv(t,e))}),tb=t=>!ty(t).length,tg=(t,e,r)=>a(t,c(e,r)),tm=t=>V((M(t)?t:(t||"").split(" ")).filter(t=>t)),tw=(t,e)=>t&&t.getAttribute(e),tx=(t,e)=>t&&t.hasAttribute(e),tk=(t,e,r)=>{_(tm(e),e=>{t&&t.setAttribute(e,String(r||""))})},tO=(t,e)=>{_(tm(e),e=>t&&t.removeAttribute(e))},tS=(t,e)=>{let r=tm(tw(t,e)),n=tu(tk,t,e),l=(t,e)=>{let n=new Set(r);return _(tm(t),t=>{n[e](t)}),j(n).join(" ")};return{O:t=>n(l(t,"delete")),$:t=>n(l(t,"add")),C:t=>{let e=tm(t);return e.reduce((t,e)=>t&&r.includes(e),e.length>0)}}},tC=(t,e,r)=>(tS(t,e).O(r),tu(tR,t,e,r)),tR=(t,e,r)=>(tS(t,e).$(r),tu(tC,t,e,r)),tM=(t,e,r,n)=>(n?tR:tC)(t,e,r),tA=(t,e,r)=>tS(t,e).C(r),tD=t=>tS(t,"class"),tE=(t,e)=>{tD(t).O(e)},tH=(t,e)=>(tD(t).$(e),tu(tE,t,e)),tT=(t,e)=>{let r=e?T(e)&&e:document;return r?j(r.querySelectorAll(t)):[]},tI=(t,e)=>{let r=e?T(e)&&e:document;return r&&r.querySelector(t)},tN=(t,e)=>T(t)&&t.matches(e),t_=t=>tN(t,"body"),tL=t=>t?j(t.childNodes):[],tz=t=>t&&t.parentElement,tP=(t,e)=>T(t)&&t.closest(e),tj=t=>(t||document).activeElement,tU=(t,e,r)=>{let n=tP(t,e),l=t&&tI(r,n),o=tP(l,e)===n;return!!n&&!!l&&(n===t||l===t||o&&tP(tP(t,r),e)!==n)},tF=t=>{_(U(t),t=>{let e=tz(t);t&&e&&e.removeChild(t)})},tV=(t,e)=>tu(tF,t&&e&&_(U(e),e=>{e&&t.appendChild(e)})),tq=t=>{let e=document.createElement("div");return tk(e,"class",t),e},tK=t=>{let e=tq();return e.innerHTML=t.trim(),_(tL(e),t=>tF(t))},tW=(t,e)=>t.getPropertyValue(e)||t[e]||"",tZ=t=>{let e=t||0;return isFinite(e)?e:0},tB=t=>tZ(parseFloat(t||"")),tY=t=>Math.round(1e4*t)/1e4,tX=t=>"".concat(tY(tZ(t)),"px");function t$(t,e){t&&e&&_(e,(e,r)=>{try{let n=t.style,l=k(e)||C(e)?"":O(e)?tX(e):e;0===r.indexOf("--")?n.setProperty(r,l):n[r]=l}catch(t){}})}function tG(t,e,r){let n=S(e),l=n?"":{};if(t){let o=i.getComputedStyle(t,r)||t.style;l=n?tW(o,e):j(e).reduce((t,e)=>(t[e]=tW(o,e),t),l)}return l}let tJ=(t,e,r)=>{let n=e?"".concat(e,"-"):"",l=r?"-".concat(r):"",o="".concat(n,"top").concat(l),i="".concat(n,"right").concat(l),a="".concat(n,"bottom").concat(l),c="".concat(n,"left").concat(l),s=tG(t,[o,i,a,c]);return{t:tB(s[o]),r:tB(s[i]),b:tB(s[a]),l:tB(s[c])}},tQ=(t,e)=>"translate".concat(A(t)?"(".concat(t.x,",").concat(t.y,")"):"".concat(e?"X":"Y","(").concat(t,")")),t0=t=>!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length),t1={w:0,h:0},t2=(t,e)=>e?{w:e["".concat(t,"Width")],h:e["".concat(t,"Height")]}:t1,t3=t=>t2("inner",t||i),t5=tu(t2,"offset"),t4=tu(t2,"client"),t6=tu(t2,"scroll"),t8=t=>{let e=parseFloat(tG(t,Q))||0,r=parseFloat(tG(t,tt))||0;return{w:e-s(e),h:r-s(r)}},t9=t=>t.getBoundingClientRect(),t7=t=>!!t&&t0(t),et=t=>!!(t&&(t[tt]||t[Q])),ee=(t,e)=>{let r=et(t);return!et(e)&&r},er=(t,e,r,n)=>{_(tm(e),e=>{t&&t.removeEventListener(e,r,n)})},en=(t,e,r,n)=>{var l;let o=null==(l=n&&n.H)||l,i=n&&n.I||!1,a=n&&n.A||!1,c={passive:o,capture:i};return tu(q,tm(e).map(e=>{let n=a?l=>{er(t,e,n,i),r&&r(l)}:r;return t&&t.addEventListener(e,n,c),tu(er,t,e,n,i)}))},el=t=>t.stopPropagation(),eo=t=>t.preventDefault(),ei=t=>el(t)||eo(t),ea=(t,e)=>{let{x:r,y:n}=O(e)?{x:e,y:e}:e||{};O(r)&&(t.scrollLeft=r),O(n)&&(t.scrollTop=n)},ec=t=>({x:t.scrollLeft,y:t.scrollTop}),es=()=>({D:{x:0,y:0},T:{x:0,y:0}}),eu=(t,e)=>{let{D:r,T:n}=t,{w:l,h:o}=e,i=(t,e,r)=>{let n=d(t)*r,l=d(e)*r;if(n===l){let r=u(t),o=u(e);l=r>o?0:l,n=r{var e,r,n,l;let{D:o,T:i}=t;return{x:(e=o.x,r=i.x,0===e&&e<=r),y:(n=o.y,l=i.y,0===n&&n<=l)}},ep=(t,e)=>{let{D:r,T:n}=t,l=(t,e,r)=>tg(0,1,(t-r)/(t-e)||0);return{x:l(r.x,n.x,e.x),y:l(r.y,n.y,e.y)}},ef=t=>{t&&t.focus&&t.focus({preventScroll:!0})},ey=(t,e)=>{_(U(e),t)},eh=t=>{let e=new Map,r=(t,r)=>{if(t){let n=e.get(t);ey(t=>{n&&n[t?"delete":"clear"](t)},r)}else e.forEach(t=>{t.clear()}),e.clear()},n=(t,l)=>{if(S(t)){let n=e.get(t)||new Set;return e.set(t,n),ey(t=>{R(t)&&n.add(t)},l),tu(r,t,l)}C(l)&&l&&r();let o=ty(t),i=[];return _(o,e=>{let r=t[e];r&&P(i,n(e,r))}),tu(q,i)};return n(t||{}),[n,r,(t,r)=>{_(j(e.get(t)),t=>{r&&!F(r)?t.apply(0,r):t()})}]},ev=t=>JSON.stringify(t,(t,e)=>{if(R(e))throw 0;return e}),eb=(t,e)=>t?"".concat(e).split(".").reduce((t,e)=>t&&tf(t,e)?t[e]:void 0,t):void 0,eg={paddingAbsolute:!1,showNativeOverlaidScrollbars:!1,update:{elementEvents:[["img","load"]],debounce:[0,33],attributes:null,ignoreMutation:null},overflow:{x:"scroll",y:"scroll"},scrollbars:{theme:"os-theme-dark",visibility:"auto",autoHide:"never",autoHideDelay:1300,autoHideSuspend:!1,dragScroll:!0,clickScroll:!1,pointers:["mouse","touch","pen"]}},em=(t,e)=>{let r={};return _(z(ty(e),ty(t)),n=>{let l=t[n],o=e[n];if(A(l)&&A(o))th(r[n]={},em(l,o)),tb(r[n])&&delete r[n];else if(tf(e,n)&&o!==l){let t=!0;if(M(l)||M(o))try{ev(l)===ev(o)&&(t=!1)}catch(t){}t&&(r[n]=o)}}),r},ew=(t,e,r)=>n=>[eb(t,n),r||void 0!==eb(e,n)],ex="data-overlayscrollbars",ek="os-environment",eO="".concat(ek,"-scrollbar-hidden"),eS="".concat(ex,"-initialize"),eC="noClipping",eR="".concat(ex,"-body"),eM="".concat(ex,"-viewport"),eA="measuring",eD="scrollbarHidden",eE="".concat(ex,"-padding"),eH="".concat(ex,"-content"),eT="os-size-observer",eI="".concat(eT,"-appear"),eN="".concat(eT,"-listener"),e_="os-scrollbar",eL="".concat(e_,"-rtl"),ez="".concat(e_,"-horizontal"),eP="".concat(e_,"-vertical"),ej="".concat(e_,"-track"),eU="".concat(e_,"-handle"),eF="".concat(e_,"-visible"),eV="".concat(e_,"-cornerless"),eq="".concat(e_,"-interaction"),eK="".concat(e_,"-unusable"),eW="".concat(e_,"-auto-hide"),eZ="".concat(eW,"-hidden"),eB="".concat(e_,"-wheel"),eY="".concat(ej,"-interactive"),eX="".concat(eU,"-interactive"),e$=()=>n,eG=()=>{let t=(t,e,r)=>{tV(document.body,t),tV(document.body,t);let n=t4(t),l=t5(t),o=t8(e);return r&&tF(t),{x:l.h-n.h+o.h,y:l.w-n.w+o.w}},e=".".concat(ek,"{scroll-behavior:auto!important;position:fixed;opacity:0;visibility:hidden;overflow:scroll;height:200px;width:200px;z-index:-1}.").concat(ek," div{width:200%;height:200%;margin:10px 0}.").concat(eO,"{scrollbar-width:none!important}.").concat(eO,"::-webkit-scrollbar,.").concat(eO,"::-webkit-scrollbar-corner{appearance:none!important;display:none!important;width:0!important;height:0!important}"),r=tK('
"))[0],n=r.firstChild,l=r.lastChild,a=e$();a&&(l.nonce=a);let[c,,s]=eh(),[u,d]=o({o:t(r,n),i:ta},tu(t,r,n,!0)),[p]=d(),f=(t=>{let e=!1,r=tH(t,eO);try{e="none"===tG(t,"scrollbar-width")||"none"===tG(t,"display","::-webkit-scrollbar")}catch(t){}return r(),e})(r),y={x:0===p.x,y:0===p.y},h={elements:{host:null,padding:!f,viewport:t=>f&&t_(t)&&t,content:!1},scrollbars:{slot:!0},cancel:{nativeScrollbarsOverlaid:!1,body:null}},v=th({},eg),b=tu(th,{},v),g=tu(th,{},h),m={k:p,M:y,R:f,V:!!w,L:tu(c,"r"),U:g,P:t=>th(h,t)&&g(),N:b,q:t=>th(v,t)&&b(),B:th({},h),F:th({},v)};if(tO(r,"style"),tF(r),en(i,"resize",()=>{s("r",[])}),R(i.matchMedia)&&!f&&(!y.x||!y.y)){let t=e=>{en(i.matchMedia("(resolution: ".concat(i.devicePixelRatio,"dppx)")),"change",()=>{e(),t(e)},{A:!0})};t(()=>{let[t,e]=u();th(m.k,t),s("r",[e])})}return m},eJ=()=>(l||(l=eG()),l),eQ=(t,e)=>R(e)?e.apply(0,t):e,e0=(t,e,r,n)=>eQ(t,x(n)?r:n)||e.apply(0,t),e1=(t,e,r,n)=>{let l=eQ(t,x(n)?r:n);return!!l&&(H(l)?l:e.apply(0,t))},e2=(t,e)=>{let{nativeScrollbarsOverlaid:r,body:n}=e||{},{M:l,R:o,U:i}=eJ(),{nativeScrollbarsOverlaid:a,body:c}=i().cancel,s=x(n)?c:n,u=(l.x||l.y)&&(null!=r?r:a),d=t&&(k(s)?!o:s);return!!u||!!d},e3=new WeakMap,e5=(t,e)=>{e3.set(t,e)},e4=t=>{e3.delete(t)},e6=t=>e3.get(t),e8=(t,e,r)=>{let n=!1,l=!!r&&new WeakMap,o=o=>{l&&r&&_(r.map(e=>{let[r,n]=e||[];return[n&&r?(o||tT)(r,t):[],n]}),r=>_(r[0],o=>{let i=r[1],a=l.get(o)||[];if(t.contains(o)&&i){let t=en(o,i,r=>{n?(t(),l.delete(o)):e(r)});l.set(o,P(a,t))}else q(a),l.delete(o)}))};return o(),[()=>{n=!0},o]},e9=(t,e,r,n)=>{let l=!1,{j:o,X:i,Y:a,W:c,J:s,G:u}=n||{},d=tp(()=>l&&r(!0),{_:33,v:99}),[p,f]=e8(t,d,a),y=i||[],h=z(o||[],y),v=(l,o)=>{if(!F(o)){let i=s||ts,a=u||ts,d=[],p=[],h=!1,v=!1;if(_(o,r=>{let{attributeName:l,target:o,type:s,oldValue:u,addedNodes:f,removedNodes:b}=r,g="attributes"===s,m=t===o,w=g&&l,x=w&&tw(o,l||""),k=S(x)?x:null,O=w&&u!==k,C=L(y,l)&&O;if(e&&("childList"===s||!m)){let e=g&&O,s=e&&c&&tN(o,c),p=(s?!i(o,l,u,k):!g||e)&&!a(r,!!s,t,n);_(f,t=>P(d,t)),_(b,t=>P(d,t)),v=v||p}!e&&m&&O&&!i(o,l,u,k)&&(P(p,l),h=h||C)}),f(t=>V(d).reduce((e,r)=>(P(e,tT(t,r)),tN(r,t)?P(e,r):e),[])),e)return!l&&v&&r(!1),[!1];if(!F(p)||h){let t=[V(p),h];return l||r.apply(0,t),t}}},g=new b(tu(v,!1));return[()=>(g.observe(t,{attributes:!0,attributeOldValue:!0,attributeFilter:h,subtree:e,childList:e,characterData:e}),l=!0,()=>{l&&(p(),g.disconnect(),l=!1)}),()=>{if(l)return d.m(),v(!0,g.takeRecords())}]},e7={},rt={},re=t=>{_(t,t=>_(t,(e,r)=>{e7[r]=t[r]}))},rr=(t,e,r)=>ty(t).map(n=>{let{static:l,instance:o}=t[n],[i,a,c]=r||[],s=r?o:l;if(s){let t=r?s(i,a,e):s(e);return(c||rt)[n]=t}}),rn=t=>rt[t],rl=(t,e)=>{let{M:r}=e,[n,l]=t("showNativeOverlaidScrollbars");return[n&&r.x&&r.y,l]},ro=t=>0===t.indexOf(te),ri=(t,e)=>{let r=(t,e,r,n)=>{let l=t===te?tr:t.replace("".concat(te,"-"),""),o=ro(t),i=ro(r);if(!e&&!n)return tr;if(o&&i)return te;if(o){let t=e?te:tr;return e&&n?l:t}let a=i&&n?te:tr;return e?l:a},n={x:r(e.x,t.x,e.y,t.y),y:r(e.y,t.y,e.x,t.x)};return{K:n,Z:{x:n.x===tn,y:n.y===tn}}},ra="__osScrollbarsHidingPlugin",rc="__osClickScrollPlugin",rs={[rc]:{static:()=>(t,e,r,n,l)=>{let o=!1,i=ts,a=ts,[c,s]=td(133),u=(i,s,d)=>N(i,i+n*Math.sign(r),s?133:222,(r,i,d)=>{t(r);let p=e(),f=()=>{a=u(r,s+1)};o||!d||l>=p&&l<=p+n||(s?f():c(f))},d);return i=u(0,0,t=>1-(1-t)*(1-t)),t=>{o=!0,s(),t&&i(),a()}}}},ru=(t,e,r)=>{let{dt:n}=r||{},l=rn("__osSizeObserverPlugin"),[i]=o({o:!1,u:!0});return()=>{let r=[],o=tK('
'))[0],a=o.firstChild,c=t=>{let r=t instanceof ResizeObserverEntry,n=!1,l=!1;if(r){let[e,,r]=i(t.contentRect),o=et(e);n=!(l=ee(e,r))&&!o}else l=!0===t;n||e({ft:!0,dt:l})};if(m){let t=new m(t=>c(t.pop()));t.observe(a),P(r,()=>{t.disconnect()})}else{if(!l)return ts;let[t,e]=l(a,c,n);P(r,z([tH(o,eI),en(o,"animationstart",t)],e))}return tu(q,P(r,tV(t,o)))}},rd=(t,e)=>{let r;let n=t=>0===t.h||t.isIntersecting||t.intersectionRatio>0,l=tq("os-trinsic-observer"),[i]=o({o:!1}),a=(t,r)=>{if(t){let l=i(n(t)),[,o]=l;return o&&!r&&e(l)&&[l]}},c=(t,e)=>a(e.pop(),t);return[()=>{let e=[];if(g)(r=new g(tu(c,!1),{root:t})).observe(l),P(e,()=>{r.disconnect()});else{let t=()=>{a(t5(l))};P(e,ru(l,t)()),t()}return tu(q,P(e,tV(t,l)))},()=>r&&c(!0,r.takeRecords())]},rp=(t,e,r,n)=>{let l,i,a,c,s,u;let d="[".concat(ex,"]"),p="[".concat(eM,"]"),f=["id","class","style","open","wrap","cols","rows"],{vt:y,gt:h,ot:v,ht:b,bt:g,nt:w,wt:x,yt:k,St:S,Ot:C}=t,A=t=>"rtl"===tG(t,"direction"),D={$t:!1,ct:A(y)},E=eJ(),H=rn(ra),[T]=o({i:ti,o:{w:0,h:0}},()=>{let n=H&&H.tt(t,e,D,E,r).ut,l=!(x&&w)&&tA(h,ex,eC),o=!w&&k("arrange"),i=o&&ec(b),a=i&&C(),c=S(eA,l),s=o&&n&&n()[0],u=t6(v),d=t8(v);return s&&s(),ea(b,i),a&&a(),l&&c(),{w:u.w+d.w,h:u.h+d.h}}),I=tp(n,{_:()=>l,v:()=>i,S(t,e){let[r]=t,[n]=e;return[z(ty(r),ty(n)).reduce((t,e)=>(t[e]=r[e]||n[e],t),{})]}}),N=t=>{let e=A(y);th(t,{Ct:u!==e}),th(D,{ct:e}),u=e},_=(t,e)=>{let[r,l]=t,o={xt:l};return th(D,{$t:r}),e||n(o),o},L=t=>{let{ft:e,dt:r}=t,l=!(e&&!r)&&E.R?I:n,o={ft:e||r,dt:r};N(o),l(o)},P=(t,e)=>{let[,r]=T(),l={Ht:r};N(l);let o=t?n:I;return r&&!e&&o(l),l},j=(t,e,r)=>{let n={Et:e};return N(n),e&&!r&&I(n),n},[U,F]=g?rd(h,_):[],V=!w&&ru(h,L,{dt:!0}),[q,K]=e9(h,!1,j,{X:f,j:f}),W=w&&m&&new m(t=>{let e=t[t.length-1].contentRect;L({ft:!0,dt:ee(e,s)}),s=e}),Z=tp(()=>{let[,t]=T();n({Ht:t})},{_:222,p:!0});return[()=>{W&&W.observe(h);let t=V&&V(),e=U&&U(),r=q(),n=E.L(t=>{t?I({zt:t}):Z()});return()=>{W&&W.disconnect(),t&&t(),e&&e(),c&&c(),r(),n()}},t=>{let{It:e,At:r,Dt:n}=t,o={},[s]=e("update.ignoreMutation"),[u,y]=e("update.attributes"),[h,b]=e("update.elementEvents"),[m,x]=e("update.debounce"),k=r||n,S=t=>R(s)&&s(t);if(b||y){a&&a(),c&&c();let[t,e]=e9(g||v,!0,P,{j:z(f,u||[]),Y:h,W:d,G:(t,e)=>{let{target:r,attributeName:n}=t;return!e&&!!n&&!w&&tU(r,d,p)||!!tP(r,".".concat(e_))||!!S(t)}});c=t(),a=e}if(x){if(I.m(),M(m)){let t=m[0],e=m[1];l=O(t)&&t,i=O(e)&&e}else l=!!O(m)&&m,i=!1}if(k){let t=K(),e=F&&F(),r=a&&a();t&&th(o,j(t[0],t[1],k)),e&&th(o,_(e[0],k)),r&&th(o,P(r[0],k))}return N(o),o},D]},rf=(t,e,r,n)=>{let l="--os-scroll-percent",{U:o}=eJ(),{scrollbars:i}=o(),{slot:a}=i,{vt:c,gt:s,ot:u,Tt:d,ht:p,wt:f,nt:y}=e,{scrollbars:h}=d?{}:t,{slot:v}=h||{},b=[],g=[],m=[],x=e1([c,s,u],()=>y&&f?c:s,a,v),k=t=>{if(w){let e=new w({source:p,axis:t});return{Mt:t=>{let r=t.kt.animate({clear:["left"],[l]:[0,1]},{timeline:e});return()=>r.cancel()}}}},O={x:k("x"),y:k("y")},S=()=>{let{Rt:t,Vt:e}=r,n=(t,e)=>tg(0,1,t/(t+e)||0);return{x:n(e.x,t.x),y:n(e.y,t.y)}},R=(t,e,r)=>{let n=r?tH:tE;_(t,t=>{n(t.kt,e)})},M=(t,e)=>{_(t,t=>{let[r,n]=e(t);t$(r,n)})},A=(t,e,r)=>{let n=C(r),l=!n||r,o=!n||!r;l&&R(g,t,e),o&&R(m,t,e)},D=t=>{let e=t?"x":"y",r=tq("".concat(e_," ").concat(t?ez:eP)),l=tq(ej),o=tq(eU),i={kt:r,Ut:l,Pt:o},a=O[e];return P(t?g:m,i),P(b,[tV(r,l),tV(l,o),tu(tF,r),a&&a.Mt(i),n(i,A,t)]),i},E=tu(D,!0),H=tu(D,!1);return E(),H(),[{Nt:()=>{let t=S(),e=t=>e=>[e.kt,{"--os-viewport-percent":tY(t)+""}];M(g,e(t.x)),M(m,e(t.y))},qt:()=>{if(!w){let{Lt:t}=r,e=ep(t,ec(p)),n=t=>e=>[e.kt,{[l]:tY(t)+""}];M(g,n(e.x)),M(m,n(e.y))}},Bt:()=>{let{Lt:t}=r,e=ed(t),n=t=>e=>[e.kt,{"--os-scroll-direction":t?"0":"1"}];M(g,n(e.x)),M(m,n(e.y))},Ft:()=>{if(y&&!f){let{Rt:t,Lt:e}=r,n=ed(e),l=ep(e,ec(p)),o=e=>{let{kt:r}=e,o=tz(r)===u&&r,i=(t,e,r)=>{let n=e*t;return tX(r?n:-n)};return[o,o&&{transform:tQ({x:i(l.x,t.x,n.x),y:i(l.y,t.y,n.y)})}]};M(g,o),M(m,o)}},jt:A,Xt:{Yt:g,Wt:E,Jt:tu(M,g)},Gt:{Yt:m,Wt:H,Jt:tu(M,m)}},()=>(tV(x,g[0].kt),tV(x,m[0].kt),tu(q,b))]},ry=(t,e,r,n)=>(l,o,i)=>{let{gt:a,ot:c,nt:d,ht:p,Kt:f,Ot:h}=e,{kt:v,Ut:b,Pt:g}=l,[m,w]=td(333),[x,k]=td(444),O=t=>{R(p.scrollBy)&&p.scrollBy({behavior:"smooth",left:t.x,top:t.y})},S=!0;return tu(q,[en(g,"pointermove pointerleave",n),en(v,"pointerenter",()=>{o(eq,!0)}),en(v,"pointerleave pointercancel",()=>{o(eq,!1)}),!d&&en(v,"mousedown",()=>{let t=tj();(tx(t,eM)||tx(t,ex)||t===document.body)&&y(tu(ef,c),25)}),en(v,"wheel",t=>{let{deltaX:e,deltaY:r,deltaMode:n}=t;S&&0===n&&tz(v)===a&&O({x:e,y:r}),S=!1,o(eB,!0),m(()=>{S=!0,o(eB)}),eo(t)},{H:!1,I:!0}),en(v,"pointerdown",tu(en,f,"click",ei,{A:!0,I:!0,H:!1}),{I:!0}),(()=>{let e="pointerup pointercancel lostpointercapture",n="client".concat(i?"X":"Y"),l=i?Q:tt,o=i?"left":"top",a=i?"w":"h",c=i?"x":"y",d=(t,e)=>n=>{let{Rt:l}=r,o=e*n/(t5(b)[a]-t5(g)[a])*l[c];ea(p,{[c]:t+o})},y=[];return en(b,"pointerdown",r=>{let i=tP(r.target,".".concat(eU))===g,v=i?g:b,m=t.scrollbars,{button:w,isPrimary:S,pointerType:C}=r,{pointers:R}=m;if(0===w&&S&&m[i?"dragScroll":"clickScroll"]&&(R||[]).includes(C)){q(y),k();let t=!i&&r.shiftKey,m=tu(t9,g),w=tu(t9,b),S=(t,e)=>(t||m())[o]-(e||w())[o],C=s(t9(p)[l])/t5(p)[a]||1,R=d(ec(p)[c],1/C),M=r[n],A=m(),D=w(),E=A[l],H=S(A,D)+E/2,T=M-D[o],I=i?0:T-H,N=t=>{q(L),v.releasePointerCapture(t.pointerId)},_=h(),L=[()=>{let t=ec(p);_();let e=ec(p),r={x:e.x-t.x,y:e.y-t.y};(u(r.x)>3||u(r.y)>3)&&(h(),ea(p,t),O(r),x(_))},en(f,e,N),en(f,"selectstart",t=>eo(t),{H:!1}),en(b,e,N),en(b,"pointermove",e=>{let r=e[n]-M;(i||t)&&R(I+r)})];if(v.setPointerCapture(r.pointerId),t)R(I);else if(!i){let t=rn(rc);if(t){let e=t(R,S,I,E,T);P(L,tu(e)),P(y,tu(e,!0))}}}})})(),w,k])},rh=(t,e,r,n,l,o)=>{let i,a,c,s,u;let d=ts,p=0,f=t=>"mouse"===t.pointerType,[y,h]=td(),[v,b]=td(100),[g,m]=td(100),[w,x]=td(()=>p),[k,O]=rf(t,l,n,ry(e,l,n,t=>f(t)&&I())),{gt:S,Qt:C,wt:R}=l,{jt:M,Nt:A,qt:D,Bt:E,Ft:H}=k,T=(t,e)=>{if(x(),t)M(eZ);else{let t=tu(M,eZ,!0);p>0&&!e?w(t):t()}},I=()=>{(c?i:s)||(T(!0),v(()=>{T(!1)}))},N=t=>{M(eW,t,!0),M(eW,t,!1)},_=t=>{f(t)&&(i=c,c&&T(!0))},L=[x,b,m,h,()=>d(),en(S,"pointerover",_,{A:!0}),en(S,"pointerenter",_),en(S,"pointerleave",t=>{f(t)&&(i=!1,c&&T(!1))}),en(S,"pointermove",t=>{f(t)&&a&&I()}),en(C,"scroll",t=>{y(()=>{D(),I()}),o(t),H()})];return[()=>tu(q,P(L,O())),t=>{let{It:e,Dt:l,Zt:o,tn:i}=t,{nn:f,sn:y,en:h,cn:v}=i||{},{Ct:b,dt:m}=o||{},{ct:w}=r,{M:x}=eJ(),{K:k,rn:O}=n,[S,I]=e("showNativeOverlaidScrollbars"),[_,L]=e("scrollbars.theme"),[z,P]=e("scrollbars.visibility"),[j,U]=e("scrollbars.autoHide"),[F,V]=e("scrollbars.autoHideSuspend"),[q]=e("scrollbars.autoHideDelay"),[K,W]=e("scrollbars.dragScroll"),[Z,B]=e("scrollbars.clickScroll"),[Y,X]=e("overflow"),$=O.x||O.y,G=S&&x.x&&x.y,J=(t,e,r)=>{let n=t.includes(tn)&&(z===te||"auto"===z&&e===tn);return M(eF,n,r),n};if(p=q,m&&!l&&(F&&$?(N(!1),d(),g(()=>{d=en(C,"scroll",tu(N,!0),{A:!0})})):N(!0)),I&&M("os-theme-none",G),L&&(M(u),M(_,!0),u=_),V&&!F&&N(!0),U&&(a="move"===j,c="leave"===j,T(s="never"===j,!0)),W&&M(eX,K),B&&M(eY,Z),h||P||X){let t=J(Y.x,k.x,!0),e=J(Y.y,k.y,!1);M(eV,!(t&&e))}(f||y||v||b||l)&&(D(),A(),H(),v&&E(),M(eK,!O.x,!0),M(eK,!O.y,!1),M(eL,w&&!R))},{},k]},rv=t=>{let{U:e,R:r}=eJ(),{elements:n}=e(),{padding:l,viewport:o,content:a}=n,c=H(t),s=c?{}:t,{elements:u}=s,{padding:d,viewport:p,content:f}=u||{},y=c?t:s.target,h=t_(y),v=y.ownerDocument,b=v.documentElement,g=()=>v.defaultView||i,m=tu(e0,[y]),w=tu(e1,[y]),x=tu(tq,""),k=tu(m,x,o),O=tu(w,x,a),S=k(p),C=S===y,R=C&&h,M=!C&&O(f),A=R?b:S,D=R?A:y,E=!C&&w(x,l,d),T=!(!C&&S===M)&&M,I=[T,A,E,D].map(t=>H(t)&&!tz(t)&&t),N=t=>t&&L(I,t),_=!N(A)&&(t=>{let e=t5(t),r=t6(t),n=tG(t,G),l=tG(t,J);return r.w-e.w>0&&!ro(n)||r.h-e.h>0&&!ro(l)})(A)?A:y,z=R?b:A,j=R?v:A,U={vt:y,gt:D,ot:A,ln:E,bt:T,ht:z,Qt:j,an:h?b:_,Kt:v,wt:h,Tt:c,nt:C,un:g,yt:t=>tA(A,eM,t),St:(t,e)=>tM(A,eM,t,e),Ot:()=>tM(z,eM,"scrolling",!0)},{vt:F,gt:V,ln:K,ot:W,bt:Z}=U,B=[()=>{tO(V,[ex,eS]),tO(F,eS),h&&tO(b,[eS,ex])}],Y=tL([Z,W,K,V,F].find(t=>t&&!N(t))),X=R?F:Z||W,$=tu(q,B);return[U,()=>{let t=g(),e=tj(),n=t=>{tV(tz(t),tL(t)),tF(t)},l=t=>en(t,"focusin focusout focus blur",ei,{I:!0,H:!1}),o="tabindex",i=tw(W,o),a=l(e);return tk(V,ex,C?"":"host"),tk(K,eE,""),tk(W,eM,""),tk(Z,eH,""),!C&&(tk(W,o,i||"-1"),h&&tk(b,eR,"")),tV(X,Y),tV(V,K),tV(K||V,!C&&W),tV(W,Z),P(B,[a,()=>{let t=tj(),e=N(W),r=e&&t===W?F:t,a=l(r);tO(K,eE),tO(Z,eH),tO(W,eM),h&&tO(b,eR),i?tk(W,o,i):tO(W,o),N(Z)&&n(Z),e&&n(W),N(K)&&n(K),ef(r),a()}]),r&&!C&&(tR(W,eM,eD),P(B,tu(tO,W,eM))),ef(!C&&h&&e===F&&t.top===t?W:e),a(),Y=0,$},$]},rb=t=>{let{bt:e}=t;return t=>{let{Zt:r,_n:n,Dt:l}=t,{xt:o}=r||{},{$t:i}=n;e&&(o||l)&&t$(e,{[tt]:i&&"100%"})}},rg=(t,e)=>{let{gt:r,ln:n,ot:l,nt:i}=t,[a,c]=o({i:tc,o:tJ()},tu(tJ,r,"padding",""));return t=>{let{It:r,Zt:o,_n:s,Dt:u}=t,[d,p]=c(u),{R:f}=eJ(),{ft:y,Ht:h,Ct:v}=o||{},{ct:b}=s,[g,m]=r("paddingAbsolute"),w=u||h;(y||p||w)&&([d,p]=a(u));let x=!i&&(m||v||p);if(x){let t=!g||!n&&!f,r=d.r+d.l,o=d.t+d.b,i={[X]:t&&!b?-r:0,[$]:t?-o:0,[Y]:t&&b?-r:0,top:t?-d.t:0,right:t?b?-d.r:"auto":0,left:t?b?"auto":-d.l:0,[Q]:t&&"calc(100% + ".concat(r,"px)")},a={[K]:t?d.t:0,[W]:t?d.r:0,[B]:t?d.b:0,[Z]:t?d.l:0};t$(n||l,i),t$(l,a),th(e,{ln:d,dn:!t,rt:n?a:th({},i,a)})}return{fn:x}}},rm=(t,e)=>{let r=eJ(),{gt:n,ln:l,ot:c,nt:s,Qt:u,ht:d,wt:p,St:y,un:h}=t,{R:v}=r,b=p&&s,g=tu(a,0),m={display:()=>!1,direction:t=>"ltr"!==t,flexDirection:t=>t.endsWith("-reverse"),writingMode:t=>"horizontal-tb"!==t},w=ty(m),x={i:ti,o:{w:0,h:0}},k={i:ta,o:{}},O=t=>{y(eA,!b&&t)},S=t=>{if(!w.some(e=>{let r=t[e];return r&&m[e](r)}))return{D:{x:0,y:0},T:{x:1,y:1}};O(!0);let e=ec(d),r=y("noContent",!0),n=en(u,tn,t=>{let r=ec(d);t.isTrusted&&r.x===e.x&&r.y===e.y&&el(t)},{I:!0,A:!0});ea(d,{x:0,y:0}),r();let l=ec(d),o=t6(d);ea(d,{x:o.w,y:o.h});let i=ec(d);ea(d,{x:i.x-l.x<1&&-o.w,y:i.y-l.y<1&&-o.h});let a=ec(d);return ea(d,e),f(()=>n()),{D:l,T:a}},C=(t,e)=>{let r=i.devicePixelRatio%1!=0?1:0,n={w:g(t.w-e.w),h:g(t.h-e.h)};return{w:n.w>r?n.w:0,h:n.h>r?n.h:0}},[R,M]=o(x,tu(t8,c)),[A,D]=o(x,tu(t6,c)),[E,H]=o(x),[T]=o(k),[I,N]=o(x),[_]=o(k),[L]=o({i:(t,e)=>to(t,e,w),o:{}},()=>t7(c)?tG(c,w):{}),[z,P]=o({i:(t,e)=>ta(t.D,e.D)&&ta(t.T,e.T),o:es()}),j=rn(ra),U=(t,e)=>{let r=e?G:J;return"".concat(r).concat(tl(t))},F=t=>{let e=t=>[te,tr,tn].map(e=>U(e,t));y(e(!0).concat(e()).join(" ")),y(ty(t).map(e=>U(t[e],"x"===e)).join(" "),!0)};return(o,i)=>{let{It:a,Zt:s,_n:u,Dt:d}=o,{fn:p}=i,{ft:f,Ht:m,Ct:w,dt:x,zt:k}=s||{},{it:U,ut:V,_t:q}=j&&j.tt(t,e,u,r,a)||{},[K,W]=rl(a,r),[Z,B]=a("overflow"),Y=ro(Z.x),X=ro(Z.y),$=M(d),G=D(d),J=H(d),Q=N(d);W&&v&&y(eD,!K);{tA(n,ex,eC)&&O(!0);let[t]=V?V():[],[e]=$=R(d),[r]=G=A(d),l=t4(c),o=b&&t3(h()),i={w:g(r.w+e.w),h:g(r.h+e.h)},a={w:g((o?o.w:l.w+g(l.w-r.w))+e.w),h:g((o?o.h:l.h+g(l.h-r.h))+e.h)};t&&t(),Q=I(a),J=E(C(i,a),d)}let[tt,te]=Q,[tr,tn]=J,[tl,to]=G,[ti,ta]=$,[tc,ts]=T({x:tr.w>0,y:tr.h>0}),tu=Y&&X&&(tc.x||tc.y)||Y&&tc.x&&!tc.y||X&&tc.y&&!tc.x,td=ri(tc,Z),[tp,tf]=_(td.K),[ty,tv]=L(d),tb=w||x||tv||ts||d,[tg,tm]=tb?z(S(ty),d):P();return tf&&F(td.K),q&&U&&t$(c,q(td,u,U(td,tl,ti))),O(!1),tM(n,ex,eC,tu),tM(l,eE,eC,tu),th(e,{K:tp,Vt:{x:tt.w,y:tt.h},Rt:{x:tr.w,y:tr.h},rn:tc,Lt:eu(tg,tr)}),{en:tf,nn:te,sn:tn,cn:tm||tn,vn:tb}}},rw=t=>{let[e,r,n]=rv(t),l={ln:{t:0,r:0,b:0,l:0},dn:!1,rt:{[X]:0,[$]:0,[Y]:0,[K]:0,[W]:0,[B]:0,[Z]:0},Vt:{x:0,y:0},Rt:{x:0,y:0},K:{x:tr,y:tr},rn:{x:!1,y:!1},Lt:es()},{vt:o,ht:i,nt:a,Ot:c}=e,{R:s,M:u}=eJ(),d=!s&&(u.x||u.y),p=[rb(e),rg(e,l),rm(e,l)];return[r,t=>{let e={},r=d&&ec(i),n=r&&c();return _(p,r=>{th(e,r(t,e)||{})}),ea(i,r),n&&n(),a||ea(o,0),e},l,e,n]},rx=(t,e,r,n,l)=>{let o=!1,i=ew(e,{}),[a,c,s,u,d]=rw(t),[p,f,y]=rp(u,s,i,t=>{m({},t)}),[h,v,,b]=rh(t,e,y,s,u,l),g=t=>ty(t).some(e=>!!t[e]),m=(t,l)=>{if(r())return!1;let{pn:i,Dt:a,At:s,gn:u}=t,d=i||{},p=!!a||!o,h={It:ew(e,d,p),pn:d,Dt:p};if(u)return v(h),!1;let b=l||f(th({},h,{At:s})),m=c(th({},h,{_n:y,Zt:b}));v(th({},h,{Zt:b,tn:m}));let w=g(b),x=g(m),k=w||x||!tb(d)||p;return o=!0,k&&n(t,{Zt:b,tn:m}),k};return[()=>{let{an:t,ht:e,Ot:r}=u,n=ec(t),l=[p(),a(),h()],o=r();return ea(e,n),o(),tu(q,l)},m,()=>({hn:y,bn:s}),{wn:u,yn:b},d]},rk=(t,e,r)=>{let{N:n}=eJ(),l=H(t),o=l?t:t.target,i=e6(o);if(e&&!i){let i=!1,a=[],c={},s=t=>{let e=tv(t,!0),r=rn("__osOptionsValidationPlugin");return r?r(e,!0):e},u=th({},n(),s(e)),[d,p,f]=eh(),[y,h,v]=eh(r),b=(t,e)=>{v(t,e),f(t,e)},[g,m,w,x,k]=rx(t,u,()=>i,(t,e)=>{let{pn:r,Dt:n}=t,{Zt:l,tn:o}=e,{ft:i,Ct:a,xt:c,Ht:s,Et:u,dt:d}=l,{nn:p,sn:f,en:y,cn:h}=o;b("updated",[S,{updateHints:{sizeChanged:!!i,directionChanged:!!a,heightIntrinsicChanged:!!c,overflowEdgeChanged:!!p,overflowAmountChanged:!!f,overflowStyleChanged:!!y,scrollCoordinatesChanged:!!h,contentMutation:!!s,hostMutation:!!u,appear:!!d},changedOptions:r||{},force:!!n}])},t=>b("scroll",[S,t])),O=t=>{e4(o),q(a),i=!0,b("destroyed",[S,t]),p(),h()},S={options(t,e){if(t){let r=em(u,th(e?n():{},s(t)));tb(r)||(th(u,r),m({pn:r}))}return th({},u)},on:y,off:(t,e)=>{t&&e&&h(t,e)},state(){let{hn:t,bn:e}=w(),{ct:r}=t,{Vt:n,Rt:l,K:o,rn:a,ln:c,dn:s,Lt:u}=e;return th({},{overflowEdge:n,overflowAmount:l,overflowStyle:o,hasOverflow:a,scrollCoordinates:{start:u.D,end:u.T},padding:c,paddingAbsolute:s,directionRTL:r,destroyed:i})},elements(){let{vt:t,gt:e,ln:r,ot:n,bt:l,ht:o,Qt:i}=x.wn,{Xt:a,Gt:c}=x.yn,s=t=>{let{Pt:e,Ut:r,kt:n}=t;return{scrollbar:n,track:r,handle:e}},u=t=>{let{Yt:e,Wt:r}=t;return th({},s(e[0]),{clone:()=>{let t=s(r());return m({gn:!0}),t}})};return th({},{target:t,host:e,padding:r||n,viewport:n,content:l||n,scrollOffsetElement:o,scrollEventElement:i,scrollbarHorizontal:u(a),scrollbarVertical:u(c)})},update:t=>m({Dt:t,At:!0}),destroy:tu(O,!1),plugin:t=>c[ty(t)[0]]};return(P(a,[k]),e5(o,S),rr(e7,rk,[S,d,c]),e2(x.wn.wt,!l&&t.cancel))?O(!0):(P(a,g()),b("initialized",[S]),S.update()),S}return i};rk.plugin=t=>{let e=M(t),r=e?t:[t],n=r.map(t=>rr(t,rk)[0]);return re(r),e?n:n[0]},rk.valid=t=>{let e=t&&t.elements,r=R(e)&&e();return E(r)&&!!e6(r.target)},rk.env=()=>{let{k:t,M:e,R:r,V:n,B:l,F:o,U:i,P:a,N:c,q:s}=eJ();return th({},{scrollbarsSize:t,scrollbarsOverlaid:e,scrollbarsHiding:r,scrollTimeline:n,staticDefaultInitialization:l,staticDefaultOptions:o,getDefaultInitialization:i,setDefaultInitialization:a,getDefaultOptions:c,setDefaultOptions:s})},rk.nonce=t=>{n=t}}}]); \ No newline at end of file diff --git a/docs/_next/static/chunks/app/layout-b022b64804abc91b.js b/docs/_next/static/chunks/app/layout-ba10ade47b405625.js similarity index 100% rename from docs/_next/static/chunks/app/layout-b022b64804abc91b.js rename to docs/_next/static/chunks/app/layout-ba10ade47b405625.js diff --git a/docs/_next/static/chunks/webpack-f733efd773acdf38.js b/docs/_next/static/chunks/webpack-cda17dfd24cde2c9.js similarity index 98% rename from docs/_next/static/chunks/webpack-f733efd773acdf38.js rename to docs/_next/static/chunks/webpack-cda17dfd24cde2c9.js index c79eaf1a..68765be7 100644 --- a/docs/_next/static/chunks/webpack-f733efd773acdf38.js +++ b/docs/_next/static/chunks/webpack-cda17dfd24cde2c9.js @@ -1 +1 @@ -!function(){"use strict";var e,t,r,n,o,u,i,c,f,a={},l={};function s(e){var t=l[e];if(void 0!==t)return t.exports;var r=l[e]={exports:{}},n=!0;try{a[e].call(r.exports,r,r.exports,s),n=!1}finally{n&&delete l[e]}return r.exports}s.m=a,s.amdO={},e=[],s.O=function(t,r,n,o){if(r){o=o||0;for(var u=e.length;u>0&&e[u-1][2]>o;u--)e[u]=e[u-1];e[u]=[r,n,o];return}for(var i=1/0,u=0;u=o&&Object.keys(s.O).every(function(e){return s.O[e](r[f])})?r.splice(f--,1):(c=!1,o0&&e[u-1][2]>o;u--)e[u]=e[u-1];e[u]=[r,n,o];return}for(var i=1/0,u=0;u=o&&Object.keys(s.O).every(function(e){return s.O[e](r[f])})?r.splice(f--,1):(c=!1,o OverlayScrollbars & Angular - + - + diff --git a/docs/example/angular/main.87a5588b8d245ebb.js b/docs/example/angular/main.8c8640683cd6d1f7.js similarity index 57% rename from docs/example/angular/main.87a5588b8d245ebb.js rename to docs/example/angular/main.8c8640683cd6d1f7.js index 0a649e65..808a6db8 100644 --- a/docs/example/angular/main.87a5588b8d245ebb.js +++ b/docs/example/angular/main.8c8640683cd6d1f7.js @@ -1 +1 @@ -"use strict";(self.webpackChunkexample=self.webpackChunkexample||[]).push([[179],{591:()=>{let He=null,Wr=1;function ke(e){const t=He;return He=e,t}function cp(e){if((!cs(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==Wr)){if(!e.producerMustRecompute(e)&&!Dl(e))return e.dirty=!1,void(e.lastCleanEpoch=Wr);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=Wr}}function Dl(e){Zr(e);for(let t=0;t0}function Zr(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let mp=null;function Qe(e){return"function"==typeof e}function Dp(e){const n=e(r=>{Error.call(r),r.stack=(new Error).stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}const El=Dp(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((r,o)=>`${o+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n});function _l(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class hn{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(const s of n)s.remove(this);else n.remove(this);const{initialTeardown:r}=this;if(Qe(r))try{r()}catch(s){t=s instanceof El?s.errors:[s]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const s of o)try{Ep(s)}catch(i){t=t??[],i instanceof El?t=[...t,...i.errors]:t.push(i)}}if(t)throw new El(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Ep(t);else{if(t instanceof hn){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}}_hasParent(t){const{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){const{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){const{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&_l(n,t)}remove(t){const{_finalizers:n}=this;n&&_l(n,t),t instanceof hn&&t._removeParent(this)}}hn.EMPTY=(()=>{const e=new hn;return e.closed=!0,e})();const wp=hn.EMPTY;function Cp(e){return e instanceof hn||e&&"closed"in e&&Qe(e.remove)&&Qe(e.add)&&Qe(e.unsubscribe)}function Ep(e){Qe(e)?e():e.unsubscribe()}const mr={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Fi={setTimeout(e,t,...n){const{delegate:r}=Fi;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=Fi;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function _p(e){Fi.setTimeout(()=>{const{onUnhandledError:t}=mr;if(!t)throw e;t(e)})}function Ip(){}const DI=Il("C",void 0,void 0);function Il(e,t,n){return{kind:e,value:t,error:n}}let yr=null;function ki(e){if(mr.useDeprecatedSynchronousErrorHandling){const t=!yr;if(t&&(yr={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=yr;if(yr=null,n)throw r}}else e()}class bl extends hn{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Cp(t)&&t.add(this)):this.destination=SI}static create(t,n,r){return new ls(t,n,r)}next(t){this.isStopped?Ml(function CI(e){return Il("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?Ml(function wI(e){return Il("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Ml(DI,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const _I=Function.prototype.bind;function Sl(e,t){return _I.call(e,t)}class II{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Li(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Li(r)}else Li(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Li(n)}}}class ls extends bl{constructor(t,n,r){let o;if(super(),Qe(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let s;this&&mr.useDeprecatedNextContext?(s=Object.create(t),s.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Sl(t.next,s),error:t.error&&Sl(t.error,s),complete:t.complete&&Sl(t.complete,s)}):o=t}this.destination=new II(o)}}function Li(e){mr.useDeprecatedSynchronousErrorHandling?function EI(e){mr.useDeprecatedSynchronousErrorHandling&&yr&&(yr.errorThrown=!0,yr.error=e)}(e):_p(e)}function Ml(e,t){const{onStoppedNotification:n}=mr;n&&Fi.setTimeout(()=>n(e,t))}const SI={closed:!0,next:Ip,error:function bI(e){throw e},complete:Ip},Tl="function"==typeof Symbol&&Symbol.observable||"@@observable";function Nl(e){return e}let St=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){const r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){const s=function TI(e){return e&&e instanceof bl||function MI(e){return e&&Qe(e.next)&&Qe(e.error)&&Qe(e.complete)}(e)&&Cp(e)}(n)?n:new ls(n,r,o);return ki(()=>{const{operator:i,source:a}=this;s.add(i?i.call(s,a):a?this._subscribe(s):this._trySubscribe(s))}),s}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return new(r=Sp(r))((o,s)=>{const i=new ls({next:a=>{try{n(a)}catch(c){s(c),i.unsubscribe()}},error:s,complete:o});this.subscribe(i)})}_subscribe(n){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(n)}[Tl](){return this}pipe(...n){return function bp(e){return 0===e.length?Nl:1===e.length?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}(n)(this)}toPromise(n){return new(n=Sp(n))((r,o)=>{let s;this.subscribe(i=>s=i,i=>o(i),()=>r(s))})}}return e.create=t=>new e(t),e})();function Sp(e){var t;return null!==(t=e??mr.Promise)&&void 0!==t?t:Promise}const NI=Dp(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Vi=(()=>{class e extends St{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new Mp(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new NI}next(n){ki(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){ki(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;const{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){ki(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return(null===(n=this.observers)||void 0===n?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){const{hasError:r,isStopped:o,observers:s}=this;return r||o?wp:(this.currentObservers=null,s.push(n),new hn(()=>{this.currentObservers=null,_l(s,n)}))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:o,isStopped:s}=this;r?n.error(o):s&&n.complete()}asObservable(){const n=new St;return n.source=this,n}}return e.create=(t,n)=>new Mp(t,n),e})();class Mp extends Vi{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.next)||void 0===r||r.call(n,t)}error(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.error)||void 0===r||r.call(n,t)}complete(){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===n||n.call(t)}_subscribe(t){var n,r;return null!==(r=null===(n=this.source)||void 0===n?void 0:n.subscribe(t))&&void 0!==r?r:wp}}function vr(e){return t=>{if(function AI(e){return Qe(e?.lift)}(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function Dr(e,t,n,r,o){return new xI(e,t,n,r,o)}class xI extends bl{constructor(t,n,r,o,s,i){super(t),this.onFinalize=s,this.shouldUnsubscribe=i,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:n}=this;super.unsubscribe(),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function Tp(e,t){return vr((n,r)=>{let o=0;n.subscribe(Dr(r,s=>{r.next(e.call(t,s,o++))}))})}function Yn(e){return this instanceof Yn?(this.v=e,this):new Yn(e)}function Op(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,t=e[Symbol.asyncIterator];return t?t.call(e):(e=function Rl(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(s){n[s]=e[s]&&function(i){return new Promise(function(a,c){!function o(s,i,a,c){Promise.resolve(c).then(function(l){s({value:l,done:a})},i)}(a,c,(i=e[s](i)).done,i.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const Rp=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function Pp(e){return Qe(e?.then)}function Fp(e){return Qe(e[Tl])}function kp(e){return Symbol.asyncIterator&&Qe(e?.[Symbol.asyncIterator])}function Lp(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const Vp=function JI(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function jp(e){return Qe(e?.[Vp])}function Hp(e){return function xp(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,r=n.apply(e,t||[]),s=[];return o={},i("next"),i("throw"),i("return"),o[Symbol.asyncIterator]=function(){return this},o;function i(f){r[f]&&(o[f]=function(h){return new Promise(function(p,g){s.push([f,h,p,g])>1||a(f,h)})})}function a(f,h){try{!function c(f){f.value instanceof Yn?Promise.resolve(f.value.v).then(l,u):d(s[0][2],f)}(r[f](h))}catch(p){d(s[0][3],p)}}function l(f){a("next",f)}function u(f){a("throw",f)}function d(f,h){f(h),s.shift(),s.length&&a(s[0][0],s[0][1])}}(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:o}=yield Yn(n.read());if(o)return yield Yn(void 0);yield yield Yn(r)}}finally{n.releaseLock()}})}function $p(e){return Qe(e?.getReader)}function Pn(e){if(e instanceof St)return e;if(null!=e){if(Fp(e))return function eb(e){return new St(t=>{const n=e[Tl]();if(Qe(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Rp(e))return function tb(e){return new St(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,_p)})}(e);if(kp(e))return Bp(e);if(jp(e))return function rb(e){return new St(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if($p(e))return function ob(e){return Bp(Hp(e))}(e)}throw Lp(e)}function Bp(e){return new St(t=>{(function sb(e,t){var n,r,o,s;return function Np(e,t,n,r){return new(n||(n=Promise))(function(s,i){function a(u){try{l(r.next(u))}catch(d){i(d)}}function c(u){try{l(r.throw(u))}catch(d){i(d)}}function l(u){u.done?s(u.value):function o(s){return s instanceof n?s:new n(function(i){i(s)})}(u.value).then(a,c)}l((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=Op(e);!(r=yield n.next()).done;)if(t.next(r.value),t.closed)return}catch(i){o={error:i}}finally{try{r&&!r.done&&(s=n.return)&&(yield s.call(n))}finally{if(o)throw o.error}}t.complete()})})(e,t).catch(n=>t.error(n))})}function Kn(e,t,n,r=0,o=!1){const s=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(s),!o)return s}function Up(e,t,n=1/0){return Qe(t)?Up((r,o)=>Tp((s,i)=>t(r,s,o,i))(Pn(e(r,o))),n):("number"==typeof t&&(n=t),vr((r,o)=>function ib(e,t,n,r,o,s,i,a){const c=[];let l=0,u=0,d=!1;const f=()=>{d&&!c.length&&!l&&t.complete()},h=g=>l{s&&t.next(g),l++;let y=!1;Pn(n(g,u++)).subscribe(Dr(t,v=>{o?.(v),s?h(v):t.next(v)},()=>{y=!0},void 0,()=>{if(y)try{for(l--;c.length&&lp(v)):p(v)}f()}catch(v){t.error(v)}}))};return e.subscribe(Dr(t,h,()=>{d=!0,f()})),()=>{a?.()}}(r,o,e,n)))}const zp=new St(e=>e.complete());function Pl(e){return e[e.length-1]}function Gp(e){return function lb(e){return e&&Qe(e.schedule)}(Pl(e))?e.pop():void 0}function qp(e,t=0){return vr((n,r)=>{n.subscribe(Dr(r,o=>Kn(r,e,()=>r.next(o),t),()=>Kn(r,e,()=>r.complete(),t),o=>Kn(r,e,()=>r.error(o),t)))})}function Wp(e,t=0){return vr((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Zp(e,t){if(!e)throw new Error("Iterable cannot be null");return new St(n=>{Kn(n,t,()=>{const r=e[Symbol.asyncIterator]();Kn(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Qp(e,t){return t?function mb(e,t){if(null!=e){if(Fp(e))return function db(e,t){return Pn(e).pipe(Wp(t),qp(t))}(e,t);if(Rp(e))return function hb(e,t){return new St(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(Pp(e))return function fb(e,t){return Pn(e).pipe(Wp(t),qp(t))}(e,t);if(kp(e))return Zp(e,t);if(jp(e))return function pb(e,t){return new St(n=>{let r;return Kn(n,t,()=>{r=e[Vp](),Kn(n,t,()=>{let o,s;try{({value:o,done:s}=r.next())}catch(i){return void n.error(i)}s?n.complete():n.next(o)},0,!0)}),()=>Qe(r?.return)&&r.return()})}(e,t);if($p(e))return function gb(e,t){return Zp(Hp(e),t)}(e,t)}throw Lp(e)}(e,t):Pn(e)}function yb(...e){const t=Gp(e),n=function ub(e,t){return"number"==typeof Pl(e)?e.pop():t}(e,1/0),r=e;return r.length?1===r.length?Pn(r[0]):function ab(e=1/0){return Up(Nl,e)}(n)(Qp(r,t)):zp}class Yp extends Vi{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){const{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}}function Fl(e,t,...n){if(!0===t)return void e();if(!1===t)return;const r=new ls({next:()=>{r.unsubscribe(),e()}});return Pn(t(...n)).subscribe(r)}function Eb(e,t){return e===t}function De(e){for(let t in e)if(e[t]===De)return t;throw Error("Could not find renamed property on target object.")}function Ge(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Ge).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function kl(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const _b=De({__forward_ref__:De});function Ll(e){return e.__forward_ref__=Ll,e.toString=function(){return Ge(this())},e}function H(e){return function Hi(e){return"function"==typeof e&&e.hasOwnProperty(_b)&&e.__forward_ref__===Ll}(e)?e():e}function Vl(e){return e&&!!e.\u0275providers}class T extends Error{constructor(t,n){super(function Qr(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}const us=De({\u0275cmp:De}),jl=De({\u0275dir:De}),Hl=De({\u0275pipe:De}),Xp=De({\u0275mod:De}),Fn=De({\u0275fac:De}),ds=De({__NG_ELEMENT_ID__:De}),Jp=De({__NG_ENV_ID__:De});function q(e){return"string"==typeof e?e:null==e?"":String(e)}function $l(e,t){throw new T(-201,!1)}function Mt(e,t){null==e&&function $(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function fe(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function wr(e){return{providers:e.providers||[],imports:e.imports||[]}}function $i(e){return eg(e,Ui)||eg(e,tg)}function eg(e,t){return e.hasOwnProperty(t)?e[t]:null}function Bi(e){return e&&(e.hasOwnProperty(Bl)||e.hasOwnProperty(xb))?e[Bl]:null}const Ui=De({\u0275prov:De}),Bl=De({\u0275inj:De}),tg=De({ngInjectableDef:De}),xb=De({ngInjectorDef:De});var re=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(re||{});let Ul;function Tt(e){const t=Ul;return Ul=e,t}function rg(e,t,n){const r=$i(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&re.Optional?null:void 0!==t?t:void $l(Ge(e))}const Ie=globalThis;class U{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=fe({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const fs={},Zl="__NG_DI_FLAG__",zi="ngTempTokenPath",Pb=/\n/gm,sg="__source";let Yr;function Jn(e){const t=Yr;return Yr=e,t}function Lb(e,t=re.Default){if(void 0===Yr)throw new T(-203,!1);return null===Yr?rg(e,void 0,t):Yr.get(e,t&re.Optional?null:void 0,t)}function ie(e,t=re.Default){return(function ng(){return Ul}()||Lb)(H(e),t)}function me(e,t=re.Default){return ie(e,Gi(t))}function Gi(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Ql(e){const t=[];for(let n=0;nt){i=s-1;break}}}for(;ss?"":o[d+1].toLowerCase();const h=8&r?f:null;if(h&&-1!==ag(h,l,0)||2&r&&l!==f){if(tn(r))return!1;i=!0}}}}else{if(!i&&!tn(r)&&!tn(c))return!1;if(i&&tn(c))continue;i=!1,r=c|1&r}}return tn(r)||i}function tn(e){return 0==(1&e)}function zb(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let s=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else 8&r?o+="."+i:4&r&&(o+=" "+i);else""!==o&&!tn(i)&&(t+=pg(s,o),o=""),r=i,s=s||!tn(r);n++}return""!==o&&(t+=pg(s,o)),t}function Kl(e){return kn(()=>{const t=mg(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===qi.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||en.Emulated,styles:e.styles||le,_:null,schemas:e.schemas||null,tView:null,id:""};yg(n);const r=e.dependencies;return n.directiveDefs=Wi(r,!1),n.pipeDefs=Wi(r,!0),n.id=function tS(e){let t=0;const n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(n),n})}function Xb(e){return J(e)||Ye(e)}function Jb(e){return null!==e}function Kr(e){return kn(()=>({type:e.type,bootstrap:e.bootstrap||le,declarations:e.declarations||le,imports:e.imports||le,exports:e.exports||le,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function gg(e,t){if(null==e)return pn;const n={};for(const r in e)if(e.hasOwnProperty(r)){let o=e[r],s=o;Array.isArray(o)&&(s=o[1],o=o[0]),n[o]=r,t&&(t[o]=s)}return n}function kt(e){return kn(()=>{const t=mg(e);return yg(t),t})}function Nt(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function J(e){return e[us]||null}function Ye(e){return e[jl]||null}function ct(e){return e[Hl]||null}function mg(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||pn,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||le,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:gg(e.inputs,t),outputs:gg(e.outputs),debugInfo:null}}function yg(e){e.features?.forEach(t=>t(e))}function Wi(e,t){if(!e)return null;const n=t?ct:Xb;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(Jb)}const Le=0,_=1,P=2,xe=3,nn=4,ht=5,rn=6,Xr=7,be=8,vt=9,Jr=10,W=11,gs=12,vg=13,eo=14,Pe=15,ms=16,to=17,gn=18,ys=19,Dg=20,er=21,Zi=22,Er=23,Z=25,Xl=1,mn=7,no=9,$e=10;var ro=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e[e.HasChildViewsToRefresh=4]="HasChildViewsToRefresh",e}(ro||{});function lt(e){return Array.isArray(e)&&"object"==typeof e[Xl]}function ot(e){return Array.isArray(e)&&!0===e[Xl]}function Jl(e){return 0!=(4&e.flags)}function _r(e){return e.componentOffset>-1}function Yi(e){return 1==(1&e.flags)}function on(e){return!!e.template}function eu(e){return 0!=(512&e[P])}function Ir(e,t){return e.hasOwnProperty(Fn)?e[Fn]:null}class sS{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Ds(){return _g}function _g(e){return e.type.prototype.ngOnChanges&&(e.setInput=aS),iS}function iS(){const e=bg(this),t=e?.current;if(t){const n=e.previous;if(n===pn)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function aS(e,t,n,r){const o=this.declaredInputs[n],s=bg(e)||function cS(e,t){return e[Ig]=t}(e,{previous:pn,current:null}),i=s.current||(s.current={}),a=s.previous,c=a[o];i[o]=new sS(c&&c.currentValue,t,a===pn),e[r]=t}Ds.ngInherit=!0;const Ig="__ngSimpleChanges__";function bg(e){return e[Ig]||null}const yn=function(e,t,n){};function Se(e){for(;Array.isArray(e);)e=e[Le];return e}function Dt(e,t){return Se(t[e.index])}function Cs(e,t){return e.data[t]}function oo(e,t){return e[t]}function Lt(e,t){const n=t[e];return lt(n)?n:n[Le]}function su(e){return 128==(128&e[P])}function vn(e,t){return null==t?null:e[t]}function Tg(e){e[to]=0}function hS(e){1024&e[P]||(e[P]|=1024,su(e)&&Ki(e))}function Ag(e){return 9216&e[P]||e[Er]?.dirty}function xg(e){Ag(e)&&Ki(e)}function Ki(e){let t=e[xe];for(;null!==t&&!(ot(t)&&t[P]&ro.HasChildViewsToRefresh||lt(t)&&8192&t[P]);){if(ot(t))t[P]|=ro.HasChildViewsToRefresh;else if(t[P]|=8192,!su(t))break;t=t[xe]}}const z={lFrame:$g(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Rg(){return z.bindingsEnabled}function so(){return null!==z.skipHydrationRootTNode}function D(){return z.lFrame.lView}function oe(){return z.lFrame.tView}function Es(e){return z.lFrame.contextLView=e,e[be]}function _s(e){return z.lFrame.contextLView=null,e}function Ce(){let e=Pg();for(;null!==e&&64===e.type;)e=e.parent;return e}function Pg(){return z.lFrame.currentTNode}function Dn(e,t){const n=z.lFrame;n.currentTNode=e,n.isParent=t}function au(){return z.lFrame.isParent}function cu(){z.lFrame.isParent=!1}function wt(){const e=z.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function IS(e,t){const n=z.lFrame;n.bindingIndex=n.bindingRootIndex=e,lu(t)}function lu(e){z.lFrame.currentDirectiveIndex=e}function Vg(){return z.lFrame.currentQueryIndex}function du(e){z.lFrame.currentQueryIndex=e}function SS(e){const t=e[_];return 2===t.type?t.declTNode:1===t.type?e[ht]:null}function jg(e,t,n){if(n&re.SkipSelf){let o=t,s=e;for(;!(o=o.parent,null!==o||n&re.Host||(o=SS(s),null===o||(s=s[eo],10&o.type))););if(null===o)return!1;t=o,e=s}const r=z.lFrame=Hg();return r.currentTNode=t,r.lView=e,!0}function fu(e){const t=Hg(),n=e[_];z.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Hg(){const e=z.lFrame,t=null===e?null:e.child;return null===t?$g(e):t}function $g(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function Bg(){const e=z.lFrame;return z.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Ug=Bg;function hu(){const e=Bg();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function pt(){return z.lFrame.selectedIndex}function br(e){z.lFrame.selectedIndex=e}let Gg=!0;function Ji(){return Gg}function tr(e){Gg=e}function ea(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[c]<0&&(e[to]+=65536),(a>14>16&&(3&e[P])===t&&(e[P]+=16384,Wg(a,s)):Wg(a,s)}const io=-1;class bs{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function mu(e){return e!==io}function Ss(e){return 32767&e}function Ms(e,t){let n=function VS(e){return e>>16}(e),r=t;for(;n>0;)r=r[eo],n--;return r}let yu=!0;function ra(e){const t=yu;return yu=e,t}const Zg=255,Qg=5;let jS=0;const Cn={};function oa(e,t){const n=Yg(e,t);if(-1!==n)return n;const r=t[_];r.firstCreatePass&&(e.injectorIndex=t.length,vu(r.data,e),vu(t,null),vu(r.blueprint,null));const o=sa(e,t),s=e.injectorIndex;if(mu(o)){const i=Ss(o),a=Ms(o,t),c=a[_].data;for(let l=0;l<8;l++)t[s+l]=a[i+l]|c[i+l]}return t[s+8]=o,s}function vu(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Yg(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function sa(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){if(r=rm(o),null===r)return io;if(n++,o=o[eo],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return io}function Du(e,t,n){!function HS(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(ds)&&(r=n[ds]),null==r&&(r=n[ds]=jS++);const o=r&Zg;t.data[e+(o>>Qg)]|=1<=0?t&Zg:zS:t}(n);if("function"==typeof s){if(!jg(t,e,r))return r&re.Host?Kg(o,0,r):Xg(t,n,r,o);try{let i;if(i=s(r),null!=i||r&re.Optional)return i;$l()}finally{Ug()}}else if("number"==typeof s){let i=null,a=Yg(e,t),c=io,l=r&re.Host?t[Pe][ht]:null;for((-1===a||r&re.SkipSelf)&&(c=-1===a?sa(e,t):t[a+8],c!==io&&nm(r,!1)?(i=t[_],a=Ss(c),t=Ms(c,t)):a=-1);-1!==a;){const u=t[_];if(tm(s,a,u.data)){const d=BS(a,t,n,i,r,l);if(d!==Cn)return d}c=t[a+8],c!==io&&nm(r,t[_].data[a+8]===l)&&tm(s,a,t)?(i=u,a=Ss(c),t=Ms(c,t)):a=-1}}return o}function BS(e,t,n,r,o,s){const i=t[_],a=i.data[e+8],u=ia(a,i,n,null==r?_r(a)&&yu:r!=i&&0!=(3&a.type),o&re.Host&&s===a);return null!==u?Sr(t,i,u,a):Cn}function ia(e,t,n,r,o){const s=e.providerIndexes,i=t.data,a=1048575&s,c=e.directiveStart,u=s>>20,f=o?a+u:e.directiveEnd;for(let h=r?a:a+u;h=c&&p.type===n)return h}if(o){const h=i[c];if(h&&on(h)&&h.type===n)return c}return null}function Sr(e,t,n,r){let o=e[n];const s=t.data;if(function PS(e){return e instanceof bs}(o)){const i=o;i.resolving&&function bb(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new T(-200,`Circular dependency in DI detected for ${e}${n}`)}(function de(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():q(e)}(s[n]));const a=ra(i.canSeeViewProviders);i.resolving=!0;const l=i.injectImpl?Tt(i.injectImpl):null;jg(e,r,re.Default);try{o=e[n]=i.factory(void 0,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&function OS(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:s}=t.type.prototype;if(r){const i=_g(t);(n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i)}o&&(n.preOrderHooks??=[]).push(0-e,o),s&&((n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s))}(n,s[n],t)}finally{null!==l&&Tt(l),ra(a),i.resolving=!1,Ug()}}return o}function tm(e,t,n){return!!(n[t+(e>>Qg)]&1<{const r=function Eu(e){return function(...n){if(e){const r=e(...n);for(const o in r)this[o]=r[o]}}}(t);function o(...s){if(this instanceof o)return r.apply(this,s),this;const i=new o(...s);return a.annotation=i,a;function a(c,l,u){const d=c.hasOwnProperty(uo)?c[uo]:Object.defineProperty(c,uo,{value:[]})[uo];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(i),c}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}function go(e,t){e.forEach(n=>Array.isArray(n)?go(n,t):t(n))}function sm(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function aa(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Ns(e,t){const n=[];for(let r=0;r{n.push(i)};return go(t,i=>{const a=i;da(a,s,[],r)&&(o||=[],o.push(a))}),void 0!==o&&pm(o,s),n}function pm(e,t){for(let n=0;n{t(s,r)})}}function da(e,t,n,r){if(!(e=H(e)))return!1;let o=null,s=Bi(e);const i=!s&&J(e);if(s||i){if(i&&!i.standalone)return!1;o=e}else{const c=e.ngModule;if(s=Bi(c),!s)return!1;o=c}const a=r.has(o);if(i){if(a)return!1;if(r.add(o),i.dependencies){const c="function"==typeof i.dependencies?i.dependencies():i.dependencies;for(const l of c)da(l,t,n,r)}}else{if(!s)return!1;{if(null!=s.imports&&!a){let l;r.add(o);try{go(s.imports,u=>{da(u,t,n,r)&&(l||=[],l.push(u))})}finally{}void 0!==l&&pm(l,t)}if(!a){const l=Ir(o)||(()=>new o);t({provide:o,useFactory:l,deps:le},o),t({provide:Nu,useValue:o,multi:!0},o),t({provide:xs,useValue:()=>ie(o),multi:!0},o)}const c=s.providers;if(null!=c&&!a){const l=e;Au(c,u=>{t(u,l)})}}}return o!==e&&void 0!==e.providers}function Au(e,t){for(let n of e)Vl(n)&&(n=n.\u0275providers),Array.isArray(n)?Au(n,t):t(n)}const gM=De({provide:String,useValue:De});function xu(e){return null!==e&&"object"==typeof e&&gM in e}function Mr(e){return"function"==typeof e}const Ou=new U("Set Injector scope."),fa={},yM={};let Ru;function ha(){return void 0===Ru&&(Ru=new ua),Ru}class jn{}class vo extends jn{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Fu(t,i=>this.processProvider(i)),this.records.set(dm,Do(void 0,this)),o.has("environment")&&this.records.set(jn,Do(void 0,this));const s=this.records.get(Ou);null!=s&&"string"==typeof s.value&&this.scopes.add(s.value),this.injectorDefTypes=new Set(this.get(Nu,le,re.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const n of t)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=Jn(this),r=Tt(void 0);try{return t()}finally{Jn(n),Tt(r)}}get(t,n=fs,r=re.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Jp))return t[Jp](this);r=Gi(r);const s=Jn(this),i=Tt(void 0);try{if(!(r&re.SkipSelf)){let c=this.records.get(t);if(void 0===c){const l=function EM(e){return"function"==typeof e||"object"==typeof e&&e instanceof U}(t)&&$i(t);c=l&&this.injectableDefInScope(l)?Do(Pu(t),fa):null,this.records.set(t,c)}if(null!=c)return this.hydrate(t,c)}return(r&re.Self?ha():this.parent).get(t,n=r&re.Optional&&n===fs?null:n)}catch(a){if("NullInjectorError"===a.name){if((a[zi]=a[zi]||[]).unshift(Ge(t)),s)throw a;return function jb(e,t,n,r){const o=e[zi];throw t[sg]&&o.unshift(t[sg]),e.message=function Hb(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=Ge(t);if(Array.isArray(t))o=t.map(Ge).join(" -> ");else if("object"==typeof t){let s=[];for(let i in t)if(t.hasOwnProperty(i)){let a=t[i];s.push(i+":"+("string"==typeof a?JSON.stringify(a):Ge(a)))}o=`{${s.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Pb,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[zi]=null,e}(a,t,"R3InjectorError",this.source)}throw a}finally{Tt(i),Jn(s)}}resolveInjectorInitializers(){const t=Jn(this),n=Tt(void 0);try{const o=this.get(xs,le,re.Self);for(const s of o)s()}finally{Jn(t),Tt(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(Ge(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new T(205,!1)}processProvider(t){let n=Mr(t=H(t))?t:H(t&&t.provide);const r=function DM(e){return xu(e)?Do(void 0,e.useValue):Do(function ym(e,t,n){let r;if(Mr(e)){const o=H(e);return Ir(o)||Pu(o)}if(xu(e))r=()=>H(e.useValue);else if(function mm(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Ql(e.deps||[]));else if(function gm(e){return!(!e||!e.useExisting)}(e))r=()=>ie(H(e.useExisting));else{const o=H(e&&(e.useClass||e.provide));if(!function wM(e){return!!e.deps}(e))return Ir(o)||Pu(o);r=()=>new o(...Ql(e.deps))}return r}(e),fa)}(t);if(Mr(t)||!0!==t.multi)this.records.get(n);else{let o=this.records.get(n);o||(o=Do(void 0,fa,!0),o.factory=()=>Ql(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===fa&&(n.value=yM,n.value=n.factory()),"object"==typeof n.value&&n.value&&function CM(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=H(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function Pu(e){const t=$i(e),n=null!==t?t.factory:Ir(e);if(null!==n)return n;if(e instanceof U)throw new T(204,!1);if(e instanceof Function)return function vM(e){const t=e.length;if(t>0)throw Ns(t,"?"),new T(204,!1);const n=function Ab(e){return e&&(e[Ui]||e[tg])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new T(204,!1)}function Do(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Fu(e,t){for(const n of e)Array.isArray(n)?Fu(n,t):n&&Vl(n)?Fu(n.\u0275providers,t):t(n)}function Cm(e,t=null,n=null,r){const o=Em(e,t,n,r);return o.resolveInjectorInitializers(),o}function Em(e,t=null,n=null,r,o=new Set){const s=[n||le,pM(e)];return r=r||("object"==typeof e?void 0:Ge(e)),new vo(s,t||ha(),r||null,o)}let Vu,sn=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=fs;static#t=this.NULL=new ua;static create(n,r){if(Array.isArray(n))return Cm({name:""},r,n,"");{const o=n.name??"";return Cm({name:o},n.parent,n.providers,o)}}static#n=this.\u0275prov=fe({token:e,providedIn:"any",factory:()=>ie(dm)});static#r=this.__NG_ELEMENT_ID__=-1}return e})();const ga=new U("AppId",{providedIn:"root",factory:()=>xM}),xM="ng",Im=new U("Platform Initializer"),wo=new U("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),bm=new U("CSP nonce",{providedIn:"root",factory:()=>function nr(){if(void 0!==Vu)return Vu;if(typeof document<"u")return document;throw new T(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function Da(e){return 128==(128&e.flags)}var sr=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(sr||{});const Uu=new Map;let zM=0;const Gu="__ngContext__";function gt(e,t){lt(t)?(e[Gu]=t[ys],function qM(e){Uu.set(e[ys],e)}(t)):e[Gu]=t}let qu;function Wu(e,t){return qu(e,t)}function ks(e){const t=e[xe];return ot(t)?t[xe]:t}function Um(e){return Gm(e[gs])}function zm(e){return Gm(e[nn])}function Gm(e){for(;null!==e&&!ot(e);)e=e[nn];return e}function Eo(e,t,n,r,o){if(null!=r){let s,i=!1;ot(r)?s=r:lt(r)&&(i=!0,r=r[Le]);const a=Se(r);0===e&&null!==n?null==o?Qm(t,n,a):Nr(t,n,a,o||null,!0):1===e&&null!==n?Nr(t,n,a,o||null,!0):2===e?function Sa(e,t,n){const r=Ia(e,t);r&&function f0(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,a,i):3===e&&t.destroyNode(a),null!=s&&function g0(e,t,n,r,o){const s=n[mn];s!==Se(n)&&Eo(t,e,r,s,o);for(let a=$e;a0&&(e[n-1][nn]=r[nn]);const s=aa(e,$e+t);!function r0(e,t){js(e,t,t[W],2,null,null),t[Le]=null,t[ht]=null}(r[_],r);const i=s[gn];null!==i&&i.detachView(s[_]),r[xe]=null,r[nn]=null,r[P]&=-129}return r}function _a(e,t){if(!(256&t[P])){const n=t[W];n.destroyNode&&js(e,t,n,3,null,null),function a0(e){let t=e[gs];if(!t)return Qu(e[_],e);for(;t;){let n=null;if(lt(t))n=t[gs];else{const r=t[$e];r&&(n=r)}if(!n){for(;t&&!t[nn]&&t!==e;)lt(t)&&Qu(t[_],t),t=t[xe];null===t&&(t=e),lt(t)&&Qu(t[_],t),n=t&&t[nn]}t=n}}(t)}}function Qu(e,t){if(!(256&t[P])){t[P]&=-129,t[P]|=256,t[Er]&&function hp(e){if(Zr(e),cs(e))for(let t=0;t=0?r[i]():r[-i].unsubscribe(),s+=2}else n[s].call(r[n[s+1]]);null!==r&&(t[Xr]=null);const o=t[er];if(null!==o){t[er]=null;for(let s=0;s-1){const{encapsulation:s}=e.data[r.directiveStart+o];if(s===en.None||s===en.Emulated)return null}return Dt(r,n)}}(e,t.parent,n)}function Nr(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Qm(e,t,n){e.appendChild(t,n)}function Ym(e,t,n,r,o){null!==r?Nr(e,t,n,r,o):Qm(e,t,n)}function Ia(e,t){return e.parentNode(t)}function Km(e,t,n){return Jm(e,t,n)}let Ku,Jm=function Xm(e,t,n){return 40&e.type?Dt(e,n):null};function ba(e,t,n,r){const o=Yu(e,r,t),s=t[W],a=Km(r.parent||t[ht],r,t);if(null!=o)if(Array.isArray(n))for(let c=0;cnull;function hd(e,t,n=!1){return vy(e,t,n)}class X0{}class Cy{}class eT{resolveComponentFactory(t){throw function J0(e){const t=Error(`No component factory found for ${Ge(e)}.`);return t.ngComponent=e,t}(t)}}let Fa=(()=>{class e{static#e=this.NULL=new eT}return e})();function tT(){return Mo(Ce(),D())}function Mo(e,t){return new Ar(Dt(e,t))}let Ar=(()=>{class e{constructor(n){this.nativeElement=n}static#e=this.__NG_ELEMENT_ID__=tT}return e})();function nT(e){return e instanceof Ar?e.nativeElement:e}class _y{}let Iy=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function rT(){const e=D(),n=Lt(Ce().index,e);return(lt(n)?n:e)[W]}()}return e})(),oT=(()=>{class e{static#e=this.\u0275prov=fe({token:e,providedIn:"root",factory:()=>null})}return e})();class md{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const sT=new md("17.0.7"),yd={};function by(e){const t=ke(null);try{return e()}finally{ke(t)}}function ka(e){return!!vd(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function vd(e){return null!==e&&("function"==typeof e||"object"==typeof e)}class Sy{constructor(){}supports(t){return ka(t)}create(t){return new uT(t)}}const lT=(e,t)=>t;class uT{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||lT}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,s=null;for(;n||r;){const i=!r||n&&n.currentIndex{i=this._trackByFn(o,a),null!==n&&Object.is(n.trackById,i)?(r&&(n=this._verifyReinsertion(n,a,i,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,i,o),r=!0),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let s;return null===t?s=this._itTail:(s=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,s,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,s,o)):t=this._addAfter(new dT(n,r),s,o),t}_verifyReinsertion(t,n,r,o){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==s?t=this._reinsertAfter(s,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const o=t._prevRemoved,s=t._nextRemoved;return null===o?this._removalsHead=s:o._nextRemoved=s,null===s?this._removalsTail=o:s._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const o=null===n?this._itHead:n._next;return t._next=o,t._prev=n,null===o?this._itTail=t:o._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new My),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new My),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class dT{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class fT{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class My{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new fT,this.map.set(n,r)),r.add(t)}get(t,n){const o=this.map.get(t);return o?o.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Ty(e,t,n){const r=e.previousIndex;if(null===r)return r;let o=0;return n&&r{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const s=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,s)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const o=this._records.get(t);this._maybeAddToChanges(o,n);const s=o._prev,i=o._next;return s&&(s._next=i),i&&(i._prev=s),o._next=null,o._prev=null,o}const r=new pT(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}}class pT{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function Ay(){return new La([new Sy])}let La=(()=>{class e{static#e=this.\u0275prov=fe({token:e,providedIn:"root",factory:Ay});constructor(n){this.factories=n}static create(n,r){if(null!=r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Ay()),deps:[[e,new Mu,new Su]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(null!=r)return r;throw new T(901,!1)}}return e})();function xy(){return new Gs([new Ny])}let Gs=(()=>{class e{static#e=this.\u0275prov=fe({token:e,providedIn:"root",factory:xy});constructor(n){this.factories=n}static create(n,r){if(r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||xy()),deps:[[e,new Mu,new Su]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(r)return r;throw new T(901,!1)}}return e})();function qs(e,t,n,r,o=!1){for(;null!==n;){const s=t[n.index];null!==s&&r.push(Se(s)),ot(s)&&Oy(s,r);const i=n.type;if(8&i)qs(e,t,n.child,r);else if(32&i){const a=Wu(n,t);let c;for(;c=a();)r.push(c)}else if(16&i){const a=ty(t,n);if(Array.isArray(a))r.push(...a);else{const c=ks(t[Pe]);qs(c[_],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Oy(e,t){for(let n=$e;n!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{},consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Ki(e.lView)},consumerOnSignalRead(){this.lView[Er]=this}};function Dd(e){return e.ngOriginalError}class $n{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Dd(t);for(;n&&Dd(n);)n=Dd(n);return n||null}}const Fy=new U("",{providedIn:"root",factory:()=>me($n).handleError.bind(void 0)}),Ly=new U("",{providedIn:"root",factory:()=>!1}),Y={};function mt(e){$y(oe(),D(),pt()+e,!1)}function $y(e,t,n,r){if(!r)if(3==(3&t[P])){const s=e.preOrderCheckHooks;null!==s&&ta(t,s,n)}else{const s=e.preOrderHooks;null!==s&&na(t,s,0,n)}br(n)}function K(e,t=re.Default){const n=D();return null===n?ie(e,t):Jg(Ce(),n,H(e),t)}function ja(e,t,n,r,o,s,i,a,c,l,u){const d=t.blueprint.slice();return d[Le]=o,d[P]=140|r,(null!==l||e&&2048&e[P])&&(d[P]|=2048),Tg(d),d[xe]=d[eo]=e,d[be]=n,d[Jr]=i||e&&e[Jr],d[W]=a||e&&e[W],d[vt]=c||e&&e[vt]||null,d[ht]=s,d[ys]=function GM(){return zM++}(),d[rn]=u,d[Dg]=l,d[Pe]=2==t.type?e[Pe]:d,d}function To(e,t,n,r,o){let s=e.data[t];if(null===s)s=function wd(e,t,n,r,o){const s=Pg(),i=au(),c=e.data[t]=function RT(e,t,n,r,o,s){let i=t?t.injectorIndex:-1,a=0;return so()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:i,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:s,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,i?s:s&&s.parent,n,t,r,o);return null===e.firstChild&&(e.firstChild=c),null!==s&&(i?null==s.child&&null!==c.parent&&(s.child=c):null===s.next&&(s.next=c,c.prev=s)),c}(e,t,n,r,o),function _S(){return z.lFrame.inI18n}()&&(s.flags|=32);else if(64&s.type){s.type=n,s.value=r,s.attrs=o;const i=function Is(){const e=z.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();s.injectorIndex=null===i?-1:i.injectorIndex}return Dn(s,!0),s}function Ws(e,t,n,r){if(0===n)return-1;const o=t.length;for(let s=0;sZ&&$y(e,t,Z,!1),yn(i?2:0,o),n(r,o)}finally{br(s),yn(i?3:1,o)}}function Cd(e,t,n){if(Jl(t)){const r=ke(null);try{const s=t.directiveEnd;for(let i=t.directiveStart;inull;function Gy(e,t,n,r){for(let o in e)if(e.hasOwnProperty(o)){n=null===n?{}:n;const s=e[o];null===r?qy(n,t,o,s):r.hasOwnProperty(o)&&qy(n,t,r[o],s)}return n}function qy(e,t,n,r){e.hasOwnProperty(n)?e[n].push(t,r):e[n]=[t,r]}function bd(e,t,n,r){if(Rg()){const o=null===r?null:{"":-1},s=function BT(e,t){const n=e.directiveRegistry;let r=null,o=null;if(n)for(let s=0;s0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(i)!=a&&i.push(a),i.push(n,r,s)}}(e,t,r,Ws(e,n,o.hostVars,Y),o)}function ZT(e,t,n,r,o,s){const i=s[t];if(null!==i)for(let a=0;ae.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}(a,i),function vT(e){e.lView[Er]!==e&&(e.lView=null,Ry.push(e))}(a)),hu()}}function tv(e,t){for(let n=Um(e);null!==n;n=zm(n)){n[P]&=~ro.HasChildViewsToRefresh;for(let r=$e;r-1&&(Ls(t,r),aa(n,r))}this._attachedToViewContainer=!1}_a(this._lView[_],this._lView)}onDestroy(t){!function Xi(e,t){if(256==(256&e[P]))throw new T(911,!1);null===e[er]&&(e[er]=[]),e[er].push(t)}(this._lView,t)}markForCheck(){Zs(this._cdRefInjectingView||this._lView)}detach(){this._lView[P]&=-129}reattach(){xg(this._lView),this._lView[P]|=128}detectChanges(){this._lView[P]|=1024,function Ad(e,t=!0){const n=e[Jr],r=n.rendererFactory,o=n.afterRenderEventManager;r.begin?.(),o?.begin();try{!function KT(e){xd(e,0);let t=0;for(;Ag(e);){if(100===t)throw new T(103,!1);t++,xd(e,1)}}(e)}catch(i){throw t&&$a(e,i),i}finally{r.end?.(),n.inlineEffectRunner?.flush(),o?.end()}}(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new T(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function s0(e,t){js(e,t,t[W],2,null,null)}(this._lView[_],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new T(902,!1);this._appRef=t}}let Od=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=nN}return e})();function nN(e){return function rN(e,t,n){if(_r(e)&&!n){const r=Lt(e.index,t);return new Qs(r,r)}return 47&e.type?new Qs(t[Pe],t):null}(Ce(),D(),16==(16&e))}function Pd(e){return t=>{setTimeout(e,void 0,t)}}const $t=class hN extends Vi{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let o=t,s=n||(()=>null),i=r;if(t&&"object"==typeof t){const c=t;o=c.next?.bind(c),s=c.error?.bind(c),i=c.complete?.bind(c)}this.__isAsync&&(s=Pd(s),o&&(o=Pd(o)),i&&(i=Pd(i)));const a=super.subscribe({next:o,error:s,complete:i});return t instanceof hn&&t.add(a),a}};function sv(...e){}class Me{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new $t(!1),this.onMicrotaskEmpty=new $t(!1),this.onStable=new $t(!1),this.onError=new $t(!1),typeof Zone>"u")throw new T(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function pN(){const e="function"==typeof Ie.requestAnimationFrame;let t=Ie[e?"requestAnimationFrame":"setTimeout"],n=Ie[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);const o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function yN(e){const t=()=>{!function mN(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Ie,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,kd(e),e.isCheckStableRunning=!0,Fd(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),kd(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,s,i,a)=>{if(function DN(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(a))return n.invokeTask(o,s,i,a);try{return iv(e),n.invokeTask(o,s,i,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&t(),av(e)}},onInvoke:(n,r,o,s,i,a,c)=>{try{return iv(e),n.invoke(o,s,i,a,c)}finally{e.shouldCoalesceRunChangeDetection&&t(),av(e)}},onHasTask:(n,r,o,s)=>{n.hasTask(o,s),r===o&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,kd(e),Fd(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(n,r,o,s)=>(n.handleError(o,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Me.isInAngularZone())throw new T(909,!1)}static assertNotInAngularZone(){if(Me.isInAngularZone())throw new T(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){const s=this._inner,i=s.scheduleEventTask("NgZoneEvent: "+o,t,gN,sv,sv);try{return s.runTask(i,n,r)}finally{s.cancelTask(i)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const gN={};function Fd(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function kd(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function iv(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function av(e){e._nesting--,Fd(e)}class vN{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new $t,this.onMicrotaskEmpty=new $t,this.onStable=new $t,this.onError=new $t}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}}const cv=new U("",{providedIn:"root",factory:lv});function lv(){const e=me(Me);let t=!0;return yb(new St(o=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{o.next(t),o.complete()})}),new St(o=>{let s;e.runOutsideAngular(()=>{s=e.onStable.subscribe(()=>{Me.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,o.next(!0))})})});const i=e.onUnstable.subscribe(()=>{Me.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{o.next(!1)}))});return()=>{s.unsubscribe(),i.unsubscribe()}}).pipe(function Db(e={}){const{connector:t=(()=>new Vi),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return s=>{let i,a,c,l=0,u=!1,d=!1;const f=()=>{a?.unsubscribe(),a=void 0},h=()=>{f(),i=c=void 0,u=d=!1},p=()=>{const g=i;h(),g?.unsubscribe()};return vr((g,y)=>{l++,!d&&!u&&f();const v=c=c??t();y.add(()=>{l--,0===l&&!d&&!u&&(a=Fl(p,o))}),v.subscribe(y),!i&&l>0&&(i=new ls({next:m=>v.next(m),error:m=>{d=!0,f(),a=Fl(h,n,m),v.error(m)},complete:()=>{u=!0,f(),a=Fl(h,r),v.complete()}}),Pn(g).subscribe(i))})(s)}}()))}let Ba=(()=>{class e{constructor(){this.renderDepth=0,this.handler=null,this.internalCallbacks=[]}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){if(this.renderDepth--,0===this.renderDepth){for(const n of this.internalCallbacks)n();this.internalCallbacks.length=0,this.handler?.execute()}}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=fe({token:e,providedIn:"root",factory:()=>new e})}return e})();function _N(e,t){const n=Lt(t,e),r=n[_];!function IN(e,t){for(let n=t.length;n0&&oy(e,n,s.join(" "))}}(d,b,h,r),void 0!==n&&function PN(e,t,n){const r=e.projection=[];for(let o=0;o0&&(n[o-1][nn]=t),r{class e{static#e=this.__NG_ELEMENT_ID__=WA}return e})();function WA(){return oD(Ce(),D())}const ZA=Sn,nD=class extends ZA{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Mo(this._hostTNode,this._hostLView)}get injector(){return new Ke(this._hostTNode,this._hostLView)}get parentInjector(){const t=sa(this._hostTNode,this._hostLView);if(mu(t)){const n=Ms(t,this._hostLView),r=Ss(t);return new Ke(n[_].data[r+8],n)}return new Ke(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=rD(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-$e}createEmbeddedView(t,n,r){let o,s;"number"==typeof r?o=r:null!=r&&(o=r.index,s=r.injector);const a=t.createEmbeddedViewImpl(n||{},s,null);return this.insertImpl(a,o,Ho(this._hostTNode,null)),a}createComponent(t,n,r,o,s){const i=t&&!function Ts(e){return"function"==typeof e}(t);let a;if(i)a=n;else{const p=n||{};a=p.index,r=p.injector,o=p.projectableNodes,s=p.environmentInjector||p.ngModuleRef}const c=i?t:new Ys(J(t)),l=r||this.parentInjector;if(!s&&null==c.ngModule){const g=(i?l:this.parentInjector).get(jn,null);g&&(s=g)}J(c.componentType??{});const h=c.create(l,o,null,s);return this.insertImpl(h.hostView,a,Ho(this._hostTNode,null)),h}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){const o=t._lView;if(function fS(e){return ot(e[xe])}(o)){const a=this.indexOf(t);if(-1!==a)this.detach(a);else{const c=o[xe],l=new nD(c,c[ht],c[xe]);l.detach(l.indexOf(t))}}const s=this._adjustIndex(n),i=this._lContainer;return oi(i,o,s,r),t.attachToViewContainerRef(),sm(Kd(i),s,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=rD(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=Ls(this._lContainer,n);r&&(aa(Kd(this._lContainer),n),_a(r[_],r))}detach(t){const n=this._adjustIndex(t,-1),r=Ls(this._lContainer,n);return r&&null!=aa(Kd(this._lContainer),n)?new Qs(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function rD(e){return e[8]}function Kd(e){return e[8]||(e[8]=[])}function oD(e,t){let n;const r=t[e.index];return ot(r)?n=r:(n=Yy(r,t,null,e),t[e.index]=n,Ha(t,n)),sD(n,t,e,r),new nD(n,e,t)}let sD=function aD(e,t,n,r){if(e[mn])return;let o;o=8&n.type?Se(r):function QA(e,t){const n=e[W],r=n.createComment(""),o=Dt(t,e);return Nr(n,Ia(n,o),r,function h0(e,t){return e.nextSibling(t)}(n,o),!1),r}(t,n),e[mn]=o},Xd=(e,t,n)=>!1;function Ot(e,t,n,r,o,s,i,a){const c=D(),l=oe(),u=e+Z,d=l.firstCreatePass?function JA(e,t,n,r,o,s,i,a,c){const l=t.consts,u=To(t,e,4,i||null,vn(l,a));bd(t,n,u,vn(l,c)),ea(t,u);const d=u.tView=Id(2,u,r,o,s,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l,null);return null!==t.queries&&(t.queries.template(t,u),d.queries=t.queries.embeddedTView(u)),u}(u,l,c,t,n,r,o,s,i):l.data[u];Dn(d,!1);const f=cD(l,c,d,e);Ji()&&ba(l,c,f,d),gt(f,c);const h=Yy(f,c,f,d);return c[u]=h,Ha(c,h),function iD(e,t,n){return Xd(e,t,n)}(h,d,c),Yi(d)&&Ed(l,c,d),null!=i&&_d(c,d,a),Ot}let cD=function lD(e,t,n,r){return tr(!0),t[W].createComment("")};function Ue(e,t,n,r){const o=D(),s=oe(),i=Z+e,a=o[W],c=s.firstCreatePass?function Bx(e,t,n,r,o,s){const i=t.consts,c=To(t,e,2,r,vn(i,o));return bd(t,n,c,vn(i,s)),null!==c.attrs&&Ua(c,c.attrs,!1),null!==c.mergedAttrs&&Ua(c,c.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,c),c}(i,s,o,t,n,r):s.data[i],l=OD(s,o,c,a,t,e);o[i]=l;const u=Yi(c);return Dn(c,!0),sy(a,l,c),32!=(32&c.flags)&&Ji()&&ba(s,o,l,c),0===function pS(){return z.lFrame.elementDepthCount}()&>(l,o),function gS(){z.lFrame.elementDepthCount++}(),u&&(Ed(s,o,c),Cd(s,c,o)),null!==r&&_d(o,c),Ue}function tt(){let e=Ce();au()?cu():(e=e.parent,Dn(e,!1));const t=e;(function yS(e){return z.skipHydrationRootTNode===e})(t)&&function CS(){z.skipHydrationRootTNode=null}(),function mS(){z.lFrame.elementDepthCount--}();const n=oe();return n.firstCreatePass&&(ea(n,e),Jl(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function kS(e){return 0!=(8&e.flags)}(t)&&$d(n,t,D(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function LS(e){return 0!=(16&e.flags)}(t)&&$d(n,t,D(),t.stylesWithoutHost,!1),tt}function rc(e,t,n,r){return Ue(e,t,n,r),tt(),rc}let OD=(e,t,n,r,o,s)=>(tr(!0),Ea(r,o,function zg(){return z.lFrame.currentNamespace}()));function ff(){return D()}const Zo="en-US";let jD=Zo;function gf(e){return!!e&&"function"==typeof e.then}function uw(e){return!!e&&"function"==typeof e.subscribe}function Lr(e,t,n,r){const o=D(),s=oe(),i=Ce();return function fw(e,t,n,r,o,s,i){const a=Yi(r),l=e.firstCreatePass&&Jy(e),u=t[be],d=Xy(t);let f=!0;if(3&r.type||i){const g=Dt(r,t),y=i?i(g):g,v=d.length,m=i?w=>i(Se(w[r.index])):r.index;let C=null;if(!i&&a&&(C=function zO(e,t,n,r){const o=e.cleanup;if(null!=o)for(let s=0;sc?a[c]:null}"string"==typeof i&&(s+=2)}return null}(e,t,o,r.index)),null!==C)(C.__ngLastListenerFn__||C).__ngNextListenerFn__=s,C.__ngLastListenerFn__=s,f=!1;else{s=pw(r,t,u,s,!1);const w=n.listen(y,o,s);d.push(s,w),l&&l.push(o,m,v,v+1)}}else s=pw(r,t,u,s,!1);const h=r.outputs;let p;if(f&&null!==h&&(p=h[o])){const g=p.length;if(g)for(let y=0;y-1?Lt(e.index,t):t);let c=hw(t,n,r,i),l=s.__ngNextListenerFn__;for(;l;)c=hw(t,n,l,i)&&c,l=l.__ngNextListenerFn__;return o&&!1===c&&i.preventDefault(),c}}function lr(e=1){return function MS(e){return(z.lFrame.contextLView=function Ng(e,t){for(;e>0;)t=t[eo],e--;return t}(e,z.lFrame.contextLView))[be]}(e)}function GO(e,t){let n=null;const r=function Gb(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(!(1&n))return t[n+1]}return null}(e);for(let o=0;o(tr(!0),function Ca(e,t){return e.createText(t)}(t[W],r));function vf(e,t,n,r,o){const s=D(),i=xo(s,e,t,n,r,o);return i!==Y&&Bn(s,pt(),i),vf}class Vr{}class uR{}class _f extends Vr{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new pv(this);const o=function ft(e,t){const n=e[Xp]||null;if(!n&&!0===t)throw new Error(`Type ${Ge(e)} does not have '\u0275mod' property.`);return n}(t);this._bootstrapComponents=function jt(e){return e instanceof Function?e():e}(o.bootstrap),this._r3Injector=Em(t,n,[{provide:Vr,useValue:this},{provide:Fa,useValue:this.componentFactoryResolver},...r],Ge(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class If extends uR{constructor(t){super(),this.moduleType=t}create(t){return new _f(this.moduleType,t,[])}}function Sf(e,t,n,r){return Jw(D(),wt(),e,t,n,r)}function hi(e,t){const n=e[t];return n===Y?void 0:n}function Jw(e,t,n,r,o,s){const i=t+n;return qe(e,i,o)?_n(e,i+1,s?r.call(s,o):r(o)):hi(e,i+1)}function Mf(e,t){const n=oe();let r;const o=e+Z;n.firstCreatePass?(r=function FR(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];const s=r.factory||(r.factory=Ir(r.type)),a=Tt(K);try{const c=ra(!1),l=s();return ra(c),function qO(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,D(),o,l),l}finally{Tt(a)}}function sC(e,t,n,r){const o=e+Z,s=D(),i=oo(s,o);return pi(s,o)?function eC(e,t,n,r,o,s,i){const a=t+n;return Rr(e,a,o,s)?_n(e,a+2,i?r.call(i,o,s):r(o,s)):hi(e,a+2)}(s,wt(),t,i.transform,n,r,i):i.transform(n,r)}function pi(e,t){return e[_].data[t].pure}function jR(){return this._results[Symbol.iterator]()}class Tf{static#e=Symbol.iterator;get changes(){return this._changes??=new $t}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const n=Tf.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=jR)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;const r=function At(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function KS(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r{class e{static#e=this.__NG_ELEMENT_ID__=BR}return e})();const HR=Un,$R=class extends HR{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){const o=function ri(e,t,n,r){const o=t.tView,a=ja(e,o,n,4096&e[P]?4096:16,null,t,null,null,null,r?.injector??null,r?.dehydratedView??null);a[ms]=e[t.index];const l=e[gn];return null!==l&&(a[gn]=l.createEmbeddedView(o)),Ld(o,a,n),a}(this._declarationLView,this._declarationTContainer,t,{injector:n,dehydratedView:r});return new Qs(o)}};function BR(){return uc(Ce(),D())}function uc(e,t){return 4&e.type?new $R(t,e,Mo(e,t)):null}class Nf{constructor(t){this.queryList=t,this.matches=null}clone(){return new Nf(this.queryList)}setDirty(){this.queryList.setDirty()}}class Af{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,o=[];for(let s=0;s0)r.push(i[a/2]);else{const l=s[a+1],u=t[-c];for(let d=$e;d{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Yp(!1)}add(){this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=fe({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const AC=new U(""),mc=new U("");let $f,jf=(()=>{class e{constructor(n,r,o){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,$f||(function GP(e){$f=e}(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Me.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let s=-1;r&&r>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(i=>i.timeoutId!==s),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:o})}whenStable(n,r,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}static#e=this.\u0275fac=function(r){return new(r||e)(ie(Me),ie(Hf),ie(mc))};static#t=this.\u0275prov=fe({token:e,factory:e.\u0275fac})}return e})(),Hf=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return $f?.findTestabilityInTree(this,n,r)??null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=fe({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const qP=new U("Application Initializer");let Bf=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=me(qP,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const o of this.appInits){const s=o();if(gf(s))n.push(s);else if(uw(s)){const i=new Promise((a,c)=>{s.subscribe({complete:a,error:c})});n.push(i)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=fe({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const xC=new U("appBootstrapListener");function PC(e,t){return Array.isArray(t)?t.reduce(PC,e):{...e,...t}}let yi=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=me(Fy),this.zoneIsStable=me(cv),this.componentTypes=[],this.components=[],this.isStable=me(DP).hasPendingTasks.pipe(function wb(e,t){return vr((n,r)=>{let o=null,s=0,i=!1;const a=()=>i&&!o&&r.complete();n.subscribe(Dr(r,c=>{o?.unsubscribe();let l=0;const u=s++;Pn(e(c,u)).subscribe(o=Dr(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{i=!0,a()}))})}(n=>n?function vb(...e){return Qp(e,Gp(e))}(!1):this.zoneIsStable),function Cb(e,t=Nl){return e=e??Eb,vr((n,r)=>{let o,s=!0;n.subscribe(Dr(r,i=>{const a=t(i);(s||!e(o,a))&&(s=!1,o=a,r.next(i))}))})}()),this._injector=me(jn)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const o=n instanceof Cy;if(!this._injector.get(Bf).done)throw!o&&function Cr(e){const t=J(e)||Ye(e)||ct(e);return null!==t&&t.standalone}(n),new T(405,!1);let i;i=o?n:this._injector.get(Fa).resolveComponentFactory(n),this.componentTypes.push(i.componentType);const a=function ZP(e){return e.isBoundToModule}(i)?void 0:this._injector.get(Vr),l=i.create(sn.NULL,[],r||i.selector,a),u=l.location.nativeElement,d=l.injector.get(AC,null);return d?.registerApplication(u),l.onDestroy(()=>{this.detachView(l.hostView),yc(this.components,l),d?.unregisterApplication(u)}),this._loadComponent(l),l}tick(){if(this._runningTick)throw new T(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this.internalErrorHandler(n)}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;yc(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(xC,[]);[...this._bootstrapListeners,...r].forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>yc(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new T(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=fe({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function yc(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let YP=(()=>{class e{constructor(){this.zone=me(Me),this.applicationRef=me(yi)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=fe({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function KP(){const e=me(Me),t=me($n);return n=>e.runOutsideAngular(()=>t.handleError(n))}const zn=new U("LocaleId",{providedIn:"root",factory:()=>me(zn,re.Optional|re.SkipSelf)||function JP(){return typeof $localize<"u"&&$localize.locale||Zo}()}),Uf=new U("PlatformDestroyListeners");let VC=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const o=function wN(e="zone.js",t){return"noop"===e?new vN:"zone.js"===e?new Me(t):e}(r?.ngZone,function LC(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return o.run(()=>{const s=function fR(e,t,n){return new _f(e,t,n)}(n.moduleType,this.injector,function kC(e){return[{provide:Me,useFactory:e},{provide:xs,multi:!0,useFactory:()=>{const t=me(YP,{optional:!0});return()=>t.initialize()}},{provide:Fy,useFactory:KP},{provide:cv,useFactory:lv}]}(()=>o)),i=s.injector.get($n,null);return o.runOutsideAngular(()=>{const a=o.onError.subscribe({next:c=>{i.handleError(c)}});s.onDestroy(()=>{yc(this._modules,s),a.unsubscribe()})}),function RC(e,t,n){try{const r=n();return gf(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(i,o,()=>{const a=s.injector.get(Bf);return a.runInitializers(),a.donePromise.then(()=>(function HD(e){Mt(e,"Expected localeId to be defined"),"string"==typeof e&&(jD=e.toLowerCase().replace(/_/g,"-"))}(s.injector.get(zn,Zo)||Zo),this._moduleDoBootstrap(s),s))})})}bootstrapModule(n,r=[]){const o=PC({},r);return function WP(e,t,n){const r=new If(n);return Promise.resolve(r)}(0,0,n).then(s=>this.bootstrapModuleFactory(s,o))}_moduleDoBootstrap(n){const r=n.injector.get(yi);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new T(-403,!1);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new T(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(Uf,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(r){return new(r||e)(ie(sn))};static#t=this.\u0275prov=fe({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),ur=null;const jC=new U("AllowMultipleToken");function HC(e,t,n=[]){const r=`Platform: ${t}`,o=new U(r);return(s=[])=>{let i=zf();if(!i||i.injector.get(jC,!1)){const a=[...n,...s,{provide:o,useValue:!0}];e?e(a):function n1(e){if(ur&&!ur.get(jC,!1))throw new T(400,!1);(function OC(){!function gI(e){mp=e}(()=>{throw new T(600,!1)})})(),ur=e;const t=e.get(VC);(function BC(e){e.get(Im,null)?.forEach(n=>n())})(e)}(function $C(e=[],t){return sn.create({name:t,providers:[{provide:Ou,useValue:"platform"},{provide:Uf,useValue:new Set([()=>ur=null])},...e]})}(a,r))}return function r1(e){const t=zf();if(!t)throw new T(401,!1);return t}()}}function zf(){return ur?.get(VC)??null}const l1=HC(null,"core",[]);let u1=(()=>{class e{constructor(n){}static#e=this.\u0275fac=function(r){return new(r||e)(ie(yi))};static#t=this.\u0275mod=Kr({type:e});static#n=this.\u0275inj=wr({})}return e})(),Jf=null;function eh(){return Jf}class L1{}const Hr=new U("DocumentToken"),uh=/\s+/,DE=[];let wE=(()=>{class e{constructor(n,r,o,s){this._iterableDiffers=n,this._keyValueDiffers=r,this._ngEl=o,this._renderer=s,this.initialClasses=DE,this.stateMap=new Map}set klass(n){this.initialClasses=null!=n?n.trim().split(uh):DE}set ngClass(n){this.rawClass="string"==typeof n?n.trim().split(uh):n}ngDoCheck(){for(const r of this.initialClasses)this._updateState(r,!0);const n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(const r of n)this._updateState(r,!0);else if(null!=n)for(const r of Object.keys(n))this._updateState(r,!!n[r]);this._applyStateDiff()}_updateState(n,r){const o=this.stateMap.get(n);void 0!==o?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(n,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(const n of this.stateMap){const r=n[0],o=n[1];o.changed?(this._toggleClass(r,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),o.touched=!1}}_toggleClass(n,r){(n=n.trim()).length>0&&n.split(uh).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static#e=this.\u0275fac=function(r){return new(r||e)(K(La),K(Gs),K(Ar),K(Iy))};static#t=this.\u0275dir=kt({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0})}return e})();class bF{constructor(t,n,r,o){this.$implicit=t,this.ngForOf=n,this.index=r,this.count=o}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let EE=(()=>{class e{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,r,o){this._viewContainer=n,this._template=r,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;!this._differ&&n&&(this._differ=this._differs.find(n).create(this.ngForTrackBy))}if(this._differ){const n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){const r=this._viewContainer;n.forEachOperation((o,s,i)=>{if(null==o.previousIndex)r.createEmbeddedView(this._template,new bF(o.item,this._ngForOf,-1,-1),null===i?void 0:i);else if(null==i)r.remove(null===s?void 0:s);else if(null!==s){const a=r.get(s);r.move(a,i),_E(a,o)}});for(let o=0,s=r.length;o{_E(r.get(o.currentIndex),o)})}static ngTemplateContextGuard(n,r){return!0}static#e=this.\u0275fac=function(r){return new(r||e)(K(Sn),K(Un),K(La))};static#t=this.\u0275dir=kt({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return e})();function _E(e,t){e.context.$implicit=t.item}let IE=(()=>{class e{constructor(n,r){this._viewContainer=n,this._context=new SF,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){bE("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){bE("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,r){return!0}static#e=this.\u0275fac=function(r){return new(r||e)(K(Sn),K(Un))};static#t=this.\u0275dir=kt({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return e})();class SF{constructor(){this.$implicit=null,this.ngIf=null}}function bE(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${Ge(t)}'.`)}let ME=(()=>{class e{constructor(n,r,o){this._ngEl=n,this._differs=r,this._renderer=o,this._ngStyle=null,this._differ=null}set ngStyle(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}ngDoCheck(){if(this._differ){const n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}_setStyle(n,r){const[o,s]=n.split("."),i=-1===o.indexOf("-")?void 0:sr.DashCase;null!=r?this._renderer.setStyle(this._ngEl.nativeElement,o,s?`${r}${s}`:r,i):this._renderer.removeStyle(this._ngEl.nativeElement,o,i)}_applyChanges(n){n.forEachRemovedItem(r=>this._setStyle(r.key,null)),n.forEachAddedItem(r=>this._setStyle(r.key,r.currentValue)),n.forEachChangedItem(r=>this._setStyle(r.key,r.currentValue))}static#e=this.\u0275fac=function(r){return new(r||e)(K(Ar),K(Gs),K(Iy))};static#t=this.\u0275dir=kt({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return e})();class xF{createSubscription(t,n){return by(()=>t.subscribe({next:n,error:r=>{throw r}}))}dispose(t){by(()=>t.unsubscribe())}}class OF{createSubscription(t,n){return t.then(n,r=>{throw r})}dispose(t){}}const RF=new OF,PF=new xF;let TE=(()=>{class e{constructor(n){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=n}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(n){return this._obj?n!==this._obj?(this._dispose(),this.transform(n)):this._latestValue:(n&&this._subscribe(n),this._latestValue)}_subscribe(n){this._obj=n,this._strategy=this._selectStrategy(n),this._subscription=this._strategy.createSubscription(n,r=>this._updateLatestValue(n,r))}_selectStrategy(n){if(gf(n))return RF;if(uw(n))return PF;throw function un(e,t){return new T(2100,!1)}()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(n,r){n===this._obj&&(this._latestValue=r,this._ref.markForCheck())}static#e=this.\u0275fac=function(r){return new(r||e)(K(Od,16))};static#t=this.\u0275pipe=Nt({name:"async",type:e,pure:!1,standalone:!0})}return e})(),NE=(()=>{class e{constructor(n){this.differs=n,this.keyValues=[],this.compareFn=AE}transform(n,r=AE){if(!n||!(n instanceof Map)&&"object"!=typeof n)return null;this.differ||(this.differ=this.differs.find(n).create());const o=this.differ.diff(n),s=r!==this.compareFn;return o&&(this.keyValues=[],o.forEachItem(i=>{this.keyValues.push(function WF(e,t){return{key:e,value:t}}(i.key,i.currentValue))})),(o||s)&&(this.keyValues.sort(r),this.compareFn=r),this.keyValues}static#e=this.\u0275fac=function(r){return new(r||e)(K(Gs,16))};static#t=this.\u0275pipe=Nt({name:"keyvalue",type:e,pure:!1,standalone:!0})}return e})();function AE(e,t){const n=e.key,r=t.key;if(n===r)return 0;if(void 0===n)return 1;if(void 0===r)return-1;if(null===n)return 1;if(null===r)return-1;if("string"==typeof n&&"string"==typeof r)return n{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Kr({type:e});static#n=this.\u0275inj=wr({})}return e})();function OE(e){return"server"===e}class bk extends L1{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class yh extends bk{static makeCurrent(){!function k1(e){Jf||(Jf=e)}(new yh)}onAndCancel(t,n,r){return t.addEventListener(n,r),()=>{t.removeEventListener(n,r)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,n){return(n=n||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return"window"===n?window:"document"===n?t:"body"===n?t.body:null}getBaseHref(t){const n=function Sk(){return _i=_i||document.querySelector("base"),_i?_i.getAttribute("href"):null}();return null==n?null:function Mk(e){return new URL(e,document.baseURI).pathname}(n)}resetBaseElement(){_i=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return function _F(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const r=n.indexOf("="),[o,s]=-1==r?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(s)}return null}(document.cookie,t)}}let _i=null,Nk=(()=>{class e{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=fe({token:e,factory:e.\u0275fac})}return e})();const vh=new U("EventManagerPlugins");let kE=(()=>{class e{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,o){return this._findPluginFor(r).addEventListener(n,r,o)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(s=>s.supports(n)),!r)throw new T(5101,!1);return this._eventNameToPlugin.set(n,r),r}static#e=this.\u0275fac=function(r){return new(r||e)(ie(vh),ie(Me))};static#t=this.\u0275prov=fe({token:e,factory:e.\u0275fac})}return e})();class LE{constructor(t){this._doc=t}}const Dh="ng-app-id";let VE=(()=>{class e{constructor(n,r,o,s={}){this.doc=n,this.appId=r,this.nonce=o,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=OE(s),this.resetHostNodes()}addStyles(n){for(const r of n)1===this.changeUsageCount(r,1)&&this.onStyleAdded(r)}removeStyles(n){for(const r of n)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){const n=this.styleNodesInDOM;n&&(n.forEach(r=>r.remove()),n.clear());for(const r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(const r of this.getAllStyles())this.addStyleToHost(n,r)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(const r of this.hostNodes)this.addStyleToHost(r,n)}onStyleRemoved(n){const r=this.styleRef;r.get(n)?.elements?.forEach(o=>o.remove()),r.delete(n)}collectServerRenderedStyles(){const n=this.doc.head?.querySelectorAll(`style[${Dh}="${this.appId}"]`);if(n?.length){const r=new Map;return n.forEach(o=>{null!=o.textContent&&r.set(o.textContent,o)}),r}return null}changeUsageCount(n,r){const o=this.styleRef;if(o.has(n)){const s=o.get(n);return s.usage+=r,s.usage}return o.set(n,{usage:r,elements:[]}),r}getStyleElement(n,r){const o=this.styleNodesInDOM,s=o?.get(r);if(s?.parentNode===n)return o.delete(r),s.removeAttribute(Dh),s;{const i=this.doc.createElement("style");return this.nonce&&i.setAttribute("nonce",this.nonce),i.textContent=r,this.platformIsServer&&i.setAttribute(Dh,this.appId),n.appendChild(i),i}}addStyleToHost(n,r){const o=this.getStyleElement(n,r),s=this.styleRef,i=s.get(r)?.elements;i?i.push(o):s.set(r,{elements:[o],usage:1})}resetHostNodes(){const n=this.hostNodes;n.clear(),n.add(this.doc.head)}static#e=this.\u0275fac=function(r){return new(r||e)(ie(Hr),ie(ga),ie(bm,8),ie(wo))};static#t=this.\u0275prov=fe({token:e,factory:e.\u0275fac})}return e})();const wh={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},Ch=/%COMP%/g,Rk=new U("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!0});function HE(e,t){return t.map(n=>n.replace(Ch,e))}let $E=(()=>{class e{constructor(n,r,o,s,i,a,c,l=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=s,this.doc=i,this.platformId=a,this.ngZone=c,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=OE(a),this.defaultRenderer=new Eh(n,i,c,this.platformIsServer)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===en.ShadowDom&&(r={...r,encapsulation:en.Emulated});const o=this.getOrCreateRenderer(n,r);return o instanceof UE?o.applyToHost(n):o instanceof _h&&o.applyStyles(),o}getOrCreateRenderer(n,r){const o=this.rendererByCompId;let s=o.get(r.id);if(!s){const i=this.doc,a=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(r.encapsulation){case en.Emulated:s=new UE(c,l,r,this.appId,u,i,a,d);break;case en.ShadowDom:return new Lk(c,l,n,r,i,a,this.nonce,d);default:s=new _h(c,l,r,u,i,a,d)}o.set(r.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(r){return new(r||e)(ie(kE),ie(VE),ie(ga),ie(Rk),ie(Hr),ie(wo),ie(Me),ie(bm))};static#t=this.\u0275prov=fe({token:e,factory:e.\u0275fac})}return e})();class Eh{constructor(t,n,r,o){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(t,n){return n?this.doc.createElementNS(wh[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(BE(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(BE(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let r="string"==typeof t?this.doc.querySelector(t):t;if(!r)throw new T(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;const s=wh[o];s?t.setAttributeNS(s,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const o=wh[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(sr.DashCase|sr.Important)?t.style.setProperty(n,r,o&sr.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&sr.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){null!=t&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r){if("string"==typeof t&&!(t=eh().getGlobalEventTarget(this.doc,t)))throw new Error(`Unsupported event target ${t} for event ${n}`);return this.eventManager.addEventListener(t,n,this.decoratePreventDefault(r))}decoratePreventDefault(t){return n=>{if("__ngUnwrap__"===n)return t;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>t(n)):t(n))&&n.preventDefault()}}}function BE(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class Lk extends Eh{constructor(t,n,r,o,s,i,a,c){super(t,s,i,c),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const l=HE(o.id,o.styles);for(const u of l){const d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=u,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(this.nodeOrShadowRoot(t),n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class _h extends Eh{constructor(t,n,r,o,s,i,a,c){super(t,s,i,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o,this.styles=c?HE(c,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class UE extends _h{constructor(t,n,r,o,s,i,a,c){const l=o+"-"+r.id;super(t,n,r,s,i,a,c,l),this.contentAttr=function Pk(e){return"_ngcontent-%COMP%".replace(Ch,e)}(l),this.hostAttr=function Fk(e){return"_nghost-%COMP%".replace(Ch,e)}(l)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){const r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}}let Vk=(()=>{class e extends LE{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o){return n.addEventListener(r,o,!1),()=>this.removeEventListener(n,r,o)}removeEventListener(n,r,o){return n.removeEventListener(r,o)}static#e=this.\u0275fac=function(r){return new(r||e)(ie(Hr))};static#t=this.\u0275prov=fe({token:e,factory:e.\u0275fac})}return e})();const zE=["alt","control","meta","shift"],jk={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Hk={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let $k=(()=>{class e extends LE{constructor(n){super(n)}supports(n){return null!=e.parseEventName(n)}addEventListener(n,r,o){const s=e.parseEventName(r),i=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>eh().onAndCancel(n,s.domEventName,i))}static parseEventName(n){const r=n.toLowerCase().split("."),o=r.shift();if(0===r.length||"keydown"!==o&&"keyup"!==o)return null;const s=e._normalizeKey(r.pop());let i="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),i="code."),zE.forEach(l=>{const u=r.indexOf(l);u>-1&&(r.splice(u,1),i+=l+".")}),i+=s,0!=r.length||0===s.length)return null;const c={};return c.domEventName=o,c.fullKey=i,c}static matchEventFullKeyCode(n,r){let o=jk[n.key]||n.key,s="";return r.indexOf("code.")>-1&&(o=n.code,s="code."),!(null==o||!o)&&(o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),zE.forEach(i=>{i!==o&&(0,Hk[i])(n)&&(s+=i+".")}),s+=o,s===r)}static eventCallback(n,r,o){return s=>{e.matchEventFullKeyCode(s,n)&&o.runGuarded(()=>r(s))}}static _normalizeKey(n){return"esc"===n?"escape":n}static#e=this.\u0275fac=function(r){return new(r||e)(ie(Hr))};static#t=this.\u0275prov=fe({token:e,factory:e.\u0275fac})}return e})();const Gk=HC(l1,"browser",[{provide:wo,useValue:"browser"},{provide:Im,useValue:function Bk(){yh.makeCurrent()},multi:!0},{provide:Hr,useFactory:function zk(){return function AM(e){Vu=e}(document),document},deps:[]}]),qk=new U(""),WE=[{provide:mc,useClass:class Tk{addToWindow(t){Ie.getAngularTestability=(r,o=!0)=>{const s=t.findTestabilityInTree(r,o);if(null==s)throw new T(5103,!1);return s},Ie.getAllAngularTestabilities=()=>t.getAllTestabilities(),Ie.getAllAngularRootElements=()=>t.getAllRootElements(),Ie.frameworkStabilizers||(Ie.frameworkStabilizers=[]),Ie.frameworkStabilizers.push(r=>{const o=Ie.getAllAngularTestabilities();let s=o.length,i=!1;const a=function(c){i=i||c,s--,0==s&&r(i)};o.forEach(c=>{c.whenStable(a)})})}findTestabilityInTree(t,n,r){return null==n?null:t.getTestability(n)??(r?eh().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},deps:[]},{provide:AC,useClass:jf,deps:[Me,Hf,mc]},{provide:jf,useClass:jf,deps:[Me,Hf,mc]}],ZE=[{provide:Ou,useValue:"root"},{provide:$n,useFactory:function Uk(){return new $n},deps:[]},{provide:vh,useClass:Vk,multi:!0,deps:[Hr,Me,wo]},{provide:vh,useClass:$k,multi:!0,deps:[Hr]},$E,VE,kE,{provide:_y,useExisting:$E},{provide:class nk{},useClass:Nk,deps:[]},[]];let Wk=(()=>{class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:ga,useValue:n.appId}]}}static#e=this.\u0275fac=function(r){return new(r||e)(ie(qk,12))};static#t=this.\u0275mod=Kr({type:e});static#n=this.\u0275inj=wr({providers:[...ZE,...WE],imports:[KF,u1]})}return e})();typeof window<"u"&&window;const Ut=(e,t)=>{const{o:n,i:r,u:o}=e;let i,s=n;const a=(u,d)=>{const f=s,h=u,p=d||(r?!r(f,h):f!==h);return(p||o)&&(s=h,i=f),[s,p,i]};return[t?u=>a(t(s,i),u):a,u=>[s,!!u,i]]},Pt=typeof window<"u"&&typeof HTMLElement<"u"&&window.document?window:{},Vc=Math.max,eL=Math.min,bh=Math.round,jc=Math.abs,XE=Math.sign,Sh=Pt.cancelAnimationFrame,Hc=Pt.requestAnimationFrame,$c=Pt.setTimeout,Mh=Pt.clearTimeout,Bc=e=>typeof Pt[e]<"u"?Pt[e]:void 0,tL=Bc("MutationObserver"),JE=Bc("IntersectionObserver"),Uc=Bc("ResizeObserver"),zc=Bc("ScrollTimeline"),Th=e=>void 0===e,Gc=e=>null===e,Mn=e=>"number"==typeof e,Ii=e=>"string"==typeof e,Nh=e=>"boolean"==typeof e,zt=e=>"function"==typeof e,Tn=e=>Array.isArray(e),qc=e=>"object"==typeof e&&!Tn(e)&&!Gc(e),Ah=e=>{const t=!!e&&e.length,n=Mn(t)&&t>-1&&t%1==0;return!(!(Tn(e)||!zt(e)&&n)||t>0&&qc(e)&&!(t-1 in e))},Wc=e=>!!e&&e.constructor===Object,Zc=e=>e instanceof HTMLElement,Qc=e=>e instanceof Element;function Ee(e,t){if(Ah(e))for(let n=0;nt(e[n],n,e));return e}const t_=(e,t)=>e.indexOf(t)>=0,bi=(e,t)=>e.concat(t),je=(e,t,n)=>(n||Ii(t)||!Ah(t)?e.push(t):Array.prototype.push.apply(e,t),e),fr=e=>Array.from(e||[]),xh=e=>Tn(e)?e:!Ii(e)&&Ah(e)?fr(e):[e],Oh=e=>!!e&&!e.length,Rh=e=>fr(new Set(e)),Gt=(e,t,n)=>{Ee(e,o=>o&&o.apply(void 0,t||[])),!n&&(e.length=0)},n_="paddingTop",r_="paddingRight",o_="paddingLeft",s_="paddingBottom",i_="marginLeft",a_="marginRight",c_="marginBottom",l_="overflowX",u_="overflowY",Yc="width",Kc="height",hr="visible",$r="hidden",Jo="scroll",Xc=(e,t,n,r)=>{if(e&&t){let o=!0;return Ee(n,s=>{(r?r(e[s]):e[s])!==(r?r(t[s]):t[s])&&(o=!1)}),o}return!1},d_=(e,t)=>Xc(e,t,["w","h"]),Jc=(e,t)=>Xc(e,t,["x","y"]),rL=(e,t)=>Xc(e,t,["t","r","b","l"]),Br=()=>{},B=(e,...t)=>e.bind(0,...t),es=e=>{let t;const n=e?$c:Hc,r=e?Mh:Sh;return[o=>{r(t),t=n(()=>o(),zt(e)?e():e)},()=>r(t)]},Ph=(e,t)=>{const{_:n,p:r,v:o,S:s}=t||{};let i,a,c,l,u=Br;const d=function(y){u(),Mh(i),l=i=a=void 0,u=Br,e.apply(this,y)},f=g=>s&&a?s(a,g):g,h=()=>{u!==Br&&d(f(c)||c)},p=function(){const y=fr(arguments),v=zt(n)?n():n;if(Mn(v)&&v>=0){const C=zt(r)?r():r,w=Mn(C)&&C>=0,E=v>0?$c:Hc,b=v>0?Mh:Sh,G=f(y)||y,k=d.bind(0,G);let M;u(),o&&!l?(k(),l=!0,M=E(()=>l=void 0,v)):(M=E(k,v),w&&!i&&(i=$c(h,C))),u=()=>b(M),a=c=G}else d(y)};return p.m=h,p},f_=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),Nn=e=>e?Object.keys(e):[],ue=(e,t,n,r,o,s,i)=>{const a=[t,n,r,o,s,i];return("object"!=typeof e||Gc(e))&&!zt(e)&&(e={}),Ee(a,c=>{Ee(c,(l,u)=>{const d=c[u];if(e===d)return!0;const f=Tn(d);if(d&&Wc(d)){const h=e[u];let p=h;f&&!Tn(h)?p=[]:!f&&!Wc(h)&&(p={}),e[u]=ue(p,d)}else e[u]=f?d.slice():d})}),e},h_=(e,t)=>Ee(ue({},e),(n,r,o)=>{void 0===n?delete o[r]:t&&n&&Wc(n)&&(o[r]=h_(n,t))}),Fh=e=>!Nn(e).length,p_=(e,t,n)=>Vc(e,eL(t,n)),Ur=e=>Rh((Tn(e)?e:(e||"").split(" ")).filter(t=>t)),kh=(e,t)=>e&&e.getAttribute(t),g_=(e,t)=>e&&e.hasAttribute(t),Wn=(e,t,n)=>{Ee(Ur(t),r=>{e&&e.setAttribute(r,String(n||""))})},An=(e,t)=>{Ee(Ur(t),n=>e&&e.removeAttribute(n))},el=(e,t)=>{const n=Ur(kh(e,t)),r=B(Wn,e,t),o=(s,i)=>{const a=new Set(n);return Ee(Ur(s),c=>{a[i](c)}),fr(a).join(" ")};return{O:s=>r(o(s,"delete")),$:s=>r(o(s,"add")),C:s=>{const i=Ur(s);return i.reduce((a,c)=>a&&n.includes(c),i.length>0)}}},m_=(e,t,n)=>(el(e,t).O(n),B(Lh,e,t,n)),Lh=(e,t,n)=>(el(e,t).$(n),B(m_,e,t,n)),tl=(e,t,n,r)=>(r?Lh:m_)(e,t,n),Vh=(e,t,n)=>el(e,t).C(n),y_=e=>el(e,"class"),v_=(e,t)=>{y_(e).O(t)},jh=(e,t)=>(y_(e).$(t),B(v_,e,t)),D_=(e,t)=>{const n=t?Qc(t)&&t:document;return n?fr(n.querySelectorAll(e)):[]},Hh=(e,t)=>Qc(e)&&e.matches(t),w_=e=>Hh(e,"body"),$h=e=>e?fr(e.childNodes):[],Si=e=>e&&e.parentElement,ts=(e,t)=>Qc(e)&&e.closest(t),Bh=e=>(e||document).activeElement,ns=e=>{Ee(xh(e),t=>{const n=Si(t);t&&n&&n.removeChild(t)})},qt=(e,t)=>B(ns,e&&t&&Ee(xh(t),n=>{n&&e.appendChild(n)})),rs=e=>{const t=document.createElement("div");return Wn(t,"class",e),t},C_=e=>{const t=rs();return t.innerHTML=e.trim(),Ee($h(t),n=>ns(n))},E_=(e,t)=>e.getPropertyValue(t)||e[t]||"",__=e=>{const t=e||0;return isFinite(t)?t:0},nl=e=>__(parseFloat(e||"")),Uh=e=>Math.round(1e4*e)/1e4,I_=e=>`${Uh(__(e))}px`;function Mi(e,t){e&&t&&Ee(t,(n,r)=>{try{const o=e.style,s=Gc(n)||Nh(n)?"":Mn(n)?I_(n):n;0===r.indexOf("--")?o.setProperty(r,s):o[r]=s}catch{}})}function Zn(e,t,n){const r=Ii(t);let o=r?"":{};if(e){const s=Pt.getComputedStyle(e,n)||e.style;o=r?E_(s,t):fr(t).reduce((i,a)=>(i[a]=E_(s,a),i),o)}return o}const b_=(e,t,n)=>{const r=t?`${t}-`:"",o=n?`-${n}`:"",s=`${r}top${o}`,i=`${r}right${o}`,a=`${r}bottom${o}`,c=`${r}left${o}`,l=Zn(e,[s,i,a,c]);return{t:nl(l[s]),r:nl(l[i]),b:nl(l[a]),l:nl(l[c])}},iL=(e,t)=>"translate"+(qc(e)?`(${e.x},${e.y})`:`${t?"X":"Y"}(${e})`),cL={w:0,h:0},rl=(e,t)=>t?{w:t[`${e}Width`],h:t[`${e}Height`]}:cL,os=B(rl,"offset"),S_=B(rl,"client"),ol=B(rl,"scroll"),zh=e=>{const t=parseFloat(Zn(e,Yc))||0,n=parseFloat(Zn(e,Kc))||0;return{w:t-bh(t),h:n-bh(n)}},Gh=e=>e.getBoundingClientRect(),qh=e=>!(!e||!e[Kc]&&!e[Yc]),M_=(e,t)=>{const n=qh(e);return!qh(t)&&n},T_=(e,t,n,r)=>{Ee(Ur(t),o=>{e&&e.removeEventListener(o,n,r)})},Oe=(e,t,n,r)=>{var o;const s=null==(o=r&&r.H)||o,i=r&&r.I||!1,a=r&&r.A||!1,c={passive:s,capture:i};return B(Gt,Ur(t).map(l=>{const u=a?d=>{T_(e,l,u,i),n&&n(d)}:n;return e&&e.addEventListener(l,u,c),B(T_,e,l,u,i)}))},N_=e=>e.stopPropagation(),Wh=e=>e.preventDefault(),A_=e=>N_(e)||Wh(e),xn=(e,t)=>{const{x:n,y:r}=Mn(t)?{x:t,y:t}:t||{};Mn(n)&&(e.scrollLeft=n),Mn(r)&&(e.scrollTop=r)},Wt=e=>({x:e.scrollLeft,y:e.scrollTop}),dL=(e,t)=>{const{D:n,T:r}=e,{w:o,h:s}=t,i=(d,f,h)=>{let p=XE(d)*h,g=XE(f)*h;if(p===g){const y=jc(d),v=jc(f);g=y>v?0:g,p=y{const n=(r,o)=>0===r&&r<=o;return{x:n(e.x,t.x),y:n(e.y,t.y)}},R_=({D:e,T:t},n)=>{const r=(o,s,i)=>p_(0,1,(o-i)/(o-s)||0);return{x:r(e.x,t.x,n.x),y:r(e.y,t.y,n.y)}},Zh=e=>{e&&e.focus&&e.focus({preventScroll:!0})},P_=(e,t)=>{Ee(xh(t),e)},Qh=e=>{const t=new Map,n=(s,i)=>{if(s){const a=t.get(s);P_(c=>{a&&a[c?"delete":"clear"](c)},i)}else t.forEach(a=>{a.clear()}),t.clear()},r=(s,i)=>{if(Ii(s)){const l=t.get(s)||new Set;return t.set(s,l),P_(u=>{zt(u)&&l.add(u)},i),B(n,s,i)}Nh(i)&&i&&n();const a=Nn(s),c=[];return Ee(a,l=>{const u=s[l];u&&je(c,r(l,u))}),B(Gt,c)};return r(e||{}),[r,n,(s,i)=>{Ee(fr(t.get(s)),a=>{i&&!Oh(i)?a.apply(0,i):a()})}]},F_=e=>JSON.stringify(e,(t,n)=>{if(zt(n))throw 0;return n}),k_=(e,t)=>e?`${t}`.split(".").reduce((n,r)=>n&&f_(n,r)?n[r]:void 0,e):void 0,fL={paddingAbsolute:!1,showNativeOverlaidScrollbars:!1,update:{elementEvents:[["img","load"]],debounce:[0,33],attributes:null,ignoreMutation:null},overflow:{x:"scroll",y:"scroll"},scrollbars:{theme:"os-theme-dark",visibility:"auto",autoHide:"never",autoHideDelay:1300,autoHideSuspend:!1,dragScroll:!0,clickScroll:!1,pointers:["mouse","touch","pen"]}},L_=(e,t)=>{const n={};return Ee(bi(Nn(t),Nn(e)),o=>{const s=e[o],i=t[o];if(qc(s)&&qc(i))ue(n[o]={},L_(s,i)),Fh(n[o])&&delete n[o];else if(f_(t,o)&&i!==s){let a=!0;if(Tn(s)||Tn(i))try{F_(s)===F_(i)&&(a=!1)}catch{}a&&(n[o]=i)}}),n},V_=(e,t,n)=>r=>[k_(e,r),n||void 0!==k_(t,r)],ss="data-overlayscrollbars",sl="os-environment",il=`${sl}-scrollbar-hidden`,Yh=`${ss}-initialize`,al="noClipping",j_=`${ss}-body`,pr=ss,Qn=`${ss}-viewport`,pL=l_,gL=u_,H_="measuring",$_="scrollbarHidden",Kh=`${ss}-padding`,B_=`${ss}-content`,Xh="os-size-observer",DL=`${Xh}-appear`,wL=`${Xh}-listener`,Zt="os-scrollbar",_L=`${Zt}-rtl`,IL=`${Zt}-horizontal`,bL=`${Zt}-vertical`,U_=`${Zt}-track`,Jh=`${Zt}-handle`,SL=`${Zt}-visible`,ML=`${Zt}-cornerless`,z_=`${Zt}-interaction`,G_=`${Zt}-unusable`,ep=`${Zt}-auto-hide`,q_=`${ep}-hidden`,W_=`${Zt}-wheel`,TL=`${U_}-interactive`,NL=`${Jh}-interactive`;let Z_,tp;const On=()=>(tp||(tp=(()=>{const e=(w,E,b)=>{qt(document.body,w),qt(document.body,w);const x=S_(w),G=os(w),k=zh(E);return b&&ns(w),{x:G.h-x.h+k.h,y:G.w-x.w+k.w}},o=C_(`
`)[0],s=o.firstChild;Z_&&(o.lastChild.nonce=Z_);const[c,,l]=Qh(),[u,d]=Ut({o:e(o,s),i:Jc},B(e,o,s,!0)),[f]=d(),h=(w=>{let E=!1;const b=jh(w,il);try{E="none"===Zn(w,"scrollbar-width")||"none"===Zn(w,"display","::-webkit-scrollbar")}catch{}return b(),E})(o),p={x:0===f.x,y:0===f.y},g={elements:{host:null,padding:!h,viewport:w=>h&&w_(w)&&w,content:!1},scrollbars:{slot:!0},cancel:{nativeScrollbarsOverlaid:!1,body:null}},y=ue({},fL),v=B(ue,{},y),m=B(ue,{},g),C={k:f,M:p,R:h,V:!!zc,L:B(c,"r"),U:m,P:w=>ue(g,w)&&m(),N:v,q:w=>ue(y,w)&&v(),B:ue({},g),F:ue({},y)};if(An(o,"style"),ns(o),Oe(Pt,"resize",()=>{l("r",[])}),zt(Pt.matchMedia)&&!h&&(!p.x||!p.y)){const w=E=>{const b=Pt.matchMedia(`(resolution: ${Pt.devicePixelRatio}dppx)`);Oe(b,"change",()=>{E(),w(E)},{A:!0})};w(()=>{const[E,b]=u();ue(C.k,E),l("r",[b])})}return C})()),tp),Q_=(e,t)=>zt(t)?t.apply(0,e):t,RL=(e,t,n,r)=>{const o=Th(r)?n:r;return Q_(e,o)||t.apply(0,e)},Y_=(e,t,n,r)=>{const o=Th(r)?n:r,s=Q_(e,o);return!!s&&(Zc(s)?s:t.apply(0,e))},np=new WeakMap,K_=e=>np.get(e),X_=(e,t,n,r)=>{let o=!1;const{j:s,X:i,Y:a,W:c,J:l,G:u}=r||{},d=Ph(()=>o&&n(!0),{_:33,p:99}),[f,h]=((e,t,n)=>{let r=!1;const o=!!n&&new WeakMap,i=a=>{o&&n&&Ee(n.map(l=>{const[u,d]=l||[];return[d&&u?(a||D_)(u,e):[],d]}),l=>Ee(l[0],u=>{const d=l[1],f=o.get(u)||[];if(e.contains(u)&&d){const p=Oe(u,d,g=>{r?(p(),o.delete(u)):t(g)});o.set(u,je(f,p))}else Gt(f),o.delete(u)}))};return i(),[()=>{r=!0},i]})(e,d,a),g=i||[],y=bi(s||[],g),v=(C,w)=>{if(!Oh(w)){const E=l||Br,b=u||Br,x=[],G=[];let k=!1,M=!1;if(Ee(w,S=>{const{attributeName:V,target:Q,type:te,oldValue:ae,addedNodes:ne,removedNodes:ce}=S,ye="attributes"===te,ve="childList"===te,X=e===Q,I=ye&&V,R=I&&kh(Q,V||""),N=Ii(R)?R:null,F=I&&ae!==N,A=t_(g,V)&&F;if(t&&(ve||!X)){const L=ye&&F,O=L&&c&&Hh(Q,c),se=(O?!E(Q,V,ae,N):!ye||L)&&!b(S,!!O,e,r);Ee(ne,Re=>je(x,Re)),Ee(ce,Re=>je(x,Re)),M=M||se}!t&&X&&F&&!E(Q,V,ae,N)&&(je(G,V),k=k||A)}),h(S=>Rh(x).reduce((V,Q)=>(je(V,D_(S,Q)),Hh(Q,S)?je(V,Q):V),[])),t)return!C&&M&&n(!1),[!1];if(!Oh(G)||k){const S=[Rh(G),k];return!C&&n.apply(0,S),S}}},m=new tL(B(v,!1));return[()=>(m.observe(e,{attributes:!0,attributeOldValue:!0,attributeFilter:y,subtree:t,childList:t,characterData:t}),o=!0,()=>{o&&(f(),m.disconnect(),o=!1)}),()=>{if(o)return d.m(),v(!0,m.takeRecords())}]},J_={},eI={},tI=(e,t,n)=>Nn(e).map(r=>{const{static:o,instance:s}=e[r],[i,a,c]=n||[],l=n?s:o;if(l){const u=n?l(i,a,t):l(t);return(c||eI)[r]=u}}),Ti=e=>eI[e],is=e=>0===e.indexOf(hr),nI="__osScrollbarsHidingPlugin",rI=(e,t,n)=>{const{dt:r}=n||{},o=Ti("__osSizeObserverPlugin"),[s]=Ut({o:!1,u:!0});return()=>{const i=[],c=C_(`
`)[0],l=c.firstChild,u=d=>{let h=!1,p=!1;if(d instanceof ResizeObserverEntry){const[g,,y]=s(d.contentRect),v=qh(g);p=M_(g,y),h=!p&&!v}else p=!0===d;h||t({ft:!0,dt:p})};if(Uc){const d=new Uc(f=>u(f.pop()));d.observe(l),je(i,()=>{d.disconnect()})}else{if(!o)return Br;{const[d,f]=o(l,u,r);je(i,bi([jh(c,DL),Oe(c,"animationstart",d)],f))}}return B(Gt,je(i,qt(e,c)))}},GL=(e,t,n,r)=>{let o,s,i,a,c,l;const u=`[${pr}]`,d=`[${Qn}]`,f=["id","class","style","open","wrap","cols","rows"],{vt:h,gt:p,ot:g,ht:y,bt:v,nt:m,wt:C,yt:w,St:E,Ot:b}=e,x=A=>"rtl"===Zn(A,"direction"),G={$t:!1,ct:x(h)},k=On(),M=Ti(nI),[S]=Ut({i:d_,o:{w:0,h:0}},()=>{const A=M&&M.tt(e,t,G,k,n).ut,O=!(C&&m)&&Vh(p,pr,al),j=!m&&w("arrange"),se=j&&Wt(y),Re=se&&b(),bt=E(H_,O),st=j&&A&&A()[0],ut=ol(g),ee=zh(g);return st&&st(),xn(y,se),Re&&Re(),O&&bt(),{w:ut.w+ee.w,h:ut.h+ee.h}}),V=Ph(r,{_:()=>o,p:()=>s,S(A,L){const[O]=A,[j]=L;return[bi(Nn(O),Nn(j)).reduce((se,Re)=>(se[Re]=O[Re]||j[Re],se),{})]}}),Q=A=>{const L=x(h);ue(A,{Ct:l!==L}),ue(G,{ct:L}),l=L},te=(A,L)=>{const[O,j]=A,se={xt:j};return ue(G,{$t:O}),!L&&r(se),se},ae=({ft:A,dt:L})=>{const j=A&&!L||!k.R?r:V,se={ft:A||L,dt:L};Q(se),j(se)},ne=(A,L)=>{const[,O]=S(),j={Ht:O};return Q(j),O&&!L&&(A?r:V)(j),j},ce=(A,L,O)=>{const j={Et:L};return Q(j),L&&!O&&V(j),j},[ye,ve]=v?((e,t)=>{let n;const o=rs("os-trinsic-observer"),[s]=Ut({o:!1}),i=(c,l)=>{if(c){const u=s((c=>0===c.h||c.isIntersecting||c.intersectionRatio>0)(c)),[,d]=u;return d&&!l&&t(u)&&[u]}},a=(c,l)=>i(l.pop(),c);return[()=>{const c=[];if(JE)n=new JE(B(a,!1),{root:e}),n.observe(o),je(c,()=>{n.disconnect()});else{const l=()=>{const u=os(o);i(u)};je(c,rI(o,l)()),l()}return B(Gt,je(c,qt(e,o)))},()=>n&&a(!0,n.takeRecords())]})(p,te):[],X=!m&&rI(p,ae,{dt:!0}),[I,R]=X_(p,!1,ce,{X:f,j:f}),N=m&&Uc&&new Uc(A=>{const L=A[A.length-1].contentRect;ae({ft:!0,dt:M_(L,c)}),c=L}),F=Ph(()=>{const[,A]=S();r({Ht:A})},{_:222,v:!0});return[()=>{N&&N.observe(p);const A=X&&X(),L=ye&&ye(),O=I(),j=k.L(se=>{se?V({zt:se}):F()});return()=>{N&&N.disconnect(),A&&A(),L&&L(),a&&a(),O(),j()}},({It:A,At:L,Dt:O})=>{const j={},[se]=A("update.ignoreMutation"),[Re,bt]=A("update.attributes"),[st,ut]=A("update.elementEvents"),[ee,it]=A("update.debounce"),dt=L||O;if(ut||bt){i&&i(),a&&a();const[Fe,we]=X_(v||g,!0,ne,{j:bi(f,Re||[]),Y:st,W:u,G:(ge,Qt)=>{const{target:fn,attributeName:gr}=ge;return!(Qt||!gr||m)&&((e,t,n)=>{const r=ts(e,t),o=e&&((e,t)=>{const n=t?Qc(t)&&t:document;return n&&n.querySelector(e)})(n,r),s=ts(o,t)===r;return!(!r||!o)&&(r===e||o===e||s&&ts(ts(e,n),t)!==r)})(fn,u,d)||!!ts(fn,`.${Zt}`)||!!(Fe=>zt(se)&&se(Fe))(ge)}});a=Fe(),i=we}if(it)if(V.m(),Tn(ee)){const Fe=ee[0],we=ee[1];o=Mn(Fe)&&Fe,s=Mn(we)&&we}else Mn(ee)?(o=ee,s=!1):(o=!1,s=!1);if(dt){const Fe=R(),we=ve&&ve(),ge=i&&i();Fe&&ue(j,ce(0,Fe[1],dt)),we&&ue(j,te(we[0],dt)),ge&&ue(j,ne(ge[0],dt))}return Q(j),j},G]},YL=({bt:e})=>({Zt:t,_n:n,Dt:r})=>{const{xt:o}=t||{},{$t:s}=n;e&&(o||r)&&Mi(e,{[Kc]:s&&"100%"})},KL=({gt:e,ln:t,ot:n,nt:r},o)=>{const[s,i]=Ut({i:rL,o:b_()},B(b_,e,"padding",""));return({It:a,Zt:c,_n:l,Dt:u})=>{let[d,f]=i(u);const{R:h}=On(),{ft:p,Ht:g,Ct:y}=c||{},{ct:v}=l,[m,C]=a("paddingAbsolute");(p||f||u||g)&&([d,f]=s(u));const E=!r&&(C||y||f);if(E){const b=!m||!t&&!h,x=d.r+d.l,k={[a_]:b&&!v?-x:0,[c_]:b?-(d.t+d.b):0,[i_]:b&&v?-x:0,top:b?-d.t:0,right:b?v?-d.r:"auto":0,left:b?v?"auto":-d.l:0,[Yc]:b&&`calc(100% + ${x}px)`},M={[n_]:b?d.t:0,[r_]:b?d.r:0,[s_]:b?d.b:0,[o_]:b?d.l:0};Mi(t||n,k),Mi(n,M),ue(o,{ln:d,dn:!b,rt:t?M:ue({},k,M)})}return{fn:E}}},XL=(e,t)=>{const n=On(),{gt:r,ln:o,ot:s,nt:i,Qt:a,ht:c,wt:l,St:u,un:d}=e,{R:f}=n,h=l&&i,p=B(Vc,0),g=["display","direction","flexDirection","writingMode"],y={i:d_,o:{w:0,h:0}},v={i:Jc,o:{}},m=X=>{u(H_,!h&&X)},[w,E]=Ut(y,B(zh,s)),[b,x]=Ut(y,B(ol,s)),[G,k]=Ut(y),[M]=Ut(v),[S,V]=Ut(y),[Q]=Ut(v),[te]=Ut({i:(X,I)=>Xc(X,I,g),o:{}},()=>(e=>!!e&&(e=>!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length))(e))(s)?Zn(s,g):{}),[ae,ne]=Ut({i:(X,I)=>Jc(X.D,I.D)&&Jc(X.T,I.T),o:{D:{x:0,y:0},T:{x:0,y:0}}},()=>{m(!0);const X=Wt(c),I=u("noContent",!0),R=Oe(a,Jo,O=>{const j=Wt(c);O.isTrusted&&j.x===X.x&&j.y===X.y&&N_(O)},{I:!0,A:!0});xn(c,{x:0,y:0}),I();const N=Wt(c),F=ol(c);xn(c,{x:F.w,y:F.h});const A=Wt(c);xn(c,{x:A.x-N.x<1&&-F.w,y:A.y-N.y<1&&-F.h});const L=Wt(c);return xn(c,X),Hc(()=>R()),{D:N,T:L}}),ce=Ti(nI),ye=(X,I)=>`${I?pL:gL}${(e=>{const t=String(e||"");return t?t[0].toUpperCase()+t.slice(1):""})(X)}`;return({It:X,Zt:I,_n:R,Dt:N},{fn:F})=>{const{Ct:O,dt:j,zt:se}=I||{},Re=ce&&ce.tt(e,t,R,n,X),{it:bt,ut:st,_t:ut}=Re||{},[ee,it]=((e,t)=>{const{M:n}=t,[r,o]=e("showNativeOverlaidScrollbars");return[r&&n.x&&n.y,o]})(X,n),[at,dt]=X("overflow"),yt=is(at.x),Fe=is(at.y);let ge=E(N),Qt=x(N),fn=k(N),gr=V(N);it&&f&&u($_,!ee);{Vh(r,pr,al)&&m(!0);const[cI]=st?st():[],[fl]=ge=w(N),[hl]=Qt=b(N),pl=S_(s),gl=h&&(e=>rl("inner",e||Pt))(d()),MV={w:p(hl.w+fl.w),h:p(hl.h+fl.h)},lI={w:p((gl?gl.w:pl.w+p(pl.w-hl.w))+fl.w),h:p((gl?gl.h:pl.h+p(pl.h-hl.h))+fl.h)};cI&&cI(),gr=S(lI),fn=G(((X,I)=>{const R=Pt.devicePixelRatio%1!=0?1:0,N={w:p(X.w-I.w),h:p(X.h-I.h)};return{w:N.w>R?N.w:0,h:N.h>R?N.h:0}})(MV,lI),N)}const[Ni,cl]=gr,[zr,Ai]=fn,[rp,ll]=Qt,[op,sp]=ge,[Rn,ip]=M({x:zr.w>0,y:zr.h>0}),ul=yt&&Fe&&(Rn.x||Rn.y)||yt&&Rn.x&&!Rn.y||Fe&&Rn.y&&!Rn.x,ap=F||O||se||sp||ll||cl||Ai||dt||it||!0,Gr=((e,t)=>{const n=(o,s,i,a)=>{const c=o===hr?$r:o.replace(`${hr}-`,""),l=is(o),u=is(i);return s||a?l&&u?hr:l?s&&a?c:s?hr:$r:s?c:u&&a?hr:$r:$r},r={x:n(t.x,e.x,t.y,e.y),y:n(t.y,e.y,t.x,e.x)};return{K:r,Z:{x:r.x===Jo,y:r.y===Jo}}})(Rn,at),[xi,as]=Q(Gr.K),[,dl]=te(N),Oi=O||j||dl||ip||N,[bV,SV]=Oi?ae(N):ne();return ap&&(as&&(X=>{const I=N=>[hr,$r,Jo].map(F=>ye(F,N)),R=I(!0).concat(I()).join(" ");u(R),u(Nn(X).map(N=>ye(X[N],"x"===N)).join(" "),!0)})(Gr.K),ut&&bt&&Mi(s,ut(Gr,R,bt(Gr,rp,op)))),m(!1),tl(r,pr,al,ul),tl(o,Kh,al,ul),ue(t,{K:xi,Vt:{x:Ni.w,y:Ni.h},Rt:{x:zr.w,y:zr.h},rn:Rn,Lt:dL(bV,zr)}),{en:as,nn:cl,sn:Ai,cn:SV||Ai,pn:Oi}}},eV=(e,t,n,r,o)=>{let s=!1;const i=V_(t,{}),[a,c,l,u,d]=(e=>{const[t,n,r]=(e=>{const t=On(),{U:n,R:r}=t,{elements:o}=n(),{padding:s,viewport:i,content:a}=o,c=Zc(e),l=c?{}:e,{elements:u}=l,{padding:d,viewport:f,content:h}=u||{},p=c?e:l.target,g=w_(p),y=p.ownerDocument,v=y.documentElement,m=()=>y.defaultView||Pt,C=B(RL,[p]),w=B(Y_,[p]),E=B(rs,""),b=B(C,E,i),x=B(w,E,a),k=b(f),M=k===p,S=M&&g,V=!M&&x(h),Q=!M&&k===V,te=S?v:k,ae=S?te:p,ne=!M&&w(E,s,d),ce=!Q&&V,ye=[ce,te,ne,ae].map(ee=>Zc(ee)&&!Si(ee)&&ee),ve=ee=>ee&&t_(ye,ee),X=!ve(te)&&(ee=>{const it=os(ee),at=ol(ee),dt=Zn(ee,l_),yt=Zn(ee,u_);return at.w-it.w>0&&!is(dt)||at.h-it.h>0&&!is(yt)})(te)?te:p,I=S?v:te,N={vt:p,gt:ae,ot:te,ln:ne,bt:ce,ht:I,Qt:S?y:te,an:g?v:X,Kt:y,wt:g,Tt:c,nt:M,un:m,yt:ee=>Vh(te,Qn,ee),St:(ee,it)=>tl(te,Qn,ee,it),Ot:()=>tl(I,Qn,"scrolling",!0)},{vt:F,gt:A,ln:L,ot:O,bt:j}=N,se=[()=>{An(A,[pr,Yh]),An(F,Yh),g&&An(v,[Yh,pr])}];let Re=$h([j,O,L,A,F].find(ee=>ee&&!ve(ee)));const bt=S?F:j||O,st=B(Gt,se);return[N,()=>{const ee=m(),it=Bh(),at=ge=>{qt(Si(ge),$h(ge)),ns(ge)},dt=ge=>Oe(ge,"focusin focusout focus blur",A_,{I:!0,H:!1}),yt="tabindex",Fe=kh(O,yt),we=dt(it);return Wn(A,pr,M?"":"host"),Wn(L,Kh,""),Wn(O,Qn,""),Wn(j,B_,""),M||(Wn(O,yt,Fe||"-1"),g&&Wn(v,j_,"")),qt(bt,Re),qt(A,L),qt(L||A,!M&&O),qt(O,j),je(se,[we,()=>{const ge=Bh(),Qt=ve(O),fn=Qt&&ge===O?F:ge,gr=dt(fn);An(L,Kh),An(j,B_),An(O,Qn),g&&An(v,j_),Fe?Wn(O,yt,Fe):An(O,yt),ve(j)&&at(j),Qt&&at(O),ve(L)&&at(L),Zh(fn),gr()}]),r&&!M&&(Lh(O,Qn,$_),je(se,B(An,O,Qn))),Zh(!M&&g&&it===F&&ee.top===ee?O:it),we(),Re=0,st},st]})(e),o={ln:{t:0,r:0,b:0,l:0},dn:!1,rt:{[a_]:0,[c_]:0,[i_]:0,[n_]:0,[r_]:0,[s_]:0,[o_]:0},Vt:{x:0,y:0},Rt:{x:0,y:0},K:{x:$r,y:$r},rn:{x:!1,y:!1},Lt:{D:{x:0,y:0},T:{x:0,y:0}}},{vt:s,ht:i,nt:a,Ot:c}=t,{R:l,M:u}=On(),d=!l&&(u.x||u.y),f=[YL(t),KL(t,o),XL(t,o)];return[n,h=>{const p={},y=d&&Wt(i),v=y&&c();return Ee(f,m=>{ue(p,m(h,p)||{})}),xn(i,y),v&&v(),!a&&xn(s,0),p},o,t,r]})(e),[f,h,p]=GL(u,l,i,w=>{C({},w)}),[g,y,,v]=((e,t,n,r,o,s)=>{let i,a,c,l,u,d=Br,f=0;const h=I=>"mouse"===I.pointerType,[p,g]=es(),[y,v]=es(100),[m,C]=es(100),[w,E]=es(()=>f),[b,x]=((e,t,n,r)=>{const s="--os-scroll-percent",{U:a}=On(),{scrollbars:c}=a(),{slot:l}=c,{vt:u,gt:d,ot:f,Tt:h,ht:p,wt:g,nt:y}=t,{scrollbars:v}=h?{}:e,{slot:m}=v||{},C=[],w=[],E=[],b=Y_([u,d,f],()=>y&&g?u:d,l,m),x=I=>{if(zc){const R=new zc({source:p,axis:I});return{Mt:F=>{const A=F.kt.animate({clear:["left"],[s]:[0,1]},{timeline:R});return()=>A.cancel()}}}},G={x:x("x"),y:x("y")},M=(I,R,N)=>{const F=N?jh:v_;Ee(I,A=>{F(A.kt,R)})},S=(I,R)=>{Ee(I,N=>{const[F,A]=R(N);Mi(F,A)})},V=(I,R,N)=>{const F=Nh(N),L=!F||!N;(!F||N)&&M(w,I,R),L&&M(E,I,R)},ce=I=>{const R=I?"x":"y",F=rs(`${Zt} ${I?IL:bL}`),A=rs(U_),L=rs(Jh),O={kt:F,Ut:A,Pt:L},j=G[R];return je(I?w:E,O),je(C,[qt(F,A),qt(A,L),B(ns,F),j&&j.Mt(O),r(O,V,I)]),O},ye=B(ce,!0),ve=B(ce,!1);return ye(),ve(),[{Nt:()=>{const I=(()=>{const{Rt:I,Vt:R}=n,N=(F,A)=>p_(0,1,F/(F+A)||0);return{x:N(R.x,I.x),y:N(R.y,I.y)}})(),R=N=>F=>[F.kt,{"--os-viewport-percent":Uh(N)+""}];S(w,R(I.x)),S(E,R(I.y))},qt:()=>{if(!zc){const{Lt:I}=n,R=R_(I,Wt(p)),N=F=>A=>[A.kt,{[s]:Uh(F)+""}];S(w,N(R.x)),S(E,N(R.y))}},Bt:()=>{const{Lt:I}=n,R=O_(I),N=F=>A=>[A.kt,{"--os-scroll-direction":F?"0":"1"}];S(w,N(R.x)),S(E,N(R.y))},Ft:()=>{if(y&&!g){const{Rt:I,Lt:R}=n,N=O_(R),F=R_(R,Wt(p)),A=L=>{const{kt:O}=L,j=Si(O)===f&&O,se=(Re,bt,st)=>{const ut=bt*Re;return I_(st?ut:-ut)};return[j,j&&{transform:iL({x:se(F.x,I.x,N.x),y:se(F.y,I.y,N.y)})}]};S(w,A),S(E,A)}},jt:V,Xt:{Yt:w,Wt:ye,Jt:B(S,w)},Gt:{Yt:E,Wt:ve,Jt:B(S,E)}},()=>(qt(b,w[0].kt),qt(b,E[0].kt),B(Gt,C))]})(e,o,r,((e,t,n,r)=>(o,s,i)=>{const{gt:a,ot:c,nt:l,ht:u,Kt:d,Ot:f}=t,{kt:h,Ut:p,Pt:g}=o,[y,v]=es(333),[m,C]=es(444),w=x=>{zt(u.scrollBy)&&u.scrollBy({behavior:"smooth",left:x.x,top:x.y})};let b=!0;return B(Gt,[Oe(g,"pointermove pointerleave",r),Oe(h,"pointerenter",()=>{s(z_,!0)}),Oe(h,"pointerleave pointercancel",()=>{s(z_,!1)}),!l&&Oe(h,"mousedown",()=>{const x=Bh();(g_(x,Qn)||g_(x,pr)||x===document.body)&&$c(B(Zh,c),25)}),Oe(h,"wheel",x=>{const{deltaX:G,deltaY:k,deltaMode:M}=x;b&&0===M&&Si(h)===a&&w({x:G,y:k}),b=!1,s(W_,!0),y(()=>{b=!0,s(W_)}),Wh(x)},{H:!1,I:!0}),Oe(h,"pointerdown",B(Oe,d,"click",A_,{A:!0,I:!0,H:!1}),{I:!0}),(()=>{const x="pointerup pointercancel lostpointercapture",G="client"+(i?"X":"Y"),k=i?Yc:Kc,M=i?"left":"top",S=i?"w":"h",V=i?"x":"y",te=[];return Oe(p,"pointerdown",ae=>{const ne=ts(ae.target,`.${Jh}`)===g,ce=ne?g:p,ye=e.scrollbars,{button:ve,isPrimary:X,pointerType:I}=ae,{pointers:R}=ye;if(0===ve&&X&&ye[ne?"dragScroll":"clickScroll"]&&(R||[]).includes(I)){Gt(te),C();const F=!ne&&ae.shiftKey,A=B(Gh,g),L=B(Gh,p),O=(we,ge)=>(we||A())[M]-(ge||L())[M],j=bh(Gh(u)[k])/os(u)[S]||1,se=((ae,ne)=>ce=>{const{Rt:ye}=n,ve=os(p)[S]-os(g)[S];xn(u,{[V]:ae+ne*ce/ve*ye[V]})})(Wt(u)[V],1/j),Re=ae[G],bt=A(),st=L(),ut=bt[k],ee=O(bt,st)+ut/2,it=Re-st[M],at=ne?0:it-ee,dt=we=>{Gt(Fe),ce.releasePointerCapture(we.pointerId)},yt=f(),Fe=[()=>{const we=Wt(u);yt();const ge=Wt(u),Qt={x:ge.x-we.x,y:ge.y-we.y};(jc(Qt.x)>3||jc(Qt.y)>3)&&(f(),xn(u,we),w(Qt),m(yt))},Oe(d,x,dt),Oe(d,"selectstart",we=>Wh(we),{H:!1}),Oe(p,x,dt),Oe(p,"pointermove",we=>{(ne||F)&&se(at+(we[G]-Re))})];if(ce.setPointerCapture(ae.pointerId),F)se(at);else if(!ne){const we=Ti("__osClickScrollPlugin");if(we){const ge=we(se,O,at,ut,it);je(Fe,B(ge)),je(te,B(ge,!0))}}}})})(),v,C])})(t,o,r,I=>h(I)&&ce())),{gt:G,Qt:k,wt:M}=o,{jt:S,Nt:V,qt:Q,Bt:te,Ft:ae}=b,ne=(I,R)=>{if(E(),I)S(q_);else{const N=B(S,q_,!0);f>0&&!R?w(N):N()}},ce=()=>{(c?!i:!l)&&(ne(!0),y(()=>{ne(!1)}))},ye=I=>{S(ep,I,!0),S(ep,I,!1)},ve=I=>{h(I)&&(i=c,c&&ne(!0))},X=[E,v,C,g,()=>d(),Oe(G,"pointerover",ve,{A:!0}),Oe(G,"pointerenter",ve),Oe(G,"pointerleave",I=>{h(I)&&(i=!1,c&&ne(!1))}),Oe(G,"pointermove",I=>{h(I)&&a&&ce()}),Oe(k,"scroll",I=>{p(()=>{Q(),ce()}),s(I),ae()})];return[()=>B(Gt,je(X,x())),({It:I,Dt:R,Zt:N,tn:F})=>{const{nn:A,sn:L,en:O,cn:j}=F||{},{Ct:se,dt:Re}=N||{},{ct:bt}=n,{M:st}=On(),{K:ut,rn:ee}=r,[it,at]=I("showNativeOverlaidScrollbars"),[dt,yt]=I("scrollbars.theme"),[Fe,we]=I("scrollbars.visibility"),[ge,Qt]=I("scrollbars.autoHide"),[fn,gr]=I("scrollbars.autoHideSuspend"),[Ni]=I("scrollbars.autoHideDelay"),[cl,zr]=I("scrollbars.dragScroll"),[Ai,rp]=I("scrollbars.clickScroll"),[ll,op]=I("overflow"),ip=A||L||j||se||R,ul=O||we||op,ap=it&&st.x&&st.y,Gr=(xi,as,dl)=>{const Oi=xi.includes(Jo)&&(Fe===hr||"auto"===Fe&&as===Jo);return S(SL,Oi,dl),Oi};if(f=Ni,Re&&!R&&(fn&&(ee.x||ee.y)?(ye(!1),d(),m(()=>{d=Oe(k,"scroll",B(ye,!0),{A:!0})})):ye(!0)),at&&S("os-theme-none",ap),yt&&(S(u),S(dt,!0),u=dt),gr&&!fn&&ye(!0),Qt&&(a="move"===ge,c="leave"===ge,l="never"===ge,ne(l,!0)),zr&&S(NL,cl),rp&&S(TL,Ai),ul){const xi=Gr(ll.x,ut.x,!0),as=Gr(ll.y,ut.y,!1);S(ML,!(xi&&as))}ip&&(Q(),V(),ae(),j&&te(),S(G_,!ee.x,!0),S(G_,!ee.y,!1),S(_L,bt&&!M))},{},b]})(e,t,p,l,u,o),m=w=>Nn(w).some(E=>!!w[E]),C=(w,E)=>{if(n())return!1;const{vn:b,Dt:x,At:G,gn:k}=w,M=b||{},S=!!x||!s,V={It:V_(t,M,S),vn:M,Dt:S};if(k)return y(V),!1;const Q=E||h(ue({},V,{At:G})),te=c(ue({},V,{_n:p,Zt:Q}));y(ue({},V,{Zt:Q,tn:te}));const ae=m(Q),ne=m(te),ce=ae||ne||!Fh(M)||S;return s=!0,ce&&r(w,{Zt:Q,tn:te}),ce};return[()=>{const{an:w,ht:E,Ot:b}=u,x=Wt(w),G=[f(),a(),g()],k=b();return xn(E,x),k(),B(Gt,G)},C,()=>({hn:p,bn:l}),{wn:u,yn:v},d]},dn=(e,t,n)=>{const{N:r}=On(),o=Zc(e),s=o?e:e.target,i=K_(s);if(t&&!i){let a=!1;const c=[],l={},u=M=>{const S=h_(M,!0),V=Ti("__osOptionsValidationPlugin");return V?V(S,!0):S},d=ue({},r(),u(t)),[f,h,p]=Qh(),[g,y,v]=Qh(n),m=(M,S)=>{v(M,S),p(M,S)},[C,w,E,b,x]=eV(e,d,()=>a,({vn:M,Dt:S},{Zt:V,tn:Q})=>{const{ft:te,Ct:ae,xt:ne,Ht:ce,Et:ye,dt:ve}=V,{nn:X,sn:I,en:R,cn:N}=Q;m("updated",[k,{updateHints:{sizeChanged:!!te,directionChanged:!!ae,heightIntrinsicChanged:!!ne,overflowEdgeChanged:!!X,overflowAmountChanged:!!I,overflowStyleChanged:!!R,scrollCoordinatesChanged:!!N,contentMutation:!!ce,hostMutation:!!ye,appear:!!ve},changedOptions:M||{},force:!!S}])},M=>m("scroll",[k,M])),G=M=>{(e=>{np.delete(e)})(s),Gt(c),a=!0,m("destroyed",[k,M]),h(),y()},k={options(M,S){if(M){const V=S?r():{},Q=L_(d,ue(V,u(M)));Fh(Q)||(ue(d,Q),w({vn:Q}))}return ue({},d)},on:g,off:(M,S)=>{M&&S&&y(M,S)},state(){const{hn:M,bn:S}=E(),{ct:V}=M,{Vt:Q,Rt:te,K:ae,rn:ne,ln:ce,dn:ye,Lt:ve}=S;return ue({},{overflowEdge:Q,overflowAmount:te,overflowStyle:ae,hasOverflow:ne,scrollCoordinates:{start:ve.D,end:ve.T},padding:ce,paddingAbsolute:ye,directionRTL:V,destroyed:a})},elements(){const{vt:M,gt:S,ln:V,ot:Q,bt:te,ht:ae,Qt:ne}=b.wn,{Xt:ce,Gt:ye}=b.yn,ve=I=>{const{Pt:R,Ut:N,kt:F}=I;return{scrollbar:F,track:N,handle:R}},X=I=>{const{Yt:R,Wt:N}=I,F=ve(R[0]);return ue({},F,{clone:()=>{const A=ve(N());return w({gn:!0}),A}})};return ue({},{target:M,host:S,padding:V||Q,viewport:Q,content:te||Q,scrollOffsetElement:ae,scrollEventElement:ne,scrollbarHorizontal:X(ce),scrollbarVertical:X(ye)})},update:M=>w({Dt:M,At:!0}),destroy:B(G,!1),plugin:M=>l[Nn(M)[0]]};return je(c,[x]),((e,t)=>{np.set(e,t)})(s,k),tI(J_,dn,[k,f,l]),((e,t)=>{const{nativeScrollbarsOverlaid:n,body:r}=t||{},{M:o,R:s,U:i}=On(),{nativeScrollbarsOverlaid:a,body:c}=i().cancel,l=n??a,u=Th(r)?c:r,d=(o.x||o.y)&&l,f=e&&(Gc(u)?!s:u);return!!d||!!f})(b.wn.wt,!o&&e.cancel)?(G(!0),k):(je(c,C()),m("initialized",[k]),k.update(),k)}return i};dn.plugin=e=>{const t=Tn(e),n=t?e:[e],r=n.map(o=>tI(o,dn)[0]);return(e=>{Ee(e,t=>Ee(t,(n,r)=>{J_[r]=t[r]}))})(n),t?r:r[0]},dn.valid=e=>{const t=e&&e.elements,n=zt(t)&&t();return Wc(n)&&!!K_(n.target)},dn.env=()=>{const{k:e,M:t,R:n,V:r,B:o,F:s,U:i,P:a,N:c,q:l}=On();return ue({},{scrollbarsSize:e,scrollbarsOverlaid:t,scrollbarsHiding:n,scrollTimeline:r,staticDefaultInitialization:o,staticDefaultOptions:s,getDefaultInitialization:i,setDefaultInitialization:a,getDefaultOptions:c,setDefaultOptions:l})},dn.nonce=e=>{Z_=e};const oI=["content"],tV=["*"];let sI=(()=>{class e{constructor(n){this.ngZone=n,this.instanceRef=null;const[r,o]=(()=>{if(typeof window>"u"){const l=()=>{};return[l,l]}let e,t;const n=window,r="function"==typeof n.requestIdleCallback,o=n.requestAnimationFrame,s=n.cancelAnimationFrame,i=r?n.requestIdleCallback:o,a=r?n.cancelIdleCallback:s,c=()=>{a(e),s(t)};return[(l,u)=>{c(),e=i(r?()=>{c(),t=o(l)}:l,"object"==typeof u?u:{timeout:2233})},c]})();this.requestDefer=r,this.cancelDefer=o}osInitialize(n){this.ngZone.runOutsideAngular(()=>{const r=()=>{this.instanceRef=dn(n,this.options||{},this.events||{})};this.defer?this.requestDefer(r,this.defer):r()})}osInstance(){return this.instanceRef}ngOnChanges(n){const r=n.options,o=n.events;if(r){const s=r.currentValue;this.options=s,dn.valid(this.instanceRef)&&this.instanceRef.options(s||{},!0)}if(o){const s=o.currentValue;this.events=s,dn.valid(this.instanceRef)&&this.instanceRef.on(s||{},!0)}}ngOnDestroy(){this.cancelDefer()}}return e.\u0275fac=function(n){return new(n||e)(K(Me))},e.\u0275dir=kt({type:e,selectors:[["","overlayScrollbars",""]],inputs:{options:"options",events:"events",defer:"defer"},features:[Ds]}),e})(),iI=(()=>{class e{constructor(n,r){this.ngZone=n,this.targetRef=r,this.onInitialized=new $t,this.onUpdated=new $t,this.onDestroyed=new $t,this.onScroll=new $t}osInstance(){return this.osDirective.osInstance()}getElement(){return this.targetRef.nativeElement}ngAfterViewInit(){const n=this.getElement(),r=this.contentRef.nativeElement;n&&r&&this.osDirective.osInitialize({target:n,elements:{viewport:r,content:r}})}ngOnDestroy(){this.osDirective?.osInstance().destroy()}mergeEvents(n){return((e,t)=>Object.keys(e).reduce((n,r)=>{const s=t[r];return n[r]=[e[r],...(Array.isArray(s)?s:[s]).filter(Boolean)],n},{}))({initialized:(...r)=>this.dispatchEventIfHasObservers(this.onInitialized,r),updated:(...r)=>this.dispatchEventIfHasObservers(this.onUpdated,r),destroyed:(...r)=>this.dispatchEventIfHasObservers(this.onDestroyed,r),scroll:(...r)=>this.dispatchEventIfHasObservers(this.onScroll,r)},n||{})}dispatchEventIfHasObservers(n,r){(n.observed||n.observers.length>0)&&this.ngZone.run(()=>n.emit(r))}}return e.\u0275fac=function(n){return new(n||e)(K(Me),K(Ar))},e.\u0275cmp=Kl({type:e,selectors:[["overlay-scrollbars"],["","overlay-scrollbars",""]],viewQuery:function(n,r){if(1&n&&(fc(oI,5),fc(oI,5,sI)),2&n){let o;dc(o=hc())&&(r.contentRef=o.first),dc(o=hc())&&(r.osDirective=o.first)}},hostAttrs:["data-overlayscrollbars-initialize",""],inputs:{options:"options",events:"events",defer:"defer"},outputs:{onInitialized:"osInitialized",onUpdated:"osUpdated",onDestroyed:"osDestroyed",onScroll:"osScroll"},ngContentSelectors:tV,decls:3,vars:3,consts:[["overlayScrollbars","","data-overlayscrollbars-contents","",3,"options","events","defer"],["content",""]],template:function(n,r){1&n&&(function gw(e){const t=D()[Pe][ht];if(!t.projection){const r=t.projection=Ns(e?e.length:1,null),o=r.slice();let s=t.child;for(;null!==s;){const i=e?GO(s,e):0;null!==i&&(o[i]?o[i].projectionNext=s:r[i]=s,o[i]=s),s=s.next}}}(),Ue(0,"div",0,1),function mw(e,t=0,n){const r=D(),o=oe(),s=To(o,Z+e,16,null,n||null);null===s.projection&&(s.projection=t),cu(),(!r[rn]||so())&&32!=(32&s.flags)&&function p0(e,t,n){ry(t[W],0,t,n,Yu(e,n,t),Km(n.parent||t[ht],n,t))}(o,r,s)}(2),tt()),2&n&&et("options",r.options)("events",r.mergeEvents(r.events))("defer",r.defer)},dependencies:[sI],encapsulation:2}),e})(),oV=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Kr({type:e}),e.\u0275inj=wr({}),e})();const iV=["osRef"];function aV(e,t){1&e&&(Ue(0,"div",14),rc(1,"img",15),tt())}const cV=e=>({display:e});function lV(e,t){if(1&e&&(Ue(0,"div",11,12),Ot(2,aV,2,0,"div",13),tt()),2&e){const n=lr();et("ngStyle",Sf(5,cV,n.elementHidden?"none":void 0))("options",n.options)("events",n.events)("defer",!0),mt(2),et("ngIf",!n.contentHidden)}}function uV(e,t){1&e&&(Ue(0,"div",16)(1,"div",14),rc(2,"img",15),tt()())}function dV(e,t){1&e&&nt(0," Show ")}function fV(e,t){1&e&&nt(0," Hide ")}function hV(e,t){1&e&&nt(0," Show ")}function pV(e,t){1&e&&nt(0," Hide ")}function gV(e,t){if(1&e){const n=ff();Ue(0,"button",7),Lr("click",function(){return Es(n),_s(lr().scrollContent())}),nt(1,"Scroll"),tt(),Ue(2,"button",7),Lr("click",function(){return Es(n),_s(lr().toggleContent())}),Ot(3,dV,1,0,"ng-template",6)(4,fV,1,0,"ng-template",6),nt(5," Content "),tt(),Ue(6,"button",7),Lr("click",function(){return Es(n),_s(lr().toggleElement())}),Ot(7,hV,1,0,"ng-template",6)(8,pV,1,0,"ng-template",6),nt(9," Element "),tt()}if(2&e){const n=lr();mt(3),et("ngIf",n.contentHidden),mt(1),et("ngIf",!n.contentHidden),mt(3),et("ngIf",n.elementHidden),mt(1),et("ngIf",!n.elementHidden)}}function mV(e,t){1&e&&nt(0," Destroy ")}function yV(e,t){1&e&&nt(0," Initialize ")}const vV=e=>({event:!0,active:e});function DV(e,t){if(1&e&&(Ue(0,"div",17),nt(1),tt()),2&e){const n=t.$implicit;et("ngClass",Sf(3,vV,n.value.active)),mt(1),vf(" ",n.key," (",n.value.count,") ")}}function wV(e,t){1&e&&nt(0," Destroy ")}function CV(e,t){1&e&&nt(0," Initialize ")}function EV(e,t){if(1&e){const n=ff();Ue(0,"section")(1,"div",5)(2,"button",7),Lr("click",function(){return Es(n),_s(lr().toggleBodyOverlayScrollbars())}),Ot(3,wV,1,0,"ng-template",6)(4,CV,1,0,"ng-template",6),nt(5," Body OverlayScrollbars "),tt()()()}if(2&e){const n=lr();mt(3),et("ngIf",n.useBodyOverlayScrollbars),mt(1),et("ngIf",!n.useBodyOverlayScrollbars)}}const aI=e=>dn({target:document.body,cancel:{body:!e&&null}},{scrollbars:{theme:"os-theme-light"}}).state().destroyed;let _V=(()=>{class e{contentHidden=!1;elementHidden=!1;useOverlayScrollbars=!0;useBodyOverlayScrollbars=null;options={scrollbars:{theme:"os-theme-light"}};events;observedEvents$;osRef;constructor(n){const[r,o]=(e=>{const t=new Yp([]),n={},r={},s=a=>({active:t.getValue().includes(a),count:n[a]||0});return[t.pipe(Tp(()=>({initialized:s("initialized"),destroyed:s("destroyed"),updated:s("updated"),scroll:s("scroll")}))),a=>{const c=n[a];n[a]="number"==typeof c?c+1:1,t.next(Array.from(new Set([...t.getValue(),a]))),clearTimeout(r[a]),r[a]=setTimeout(()=>{const l=new Set(t.getValue());l.delete(a),t.next(Array.from(l)),e.detectChanges()},500),e.detectChanges()}]})(n);this.events={initialized:()=>o("initialized"),destroyed:()=>o("destroyed"),updated:()=>o("updated"),scroll:()=>o("scroll")},this.observedEvents$=r}scrollContent(){const n=this.osRef?.osInstance();if(!n)return;const{overflowAmount:r}=n.state(),{scrollOffsetElement:o}=n.elements(),{scrollLeft:s,scrollTop:i}=o;o.scrollTo({behavior:"smooth",left:Math.round((r.x-s)/r.x)*r.x,top:Math.round((r.y-i)/r.y)*r.y})}toggleContent(){this.contentHidden=!this.contentHidden}toggleElement(){this.elementHidden=!this.elementHidden}toggleBodyOverlayScrollbars(){const n=dn(document.body);n?(n.destroy(),this.useBodyOverlayScrollbars=!1):this.useBodyOverlayScrollbars=!aI(!0)}ngOnInit(){this.useBodyOverlayScrollbars=!aI()}originalOrder(){return 0}static \u0275fac=function(r){return new(r||e)(K(Od))};static \u0275cmp=Kl({type:e,selectors:[["app-root"]],viewQuery:function(r,o){if(1&r&&fc(iV,5,iI),2&r){let s;dc(s=hc())&&(o.osRef=s.first)}},decls:27,vars:12,consts:[["href","https://www.npmjs.com/package/overlayscrollbars-ngx","target","_blank"],[1,"slot"],["overlay-scrollbars","","class","overlayscrollbars-ngx",3,"ngStyle","options","events","defer",4,"ngIf"],["class","overlayscrollbars-ngx",4,"ngIf"],[1,"title"],[1,"items"],[3,"ngIf"],[3,"click"],[3,"ngClass",4,"ngFor","ngForOf"],[4,"ngIf"],["href","https://github.com/KingSora/OverlayScrollbars/tree/master/examples/angular","target","_blank"],["overlay-scrollbars","",1,"overlayscrollbars-ngx",3,"ngStyle","options","events","defer"],["osRef",""],["class","logo",4,"ngIf"],[1,"logo"],["alt","Angular logo","src","assets/logo.svg"],[1,"overlayscrollbars-ngx"],[3,"ngClass"]],template:function(r,o){1&r&&(Ue(0,"main")(1,"h1")(2,"a",0),nt(3," OverlayScrollbars Ngx "),tt()(),Ue(4,"section",1),Ot(5,lV,3,7,"div",2)(6,uV,3,0,"div",3),tt(),Ue(7,"section")(8,"p",4),nt(9,"Actions:"),tt(),Ue(10,"div",5),Ot(11,gV,10,4,"ng-template",6),Ue(12,"button",7),Lr("click",function(){return o.useOverlayScrollbars=!o.useOverlayScrollbars}),Ot(13,mV,1,0,"ng-template",6)(14,yV,1,0,"ng-template",6),nt(15," OverlayScrollbars "),tt()()(),Ue(16,"section")(17,"p",4),nt(18,"Events:"),tt(),Ue(19,"div",5),Ot(20,DV,2,5,"div",8),Mf(21,"keyvalue"),Mf(22,"async"),tt()()(),Ue(23,"footer"),Ot(24,EV,6,2,"section",9),Ue(25,"a",10),nt(26," Open source code of this example. "),tt()()),2&r&&(mt(5),et("ngIf",o.useOverlayScrollbars),mt(1),et("ngIf",!o.useOverlayScrollbars),mt(5),et("ngIf",o.useOverlayScrollbars),mt(2),et("ngIf",o.useOverlayScrollbars),mt(1),et("ngIf",!o.useOverlayScrollbars),mt(6),et("ngForOf",sC(21,7,function oC(e,t,n){const r=e+Z,o=D(),s=oo(o,r);return pi(o,r)?Jw(o,wt(),t,s.transform,n,s):s.transform(n)}(22,10,o.observedEvents$),o.originalOrder)),mt(4),et("ngIf",null!==o.useBodyOverlayScrollbars))},dependencies:[wE,EE,IE,ME,iI,TE,NE],encapsulation:2})}return e})(),IV=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Kr({type:e,bootstrap:[_V]});static \u0275inj=wr({imports:[Wk,oV]})}return e})();Gk().bootstrapModule(IV).catch(e=>console.error(e))}},ml=>{ml(ml.s=591)}]); \ No newline at end of file +"use strict";(self.webpackChunkexample=self.webpackChunkexample||[]).push([[179],{591:()=>{let $e=null,Wr=1;function Fe(e){const t=$e;return $e=e,t}function cp(e){if((!cs(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==Wr)){if(!e.producerMustRecompute(e)&&!Dl(e))return e.dirty=!1,void(e.lastCleanEpoch=Wr);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=Wr}}function Dl(e){Zr(e);for(let t=0;t0}function Zr(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let mp=null;function Ke(e){return"function"==typeof e}function Dp(e){const n=e(r=>{Error.call(r),r.stack=(new Error).stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}const El=Dp(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((r,o)=>`${o+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n});function _l(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class pn{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(const s of n)s.remove(this);else n.remove(this);const{initialTeardown:r}=this;if(Ke(r))try{r()}catch(s){t=s instanceof El?s.errors:[s]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const s of o)try{Ep(s)}catch(i){t=t??[],i instanceof El?t=[...t,...i.errors]:t.push(i)}}if(t)throw new El(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Ep(t);else{if(t instanceof pn){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}}_hasParent(t){const{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){const{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){const{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&_l(n,t)}remove(t){const{_finalizers:n}=this;n&&_l(n,t),t instanceof pn&&t._removeParent(this)}}pn.EMPTY=(()=>{const e=new pn;return e.closed=!0,e})();const wp=pn.EMPTY;function Cp(e){return e instanceof pn||e&&"closed"in e&&Ke(e.remove)&&Ke(e.add)&&Ke(e.unsubscribe)}function Ep(e){Ke(e)?e():e.unsubscribe()}const yr={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Fi={setTimeout(e,t,...n){const{delegate:r}=Fi;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=Fi;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function _p(e){Fi.setTimeout(()=>{const{onUnhandledError:t}=yr;if(!t)throw e;t(e)})}function Ip(){}const wI=Il("C",void 0,void 0);function Il(e,t,n){return{kind:e,value:t,error:n}}let vr=null;function ki(e){if(yr.useDeprecatedSynchronousErrorHandling){const t=!vr;if(t&&(vr={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=vr;if(vr=null,n)throw r}}else e()}class bl extends pn{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Cp(t)&&t.add(this)):this.destination=MI}static create(t,n,r){return new ls(t,n,r)}next(t){this.isStopped?Ml(function EI(e){return Il("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?Ml(function CI(e){return Il("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Ml(wI,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const II=Function.prototype.bind;function Sl(e,t){return II.call(e,t)}class bI{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Li(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Li(r)}else Li(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Li(n)}}}class ls extends bl{constructor(t,n,r){let o;if(super(),Ke(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let s;this&&yr.useDeprecatedNextContext?(s=Object.create(t),s.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Sl(t.next,s),error:t.error&&Sl(t.error,s),complete:t.complete&&Sl(t.complete,s)}):o=t}this.destination=new bI(o)}}function Li(e){yr.useDeprecatedSynchronousErrorHandling?function _I(e){yr.useDeprecatedSynchronousErrorHandling&&vr&&(vr.errorThrown=!0,vr.error=e)}(e):_p(e)}function Ml(e,t){const{onStoppedNotification:n}=yr;n&&Fi.setTimeout(()=>n(e,t))}const MI={closed:!0,next:Ip,error:function SI(e){throw e},complete:Ip},Tl="function"==typeof Symbol&&Symbol.observable||"@@observable";function Nl(e){return e}let St=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){const r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){const s=function NI(e){return e&&e instanceof bl||function TI(e){return e&&Ke(e.next)&&Ke(e.error)&&Ke(e.complete)}(e)&&Cp(e)}(n)?n:new ls(n,r,o);return ki(()=>{const{operator:i,source:a}=this;s.add(i?i.call(s,a):a?this._subscribe(s):this._trySubscribe(s))}),s}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return new(r=Sp(r))((o,s)=>{const i=new ls({next:a=>{try{n(a)}catch(c){s(c),i.unsubscribe()}},error:s,complete:o});this.subscribe(i)})}_subscribe(n){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(n)}[Tl](){return this}pipe(...n){return function bp(e){return 0===e.length?Nl:1===e.length?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}(n)(this)}toPromise(n){return new(n=Sp(n))((r,o)=>{let s;this.subscribe(i=>s=i,i=>o(i),()=>r(s))})}}return e.create=t=>new e(t),e})();function Sp(e){var t;return null!==(t=e??yr.Promise)&&void 0!==t?t:Promise}const AI=Dp(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Vi=(()=>{class e extends St{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new Mp(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new AI}next(n){ki(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){ki(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;const{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){ki(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return(null===(n=this.observers)||void 0===n?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){const{hasError:r,isStopped:o,observers:s}=this;return r||o?wp:(this.currentObservers=null,s.push(n),new pn(()=>{this.currentObservers=null,_l(s,n)}))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:o,isStopped:s}=this;r?n.error(o):s&&n.complete()}asObservable(){const n=new St;return n.source=this,n}}return e.create=(t,n)=>new Mp(t,n),e})();class Mp extends Vi{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.next)||void 0===r||r.call(n,t)}error(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.error)||void 0===r||r.call(n,t)}complete(){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===n||n.call(t)}_subscribe(t){var n,r;return null!==(r=null===(n=this.source)||void 0===n?void 0:n.subscribe(t))&&void 0!==r?r:wp}}function Dr(e){return t=>{if(function xI(e){return Ke(e?.lift)}(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function wr(e,t,n,r,o){return new OI(e,t,n,r,o)}class OI extends bl{constructor(t,n,r,o,s,i){super(t),this.onFinalize=s,this.shouldUnsubscribe=i,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:n}=this;super.unsubscribe(),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function Tp(e,t){return Dr((n,r)=>{let o=0;n.subscribe(wr(r,s=>{r.next(e.call(t,s,o++))}))})}function Yn(e){return this instanceof Yn?(this.v=e,this):new Yn(e)}function Op(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,t=e[Symbol.asyncIterator];return t?t.call(e):(e=function Rl(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(s){n[s]=e[s]&&function(i){return new Promise(function(a,c){!function o(s,i,a,c){Promise.resolve(c).then(function(l){s({value:l,done:a})},i)}(a,c,(i=e[s](i)).done,i.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const Rp=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function Pp(e){return Ke(e?.then)}function Fp(e){return Ke(e[Tl])}function kp(e){return Symbol.asyncIterator&&Ke(e?.[Symbol.asyncIterator])}function Lp(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const Vp=function eb(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function jp(e){return Ke(e?.[Vp])}function Hp(e){return function xp(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,r=n.apply(e,t||[]),s=[];return o={},i("next"),i("throw"),i("return"),o[Symbol.asyncIterator]=function(){return this},o;function i(f){r[f]&&(o[f]=function(h){return new Promise(function(p,g){s.push([f,h,p,g])>1||a(f,h)})})}function a(f,h){try{!function c(f){f.value instanceof Yn?Promise.resolve(f.value.v).then(l,u):d(s[0][2],f)}(r[f](h))}catch(p){d(s[0][3],p)}}function l(f){a("next",f)}function u(f){a("throw",f)}function d(f,h){f(h),s.shift(),s.length&&a(s[0][0],s[0][1])}}(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:o}=yield Yn(n.read());if(o)return yield Yn(void 0);yield yield Yn(r)}}finally{n.releaseLock()}})}function $p(e){return Ke(e?.getReader)}function Pn(e){if(e instanceof St)return e;if(null!=e){if(Fp(e))return function tb(e){return new St(t=>{const n=e[Tl]();if(Ke(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Rp(e))return function nb(e){return new St(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,_p)})}(e);if(kp(e))return Bp(e);if(jp(e))return function ob(e){return new St(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if($p(e))return function sb(e){return Bp(Hp(e))}(e)}throw Lp(e)}function Bp(e){return new St(t=>{(function ib(e,t){var n,r,o,s;return function Np(e,t,n,r){return new(n||(n=Promise))(function(s,i){function a(u){try{l(r.next(u))}catch(d){i(d)}}function c(u){try{l(r.throw(u))}catch(d){i(d)}}function l(u){u.done?s(u.value):function o(s){return s instanceof n?s:new n(function(i){i(s)})}(u.value).then(a,c)}l((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=Op(e);!(r=yield n.next()).done;)if(t.next(r.value),t.closed)return}catch(i){o={error:i}}finally{try{r&&!r.done&&(s=n.return)&&(yield s.call(n))}finally{if(o)throw o.error}}t.complete()})})(e,t).catch(n=>t.error(n))})}function Kn(e,t,n,r=0,o=!1){const s=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(s),!o)return s}function Up(e,t,n=1/0){return Ke(t)?Up((r,o)=>Tp((s,i)=>t(r,s,o,i))(Pn(e(r,o))),n):("number"==typeof t&&(n=t),Dr((r,o)=>function ab(e,t,n,r,o,s,i,a){const c=[];let l=0,u=0,d=!1;const f=()=>{d&&!c.length&&!l&&t.complete()},h=g=>l{s&&t.next(g),l++;let y=!1;Pn(n(g,u++)).subscribe(wr(t,v=>{o?.(v),s?h(v):t.next(v)},()=>{y=!0},void 0,()=>{if(y)try{for(l--;c.length&&lp(v)):p(v)}f()}catch(v){t.error(v)}}))};return e.subscribe(wr(t,h,()=>{d=!0,f()})),()=>{a?.()}}(r,o,e,n)))}const zp=new St(e=>e.complete());function Pl(e){return e[e.length-1]}function Gp(e){return function ub(e){return e&&Ke(e.schedule)}(Pl(e))?e.pop():void 0}function qp(e,t=0){return Dr((n,r)=>{n.subscribe(wr(r,o=>Kn(r,e,()=>r.next(o),t),()=>Kn(r,e,()=>r.complete(),t),o=>Kn(r,e,()=>r.error(o),t)))})}function Wp(e,t=0){return Dr((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Zp(e,t){if(!e)throw new Error("Iterable cannot be null");return new St(n=>{Kn(n,t,()=>{const r=e[Symbol.asyncIterator]();Kn(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Qp(e,t){return t?function yb(e,t){if(null!=e){if(Fp(e))return function fb(e,t){return Pn(e).pipe(Wp(t),qp(t))}(e,t);if(Rp(e))return function pb(e,t){return new St(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(Pp(e))return function hb(e,t){return Pn(e).pipe(Wp(t),qp(t))}(e,t);if(kp(e))return Zp(e,t);if(jp(e))return function gb(e,t){return new St(n=>{let r;return Kn(n,t,()=>{r=e[Vp](),Kn(n,t,()=>{let o,s;try{({value:o,done:s}=r.next())}catch(i){return void n.error(i)}s?n.complete():n.next(o)},0,!0)}),()=>Ke(r?.return)&&r.return()})}(e,t);if($p(e))return function mb(e,t){return Zp(Hp(e),t)}(e,t)}throw Lp(e)}(e,t):Pn(e)}function vb(...e){const t=Gp(e),n=function db(e,t){return"number"==typeof Pl(e)?e.pop():t}(e,1/0),r=e;return r.length?1===r.length?Pn(r[0]):function cb(e=1/0){return Up(Nl,e)}(n)(Qp(r,t)):zp}class Yp extends Vi{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){const{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}}function Fl(e,t,...n){if(!0===t)return void e();if(!1===t)return;const r=new ls({next:()=>{r.unsubscribe(),e()}});return Pn(t(...n)).subscribe(r)}function _b(e,t){return e===t}function ve(e){for(let t in e)if(e[t]===ve)return t;throw Error("Could not find renamed property on target object.")}function qe(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(qe).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function kl(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const Ib=ve({__forward_ref__:ve});function Ll(e){return e.__forward_ref__=Ll,e.toString=function(){return qe(this())},e}function H(e){return function Hi(e){return"function"==typeof e&&e.hasOwnProperty(Ib)&&e.__forward_ref__===Ll}(e)?e():e}function Vl(e){return e&&!!e.\u0275providers}class N extends Error{constructor(t,n){super(function Qr(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}const us=ve({\u0275cmp:ve}),jl=ve({\u0275dir:ve}),Hl=ve({\u0275pipe:ve}),Xp=ve({\u0275mod:ve}),Fn=ve({\u0275fac:ve}),ds=ve({__NG_ELEMENT_ID__:ve}),Jp=ve({__NG_ENV_ID__:ve});function q(e){return"string"==typeof e?e:null==e?"":String(e)}function $l(e,t){throw new N(-201,!1)}function Mt(e,t){null==e&&function $(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function de(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Cr(e){return{providers:e.providers||[],imports:e.imports||[]}}function $i(e){return eg(e,Ui)||eg(e,tg)}function eg(e,t){return e.hasOwnProperty(t)?e[t]:null}function Bi(e){return e&&(e.hasOwnProperty(Bl)||e.hasOwnProperty(Ob))?e[Bl]:null}const Ui=ve({\u0275prov:ve}),Bl=ve({\u0275inj:ve}),tg=ve({ngInjectableDef:ve}),Ob=ve({ngInjectorDef:ve});var re=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(re||{});let Ul;function Tt(e){const t=Ul;return Ul=e,t}function rg(e,t,n){const r=$i(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&re.Optional?null:void 0!==t?t:void $l(qe(e))}const _e=globalThis;class U{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=de({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const fs={},Zl="__NG_DI_FLAG__",zi="ngTempTokenPath",Fb=/\n/gm,sg="__source";let Yr;function Jn(e){const t=Yr;return Yr=e,t}function Vb(e,t=re.Default){if(void 0===Yr)throw new N(-203,!1);return null===Yr?rg(e,void 0,t):Yr.get(e,t&re.Optional?null:void 0,t)}function se(e,t=re.Default){return(function ng(){return Ul}()||Vb)(H(e),t)}function me(e,t=re.Default){return se(e,Gi(t))}function Gi(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Ql(e){const t=[];for(let n=0;nt){i=s-1;break}}}for(;ss?"":o[d+1].toLowerCase();const h=8&r?f:null;if(h&&-1!==ag(h,l,0)||2&r&&l!==f){if(tn(r))return!1;i=!0}}}}else{if(!i&&!tn(r)&&!tn(c))return!1;if(i&&tn(c))continue;i=!1,r=c|1&r}}return tn(r)||i}function tn(e){return 0==(1&e)}function Gb(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let s=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else 8&r?o+="."+i:4&r&&(o+=" "+i);else""!==o&&!tn(i)&&(t+=pg(s,o),o=""),r=i,s=s||!tn(r);n++}return""!==o&&(t+=pg(s,o)),t}function Kl(e){return kn(()=>{const t=mg(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===qi.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||en.Emulated,styles:e.styles||ae,_:null,schemas:e.schemas||null,tView:null,id:""};yg(n);const r=e.dependencies;return n.directiveDefs=Wi(r,!1),n.pipeDefs=Wi(r,!0),n.id=function nS(e){let t=0;const n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(n),n})}function Jb(e){return J(e)||Xe(e)}function eS(e){return null!==e}function Kr(e){return kn(()=>({type:e.type,bootstrap:e.bootstrap||ae,declarations:e.declarations||ae,imports:e.imports||ae,exports:e.exports||ae,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function gg(e,t){if(null==e)return gn;const n={};for(const r in e)if(e.hasOwnProperty(r)){let o=e[r],s=o;Array.isArray(o)&&(s=o[1],o=o[0]),n[o]=r,t&&(t[o]=s)}return n}function kt(e){return kn(()=>{const t=mg(e);return yg(t),t})}function Nt(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function J(e){return e[us]||null}function Xe(e){return e[jl]||null}function lt(e){return e[Hl]||null}function mg(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||gn,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||ae,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:gg(e.inputs,t),outputs:gg(e.outputs),debugInfo:null}}function yg(e){e.features?.forEach(t=>t(e))}function Wi(e,t){if(!e)return null;const n=t?lt:Jb;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(eS)}const ke=0,_=1,F=2,xe=3,nn=4,pt=5,rn=6,Xr=7,Ie=8,Dt=9,Jr=10,W=11,gs=12,vg=13,eo=14,Re=15,ms=16,to=17,mn=18,ys=19,Dg=20,er=21,Zi=22,_r=23,Z=25,Xl=1,yn=7,no=9,Be=10;var ro=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e[e.HasChildViewsToRefresh=4]="HasChildViewsToRefresh",e}(ro||{});function ut(e){return Array.isArray(e)&&"object"==typeof e[Xl]}function it(e){return Array.isArray(e)&&!0===e[Xl]}function Jl(e){return 0!=(4&e.flags)}function Ir(e){return e.componentOffset>-1}function Yi(e){return 1==(1&e.flags)}function on(e){return!!e.template}function eu(e){return 0!=(512&e[F])}function br(e,t){return e.hasOwnProperty(Fn)?e[Fn]:null}class iS{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Ds(){return _g}function _g(e){return e.type.prototype.ngOnChanges&&(e.setInput=cS),aS}function aS(){const e=bg(this),t=e?.current;if(t){const n=e.previous;if(n===gn)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function cS(e,t,n,r){const o=this.declaredInputs[n],s=bg(e)||function lS(e,t){return e[Ig]=t}(e,{previous:gn,current:null}),i=s.current||(s.current={}),a=s.previous,c=a[o];i[o]=new iS(c&&c.currentValue,t,a===gn),e[r]=t}Ds.ngInherit=!0;const Ig="__ngSimpleChanges__";function bg(e){return e[Ig]||null}const vn=function(e,t,n){};function be(e){for(;Array.isArray(e);)e=e[ke];return e}function wt(e,t){return be(t[e.index])}function Cs(e,t){return e.data[t]}function oo(e,t){return e[t]}function Lt(e,t){const n=t[e];return ut(n)?n:n[ke]}function su(e){return 128==(128&e[F])}function Dn(e,t){return null==t?null:e[t]}function Tg(e){e[to]=0}function pS(e){1024&e[F]||(e[F]|=1024,su(e)&&Ki(e))}function Ag(e){return 9216&e[F]||e[_r]?.dirty}function xg(e){Ag(e)&&Ki(e)}function Ki(e){let t=e[xe];for(;null!==t&&!(it(t)&&t[F]&ro.HasChildViewsToRefresh||ut(t)&&8192&t[F]);){if(it(t))t[F]|=ro.HasChildViewsToRefresh;else if(t[F]|=8192,!su(t))break;t=t[xe]}}const z={lFrame:$g(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Rg(){return z.bindingsEnabled}function so(){return null!==z.skipHydrationRootTNode}function D(){return z.lFrame.lView}function oe(){return z.lFrame.tView}function Es(e){return z.lFrame.contextLView=e,e[Ie]}function _s(e){return z.lFrame.contextLView=null,e}function we(){let e=Pg();for(;null!==e&&64===e.type;)e=e.parent;return e}function Pg(){return z.lFrame.currentTNode}function wn(e,t){const n=z.lFrame;n.currentTNode=e,n.isParent=t}function au(){return z.lFrame.isParent}function cu(){z.lFrame.isParent=!1}function Ct(){const e=z.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function bS(e,t){const n=z.lFrame;n.bindingIndex=n.bindingRootIndex=e,lu(t)}function lu(e){z.lFrame.currentDirectiveIndex=e}function Vg(){return z.lFrame.currentQueryIndex}function du(e){z.lFrame.currentQueryIndex=e}function MS(e){const t=e[_];return 2===t.type?t.declTNode:1===t.type?e[pt]:null}function jg(e,t,n){if(n&re.SkipSelf){let o=t,s=e;for(;!(o=o.parent,null!==o||n&re.Host||(o=MS(s),null===o||(s=s[eo],10&o.type))););if(null===o)return!1;t=o,e=s}const r=z.lFrame=Hg();return r.currentTNode=t,r.lView=e,!0}function fu(e){const t=Hg(),n=e[_];z.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Hg(){const e=z.lFrame,t=null===e?null:e.child;return null===t?$g(e):t}function $g(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function Bg(){const e=z.lFrame;return z.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Ug=Bg;function hu(){const e=Bg();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function gt(){return z.lFrame.selectedIndex}function Sr(e){z.lFrame.selectedIndex=e}let Gg=!0;function Ji(){return Gg}function tr(e){Gg=e}function ea(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[c]<0&&(e[to]+=65536),(a>14>16&&(3&e[F])===t&&(e[F]+=16384,Wg(a,s)):Wg(a,s)}const io=-1;class bs{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function mu(e){return e!==io}function Ss(e){return 32767&e}function Ms(e,t){let n=function jS(e){return e>>16}(e),r=t;for(;n>0;)r=r[eo],n--;return r}let yu=!0;function ra(e){const t=yu;return yu=e,t}const Zg=255,Qg=5;let HS=0;const En={};function oa(e,t){const n=Yg(e,t);if(-1!==n)return n;const r=t[_];r.firstCreatePass&&(e.injectorIndex=t.length,vu(r.data,e),vu(t,null),vu(r.blueprint,null));const o=sa(e,t),s=e.injectorIndex;if(mu(o)){const i=Ss(o),a=Ms(o,t),c=a[_].data;for(let l=0;l<8;l++)t[s+l]=a[i+l]|c[i+l]}return t[s+8]=o,s}function vu(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Yg(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function sa(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){if(r=rm(o),null===r)return io;if(n++,o=o[eo],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return io}function Du(e,t,n){!function $S(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(ds)&&(r=n[ds]),null==r&&(r=n[ds]=HS++);const o=r&Zg;t.data[e+(o>>Qg)]|=1<=0?t&Zg:GS:t}(n);if("function"==typeof s){if(!jg(t,e,r))return r&re.Host?Kg(o,0,r):Xg(t,n,r,o);try{let i;if(i=s(r),null!=i||r&re.Optional)return i;$l()}finally{Ug()}}else if("number"==typeof s){let i=null,a=Yg(e,t),c=io,l=r&re.Host?t[Re][pt]:null;for((-1===a||r&re.SkipSelf)&&(c=-1===a?sa(e,t):t[a+8],c!==io&&nm(r,!1)?(i=t[_],a=Ss(c),t=Ms(c,t)):a=-1);-1!==a;){const u=t[_];if(tm(s,a,u.data)){const d=US(a,t,n,i,r,l);if(d!==En)return d}c=t[a+8],c!==io&&nm(r,t[_].data[a+8]===l)&&tm(s,a,t)?(i=u,a=Ss(c),t=Ms(c,t)):a=-1}}return o}function US(e,t,n,r,o,s){const i=t[_],a=i.data[e+8],u=ia(a,i,n,null==r?Ir(a)&&yu:r!=i&&0!=(3&a.type),o&re.Host&&s===a);return null!==u?Mr(t,i,u,a):En}function ia(e,t,n,r,o){const s=e.providerIndexes,i=t.data,a=1048575&s,c=e.directiveStart,u=s>>20,f=o?a+u:e.directiveEnd;for(let h=r?a:a+u;h=c&&p.type===n)return h}if(o){const h=i[c];if(h&&on(h)&&h.type===n)return c}return null}function Mr(e,t,n,r){let o=e[n];const s=t.data;if(function FS(e){return e instanceof bs}(o)){const i=o;i.resolving&&function Sb(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new N(-200,`Circular dependency in DI detected for ${e}${n}`)}(function ue(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():q(e)}(s[n]));const a=ra(i.canSeeViewProviders);i.resolving=!0;const l=i.injectImpl?Tt(i.injectImpl):null;jg(e,r,re.Default);try{o=e[n]=i.factory(void 0,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&function RS(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:s}=t.type.prototype;if(r){const i=_g(t);(n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i)}o&&(n.preOrderHooks??=[]).push(0-e,o),s&&((n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s))}(n,s[n],t)}finally{null!==l&&Tt(l),ra(a),i.resolving=!1,Ug()}}return o}function tm(e,t,n){return!!(n[t+(e>>Qg)]&1<{const r=function Eu(e){return function(...n){if(e){const r=e(...n);for(const o in r)this[o]=r[o]}}}(t);function o(...s){if(this instanceof o)return r.apply(this,s),this;const i=new o(...s);return a.annotation=i,a;function a(c,l,u){const d=c.hasOwnProperty(uo)?c[uo]:Object.defineProperty(c,uo,{value:[]})[uo];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(i),c}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}function go(e,t){e.forEach(n=>Array.isArray(n)?go(n,t):t(n))}function sm(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function aa(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Ns(e,t){const n=[];for(let r=0;r{n.push(i)};return go(t,i=>{const a=i;da(a,s,[],r)&&(o||=[],o.push(a))}),void 0!==o&&pm(o,s),n}function pm(e,t){for(let n=0;n{t(s,r)})}}function da(e,t,n,r){if(!(e=H(e)))return!1;let o=null,s=Bi(e);const i=!s&&J(e);if(s||i){if(i&&!i.standalone)return!1;o=e}else{const c=e.ngModule;if(s=Bi(c),!s)return!1;o=c}const a=r.has(o);if(i){if(a)return!1;if(r.add(o),i.dependencies){const c="function"==typeof i.dependencies?i.dependencies():i.dependencies;for(const l of c)da(l,t,n,r)}}else{if(!s)return!1;{if(null!=s.imports&&!a){let l;r.add(o);try{go(s.imports,u=>{da(u,t,n,r)&&(l||=[],l.push(u))})}finally{}void 0!==l&&pm(l,t)}if(!a){const l=br(o)||(()=>new o);t({provide:o,useFactory:l,deps:ae},o),t({provide:Nu,useValue:o,multi:!0},o),t({provide:xs,useValue:()=>se(o),multi:!0},o)}const c=s.providers;if(null!=c&&!a){const l=e;Au(c,u=>{t(u,l)})}}}return o!==e&&void 0!==e.providers}function Au(e,t){for(let n of e)Vl(n)&&(n=n.\u0275providers),Array.isArray(n)?Au(n,t):t(n)}const mM=ve({provide:String,useValue:ve});function xu(e){return null!==e&&"object"==typeof e&&mM in e}function Tr(e){return"function"==typeof e}const Ou=new U("Set Injector scope."),fa={},vM={};let Ru;function ha(){return void 0===Ru&&(Ru=new ua),Ru}class jn{}class vo extends jn{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Fu(t,i=>this.processProvider(i)),this.records.set(dm,Do(void 0,this)),o.has("environment")&&this.records.set(jn,Do(void 0,this));const s=this.records.get(Ou);null!=s&&"string"==typeof s.value&&this.scopes.add(s.value),this.injectorDefTypes=new Set(this.get(Nu,ae,re.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const n of t)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=Jn(this),r=Tt(void 0);try{return t()}finally{Jn(n),Tt(r)}}get(t,n=fs,r=re.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Jp))return t[Jp](this);r=Gi(r);const s=Jn(this),i=Tt(void 0);try{if(!(r&re.SkipSelf)){let c=this.records.get(t);if(void 0===c){const l=function _M(e){return"function"==typeof e||"object"==typeof e&&e instanceof U}(t)&&$i(t);c=l&&this.injectableDefInScope(l)?Do(Pu(t),fa):null,this.records.set(t,c)}if(null!=c)return this.hydrate(t,c)}return(r&re.Self?ha():this.parent).get(t,n=r&re.Optional&&n===fs?null:n)}catch(a){if("NullInjectorError"===a.name){if((a[zi]=a[zi]||[]).unshift(qe(t)),s)throw a;return function Hb(e,t,n,r){const o=e[zi];throw t[sg]&&o.unshift(t[sg]),e.message=function $b(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=qe(t);if(Array.isArray(t))o=t.map(qe).join(" -> ");else if("object"==typeof t){let s=[];for(let i in t)if(t.hasOwnProperty(i)){let a=t[i];s.push(i+":"+("string"==typeof a?JSON.stringify(a):qe(a)))}o=`{${s.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Fb,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[zi]=null,e}(a,t,"R3InjectorError",this.source)}throw a}finally{Tt(i),Jn(s)}}resolveInjectorInitializers(){const t=Jn(this),n=Tt(void 0);try{const o=this.get(xs,ae,re.Self);for(const s of o)s()}finally{Jn(t),Tt(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(qe(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new N(205,!1)}processProvider(t){let n=Tr(t=H(t))?t:H(t&&t.provide);const r=function wM(e){return xu(e)?Do(void 0,e.useValue):Do(function ym(e,t,n){let r;if(Tr(e)){const o=H(e);return br(o)||Pu(o)}if(xu(e))r=()=>H(e.useValue);else if(function mm(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Ql(e.deps||[]));else if(function gm(e){return!(!e||!e.useExisting)}(e))r=()=>se(H(e.useExisting));else{const o=H(e&&(e.useClass||e.provide));if(!function CM(e){return!!e.deps}(e))return br(o)||Pu(o);r=()=>new o(...Ql(e.deps))}return r}(e),fa)}(t);if(Tr(t)||!0!==t.multi)this.records.get(n);else{let o=this.records.get(n);o||(o=Do(void 0,fa,!0),o.factory=()=>Ql(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===fa&&(n.value=vM,n.value=n.factory()),"object"==typeof n.value&&n.value&&function EM(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=H(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function Pu(e){const t=$i(e),n=null!==t?t.factory:br(e);if(null!==n)return n;if(e instanceof U)throw new N(204,!1);if(e instanceof Function)return function DM(e){const t=e.length;if(t>0)throw Ns(t,"?"),new N(204,!1);const n=function xb(e){return e&&(e[Ui]||e[tg])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new N(204,!1)}function Do(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Fu(e,t){for(const n of e)Array.isArray(n)?Fu(n,t):n&&Vl(n)?Fu(n.\u0275providers,t):t(n)}function Cm(e,t=null,n=null,r){const o=Em(e,t,n,r);return o.resolveInjectorInitializers(),o}function Em(e,t=null,n=null,r,o=new Set){const s=[n||ae,gM(e)];return r=r||("object"==typeof e?void 0:qe(e)),new vo(s,t||ha(),r||null,o)}let Vu,sn=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=fs;static#t=this.NULL=new ua;static create(n,r){if(Array.isArray(n))return Cm({name:""},r,n,"");{const o=n.name??"";return Cm({name:o},n.parent,n.providers,o)}}static#n=this.\u0275prov=de({token:e,providedIn:"any",factory:()=>se(dm)});static#r=this.__NG_ELEMENT_ID__=-1}return e})();const ga=new U("AppId",{providedIn:"root",factory:()=>OM}),OM="ng",Im=new U("Platform Initializer"),wo=new U("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),bm=new U("CSP nonce",{providedIn:"root",factory:()=>function nr(){if(void 0!==Vu)return Vu;if(typeof document<"u")return document;throw new N(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function Da(e){return 128==(128&e.flags)}var sr=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(sr||{});const Uu=new Map;let GM=0;const Gu="__ngContext__";function mt(e,t){ut(t)?(e[Gu]=t[ys],function WM(e){Uu.set(e[ys],e)}(t)):e[Gu]=t}let qu;function Wu(e,t){return qu(e,t)}function ks(e){const t=e[xe];return it(t)?t[xe]:t}function Um(e){return Gm(e[gs])}function zm(e){return Gm(e[nn])}function Gm(e){for(;null!==e&&!it(e);)e=e[nn];return e}function Eo(e,t,n,r,o){if(null!=r){let s,i=!1;it(r)?s=r:ut(r)&&(i=!0,r=r[ke]);const a=be(r);0===e&&null!==n?null==o?Qm(t,n,a):Ar(t,n,a,o||null,!0):1===e&&null!==n?Ar(t,n,a,o||null,!0):2===e?function Sa(e,t,n){const r=Ia(e,t);r&&function h0(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,a,i):3===e&&t.destroyNode(a),null!=s&&function m0(e,t,n,r,o){const s=n[yn];s!==be(n)&&Eo(t,e,r,s,o);for(let a=Be;a0&&(e[n-1][nn]=r[nn]);const s=aa(e,Be+t);!function o0(e,t){js(e,t,t[W],2,null,null),t[ke]=null,t[pt]=null}(r[_],r);const i=s[mn];null!==i&&i.detachView(s[_]),r[xe]=null,r[nn]=null,r[F]&=-129}return r}function _a(e,t){if(!(256&t[F])){const n=t[W];n.destroyNode&&js(e,t,n,3,null,null),function c0(e){let t=e[gs];if(!t)return Qu(e[_],e);for(;t;){let n=null;if(ut(t))n=t[gs];else{const r=t[Be];r&&(n=r)}if(!n){for(;t&&!t[nn]&&t!==e;)ut(t)&&Qu(t[_],t),t=t[xe];null===t&&(t=e),ut(t)&&Qu(t[_],t),n=t&&t[nn]}t=n}}(t)}}function Qu(e,t){if(!(256&t[F])){t[F]&=-129,t[F]|=256,t[_r]&&function hp(e){if(Zr(e),cs(e))for(let t=0;t=0?r[i]():r[-i].unsubscribe(),s+=2}else n[s].call(r[n[s+1]]);null!==r&&(t[Xr]=null);const o=t[er];if(null!==o){t[er]=null;for(let s=0;s-1){const{encapsulation:s}=e.data[r.directiveStart+o];if(s===en.None||s===en.Emulated)return null}return wt(r,n)}}(e,t.parent,n)}function Ar(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Qm(e,t,n){e.appendChild(t,n)}function Ym(e,t,n,r,o){null!==r?Ar(e,t,n,r,o):Qm(e,t,n)}function Ia(e,t){return e.parentNode(t)}function Km(e,t,n){return Jm(e,t,n)}let Ku,Jm=function Xm(e,t,n){return 40&e.type?wt(e,n):null};function ba(e,t,n,r){const o=Yu(e,r,t),s=t[W],a=Km(r.parent||t[pt],r,t);if(null!=o)if(Array.isArray(n))for(let c=0;cnull;function hd(e,t,n=!1){return vy(e,t,n)}class J0{}class Cy{}class tT{resolveComponentFactory(t){throw function eT(e){const t=Error(`No component factory found for ${qe(e)}.`);return t.ngComponent=e,t}(t)}}let Fa=(()=>{class e{static#e=this.NULL=new tT}return e})();function nT(){return Mo(we(),D())}function Mo(e,t){return new xr(wt(e,t))}let xr=(()=>{class e{constructor(n){this.nativeElement=n}static#e=this.__NG_ELEMENT_ID__=nT}return e})();function rT(e){return e instanceof xr?e.nativeElement:e}class _y{}let Iy=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function oT(){const e=D(),n=Lt(we().index,e);return(ut(n)?n:e)[W]}()}return e})(),sT=(()=>{class e{static#e=this.\u0275prov=de({token:e,providedIn:"root",factory:()=>null})}return e})();class md{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const iT=new md("17.0.7"),yd={};function by(e){const t=Fe(null);try{return e()}finally{Fe(t)}}function ka(e){return!!vd(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function vd(e){return null!==e&&("function"==typeof e||"object"==typeof e)}class Sy{constructor(){}supports(t){return ka(t)}create(t){return new dT(t)}}const uT=(e,t)=>t;class dT{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||uT}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,s=null;for(;n||r;){const i=!r||n&&n.currentIndex{i=this._trackByFn(o,a),null!==n&&Object.is(n.trackById,i)?(r&&(n=this._verifyReinsertion(n,a,i,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,i,o),r=!0),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let s;return null===t?s=this._itTail:(s=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,s,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,s,o)):t=this._addAfter(new fT(n,r),s,o),t}_verifyReinsertion(t,n,r,o){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==s?t=this._reinsertAfter(s,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const o=t._prevRemoved,s=t._nextRemoved;return null===o?this._removalsHead=s:o._nextRemoved=s,null===s?this._removalsTail=o:s._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const o=null===n?this._itHead:n._next;return t._next=o,t._prev=n,null===o?this._itTail=t:o._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new My),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new My),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class fT{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class hT{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class My{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new hT,this.map.set(n,r)),r.add(t)}get(t,n){const o=this.map.get(t);return o?o.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Ty(e,t,n){const r=e.previousIndex;if(null===r)return r;let o=0;return n&&r{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const s=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,s)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const o=this._records.get(t);this._maybeAddToChanges(o,n);const s=o._prev,i=o._next;return s&&(s._next=i),i&&(i._prev=s),o._next=null,o._prev=null,o}const r=new gT(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}}class gT{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function Ay(){return new La([new Sy])}let La=(()=>{class e{static#e=this.\u0275prov=de({token:e,providedIn:"root",factory:Ay});constructor(n){this.factories=n}static create(n,r){if(null!=r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Ay()),deps:[[e,new Mu,new Su]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(null!=r)return r;throw new N(901,!1)}}return e})();function xy(){return new Gs([new Ny])}let Gs=(()=>{class e{static#e=this.\u0275prov=de({token:e,providedIn:"root",factory:xy});constructor(n){this.factories=n}static create(n,r){if(r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||xy()),deps:[[e,new Mu,new Su]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(r)return r;throw new N(901,!1)}}return e})();function qs(e,t,n,r,o=!1){for(;null!==n;){const s=t[n.index];null!==s&&r.push(be(s)),it(s)&&Oy(s,r);const i=n.type;if(8&i)qs(e,t,n.child,r);else if(32&i){const a=Wu(n,t);let c;for(;c=a();)r.push(c)}else if(16&i){const a=ty(t,n);if(Array.isArray(a))r.push(...a);else{const c=ks(t[Re]);qs(c[_],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Oy(e,t){for(let n=Be;n!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{},consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Ki(e.lView)},consumerOnSignalRead(){this.lView[_r]=this}};function Dd(e){return e.ngOriginalError}class $n{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Dd(t);for(;n&&Dd(n);)n=Dd(n);return n||null}}const Fy=new U("",{providedIn:"root",factory:()=>me($n).handleError.bind(void 0)}),Ly=new U("",{providedIn:"root",factory:()=>!1}),Y={};function yt(e){$y(oe(),D(),gt()+e,!1)}function $y(e,t,n,r){if(!r)if(3==(3&t[F])){const s=e.preOrderCheckHooks;null!==s&&ta(t,s,n)}else{const s=e.preOrderHooks;null!==s&&na(t,s,0,n)}Sr(n)}function K(e,t=re.Default){const n=D();return null===n?se(e,t):Jg(we(),n,H(e),t)}function ja(e,t,n,r,o,s,i,a,c,l,u){const d=t.blueprint.slice();return d[ke]=o,d[F]=140|r,(null!==l||e&&2048&e[F])&&(d[F]|=2048),Tg(d),d[xe]=d[eo]=e,d[Ie]=n,d[Jr]=i||e&&e[Jr],d[W]=a||e&&e[W],d[Dt]=c||e&&e[Dt]||null,d[pt]=s,d[ys]=function qM(){return GM++}(),d[rn]=u,d[Dg]=l,d[Re]=2==t.type?e[Re]:d,d}function To(e,t,n,r,o){let s=e.data[t];if(null===s)s=function wd(e,t,n,r,o){const s=Pg(),i=au(),c=e.data[t]=function PT(e,t,n,r,o,s){let i=t?t.injectorIndex:-1,a=0;return so()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:i,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:s,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,i?s:s&&s.parent,n,t,r,o);return null===e.firstChild&&(e.firstChild=c),null!==s&&(i?null==s.child&&null!==c.parent&&(s.child=c):null===s.next&&(s.next=c,c.prev=s)),c}(e,t,n,r,o),function IS(){return z.lFrame.inI18n}()&&(s.flags|=32);else if(64&s.type){s.type=n,s.value=r,s.attrs=o;const i=function Is(){const e=z.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();s.injectorIndex=null===i?-1:i.injectorIndex}return wn(s,!0),s}function Ws(e,t,n,r){if(0===n)return-1;const o=t.length;for(let s=0;sZ&&$y(e,t,Z,!1),vn(i?2:0,o),n(r,o)}finally{Sr(s),vn(i?3:1,o)}}function Cd(e,t,n){if(Jl(t)){const r=Fe(null);try{const s=t.directiveEnd;for(let i=t.directiveStart;inull;function Gy(e,t,n,r){for(let o in e)if(e.hasOwnProperty(o)){n=null===n?{}:n;const s=e[o];null===r?qy(n,t,o,s):r.hasOwnProperty(o)&&qy(n,t,r[o],s)}return n}function qy(e,t,n,r){e.hasOwnProperty(n)?e[n].push(t,r):e[n]=[t,r]}function bd(e,t,n,r){if(Rg()){const o=null===r?null:{"":-1},s=function UT(e,t){const n=e.directiveRegistry;let r=null,o=null;if(n)for(let s=0;s0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(i)!=a&&i.push(a),i.push(n,r,s)}}(e,t,r,Ws(e,n,o.hostVars,Y),o)}function QT(e,t,n,r,o,s){const i=s[t];if(null!==i)for(let a=0;ae.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}(a,i),function DT(e){e.lView[_r]!==e&&(e.lView=null,Ry.push(e))}(a)),hu()}}function tv(e,t){for(let n=Um(e);null!==n;n=zm(n)){n[F]&=~ro.HasChildViewsToRefresh;for(let r=Be;r-1&&(Ls(t,r),aa(n,r))}this._attachedToViewContainer=!1}_a(this._lView[_],this._lView)}onDestroy(t){!function Xi(e,t){if(256==(256&e[F]))throw new N(911,!1);null===e[er]&&(e[er]=[]),e[er].push(t)}(this._lView,t)}markForCheck(){Zs(this._cdRefInjectingView||this._lView)}detach(){this._lView[F]&=-129}reattach(){xg(this._lView),this._lView[F]|=128}detectChanges(){this._lView[F]|=1024,function Ad(e,t=!0){const n=e[Jr],r=n.rendererFactory,o=n.afterRenderEventManager;r.begin?.(),o?.begin();try{!function XT(e){xd(e,0);let t=0;for(;Ag(e);){if(100===t)throw new N(103,!1);t++,xd(e,1)}}(e)}catch(i){throw t&&$a(e,i),i}finally{r.end?.(),n.inlineEffectRunner?.flush(),o?.end()}}(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new N(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function a0(e,t){js(e,t,t[W],2,null,null)}(this._lView[_],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new N(902,!1);this._appRef=t}}let Od=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=rN}return e})();function rN(e){return function oN(e,t,n){if(Ir(e)&&!n){const r=Lt(e.index,t);return new Qs(r,r)}return 47&e.type?new Qs(t[Re],t):null}(we(),D(),16==(16&e))}function Pd(e){return t=>{setTimeout(e,void 0,t)}}const $t=class pN extends Vi{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let o=t,s=n||(()=>null),i=r;if(t&&"object"==typeof t){const c=t;o=c.next?.bind(c),s=c.error?.bind(c),i=c.complete?.bind(c)}this.__isAsync&&(s=Pd(s),o&&(o=Pd(o)),i&&(i=Pd(i)));const a=super.subscribe({next:o,error:s,complete:i});return t instanceof pn&&t.add(a),a}};function sv(...e){}class Se{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new $t(!1),this.onMicrotaskEmpty=new $t(!1),this.onStable=new $t(!1),this.onError=new $t(!1),typeof Zone>"u")throw new N(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function gN(){const e="function"==typeof _e.requestAnimationFrame;let t=_e[e?"requestAnimationFrame":"setTimeout"],n=_e[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);const o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function vN(e){const t=()=>{!function yN(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(_e,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,kd(e),e.isCheckStableRunning=!0,Fd(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),kd(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,s,i,a)=>{if(function wN(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(a))return n.invokeTask(o,s,i,a);try{return iv(e),n.invokeTask(o,s,i,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&t(),av(e)}},onInvoke:(n,r,o,s,i,a,c)=>{try{return iv(e),n.invoke(o,s,i,a,c)}finally{e.shouldCoalesceRunChangeDetection&&t(),av(e)}},onHasTask:(n,r,o,s)=>{n.hasTask(o,s),r===o&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,kd(e),Fd(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(n,r,o,s)=>(n.handleError(o,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Se.isInAngularZone())throw new N(909,!1)}static assertNotInAngularZone(){if(Se.isInAngularZone())throw new N(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){const s=this._inner,i=s.scheduleEventTask("NgZoneEvent: "+o,t,mN,sv,sv);try{return s.runTask(i,n,r)}finally{s.cancelTask(i)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const mN={};function Fd(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function kd(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function iv(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function av(e){e._nesting--,Fd(e)}class DN{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new $t,this.onMicrotaskEmpty=new $t,this.onStable=new $t,this.onError=new $t}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}}const cv=new U("",{providedIn:"root",factory:lv});function lv(){const e=me(Se);let t=!0;return vb(new St(o=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{o.next(t),o.complete()})}),new St(o=>{let s;e.runOutsideAngular(()=>{s=e.onStable.subscribe(()=>{Se.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,o.next(!0))})})});const i=e.onUnstable.subscribe(()=>{Se.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{o.next(!1)}))});return()=>{s.unsubscribe(),i.unsubscribe()}}).pipe(function wb(e={}){const{connector:t=(()=>new Vi),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return s=>{let i,a,c,l=0,u=!1,d=!1;const f=()=>{a?.unsubscribe(),a=void 0},h=()=>{f(),i=c=void 0,u=d=!1},p=()=>{const g=i;h(),g?.unsubscribe()};return Dr((g,y)=>{l++,!d&&!u&&f();const v=c=c??t();y.add(()=>{l--,0===l&&!d&&!u&&(a=Fl(p,o))}),v.subscribe(y),!i&&l>0&&(i=new ls({next:m=>v.next(m),error:m=>{d=!0,f(),a=Fl(h,n,m),v.error(m)},complete:()=>{u=!0,f(),a=Fl(h,r),v.complete()}}),Pn(g).subscribe(i))})(s)}}()))}let Ba=(()=>{class e{constructor(){this.renderDepth=0,this.handler=null,this.internalCallbacks=[]}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){if(this.renderDepth--,0===this.renderDepth){for(const n of this.internalCallbacks)n();this.internalCallbacks.length=0,this.handler?.execute()}}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=de({token:e,providedIn:"root",factory:()=>new e})}return e})();function IN(e,t){const n=Lt(t,e),r=n[_];!function bN(e,t){for(let n=t.length;n0&&oy(e,n,s.join(" "))}}(d,b,h,r),void 0!==n&&function FN(e,t,n){const r=e.projection=[];for(let o=0;o0&&(n[o-1][nn]=t),r{class e{static#e=this.__NG_ELEMENT_ID__=ZA}return e})();function ZA(){return oD(we(),D())}const QA=Mn,nD=class extends QA{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Mo(this._hostTNode,this._hostLView)}get injector(){return new Je(this._hostTNode,this._hostLView)}get parentInjector(){const t=sa(this._hostTNode,this._hostLView);if(mu(t)){const n=Ms(t,this._hostLView),r=Ss(t);return new Je(n[_].data[r+8],n)}return new Je(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=rD(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-Be}createEmbeddedView(t,n,r){let o,s;"number"==typeof r?o=r:null!=r&&(o=r.index,s=r.injector);const a=t.createEmbeddedViewImpl(n||{},s,null);return this.insertImpl(a,o,Ho(this._hostTNode,null)),a}createComponent(t,n,r,o,s){const i=t&&!function Ts(e){return"function"==typeof e}(t);let a;if(i)a=n;else{const p=n||{};a=p.index,r=p.injector,o=p.projectableNodes,s=p.environmentInjector||p.ngModuleRef}const c=i?t:new Ys(J(t)),l=r||this.parentInjector;if(!s&&null==c.ngModule){const g=(i?l:this.parentInjector).get(jn,null);g&&(s=g)}J(c.componentType??{});const h=c.create(l,o,null,s);return this.insertImpl(h.hostView,a,Ho(this._hostTNode,null)),h}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){const o=t._lView;if(function hS(e){return it(e[xe])}(o)){const a=this.indexOf(t);if(-1!==a)this.detach(a);else{const c=o[xe],l=new nD(c,c[pt],c[xe]);l.detach(l.indexOf(t))}}const s=this._adjustIndex(n),i=this._lContainer;return oi(i,o,s,r),t.attachToViewContainerRef(),sm(Kd(i),s,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=rD(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=Ls(this._lContainer,n);r&&(aa(Kd(this._lContainer),n),_a(r[_],r))}detach(t){const n=this._adjustIndex(t,-1),r=Ls(this._lContainer,n);return r&&null!=aa(Kd(this._lContainer),n)?new Qs(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function rD(e){return e[8]}function Kd(e){return e[8]||(e[8]=[])}function oD(e,t){let n;const r=t[e.index];return it(r)?n=r:(n=Yy(r,t,null,e),t[e.index]=n,Ha(t,n)),sD(n,t,e,r),new nD(n,e,t)}let sD=function aD(e,t,n,r){if(e[yn])return;let o;o=8&n.type?be(r):function YA(e,t){const n=e[W],r=n.createComment(""),o=wt(t,e);return Ar(n,Ia(n,o),r,function p0(e,t){return e.nextSibling(t)}(n,o),!1),r}(t,n),e[yn]=o},Xd=(e,t,n)=>!1;function Ot(e,t,n,r,o,s,i,a){const c=D(),l=oe(),u=e+Z,d=l.firstCreatePass?function ex(e,t,n,r,o,s,i,a,c){const l=t.consts,u=To(t,e,4,i||null,Dn(l,a));bd(t,n,u,Dn(l,c)),ea(t,u);const d=u.tView=Id(2,u,r,o,s,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l,null);return null!==t.queries&&(t.queries.template(t,u),d.queries=t.queries.embeddedTView(u)),u}(u,l,c,t,n,r,o,s,i):l.data[u];wn(d,!1);const f=cD(l,c,d,e);Ji()&&ba(l,c,f,d),mt(f,c);const h=Yy(f,c,f,d);return c[u]=h,Ha(c,h),function iD(e,t,n){return Xd(e,t,n)}(h,d,c),Yi(d)&&Ed(l,c,d),null!=i&&_d(c,d,a),Ot}let cD=function lD(e,t,n,r){return tr(!0),t[W].createComment("")};function ze(e,t,n,r){const o=D(),s=oe(),i=Z+e,a=o[W],c=s.firstCreatePass?function Ux(e,t,n,r,o,s){const i=t.consts,c=To(t,e,2,r,Dn(i,o));return bd(t,n,c,Dn(i,s)),null!==c.attrs&&Ua(c,c.attrs,!1),null!==c.mergedAttrs&&Ua(c,c.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,c),c}(i,s,o,t,n,r):s.data[i],l=OD(s,o,c,a,t,e);o[i]=l;const u=Yi(c);return wn(c,!0),sy(a,l,c),32!=(32&c.flags)&&Ji()&&ba(s,o,l,c),0===function gS(){return z.lFrame.elementDepthCount}()&&mt(l,o),function mS(){z.lFrame.elementDepthCount++}(),u&&(Ed(s,o,c),Cd(s,c,o)),null!==r&&_d(o,c),ze}function rt(){let e=we();au()?cu():(e=e.parent,wn(e,!1));const t=e;(function vS(e){return z.skipHydrationRootTNode===e})(t)&&function ES(){z.skipHydrationRootTNode=null}(),function yS(){z.lFrame.elementDepthCount--}();const n=oe();return n.firstCreatePass&&(ea(n,e),Jl(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function LS(e){return 0!=(8&e.flags)}(t)&&$d(n,t,D(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function VS(e){return 0!=(16&e.flags)}(t)&&$d(n,t,D(),t.stylesWithoutHost,!1),rt}function rc(e,t,n,r){return ze(e,t,n,r),rt(),rc}let OD=(e,t,n,r,o,s)=>(tr(!0),Ea(r,o,function zg(){return z.lFrame.currentNamespace}()));function ff(){return D()}const Zo="en-US";let jD=Zo;function gf(e){return!!e&&"function"==typeof e.then}function uw(e){return!!e&&"function"==typeof e.subscribe}function Vr(e,t,n,r){const o=D(),s=oe(),i=we();return function fw(e,t,n,r,o,s,i){const a=Yi(r),l=e.firstCreatePass&&Jy(e),u=t[Ie],d=Xy(t);let f=!0;if(3&r.type||i){const g=wt(r,t),y=i?i(g):g,v=d.length,m=i?w=>i(be(w[r.index])):r.index;let C=null;if(!i&&a&&(C=function GO(e,t,n,r){const o=e.cleanup;if(null!=o)for(let s=0;sc?a[c]:null}"string"==typeof i&&(s+=2)}return null}(e,t,o,r.index)),null!==C)(C.__ngLastListenerFn__||C).__ngNextListenerFn__=s,C.__ngLastListenerFn__=s,f=!1;else{s=pw(r,t,u,s,!1);const w=n.listen(y,o,s);d.push(s,w),l&&l.push(o,m,v,v+1)}}else s=pw(r,t,u,s,!1);const h=r.outputs;let p;if(f&&null!==h&&(p=h[o])){const g=p.length;if(g)for(let y=0;y-1?Lt(e.index,t):t);let c=hw(t,n,r,i),l=s.__ngNextListenerFn__;for(;l;)c=hw(t,n,l,i)&&c,l=l.__ngNextListenerFn__;return o&&!1===c&&i.preventDefault(),c}}function lr(e=1){return function TS(e){return(z.lFrame.contextLView=function Ng(e,t){for(;e>0;)t=t[eo],e--;return t}(e,z.lFrame.contextLView))[Ie]}(e)}function qO(e,t){let n=null;const r=function qb(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(!(1&n))return t[n+1]}return null}(e);for(let o=0;o(tr(!0),function Ca(e,t){return e.createText(t)}(t[W],r));function vf(e,t,n,r,o){const s=D(),i=xo(s,e,t,n,r,o);return i!==Y&&Bn(s,gt(),i),vf}class jr{}class dR{}class _f extends jr{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new pv(this);const o=function ht(e,t){const n=e[Xp]||null;if(!n&&!0===t)throw new Error(`Type ${qe(e)} does not have '\u0275mod' property.`);return n}(t);this._bootstrapComponents=function jt(e){return e instanceof Function?e():e}(o.bootstrap),this._r3Injector=Em(t,n,[{provide:jr,useValue:this},{provide:Fa,useValue:this.componentFactoryResolver},...r],qe(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class If extends dR{constructor(t){super(),this.moduleType=t}create(t){return new _f(this.moduleType,t,[])}}function Sf(e,t,n,r){return Jw(D(),Ct(),e,t,n,r)}function hi(e,t){const n=e[t];return n===Y?void 0:n}function Jw(e,t,n,r,o,s){const i=t+n;return We(e,i,o)?In(e,i+1,s?r.call(s,o):r(o)):hi(e,i+1)}function Mf(e,t){const n=oe();let r;const o=e+Z;n.firstCreatePass?(r=function kR(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];const s=r.factory||(r.factory=br(r.type)),a=Tt(K);try{const c=ra(!1),l=s();return ra(c),function WO(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,D(),o,l),l}finally{Tt(a)}}function sC(e,t,n,r){const o=e+Z,s=D(),i=oo(s,o);return pi(s,o)?function eC(e,t,n,r,o,s,i){const a=t+n;return Pr(e,a,o,s)?In(e,a+2,i?r.call(i,o,s):r(o,s)):hi(e,a+2)}(s,Ct(),t,i.transform,n,r,i):i.transform(n,r)}function pi(e,t){return e[_].data[t].pure}function HR(){return this._results[Symbol.iterator]()}class Tf{static#e=Symbol.iterator;get changes(){return this._changes??=new $t}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const n=Tf.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=HR)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;const r=function At(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function XS(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r{class e{static#e=this.__NG_ELEMENT_ID__=UR}return e})();const $R=Un,BR=class extends $R{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){const o=function ri(e,t,n,r){const o=t.tView,a=ja(e,o,n,4096&e[F]?4096:16,null,t,null,null,null,r?.injector??null,r?.dehydratedView??null);a[ms]=e[t.index];const l=e[mn];return null!==l&&(a[mn]=l.createEmbeddedView(o)),Ld(o,a,n),a}(this._declarationLView,this._declarationTContainer,t,{injector:n,dehydratedView:r});return new Qs(o)}};function UR(){return uc(we(),D())}function uc(e,t){return 4&e.type?new BR(t,e,Mo(e,t)):null}class Nf{constructor(t){this.queryList=t,this.matches=null}clone(){return new Nf(this.queryList)}setDirty(){this.queryList.setDirty()}}class Af{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,o=[];for(let s=0;s0)r.push(i[a/2]);else{const l=s[a+1],u=t[-c];for(let d=Be;d{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Yp(!1)}add(){this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=de({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const AC=new U(""),mc=new U("");let $f,jf=(()=>{class e{constructor(n,r,o){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,$f||(function qP(e){$f=e}(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Se.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let s=-1;r&&r>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(i=>i.timeoutId!==s),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:o})}whenStable(n,r,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}static#e=this.\u0275fac=function(r){return new(r||e)(se(Se),se(Hf),se(mc))};static#t=this.\u0275prov=de({token:e,factory:e.\u0275fac})}return e})(),Hf=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return $f?.findTestabilityInTree(this,n,r)??null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=de({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const WP=new U("Application Initializer");let Bf=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=me(WP,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const o of this.appInits){const s=o();if(gf(s))n.push(s);else if(uw(s)){const i=new Promise((a,c)=>{s.subscribe({complete:a,error:c})});n.push(i)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=de({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const xC=new U("appBootstrapListener");function PC(e,t){return Array.isArray(t)?t.reduce(PC,e):{...e,...t}}let yi=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=me(Fy),this.zoneIsStable=me(cv),this.componentTypes=[],this.components=[],this.isStable=me(wP).hasPendingTasks.pipe(function Cb(e,t){return Dr((n,r)=>{let o=null,s=0,i=!1;const a=()=>i&&!o&&r.complete();n.subscribe(wr(r,c=>{o?.unsubscribe();let l=0;const u=s++;Pn(e(c,u)).subscribe(o=wr(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{i=!0,a()}))})}(n=>n?function Db(...e){return Qp(e,Gp(e))}(!1):this.zoneIsStable),function Eb(e,t=Nl){return e=e??_b,Dr((n,r)=>{let o,s=!0;n.subscribe(wr(r,i=>{const a=t(i);(s||!e(o,a))&&(s=!1,o=a,r.next(i))}))})}()),this._injector=me(jn)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const o=n instanceof Cy;if(!this._injector.get(Bf).done)throw!o&&function Er(e){const t=J(e)||Xe(e)||lt(e);return null!==t&&t.standalone}(n),new N(405,!1);let i;i=o?n:this._injector.get(Fa).resolveComponentFactory(n),this.componentTypes.push(i.componentType);const a=function QP(e){return e.isBoundToModule}(i)?void 0:this._injector.get(jr),l=i.create(sn.NULL,[],r||i.selector,a),u=l.location.nativeElement,d=l.injector.get(AC,null);return d?.registerApplication(u),l.onDestroy(()=>{this.detachView(l.hostView),yc(this.components,l),d?.unregisterApplication(u)}),this._loadComponent(l),l}tick(){if(this._runningTick)throw new N(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this.internalErrorHandler(n)}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;yc(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(xC,[]);[...this._bootstrapListeners,...r].forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>yc(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new N(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=de({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function yc(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let KP=(()=>{class e{constructor(){this.zone=me(Se),this.applicationRef=me(yi)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=de({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function XP(){const e=me(Se),t=me($n);return n=>e.runOutsideAngular(()=>t.handleError(n))}const zn=new U("LocaleId",{providedIn:"root",factory:()=>me(zn,re.Optional|re.SkipSelf)||function e1(){return typeof $localize<"u"&&$localize.locale||Zo}()}),Uf=new U("PlatformDestroyListeners");let VC=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const o=function CN(e="zone.js",t){return"noop"===e?new DN:"zone.js"===e?new Se(t):e}(r?.ngZone,function LC(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return o.run(()=>{const s=function hR(e,t,n){return new _f(e,t,n)}(n.moduleType,this.injector,function kC(e){return[{provide:Se,useFactory:e},{provide:xs,multi:!0,useFactory:()=>{const t=me(KP,{optional:!0});return()=>t.initialize()}},{provide:Fy,useFactory:XP},{provide:cv,useFactory:lv}]}(()=>o)),i=s.injector.get($n,null);return o.runOutsideAngular(()=>{const a=o.onError.subscribe({next:c=>{i.handleError(c)}});s.onDestroy(()=>{yc(this._modules,s),a.unsubscribe()})}),function RC(e,t,n){try{const r=n();return gf(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(i,o,()=>{const a=s.injector.get(Bf);return a.runInitializers(),a.donePromise.then(()=>(function HD(e){Mt(e,"Expected localeId to be defined"),"string"==typeof e&&(jD=e.toLowerCase().replace(/_/g,"-"))}(s.injector.get(zn,Zo)||Zo),this._moduleDoBootstrap(s),s))})})}bootstrapModule(n,r=[]){const o=PC({},r);return function ZP(e,t,n){const r=new If(n);return Promise.resolve(r)}(0,0,n).then(s=>this.bootstrapModuleFactory(s,o))}_moduleDoBootstrap(n){const r=n.injector.get(yi);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new N(-403,!1);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new N(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(Uf,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(r){return new(r||e)(se(sn))};static#t=this.\u0275prov=de({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),ur=null;const jC=new U("AllowMultipleToken");function HC(e,t,n=[]){const r=`Platform: ${t}`,o=new U(r);return(s=[])=>{let i=zf();if(!i||i.injector.get(jC,!1)){const a=[...n,...s,{provide:o,useValue:!0}];e?e(a):function r1(e){if(ur&&!ur.get(jC,!1))throw new N(400,!1);(function OC(){!function mI(e){mp=e}(()=>{throw new N(600,!1)})})(),ur=e;const t=e.get(VC);(function BC(e){e.get(Im,null)?.forEach(n=>n())})(e)}(function $C(e=[],t){return sn.create({name:t,providers:[{provide:Ou,useValue:"platform"},{provide:Uf,useValue:new Set([()=>ur=null])},...e]})}(a,r))}return function o1(e){const t=zf();if(!t)throw new N(401,!1);return t}()}}function zf(){return ur?.get(VC)??null}const u1=HC(null,"core",[]);let d1=(()=>{class e{constructor(n){}static#e=this.\u0275fac=function(r){return new(r||e)(se(yi))};static#t=this.\u0275mod=Kr({type:e});static#n=this.\u0275inj=Cr({})}return e})(),Jf=null;function eh(){return Jf}class V1{}const $r=new U("DocumentToken"),uh=/\s+/,DE=[];let wE=(()=>{class e{constructor(n,r,o,s){this._iterableDiffers=n,this._keyValueDiffers=r,this._ngEl=o,this._renderer=s,this.initialClasses=DE,this.stateMap=new Map}set klass(n){this.initialClasses=null!=n?n.trim().split(uh):DE}set ngClass(n){this.rawClass="string"==typeof n?n.trim().split(uh):n}ngDoCheck(){for(const r of this.initialClasses)this._updateState(r,!0);const n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(const r of n)this._updateState(r,!0);else if(null!=n)for(const r of Object.keys(n))this._updateState(r,!!n[r]);this._applyStateDiff()}_updateState(n,r){const o=this.stateMap.get(n);void 0!==o?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(n,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(const n of this.stateMap){const r=n[0],o=n[1];o.changed?(this._toggleClass(r,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),o.touched=!1}}_toggleClass(n,r){(n=n.trim()).length>0&&n.split(uh).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static#e=this.\u0275fac=function(r){return new(r||e)(K(La),K(Gs),K(xr),K(Iy))};static#t=this.\u0275dir=kt({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0})}return e})();class SF{constructor(t,n,r,o){this.$implicit=t,this.ngForOf=n,this.index=r,this.count=o}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let EE=(()=>{class e{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,r,o){this._viewContainer=n,this._template=r,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;!this._differ&&n&&(this._differ=this._differs.find(n).create(this.ngForTrackBy))}if(this._differ){const n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){const r=this._viewContainer;n.forEachOperation((o,s,i)=>{if(null==o.previousIndex)r.createEmbeddedView(this._template,new SF(o.item,this._ngForOf,-1,-1),null===i?void 0:i);else if(null==i)r.remove(null===s?void 0:s);else if(null!==s){const a=r.get(s);r.move(a,i),_E(a,o)}});for(let o=0,s=r.length;o{_E(r.get(o.currentIndex),o)})}static ngTemplateContextGuard(n,r){return!0}static#e=this.\u0275fac=function(r){return new(r||e)(K(Mn),K(Un),K(La))};static#t=this.\u0275dir=kt({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return e})();function _E(e,t){e.context.$implicit=t.item}let IE=(()=>{class e{constructor(n,r){this._viewContainer=n,this._context=new MF,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){bE("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){bE("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,r){return!0}static#e=this.\u0275fac=function(r){return new(r||e)(K(Mn),K(Un))};static#t=this.\u0275dir=kt({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return e})();class MF{constructor(){this.$implicit=null,this.ngIf=null}}function bE(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${qe(t)}'.`)}let ME=(()=>{class e{constructor(n,r,o){this._ngEl=n,this._differs=r,this._renderer=o,this._ngStyle=null,this._differ=null}set ngStyle(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}ngDoCheck(){if(this._differ){const n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}_setStyle(n,r){const[o,s]=n.split("."),i=-1===o.indexOf("-")?void 0:sr.DashCase;null!=r?this._renderer.setStyle(this._ngEl.nativeElement,o,s?`${r}${s}`:r,i):this._renderer.removeStyle(this._ngEl.nativeElement,o,i)}_applyChanges(n){n.forEachRemovedItem(r=>this._setStyle(r.key,null)),n.forEachAddedItem(r=>this._setStyle(r.key,r.currentValue)),n.forEachChangedItem(r=>this._setStyle(r.key,r.currentValue))}static#e=this.\u0275fac=function(r){return new(r||e)(K(xr),K(Gs),K(Iy))};static#t=this.\u0275dir=kt({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return e})();class OF{createSubscription(t,n){return by(()=>t.subscribe({next:n,error:r=>{throw r}}))}dispose(t){by(()=>t.unsubscribe())}}class RF{createSubscription(t,n){return t.then(n,r=>{throw r})}dispose(t){}}const PF=new RF,FF=new OF;let TE=(()=>{class e{constructor(n){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=n}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(n){return this._obj?n!==this._obj?(this._dispose(),this.transform(n)):this._latestValue:(n&&this._subscribe(n),this._latestValue)}_subscribe(n){this._obj=n,this._strategy=this._selectStrategy(n),this._subscription=this._strategy.createSubscription(n,r=>this._updateLatestValue(n,r))}_selectStrategy(n){if(gf(n))return PF;if(uw(n))return FF;throw function un(e,t){return new N(2100,!1)}()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(n,r){n===this._obj&&(this._latestValue=r,this._ref.markForCheck())}static#e=this.\u0275fac=function(r){return new(r||e)(K(Od,16))};static#t=this.\u0275pipe=Nt({name:"async",type:e,pure:!1,standalone:!0})}return e})(),NE=(()=>{class e{constructor(n){this.differs=n,this.keyValues=[],this.compareFn=AE}transform(n,r=AE){if(!n||!(n instanceof Map)&&"object"!=typeof n)return null;this.differ||(this.differ=this.differs.find(n).create());const o=this.differ.diff(n),s=r!==this.compareFn;return o&&(this.keyValues=[],o.forEachItem(i=>{this.keyValues.push(function ZF(e,t){return{key:e,value:t}}(i.key,i.currentValue))})),(o||s)&&(this.keyValues.sort(r),this.compareFn=r),this.keyValues}static#e=this.\u0275fac=function(r){return new(r||e)(K(Gs,16))};static#t=this.\u0275pipe=Nt({name:"keyvalue",type:e,pure:!1,standalone:!0})}return e})();function AE(e,t){const n=e.key,r=t.key;if(n===r)return 0;if(void 0===n)return 1;if(void 0===r)return-1;if(null===n)return 1;if(null===r)return-1;if("string"==typeof n&&"string"==typeof r)return n{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Kr({type:e});static#n=this.\u0275inj=Cr({})}return e})();function OE(e){return"server"===e}class Sk extends V1{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class yh extends Sk{static makeCurrent(){!function L1(e){Jf||(Jf=e)}(new yh)}onAndCancel(t,n,r){return t.addEventListener(n,r),()=>{t.removeEventListener(n,r)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,n){return(n=n||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return"window"===n?window:"document"===n?t:"body"===n?t.body:null}getBaseHref(t){const n=function Mk(){return _i=_i||document.querySelector("base"),_i?_i.getAttribute("href"):null}();return null==n?null:function Tk(e){return new URL(e,document.baseURI).pathname}(n)}resetBaseElement(){_i=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return function IF(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const r=n.indexOf("="),[o,s]=-1==r?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(s)}return null}(document.cookie,t)}}let _i=null,Ak=(()=>{class e{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=de({token:e,factory:e.\u0275fac})}return e})();const vh=new U("EventManagerPlugins");let kE=(()=>{class e{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,o){return this._findPluginFor(r).addEventListener(n,r,o)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(s=>s.supports(n)),!r)throw new N(5101,!1);return this._eventNameToPlugin.set(n,r),r}static#e=this.\u0275fac=function(r){return new(r||e)(se(vh),se(Se))};static#t=this.\u0275prov=de({token:e,factory:e.\u0275fac})}return e})();class LE{constructor(t){this._doc=t}}const Dh="ng-app-id";let VE=(()=>{class e{constructor(n,r,o,s={}){this.doc=n,this.appId=r,this.nonce=o,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=OE(s),this.resetHostNodes()}addStyles(n){for(const r of n)1===this.changeUsageCount(r,1)&&this.onStyleAdded(r)}removeStyles(n){for(const r of n)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){const n=this.styleNodesInDOM;n&&(n.forEach(r=>r.remove()),n.clear());for(const r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(const r of this.getAllStyles())this.addStyleToHost(n,r)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(const r of this.hostNodes)this.addStyleToHost(r,n)}onStyleRemoved(n){const r=this.styleRef;r.get(n)?.elements?.forEach(o=>o.remove()),r.delete(n)}collectServerRenderedStyles(){const n=this.doc.head?.querySelectorAll(`style[${Dh}="${this.appId}"]`);if(n?.length){const r=new Map;return n.forEach(o=>{null!=o.textContent&&r.set(o.textContent,o)}),r}return null}changeUsageCount(n,r){const o=this.styleRef;if(o.has(n)){const s=o.get(n);return s.usage+=r,s.usage}return o.set(n,{usage:r,elements:[]}),r}getStyleElement(n,r){const o=this.styleNodesInDOM,s=o?.get(r);if(s?.parentNode===n)return o.delete(r),s.removeAttribute(Dh),s;{const i=this.doc.createElement("style");return this.nonce&&i.setAttribute("nonce",this.nonce),i.textContent=r,this.platformIsServer&&i.setAttribute(Dh,this.appId),n.appendChild(i),i}}addStyleToHost(n,r){const o=this.getStyleElement(n,r),s=this.styleRef,i=s.get(r)?.elements;i?i.push(o):s.set(r,{elements:[o],usage:1})}resetHostNodes(){const n=this.hostNodes;n.clear(),n.add(this.doc.head)}static#e=this.\u0275fac=function(r){return new(r||e)(se($r),se(ga),se(bm,8),se(wo))};static#t=this.\u0275prov=de({token:e,factory:e.\u0275fac})}return e})();const wh={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},Ch=/%COMP%/g,Pk=new U("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!0});function HE(e,t){return t.map(n=>n.replace(Ch,e))}let $E=(()=>{class e{constructor(n,r,o,s,i,a,c,l=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=s,this.doc=i,this.platformId=a,this.ngZone=c,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=OE(a),this.defaultRenderer=new Eh(n,i,c,this.platformIsServer)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===en.ShadowDom&&(r={...r,encapsulation:en.Emulated});const o=this.getOrCreateRenderer(n,r);return o instanceof UE?o.applyToHost(n):o instanceof _h&&o.applyStyles(),o}getOrCreateRenderer(n,r){const o=this.rendererByCompId;let s=o.get(r.id);if(!s){const i=this.doc,a=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(r.encapsulation){case en.Emulated:s=new UE(c,l,r,this.appId,u,i,a,d);break;case en.ShadowDom:return new Vk(c,l,n,r,i,a,this.nonce,d);default:s=new _h(c,l,r,u,i,a,d)}o.set(r.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(r){return new(r||e)(se(kE),se(VE),se(ga),se(Pk),se($r),se(wo),se(Se),se(bm))};static#t=this.\u0275prov=de({token:e,factory:e.\u0275fac})}return e})();class Eh{constructor(t,n,r,o){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(t,n){return n?this.doc.createElementNS(wh[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(BE(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(BE(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let r="string"==typeof t?this.doc.querySelector(t):t;if(!r)throw new N(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;const s=wh[o];s?t.setAttributeNS(s,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const o=wh[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(sr.DashCase|sr.Important)?t.style.setProperty(n,r,o&sr.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&sr.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){null!=t&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r){if("string"==typeof t&&!(t=eh().getGlobalEventTarget(this.doc,t)))throw new Error(`Unsupported event target ${t} for event ${n}`);return this.eventManager.addEventListener(t,n,this.decoratePreventDefault(r))}decoratePreventDefault(t){return n=>{if("__ngUnwrap__"===n)return t;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>t(n)):t(n))&&n.preventDefault()}}}function BE(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class Vk extends Eh{constructor(t,n,r,o,s,i,a,c){super(t,s,i,c),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const l=HE(o.id,o.styles);for(const u of l){const d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=u,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(this.nodeOrShadowRoot(t),n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class _h extends Eh{constructor(t,n,r,o,s,i,a,c){super(t,s,i,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o,this.styles=c?HE(c,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class UE extends _h{constructor(t,n,r,o,s,i,a,c){const l=o+"-"+r.id;super(t,n,r,s,i,a,c,l),this.contentAttr=function Fk(e){return"_ngcontent-%COMP%".replace(Ch,e)}(l),this.hostAttr=function kk(e){return"_nghost-%COMP%".replace(Ch,e)}(l)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){const r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}}let jk=(()=>{class e extends LE{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o){return n.addEventListener(r,o,!1),()=>this.removeEventListener(n,r,o)}removeEventListener(n,r,o){return n.removeEventListener(r,o)}static#e=this.\u0275fac=function(r){return new(r||e)(se($r))};static#t=this.\u0275prov=de({token:e,factory:e.\u0275fac})}return e})();const zE=["alt","control","meta","shift"],Hk={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},$k={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let Bk=(()=>{class e extends LE{constructor(n){super(n)}supports(n){return null!=e.parseEventName(n)}addEventListener(n,r,o){const s=e.parseEventName(r),i=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>eh().onAndCancel(n,s.domEventName,i))}static parseEventName(n){const r=n.toLowerCase().split("."),o=r.shift();if(0===r.length||"keydown"!==o&&"keyup"!==o)return null;const s=e._normalizeKey(r.pop());let i="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),i="code."),zE.forEach(l=>{const u=r.indexOf(l);u>-1&&(r.splice(u,1),i+=l+".")}),i+=s,0!=r.length||0===s.length)return null;const c={};return c.domEventName=o,c.fullKey=i,c}static matchEventFullKeyCode(n,r){let o=Hk[n.key]||n.key,s="";return r.indexOf("code.")>-1&&(o=n.code,s="code."),!(null==o||!o)&&(o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),zE.forEach(i=>{i!==o&&(0,$k[i])(n)&&(s+=i+".")}),s+=o,s===r)}static eventCallback(n,r,o){return s=>{e.matchEventFullKeyCode(s,n)&&o.runGuarded(()=>r(s))}}static _normalizeKey(n){return"esc"===n?"escape":n}static#e=this.\u0275fac=function(r){return new(r||e)(se($r))};static#t=this.\u0275prov=de({token:e,factory:e.\u0275fac})}return e})();const qk=HC(u1,"browser",[{provide:wo,useValue:"browser"},{provide:Im,useValue:function Uk(){yh.makeCurrent()},multi:!0},{provide:$r,useFactory:function Gk(){return function xM(e){Vu=e}(document),document},deps:[]}]),Wk=new U(""),WE=[{provide:mc,useClass:class Nk{addToWindow(t){_e.getAngularTestability=(r,o=!0)=>{const s=t.findTestabilityInTree(r,o);if(null==s)throw new N(5103,!1);return s},_e.getAllAngularTestabilities=()=>t.getAllTestabilities(),_e.getAllAngularRootElements=()=>t.getAllRootElements(),_e.frameworkStabilizers||(_e.frameworkStabilizers=[]),_e.frameworkStabilizers.push(r=>{const o=_e.getAllAngularTestabilities();let s=o.length,i=!1;const a=function(c){i=i||c,s--,0==s&&r(i)};o.forEach(c=>{c.whenStable(a)})})}findTestabilityInTree(t,n,r){return null==n?null:t.getTestability(n)??(r?eh().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},deps:[]},{provide:AC,useClass:jf,deps:[Se,Hf,mc]},{provide:jf,useClass:jf,deps:[Se,Hf,mc]}],ZE=[{provide:Ou,useValue:"root"},{provide:$n,useFactory:function zk(){return new $n},deps:[]},{provide:vh,useClass:jk,multi:!0,deps:[$r,Se,wo]},{provide:vh,useClass:Bk,multi:!0,deps:[$r]},$E,VE,kE,{provide:_y,useExisting:$E},{provide:class rk{},useClass:Ak,deps:[]},[]];let Zk=(()=>{class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:ga,useValue:n.appId}]}}static#e=this.\u0275fac=function(r){return new(r||e)(se(Wk,12))};static#t=this.\u0275mod=Kr({type:e});static#n=this.\u0275inj=Cr({providers:[...ZE,...WE],imports:[XF,d1]})}return e})();typeof window<"u"&&window;const Ut=(e,t)=>{const{o:n,i:r,u:o}=e;let i,s=n;const a=(u,d)=>{const f=s,h=u,p=d||(r?!r(f,h):f!==h);return(p||o)&&(s=h,i=f),[s,p,i]};return[t?u=>a(t(s,i),u):a,u=>[s,!!u,i]]},Pt=typeof window<"u"&&typeof HTMLElement<"u"&&window.document?window:{},Vc=Math.max,tL=Math.min,bh=Math.round,jc=Math.abs,XE=Math.sign,Sh=Pt.cancelAnimationFrame,Hc=Pt.requestAnimationFrame,$c=Pt.setTimeout,Mh=Pt.clearTimeout,Bc=e=>typeof Pt[e]<"u"?Pt[e]:void 0,nL=Bc("MutationObserver"),JE=Bc("IntersectionObserver"),Uc=Bc("ResizeObserver"),zc=Bc("ScrollTimeline"),Th=e=>void 0===e,Gc=e=>null===e,Tn=e=>"number"==typeof e,Ii=e=>"string"==typeof e,Nh=e=>"boolean"==typeof e,zt=e=>"function"==typeof e,Nn=e=>Array.isArray(e),qc=e=>"object"==typeof e&&!Nn(e)&&!Gc(e),Ah=e=>{const t=!!e&&e.length,n=Tn(t)&&t>-1&&t%1==0;return!(!(Nn(e)||!zt(e)&&n)||t>0&&qc(e)&&!(t-1 in e))},Wc=e=>!!e&&e.constructor===Object,Zc=e=>e instanceof HTMLElement,Qc=e=>e instanceof Element;function Ce(e,t){if(Ah(e))for(let n=0;nt(e[n],n,e));return e}const t_=(e,t)=>e.indexOf(t)>=0,bi=(e,t)=>e.concat(t),Ve=(e,t,n)=>(n||Ii(t)||!Ah(t)?e.push(t):Array.prototype.push.apply(e,t),e),fr=e=>Array.from(e||[]),xh=e=>Nn(e)?e:!Ii(e)&&Ah(e)?fr(e):[e],Oh=e=>!!e&&!e.length,Rh=e=>fr(new Set(e)),Gt=(e,t,n)=>{Ce(e,o=>o&&o.apply(void 0,t||[])),!n&&(e.length=0)},n_="paddingTop",r_="paddingRight",o_="paddingLeft",s_="paddingBottom",i_="marginLeft",a_="marginRight",c_="marginBottom",l_="overflowX",u_="overflowY",Yc="width",Kc="height",hr="visible",Br="hidden",Jo="scroll",Xc=(e,t,n,r)=>{if(e&&t){let o=!0;return Ce(n,s=>{(r?r(e[s]):e[s])!==(r?r(t[s]):t[s])&&(o=!1)}),o}return!1},d_=(e,t)=>Xc(e,t,["w","h"]),Jc=(e,t)=>Xc(e,t,["x","y"]),oL=(e,t)=>Xc(e,t,["t","r","b","l"]),Ur=()=>{},B=(e,...t)=>e.bind(0,...t),es=e=>{let t;const n=e?$c:Hc,r=e?Mh:Sh;return[o=>{r(t),t=n(()=>o(),zt(e)?e():e)},()=>r(t)]},Ph=(e,t)=>{const{_:n,v:r,p:o,S:s}=t||{};let i,a,c,l,u=Ur;const d=function(y){u(),Mh(i),l=i=a=void 0,u=Ur,e.apply(this,y)},f=g=>s&&a?s(a,g):g,h=()=>{u!==Ur&&d(f(c)||c)},p=function(){const y=fr(arguments),v=zt(n)?n():n;if(Tn(v)&&v>=0){const C=zt(r)?r():r,w=Tn(C)&&C>=0,E=v>0?$c:Hc,b=v>0?Mh:Sh,G=f(y)||y,L=d.bind(0,G);let M;u(),o&&!l?(L(),l=!0,M=E(()=>l=void 0,v)):(M=E(L,v),w&&!i&&(i=$c(h,C))),u=()=>b(M),a=c=G}else d(y)};return p.m=h,p},f_=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),dn=e=>e?Object.keys(e):[],ce=(e,t,n,r,o,s,i)=>{const a=[t,n,r,o,s,i];return("object"!=typeof e||Gc(e))&&!zt(e)&&(e={}),Ce(a,c=>{Ce(c,(l,u)=>{const d=c[u];if(e===d)return!0;const f=Nn(d);if(d&&Wc(d)){const h=e[u];let p=h;f&&!Nn(h)?p=[]:!f&&!Wc(h)&&(p={}),e[u]=ce(p,d)}else e[u]=f?d.slice():d})}),e},h_=(e,t)=>Ce(ce({},e),(n,r,o)=>{void 0===n?delete o[r]:t&&n&&Wc(n)&&(o[r]=h_(n,t))}),Fh=e=>!dn(e).length,p_=(e,t,n)=>Vc(e,tL(t,n)),zr=e=>Rh((Nn(e)?e:(e||"").split(" ")).filter(t=>t)),kh=(e,t)=>e&&e.getAttribute(t),g_=(e,t)=>e&&e.hasAttribute(t),Wn=(e,t,n)=>{Ce(zr(t),r=>{e&&e.setAttribute(r,String(n||""))})},An=(e,t)=>{Ce(zr(t),n=>e&&e.removeAttribute(n))},el=(e,t)=>{const n=zr(kh(e,t)),r=B(Wn,e,t),o=(s,i)=>{const a=new Set(n);return Ce(zr(s),c=>{a[i](c)}),fr(a).join(" ")};return{O:s=>r(o(s,"delete")),$:s=>r(o(s,"add")),C:s=>{const i=zr(s);return i.reduce((a,c)=>a&&n.includes(c),i.length>0)}}},m_=(e,t,n)=>(el(e,t).O(n),B(Lh,e,t,n)),Lh=(e,t,n)=>(el(e,t).$(n),B(m_,e,t,n)),tl=(e,t,n,r)=>(r?Lh:m_)(e,t,n),Vh=(e,t,n)=>el(e,t).C(n),y_=e=>el(e,"class"),v_=(e,t)=>{y_(e).O(t)},jh=(e,t)=>(y_(e).$(t),B(v_,e,t)),D_=(e,t)=>{const n=t?Qc(t)&&t:document;return n?fr(n.querySelectorAll(e)):[]},Hh=(e,t)=>Qc(e)&&e.matches(t),w_=e=>Hh(e,"body"),$h=e=>e?fr(e.childNodes):[],Si=e=>e&&e.parentElement,ts=(e,t)=>Qc(e)&&e.closest(t),Bh=e=>(e||document).activeElement,ns=e=>{Ce(xh(e),t=>{const n=Si(t);t&&n&&n.removeChild(t)})},qt=(e,t)=>B(ns,e&&t&&Ce(xh(t),n=>{n&&e.appendChild(n)})),rs=e=>{const t=document.createElement("div");return Wn(t,"class",e),t},C_=e=>{const t=rs();return t.innerHTML=e.trim(),Ce($h(t),n=>ns(n))},E_=(e,t)=>e.getPropertyValue(t)||e[t]||"",__=e=>{const t=e||0;return isFinite(t)?t:0},nl=e=>__(parseFloat(e||"")),Uh=e=>Math.round(1e4*e)/1e4,I_=e=>`${Uh(__(e))}px`;function Mi(e,t){e&&t&&Ce(t,(n,r)=>{try{const o=e.style,s=Gc(n)||Nh(n)?"":Tn(n)?I_(n):n;0===r.indexOf("--")?o.setProperty(r,s):o[r]=s}catch{}})}function Zn(e,t,n){const r=Ii(t);let o=r?"":{};if(e){const s=Pt.getComputedStyle(e,n)||e.style;o=r?E_(s,t):fr(t).reduce((i,a)=>(i[a]=E_(s,a),i),o)}return o}const b_=(e,t,n)=>{const r=t?`${t}-`:"",o=n?`-${n}`:"",s=`${r}top${o}`,i=`${r}right${o}`,a=`${r}bottom${o}`,c=`${r}left${o}`,l=Zn(e,[s,i,a,c]);return{t:nl(l[s]),r:nl(l[i]),b:nl(l[a]),l:nl(l[c])}},aL=(e,t)=>"translate"+(qc(e)?`(${e.x},${e.y})`:`${t?"X":"Y"}(${e})`),lL={w:0,h:0},rl=(e,t)=>t?{w:t[`${e}Width`],h:t[`${e}Height`]}:lL,os=B(rl,"offset"),S_=B(rl,"client"),ol=B(rl,"scroll"),zh=e=>{const t=parseFloat(Zn(e,Yc))||0,n=parseFloat(Zn(e,Kc))||0;return{w:t-bh(t),h:n-bh(n)}},Gh=e=>e.getBoundingClientRect(),qh=e=>!(!e||!e[Kc]&&!e[Yc]),M_=(e,t)=>{const n=qh(e);return!qh(t)&&n},T_=(e,t,n,r)=>{Ce(zr(t),o=>{e&&e.removeEventListener(o,n,r)})},Oe=(e,t,n,r)=>{var o;const s=null==(o=r&&r.H)||o,i=r&&r.I||!1,a=r&&r.A||!1,c={passive:s,capture:i};return B(Gt,zr(t).map(l=>{const u=a?d=>{T_(e,l,u,i),n&&n(d)}:n;return e&&e.addEventListener(l,u,c),B(T_,e,l,u,i)}))},N_=e=>e.stopPropagation(),Wh=e=>e.preventDefault(),A_=e=>N_(e)||Wh(e),xn=(e,t)=>{const{x:n,y:r}=Tn(t)?{x:t,y:t}:t||{};Tn(n)&&(e.scrollLeft=n),Tn(r)&&(e.scrollTop=r)},Wt=e=>({x:e.scrollLeft,y:e.scrollTop}),fL=(e,t)=>{const{D:n,T:r}=e,{w:o,h:s}=t,i=(d,f,h)=>{let p=XE(d)*h,g=XE(f)*h;if(p===g){const y=jc(d),v=jc(f);g=y>v?0:g,p=y{const n=(r,o)=>0===r&&r<=o;return{x:n(e.x,t.x),y:n(e.y,t.y)}},R_=({D:e,T:t},n)=>{const r=(o,s,i)=>p_(0,1,(o-i)/(o-s)||0);return{x:r(e.x,t.x,n.x),y:r(e.y,t.y,n.y)}},Zh=e=>{e&&e.focus&&e.focus({preventScroll:!0})},P_=(e,t)=>{Ce(xh(t),e)},Qh=e=>{const t=new Map,n=(s,i)=>{if(s){const a=t.get(s);P_(c=>{a&&a[c?"delete":"clear"](c)},i)}else t.forEach(a=>{a.clear()}),t.clear()},r=(s,i)=>{if(Ii(s)){const l=t.get(s)||new Set;return t.set(s,l),P_(u=>{zt(u)&&l.add(u)},i),B(n,s,i)}Nh(i)&&i&&n();const a=dn(s),c=[];return Ce(a,l=>{const u=s[l];u&&Ve(c,r(l,u))}),B(Gt,c)};return r(e||{}),[r,n,(s,i)=>{Ce(fr(t.get(s)),a=>{i&&!Oh(i)?a.apply(0,i):a()})}]},F_=e=>JSON.stringify(e,(t,n)=>{if(zt(n))throw 0;return n}),k_=(e,t)=>e?`${t}`.split(".").reduce((n,r)=>n&&f_(n,r)?n[r]:void 0,e):void 0,hL={paddingAbsolute:!1,showNativeOverlaidScrollbars:!1,update:{elementEvents:[["img","load"]],debounce:[0,33],attributes:null,ignoreMutation:null},overflow:{x:"scroll",y:"scroll"},scrollbars:{theme:"os-theme-dark",visibility:"auto",autoHide:"never",autoHideDelay:1300,autoHideSuspend:!1,dragScroll:!0,clickScroll:!1,pointers:["mouse","touch","pen"]}},L_=(e,t)=>{const n={};return Ce(bi(dn(t),dn(e)),o=>{const s=e[o],i=t[o];if(qc(s)&&qc(i))ce(n[o]={},L_(s,i)),Fh(n[o])&&delete n[o];else if(f_(t,o)&&i!==s){let a=!0;if(Nn(s)||Nn(i))try{F_(s)===F_(i)&&(a=!1)}catch{}a&&(n[o]=i)}}),n},V_=(e,t,n)=>r=>[k_(e,r),n||void 0!==k_(t,r)],ss="data-overlayscrollbars",sl="os-environment",il=`${sl}-scrollbar-hidden`,Yh=`${ss}-initialize`,al="noClipping",j_=`${ss}-body`,pr=ss,Qn=`${ss}-viewport`,gL=l_,mL=u_,H_="measuring",$_="scrollbarHidden",Kh=`${ss}-padding`,B_=`${ss}-content`,Xh="os-size-observer",wL=`${Xh}-appear`,CL=`${Xh}-listener`,Zt="os-scrollbar",IL=`${Zt}-rtl`,bL=`${Zt}-horizontal`,SL=`${Zt}-vertical`,U_=`${Zt}-track`,Jh=`${Zt}-handle`,ML=`${Zt}-visible`,TL=`${Zt}-cornerless`,z_=`${Zt}-interaction`,G_=`${Zt}-unusable`,ep=`${Zt}-auto-hide`,q_=`${ep}-hidden`,W_=`${Zt}-wheel`,NL=`${U_}-interactive`,AL=`${Jh}-interactive`;let Z_,tp;const On=()=>(tp||(tp=(()=>{const e=(w,E,b)=>{qt(document.body,w),qt(document.body,w);const R=S_(w),G=os(w),L=zh(E);return b&&ns(w),{x:G.h-R.h+L.h,y:G.w-R.w+L.w}},o=C_(`
`)[0],s=o.firstChild;Z_&&(o.lastChild.nonce=Z_);const[c,,l]=Qh(),[u,d]=Ut({o:e(o,s),i:Jc},B(e,o,s,!0)),[f]=d(),h=(w=>{let E=!1;const b=jh(w,il);try{E="none"===Zn(w,"scrollbar-width")||"none"===Zn(w,"display","::-webkit-scrollbar")}catch{}return b(),E})(o),p={x:0===f.x,y:0===f.y},g={elements:{host:null,padding:!h,viewport:w=>h&&w_(w)&&w,content:!1},scrollbars:{slot:!0},cancel:{nativeScrollbarsOverlaid:!1,body:null}},y=ce({},hL),v=B(ce,{},y),m=B(ce,{},g),C={k:f,M:p,R:h,V:!!zc,L:B(c,"r"),U:m,P:w=>ce(g,w)&&m(),N:v,q:w=>ce(y,w)&&v(),B:ce({},g),F:ce({},y)};if(An(o,"style"),ns(o),Oe(Pt,"resize",()=>{l("r",[])}),zt(Pt.matchMedia)&&!h&&(!p.x||!p.y)){const w=E=>{const b=Pt.matchMedia(`(resolution: ${Pt.devicePixelRatio}dppx)`);Oe(b,"change",()=>{E(),w(E)},{A:!0})};w(()=>{const[E,b]=u();ce(C.k,E),l("r",[b])})}return C})()),tp),Q_=(e,t)=>zt(t)?t.apply(0,e):t,PL=(e,t,n,r)=>{const o=Th(r)?n:r;return Q_(e,o)||t.apply(0,e)},Y_=(e,t,n,r)=>{const o=Th(r)?n:r,s=Q_(e,o);return!!s&&(Zc(s)?s:t.apply(0,e))},np=new WeakMap,K_=e=>np.get(e),X_=(e,t,n,r)=>{let o=!1;const{j:s,X:i,Y:a,W:c,J:l,G:u}=r||{},d=Ph(()=>o&&n(!0),{_:33,v:99}),[f,h]=((e,t,n)=>{let r=!1;const o=!!n&&new WeakMap,i=a=>{o&&n&&Ce(n.map(l=>{const[u,d]=l||[];return[d&&u?(a||D_)(u,e):[],d]}),l=>Ce(l[0],u=>{const d=l[1],f=o.get(u)||[];if(e.contains(u)&&d){const p=Oe(u,d,g=>{r?(p(),o.delete(u)):t(g)});o.set(u,Ve(f,p))}else Gt(f),o.delete(u)}))};return i(),[()=>{r=!0},i]})(e,d,a),g=i||[],y=bi(s||[],g),v=(C,w)=>{if(!Oh(w)){const E=l||Ur,b=u||Ur,R=[],G=[];let L=!1,M=!1;if(Ce(w,S=>{const{attributeName:j,target:Q,type:te,oldValue:ie,addedNodes:ne,removedNodes:le}=S,De="attributes"===te,pe="childList"===te,je=e===Q,T=De&&j,A=T&&kh(Q,j||""),x=Ii(A)?A:null,O=T&&ie!==x,I=t_(g,j)&&O;if(t&&(pe||!je)){const k=De&&O,P=k&&c&&Hh(Q,c),ee=(P?!E(Q,j,ie,x):!De||k)&&!b(S,!!P,e,r);Ce(ne,Ne=>Ve(R,Ne)),Ce(le,Ne=>Ve(R,Ne)),M=M||ee}!t&&je&&O&&!E(Q,j,ie,x)&&(Ve(G,j),L=L||I)}),h(S=>Rh(R).reduce((j,Q)=>(Ve(j,D_(S,Q)),Hh(Q,S)?Ve(j,Q):j),[])),t)return!C&&M&&n(!1),[!1];if(!Oh(G)||L){const S=[Rh(G),L];return!C&&n.apply(0,S),S}}},m=new nL(B(v,!1));return[()=>(m.observe(e,{attributes:!0,attributeOldValue:!0,attributeFilter:y,subtree:t,childList:t,characterData:t}),o=!0,()=>{o&&(f(),m.disconnect(),o=!1)}),()=>{if(o)return d.m(),v(!0,m.takeRecords())}]},J_={},eI={},tI=(e,t,n)=>dn(e).map(r=>{const{static:o,instance:s}=e[r],[i,a,c]=n||[],l=n?s:o;if(l){const u=n?l(i,a,t):l(t);return(c||eI)[r]=u}}),Ti=e=>eI[e],is=e=>0===e.indexOf(hr),nI="__osScrollbarsHidingPlugin",rI=(e,t,n)=>{const{dt:r}=n||{},o=Ti("__osSizeObserverPlugin"),[s]=Ut({o:!1,u:!0});return()=>{const i=[],c=C_(`
`)[0],l=c.firstChild,u=d=>{let h=!1,p=!1;if(d instanceof ResizeObserverEntry){const[g,,y]=s(d.contentRect),v=qh(g);p=M_(g,y),h=!p&&!v}else p=!0===d;h||t({ft:!0,dt:p})};if(Uc){const d=new Uc(f=>u(f.pop()));d.observe(l),Ve(i,()=>{d.disconnect()})}else{if(!o)return Ur;{const[d,f]=o(l,u,r);Ve(i,bi([jh(c,wL),Oe(c,"animationstart",d)],f))}}return B(Gt,Ve(i,qt(e,c)))}},qL=(e,t,n,r)=>{let o,s,i,a,c,l;const u=`[${pr}]`,d=`[${Qn}]`,f=["id","class","style","open","wrap","cols","rows"],{vt:h,gt:p,ot:g,ht:y,bt:v,nt:m,wt:C,yt:w,St:E,Ot:b}=e,R=I=>"rtl"===Zn(I,"direction"),G={$t:!1,ct:R(h)},L=On(),M=Ti(nI),[S]=Ut({i:d_,o:{w:0,h:0}},()=>{const I=M&&M.tt(e,t,G,L,n).ut,P=!(C&&m)&&Vh(p,pr,al),V=!m&&w("arrange"),ee=V&&Wt(y),Ne=ee&&b(),Ye=E(H_,P),Pe=V&&I&&I()[0],dt=ol(g),X=zh(g);return Pe&&Pe(),xn(y,ee),Ne&&Ne(),P&&Ye(),{w:dt.w+X.w,h:dt.h+X.h}}),j=Ph(r,{_:()=>o,v:()=>s,S(I,k){const[P]=I,[V]=k;return[bi(dn(P),dn(V)).reduce((ee,Ne)=>(ee[Ne]=P[Ne]||V[Ne],ee),{})]}}),Q=I=>{const k=R(h);ce(I,{Ct:l!==k}),ce(G,{ct:k}),l=k},te=(I,k)=>{const[P,V]=I,ee={xt:V};return ce(G,{$t:P}),!k&&r(ee),ee},ie=({ft:I,dt:k})=>{const V=I&&!k||!L.R?r:j,ee={ft:I||k,dt:k};Q(ee),V(ee)},ne=(I,k)=>{const[,P]=S(),V={Ht:P};return Q(V),P&&!k&&(I?r:j)(V),V},le=(I,k,P)=>{const V={Et:k};return Q(V),k&&!P&&j(V),V},[De,pe]=v?((e,t)=>{let n;const o=rs("os-trinsic-observer"),[s]=Ut({o:!1}),i=(c,l)=>{if(c){const u=s((c=>0===c.h||c.isIntersecting||c.intersectionRatio>0)(c)),[,d]=u;return d&&!l&&t(u)&&[u]}},a=(c,l)=>i(l.pop(),c);return[()=>{const c=[];if(JE)n=new JE(B(a,!1),{root:e}),n.observe(o),Ve(c,()=>{n.disconnect()});else{const l=()=>{const u=os(o);i(u)};Ve(c,rI(o,l)()),l()}return B(Gt,Ve(c,qt(e,o)))},()=>n&&a(!0,n.takeRecords())]})(p,te):[],je=!m&&rI(p,ie,{dt:!0}),[T,A]=X_(p,!1,le,{X:f,j:f}),x=m&&Uc&&new Uc(I=>{const k=I[I.length-1].contentRect;ie({ft:!0,dt:M_(k,c)}),c=k}),O=Ph(()=>{const[,I]=S();r({Ht:I})},{_:222,p:!0});return[()=>{x&&x.observe(p);const I=je&&je(),k=De&&De(),P=T(),V=L.L(ee=>{ee?j({zt:ee}):O()});return()=>{x&&x.disconnect(),I&&I(),k&&k(),a&&a(),P(),V()}},({It:I,At:k,Dt:P})=>{const V={},[ee]=I("update.ignoreMutation"),[Ne,Ye]=I("update.attributes"),[Pe,dt]=I("update.elementEvents"),[X,at]=I("update.debounce"),ct=k||P;if(dt||Ye){i&&i(),a&&a();const[He,ye]=X_(v||g,!0,ne,{j:bi(f,Ne||[]),Y:Pe,W:u,G:(ge,Jt)=>{const{target:hn,attributeName:gr}=ge;return!(Jt||!gr||m)&&((e,t,n)=>{const r=ts(e,t),o=e&&((e,t)=>{const n=t?Qc(t)&&t:document;return n&&n.querySelector(e)})(n,r),s=ts(o,t)===r;return!(!r||!o)&&(r===e||o===e||s&&ts(ts(e,n),t)!==r)})(hn,u,d)||!!ts(hn,`.${Zt}`)||!!(He=>zt(ee)&&ee(He))(ge)}});a=He(),i=ye}if(at)if(j.m(),Nn(X)){const He=X[0],ye=X[1];o=Tn(He)&&He,s=Tn(ye)&&ye}else Tn(X)?(o=X,s=!1):(o=!1,s=!1);if(ct){const He=A(),ye=pe&&pe(),ge=i&&i();He&&ce(V,le(0,He[1],ct)),ye&&ce(V,te(ye[0],ct)),ge&&ce(V,ne(ge[0],ct))}return Q(V),V},G]},KL=({bt:e})=>({Zt:t,_n:n,Dt:r})=>{const{xt:o}=t||{},{$t:s}=n;e&&(o||r)&&Mi(e,{[Kc]:s&&"100%"})},XL=({gt:e,ln:t,ot:n,nt:r},o)=>{const[s,i]=Ut({i:oL,o:b_()},B(b_,e,"padding",""));return({It:a,Zt:c,_n:l,Dt:u})=>{let[d,f]=i(u);const{R:h}=On(),{ft:p,Ht:g,Ct:y}=c||{},{ct:v}=l,[m,C]=a("paddingAbsolute");(p||f||u||g)&&([d,f]=s(u));const E=!r&&(C||y||f);if(E){const b=!m||!t&&!h,R=d.r+d.l,L={[a_]:b&&!v?-R:0,[c_]:b?-(d.t+d.b):0,[i_]:b&&v?-R:0,top:b?-d.t:0,right:b?v?-d.r:"auto":0,left:b?v?"auto":-d.l:0,[Yc]:b&&`calc(100% + ${R}px)`},M={[n_]:b?d.t:0,[r_]:b?d.r:0,[s_]:b?d.b:0,[o_]:b?d.l:0};Mi(t||n,L),Mi(n,M),ce(o,{ln:d,dn:!b,rt:t?M:ce({},L,M)})}return{fn:E}}},JL=(e,t)=>{const n=On(),{gt:r,ln:o,ot:s,nt:i,Qt:a,ht:c,wt:l,St:u,un:d}=e,{R:f}=n,h=l&&i,p=B(Vc,0),g={display:()=>!1,direction:A=>"ltr"!==A,flexDirection:A=>A.endsWith("-reverse"),writingMode:A=>"horizontal-tb"!==A},y=dn(g),v={i:d_,o:{w:0,h:0}},m={i:Jc,o:{}},C=A=>{u(H_,!h&&A)},[b,R]=Ut(v,B(zh,s)),[G,L]=Ut(v,B(ol,s)),[M,S]=Ut(v),[j]=Ut(m),[Q,te]=Ut(v),[ie]=Ut(m),[ne]=Ut({i:(A,x)=>Xc(A,x,y),o:{}},()=>(e=>!!e&&(e=>!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length))(e))(s)?Zn(s,y):{}),[le,De]=Ut({i:(A,x)=>Jc(A.D,x.D)&&Jc(A.T,x.T),o:{D:{x:0,y:0},T:{x:0,y:0}}}),pe=Ti(nI),je=(A,x)=>`${x?gL:mL}${(e=>{const t=String(e||"");return t?t[0].toUpperCase()+t.slice(1):""})(A)}`;return({It:A,Zt:x,_n:O,Dt:I},{fn:k})=>{const{Ct:ee,dt:Ne,zt:Ye}=x||{},Pe=pe&&pe.tt(e,t,O,n,A),{it:dt,ut:X,_t:at}=Pe||{},[vt,ct]=((e,t)=>{const{M:n}=t,[r,o]=e("showNativeOverlaidScrollbars");return[r&&n.x&&n.y,o]})(A,n),[ft,He]=A("overflow"),ye=is(ft.x),ge=is(ft.y);let hn=R(I),gr=L(I),Ni=S(I),cl=te(I);ct&&f&&u($_,!vt);{Vh(r,pr,al)&&C(!0);const[lI]=X?X():[],[fl]=hn=b(I),[hl]=gr=G(I),pl=S_(s),gl=h&&(e=>rl("inner",e||Pt))(d()),AV={w:p(hl.w+fl.w),h:p(hl.h+fl.h)},uI={w:p((gl?gl.w:pl.w+p(pl.w-hl.w))+fl.w),h:p((gl?gl.h:pl.h+p(pl.h-hl.h))+fl.h)};lI&&lI(),cl=Q(uI),Ni=M(((A,x)=>{const O=Pt.devicePixelRatio%1!=0?1:0,I={w:p(A.w-x.w),h:p(A.h-x.h)};return{w:I.w>O?I.w:0,h:I.h>O?I.h:0}})(AV,uI),I)}const[ll,ul]=cl,[Gr,as]=Ni,[rp,op]=gr,[sp,ip]=hn,[Rn,ap]=j({x:Gr.w>0,y:Gr.h>0}),Ai=ye&&ge&&(Rn.x||Rn.y)||ye&&Rn.x&&!Rn.y||ge&&Rn.y&&!Rn.x,xi=k||ee||Ye||ip||op||ul||as||He||ct||!0,mr=((e,t)=>{const n=(o,s,i,a)=>{const c=o===hr?Br:o.replace(`${hr}-`,""),l=is(o),u=is(i);return s||a?l&&u?hr:l?s&&a?c:s?hr:Br:s?c:u&&a?hr:Br:Br},r={x:n(t.x,e.x,t.y,e.y),y:n(t.y,e.y,t.x,e.x)};return{K:r,Z:{x:r.x===Jo,y:r.y===Jo}}})(Rn,ft),[dl,Oi]=ie(mr.K),[SV,MV]=ne(I),cI=ee||Ne||MV||ap||I,[TV,NV]=cI?le((A=>{if(!y.some(Ye=>{const Pe=A[Ye];return Pe&&g[Ye](Pe)}))return{D:{x:0,y:0},T:{x:1,y:1}};C(!0);const O=Wt(c),I=u("noContent",!0),k=Oe(a,Jo,Ye=>{const Pe=Wt(c);Ye.isTrusted&&Pe.x===O.x&&Pe.y===O.y&&N_(Ye)},{I:!0,A:!0});xn(c,{x:0,y:0}),I();const P=Wt(c),V=ol(c);xn(c,{x:V.w,y:V.h});const ee=Wt(c);xn(c,{x:ee.x-P.x<1&&-V.w,y:ee.y-P.y<1&&-V.h});const Ne=Wt(c);return xn(c,O),Hc(()=>k()),{D:P,T:Ne}})(SV),I):De();return xi&&(Oi&&(A=>{const x=I=>[hr,Br,Jo].map(k=>je(k,I)),O=x(!0).concat(x()).join(" ");u(O),u(dn(A).map(I=>je(A[I],"x"===I)).join(" "),!0)})(mr.K),at&&dt&&Mi(s,at(mr,O,dt(mr,rp,sp)))),C(!1),tl(r,pr,al,Ai),tl(o,Kh,al,Ai),ce(t,{K:dl,Vt:{x:ll.w,y:ll.h},Rt:{x:Gr.w,y:Gr.h},rn:Rn,Lt:fL(TV,Gr)}),{en:Oi,nn:ul,sn:as,cn:NV||as,vn:cI}}},tV=(e,t,n,r,o)=>{let s=!1;const i=V_(t,{}),[a,c,l,u,d]=(e=>{const[t,n,r]=(e=>{const t=On(),{U:n,R:r}=t,{elements:o}=n(),{padding:s,viewport:i,content:a}=o,c=Zc(e),l=c?{}:e,{elements:u}=l,{padding:d,viewport:f,content:h}=u||{},p=c?e:l.target,g=w_(p),y=p.ownerDocument,v=y.documentElement,m=()=>y.defaultView||Pt,C=B(PL,[p]),w=B(Y_,[p]),E=B(rs,""),b=B(C,E,i),R=B(w,E,a),L=b(f),M=L===p,S=M&&g,j=!M&&R(h),Q=!M&&L===j,te=S?v:L,ie=S?te:p,ne=!M&&w(E,s,d),le=!Q&&j,De=[le,te,ne,ie].map(X=>Zc(X)&&!Si(X)&&X),pe=X=>X&&t_(De,X),je=!pe(te)&&(X=>{const at=os(X),vt=ol(X),ct=Zn(X,l_),ft=Zn(X,u_);return vt.w-at.w>0&&!is(ct)||vt.h-at.h>0&&!is(ft)})(te)?te:p,T=S?v:te,x={vt:p,gt:ie,ot:te,ln:ne,bt:le,ht:T,Qt:S?y:te,an:g?v:je,Kt:y,wt:g,Tt:c,nt:M,un:m,yt:X=>Vh(te,Qn,X),St:(X,at)=>tl(te,Qn,X,at),Ot:()=>tl(T,Qn,"scrolling",!0)},{vt:O,gt:I,ln:k,ot:P,bt:V}=x,ee=[()=>{An(I,[pr,Yh]),An(O,Yh),g&&An(v,[Yh,pr])}];let Ne=$h([V,P,k,I,O].find(X=>X&&!pe(X)));const Ye=S?O:V||P,Pe=B(Gt,ee);return[x,()=>{const X=m(),at=Bh(),vt=ge=>{qt(Si(ge),$h(ge)),ns(ge)},ct=ge=>Oe(ge,"focusin focusout focus blur",A_,{I:!0,H:!1}),ft="tabindex",He=kh(P,ft),ye=ct(at);return Wn(I,pr,M?"":"host"),Wn(k,Kh,""),Wn(P,Qn,""),Wn(V,B_,""),M||(Wn(P,ft,He||"-1"),g&&Wn(v,j_,"")),qt(Ye,Ne),qt(I,k),qt(k||I,!M&&P),qt(P,V),Ve(ee,[ye,()=>{const ge=Bh(),Jt=pe(P),hn=Jt&&ge===P?O:ge,gr=ct(hn);An(k,Kh),An(V,B_),An(P,Qn),g&&An(v,j_),He?Wn(P,ft,He):An(P,ft),pe(V)&&vt(V),Jt&&vt(P),pe(k)&&vt(k),Zh(hn),gr()}]),r&&!M&&(Lh(P,Qn,$_),Ve(ee,B(An,P,Qn))),Zh(!M&&g&&at===O&&X.top===X?P:at),ye(),Ne=0,Pe},Pe]})(e),o={ln:{t:0,r:0,b:0,l:0},dn:!1,rt:{[a_]:0,[c_]:0,[i_]:0,[n_]:0,[r_]:0,[s_]:0,[o_]:0},Vt:{x:0,y:0},Rt:{x:0,y:0},K:{x:Br,y:Br},rn:{x:!1,y:!1},Lt:{D:{x:0,y:0},T:{x:0,y:0}}},{vt:s,ht:i,nt:a,Ot:c}=t,{R:l,M:u}=On(),d=!l&&(u.x||u.y),f=[KL(t),XL(t,o),JL(t,o)];return[n,h=>{const p={},y=d&&Wt(i),v=y&&c();return Ce(f,m=>{ce(p,m(h,p)||{})}),xn(i,y),v&&v(),!a&&xn(s,0),p},o,t,r]})(e),[f,h,p]=qL(u,l,i,w=>{C({},w)}),[g,y,,v]=((e,t,n,r,o,s)=>{let i,a,c,l,u,d=Ur,f=0;const h=T=>"mouse"===T.pointerType,[p,g]=es(),[y,v]=es(100),[m,C]=es(100),[w,E]=es(()=>f),[b,R]=((e,t,n,r)=>{const s="--os-scroll-percent",{U:a}=On(),{scrollbars:c}=a(),{slot:l}=c,{vt:u,gt:d,ot:f,Tt:h,ht:p,wt:g,nt:y}=t,{scrollbars:v}=h?{}:e,{slot:m}=v||{},C=[],w=[],E=[],b=Y_([u,d,f],()=>y&&g?u:d,l,m),R=T=>{if(zc){const A=new zc({source:p,axis:T});return{Mt:O=>{const I=O.kt.animate({clear:["left"],[s]:[0,1]},{timeline:A});return()=>I.cancel()}}}},G={x:R("x"),y:R("y")},M=(T,A,x)=>{const O=x?jh:v_;Ce(T,I=>{O(I.kt,A)})},S=(T,A)=>{Ce(T,x=>{const[O,I]=A(x);Mi(O,I)})},j=(T,A,x)=>{const O=Nh(x),k=!O||!x;(!O||x)&&M(w,T,A),k&&M(E,T,A)},le=T=>{const A=T?"x":"y",O=rs(`${Zt} ${T?bL:SL}`),I=rs(U_),k=rs(Jh),P={kt:O,Ut:I,Pt:k},V=G[A];return Ve(T?w:E,P),Ve(C,[qt(O,I),qt(I,k),B(ns,O),V&&V.Mt(P),r(P,j,T)]),P},De=B(le,!0),pe=B(le,!1);return De(),pe(),[{Nt:()=>{const T=(()=>{const{Rt:T,Vt:A}=n,x=(O,I)=>p_(0,1,O/(O+I)||0);return{x:x(A.x,T.x),y:x(A.y,T.y)}})(),A=x=>O=>[O.kt,{"--os-viewport-percent":Uh(x)+""}];S(w,A(T.x)),S(E,A(T.y))},qt:()=>{if(!zc){const{Lt:T}=n,A=R_(T,Wt(p)),x=O=>I=>[I.kt,{[s]:Uh(O)+""}];S(w,x(A.x)),S(E,x(A.y))}},Bt:()=>{const{Lt:T}=n,A=O_(T),x=O=>I=>[I.kt,{"--os-scroll-direction":O?"0":"1"}];S(w,x(A.x)),S(E,x(A.y))},Ft:()=>{if(y&&!g){const{Rt:T,Lt:A}=n,x=O_(A),O=R_(A,Wt(p)),I=k=>{const{kt:P}=k,V=Si(P)===f&&P,ee=(Ne,Ye,Pe)=>{const dt=Ye*Ne;return I_(Pe?dt:-dt)};return[V,V&&{transform:aL({x:ee(O.x,T.x,x.x),y:ee(O.y,T.y,x.y)})}]};S(w,I),S(E,I)}},jt:j,Xt:{Yt:w,Wt:De,Jt:B(S,w)},Gt:{Yt:E,Wt:pe,Jt:B(S,E)}},()=>(qt(b,w[0].kt),qt(b,E[0].kt),B(Gt,C))]})(e,o,r,((e,t,n,r)=>(o,s,i)=>{const{gt:a,ot:c,nt:l,ht:u,Kt:d,Ot:f}=t,{kt:h,Ut:p,Pt:g}=o,[y,v]=es(333),[m,C]=es(444),w=R=>{zt(u.scrollBy)&&u.scrollBy({behavior:"smooth",left:R.x,top:R.y})};let b=!0;return B(Gt,[Oe(g,"pointermove pointerleave",r),Oe(h,"pointerenter",()=>{s(z_,!0)}),Oe(h,"pointerleave pointercancel",()=>{s(z_,!1)}),!l&&Oe(h,"mousedown",()=>{const R=Bh();(g_(R,Qn)||g_(R,pr)||R===document.body)&&$c(B(Zh,c),25)}),Oe(h,"wheel",R=>{const{deltaX:G,deltaY:L,deltaMode:M}=R;b&&0===M&&Si(h)===a&&w({x:G,y:L}),b=!1,s(W_,!0),y(()=>{b=!0,s(W_)}),Wh(R)},{H:!1,I:!0}),Oe(h,"pointerdown",B(Oe,d,"click",A_,{A:!0,I:!0,H:!1}),{I:!0}),(()=>{const R="pointerup pointercancel lostpointercapture",G="client"+(i?"X":"Y"),L=i?Yc:Kc,M=i?"left":"top",S=i?"w":"h",j=i?"x":"y",te=[];return Oe(p,"pointerdown",ie=>{const ne=ts(ie.target,`.${Jh}`)===g,le=ne?g:p,De=e.scrollbars,{button:pe,isPrimary:je,pointerType:T}=ie,{pointers:A}=De;if(0===pe&&je&&De[ne?"dragScroll":"clickScroll"]&&(A||[]).includes(T)){Gt(te),C();const O=!ne&&ie.shiftKey,I=B(Gh,g),k=B(Gh,p),P=(ye,ge)=>(ye||I())[M]-(ge||k())[M],V=bh(Gh(u)[L])/os(u)[S]||1,ee=((ie,ne)=>le=>{const{Rt:De}=n,pe=os(p)[S]-os(g)[S];xn(u,{[j]:ie+ne*le/pe*De[j]})})(Wt(u)[j],1/V),Ne=ie[G],Ye=I(),Pe=k(),dt=Ye[L],X=P(Ye,Pe)+dt/2,at=Ne-Pe[M],vt=ne?0:at-X,ct=ye=>{Gt(He),le.releasePointerCapture(ye.pointerId)},ft=f(),He=[()=>{const ye=Wt(u);ft();const ge=Wt(u),Jt={x:ge.x-ye.x,y:ge.y-ye.y};(jc(Jt.x)>3||jc(Jt.y)>3)&&(f(),xn(u,ye),w(Jt),m(ft))},Oe(d,R,ct),Oe(d,"selectstart",ye=>Wh(ye),{H:!1}),Oe(p,R,ct),Oe(p,"pointermove",ye=>{(ne||O)&&ee(vt+(ye[G]-Ne))})];if(le.setPointerCapture(ie.pointerId),O)ee(vt);else if(!ne){const ye=Ti("__osClickScrollPlugin");if(ye){const ge=ye(ee,P,vt,dt,at);Ve(He,B(ge)),Ve(te,B(ge,!0))}}}})})(),v,C])})(t,o,r,T=>h(T)&&le())),{gt:G,Qt:L,wt:M}=o,{jt:S,Nt:j,qt:Q,Bt:te,Ft:ie}=b,ne=(T,A)=>{if(E(),T)S(q_);else{const x=B(S,q_,!0);f>0&&!A?w(x):x()}},le=()=>{(c?!i:!l)&&(ne(!0),y(()=>{ne(!1)}))},De=T=>{S(ep,T,!0),S(ep,T,!1)},pe=T=>{h(T)&&(i=c,c&&ne(!0))},je=[E,v,C,g,()=>d(),Oe(G,"pointerover",pe,{A:!0}),Oe(G,"pointerenter",pe),Oe(G,"pointerleave",T=>{h(T)&&(i=!1,c&&ne(!1))}),Oe(G,"pointermove",T=>{h(T)&&a&&le()}),Oe(L,"scroll",T=>{p(()=>{Q(),le()}),s(T),ie()})];return[()=>B(Gt,Ve(je,R())),({It:T,Dt:A,Zt:x,tn:O})=>{const{nn:I,sn:k,en:P,cn:V}=O||{},{Ct:ee,dt:Ne}=x||{},{ct:Ye}=n,{M:Pe}=On(),{K:dt,rn:X}=r,[at,vt]=T("showNativeOverlaidScrollbars"),[ct,ft]=T("scrollbars.theme"),[He,ye]=T("scrollbars.visibility"),[ge,Jt]=T("scrollbars.autoHide"),[hn,gr]=T("scrollbars.autoHideSuspend"),[Ni]=T("scrollbars.autoHideDelay"),[cl,ll]=T("scrollbars.dragScroll"),[ul,Gr]=T("scrollbars.clickScroll"),[as,rp]=T("overflow"),ip=I||k||V||ee||A,Rn=P||ye||rp,ap=at&&Pe.x&&Pe.y,Ai=(xi,mr,dl)=>{const Oi=xi.includes(Jo)&&(He===hr||"auto"===He&&mr===Jo);return S(ML,Oi,dl),Oi};if(f=Ni,Ne&&!A&&(hn&&(X.x||X.y)?(De(!1),d(),m(()=>{d=Oe(L,"scroll",B(De,!0),{A:!0})})):De(!0)),vt&&S("os-theme-none",ap),ft&&(S(u),S(ct,!0),u=ct),gr&&!hn&&De(!0),Jt&&(a="move"===ge,c="leave"===ge,l="never"===ge,ne(l,!0)),ll&&S(AL,cl),Gr&&S(NL,ul),Rn){const xi=Ai(as.x,dt.x,!0),mr=Ai(as.y,dt.y,!1);S(TL,!(xi&&mr))}ip&&(Q(),j(),ie(),V&&te(),S(G_,!X.x,!0),S(G_,!X.y,!1),S(IL,Ye&&!M))},{},b]})(e,t,p,l,u,o),m=w=>dn(w).some(E=>!!w[E]),C=(w,E)=>{if(n())return!1;const{pn:b,Dt:R,At:G,gn:L}=w,M=b||{},S=!!R||!s,j={It:V_(t,M,S),pn:M,Dt:S};if(L)return y(j),!1;const Q=E||h(ce({},j,{At:G})),te=c(ce({},j,{_n:p,Zt:Q}));y(ce({},j,{Zt:Q,tn:te}));const ie=m(Q),ne=m(te),le=ie||ne||!Fh(M)||S;return s=!0,le&&r(w,{Zt:Q,tn:te}),le};return[()=>{const{an:w,ht:E,Ot:b}=u,R=Wt(w),G=[f(),a(),g()],L=b();return xn(E,R),L(),B(Gt,G)},C,()=>({hn:p,bn:l}),{wn:u,yn:v},d]},fn=(e,t,n)=>{const{N:r}=On(),o=Zc(e),s=o?e:e.target,i=K_(s);if(t&&!i){let a=!1;const c=[],l={},u=M=>{const S=h_(M,!0),j=Ti("__osOptionsValidationPlugin");return j?j(S,!0):S},d=ce({},r(),u(t)),[f,h,p]=Qh(),[g,y,v]=Qh(n),m=(M,S)=>{v(M,S),p(M,S)},[C,w,E,b,R]=tV(e,d,()=>a,({pn:M,Dt:S},{Zt:j,tn:Q})=>{const{ft:te,Ct:ie,xt:ne,Ht:le,Et:De,dt:pe}=j,{nn:je,sn:T,en:A,cn:x}=Q;m("updated",[L,{updateHints:{sizeChanged:!!te,directionChanged:!!ie,heightIntrinsicChanged:!!ne,overflowEdgeChanged:!!je,overflowAmountChanged:!!T,overflowStyleChanged:!!A,scrollCoordinatesChanged:!!x,contentMutation:!!le,hostMutation:!!De,appear:!!pe},changedOptions:M||{},force:!!S}])},M=>m("scroll",[L,M])),G=M=>{(e=>{np.delete(e)})(s),Gt(c),a=!0,m("destroyed",[L,M]),h(),y()},L={options(M,S){if(M){const j=S?r():{},Q=L_(d,ce(j,u(M)));Fh(Q)||(ce(d,Q),w({pn:Q}))}return ce({},d)},on:g,off:(M,S)=>{M&&S&&y(M,S)},state(){const{hn:M,bn:S}=E(),{ct:j}=M,{Vt:Q,Rt:te,K:ie,rn:ne,ln:le,dn:De,Lt:pe}=S;return ce({},{overflowEdge:Q,overflowAmount:te,overflowStyle:ie,hasOverflow:ne,scrollCoordinates:{start:pe.D,end:pe.T},padding:le,paddingAbsolute:De,directionRTL:j,destroyed:a})},elements(){const{vt:M,gt:S,ln:j,ot:Q,bt:te,ht:ie,Qt:ne}=b.wn,{Xt:le,Gt:De}=b.yn,pe=T=>{const{Pt:A,Ut:x,kt:O}=T;return{scrollbar:O,track:x,handle:A}},je=T=>{const{Yt:A,Wt:x}=T,O=pe(A[0]);return ce({},O,{clone:()=>{const I=pe(x());return w({gn:!0}),I}})};return ce({},{target:M,host:S,padding:j||Q,viewport:Q,content:te||Q,scrollOffsetElement:ie,scrollEventElement:ne,scrollbarHorizontal:je(le),scrollbarVertical:je(De)})},update:M=>w({Dt:M,At:!0}),destroy:B(G,!1),plugin:M=>l[dn(M)[0]]};return Ve(c,[R]),((e,t)=>{np.set(e,t)})(s,L),tI(J_,fn,[L,f,l]),((e,t)=>{const{nativeScrollbarsOverlaid:n,body:r}=t||{},{M:o,R:s,U:i}=On(),{nativeScrollbarsOverlaid:a,body:c}=i().cancel,l=n??a,u=Th(r)?c:r,d=(o.x||o.y)&&l,f=e&&(Gc(u)?!s:u);return!!d||!!f})(b.wn.wt,!o&&e.cancel)?(G(!0),L):(Ve(c,C()),m("initialized",[L]),L.update(),L)}return i};fn.plugin=e=>{const t=Nn(e),n=t?e:[e],r=n.map(o=>tI(o,fn)[0]);return(e=>{Ce(e,t=>Ce(t,(n,r)=>{J_[r]=t[r]}))})(n),t?r:r[0]},fn.valid=e=>{const t=e&&e.elements,n=zt(t)&&t();return Wc(n)&&!!K_(n.target)},fn.env=()=>{const{k:e,M:t,R:n,V:r,B:o,F:s,U:i,P:a,N:c,q:l}=On();return ce({},{scrollbarsSize:e,scrollbarsOverlaid:t,scrollbarsHiding:n,scrollTimeline:r,staticDefaultInitialization:o,staticDefaultOptions:s,getDefaultInitialization:i,setDefaultInitialization:a,getDefaultOptions:c,setDefaultOptions:l})},fn.nonce=e=>{Z_=e};const oI=["content"],nV=["*"];let sI=(()=>{class e{constructor(n){this.ngZone=n,this.instanceRef=null;const[r,o]=(()=>{if(typeof window>"u"){const l=()=>{};return[l,l]}let e,t;const n=window,r="function"==typeof n.requestIdleCallback,o=n.requestAnimationFrame,s=n.cancelAnimationFrame,i=r?n.requestIdleCallback:o,a=r?n.cancelIdleCallback:s,c=()=>{a(e),s(t)};return[(l,u)=>{c(),e=i(r?()=>{c(),t=o(l)}:l,"object"==typeof u?u:{timeout:2233})},c]})();this.requestDefer=r,this.cancelDefer=o}osInitialize(n){this.ngZone.runOutsideAngular(()=>{const r=()=>{this.instanceRef=fn(n,this.options||{},this.events||{})};this.defer?this.requestDefer(r,this.defer):r()})}osInstance(){return this.instanceRef}ngOnChanges(n){const r=n.options,o=n.events;if(r){const s=r.currentValue;this.options=s,fn.valid(this.instanceRef)&&this.instanceRef.options(s||{},!0)}if(o){const s=o.currentValue;this.events=s,fn.valid(this.instanceRef)&&this.instanceRef.on(s||{},!0)}}ngOnDestroy(){this.cancelDefer()}}return e.\u0275fac=function(n){return new(n||e)(K(Se))},e.\u0275dir=kt({type:e,selectors:[["","overlayScrollbars",""]],inputs:{options:"options",events:"events",defer:"defer"},features:[Ds]}),e})(),iI=(()=>{class e{constructor(n,r){this.ngZone=n,this.targetRef=r,this.onInitialized=new $t,this.onUpdated=new $t,this.onDestroyed=new $t,this.onScroll=new $t}osInstance(){return this.osDirective.osInstance()}getElement(){return this.targetRef.nativeElement}ngAfterViewInit(){const n=this.getElement(),r=this.contentRef.nativeElement;n&&r&&this.osDirective.osInitialize({target:n,elements:{viewport:r,content:r}})}ngOnDestroy(){this.osDirective?.osInstance().destroy()}mergeEvents(n){return((e,t)=>Object.keys(e).reduce((n,r)=>{const s=t[r];return n[r]=[e[r],...(Array.isArray(s)?s:[s]).filter(Boolean)],n},{}))({initialized:(...r)=>this.dispatchEventIfHasObservers(this.onInitialized,r),updated:(...r)=>this.dispatchEventIfHasObservers(this.onUpdated,r),destroyed:(...r)=>this.dispatchEventIfHasObservers(this.onDestroyed,r),scroll:(...r)=>this.dispatchEventIfHasObservers(this.onScroll,r)},n||{})}dispatchEventIfHasObservers(n,r){(n.observed||n.observers.length>0)&&this.ngZone.run(()=>n.emit(r))}}return e.\u0275fac=function(n){return new(n||e)(K(Se),K(xr))},e.\u0275cmp=Kl({type:e,selectors:[["overlay-scrollbars"],["","overlay-scrollbars",""]],viewQuery:function(n,r){if(1&n&&(fc(oI,5),fc(oI,5,sI)),2&n){let o;dc(o=hc())&&(r.contentRef=o.first),dc(o=hc())&&(r.osDirective=o.first)}},hostAttrs:["data-overlayscrollbars-initialize",""],inputs:{options:"options",events:"events",defer:"defer"},outputs:{onInitialized:"osInitialized",onUpdated:"osUpdated",onDestroyed:"osDestroyed",onScroll:"osScroll"},ngContentSelectors:nV,decls:3,vars:3,consts:[["overlayScrollbars","","data-overlayscrollbars-contents","",3,"options","events","defer"],["content",""]],template:function(n,r){1&n&&(function gw(e){const t=D()[Re][pt];if(!t.projection){const r=t.projection=Ns(e?e.length:1,null),o=r.slice();let s=t.child;for(;null!==s;){const i=e?qO(s,e):0;null!==i&&(o[i]?o[i].projectionNext=s:r[i]=s,o[i]=s),s=s.next}}}(),ze(0,"div",0,1),function mw(e,t=0,n){const r=D(),o=oe(),s=To(o,Z+e,16,null,n||null);null===s.projection&&(s.projection=t),cu(),(!r[rn]||so())&&32!=(32&s.flags)&&function g0(e,t,n){ry(t[W],0,t,n,Yu(e,n,t),Km(n.parent||t[pt],n,t))}(o,r,s)}(2),rt()),2&n&&nt("options",r.options)("events",r.mergeEvents(r.events))("defer",r.defer)},dependencies:[sI],encapsulation:2}),e})(),sV=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Kr({type:e}),e.\u0275inj=Cr({}),e})();const aV=["osRef"];function cV(e,t){1&e&&(ze(0,"div",14),rc(1,"img",15),rt())}const lV=e=>({display:e});function uV(e,t){if(1&e&&(ze(0,"div",11,12),Ot(2,cV,2,0,"div",13),rt()),2&e){const n=lr();nt("ngStyle",Sf(5,lV,n.elementHidden?"none":void 0))("options",n.options)("events",n.events)("defer",!0),yt(2),nt("ngIf",!n.contentHidden)}}function dV(e,t){1&e&&(ze(0,"div",16)(1,"div",14),rc(2,"img",15),rt()())}function fV(e,t){1&e&&ot(0," Show ")}function hV(e,t){1&e&&ot(0," Hide ")}function pV(e,t){1&e&&ot(0," Show ")}function gV(e,t){1&e&&ot(0," Hide ")}function mV(e,t){if(1&e){const n=ff();ze(0,"button",7),Vr("click",function(){return Es(n),_s(lr().scrollContent())}),ot(1,"Scroll"),rt(),ze(2,"button",7),Vr("click",function(){return Es(n),_s(lr().toggleContent())}),Ot(3,fV,1,0,"ng-template",6)(4,hV,1,0,"ng-template",6),ot(5," Content "),rt(),ze(6,"button",7),Vr("click",function(){return Es(n),_s(lr().toggleElement())}),Ot(7,pV,1,0,"ng-template",6)(8,gV,1,0,"ng-template",6),ot(9," Element "),rt()}if(2&e){const n=lr();yt(3),nt("ngIf",n.contentHidden),yt(1),nt("ngIf",!n.contentHidden),yt(3),nt("ngIf",n.elementHidden),yt(1),nt("ngIf",!n.elementHidden)}}function yV(e,t){1&e&&ot(0," Destroy ")}function vV(e,t){1&e&&ot(0," Initialize ")}const DV=e=>({event:!0,active:e});function wV(e,t){if(1&e&&(ze(0,"div",17),ot(1),rt()),2&e){const n=t.$implicit;nt("ngClass",Sf(3,DV,n.value.active)),yt(1),vf(" ",n.key," (",n.value.count,") ")}}function CV(e,t){1&e&&ot(0," Destroy ")}function EV(e,t){1&e&&ot(0," Initialize ")}function _V(e,t){if(1&e){const n=ff();ze(0,"section")(1,"div",5)(2,"button",7),Vr("click",function(){return Es(n),_s(lr().toggleBodyOverlayScrollbars())}),Ot(3,CV,1,0,"ng-template",6)(4,EV,1,0,"ng-template",6),ot(5," Body OverlayScrollbars "),rt()()()}if(2&e){const n=lr();yt(3),nt("ngIf",n.useBodyOverlayScrollbars),yt(1),nt("ngIf",!n.useBodyOverlayScrollbars)}}const aI=e=>fn({target:document.body,cancel:{body:!e&&null}},{scrollbars:{theme:"os-theme-light"}}).state().destroyed;let IV=(()=>{class e{contentHidden=!1;elementHidden=!1;useOverlayScrollbars=!0;useBodyOverlayScrollbars=null;options={scrollbars:{theme:"os-theme-light"}};events;observedEvents$;osRef;constructor(n){const[r,o]=(e=>{const t=new Yp([]),n={},r={},s=a=>({active:t.getValue().includes(a),count:n[a]||0});return[t.pipe(Tp(()=>({initialized:s("initialized"),destroyed:s("destroyed"),updated:s("updated"),scroll:s("scroll")}))),a=>{const c=n[a];n[a]="number"==typeof c?c+1:1,t.next(Array.from(new Set([...t.getValue(),a]))),clearTimeout(r[a]),r[a]=setTimeout(()=>{const l=new Set(t.getValue());l.delete(a),t.next(Array.from(l)),e.detectChanges()},500),e.detectChanges()}]})(n);this.events={initialized:()=>o("initialized"),destroyed:()=>o("destroyed"),updated:()=>o("updated"),scroll:()=>o("scroll")},this.observedEvents$=r}scrollContent(){const n=this.osRef?.osInstance();if(!n)return;const{overflowAmount:r}=n.state(),{scrollOffsetElement:o}=n.elements(),{scrollLeft:s,scrollTop:i}=o;o.scrollTo({behavior:"smooth",left:Math.round((r.x-s)/r.x)*r.x,top:Math.round((r.y-i)/r.y)*r.y})}toggleContent(){this.contentHidden=!this.contentHidden}toggleElement(){this.elementHidden=!this.elementHidden}toggleBodyOverlayScrollbars(){const n=fn(document.body);n?(n.destroy(),this.useBodyOverlayScrollbars=!1):this.useBodyOverlayScrollbars=!aI(!0)}ngOnInit(){this.useBodyOverlayScrollbars=!aI()}originalOrder(){return 0}static \u0275fac=function(r){return new(r||e)(K(Od))};static \u0275cmp=Kl({type:e,selectors:[["app-root"]],viewQuery:function(r,o){if(1&r&&fc(aV,5,iI),2&r){let s;dc(s=hc())&&(o.osRef=s.first)}},decls:27,vars:12,consts:[["href","https://www.npmjs.com/package/overlayscrollbars-ngx","target","_blank"],[1,"slot"],["overlay-scrollbars","","class","overlayscrollbars-ngx",3,"ngStyle","options","events","defer",4,"ngIf"],["class","overlayscrollbars-ngx",4,"ngIf"],[1,"title"],[1,"items"],[3,"ngIf"],[3,"click"],[3,"ngClass",4,"ngFor","ngForOf"],[4,"ngIf"],["href","https://github.com/KingSora/OverlayScrollbars/tree/master/examples/angular","target","_blank"],["overlay-scrollbars","",1,"overlayscrollbars-ngx",3,"ngStyle","options","events","defer"],["osRef",""],["class","logo",4,"ngIf"],[1,"logo"],["alt","Angular logo","src","assets/logo.svg"],[1,"overlayscrollbars-ngx"],[3,"ngClass"]],template:function(r,o){1&r&&(ze(0,"main")(1,"h1")(2,"a",0),ot(3," OverlayScrollbars Ngx "),rt()(),ze(4,"section",1),Ot(5,uV,3,7,"div",2)(6,dV,3,0,"div",3),rt(),ze(7,"section")(8,"p",4),ot(9,"Actions:"),rt(),ze(10,"div",5),Ot(11,mV,10,4,"ng-template",6),ze(12,"button",7),Vr("click",function(){return o.useOverlayScrollbars=!o.useOverlayScrollbars}),Ot(13,yV,1,0,"ng-template",6)(14,vV,1,0,"ng-template",6),ot(15," OverlayScrollbars "),rt()()(),ze(16,"section")(17,"p",4),ot(18,"Events:"),rt(),ze(19,"div",5),Ot(20,wV,2,5,"div",8),Mf(21,"keyvalue"),Mf(22,"async"),rt()()(),ze(23,"footer"),Ot(24,_V,6,2,"section",9),ze(25,"a",10),ot(26," Open source code of this example. "),rt()()),2&r&&(yt(5),nt("ngIf",o.useOverlayScrollbars),yt(1),nt("ngIf",!o.useOverlayScrollbars),yt(5),nt("ngIf",o.useOverlayScrollbars),yt(2),nt("ngIf",o.useOverlayScrollbars),yt(1),nt("ngIf",!o.useOverlayScrollbars),yt(6),nt("ngForOf",sC(21,7,function oC(e,t,n){const r=e+Z,o=D(),s=oo(o,r);return pi(o,r)?Jw(o,Ct(),t,s.transform,n,s):s.transform(n)}(22,10,o.observedEvents$),o.originalOrder)),yt(4),nt("ngIf",null!==o.useBodyOverlayScrollbars))},dependencies:[wE,EE,IE,ME,iI,TE,NE],encapsulation:2})}return e})(),bV=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Kr({type:e,bootstrap:[IV]});static \u0275inj=Cr({imports:[Zk,sV]})}return e})();qk().bootstrapModule(bV).catch(e=>console.error(e))}},ml=>{ml(ml.s=591)}]); \ No newline at end of file diff --git a/docs/example/angular/styles.2ba0ea6e4272efb8.css b/docs/example/angular/styles.ff2cbafa2c328b65.css similarity index 99% rename from docs/example/angular/styles.2ba0ea6e4272efb8.css rename to docs/example/angular/styles.ff2cbafa2c328b65.css index 592c41a6..f802fd1c 100644 --- a/docs/example/angular/styles.2ba0ea6e4272efb8.css +++ b/docs/example/angular/styles.ff2cbafa2c328b65.css @@ -1,6 +1,6 @@ /*! * OverlayScrollbars - * Version: 2.9.1 + * Version: 2.9.2 * * Copyright (c) Rene Haas | KingSora. * https://github.com/KingSora diff --git a/docs/example/overlayscrollbars/assets/index-C4FLjNXX.js b/docs/example/overlayscrollbars/assets/index-C4FLjNXX.js new file mode 100644 index 00000000..9d500530 --- /dev/null +++ b/docs/example/overlayscrollbars/assets/index-C4FLjNXX.js @@ -0,0 +1,9 @@ +(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))o(s);new MutationObserver(s=>{for(const c of s)if(c.type==="childList")for(const r of c.addedNodes)r.tagName==="LINK"&&r.rel==="modulepreload"&&o(r)}).observe(document,{childList:!0,subtree:!0});function n(s){const c={};return s.integrity&&(c.integrity=s.integrity),s.referrerPolicy&&(c.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?c.credentials="include":s.crossOrigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function o(s){if(s.ep)return;s.ep=!0;const c=n(s);fetch(s.href,c)}})();/*! + * OverlayScrollbars + * Version: 2.9.2 + * + * Copyright (c) Rene Haas | KingSora. + * https://github.com/KingSora + * + * Released under the MIT license. + */const ut=(t,e)=>{const{o:n,i:o,u:s}=t;let c=n,r;const a=(l,d)=>{const S=c,C=l,p=d||(o?!o(S,C):S!==C);return(p||s)&&(c=C,r=S),[c,p,r]};return[e?l=>a(e(c,r),l):a,l=>[c,!!l,r]]},Qo=typeof window<"u"&&typeof HTMLElement<"u"&&!!window.document,at=Qo?window:{},Gn=Math.max,Go=Math.min,Ze=Math.round,Oe=Math.abs,Ln=Math.sign,to=at.cancelAnimationFrame,gn=at.requestAnimationFrame,Ce=at.setTimeout,Ke=at.clearTimeout,Me=t=>typeof at[t]<"u"?at[t]:void 0,ts=Me("MutationObserver"),kn=Me("IntersectionObserver"),Ee=Me("ResizeObserver"),be=Me("ScrollTimeline"),mn=t=>t===void 0,Le=t=>t===null,xt=t=>typeof t=="number",ce=t=>typeof t=="string",vn=t=>typeof t=="boolean",mt=t=>typeof t=="function",Ot=t=>Array.isArray(t),$e=t=>typeof t=="object"&&!Ot(t)&&!Le(t),hn=t=>{const e=!!t&&t.length,n=xt(e)&&e>-1&&e%1==0;return Ot(t)||!mt(t)&&n?e>0&&$e(t)?e-1 in t:!0:!1},Ae=t=>!!t&&t.constructor===Object,Te=t=>t instanceof HTMLElement,ke=t=>t instanceof Element;function X(t,e){if(hn(t))for(let n=0;ne(t[n],n,t));return t}const eo=(t,e)=>t.indexOf(e)>=0,te=(t,e)=>t.concat(e),nt=(t,e,n)=>(!ce(e)&&hn(e)?Array.prototype.push.apply(t,e):t.push(e),t),kt=t=>Array.from(t||[]),bn=t=>Ot(t)?t:!ce(t)&&hn(t)?kt(t):[t],Ye=t=>!!t&&!t.length,Xe=t=>kt(new Set(t)),pt=(t,e,n)=>{X(t,s=>s&&s.apply(void 0,e||[])),!n&&(t.length=0)},no="paddingTop",oo="paddingRight",so="paddingLeft",co="paddingBottom",ro="marginLeft",lo="marginRight",io="marginBottom",ao="overflowX",uo="overflowY",Pe="width",ze="height",Mt="visible",zt="hidden",Ut="scroll",es=t=>{const e=String(t||"");return e?e[0].toUpperCase()+e.slice(1):""},Ie=(t,e,n,o)=>{if(t&&e){let s=!0;return X(n,c=>{const r=t[c],a=e[c];r!==a&&(s=!1)}),s}return!1},fo=(t,e)=>Ie(t,e,["w","h"]),Se=(t,e)=>Ie(t,e,["x","y"]),ns=(t,e)=>Ie(t,e,["t","r","b","l"]),Rt=()=>{},H=(t,...e)=>t.bind(0,...e),Nt=t=>{let e;const n=t?Ce:gn,o=t?Ke:to;return[s=>{o(e),e=n(()=>s(),mt(t)?t():t)},()=>o(e)]},Je=(t,e)=>{const{_:n,v:o,p:s,S:c}=e||{};let r,a,i,f,l=Rt;const d=function(L){l(),Ke(r),f=r=a=void 0,l=Rt,t.apply(this,L)},S=x=>c&&a?c(a,x):x,C=()=>{l!==Rt&&d(S(i)||i)},p=function(){const L=kt(arguments),A=mt(n)?n():n;if(xt(A)&&A>=0){const q=mt(o)?o():o,b=xt(q)&&q>=0,T=A>0?Ce:gn,D=A>0?Ke:to,R=S(L)||L,M=d.bind(0,R);let v;l(),s&&!f?(M(),f=!0,v=T(()=>f=void 0,A)):(v=T(M,A),b&&!r&&(r=Ce(C,q))),l=()=>D(v),a=i=R}else d(L)};return p.m=C,p},po=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),ht=t=>t?Object.keys(t):[],j=(t,e,n,o,s,c,r)=>{const a=[e,n,o,s,c,r];return(typeof t!="object"||Le(t))&&!mt(t)&&(t={}),X(a,i=>{X(i,(f,l)=>{const d=i[l];if(t===d)return!0;const S=Ot(d);if(d&&Ae(d)){const C=t[l];let p=C;S&&!Ot(C)?p=[]:!S&&!Ae(C)&&(p={}),t[l]=j(p,d)}else t[l]=S?d.slice():d})}),t},yo=(t,e)=>X(j({},t),(n,o,s)=>{n===void 0?delete s[o]:n&&Ae(n)&&(s[o]=yo(n))}),Sn=t=>!ht(t).length,go=(t,e,n)=>Gn(t,Go(e,n)),_t=t=>Xe((Ot(t)?t:(t||"").split(" ")).filter(e=>e)),wn=(t,e)=>t&&t.getAttribute(e),Pn=(t,e)=>t&&t.hasAttribute(e),Et=(t,e,n)=>{X(_t(e),o=>{t&&t.setAttribute(o,String(n||""))})},St=(t,e)=>{X(_t(e),n=>t&&t.removeAttribute(n))},Re=(t,e)=>{const n=_t(wn(t,e)),o=H(Et,t,e),s=(c,r)=>{const a=new Set(n);return X(_t(c),i=>{a[r](i)}),kt(a).join(" ")};return{O:c=>o(s(c,"delete")),$:c=>o(s(c,"add")),C:c=>{const r=_t(c);return r.reduce((a,i)=>a&&n.includes(i),r.length>0)}}},mo=(t,e,n)=>(Re(t,e).O(n),H(xn,t,e,n)),xn=(t,e,n)=>(Re(t,e).$(n),H(mo,t,e,n)),He=(t,e,n,o)=>(o?xn:mo)(t,e,n),On=(t,e,n)=>Re(t,e).C(n),vo=t=>Re(t,"class"),ho=(t,e)=>{vo(t).O(e)},Cn=(t,e)=>(vo(t).$(e),H(ho,t,e)),bo=(t,e)=>{const n=e?ke(e)&&e:document;return n?kt(n.querySelectorAll(t)):[]},os=(t,e)=>{const n=e?ke(e)&&e:document;return n&&n.querySelector(t)},Qe=(t,e)=>ke(t)&&t.matches(e),So=t=>Qe(t,"body"),Ge=t=>t?kt(t.childNodes):[],ee=t=>t&&t.parentElement,Ft=(t,e)=>ke(t)&&t.closest(e),tn=t=>document.activeElement,ss=(t,e,n)=>{const o=Ft(t,e),s=t&&os(n,o),c=Ft(s,e)===o;return o&&s?o===t||s===t||c&&Ft(Ft(t,n),e)!==o:!1},Wt=t=>{X(bn(t),e=>{const n=ee(e);e&&n&&n.removeChild(e)})},dt=(t,e)=>H(Wt,t&&e&&X(bn(e),n=>{n&&t.appendChild(n)})),Vt=t=>{const e=document.createElement("div");return Et(e,"class",t),e},wo=t=>{const e=Vt();return e.innerHTML=t.trim(),X(Ge(e),n=>Wt(n))},zn=(t,e)=>t.getPropertyValue(e)||t[e]||"",xo=t=>{const e=t||0;return isFinite(e)?e:0},ge=t=>xo(parseFloat(t||"")),en=t=>Math.round(t*1e4)/1e4,Oo=t=>`${en(xo(t))}px`;function ne(t,e){t&&e&&X(e,(n,o)=>{try{const s=t.style,c=Le(n)||vn(n)?"":xt(n)?Oo(n):n;o.indexOf("--")===0?s.setProperty(o,c):s[o]=c}catch{}})}function At(t,e,n){const o=ce(e);let s=o?"":{};if(t){const c=at.getComputedStyle(t,n)||t.style;s=o?zn(c,e):kt(e).reduce((r,a)=>(r[a]=zn(c,a),r),s)}return s}const In=(t,e,n)=>{const o=e?`${e}-`:"",s=n?`-${n}`:"",c=`${o}top${s}`,r=`${o}right${s}`,a=`${o}bottom${s}`,i=`${o}left${s}`,f=At(t,[c,r,a,i]);return{t:ge(f[c]),r:ge(f[r]),b:ge(f[a]),l:ge(f[i])}},cs=(t,e)=>`translate${$e(t)?`(${t.x},${t.y})`:`Y(${t})`}`,rs=t=>!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length),ls={w:0,h:0},_e=(t,e)=>e?{w:e[`${t}Width`],h:e[`${t}Height`]}:ls,is=t=>_e("inner",t||at),jt=H(_e,"offset"),Co=H(_e,"client"),De=H(_e,"scroll"),En=t=>{const e=parseFloat(At(t,Pe))||0,n=parseFloat(At(t,ze))||0;return{w:e-Ze(e),h:n-Ze(n)}},je=t=>t.getBoundingClientRect(),as=t=>!!t&&rs(t),nn=t=>!!(t&&(t[ze]||t[Pe])),Eo=(t,e)=>{const n=nn(t);return!nn(e)&&n},Rn=(t,e,n,o)=>{X(_t(e),s=>{t&&t.removeEventListener(s,n,o)})},Q=(t,e,n,o)=>{var s;const c=(s=o&&o.H)!=null?s:!0,r=o&&o.I||!1,a=o&&o.A||!1,i={passive:c,capture:r};return H(pt,_t(e).map(f=>{const l=a?d=>{Rn(t,f,l,r),n&&n(d)}:n;return t&&t.addEventListener(f,l,i),H(Rn,t,f,l,r)}))},$o=t=>t.stopPropagation(),on=t=>t.preventDefault(),Ao=t=>$o(t)||on(t),wt=(t,e)=>{const{x:n,y:o}=xt(e)?{x:e,y:e}:e||{};xt(n)&&(t.scrollLeft=n),xt(o)&&(t.scrollTop=o)},ft=t=>({x:t.scrollLeft,y:t.scrollTop}),To=()=>({D:{x:0,y:0},T:{x:0,y:0}}),us=(t,e)=>{const{D:n,T:o}=t,{w:s,h:c}=e,r=(d,S,C)=>{let p=Ln(d)*C,x=Ln(S)*C;if(p===x){const L=Oe(d),A=Oe(S);x=L>A?0:x,p=L{const n=(o,s)=>o===0&&o<=s;return{x:n(t.x,e.x),y:n(t.y,e.y)}},Bn=({D:t,T:e},n)=>{const o=(s,c,r)=>go(0,1,(s-r)/(s-c)||0);return{x:o(t.x,e.x,n.x),y:o(t.y,e.y,n.y)}},sn=t=>{t&&t.focus&&t.focus({preventScroll:!0})},Nn=(t,e)=>{X(bn(e),t)},cn=t=>{const e=new Map,n=(c,r)=>{if(c){const a=e.get(c);Nn(i=>{a&&a[i?"delete":"clear"](i)},r)}else e.forEach(a=>{a.clear()}),e.clear()},o=(c,r)=>{if(ce(c)){const f=e.get(c)||new Set;return e.set(c,f),Nn(l=>{mt(l)&&f.add(l)},r),H(n,c,r)}vn(r)&&r&&n();const a=ht(c),i=[];return X(a,f=>{const l=c[f];l&&nt(i,o(f,l))}),H(pt,i)},s=(c,r)=>{X(kt(e.get(c)),a=>{r&&!Ye(r)?a.apply(0,r):a()})};return o(t||{}),[o,n,s]},Fn=t=>JSON.stringify(t,(e,n)=>{if(mt(n))throw 0;return n}),qn=(t,e)=>t?`${e}`.split(".").reduce((n,o)=>n&&po(n,o)?n[o]:void 0,t):void 0,ds={paddingAbsolute:!1,showNativeOverlaidScrollbars:!1,update:{elementEvents:[["img","load"]],debounce:[0,33],attributes:null,ignoreMutation:null},overflow:{x:"scroll",y:"scroll"},scrollbars:{theme:"os-theme-dark",visibility:"auto",autoHide:"never",autoHideDelay:1300,autoHideSuspend:!1,dragScroll:!0,clickScroll:!1,pointers:["mouse","touch","pen"]}},Ho=(t,e)=>{const n={},o=te(ht(e),ht(t));return X(o,s=>{const c=t[s],r=e[s];if($e(c)&&$e(r))j(n[s]={},Ho(c,r)),Sn(n[s])&&delete n[s];else if(po(e,s)&&r!==c){let a=!0;if(Ot(c)||Ot(r))try{Fn(c)===Fn(r)&&(a=!1)}catch{}a&&(n[s]=r)}}),n},Vn=(t,e,n)=>o=>[qn(t,o),n||qn(e,o)!==void 0],Kt="data-overlayscrollbars",we="os-environment",me=`${we}-scrollbar-hidden`,Ue=`${Kt}-initialize`,xe="noClipping",jn=`${Kt}-body`,Lt=Kt,fs="host",$t=`${Kt}-viewport`,ps=ao,ys=uo,gs="arrange",Do="measuring",ms="scrolling",Mo="scrollbarHidden",vs="noContent",rn=`${Kt}-padding`,Un=`${Kt}-content`,$n="os-size-observer",hs=`${$n}-appear`,bs=`${$n}-listener`,Ss="os-trinsic-observer",ws="os-theme-none",yt="os-scrollbar",xs=`${yt}-rtl`,Os=`${yt}-horizontal`,Cs=`${yt}-vertical`,Lo=`${yt}-track`,An=`${yt}-handle`,Es=`${yt}-visible`,$s=`${yt}-cornerless`,Wn=`${yt}-interaction`,Zn=`${yt}-unusable`,ln=`${yt}-auto-hide`,Kn=`${ln}-hidden`,Yn=`${yt}-wheel`,As=`${Lo}-interactive`,Ts=`${An}-interactive`;let ko;const Hs=()=>ko,Ds=t=>{ko=t};let We;const Ms=()=>{const t=(b,T,D)=>{dt(document.body,b),dt(document.body,b);const P=Co(b),R=jt(b),M=En(T);return D&&Wt(b),{x:R.h-P.h+M.h,y:R.w-P.w+M.w}},e=b=>{let T=!1;const D=Cn(b,me);try{T=At(b,"scrollbar-width")==="none"||At(b,"display","::-webkit-scrollbar")==="none"}catch{}return D(),T},n=`.${we}{scroll-behavior:auto!important;position:fixed;opacity:0;visibility:hidden;overflow:scroll;height:200px;width:200px;z-index:-1}.${we} div{width:200%;height:200%;margin:10px 0}.${me}{scrollbar-width:none!important}.${me}::-webkit-scrollbar,.${me}::-webkit-scrollbar-corner{appearance:none!important;display:none!important;width:0!important;height:0!important}`,s=wo(`
`)[0],c=s.firstChild,r=s.lastChild,a=Hs();a&&(r.nonce=a);const[i,,f]=cn(),[l,d]=ut({o:t(s,c),i:Se},H(t,s,c,!0)),[S]=d(),C=e(s),p={x:S.x===0,y:S.y===0},x={elements:{host:null,padding:!C,viewport:b=>C&&So(b)&&b,content:!1},scrollbars:{slot:!0},cancel:{nativeScrollbarsOverlaid:!1,body:null}},L=j({},ds),A=H(j,{},L),B=H(j,{},x),q={k:S,M:p,R:C,V:!!be,L:H(i,"r"),U:B,P:b=>j(x,b)&&B(),N:A,q:b=>j(L,b)&&A(),B:j({},x),F:j({},L)};if(St(s,"style"),Wt(s),Q(at,"resize",()=>{f("r",[])}),mt(at.matchMedia)&&!C&&(!p.x||!p.y)){const b=T=>{const D=at.matchMedia(`(resolution: ${at.devicePixelRatio}dppx)`);Q(D,"change",()=>{T(),b(T)},{A:!0})};b(()=>{const[T,D]=l();j(q.k,T),f("r",[D])})}return q},Ct=()=>(We||(We=Ms()),We),Po=(t,e)=>mt(e)?e.apply(0,t):e,Ls=(t,e,n,o)=>{const s=mn(o)?n:o;return Po(t,s)||e.apply(0,t)},zo=(t,e,n,o)=>{const s=mn(o)?n:o,c=Po(t,s);return!!c&&(Te(c)?c:e.apply(0,t))},ks=(t,e)=>{const{nativeScrollbarsOverlaid:n,body:o}=e||{},{M:s,R:c,U:r}=Ct(),{nativeScrollbarsOverlaid:a,body:i}=r().cancel,f=n??a,l=mn(o)?i:o,d=(s.x||s.y)&&f,S=t&&(Le(l)?!c:l);return!!d||!!S},Tn=new WeakMap,Ps=(t,e)=>{Tn.set(t,e)},zs=t=>{Tn.delete(t)},Io=t=>Tn.get(t),Is=(t,e,n)=>{let o=!1;const s=n?new WeakMap:!1,c=()=>{o=!0},r=a=>{if(s&&n){const i=n.map(f=>{const[l,d]=f||[];return[d&&l?(a||bo)(l,t):[],d]});X(i,f=>X(f[0],l=>{const d=f[1],S=s.get(l)||[];if(t.contains(l)&&d){const p=Q(l,d,x=>{o?(p(),s.delete(l)):e(x)});s.set(l,nt(S,p))}else pt(S),s.delete(l)}))}};return r(),[c,r]},Xn=(t,e,n,o)=>{let s=!1;const{j:c,X:r,Y:a,W:i,J:f,G:l}=o||{},d=Je(()=>s&&n(!0),{_:33,v:99}),[S,C]=Is(t,d,a),p=c||[],x=r||[],L=te(p,x),A=(q,b)=>{if(!Ye(b)){const T=f||Rt,D=l||Rt,P=[],R=[];let M=!1,v=!1;if(X(b,m=>{const{attributeName:k,target:z,type:N,oldValue:V,addedNodes:F,removedNodes:Z}=m,Y=N==="attributes",U=N==="childList",tt=t===z,y=Y&&k,g=y&&wn(z,k||""),h=ce(g)?g:null,w=y&&V!==h,u=eo(x,k)&&w;if(e&&(U||!tt)){const E=Y&&w,O=E&&i&&Qe(z,i),_=(O?!T(z,k,V,h):!Y||E)&&!D(m,!!O,t,o);X(F,J=>nt(P,J)),X(Z,J=>nt(P,J)),v=v||_}!e&&tt&&w&&!T(z,k,V,h)&&(nt(R,k),M=M||u)}),C(m=>Xe(P).reduce((k,z)=>(nt(k,bo(m,z)),Qe(z,m)?nt(k,z):k),[])),e)return!q&&v&&n(!1),[!1];if(!Ye(R)||M){const m=[Xe(R),M];return!q&&n.apply(0,m),m}}},B=new ts(H(A,!1));return[()=>(B.observe(t,{attributes:!0,attributeOldValue:!0,attributeFilter:L,subtree:e,childList:e,characterData:e}),s=!0,()=>{s&&(S(),B.disconnect(),s=!1)}),()=>{if(s)return d.m(),A(!0,B.takeRecords())}]},Ro={},_o={},Rs=t=>{X(t,e=>X(e,(n,o)=>{Ro[o]=e[o]}))},Bo=(t,e,n)=>ht(t).map(o=>{const{static:s,instance:c}=t[o],[r,a,i]=n||[],f=n?c:s;if(f){const l=n?f(r,a,e):f(e);return(i||_o)[o]=l}}),re=t=>_o[t],_s="__osOptionsValidationPlugin",Bs="__osSizeObserverPlugin",Ns=(t,e)=>{const{M:n}=e,[o,s]=t("showNativeOverlaidScrollbars");return[o&&n.x&&n.y,s]},Zt=t=>t.indexOf(Mt)===0,Fs=(t,e)=>{const n=(s,c,r,a)=>{const i=s===Mt?zt:s.replace(`${Mt}-`,""),f=Zt(s),l=Zt(r);return!c&&!a?zt:f&&l?Mt:f?c&&a?i:c?Mt:zt:c?i:l&&a?Mt:zt},o={x:n(e.x,t.x,e.y,t.y),y:n(e.y,t.y,e.x,t.x)};return{K:o,Z:{x:o.x===Ut,y:o.y===Ut}}},No="__osScrollbarsHidingPlugin",qs="__osClickScrollPlugin",Fo=(t,e,n)=>{const{dt:o}=n||{},s=re(Bs),[c]=ut({o:!1,u:!0});return()=>{const r=[],i=wo(`
`)[0],f=i.firstChild,l=d=>{const S=d instanceof ResizeObserverEntry;let C=!1,p=!1;if(S){const[x,,L]=c(d.contentRect),A=nn(x);p=Eo(x,L),C=!p&&!A}else p=d===!0;C||e({ft:!0,dt:p})};if(Ee){const d=new Ee(S=>l(S.pop()));d.observe(f),nt(r,()=>{d.disconnect()})}else if(s){const[d,S]=s(f,l,o);nt(r,te([Cn(i,hs),Q(i,"animationstart",d)],S))}else return Rt;return H(pt,nt(r,dt(t,i)))}},Vs=(t,e)=>{let n;const o=i=>i.h===0||i.isIntersecting||i.intersectionRatio>0,s=Vt(Ss),[c]=ut({o:!1}),r=(i,f)=>{if(i){const l=c(o(i)),[,d]=l;return d&&!f&&e(l)&&[l]}},a=(i,f)=>r(f.pop(),i);return[()=>{const i=[];if(kn)n=new kn(H(a,!1),{root:t}),n.observe(s),nt(i,()=>{n.disconnect()});else{const f=()=>{const l=jt(s);r(l)};nt(i,Fo(s,f)()),f()}return H(pt,nt(i,dt(t,s)))},()=>n&&a(!0,n.takeRecords())]},js=(t,e,n,o)=>{let s,c,r,a,i,f;const l=`[${Lt}]`,d=`[${$t}]`,S=["id","class","style","open","wrap","cols","rows"],{vt:C,gt:p,ot:x,ht:L,bt:A,nt:B,wt:q,yt:b,St:T,Ot:D}=t,P=u=>At(u,"direction")==="rtl",R={$t:!1,ct:P(C)},M=Ct(),v=re(No),[m]=ut({i:fo,o:{w:0,h:0}},()=>{const u=v&&v.tt(t,e,R,M,n).ut,O=!(q&&B)&&On(p,Lt,xe),$=!B&&b(gs),_=$&&ft(L),J=_&&D(),ot=T(Do,O),G=$&&u&&u()[0],rt=De(x),I=En(x);return G&&G(),wt(L,_),J&&J(),O&&ot(),{w:rt.w+I.w,h:rt.h+I.h}}),k=Je(o,{_:()=>s,v:()=>c,S(u,E){const[O]=u,[$]=E;return[te(ht(O),ht($)).reduce((_,J)=>(_[J]=O[J]||$[J],_),{})]}}),z=u=>{const E=P(C);j(u,{Ct:f!==E}),j(R,{ct:E}),f=E},N=(u,E)=>{const[O,$]=u,_={xt:$};return j(R,{$t:O}),!E&&o(_),_},V=({ft:u,dt:E})=>{const $=!(u&&!E)&&M.R?k:o,_={ft:u||E,dt:E};z(_),$(_)},F=(u,E)=>{const[,O]=m(),$={Ht:O};return z($),O&&!E&&(u?o:k)($),$},Z=(u,E,O)=>{const $={Et:E};return z($),E&&!O&&k($),$},[Y,U]=A?Vs(p,N):[],tt=!B&&Fo(p,V,{dt:!0}),[y,g]=Xn(p,!1,Z,{X:S,j:S}),h=B&&Ee&&new Ee(u=>{const E=u[u.length-1].contentRect;V({ft:!0,dt:Eo(E,i)}),i=E}),w=Je(()=>{const[,u]=m();o({Ht:u})},{_:222,p:!0});return[()=>{h&&h.observe(p);const u=tt&&tt(),E=Y&&Y(),O=y(),$=M.L(_=>{_?k({zt:_}):w()});return()=>{h&&h.disconnect(),u&&u(),E&&E(),a&&a(),O(),$()}},({It:u,At:E,Dt:O})=>{const $={},[_]=u("update.ignoreMutation"),[J,ot]=u("update.attributes"),[G,rt]=u("update.elementEvents"),[I,st]=u("update.debounce"),it=rt||ot,ct=E||O,lt=et=>mt(_)&&_(et);if(it){r&&r(),a&&a();const[et,K]=Xn(A||x,!0,F,{j:te(S,J||[]),Y:G,W:l,G:(W,gt)=>{const{target:vt,attributeName:Ht}=W;return(!gt&&Ht&&!B?ss(vt,l,d):!1)||!!Ft(vt,`.${yt}`)||!!lt(W)}});a=et(),r=K}if(st)if(k.m(),Ot(I)){const et=I[0],K=I[1];s=xt(et)&&et,c=xt(K)&&K}else xt(I)?(s=I,c=!1):(s=!1,c=!1);if(ct){const et=g(),K=U&&U(),W=r&&r();et&&j($,Z(et[0],et[1],ct)),K&&j($,N(K[0],ct)),W&&j($,F(W[0],ct))}return z($),$},R]},Us=(t,e,n,o)=>{const s="--os-viewport-percent",c="--os-scroll-percent",r="--os-scroll-direction",{U:a}=Ct(),{scrollbars:i}=a(),{slot:f}=i,{vt:l,gt:d,ot:S,Tt:C,ht:p,wt:x,nt:L}=e,{scrollbars:A}=C?{}:t,{slot:B}=A||{},q=[],b=[],T=[],D=zo([l,d,S],()=>L&&x?l:d,f,B),P=y=>{if(be){const g=new be({source:p,axis:y});return{Mt:w=>{const u=w.kt.animate({clear:["left"],[c]:[0,1]},{timeline:g});return()=>u.cancel()}}}},R={x:P("x"),y:P("y")},M=()=>{const{Rt:y,Vt:g}=n,h=(w,u)=>go(0,1,w/(w+u)||0);return{x:h(g.x,y.x),y:h(g.y,y.y)}},v=(y,g,h)=>{const w=h?Cn:ho;X(y,u=>{w(u.kt,g)})},m=(y,g)=>{X(y,h=>{const[w,u]=g(h);ne(w,u)})},k=(y,g,h)=>{const w=vn(h),u=w?h:!0,E=w?!h:!0;u&&v(b,y,g),E&&v(T,y,g)},z=()=>{const y=M(),g=h=>w=>[w.kt,{[s]:en(h)+""}];m(b,g(y.x)),m(T,g(y.y))},N=()=>{if(!be){const{Lt:y}=n,g=Bn(y,ft(p)),h=w=>u=>[u.kt,{[c]:en(w)+""}];m(b,h(g.x)),m(T,h(g.y))}},V=()=>{const{Lt:y}=n,g=_n(y),h=w=>u=>[u.kt,{[r]:w?"0":"1"}];m(b,h(g.x)),m(T,h(g.y))},F=()=>{if(L&&!x){const{Rt:y,Lt:g}=n,h=_n(g),w=Bn(g,ft(p)),u=E=>{const{kt:O}=E,$=ee(O)===S&&O,_=(J,ot,G)=>{const rt=ot*J;return Oo(G?rt:-rt)};return[$,$&&{transform:cs({x:_(w.x,y.x,h.x),y:_(w.y,y.y,h.y)})}]};m(b,u),m(T,u)}},Z=y=>{const g=y?"x":"y",w=Vt(`${yt} ${y?Os:Cs}`),u=Vt(Lo),E=Vt(An),O={kt:w,Ut:u,Pt:E},$=R[g];return nt(y?b:T,O),nt(q,[dt(w,u),dt(u,E),H(Wt,w),$&&$.Mt(O),o(O,k,y)]),O},Y=H(Z,!0),U=H(Z,!1),tt=()=>(dt(D,b[0].kt),dt(D,T[0].kt),H(pt,q));return Y(),U(),[{Nt:z,qt:N,Bt:V,Ft:F,jt:k,Xt:{Yt:b,Wt:Y,Jt:H(m,b)},Gt:{Yt:T,Wt:U,Jt:H(m,T)}},tt]},Ws=(t,e,n,o)=>(s,c,r)=>{const{gt:a,ot:i,nt:f,ht:l,Kt:d,Ot:S}=e,{kt:C,Ut:p,Pt:x}=s,[L,A]=Nt(333),[B,q]=Nt(444),b=P=>{mt(l.scrollBy)&&l.scrollBy({behavior:"smooth",left:P.x,top:P.y})},T=()=>{const P="pointerup pointercancel lostpointercapture",R=`client${r?"X":"Y"}`,M=r?Pe:ze,v=r?"left":"top",m=r?"w":"h",k=r?"x":"y",z=(V,F)=>Z=>{const{Rt:Y}=n,U=jt(p)[m]-jt(x)[m],y=F*Z/U*Y[k];wt(l,{[k]:V+y})},N=[];return Q(p,"pointerdown",V=>{const F=Ft(V.target,`.${An}`)===x,Z=F?x:p,Y=t.scrollbars,{button:U,isPrimary:tt,pointerType:y}=V,{pointers:g}=Y;if(U===0&&tt&&Y[F?"dragScroll":"clickScroll"]&&(g||[]).includes(y)){pt(N),q();const w=!F&&V.shiftKey,u=H(je,x),E=H(je,p),O=(K,W)=>(K||u())[v]-(W||E())[v],$=Ze(je(l)[M])/jt(l)[m]||1,_=z(ft(l)[k],1/$),J=V[R],ot=u(),G=E(),rt=ot[M],I=O(ot,G)+rt/2,st=J-G[v],it=F?0:st-I,ct=K=>{pt(et),Z.releasePointerCapture(K.pointerId)},lt=S(),et=[()=>{const K=ft(l);lt();const W=ft(l),gt={x:W.x-K.x,y:W.y-K.y};(Oe(gt.x)>3||Oe(gt.y)>3)&&(S(),wt(l,K),b(gt),B(lt))},Q(d,P,ct),Q(d,"selectstart",K=>on(K),{H:!1}),Q(p,P,ct),Q(p,"pointermove",K=>{const W=K[R]-J;(F||w)&&_(it+W)})];if(Z.setPointerCapture(V.pointerId),w)_(it);else if(!F){const K=re(qs);if(K){const W=K(_,O,it,rt,st);nt(et,H(W)),nt(N,H(W,!0))}}}})};let D=!0;return H(pt,[Q(x,"pointermove pointerleave",o),Q(C,"pointerenter",()=>{c(Wn,!0)}),Q(C,"pointerleave pointercancel",()=>{c(Wn,!1)}),!f&&Q(C,"mousedown",()=>{const P=tn();(Pn(P,$t)||Pn(P,Lt)||P===document.body)&&Ce(H(sn,i),25)}),Q(C,"wheel",P=>{const{deltaX:R,deltaY:M,deltaMode:v}=P;D&&v===0&&ee(C)===a&&b({x:R,y:M}),D=!1,c(Yn,!0),L(()=>{D=!0,c(Yn)}),on(P)},{H:!1,I:!0}),Q(C,"pointerdown",H(Q,d,"click",Ao,{A:!0,I:!0,H:!1}),{I:!0}),T(),A,q])},Zs=(t,e,n,o,s,c)=>{let r,a,i,f,l,d=Rt,S=0;const C=y=>y.pointerType==="mouse",[p,x]=Nt(),[L,A]=Nt(100),[B,q]=Nt(100),[b,T]=Nt(()=>S),[D,P]=Us(t,s,o,Ws(e,s,o,y=>C(y)&&Z())),{gt:R,Qt:M,wt:v}=s,{jt:m,Nt:k,qt:z,Bt:N,Ft:V}=D,F=(y,g)=>{if(T(),y)m(Kn);else{const h=H(m,Kn,!0);S>0&&!g?b(h):h()}},Z=()=>{(i?!r:!f)&&(F(!0),L(()=>{F(!1)}))},Y=y=>{m(ln,y,!0),m(ln,y,!1)},U=y=>{C(y)&&(r=i,i&&F(!0))},tt=[T,A,q,x,()=>d(),Q(R,"pointerover",U,{A:!0}),Q(R,"pointerenter",U),Q(R,"pointerleave",y=>{C(y)&&(r=!1,i&&F(!1))}),Q(R,"pointermove",y=>{C(y)&&a&&Z()}),Q(M,"scroll",y=>{p(()=>{z(),Z()}),c(y),V()})];return[()=>H(pt,nt(tt,P())),({It:y,Dt:g,Zt:h,tn:w})=>{const{nn:u,sn:E,en:O,cn:$}=w||{},{Ct:_,dt:J}=h||{},{ct:ot}=n,{M:G}=Ct(),{K:rt,rn:I}=o,[st,it]=y("showNativeOverlaidScrollbars"),[ct,lt]=y("scrollbars.theme"),[et,K]=y("scrollbars.visibility"),[W,gt]=y("scrollbars.autoHide"),[vt,Ht]=y("scrollbars.autoHideSuspend"),[Yt]=y("scrollbars.autoHideDelay"),[le,ie]=y("scrollbars.dragScroll"),[ae,Pt]=y("scrollbars.clickScroll"),[Bt,Be]=y("overflow"),Ne=J&&!g,Fe=I.x||I.y,qe=u||E||$||_||g,bt=O||K||Be,Ve=st&&G.x&&G.y,Xt=(Jt,Dt,ue)=>{const Qt=Jt.includes(Ut)&&(et===Mt||et==="auto"&&Dt===Ut);return m(Es,Qt,ue),Qt};if(S=Yt,Ne&&(vt&&Fe?(Y(!1),d(),B(()=>{d=Q(M,"scroll",H(Y,!0),{A:!0})})):Y(!0)),it&&m(ws,Ve),lt&&(m(l),m(ct,!0),l=ct),Ht&&!vt&&Y(!0),gt&&(a=W==="move",i=W==="leave",f=W==="never",F(f,!0)),ie&&m(Ts,le),Pt&&m(As,ae),bt){const Jt=Xt(Bt.x,rt.x,!0),Dt=Xt(Bt.y,rt.y,!1);m($s,!(Jt&&Dt))}qe&&(z(),k(),V(),$&&N(),m(Zn,!I.x,!0),m(Zn,!I.y,!1),m(xs,ot&&!v))},{},D]},Ks=t=>{const e=Ct(),{U:n,R:o}=e,{elements:s}=n(),{padding:c,viewport:r,content:a}=s,i=Te(t),f=i?{}:t,{elements:l}=f,{padding:d,viewport:S,content:C}=l||{},p=i?t:f.target,x=So(p),L=p.ownerDocument,A=L.documentElement,B=()=>L.defaultView||at,q=H(Ls,[p]),b=H(zo,[p]),T=H(Vt,""),D=H(q,T,r),P=H(b,T,a),R=I=>{const st=jt(I),it=De(I),ct=At(I,ao),lt=At(I,uo);return it.w-st.w>0&&!Zt(ct)||it.h-st.h>0&&!Zt(lt)},M=D(S),v=M===p,m=v&&x,k=!v&&P(C),z=!v&&M===k,N=m?A:M,V=m?N:p,F=!v&&b(T,c,d),Z=!z&&k,Y=[Z,N,F,V].map(I=>Te(I)&&!ee(I)&&I),U=I=>I&&eo(Y,I),tt=!U(N)&&R(N)?N:p,y=m?A:N,h={vt:p,gt:V,ot:N,ln:F,bt:Z,ht:y,Qt:m?L:N,an:x?A:tt,Kt:L,wt:x,Tt:i,nt:v,un:B,yt:I=>On(N,$t,I),St:(I,st)=>He(N,$t,I,st),Ot:()=>He(y,$t,ms,!0)},{vt:w,gt:u,ln:E,ot:O,bt:$}=h,_=[()=>{St(u,[Lt,Ue]),St(w,Ue),x&&St(A,[Ue,Lt])}];let J=Ge([$,O,E,u,w].find(I=>I&&!U(I)));const ot=m?w:$||O,G=H(pt,_);return[h,()=>{const I=B(),st=tn(),it=W=>{dt(ee(W),Ge(W)),Wt(W)},ct=W=>Q(W,"focusin focusout focus blur",Ao,{I:!0,H:!1}),lt="tabindex",et=wn(O,lt),K=ct(st);return Et(u,Lt,v?"":fs),Et(E,rn,""),Et(O,$t,""),Et($,Un,""),v||(Et(O,lt,et||"-1"),x&&Et(A,jn,"")),dt(ot,J),dt(u,E),dt(E||u,!v&&O),dt(O,$),nt(_,[K,()=>{const W=tn(),gt=U(O),vt=gt&&W===O?w:W,Ht=ct(vt);St(E,rn),St($,Un),St(O,$t),x&&St(A,jn),et?Et(O,lt,et):St(O,lt),U($)&&it($),gt&&it(O),U(E)&&it(E),sn(vt),Ht()}]),o&&!v&&(xn(O,$t,Mo),nt(_,H(St,O,$t))),sn(!v&&x&&st===w&&I.top===I?O:st),K(),J=0,G},G]},Ys=({bt:t})=>({Zt:e,_n:n,Dt:o})=>{const{xt:s}=e||{},{$t:c}=n;t&&(s||o)&&ne(t,{[ze]:c&&"100%"})},Xs=({gt:t,ln:e,ot:n,nt:o},s)=>{const[c,r]=ut({i:ns,o:In()},H(In,t,"padding",""));return({It:a,Zt:i,_n:f,Dt:l})=>{let[d,S]=r(l);const{R:C}=Ct(),{ft:p,Ht:x,Ct:L}=i||{},{ct:A}=f,[B,q]=a("paddingAbsolute");(p||S||(l||x))&&([d,S]=c(l));const T=!o&&(q||L||S);if(T){const D=!B||!e&&!C,P=d.r+d.l,R=d.t+d.b,M={[lo]:D&&!A?-P:0,[io]:D?-R:0,[ro]:D&&A?-P:0,top:D?-d.t:0,right:D?A?-d.r:"auto":0,left:D?A?"auto":-d.l:0,[Pe]:D&&`calc(100% + ${P}px)`},v={[no]:D?d.t:0,[oo]:D?d.r:0,[co]:D?d.b:0,[so]:D?d.l:0};ne(e||n,M),ne(n,v),j(s,{ln:d,dn:!D,rt:e?v:j({},M,v)})}return{fn:T}}},Js=(t,e)=>{const n=Ct(),{gt:o,ln:s,ot:c,nt:r,Qt:a,ht:i,wt:f,St:l,un:d}=t,{R:S}=n,C=f&&r,p=H(Gn,0),x={display:()=>!1,direction:g=>g!=="ltr",flexDirection:g=>g.endsWith("-reverse"),writingMode:g=>g!=="horizontal-tb"},L=ht(x),A={i:fo,o:{w:0,h:0}},B={i:Se,o:{}},q=g=>{l(Do,!C&&g)},b=g=>{if(!L.some(ot=>{const G=g[ot];return G&&x[ot](G)}))return{D:{x:0,y:0},T:{x:1,y:1}};q(!0);const w=ft(i),u=l(vs,!0),E=Q(a,Ut,ot=>{const G=ft(i);ot.isTrusted&&G.x===w.x&&G.y===w.y&&$o(ot)},{I:!0,A:!0});wt(i,{x:0,y:0}),u();const O=ft(i),$=De(i);wt(i,{x:$.w,y:$.h});const _=ft(i);wt(i,{x:_.x-O.x<1&&-$.w,y:_.y-O.y<1&&-$.h});const J=ft(i);return wt(i,w),gn(()=>E()),{D:O,T:J}},T=(g,h)=>{const w=at.devicePixelRatio%1!==0?1:0,u={w:p(g.w-h.w),h:p(g.h-h.h)};return{w:u.w>w?u.w:0,h:u.h>w?u.h:0}},[D,P]=ut(A,H(En,c)),[R,M]=ut(A,H(De,c)),[v,m]=ut(A),[k]=ut(B),[z,N]=ut(A),[V]=ut(B),[F]=ut({i:(g,h)=>Ie(g,h,L),o:{}},()=>as(c)?At(c,L):{}),[Z,Y]=ut({i:(g,h)=>Se(g.D,h.D)&&Se(g.T,h.T),o:To()}),U=re(No),tt=(g,h)=>`${h?ps:ys}${es(g)}`,y=g=>{const h=u=>[Mt,zt,Ut].map(E=>tt(E,u)),w=h(!0).concat(h()).join(" ");l(w),l(ht(g).map(u=>tt(g[u],u==="x")).join(" "),!0)};return({It:g,Zt:h,_n:w,Dt:u},{fn:E})=>{const{ft:O,Ht:$,Ct:_,dt:J,zt:ot}=h||{},G=U&&U.tt(t,e,w,n,g),{it:rt,ut:I,_t:st}=G||{},[it,ct]=Ns(g,n),[lt,et]=g("overflow"),K=Zt(lt.x),W=Zt(lt.y),gt=!0;let vt=P(u),Ht=M(u),Yt=m(u),le=N(u);ct&&S&&l(Mo,!it);{On(o,Lt,xe)&&q(!0);const[Dn]=I?I():[],[de]=vt=D(u),[fe]=Ht=R(u),pe=Co(c),ye=C&&is(d()),Jo={w:p(fe.w+de.w),h:p(fe.h+de.h)},Mn={w:p((ye?ye.w:pe.w+p(pe.w-fe.w))+de.w),h:p((ye?ye.h:pe.h+p(pe.h-fe.h))+de.h)};Dn&&Dn(),le=z(Mn),Yt=v(T(Jo,Mn),u)}const[ie,ae]=le,[Pt,Bt]=Yt,[Be,Ne]=Ht,[Fe,qe]=vt,[bt,Ve]=k({x:Pt.w>0,y:Pt.h>0}),Xt=K&&W&&(bt.x||bt.y)||K&&bt.x&&!bt.y||W&&bt.y&&!bt.x,Jt=E||_||ot||qe||Ne||ae||Bt||et||ct||gt,Dt=Fs(bt,lt),[ue,Qt]=V(Dt.K),[Zo,Ko]=F(u),Hn=_||J||Ko||Ve||u,[Yo,Xo]=Hn?Z(b(Zo),u):Y();return Jt&&(Qt&&y(Dt.K),st&&rt&&ne(c,st(Dt,w,rt(Dt,Be,Fe)))),q(!1),He(o,Lt,xe,Xt),He(s,rn,xe,Xt),j(e,{K:ue,Vt:{x:ie.w,y:ie.h},Rt:{x:Pt.w,y:Pt.h},rn:bt,Lt:us(Yo,Pt)}),{en:Qt,nn:ae,sn:Bt,cn:Xo||Bt,vn:Hn}}},Qs=t=>{const[e,n,o]=Ks(t),s={ln:{t:0,r:0,b:0,l:0},dn:!1,rt:{[lo]:0,[io]:0,[ro]:0,[no]:0,[oo]:0,[co]:0,[so]:0},Vt:{x:0,y:0},Rt:{x:0,y:0},K:{x:zt,y:zt},rn:{x:!1,y:!1},Lt:To()},{vt:c,ht:r,nt:a,Ot:i}=e,{R:f,M:l}=Ct(),d=!f&&(l.x||l.y),S=[Ys(e),Xs(e,s),Js(e,s)];return[n,C=>{const p={},L=d&&ft(r),A=L&&i();return X(S,B=>{j(p,B(C,p)||{})}),wt(r,L),A&&A(),!a&&wt(c,0),p},s,e,o]},Gs=(t,e,n,o,s)=>{let c=!1;const r=Vn(e,{}),[a,i,f,l,d]=Qs(t),[S,C,p]=js(l,f,r,b=>{q({},b)}),[x,L,,A]=Zs(t,e,p,f,l,s),B=b=>ht(b).some(T=>!!b[T]),q=(b,T)=>{if(n())return!1;const{pn:D,Dt:P,At:R,gn:M}=b,v=D||{},m=!!P||!c,k={It:Vn(e,v,m),pn:v,Dt:m};if(M)return L(k),!1;const z=T||C(j({},k,{At:R})),N=i(j({},k,{_n:p,Zt:z}));L(j({},k,{Zt:z,tn:N}));const V=B(z),F=B(N),Z=V||F||!Sn(v)||m;return c=!0,Z&&o(b,{Zt:z,tn:N}),Z};return[()=>{const{an:b,ht:T,Ot:D}=l,P=ft(b),R=[S(),a(),x()],M=D();return wt(T,P),M(),H(pt,R)},q,()=>({hn:p,bn:f}),{wn:l,yn:A},d]},Tt=(t,e,n)=>{const{N:o}=Ct(),s=Te(t),c=s?t:t.target,r=Io(c);if(e&&!r){let a=!1;const i=[],f={},l=v=>{const m=yo(v),k=re(_s);return k?k(m,!0):m},d=j({},o(),l(e)),[S,C,p]=cn(),[x,L,A]=cn(n),B=(v,m)=>{A(v,m),p(v,m)},[q,b,T,D,P]=Gs(t,d,()=>a,({pn:v,Dt:m},{Zt:k,tn:z})=>{const{ft:N,Ct:V,xt:F,Ht:Z,Et:Y,dt:U}=k,{nn:tt,sn:y,en:g,cn:h}=z;B("updated",[M,{updateHints:{sizeChanged:!!N,directionChanged:!!V,heightIntrinsicChanged:!!F,overflowEdgeChanged:!!tt,overflowAmountChanged:!!y,overflowStyleChanged:!!g,scrollCoordinatesChanged:!!h,contentMutation:!!Z,hostMutation:!!Y,appear:!!U},changedOptions:v||{},force:!!m}])},v=>B("scroll",[M,v])),R=v=>{zs(c),pt(i),a=!0,B("destroyed",[M,v]),C(),L()},M={options(v,m){if(v){const k=m?o():{},z=Ho(d,j(k,l(v)));Sn(z)||(j(d,z),b({pn:z}))}return j({},d)},on:x,off:(v,m)=>{v&&m&&L(v,m)},state(){const{hn:v,bn:m}=T(),{ct:k}=v,{Vt:z,Rt:N,K:V,rn:F,ln:Z,dn:Y,Lt:U}=m;return j({},{overflowEdge:z,overflowAmount:N,overflowStyle:V,hasOverflow:F,scrollCoordinates:{start:U.D,end:U.T},padding:Z,paddingAbsolute:Y,directionRTL:k,destroyed:a})},elements(){const{vt:v,gt:m,ln:k,ot:z,bt:N,ht:V,Qt:F}=D.wn,{Xt:Z,Gt:Y}=D.yn,U=y=>{const{Pt:g,Ut:h,kt:w}=y;return{scrollbar:w,track:h,handle:g}},tt=y=>{const{Yt:g,Wt:h}=y,w=U(g[0]);return j({},w,{clone:()=>{const u=U(h());return b({gn:!0}),u}})};return j({},{target:v,host:m,padding:k||z,viewport:z,content:N||z,scrollOffsetElement:V,scrollEventElement:F,scrollbarHorizontal:tt(Z),scrollbarVertical:tt(Y)})},update:v=>b({Dt:v,At:!0}),destroy:H(R,!1),plugin:v=>f[ht(v)[0]]};return nt(i,[P]),Ps(c,M),Bo(Ro,Tt,[M,S,f]),ks(D.wn.wt,!s&&t.cancel)?(R(!0),M):(nt(i,q()),B("initialized",[M]),M.update(),M)}return r};Tt.plugin=t=>{const e=Ot(t),n=e?t:[t],o=n.map(s=>Bo(s,Tt)[0]);return Rs(n),e?o:o[0]};Tt.valid=t=>{const e=t&&t.elements,n=mt(e)&&e();return Ae(n)&&!!Io(n.target)};Tt.env=()=>{const{k:t,M:e,R:n,V:o,B:s,F:c,U:r,P:a,N:i,q:f}=Ct();return j({},{scrollbarsSize:t,scrollbarsOverlaid:e,scrollbarsHiding:n,scrollTimeline:o,staticDefaultInitialization:s,staticDefaultOptions:c,getDefaultInitialization:r,setDefaultInitialization:a,getDefaultOptions:i,setDefaultOptions:f})};Tt.nonce=Ds;const tc=document.querySelector("#eventsSection"),Jn=document.querySelector("#events"),ec=t=>{tc.style.display="",Jn.innerHTML="",Object.entries(t).forEach(([e,n])=>{const o=document.createElement("div");o.className=`event ${n.active?"active":""}`,o.textContent=`${e} (${n.count})`,Jn.append(o)})},nc=()=>{let t=[];const e={},n={},o=r=>({active:t.includes(r),count:e[r]||0}),s=r=>{t=r,ec({initialized:o("initialized"),destroyed:o("destroyed"),updated:o("updated"),scroll:o("scroll")})};return r=>{const a=e[r];e[r]=typeof a=="number"?a+1:1,s(Array.from(new Set([...t,r]))),clearTimeout(n[r]),n[r]=setTimeout(()=>{const i=new Set(t);i.delete(r),s(Array.from(i))},500)}};let It,an=!1,un=!1,dn=!0;const ve=nc(),qt=document.querySelector("#target"),Qn=document.querySelector("#targetContent"),he=document.querySelector("#impostor"),fn=document.querySelector("#scrollButton"),oe=document.querySelector("#toggleContentButton"),se=document.querySelector("#toggleElementButton"),pn=document.querySelector("#toggleOverlayScrollbarsButton"),qo=()=>{an?(Qn.style.display="none",oe.textContent="Show Content"):(Qn.style.display="",oe.textContent="Hide Content")},Vo=()=>{un?(qt.style.display="none",se.textContent="Show Element"):(qt.style.display="",se.textContent="Hide Element")},jo=()=>{var t,e;dn?((t=he.parentElement)==null||t.append(qt),he.remove(),fn.style.display="",oe.style.display="",se.style.display="",pn.textContent="Destroy OverlayScrollbars",It=Tt(qt,{},{initialized:()=>ve("initialized"),destroyed:()=>ve("destroyed"),updated:()=>ve("updated"),scroll:()=>ve("scroll")})):(It==null||It.destroy(),(e=qt.parentElement)==null||e.append(he),qt.remove(),he.style.display="",fn.style.display="none",oe.style.display="none",se.style.display="none",pn.textContent="Initialize OverlayScrollbars")};fn.addEventListener("click",()=>{if(!It)return;const{overflowAmount:t}=It.state(),{scrollOffsetElement:e}=It.elements(),{scrollLeft:n,scrollTop:o}=e;e.scrollTo({behavior:"smooth",left:Math.round((t.x-n)/t.x)*t.x,top:Math.round((t.y-o)/t.y)*t.y})});oe.addEventListener("click",()=>{an=!an,qo()});se.addEventListener("click",()=>{un=!un,Vo()});pn.addEventListener("click",()=>{dn=!dn,jo()});qo();Vo();jo();let Gt=null;const Uo=t=>Tt({target:document.body,cancel:{body:t?!1:null}},{}).state().destroyed,oc=document.querySelector("#toggleBodyOverlayScrollbarsSection"),yn=document.querySelector("#toggleBodyOverlayScrollbarsButton"),Wo=()=>{Gt===null&&(Gt=!Uo()),oc.style.display="",yn.style.display="",yn.textContent=`${Gt?"Destroy":"Initialize"} Body OverlayScrollbars`};yn.addEventListener("click",()=>{const t=Tt(document.body);t?(t.destroy(),Gt=!1):Gt=!Uo(!0),Wo()});Wo(); diff --git a/docs/example/overlayscrollbars/assets/index-Bsi5VfRL.css b/docs/example/overlayscrollbars/assets/index-CDPcu1SQ.css similarity index 99% rename from docs/example/overlayscrollbars/assets/index-Bsi5VfRL.css rename to docs/example/overlayscrollbars/assets/index-CDPcu1SQ.css index a1d68961..aeb19ab5 100644 --- a/docs/example/overlayscrollbars/assets/index-Bsi5VfRL.css +++ b/docs/example/overlayscrollbars/assets/index-CDPcu1SQ.css @@ -1,6 +1,6 @@ *,*:before,*:after{box-sizing:border-box;font-family:inherit}:root{--foreground-color-rgb: 66 118 255;--background-color-rgb: 248 250 252;--foreground-color: rgb(var(--foreground-color-rgb));--background-color: rgb(var(--background-color-rgb));--text-color: #0a376b}*{outline-width:2px;outline-color:var(--foreground-color);outline-offset:2px}*:focus-visible{outline:2px solid var(--foreground-color)}body{margin:0;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-align:center;background-color:var(--background-color);color:var(--text-color);scroll-behavior:smooth}main{height:100vh;display:flex;flex-direction:column;justify-content:center}footer{margin-top:25vh;padding:3rem 0}section{margin:1.125rem}a{color:inherit;text-decoration:none;transition:color .15s,background-size .25s;padding:.25rem .5rem;background:linear-gradient(0deg,currentColor,currentColor) no-repeat right bottom / 0 2px}a:hover{text-underline-offset:.2em;background-size:100% 2px;background-position-x:left}a:hover,a:focus{color:var(--foreground-color)}a:focus-visible{border-radius:2px}button{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:block;background:var(--foreground-color);border:none;color:var(--background-color);border-radius:6px;cursor:pointer;font-size:.875rem;font-weight:600;padding:.625rem;transition:color .15s,outline-color .15s;transform:scale(1);outline:2px solid transparent;white-space:nowrap}button:hover,button:focus{outline-color:var(--foreground-color)}img{width:100%;height:100%}.slot{border-radius:6px;width:16rem;height:16rem;margin:0 auto;flex:none}.overlayscrollbars{width:100%;height:100%;overflow:auto;border:2px solid var(--foreground-color);border-radius:6px;box-shadow:rgb(var(--foreground-color-rgb) / .14) 0 .875rem 3.125rem}.logo{width:180%;height:180%;padding:1rem;display:inline-block;pointer-events:none;-webkit-user-select:none;user-select:none}.title{font-size:.875rem;font-weight:500;padding:0;margin:.25rem 0}.items{display:inline-flex;flex-wrap:wrap;gap:.75rem;justify-content:center;align-items:center;padding:.75rem;-webkit-backdrop-filter:brightness(88%) contrast(1.012);backdrop-filter:brightness(88%) contrast(1.012);border-radius:12px}.event{padding:.3rem .5rem;border-radius:4px;font-family:monospace}.event.active{color:var(--foreground-color);outline-offset:2px;outline:2px solid var(--foreground-color);background:rgb(var(--foreground-color-rgb) / .15)}/*! * OverlayScrollbars - * Version: 2.9.1 + * Version: 2.9.2 * * Copyright (c) Rene Haas | KingSora. * https://github.com/KingSora diff --git a/docs/example/overlayscrollbars/assets/index-DM7fMpyT.js b/docs/example/overlayscrollbars/assets/index-DM7fMpyT.js deleted file mode 100644 index da322627..00000000 --- a/docs/example/overlayscrollbars/assets/index-DM7fMpyT.js +++ /dev/null @@ -1,9 +0,0 @@ -(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))o(s);new MutationObserver(s=>{for(const c of s)if(c.type==="childList")for(const r of c.addedNodes)r.tagName==="LINK"&&r.rel==="modulepreload"&&o(r)}).observe(document,{childList:!0,subtree:!0});function n(s){const c={};return s.integrity&&(c.integrity=s.integrity),s.referrerPolicy&&(c.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?c.credentials="include":s.crossOrigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function o(s){if(s.ep)return;s.ep=!0;const c=n(s);fetch(s.href,c)}})();/*! - * OverlayScrollbars - * Version: 2.9.1 - * - * Copyright (c) Rene Haas | KingSora. - * https://github.com/KingSora - * - * Released under the MIT license. - */const dt=(t,e)=>{const{o:n,i:o,u:s}=t;let c=n,r;const a=(l,d)=>{const b=c,O=l,p=d||(o?!o(b,O):b!==O);return(p||s)&&(c=O,r=b),[c,p,r]};return[e?l=>a(e(c,r),l):a,l=>[c,!!l,r]]},Yo=typeof window<"u"&&typeof HTMLElement<"u"&&!!window.document,at=Yo?window:{},Qn=Math.max,Xo=Math.min,Ze=Math.round,Oe=Math.abs,Mn=Math.sign,Gn=at.cancelAnimationFrame,gn=at.requestAnimationFrame,Ce=at.setTimeout,Ke=at.clearTimeout,Me=t=>typeof at[t]<"u"?at[t]:void 0,Jo=Me("MutationObserver"),Ln=Me("IntersectionObserver"),Ee=Me("ResizeObserver"),be=Me("ScrollTimeline"),mn=t=>t===void 0,Le=t=>t===null,wt=t=>typeof t=="number",ce=t=>typeof t=="string",vn=t=>typeof t=="boolean",mt=t=>typeof t=="function",xt=t=>Array.isArray(t),$e=t=>typeof t=="object"&&!xt(t)&&!Le(t),hn=t=>{const e=!!t&&t.length,n=wt(e)&&e>-1&&e%1==0;return xt(t)||!mt(t)&&n?e>0&&$e(t)?e-1 in t:!0:!1},Ae=t=>!!t&&t.constructor===Object,Te=t=>t instanceof HTMLElement,ke=t=>t instanceof Element;function J(t,e){if(hn(t))for(let n=0;ne(t[n],n,t));return t}const to=(t,e)=>t.indexOf(e)>=0,te=(t,e)=>t.concat(e),et=(t,e,n)=>(!ce(e)&&hn(e)?Array.prototype.push.apply(t,e):t.push(e),t),Lt=t=>Array.from(t||[]),bn=t=>xt(t)?t:!ce(t)&&hn(t)?Lt(t):[t],Ye=t=>!!t&&!t.length,Xe=t=>Lt(new Set(t)),yt=(t,e,n)=>{J(t,s=>s&&s.apply(void 0,e||[])),!n&&(t.length=0)},eo="paddingTop",no="paddingRight",oo="paddingLeft",so="paddingBottom",co="marginLeft",ro="marginRight",lo="marginBottom",io="overflowX",ao="overflowY",Pe="width",Ie="height",Dt="visible",It="hidden",Ut="scroll",Qo=t=>{const e=String(t||"");return e?e[0].toUpperCase()+e.slice(1):""},ze=(t,e,n,o)=>{if(t&&e){let s=!0;return J(n,c=>{const r=t[c],a=e[c];r!==a&&(s=!1)}),s}return!1},uo=(t,e)=>ze(t,e,["w","h"]),Se=(t,e)=>ze(t,e,["x","y"]),Go=(t,e)=>ze(t,e,["t","r","b","l"]),Rt=()=>{},T=(t,...e)=>t.bind(0,...e),Nt=t=>{let e;const n=t?Ce:gn,o=t?Ke:Gn;return[s=>{o(e),e=n(()=>s(),mt(t)?t():t)},()=>o(e)]},Je=(t,e)=>{const{_:n,p:o,v:s,S:c}=e||{};let r,a,i,f,l=Rt;const d=function(M){l(),Ke(r),f=r=a=void 0,l=Rt,t.apply(this,M)},b=w=>c&&a?c(a,w):w,O=()=>{l!==Rt&&d(b(i)||i)},p=function(){const M=Lt(arguments),H=mt(n)?n():n;if(wt(H)&&H>=0){const Z=mt(o)?o():o,h=wt(Z)&&Z>=0,A=H>0?Ce:gn,D=H>0?Ke:Gn,R=b(M)||M,L=d.bind(0,R);let v;l(),s&&!f?(L(),f=!0,v=A(()=>f=void 0,H)):(v=A(L,H),h&&!r&&(r=Ce(O,Z))),l=()=>D(v),a=i=R}else d(M)};return p.m=O,p},fo=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),Ot=t=>t?Object.keys(t):[],j=(t,e,n,o,s,c,r)=>{const a=[e,n,o,s,c,r];return(typeof t!="object"||Le(t))&&!mt(t)&&(t={}),J(a,i=>{J(i,(f,l)=>{const d=i[l];if(t===d)return!0;const b=xt(d);if(d&&Ae(d)){const O=t[l];let p=O;b&&!xt(O)?p=[]:!b&&!Ae(O)&&(p={}),t[l]=j(p,d)}else t[l]=b?d.slice():d})}),t},po=(t,e)=>J(j({},t),(n,o,s)=>{n===void 0?delete s[o]:n&&Ae(n)&&(s[o]=po(n))}),Sn=t=>!Ot(t).length,yo=(t,e,n)=>Qn(t,Xo(e,n)),_t=t=>Xe((xt(t)?t:(t||"").split(" ")).filter(e=>e)),wn=(t,e)=>t&&t.getAttribute(e),kn=(t,e)=>t&&t.hasAttribute(e),Et=(t,e,n)=>{J(_t(e),o=>{t&&t.setAttribute(o,String(n||""))})},bt=(t,e)=>{J(_t(e),n=>t&&t.removeAttribute(n))},Re=(t,e)=>{const n=_t(wn(t,e)),o=T(Et,t,e),s=(c,r)=>{const a=new Set(n);return J(_t(c),i=>{a[r](i)}),Lt(a).join(" ")};return{O:c=>o(s(c,"delete")),$:c=>o(s(c,"add")),C:c=>{const r=_t(c);return r.reduce((a,i)=>a&&n.includes(i),r.length>0)}}},go=(t,e,n)=>(Re(t,e).O(n),T(xn,t,e,n)),xn=(t,e,n)=>(Re(t,e).$(n),T(go,t,e,n)),He=(t,e,n,o)=>(o?xn:go)(t,e,n),On=(t,e,n)=>Re(t,e).C(n),mo=t=>Re(t,"class"),vo=(t,e)=>{mo(t).O(e)},Cn=(t,e)=>(mo(t).$(e),T(vo,t,e)),ho=(t,e)=>{const n=e?ke(e)&&e:document;return n?Lt(n.querySelectorAll(t)):[]},ts=(t,e)=>{const n=e?ke(e)&&e:document;return n&&n.querySelector(t)},Qe=(t,e)=>ke(t)&&t.matches(e),bo=t=>Qe(t,"body"),Ge=t=>t?Lt(t.childNodes):[],ee=t=>t&&t.parentElement,Ft=(t,e)=>ke(t)&&t.closest(e),tn=t=>document.activeElement,es=(t,e,n)=>{const o=Ft(t,e),s=t&&ts(n,o),c=Ft(s,e)===o;return o&&s?o===t||s===t||c&&Ft(Ft(t,n),e)!==o:!1},Wt=t=>{J(bn(t),e=>{const n=ee(e);e&&n&&n.removeChild(e)})},ft=(t,e)=>T(Wt,t&&e&&J(bn(e),n=>{n&&t.appendChild(n)})),Vt=t=>{const e=document.createElement("div");return Et(e,"class",t),e},So=t=>{const e=Vt();return e.innerHTML=t.trim(),J(Ge(e),n=>Wt(n))},Pn=(t,e)=>t.getPropertyValue(e)||t[e]||"",wo=t=>{const e=t||0;return isFinite(e)?e:0},ge=t=>wo(parseFloat(t||"")),en=t=>Math.round(t*1e4)/1e4,xo=t=>`${en(wo(t))}px`;function ne(t,e){t&&e&&J(e,(n,o)=>{try{const s=t.style,c=Le(n)||vn(n)?"":wt(n)?xo(n):n;o.indexOf("--")===0?s.setProperty(o,c):s[o]=c}catch{}})}function At(t,e,n){const o=ce(e);let s=o?"":{};if(t){const c=at.getComputedStyle(t,n)||t.style;s=o?Pn(c,e):Lt(e).reduce((r,a)=>(r[a]=Pn(c,a),r),s)}return s}const In=(t,e,n)=>{const o=e?`${e}-`:"",s=n?`-${n}`:"",c=`${o}top${s}`,r=`${o}right${s}`,a=`${o}bottom${s}`,i=`${o}left${s}`,f=At(t,[c,r,a,i]);return{t:ge(f[c]),r:ge(f[r]),b:ge(f[a]),l:ge(f[i])}},ns=(t,e)=>`translate${$e(t)?`(${t.x},${t.y})`:`Y(${t})`}`,os=t=>!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length),ss={w:0,h:0},_e=(t,e)=>e?{w:e[`${t}Width`],h:e[`${t}Height`]}:ss,cs=t=>_e("inner",t||at),jt=T(_e,"offset"),Oo=T(_e,"client"),De=T(_e,"scroll"),En=t=>{const e=parseFloat(At(t,Pe))||0,n=parseFloat(At(t,Ie))||0;return{w:e-Ze(e),h:n-Ze(n)}},je=t=>t.getBoundingClientRect(),rs=t=>!!t&&os(t),nn=t=>!!(t&&(t[Ie]||t[Pe])),Co=(t,e)=>{const n=nn(t);return!nn(e)&&n},zn=(t,e,n,o)=>{J(_t(e),s=>{t&&t.removeEventListener(s,n,o)})},G=(t,e,n,o)=>{var s;const c=(s=o&&o.H)!=null?s:!0,r=o&&o.I||!1,a=o&&o.A||!1,i={passive:c,capture:r};return T(yt,_t(e).map(f=>{const l=a?d=>{zn(t,f,l,r),n&&n(d)}:n;return t&&t.addEventListener(f,l,i),T(zn,t,f,l,r)}))},Eo=t=>t.stopPropagation(),on=t=>t.preventDefault(),$o=t=>Eo(t)||on(t),St=(t,e)=>{const{x:n,y:o}=wt(e)?{x:e,y:e}:e||{};wt(n)&&(t.scrollLeft=n),wt(o)&&(t.scrollTop=o)},pt=t=>({x:t.scrollLeft,y:t.scrollTop}),Ao=()=>({D:{x:0,y:0},T:{x:0,y:0}}),ls=(t,e)=>{const{D:n,T:o}=t,{w:s,h:c}=e,r=(d,b,O)=>{let p=Mn(d)*O,w=Mn(b)*O;if(p===w){const M=Oe(d),H=Oe(b);w=M>H?0:w,p=M{const n=(o,s)=>o===0&&o<=s;return{x:n(t.x,e.x),y:n(t.y,e.y)}},_n=({D:t,T:e},n)=>{const o=(s,c,r)=>yo(0,1,(s-r)/(s-c)||0);return{x:o(t.x,e.x,n.x),y:o(t.y,e.y,n.y)}},sn=t=>{t&&t.focus&&t.focus({preventScroll:!0})},Bn=(t,e)=>{J(bn(e),t)},cn=t=>{const e=new Map,n=(c,r)=>{if(c){const a=e.get(c);Bn(i=>{a&&a[i?"delete":"clear"](i)},r)}else e.forEach(a=>{a.clear()}),e.clear()},o=(c,r)=>{if(ce(c)){const f=e.get(c)||new Set;return e.set(c,f),Bn(l=>{mt(l)&&f.add(l)},r),T(n,c,r)}vn(r)&&r&&n();const a=Ot(c),i=[];return J(a,f=>{const l=c[f];l&&et(i,o(f,l))}),T(yt,i)},s=(c,r)=>{J(Lt(e.get(c)),a=>{r&&!Ye(r)?a.apply(0,r):a()})};return o(t||{}),[o,n,s]},Nn=t=>JSON.stringify(t,(e,n)=>{if(mt(n))throw 0;return n}),Fn=(t,e)=>t?`${e}`.split(".").reduce((n,o)=>n&&fo(n,o)?n[o]:void 0,t):void 0,is={paddingAbsolute:!1,showNativeOverlaidScrollbars:!1,update:{elementEvents:[["img","load"]],debounce:[0,33],attributes:null,ignoreMutation:null},overflow:{x:"scroll",y:"scroll"},scrollbars:{theme:"os-theme-dark",visibility:"auto",autoHide:"never",autoHideDelay:1300,autoHideSuspend:!1,dragScroll:!0,clickScroll:!1,pointers:["mouse","touch","pen"]}},To=(t,e)=>{const n={},o=te(Ot(e),Ot(t));return J(o,s=>{const c=t[s],r=e[s];if($e(c)&&$e(r))j(n[s]={},To(c,r)),Sn(n[s])&&delete n[s];else if(fo(e,s)&&r!==c){let a=!0;if(xt(c)||xt(r))try{Nn(c)===Nn(r)&&(a=!1)}catch{}a&&(n[s]=r)}}),n},qn=(t,e,n)=>o=>[Fn(t,o),n||Fn(e,o)!==void 0],Kt="data-overlayscrollbars",we="os-environment",me=`${we}-scrollbar-hidden`,Ue=`${Kt}-initialize`,xe="noClipping",Vn=`${Kt}-body`,Mt=Kt,as="host",$t=`${Kt}-viewport`,us=io,ds=ao,fs="arrange",Ho="measuring",ps="scrolling",Do="scrollbarHidden",ys="noContent",rn=`${Kt}-padding`,jn=`${Kt}-content`,$n="os-size-observer",gs=`${$n}-appear`,ms=`${$n}-listener`,vs="os-trinsic-observer",hs="os-theme-none",gt="os-scrollbar",bs=`${gt}-rtl`,Ss=`${gt}-horizontal`,ws=`${gt}-vertical`,Mo=`${gt}-track`,An=`${gt}-handle`,xs=`${gt}-visible`,Os=`${gt}-cornerless`,Un=`${gt}-interaction`,Wn=`${gt}-unusable`,ln=`${gt}-auto-hide`,Zn=`${ln}-hidden`,Kn=`${gt}-wheel`,Cs=`${Mo}-interactive`,Es=`${An}-interactive`;let Lo;const $s=()=>Lo,As=t=>{Lo=t};let We;const Ts=()=>{const t=(h,A,D)=>{ft(document.body,h),ft(document.body,h);const P=Oo(h),R=jt(h),L=En(A);return D&&Wt(h),{x:R.h-P.h+L.h,y:R.w-P.w+L.w}},e=h=>{let A=!1;const D=Cn(h,me);try{A=At(h,"scrollbar-width")==="none"||At(h,"display","::-webkit-scrollbar")==="none"}catch{}return D(),A},n=`.${we}{scroll-behavior:auto!important;position:fixed;opacity:0;visibility:hidden;overflow:scroll;height:200px;width:200px;z-index:-1}.${we} div{width:200%;height:200%;margin:10px 0}.${me}{scrollbar-width:none!important}.${me}::-webkit-scrollbar,.${me}::-webkit-scrollbar-corner{appearance:none!important;display:none!important;width:0!important;height:0!important}`,s=So(`
`)[0],c=s.firstChild,r=s.lastChild,a=$s();a&&(r.nonce=a);const[i,,f]=cn(),[l,d]=dt({o:t(s,c),i:Se},T(t,s,c,!0)),[b]=d(),O=e(s),p={x:b.x===0,y:b.y===0},w={elements:{host:null,padding:!O,viewport:h=>O&&bo(h)&&h,content:!1},scrollbars:{slot:!0},cancel:{nativeScrollbarsOverlaid:!1,body:null}},M=j({},is),H=T(j,{},M),B=T(j,{},w),Z={k:b,M:p,R:O,V:!!be,L:T(i,"r"),U:B,P:h=>j(w,h)&&B(),N:H,q:h=>j(M,h)&&H(),B:j({},w),F:j({},M)};if(bt(s,"style"),Wt(s),G(at,"resize",()=>{f("r",[])}),mt(at.matchMedia)&&!O&&(!p.x||!p.y)){const h=A=>{const D=at.matchMedia(`(resolution: ${at.devicePixelRatio}dppx)`);G(D,"change",()=>{A(),h(A)},{A:!0})};h(()=>{const[A,D]=l();j(Z.k,A),f("r",[D])})}return Z},Ct=()=>(We||(We=Ts()),We),ko=(t,e)=>mt(e)?e.apply(0,t):e,Hs=(t,e,n,o)=>{const s=mn(o)?n:o;return ko(t,s)||e.apply(0,t)},Po=(t,e,n,o)=>{const s=mn(o)?n:o,c=ko(t,s);return!!c&&(Te(c)?c:e.apply(0,t))},Ds=(t,e)=>{const{nativeScrollbarsOverlaid:n,body:o}=e||{},{M:s,R:c,U:r}=Ct(),{nativeScrollbarsOverlaid:a,body:i}=r().cancel,f=n??a,l=mn(o)?i:o,d=(s.x||s.y)&&f,b=t&&(Le(l)?!c:l);return!!d||!!b},Tn=new WeakMap,Ms=(t,e)=>{Tn.set(t,e)},Ls=t=>{Tn.delete(t)},Io=t=>Tn.get(t),ks=(t,e,n)=>{let o=!1;const s=n?new WeakMap:!1,c=()=>{o=!0},r=a=>{if(s&&n){const i=n.map(f=>{const[l,d]=f||[];return[d&&l?(a||ho)(l,t):[],d]});J(i,f=>J(f[0],l=>{const d=f[1],b=s.get(l)||[];if(t.contains(l)&&d){const p=G(l,d,w=>{o?(p(),s.delete(l)):e(w)});s.set(l,et(b,p))}else yt(b),s.delete(l)}))}};return r(),[c,r]},Yn=(t,e,n,o)=>{let s=!1;const{j:c,X:r,Y:a,W:i,J:f,G:l}=o||{},d=Je(()=>s&&n(!0),{_:33,p:99}),[b,O]=ks(t,d,a),p=c||[],w=r||[],M=te(p,w),H=(Z,h)=>{if(!Ye(h)){const A=f||Rt,D=l||Rt,P=[],R=[];let L=!1,v=!1;if(J(h,g=>{const{attributeName:k,target:I,type:N,oldValue:V,addedNodes:q,removedNodes:U}=g,K=N==="attributes",Y=N==="childList",z=t===I,u=K&&k,x=u&&wn(I,k||""),y=ce(x)?x:null,C=u&&V!==y,m=to(w,k)&&C;if(e&&(Y||!z)){const E=K&&C,S=E&&i&&Qe(I,i),F=(S?!A(I,k,V,y):!K||E)&&!D(g,!!S,t,o);J(q,Q=>et(P,Q)),J(U,Q=>et(P,Q)),v=v||F}!e&&z&&C&&!A(I,k,V,y)&&(et(R,k),L=L||m)}),O(g=>Xe(P).reduce((k,I)=>(et(k,ho(g,I)),Qe(I,g)?et(k,I):k),[])),e)return!Z&&v&&n(!1),[!1];if(!Ye(R)||L){const g=[Xe(R),L];return!Z&&n.apply(0,g),g}}},B=new Jo(T(H,!1));return[()=>(B.observe(t,{attributes:!0,attributeOldValue:!0,attributeFilter:M,subtree:e,childList:e,characterData:e}),s=!0,()=>{s&&(b(),B.disconnect(),s=!1)}),()=>{if(s)return d.m(),H(!0,B.takeRecords())}]},zo={},Ro={},Ps=t=>{J(t,e=>J(e,(n,o)=>{zo[o]=e[o]}))},_o=(t,e,n)=>Ot(t).map(o=>{const{static:s,instance:c}=t[o],[r,a,i]=n||[],f=n?c:s;if(f){const l=n?f(r,a,e):f(e);return(i||Ro)[o]=l}}),re=t=>Ro[t],Is="__osOptionsValidationPlugin",zs="__osSizeObserverPlugin",Rs=(t,e)=>{const{M:n}=e,[o,s]=t("showNativeOverlaidScrollbars");return[o&&n.x&&n.y,s]},Zt=t=>t.indexOf(Dt)===0,_s=(t,e)=>{const n=(s,c,r,a)=>{const i=s===Dt?It:s.replace(`${Dt}-`,""),f=Zt(s),l=Zt(r);return!c&&!a?It:f&&l?Dt:f?c&&a?i:c?Dt:It:c?i:l&&a?Dt:It},o={x:n(e.x,t.x,e.y,t.y),y:n(e.y,t.y,e.x,t.x)};return{K:o,Z:{x:o.x===Ut,y:o.y===Ut}}},Bo="__osScrollbarsHidingPlugin",Bs="__osClickScrollPlugin",No=(t,e,n)=>{const{dt:o}=n||{},s=re(zs),[c]=dt({o:!1,u:!0});return()=>{const r=[],i=So(`
`)[0],f=i.firstChild,l=d=>{const b=d instanceof ResizeObserverEntry;let O=!1,p=!1;if(b){const[w,,M]=c(d.contentRect),H=nn(w);p=Co(w,M),O=!p&&!H}else p=d===!0;O||e({ft:!0,dt:p})};if(Ee){const d=new Ee(b=>l(b.pop()));d.observe(f),et(r,()=>{d.disconnect()})}else if(s){const[d,b]=s(f,l,o);et(r,te([Cn(i,gs),G(i,"animationstart",d)],b))}else return Rt;return T(yt,et(r,ft(t,i)))}},Ns=(t,e)=>{let n;const o=i=>i.h===0||i.isIntersecting||i.intersectionRatio>0,s=Vt(vs),[c]=dt({o:!1}),r=(i,f)=>{if(i){const l=c(o(i)),[,d]=l;return d&&!f&&e(l)&&[l]}},a=(i,f)=>r(f.pop(),i);return[()=>{const i=[];if(Ln)n=new Ln(T(a,!1),{root:t}),n.observe(s),et(i,()=>{n.disconnect()});else{const f=()=>{const l=jt(s);r(l)};et(i,No(s,f)()),f()}return T(yt,et(i,ft(t,s)))},()=>n&&a(!0,n.takeRecords())]},Fs=(t,e,n,o)=>{let s,c,r,a,i,f;const l=`[${Mt}]`,d=`[${$t}]`,b=["id","class","style","open","wrap","cols","rows"],{vt:O,gt:p,ot:w,ht:M,bt:H,nt:B,wt:Z,yt:h,St:A,Ot:D}=t,P=m=>At(m,"direction")==="rtl",R={$t:!1,ct:P(O)},L=Ct(),v=re(Bo),[g]=dt({i:uo,o:{w:0,h:0}},()=>{const m=v&&v.tt(t,e,R,L,n).ut,S=!(Z&&B)&&On(p,Mt,xe),$=!B&&h(fs),F=$&&pt(M),Q=F&&D(),it=A(Ho,S),nt=$&&m&&m()[0],ct=De(w),_=En(w);return nt&&nt(),St(M,F),Q&&Q(),S&&it(),{w:ct.w+_.w,h:ct.h+_.h}}),k=Je(o,{_:()=>s,p:()=>c,S(m,E){const[S]=m,[$]=E;return[te(Ot(S),Ot($)).reduce((F,Q)=>(F[Q]=S[Q]||$[Q],F),{})]}}),I=m=>{const E=P(O);j(m,{Ct:f!==E}),j(R,{ct:E}),f=E},N=(m,E)=>{const[S,$]=m,F={xt:$};return j(R,{$t:S}),!E&&o(F),F},V=({ft:m,dt:E})=>{const $=!(m&&!E)&&L.R?k:o,F={ft:m||E,dt:E};I(F),$(F)},q=(m,E)=>{const[,S]=g(),$={Ht:S};return I($),S&&!E&&(m?o:k)($),$},U=(m,E,S)=>{const $={Et:E};return I($),E&&!S&&k($),$},[K,Y]=H?Ns(p,N):[],z=!B&&No(p,V,{dt:!0}),[u,x]=Yn(p,!1,U,{X:b,j:b}),y=B&&Ee&&new Ee(m=>{const E=m[m.length-1].contentRect;V({ft:!0,dt:Co(E,i)}),i=E}),C=Je(()=>{const[,m]=g();o({Ht:m})},{_:222,v:!0});return[()=>{y&&y.observe(p);const m=z&&z(),E=K&&K(),S=u(),$=L.L(F=>{F?k({zt:F}):C()});return()=>{y&&y.disconnect(),m&&m(),E&&E(),a&&a(),S(),$()}},({It:m,At:E,Dt:S})=>{const $={},[F]=m("update.ignoreMutation"),[Q,it]=m("update.attributes"),[nt,ct]=m("update.elementEvents"),[_,ot]=m("update.debounce"),st=ct||it,rt=E||S,lt=tt=>mt(F)&&F(tt);if(st){r&&r(),a&&a();const[tt,X]=Yn(H||w,!0,q,{j:te(b,Q||[]),Y:nt,W:l,G:(W,ut)=>{const{target:vt,attributeName:Ht}=W;return(!ut&&Ht&&!B?es(vt,l,d):!1)||!!Ft(vt,`.${gt}`)||!!lt(W)}});a=tt(),r=X}if(ot)if(k.m(),xt(_)){const tt=_[0],X=_[1];s=wt(tt)&&tt,c=wt(X)&&X}else wt(_)?(s=_,c=!1):(s=!1,c=!1);if(rt){const tt=x(),X=Y&&Y(),W=r&&r();tt&&j($,U(tt[0],tt[1],rt)),X&&j($,N(X[0],rt)),W&&j($,q(W[0],rt))}return I($),$},R]},qs=(t,e,n,o)=>{const s="--os-viewport-percent",c="--os-scroll-percent",r="--os-scroll-direction",{U:a}=Ct(),{scrollbars:i}=a(),{slot:f}=i,{vt:l,gt:d,ot:b,Tt:O,ht:p,wt:w,nt:M}=e,{scrollbars:H}=O?{}:t,{slot:B}=H||{},Z=[],h=[],A=[],D=Po([l,d,b],()=>M&&w?l:d,f,B),P=u=>{if(be){const x=new be({source:p,axis:u});return{Mt:C=>{const m=C.kt.animate({clear:["left"],[c]:[0,1]},{timeline:x});return()=>m.cancel()}}}},R={x:P("x"),y:P("y")},L=()=>{const{Rt:u,Vt:x}=n,y=(C,m)=>yo(0,1,C/(C+m)||0);return{x:y(x.x,u.x),y:y(x.y,u.y)}},v=(u,x,y)=>{const C=y?Cn:vo;J(u,m=>{C(m.kt,x)})},g=(u,x)=>{J(u,y=>{const[C,m]=x(y);ne(C,m)})},k=(u,x,y)=>{const C=vn(y),m=C?y:!0,E=C?!y:!0;m&&v(h,u,x),E&&v(A,u,x)},I=()=>{const u=L(),x=y=>C=>[C.kt,{[s]:en(y)+""}];g(h,x(u.x)),g(A,x(u.y))},N=()=>{if(!be){const{Lt:u}=n,x=_n(u,pt(p)),y=C=>m=>[m.kt,{[c]:en(C)+""}];g(h,y(x.x)),g(A,y(x.y))}},V=()=>{const{Lt:u}=n,x=Rn(u),y=C=>m=>[m.kt,{[r]:C?"0":"1"}];g(h,y(x.x)),g(A,y(x.y))},q=()=>{if(M&&!w){const{Rt:u,Lt:x}=n,y=Rn(x),C=_n(x,pt(p)),m=E=>{const{kt:S}=E,$=ee(S)===b&&S,F=(Q,it,nt)=>{const ct=it*Q;return xo(nt?ct:-ct)};return[$,$&&{transform:ns({x:F(C.x,u.x,y.x),y:F(C.y,u.y,y.y)})}]};g(h,m),g(A,m)}},U=u=>{const x=u?"x":"y",C=Vt(`${gt} ${u?Ss:ws}`),m=Vt(Mo),E=Vt(An),S={kt:C,Ut:m,Pt:E},$=R[x];return et(u?h:A,S),et(Z,[ft(C,m),ft(m,E),T(Wt,C),$&&$.Mt(S),o(S,k,u)]),S},K=T(U,!0),Y=T(U,!1),z=()=>(ft(D,h[0].kt),ft(D,A[0].kt),T(yt,Z));return K(),Y(),[{Nt:I,qt:N,Bt:V,Ft:q,jt:k,Xt:{Yt:h,Wt:K,Jt:T(g,h)},Gt:{Yt:A,Wt:Y,Jt:T(g,A)}},z]},Vs=(t,e,n,o)=>(s,c,r)=>{const{gt:a,ot:i,nt:f,ht:l,Kt:d,Ot:b}=e,{kt:O,Ut:p,Pt:w}=s,[M,H]=Nt(333),[B,Z]=Nt(444),h=P=>{mt(l.scrollBy)&&l.scrollBy({behavior:"smooth",left:P.x,top:P.y})},A=()=>{const P="pointerup pointercancel lostpointercapture",R=`client${r?"X":"Y"}`,L=r?Pe:Ie,v=r?"left":"top",g=r?"w":"h",k=r?"x":"y",I=(V,q)=>U=>{const{Rt:K}=n,Y=jt(p)[g]-jt(w)[g],u=q*U/Y*K[k];St(l,{[k]:V+u})},N=[];return G(p,"pointerdown",V=>{const q=Ft(V.target,`.${An}`)===w,U=q?w:p,K=t.scrollbars,{button:Y,isPrimary:z,pointerType:u}=V,{pointers:x}=K;if(Y===0&&z&&K[q?"dragScroll":"clickScroll"]&&(x||[]).includes(u)){yt(N),Z();const C=!q&&V.shiftKey,m=T(je,w),E=T(je,p),S=(X,W)=>(X||m())[v]-(W||E())[v],$=Ze(je(l)[L])/jt(l)[g]||1,F=I(pt(l)[k],1/$),Q=V[R],it=m(),nt=E(),ct=it[L],_=S(it,nt)+ct/2,ot=Q-nt[v],st=q?0:ot-_,rt=X=>{yt(tt),U.releasePointerCapture(X.pointerId)},lt=b(),tt=[()=>{const X=pt(l);lt();const W=pt(l),ut={x:W.x-X.x,y:W.y-X.y};(Oe(ut.x)>3||Oe(ut.y)>3)&&(b(),St(l,X),h(ut),B(lt))},G(d,P,rt),G(d,"selectstart",X=>on(X),{H:!1}),G(p,P,rt),G(p,"pointermove",X=>{const W=X[R]-Q;(q||C)&&F(st+W)})];if(U.setPointerCapture(V.pointerId),C)F(st);else if(!q){const X=re(Bs);if(X){const W=X(F,S,st,ct,ot);et(tt,T(W)),et(N,T(W,!0))}}}})};let D=!0;return T(yt,[G(w,"pointermove pointerleave",o),G(O,"pointerenter",()=>{c(Un,!0)}),G(O,"pointerleave pointercancel",()=>{c(Un,!1)}),!f&&G(O,"mousedown",()=>{const P=tn();(kn(P,$t)||kn(P,Mt)||P===document.body)&&Ce(T(sn,i),25)}),G(O,"wheel",P=>{const{deltaX:R,deltaY:L,deltaMode:v}=P;D&&v===0&&ee(O)===a&&h({x:R,y:L}),D=!1,c(Kn,!0),M(()=>{D=!0,c(Kn)}),on(P)},{H:!1,I:!0}),G(O,"pointerdown",T(G,d,"click",$o,{A:!0,I:!0,H:!1}),{I:!0}),A(),H,Z])},js=(t,e,n,o,s,c)=>{let r,a,i,f,l,d=Rt,b=0;const O=u=>u.pointerType==="mouse",[p,w]=Nt(),[M,H]=Nt(100),[B,Z]=Nt(100),[h,A]=Nt(()=>b),[D,P]=qs(t,s,o,Vs(e,s,o,u=>O(u)&&U())),{gt:R,Qt:L,wt:v}=s,{jt:g,Nt:k,qt:I,Bt:N,Ft:V}=D,q=(u,x)=>{if(A(),u)g(Zn);else{const y=T(g,Zn,!0);b>0&&!x?h(y):y()}},U=()=>{(i?!r:!f)&&(q(!0),M(()=>{q(!1)}))},K=u=>{g(ln,u,!0),g(ln,u,!1)},Y=u=>{O(u)&&(r=i,i&&q(!0))},z=[A,H,Z,w,()=>d(),G(R,"pointerover",Y,{A:!0}),G(R,"pointerenter",Y),G(R,"pointerleave",u=>{O(u)&&(r=!1,i&&q(!1))}),G(R,"pointermove",u=>{O(u)&&a&&U()}),G(L,"scroll",u=>{p(()=>{I(),U()}),c(u),V()})];return[()=>T(yt,et(z,P())),({It:u,Dt:x,Zt:y,tn:C})=>{const{nn:m,sn:E,en:S,cn:$}=C||{},{Ct:F,dt:Q}=y||{},{ct:it}=n,{M:nt}=Ct(),{K:ct,rn:_}=o,[ot,st]=u("showNativeOverlaidScrollbars"),[rt,lt]=u("scrollbars.theme"),[tt,X]=u("scrollbars.visibility"),[W,ut]=u("scrollbars.autoHide"),[vt,Ht]=u("scrollbars.autoHideSuspend"),[Yt]=u("scrollbars.autoHideDelay"),[le,kt]=u("scrollbars.dragScroll"),[Xt,Be]=u("scrollbars.clickScroll"),[ie,Ne]=u("overflow"),Fe=Q&&!x,ht=_.x||_.y,qe=m||E||$||F||x,ae=S||X||Ne,Ve=ot&&nt.x&&nt.y,Pt=(Jt,Bt,ue)=>{const Qt=Jt.includes(Ut)&&(tt===Dt||tt==="auto"&&Bt===Ut);return g(xs,Qt,ue),Qt};if(b=Yt,Fe&&(vt&&ht?(K(!1),d(),B(()=>{d=G(L,"scroll",T(K,!0),{A:!0})})):K(!0)),st&&g(hs,Ve),lt&&(g(l),g(rt,!0),l=rt),Ht&&!vt&&K(!0),ut&&(a=W==="move",i=W==="leave",f=W==="never",q(f,!0)),kt&&g(Es,le),Be&&g(Cs,Xt),ae){const Jt=Pt(ie.x,ct.x,!0),Bt=Pt(ie.y,ct.y,!1);g(Os,!(Jt&&Bt))}qe&&(I(),k(),V(),$&&N(),g(Wn,!_.x,!0),g(Wn,!_.y,!1),g(bs,it&&!v))},{},D]},Us=t=>{const e=Ct(),{U:n,R:o}=e,{elements:s}=n(),{padding:c,viewport:r,content:a}=s,i=Te(t),f=i?{}:t,{elements:l}=f,{padding:d,viewport:b,content:O}=l||{},p=i?t:f.target,w=bo(p),M=p.ownerDocument,H=M.documentElement,B=()=>M.defaultView||at,Z=T(Hs,[p]),h=T(Po,[p]),A=T(Vt,""),D=T(Z,A,r),P=T(h,A,a),R=_=>{const ot=jt(_),st=De(_),rt=At(_,io),lt=At(_,ao);return st.w-ot.w>0&&!Zt(rt)||st.h-ot.h>0&&!Zt(lt)},L=D(b),v=L===p,g=v&&w,k=!v&&P(O),I=!v&&L===k,N=g?H:L,V=g?N:p,q=!v&&h(A,c,d),U=!I&&k,K=[U,N,q,V].map(_=>Te(_)&&!ee(_)&&_),Y=_=>_&&to(K,_),z=!Y(N)&&R(N)?N:p,u=g?H:N,y={vt:p,gt:V,ot:N,ln:q,bt:U,ht:u,Qt:g?M:N,an:w?H:z,Kt:M,wt:w,Tt:i,nt:v,un:B,yt:_=>On(N,$t,_),St:(_,ot)=>He(N,$t,_,ot),Ot:()=>He(u,$t,ps,!0)},{vt:C,gt:m,ln:E,ot:S,bt:$}=y,F=[()=>{bt(m,[Mt,Ue]),bt(C,Ue),w&&bt(H,[Ue,Mt])}];let Q=Ge([$,S,E,m,C].find(_=>_&&!Y(_)));const it=g?C:$||S,nt=T(yt,F);return[y,()=>{const _=B(),ot=tn(),st=W=>{ft(ee(W),Ge(W)),Wt(W)},rt=W=>G(W,"focusin focusout focus blur",$o,{I:!0,H:!1}),lt="tabindex",tt=wn(S,lt),X=rt(ot);return Et(m,Mt,v?"":as),Et(E,rn,""),Et(S,$t,""),Et($,jn,""),v||(Et(S,lt,tt||"-1"),w&&Et(H,Vn,"")),ft(it,Q),ft(m,E),ft(E||m,!v&&S),ft(S,$),et(F,[X,()=>{const W=tn(),ut=Y(S),vt=ut&&W===S?C:W,Ht=rt(vt);bt(E,rn),bt($,jn),bt(S,$t),w&&bt(H,Vn),tt?Et(S,lt,tt):bt(S,lt),Y($)&&st($),ut&&st(S),Y(E)&&st(E),sn(vt),Ht()}]),o&&!v&&(xn(S,$t,Do),et(F,T(bt,S,$t))),sn(!v&&w&&ot===C&&_.top===_?S:ot),X(),Q=0,nt},nt]},Ws=({bt:t})=>({Zt:e,_n:n,Dt:o})=>{const{xt:s}=e||{},{$t:c}=n;t&&(s||o)&&ne(t,{[Ie]:c&&"100%"})},Zs=({gt:t,ln:e,ot:n,nt:o},s)=>{const[c,r]=dt({i:Go,o:In()},T(In,t,"padding",""));return({It:a,Zt:i,_n:f,Dt:l})=>{let[d,b]=r(l);const{R:O}=Ct(),{ft:p,Ht:w,Ct:M}=i||{},{ct:H}=f,[B,Z]=a("paddingAbsolute");(p||b||(l||w))&&([d,b]=c(l));const A=!o&&(Z||M||b);if(A){const D=!B||!e&&!O,P=d.r+d.l,R=d.t+d.b,L={[ro]:D&&!H?-P:0,[lo]:D?-R:0,[co]:D&&H?-P:0,top:D?-d.t:0,right:D?H?-d.r:"auto":0,left:D?H?"auto":-d.l:0,[Pe]:D&&`calc(100% + ${P}px)`},v={[eo]:D?d.t:0,[no]:D?d.r:0,[so]:D?d.b:0,[oo]:D?d.l:0};ne(e||n,L),ne(n,v),j(s,{ln:d,dn:!D,rt:e?v:j({},L,v)})}return{fn:A}}},Ks=(t,e)=>{const n=Ct(),{gt:o,ln:s,ot:c,nt:r,Qt:a,ht:i,wt:f,St:l,un:d}=t,{R:b}=n,O=f&&r,p=T(Qn,0),w=["display","direction","flexDirection","writingMode"],M={i:uo,o:{w:0,h:0}},H={i:Se,o:{}},B=z=>{l(Ho,!O&&z)},Z=(z,u)=>{const x=at.devicePixelRatio%1!==0?1:0,y={w:p(z.w-u.w),h:p(z.h-u.h)};return{w:y.w>x?y.w:0,h:y.h>x?y.h:0}},[h,A]=dt(M,T(En,c)),[D,P]=dt(M,T(De,c)),[R,L]=dt(M),[v]=dt(H),[g,k]=dt(M),[I]=dt(H),[N]=dt({i:(z,u)=>ze(z,u,w),o:{}},()=>rs(c)?At(c,w):{}),[V,q]=dt({i:(z,u)=>Se(z.D,u.D)&&Se(z.T,u.T),o:Ao()},()=>{B(!0);const z=pt(i),u=l(ys,!0),x=G(a,Ut,S=>{const $=pt(i);S.isTrusted&&$.x===z.x&&$.y===z.y&&Eo(S)},{I:!0,A:!0});St(i,{x:0,y:0}),u();const y=pt(i),C=De(i);St(i,{x:C.w,y:C.h});const m=pt(i);St(i,{x:m.x-y.x<1&&-C.w,y:m.y-y.y<1&&-C.h});const E=pt(i);return St(i,z),gn(()=>x()),{D:y,T:E}}),U=re(Bo),K=(z,u)=>`${u?us:ds}${Qo(z)}`,Y=z=>{const u=y=>[Dt,It,Ut].map(C=>K(C,y)),x=u(!0).concat(u()).join(" ");l(x),l(Ot(z).map(y=>K(z[y],y==="x")).join(" "),!0)};return({It:z,Zt:u,_n:x,Dt:y},{fn:C})=>{const{ft:m,Ht:E,Ct:S,dt:$,zt:F}=u||{},Q=U&&U.tt(t,e,x,n,z),{it,ut:nt,_t:ct}=Q||{},[_,ot]=Rs(z,n),[st,rt]=z("overflow"),lt=Zt(st.x),tt=Zt(st.y),X=!0;let W=A(y),ut=P(y),vt=L(y),Ht=k(y);ot&&b&&l(Do,!_);{On(o,Mt,xe)&&B(!0);const[Hn]=nt?nt():[],[de]=W=h(y),[fe]=ut=D(y),pe=Oo(c),ye=O&&cs(d()),Ko={w:p(fe.w+de.w),h:p(fe.h+de.h)},Dn={w:p((ye?ye.w:pe.w+p(pe.w-fe.w))+de.w),h:p((ye?ye.h:pe.h+p(pe.h-fe.h))+de.h)};Hn&&Hn(),Ht=g(Dn),vt=R(Z(Ko,Dn),y)}const[Yt,le]=Ht,[kt,Xt]=vt,[Be,ie]=ut,[Ne,Fe]=W,[ht,qe]=v({x:kt.w>0,y:kt.h>0}),ae=lt&&tt&&(ht.x||ht.y)||lt&&ht.x&&!ht.y||tt&&ht.y&&!ht.x,Ve=C||S||F||Fe||ie||le||Xt||rt||ot||X,Pt=_s(ht,st),[Jt,Bt]=I(Pt.K),[,ue]=N(y),Qt=S||$||ue||qe||y,[Wo,Zo]=Qt?V(y):q();return Ve&&(Bt&&Y(Pt.K),ct&&it&&ne(c,ct(Pt,x,it(Pt,Be,Ne)))),B(!1),He(o,Mt,xe,ae),He(s,rn,xe,ae),j(e,{K:Jt,Vt:{x:Yt.w,y:Yt.h},Rt:{x:kt.w,y:kt.h},rn:ht,Lt:ls(Wo,kt)}),{en:Bt,nn:le,sn:Xt,cn:Zo||Xt,pn:Qt}}},Ys=t=>{const[e,n,o]=Us(t),s={ln:{t:0,r:0,b:0,l:0},dn:!1,rt:{[ro]:0,[lo]:0,[co]:0,[eo]:0,[no]:0,[so]:0,[oo]:0},Vt:{x:0,y:0},Rt:{x:0,y:0},K:{x:It,y:It},rn:{x:!1,y:!1},Lt:Ao()},{vt:c,ht:r,nt:a,Ot:i}=e,{R:f,M:l}=Ct(),d=!f&&(l.x||l.y),b=[Ws(e),Zs(e,s),Ks(e,s)];return[n,O=>{const p={},M=d&&pt(r),H=M&&i();return J(b,B=>{j(p,B(O,p)||{})}),St(r,M),H&&H(),!a&&St(c,0),p},s,e,o]},Xs=(t,e,n,o,s)=>{let c=!1;const r=qn(e,{}),[a,i,f,l,d]=Ys(t),[b,O,p]=Fs(l,f,r,h=>{Z({},h)}),[w,M,,H]=js(t,e,p,f,l,s),B=h=>Ot(h).some(A=>!!h[A]),Z=(h,A)=>{if(n())return!1;const{vn:D,Dt:P,At:R,gn:L}=h,v=D||{},g=!!P||!c,k={It:qn(e,v,g),vn:v,Dt:g};if(L)return M(k),!1;const I=A||O(j({},k,{At:R})),N=i(j({},k,{_n:p,Zt:I}));M(j({},k,{Zt:I,tn:N}));const V=B(I),q=B(N),U=V||q||!Sn(v)||g;return c=!0,U&&o(h,{Zt:I,tn:N}),U};return[()=>{const{an:h,ht:A,Ot:D}=l,P=pt(h),R=[b(),a(),w()],L=D();return St(A,P),L(),T(yt,R)},Z,()=>({hn:p,bn:f}),{wn:l,yn:H},d]},Tt=(t,e,n)=>{const{N:o}=Ct(),s=Te(t),c=s?t:t.target,r=Io(c);if(e&&!r){let a=!1;const i=[],f={},l=v=>{const g=po(v),k=re(Is);return k?k(g,!0):g},d=j({},o(),l(e)),[b,O,p]=cn(),[w,M,H]=cn(n),B=(v,g)=>{H(v,g),p(v,g)},[Z,h,A,D,P]=Xs(t,d,()=>a,({vn:v,Dt:g},{Zt:k,tn:I})=>{const{ft:N,Ct:V,xt:q,Ht:U,Et:K,dt:Y}=k,{nn:z,sn:u,en:x,cn:y}=I;B("updated",[L,{updateHints:{sizeChanged:!!N,directionChanged:!!V,heightIntrinsicChanged:!!q,overflowEdgeChanged:!!z,overflowAmountChanged:!!u,overflowStyleChanged:!!x,scrollCoordinatesChanged:!!y,contentMutation:!!U,hostMutation:!!K,appear:!!Y},changedOptions:v||{},force:!!g}])},v=>B("scroll",[L,v])),R=v=>{Ls(c),yt(i),a=!0,B("destroyed",[L,v]),O(),M()},L={options(v,g){if(v){const k=g?o():{},I=To(d,j(k,l(v)));Sn(I)||(j(d,I),h({vn:I}))}return j({},d)},on:w,off:(v,g)=>{v&&g&&M(v,g)},state(){const{hn:v,bn:g}=A(),{ct:k}=v,{Vt:I,Rt:N,K:V,rn:q,ln:U,dn:K,Lt:Y}=g;return j({},{overflowEdge:I,overflowAmount:N,overflowStyle:V,hasOverflow:q,scrollCoordinates:{start:Y.D,end:Y.T},padding:U,paddingAbsolute:K,directionRTL:k,destroyed:a})},elements(){const{vt:v,gt:g,ln:k,ot:I,bt:N,ht:V,Qt:q}=D.wn,{Xt:U,Gt:K}=D.yn,Y=u=>{const{Pt:x,Ut:y,kt:C}=u;return{scrollbar:C,track:y,handle:x}},z=u=>{const{Yt:x,Wt:y}=u,C=Y(x[0]);return j({},C,{clone:()=>{const m=Y(y());return h({gn:!0}),m}})};return j({},{target:v,host:g,padding:k||I,viewport:I,content:N||I,scrollOffsetElement:V,scrollEventElement:q,scrollbarHorizontal:z(U),scrollbarVertical:z(K)})},update:v=>h({Dt:v,At:!0}),destroy:T(R,!1),plugin:v=>f[Ot(v)[0]]};return et(i,[P]),Ms(c,L),_o(zo,Tt,[L,b,f]),Ds(D.wn.wt,!s&&t.cancel)?(R(!0),L):(et(i,Z()),B("initialized",[L]),L.update(),L)}return r};Tt.plugin=t=>{const e=xt(t),n=e?t:[t],o=n.map(s=>_o(s,Tt)[0]);return Ps(n),e?o:o[0]};Tt.valid=t=>{const e=t&&t.elements,n=mt(e)&&e();return Ae(n)&&!!Io(n.target)};Tt.env=()=>{const{k:t,M:e,R:n,V:o,B:s,F:c,U:r,P:a,N:i,q:f}=Ct();return j({},{scrollbarsSize:t,scrollbarsOverlaid:e,scrollbarsHiding:n,scrollTimeline:o,staticDefaultInitialization:s,staticDefaultOptions:c,getDefaultInitialization:r,setDefaultInitialization:a,getDefaultOptions:i,setDefaultOptions:f})};Tt.nonce=As;const Js=document.querySelector("#eventsSection"),Xn=document.querySelector("#events"),Qs=t=>{Js.style.display="",Xn.innerHTML="",Object.entries(t).forEach(([e,n])=>{const o=document.createElement("div");o.className=`event ${n.active?"active":""}`,o.textContent=`${e} (${n.count})`,Xn.append(o)})},Gs=()=>{let t=[];const e={},n={},o=r=>({active:t.includes(r),count:e[r]||0}),s=r=>{t=r,Qs({initialized:o("initialized"),destroyed:o("destroyed"),updated:o("updated"),scroll:o("scroll")})};return r=>{const a=e[r];e[r]=typeof a=="number"?a+1:1,s(Array.from(new Set([...t,r]))),clearTimeout(n[r]),n[r]=setTimeout(()=>{const i=new Set(t);i.delete(r),s(Array.from(i))},500)}};let zt,an=!1,un=!1,dn=!0;const ve=Gs(),qt=document.querySelector("#target"),Jn=document.querySelector("#targetContent"),he=document.querySelector("#impostor"),fn=document.querySelector("#scrollButton"),oe=document.querySelector("#toggleContentButton"),se=document.querySelector("#toggleElementButton"),pn=document.querySelector("#toggleOverlayScrollbarsButton"),Fo=()=>{an?(Jn.style.display="none",oe.textContent="Show Content"):(Jn.style.display="",oe.textContent="Hide Content")},qo=()=>{un?(qt.style.display="none",se.textContent="Show Element"):(qt.style.display="",se.textContent="Hide Element")},Vo=()=>{var t,e;dn?((t=he.parentElement)==null||t.append(qt),he.remove(),fn.style.display="",oe.style.display="",se.style.display="",pn.textContent="Destroy OverlayScrollbars",zt=Tt(qt,{},{initialized:()=>ve("initialized"),destroyed:()=>ve("destroyed"),updated:()=>ve("updated"),scroll:()=>ve("scroll")})):(zt==null||zt.destroy(),(e=qt.parentElement)==null||e.append(he),qt.remove(),he.style.display="",fn.style.display="none",oe.style.display="none",se.style.display="none",pn.textContent="Initialize OverlayScrollbars")};fn.addEventListener("click",()=>{if(!zt)return;const{overflowAmount:t}=zt.state(),{scrollOffsetElement:e}=zt.elements(),{scrollLeft:n,scrollTop:o}=e;e.scrollTo({behavior:"smooth",left:Math.round((t.x-n)/t.x)*t.x,top:Math.round((t.y-o)/t.y)*t.y})});oe.addEventListener("click",()=>{an=!an,Fo()});se.addEventListener("click",()=>{un=!un,qo()});pn.addEventListener("click",()=>{dn=!dn,Vo()});Fo();qo();Vo();let Gt=null;const jo=t=>Tt({target:document.body,cancel:{body:t?!1:null}},{}).state().destroyed,tc=document.querySelector("#toggleBodyOverlayScrollbarsSection"),yn=document.querySelector("#toggleBodyOverlayScrollbarsButton"),Uo=()=>{Gt===null&&(Gt=!jo()),tc.style.display="",yn.style.display="",yn.textContent=`${Gt?"Destroy":"Initialize"} Body OverlayScrollbars`};yn.addEventListener("click",()=>{const t=Tt(document.body);t?(t.destroy(),Gt=!1):Gt=!jo(!0),Uo()});Uo(); diff --git a/docs/example/overlayscrollbars/index.html b/docs/example/overlayscrollbars/index.html index 498fcb82..0af49dce 100644 --- a/docs/example/overlayscrollbars/index.html +++ b/docs/example/overlayscrollbars/index.html @@ -11,8 +11,8 @@ rel="stylesheet" /> OverlayScrollbars - - + +
diff --git a/docs/example/react/assets/index-B-lcQvWI.js b/docs/example/react/assets/index-B-lcQvWI.js new file mode 100644 index 00000000..75ef9c1b --- /dev/null +++ b/docs/example/react/assets/index-B-lcQvWI.js @@ -0,0 +1,48 @@ +(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const l of o)if(l.type==="childList")for(const i of l.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const l={};return o.integrity&&(l.integrity=o.integrity),o.referrerPolicy&&(l.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?l.credentials="include":o.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function r(o){if(o.ep)return;o.ep=!0;const l=n(o);fetch(o.href,l)}})();function Yp(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Aa={exports:{}},Ul={},Ua={exports:{}},X={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var fo=Symbol.for("react.element"),Xp=Symbol.for("react.portal"),Zp=Symbol.for("react.fragment"),Gp=Symbol.for("react.strict_mode"),Jp=Symbol.for("react.profiler"),qp=Symbol.for("react.provider"),bp=Symbol.for("react.context"),em=Symbol.for("react.forward_ref"),tm=Symbol.for("react.suspense"),nm=Symbol.for("react.memo"),rm=Symbol.for("react.lazy"),ac=Symbol.iterator;function om(e){return e===null||typeof e!="object"?null:(e=ac&&e[ac]||e["@@iterator"],typeof e=="function"?e:null)}var Ha={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Va=Object.assign,Ba={};function hr(e,t,n){this.props=e,this.context=t,this.refs=Ba,this.updater=n||Ha}hr.prototype.isReactComponent={};hr.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};hr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Wa(){}Wa.prototype=hr.prototype;function bs(e,t,n){this.props=e,this.context=t,this.refs=Ba,this.updater=n||Ha}var eu=bs.prototype=new Wa;eu.constructor=bs;Va(eu,hr.prototype);eu.isPureReactComponent=!0;var fc=Array.isArray,Qa=Object.prototype.hasOwnProperty,tu={current:null},Ka={key:!0,ref:!0,__self:!0,__source:!0};function Ya(e,t,n){var r,o={},l=null,i=null;if(t!=null)for(r in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(l=""+t.key),t)Qa.call(t,r)&&!Ka.hasOwnProperty(r)&&(o[r]=t[r]);var s=arguments.length-2;if(s===1)o.children=n;else if(1>>1,O=_[C];if(0>>1;Co(z,F))jo(A,z)?(_[C]=A,_[j]=F,C=j):(_[C]=z,_[D]=F,C=D);else if(jo(A,F))_[C]=A,_[j]=F,C=j;else break e}}return R}function o(_,R){var F=_.sortIndex-R.sortIndex;return F!==0?F:_.id-R.id}if(typeof performance=="object"&&typeof performance.now=="function"){var l=performance;e.unstable_now=function(){return l.now()}}else{var i=Date,s=i.now();e.unstable_now=function(){return i.now()-s}}var u=[],c=[],d=1,p=null,v=3,g=!1,h=!1,w=!1,L=typeof setTimeout=="function"?setTimeout:null,f=typeof clearTimeout=="function"?clearTimeout:null,a=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function m(_){for(var R=n(c);R!==null;){if(R.callback===null)r(c);else if(R.startTime<=_)r(c),R.sortIndex=R.expirationTime,t(u,R);else break;R=n(c)}}function y(_){if(w=!1,m(_),!h)if(n(u)!==null)h=!0,Y(S);else{var R=n(c);R!==null&&G(y,R.startTime-_)}}function S(_,R){h=!1,w&&(w=!1,f(P),P=-1),g=!0;var F=v;try{for(m(R),p=n(u);p!==null&&(!(p.expirationTime>R)||_&&!T());){var C=p.callback;if(typeof C=="function"){p.callback=null,v=p.priorityLevel;var O=C(p.expirationTime<=R);R=e.unstable_now(),typeof O=="function"?p.callback=O:p===n(u)&&r(u),m(R)}else r(u);p=n(u)}if(p!==null)var M=!0;else{var D=n(c);D!==null&&G(y,D.startTime-R),M=!1}return M}finally{p=null,v=F,g=!1}}var k=!1,x=null,P=-1,$=5,E=-1;function T(){return!(e.unstable_now()-E<$)}function U(){if(x!==null){var _=e.unstable_now();E=_;var R=!0;try{R=x(!0,_)}finally{R?B():(k=!1,x=null)}}else k=!1}var B;if(typeof a=="function")B=function(){a(U)};else if(typeof MessageChannel<"u"){var K=new MessageChannel,Z=K.port2;K.port1.onmessage=U,B=function(){Z.postMessage(null)}}else B=function(){L(U,0)};function Y(_){x=_,k||(k=!0,B())}function G(_,R){P=L(function(){_(e.unstable_now())},R)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(_){_.callback=null},e.unstable_continueExecution=function(){h||g||(h=!0,Y(S))},e.unstable_forceFrameRate=function(_){0>_||125<_?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):$=0<_?Math.floor(1e3/_):5},e.unstable_getCurrentPriorityLevel=function(){return v},e.unstable_getFirstCallbackNode=function(){return n(u)},e.unstable_next=function(_){switch(v){case 1:case 2:case 3:var R=3;break;default:R=v}var F=v;v=R;try{return _()}finally{v=F}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(_,R){switch(_){case 1:case 2:case 3:case 4:case 5:break;default:_=3}var F=v;v=_;try{return R()}finally{v=F}},e.unstable_scheduleCallback=function(_,R,F){var C=e.unstable_now();switch(typeof F=="object"&&F!==null?(F=F.delay,F=typeof F=="number"&&0C?(_.sortIndex=F,t(c,_),n(u)===null&&_===n(c)&&(w?(f(P),P=-1):w=!0,G(y,F-C))):(_.sortIndex=O,t(u,_),h||g||(h=!0,Y(S))),_},e.unstable_shouldYield=T,e.unstable_wrapCallback=function(_){var R=v;return function(){var F=v;v=R;try{return _.apply(this,arguments)}finally{v=F}}}})(Ja);Ga.exports=Ja;var vm=Ga.exports;/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var qa=oe,et=vm;function N(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ki=Object.prototype.hasOwnProperty,hm=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,pc={},mc={};function ym(e){return Ki.call(mc,e)?!0:Ki.call(pc,e)?!1:hm.test(e)?mc[e]=!0:(pc[e]=!0,!1)}function gm(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function wm(e,t,n,r){if(t===null||typeof t>"u"||gm(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Ue(e,t,n,r,o,l,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=l,this.removeEmptyString=i}var Le={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Le[e]=new Ue(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Le[t]=new Ue(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Le[e]=new Ue(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Le[e]=new Ue(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Le[e]=new Ue(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Le[e]=new Ue(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Le[e]=new Ue(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Le[e]=new Ue(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Le[e]=new Ue(e,5,!1,e.toLowerCase(),null,!1,!1)});var ru=/[\-:]([a-z])/g;function ou(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(ru,ou);Le[t]=new Ue(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(ru,ou);Le[t]=new Ue(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(ru,ou);Le[t]=new Ue(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Le[e]=new Ue(e,1,!1,e.toLowerCase(),null,!1,!1)});Le.xlinkHref=new Ue("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Le[e]=new Ue(e,1,!1,e.toLowerCase(),null,!0,!0)});function lu(e,t,n,r){var o=Le.hasOwnProperty(t)?Le[t]:null;(o!==null?o.type!==0:r||!(2s||o[i]!==l[s]){var u=` +`+o[i].replace(" at new "," at ");return e.displayName&&u.includes("")&&(u=u.replace("",e.displayName)),u}while(1<=i&&0<=s);break}}}finally{yi=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Rr(e):""}function Sm(e){switch(e.tag){case 5:return Rr(e.type);case 16:return Rr("Lazy");case 13:return Rr("Suspense");case 19:return Rr("SuspenseList");case 0:case 2:case 15:return e=gi(e.type,!1),e;case 11:return e=gi(e.type.render,!1),e;case 1:return e=gi(e.type,!0),e;default:return""}}function Gi(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case An:return"Fragment";case Fn:return"Portal";case Yi:return"Profiler";case iu:return"StrictMode";case Xi:return"Suspense";case Zi:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case tf:return(e.displayName||"Context")+".Consumer";case ef:return(e._context.displayName||"Context")+".Provider";case su:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case uu:return t=e.displayName||null,t!==null?t:Gi(e.type)||"Memo";case Zt:t=e._payload,e=e._init;try{return Gi(e(t))}catch{}}return null}function km(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Gi(t);case 8:return t===iu?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function dn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function rf(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Em(e){var t=rf(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,l=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(i){r=""+i,l.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Oo(e){e._valueTracker||(e._valueTracker=Em(e))}function of(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=rf(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function ul(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Ji(e,t){var n=t.checked;return me({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function hc(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=dn(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function lf(e,t){t=t.checked,t!=null&&lu(e,"checked",t,!1)}function qi(e,t){lf(e,t);var n=dn(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?bi(e,t.type,n):t.hasOwnProperty("defaultValue")&&bi(e,t.type,dn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function yc(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function bi(e,t,n){(t!=="number"||ul(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var $r=Array.isArray;function qn(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=To.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Kr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Ir={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},xm=["Webkit","ms","Moz","O"];Object.keys(Ir).forEach(function(e){xm.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Ir[t]=Ir[e]})});function af(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Ir.hasOwnProperty(e)&&Ir[e]?(""+t).trim():t+"px"}function ff(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=af(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var Cm=me({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ns(e,t){if(t){if(Cm[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(N(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(N(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(N(61))}if(t.style!=null&&typeof t.style!="object")throw Error(N(62))}}function rs(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var os=null;function cu(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var ls=null,bn=null,er=null;function Sc(e){if(e=vo(e)){if(typeof ls!="function")throw Error(N(280));var t=e.stateNode;t&&(t=Ql(t),ls(e.stateNode,e.type,t))}}function df(e){bn?er?er.push(e):er=[e]:bn=e}function pf(){if(bn){var e=bn,t=er;if(er=bn=null,Sc(e),t)for(e=0;e>>=0,e===0?32:31-(Dm(e)/Im|0)|0}var Lo=64,Ro=4194304;function Mr(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function dl(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,l=e.pingedLanes,i=n&268435455;if(i!==0){var s=i&~o;s!==0?r=Mr(s):(l&=i,l!==0&&(r=Mr(l)))}else i=n&~o,i!==0?r=Mr(i):l!==0&&(r=Mr(l));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,l=t&-t,o>=l||o===16&&(l&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function po(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-yt(t),e[t]=n}function Um(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=Fr),Oc=" ",Tc=!1;function $f(e,t){switch(e){case"keyup":return mv.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Mf(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Un=!1;function hv(e,t){switch(e){case"compositionend":return Mf(t);case"keypress":return t.which!==32?null:(Tc=!0,Oc);case"textInput":return e=t.data,e===Oc&&Tc?null:e;default:return null}}function yv(e,t){if(Un)return e==="compositionend"||!yu&&$f(e,t)?(e=Lf(),Zo=mu=en=null,Un=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Mc(n)}}function Ff(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Ff(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Af(){for(var e=window,t=ul();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=ul(e.document)}return t}function gu(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Pv(e){var t=Af(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Ff(n.ownerDocument.documentElement,n)){if(r!==null&&gu(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,l=Math.min(r.start,o);r=r.end===void 0?l:Math.min(r.end,o),!e.extend&&l>r&&(o=r,r=l,l=o),o=Dc(n,l);var i=Dc(n,r);o&&i&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),l>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Hn=null,fs=null,Ur=null,ds=!1;function Ic(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;ds||Hn==null||Hn!==ul(r)||(r=Hn,"selectionStart"in r&&gu(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Ur&&qr(Ur,r)||(Ur=r,r=vl(fs,"onSelect"),0Wn||(e.current=gs[Wn],gs[Wn]=null,Wn--)}function ie(e,t){Wn++,gs[Wn]=e.current,e.current=t}var pn={},Ie=vn(pn),We=vn(!1),On=pn;function sr(e,t){var n=e.type.contextTypes;if(!n)return pn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},l;for(l in n)o[l]=t[l];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Qe(e){return e=e.childContextTypes,e!=null}function yl(){ue(We),ue(Ie)}function Bc(e,t,n){if(Ie.current!==pn)throw Error(N(168));ie(Ie,t),ie(We,n)}function Xf(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(N(108,km(e)||"Unknown",o));return me({},n,r)}function gl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||pn,On=Ie.current,ie(Ie,e),ie(We,We.current),!0}function Wc(e,t,n){var r=e.stateNode;if(!r)throw Error(N(169));n?(e=Xf(e,t,On),r.__reactInternalMemoizedMergedChildContext=e,ue(We),ue(Ie),ie(Ie,e)):ue(We),ie(We,n)}var It=null,Kl=!1,Ri=!1;function Zf(e){It===null?It=[e]:It.push(e)}function Fv(e){Kl=!0,Zf(e)}function hn(){if(!Ri&&It!==null){Ri=!0;var e=0,t=ne;try{var n=It;for(ne=1;e>=i,o-=i,jt=1<<32-yt(t)+o|n<P?($=x,x=null):$=x.sibling;var E=v(f,x,m[P],y);if(E===null){x===null&&(x=$);break}e&&x&&E.alternate===null&&t(f,x),a=l(E,a,P),k===null?S=E:k.sibling=E,k=E,x=$}if(P===m.length)return n(f,x),ae&&wn(f,P),S;if(x===null){for(;PP?($=x,x=null):$=x.sibling;var T=v(f,x,E.value,y);if(T===null){x===null&&(x=$);break}e&&x&&T.alternate===null&&t(f,x),a=l(T,a,P),k===null?S=T:k.sibling=T,k=T,x=$}if(E.done)return n(f,x),ae&&wn(f,P),S;if(x===null){for(;!E.done;P++,E=m.next())E=p(f,E.value,y),E!==null&&(a=l(E,a,P),k===null?S=E:k.sibling=E,k=E);return ae&&wn(f,P),S}for(x=r(f,x);!E.done;P++,E=m.next())E=g(x,f,P,E.value,y),E!==null&&(e&&E.alternate!==null&&x.delete(E.key===null?P:E.key),a=l(E,a,P),k===null?S=E:k.sibling=E,k=E);return e&&x.forEach(function(U){return t(f,U)}),ae&&wn(f,P),S}function L(f,a,m,y){if(typeof m=="object"&&m!==null&&m.type===An&&m.key===null&&(m=m.props.children),typeof m=="object"&&m!==null){switch(m.$$typeof){case zo:e:{for(var S=m.key,k=a;k!==null;){if(k.key===S){if(S=m.type,S===An){if(k.tag===7){n(f,k.sibling),a=o(k,m.props.children),a.return=f,f=a;break e}}else if(k.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===Zt&&Jc(S)===k.type){n(f,k.sibling),a=o(k,m.props),a.ref=Or(f,k,m),a.return=f,f=a;break e}n(f,k);break}else t(f,k);k=k.sibling}m.type===An?(a=Pn(m.props.children,f.mode,y,m.key),a.return=f,f=a):(y=rl(m.type,m.key,m.props,null,f.mode,y),y.ref=Or(f,a,m),y.return=f,f=y)}return i(f);case Fn:e:{for(k=m.key;a!==null;){if(a.key===k)if(a.tag===4&&a.stateNode.containerInfo===m.containerInfo&&a.stateNode.implementation===m.implementation){n(f,a.sibling),a=o(a,m.children||[]),a.return=f,f=a;break e}else{n(f,a);break}else t(f,a);a=a.sibling}a=Ui(m,f.mode,y),a.return=f,f=a}return i(f);case Zt:return k=m._init,L(f,a,k(m._payload),y)}if($r(m))return h(f,a,m,y);if(Cr(m))return w(f,a,m,y);Ao(f,m)}return typeof m=="string"&&m!==""||typeof m=="number"?(m=""+m,a!==null&&a.tag===6?(n(f,a.sibling),a=o(a,m),a.return=f,f=a):(n(f,a),a=Ai(m,f.mode,y),a.return=f,f=a),i(f)):n(f,a)}return L}var cr=rd(!0),od=rd(!1),ho={},Ot=vn(ho),no=vn(ho),ro=vn(ho);function xn(e){if(e===ho)throw Error(N(174));return e}function Nu(e,t){switch(ie(ro,t),ie(no,e),ie(Ot,ho),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ts(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=ts(t,e)}ue(Ot),ie(Ot,t)}function ar(){ue(Ot),ue(no),ue(ro)}function ld(e){xn(ro.current);var t=xn(Ot.current),n=ts(t,e.type);t!==n&&(ie(no,e),ie(Ot,n))}function zu(e){no.current===e&&(ue(Ot),ue(no))}var de=vn(0);function Cl(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var $i=[];function Ou(){for(var e=0;e<$i.length;e++)$i[e]._workInProgressVersionPrimary=null;$i.length=0}var qo=Qt.ReactCurrentDispatcher,Mi=Qt.ReactCurrentBatchConfig,Ln=0,pe=null,ke=null,_e=null,_l=!1,Hr=!1,oo=0,Uv=0;function $e(){throw Error(N(321))}function Tu(e,t){if(t===null)return!1;for(var n=0;nn?n:4,e(!0);var r=Mi.transition;Mi.transition={};try{e(!1),t()}finally{ne=n,Mi.transition=r}}function kd(){return at().memoizedState}function Vv(e,t,n){var r=cn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Ed(e))xd(t,n);else if(n=bf(e,t,n,r),n!==null){var o=Fe();gt(n,e,r,o),Cd(n,t,r)}}function Bv(e,t,n){var r=cn(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ed(e))xd(t,o);else{var l=e.alternate;if(e.lanes===0&&(l===null||l.lanes===0)&&(l=t.lastRenderedReducer,l!==null))try{var i=t.lastRenderedState,s=l(i,n);if(o.hasEagerState=!0,o.eagerState=s,wt(s,i)){var u=t.interleaved;u===null?(o.next=o,_u(t)):(o.next=u.next,u.next=o),t.interleaved=o;return}}catch{}finally{}n=bf(e,t,o,r),n!==null&&(o=Fe(),gt(n,e,r,o),Cd(n,t,r))}}function Ed(e){var t=e.alternate;return e===pe||t!==null&&t===pe}function xd(e,t){Hr=_l=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Cd(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,fu(e,n)}}var Pl={readContext:ct,useCallback:$e,useContext:$e,useEffect:$e,useImperativeHandle:$e,useInsertionEffect:$e,useLayoutEffect:$e,useMemo:$e,useReducer:$e,useRef:$e,useState:$e,useDebugValue:$e,useDeferredValue:$e,useTransition:$e,useMutableSource:$e,useSyncExternalStore:$e,useId:$e,unstable_isNewReconciler:!1},Wv={readContext:ct,useCallback:function(e,t){return Ct().memoizedState=[e,t===void 0?null:t],e},useContext:ct,useEffect:bc,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,bo(4194308,4,hd.bind(null,t,e),n)},useLayoutEffect:function(e,t){return bo(4194308,4,e,t)},useInsertionEffect:function(e,t){return bo(4,2,e,t)},useMemo:function(e,t){var n=Ct();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ct();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Vv.bind(null,pe,e),[r.memoizedState,e]},useRef:function(e){var t=Ct();return e={current:e},t.memoizedState=e},useState:qc,useDebugValue:Mu,useDeferredValue:function(e){return Ct().memoizedState=e},useTransition:function(){var e=qc(!1),t=e[0];return e=Hv.bind(null,e[1]),Ct().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=pe,o=Ct();if(ae){if(n===void 0)throw Error(N(407));n=n()}else{if(n=t(),Pe===null)throw Error(N(349));Ln&30||ud(r,t,n)}o.memoizedState=n;var l={value:n,getSnapshot:t};return o.queue=l,bc(ad.bind(null,r,l,e),[e]),r.flags|=2048,io(9,cd.bind(null,r,l,n,t),void 0,null),n},useId:function(){var e=Ct(),t=Pe.identifierPrefix;if(ae){var n=Ft,r=jt;n=(r&~(1<<32-yt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=oo++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),n==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[_t]=t,e[to]=r,$d(e,t,!1,!1),t.stateNode=e;e:{switch(i=rs(n,r),n){case"dialog":se("cancel",e),se("close",e),o=r;break;case"iframe":case"object":case"embed":se("load",e),o=r;break;case"video":case"audio":for(o=0;odr&&(t.flags|=128,r=!0,Tr(l,!1),t.lanes=4194304)}else{if(!r)if(e=Cl(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Tr(l,!0),l.tail===null&&l.tailMode==="hidden"&&!i.alternate&&!ae)return Me(t),null}else 2*ge()-l.renderingStartTime>dr&&n!==1073741824&&(t.flags|=128,r=!0,Tr(l,!1),t.lanes=4194304);l.isBackwards?(i.sibling=t.child,t.child=i):(n=l.last,n!==null?n.sibling=i:t.child=i,l.last=i)}return l.tail!==null?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=ge(),t.sibling=null,n=de.current,ie(de,r?n&1|2:n&1),t):(Me(t),null);case 22:case 23:return Uu(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Ye&1073741824&&(Me(t),t.subtreeFlags&6&&(t.flags|=8192)):Me(t),null;case 24:return null;case 25:return null}throw Error(N(156,t.tag))}function qv(e,t){switch(Su(t),t.tag){case 1:return Qe(t.type)&&yl(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ar(),ue(We),ue(Ie),Ou(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return zu(t),null;case 13:if(ue(de),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(N(340));ur()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ue(de),null;case 4:return ar(),null;case 10:return Cu(t.type._context),null;case 22:case 23:return Uu(),null;case 24:return null;default:return null}}var Ho=!1,De=!1,bv=typeof WeakSet=="function"?WeakSet:Set,I=null;function Xn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){he(e,t,r)}else n.current=null}function Ts(e,t,n){try{n()}catch(r){he(e,t,r)}}var ua=!1;function eh(e,t){if(ps=pl,e=Af(),gu(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,l=r.focusNode;r=r.focusOffset;try{n.nodeType,l.nodeType}catch{n=null;break e}var i=0,s=-1,u=-1,c=0,d=0,p=e,v=null;t:for(;;){for(var g;p!==n||o!==0&&p.nodeType!==3||(s=i+o),p!==l||r!==0&&p.nodeType!==3||(u=i+r),p.nodeType===3&&(i+=p.nodeValue.length),(g=p.firstChild)!==null;)v=p,p=g;for(;;){if(p===e)break t;if(v===n&&++c===o&&(s=i),v===l&&++d===r&&(u=i),(g=p.nextSibling)!==null)break;p=v,v=p.parentNode}p=g}n=s===-1||u===-1?null:{start:s,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(ms={focusedElem:e,selectionRange:n},pl=!1,I=t;I!==null;)if(t=I,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,I=e;else for(;I!==null;){t=I;try{var h=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(h!==null){var w=h.memoizedProps,L=h.memoizedState,f=t.stateNode,a=f.getSnapshotBeforeUpdate(t.elementType===t.type?w:mt(t.type,w),L);f.__reactInternalSnapshotBeforeUpdate=a}break;case 3:var m=t.stateNode.containerInfo;m.nodeType===1?m.textContent="":m.nodeType===9&&m.documentElement&&m.removeChild(m.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(N(163))}}catch(y){he(t,t.return,y)}if(e=t.sibling,e!==null){e.return=t.return,I=e;break}I=t.return}return h=ua,ua=!1,h}function Vr(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var l=o.destroy;o.destroy=void 0,l!==void 0&&Ts(t,n,l)}o=o.next}while(o!==r)}}function Zl(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Ls(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function Id(e){var t=e.alternate;t!==null&&(e.alternate=null,Id(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[_t],delete t[to],delete t[ys],delete t[Iv],delete t[jv])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function jd(e){return e.tag===5||e.tag===3||e.tag===4}function ca(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||jd(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Rs(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=hl));else if(r!==4&&(e=e.child,e!==null))for(Rs(e,t,n),e=e.sibling;e!==null;)Rs(e,t,n),e=e.sibling}function $s(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for($s(e,t,n),e=e.sibling;e!==null;)$s(e,t,n),e=e.sibling}var Oe=null,vt=!1;function Xt(e,t,n){for(n=n.child;n!==null;)Fd(e,t,n),n=n.sibling}function Fd(e,t,n){if(zt&&typeof zt.onCommitFiberUnmount=="function")try{zt.onCommitFiberUnmount(Hl,n)}catch{}switch(n.tag){case 5:De||Xn(n,t);case 6:var r=Oe,o=vt;Oe=null,Xt(e,t,n),Oe=r,vt=o,Oe!==null&&(vt?(e=Oe,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Oe.removeChild(n.stateNode));break;case 18:Oe!==null&&(vt?(e=Oe,n=n.stateNode,e.nodeType===8?Li(e.parentNode,n):e.nodeType===1&&Li(e,n),Gr(e)):Li(Oe,n.stateNode));break;case 4:r=Oe,o=vt,Oe=n.stateNode.containerInfo,vt=!0,Xt(e,t,n),Oe=r,vt=o;break;case 0:case 11:case 14:case 15:if(!De&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var l=o,i=l.destroy;l=l.tag,i!==void 0&&(l&2||l&4)&&Ts(n,t,i),o=o.next}while(o!==r)}Xt(e,t,n);break;case 1:if(!De&&(Xn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){he(n,t,s)}Xt(e,t,n);break;case 21:Xt(e,t,n);break;case 22:n.mode&1?(De=(r=De)||n.memoizedState!==null,Xt(e,t,n),De=r):Xt(e,t,n);break;default:Xt(e,t,n)}}function aa(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new bv),t.forEach(function(r){var o=ch.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function pt(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=i),r&=~l}if(r=o,r=ge()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*nh(r/1960))-r,10e?16:e,tn===null)var r=!1;else{if(e=tn,tn=null,Ol=0,J&6)throw Error(N(331));var o=J;for(J|=4,I=e.current;I!==null;){var l=I,i=l.child;if(I.flags&16){var s=l.deletions;if(s!==null){for(var u=0;uge()-Fu?_n(e,0):ju|=n),Ke(e,t)}function Kd(e,t){t===0&&(e.mode&1?(t=Ro,Ro<<=1,!(Ro&130023424)&&(Ro=4194304)):t=1);var n=Fe();e=Vt(e,t),e!==null&&(po(e,t,n),Ke(e,n))}function uh(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Kd(e,n)}function ch(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(N(314))}r!==null&&r.delete(t),Kd(e,n)}var Yd;Yd=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||We.current)Ve=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Ve=!1,Gv(e,t,n);Ve=!!(e.flags&131072)}else Ve=!1,ae&&t.flags&1048576&&Gf(t,Sl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;el(e,t),e=t.pendingProps;var o=sr(t,Ie.current);nr(t,n),o=Lu(null,t,r,e,o,n);var l=Ru();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Qe(r)?(l=!0,gl(t)):l=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Pu(t),o.updater=Yl,t.stateNode=o,o._reactInternals=t,xs(t,r,e,n),t=Ps(null,t,r,!0,l,n)):(t.tag=0,ae&&l&&wu(t),je(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(el(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=fh(r),e=mt(r,e),o){case 0:t=_s(null,t,r,e,n);break e;case 1:t=la(null,t,r,e,n);break e;case 11:t=ra(null,t,r,e,n);break e;case 14:t=oa(null,t,r,mt(r.type,e),n);break e}throw Error(N(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:mt(r,o),_s(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:mt(r,o),la(e,t,r,o,n);case 3:e:{if(Td(t),e===null)throw Error(N(387));r=t.pendingProps,l=t.memoizedState,o=l.element,ed(e,t),xl(t,r,null,n);var i=t.memoizedState;if(r=i.element,l.isDehydrated)if(l={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=l,t.memoizedState=l,t.flags&256){o=fr(Error(N(423)),t),t=ia(e,t,r,n,o);break e}else if(r!==o){o=fr(Error(N(424)),t),t=ia(e,t,r,n,o);break e}else for(Je=ln(t.stateNode.containerInfo.firstChild),qe=t,ae=!0,ht=null,n=od(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(ur(),r===o){t=Bt(e,t,n);break e}je(e,t,r,n)}t=t.child}return t;case 5:return ld(t),e===null&&Ss(t),r=t.type,o=t.pendingProps,l=e!==null?e.memoizedProps:null,i=o.children,vs(r,o)?i=null:l!==null&&vs(r,l)&&(t.flags|=32),Od(e,t),je(e,t,i,n),t.child;case 6:return e===null&&Ss(t),null;case 13:return Ld(e,t,n);case 4:return Nu(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=cr(t,null,r,n):je(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:mt(r,o),ra(e,t,r,o,n);case 7:return je(e,t,t.pendingProps,n),t.child;case 8:return je(e,t,t.pendingProps.children,n),t.child;case 12:return je(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,l=t.memoizedProps,i=o.value,ie(kl,r._currentValue),r._currentValue=i,l!==null)if(wt(l.value,i)){if(l.children===o.children&&!We.current){t=Bt(e,t,n);break e}}else for(l=t.child,l!==null&&(l.return=t);l!==null;){var s=l.dependencies;if(s!==null){i=l.child;for(var u=s.firstContext;u!==null;){if(u.context===r){if(l.tag===1){u=At(-1,n&-n),u.tag=2;var c=l.updateQueue;if(c!==null){c=c.shared;var d=c.pending;d===null?u.next=u:(u.next=d.next,d.next=u),c.pending=u}}l.lanes|=n,u=l.alternate,u!==null&&(u.lanes|=n),ks(l.return,n,t),s.lanes|=n;break}u=u.next}}else if(l.tag===10)i=l.type===t.type?null:l.child;else if(l.tag===18){if(i=l.return,i===null)throw Error(N(341));i.lanes|=n,s=i.alternate,s!==null&&(s.lanes|=n),ks(i,n,t),i=l.sibling}else i=l.child;if(i!==null)i.return=l;else for(i=l;i!==null;){if(i===t){i=null;break}if(l=i.sibling,l!==null){l.return=i.return,i=l;break}i=i.return}l=i}je(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,nr(t,n),o=ct(o),r=r(o),t.flags|=1,je(e,t,r,n),t.child;case 14:return r=t.type,o=mt(r,t.pendingProps),o=mt(r.type,o),oa(e,t,r,o,n);case 15:return Nd(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:mt(r,o),el(e,t),t.tag=1,Qe(r)?(e=!0,gl(t)):e=!1,nr(t,n),nd(t,r,o),xs(t,r,o,n),Ps(null,t,r,!0,e,n);case 19:return Rd(e,t,n);case 22:return zd(e,t,n)}throw Error(N(156,t.tag))};function Xd(e,t){return Sf(e,t)}function ah(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function st(e,t,n,r){return new ah(e,t,n,r)}function Vu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function fh(e){if(typeof e=="function")return Vu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===su)return 11;if(e===uu)return 14}return 2}function an(e,t){var n=e.alternate;return n===null?(n=st(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function rl(e,t,n,r,o,l){var i=2;if(r=e,typeof e=="function")Vu(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case An:return Pn(n.children,o,l,t);case iu:i=8,o|=8;break;case Yi:return e=st(12,n,t,o|2),e.elementType=Yi,e.lanes=l,e;case Xi:return e=st(13,n,t,o),e.elementType=Xi,e.lanes=l,e;case Zi:return e=st(19,n,t,o),e.elementType=Zi,e.lanes=l,e;case nf:return Jl(n,o,l,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case ef:i=10;break e;case tf:i=9;break e;case su:i=11;break e;case uu:i=14;break e;case Zt:i=16,r=null;break e}throw Error(N(130,e==null?e:typeof e,""))}return t=st(i,n,t,o),t.elementType=e,t.type=r,t.lanes=l,t}function Pn(e,t,n,r){return e=st(7,e,r,t),e.lanes=n,e}function Jl(e,t,n,r){return e=st(22,e,r,t),e.elementType=nf,e.lanes=n,e.stateNode={isHidden:!1},e}function Ai(e,t,n){return e=st(6,e,null,t),e.lanes=n,e}function Ui(e,t,n){return t=st(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function dh(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Si(0),this.expirationTimes=Si(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Si(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Bu(e,t,n,r,o,l,i,s,u){return e=new dh(e,t,n,s,u),t===1?(t=1,l===!0&&(t|=8)):t=0,l=st(3,null,null,t),e.current=l,l.stateNode=e,l.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Pu(l),e}function ph(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(qd)}catch(e){console.error(e)}}qd(),Za.exports=tt;var gh=Za.exports,ga=gh;Qi.createRoot=ga.createRoot,Qi.hydrateRoot=ga.hydrateRoot;/*! + * OverlayScrollbars + * Version: 2.9.2 + * + * Copyright (c) Rene Haas | KingSora. + * https://github.com/KingSora + * + * Released under the MIT license. + */const Xe=(e,t)=>{const{o:n,i:r,u:o}=e;let l=n,i;const s=(d,p)=>{const v=l,g=d,h=p||(r?!r(v,g):v!==g);return(h||o)&&(l=g,i=v),[l,h,i]};return[t?d=>s(t(l,i),d):s,d=>[l,!!d,i]]},wh=typeof window<"u"&&typeof HTMLElement<"u"&&!!window.document,Be=wh?window:{},bd=Math.max,Sh=Math.min,Fs=Math.round,Rl=Math.abs,wa=Math.sign,ep=Be.cancelAnimationFrame,Yu=Be.requestAnimationFrame,$l=Be.setTimeout,As=Be.clearTimeout,ni=e=>typeof Be[e]<"u"?Be[e]:void 0,kh=ni("MutationObserver"),Sa=ni("IntersectionObserver"),Ml=ni("ResizeObserver"),ol=ni("ScrollTimeline"),Xu=e=>e===void 0,ri=e=>e===null,Tt=e=>typeof e=="number",yo=e=>typeof e=="string",Zu=e=>typeof e=="boolean",ft=e=>typeof e=="function",Lt=e=>Array.isArray(e),Dl=e=>typeof e=="object"&&!Lt(e)&&!ri(e),Gu=e=>{const t=!!e&&e.length,n=Tt(t)&&t>-1&&t%1==0;return Lt(e)||!ft(e)&&n?t>0&&Dl(e)?t-1 in e:!0:!1},Il=e=>!!e&&e.constructor===Object,jl=e=>e instanceof HTMLElement,oi=e=>e instanceof Element;function re(e,t){if(Gu(e))for(let n=0;nt(e[n],n,e));return e}const tp=(e,t)=>e.indexOf(t)>=0,uo=(e,t)=>e.concat(t),ye=(e,t,n)=>(!yo(t)&&Gu(t)?Array.prototype.push.apply(e,t):e.push(t),e),yn=e=>Array.from(e||[]),Ju=e=>Lt(e)?e:!yo(e)&&Gu(e)?yn(e):[e],Us=e=>!!e&&!e.length,Hs=e=>yn(new Set(e)),be=(e,t,n)=>{re(e,o=>o&&o.apply(void 0,t||[])),!n&&(e.length=0)},np="paddingTop",rp="paddingRight",op="paddingLeft",lp="paddingBottom",ip="marginLeft",sp="marginRight",up="marginBottom",cp="overflowX",ap="overflowY",li="width",ii="height",bt="visible",Cn="hidden",pr="scroll",Eh=e=>{const t=String(e||"");return t?t[0].toUpperCase()+t.slice(1):""},si=(e,t,n,r)=>{if(e&&t){let o=!0;return re(n,l=>{const i=e[l],s=t[l];i!==s&&(o=!1)}),o}return!1},fp=(e,t)=>si(e,t,["w","h"]),ll=(e,t)=>si(e,t,["x","y"]),xh=(e,t)=>si(e,t,["t","r","b","l"]),Nn=()=>{},V=(e,...t)=>e.bind(0,...t),Gn=e=>{let t;const n=e?$l:Yu,r=e?As:ep;return[o=>{r(t),t=n(()=>o(),ft(e)?e():e)},()=>r(t)]},Vs=(e,t)=>{const{_:n,v:r,p:o,S:l}=t||{};let i,s,u,c,d=Nn;const p=function(L){d(),As(i),c=i=s=void 0,d=Nn,e.apply(this,L)},v=w=>l&&s?l(s,w):w,g=()=>{d!==Nn&&p(v(u)||u)},h=function(){const L=yn(arguments),f=ft(n)?n():n;if(Tt(f)&&f>=0){const m=ft(r)?r():r,y=Tt(m)&&m>=0,S=f>0?$l:Yu,k=f>0?As:ep,P=v(L)||L,$=p.bind(0,P);let E;d(),o&&!c?($(),c=!0,E=S(()=>c=void 0,f)):(E=S($,f),y&&!i&&(i=$l(g,m))),d=()=>k(E),s=u=P}else p(L)};return h.m=g,h},dp=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),St=e=>e?Object.keys(e):[],q=(e,t,n,r,o,l,i)=>{const s=[t,n,r,o,l,i];return(typeof e!="object"||ri(e))&&!ft(e)&&(e={}),re(s,u=>{re(u,(c,d)=>{const p=u[d];if(e===p)return!0;const v=Lt(p);if(p&&Il(p)){const g=e[d];let h=g;v&&!Lt(g)?h=[]:!v&&!Il(g)&&(h={}),e[d]=q(h,p)}else e[d]=v?p.slice():p})}),e},pp=(e,t)=>re(q({},e),(n,r,o)=>{n===void 0?delete o[r]:n&&Il(n)&&(o[r]=pp(n))}),qu=e=>!St(e).length,mp=(e,t,n)=>bd(e,Sh(t,n)),zn=e=>Hs((Lt(e)?e:(e||"").split(" ")).filter(t=>t)),bu=(e,t)=>e&&e.getAttribute(t),ka=(e,t)=>e&&e.hasAttribute(t),Mt=(e,t,n)=>{re(zn(t),r=>{e&&e.setAttribute(r,String(n||""))})},xt=(e,t)=>{re(zn(t),n=>e&&e.removeAttribute(n))},ui=(e,t)=>{const n=zn(bu(e,t)),r=V(Mt,e,t),o=(l,i)=>{const s=new Set(n);return re(zn(l),u=>{s[i](u)}),yn(s).join(" ")};return{O:l=>r(o(l,"delete")),$:l=>r(o(l,"add")),C:l=>{const i=zn(l);return i.reduce((s,u)=>s&&n.includes(u),i.length>0)}}},vp=(e,t,n)=>(ui(e,t).O(n),V(ec,e,t,n)),ec=(e,t,n)=>(ui(e,t).$(n),V(vp,e,t,n)),Fl=(e,t,n,r)=>(r?ec:vp)(e,t,n),tc=(e,t,n)=>ui(e,t).C(n),hp=e=>ui(e,"class"),yp=(e,t)=>{hp(e).O(t)},nc=(e,t)=>(hp(e).$(t),V(yp,e,t)),gp=(e,t)=>{const n=t?oi(t)&&t:document;return n?yn(n.querySelectorAll(e)):[]},Ch=(e,t)=>{const n=t?oi(t)&&t:document;return n&&n.querySelector(e)},Bs=(e,t)=>oi(e)&&e.matches(t),wp=e=>Bs(e,"body"),Ws=e=>e?yn(e.childNodes):[],co=e=>e&&e.parentElement,Jn=(e,t)=>oi(e)&&e.closest(t),Qs=e=>document.activeElement,_h=(e,t,n)=>{const r=Jn(e,t),o=e&&Ch(n,r),l=Jn(o,t)===r;return r&&o?r===e||o===e||l&&Jn(Jn(e,n),t)!==r:!1},mr=e=>{re(Ju(e),t=>{const n=co(t);t&&n&&n.removeChild(t)})},Ze=(e,t)=>V(mr,e&&t&&re(Ju(t),n=>{n&&e.appendChild(n)})),or=e=>{const t=document.createElement("div");return Mt(t,"class",e),t},Sp=e=>{const t=or();return t.innerHTML=e.trim(),re(Ws(t),n=>mr(n))},Ea=(e,t)=>e.getPropertyValue(t)||e[t]||"",kp=e=>{const t=e||0;return isFinite(t)?t:0},Wo=e=>kp(parseFloat(e||"")),Ks=e=>Math.round(e*1e4)/1e4,Ep=e=>`${Ks(kp(e))}px`;function ao(e,t){e&&t&&re(t,(n,r)=>{try{const o=e.style,l=ri(n)||Zu(n)?"":Tt(n)?Ep(n):n;r.indexOf("--")===0?o.setProperty(r,l):o[r]=l}catch{}})}function Wt(e,t,n){const r=yo(t);let o=r?"":{};if(e){const l=Be.getComputedStyle(e,n)||e.style;o=r?Ea(l,t):yn(t).reduce((i,s)=>(i[s]=Ea(l,s),i),o)}return o}const xa=(e,t,n)=>{const r=t?`${t}-`:"",o=n?`-${n}`:"",l=`${r}top${o}`,i=`${r}right${o}`,s=`${r}bottom${o}`,u=`${r}left${o}`,c=Wt(e,[l,i,s,u]);return{t:Wo(c[l]),r:Wo(c[i]),b:Wo(c[s]),l:Wo(c[u])}},Ph=(e,t)=>`translate${Dl(e)?`(${e.x},${e.y})`:`Y(${e})`}`,Nh=e=>!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length),zh={w:0,h:0},ci=(e,t)=>t?{w:t[`${e}Width`],h:t[`${e}Height`]}:zh,Oh=e=>ci("inner",e||Be),lr=V(ci,"offset"),xp=V(ci,"client"),Al=V(ci,"scroll"),rc=e=>{const t=parseFloat(Wt(e,li))||0,n=parseFloat(Wt(e,ii))||0;return{w:t-Fs(t),h:n-Fs(n)}},Hi=e=>e.getBoundingClientRect(),Th=e=>!!e&&Nh(e),Ys=e=>!!(e&&(e[ii]||e[li])),Cp=(e,t)=>{const n=Ys(e);return!Ys(t)&&n},Ca=(e,t,n,r)=>{re(zn(t),o=>{e&&e.removeEventListener(o,n,r)})},ce=(e,t,n,r)=>{var o;const l=(o=r&&r.H)!=null?o:!0,i=r&&r.I||!1,s=r&&r.A||!1,u={passive:l,capture:i};return V(be,zn(t).map(c=>{const d=s?p=>{Ca(e,c,d,i),n&&n(p)}:n;return e&&e.addEventListener(c,d,u),V(Ca,e,c,d,i)}))},_p=e=>e.stopPropagation(),Xs=e=>e.preventDefault(),Pp=e=>_p(e)||Xs(e),Pt=(e,t)=>{const{x:n,y:r}=Tt(t)?{x:t,y:t}:t||{};Tt(n)&&(e.scrollLeft=n),Tt(r)&&(e.scrollTop=r)},Ge=e=>({x:e.scrollLeft,y:e.scrollTop}),Np=()=>({D:{x:0,y:0},T:{x:0,y:0}}),Lh=(e,t)=>{const{D:n,T:r}=e,{w:o,h:l}=t,i=(p,v,g)=>{let h=wa(p)*g,w=wa(v)*g;if(h===w){const L=Rl(p),f=Rl(v);w=L>f?0:w,h=L{const n=(r,o)=>r===0&&r<=o;return{x:n(e.x,t.x),y:n(e.y,t.y)}},Pa=({D:e,T:t},n)=>{const r=(o,l,i)=>mp(0,1,(o-i)/(o-l)||0);return{x:r(e.x,t.x,n.x),y:r(e.y,t.y,n.y)}},Zs=e=>{e&&e.focus&&e.focus({preventScroll:!0})},Na=(e,t)=>{re(Ju(t),e)},Gs=e=>{const t=new Map,n=(l,i)=>{if(l){const s=t.get(l);Na(u=>{s&&s[u?"delete":"clear"](u)},i)}else t.forEach(s=>{s.clear()}),t.clear()},r=(l,i)=>{if(yo(l)){const c=t.get(l)||new Set;return t.set(l,c),Na(d=>{ft(d)&&c.add(d)},i),V(n,l,i)}Zu(i)&&i&&n();const s=St(l),u=[];return re(s,c=>{const d=l[c];d&&ye(u,r(c,d))}),V(be,u)},o=(l,i)=>{re(yn(t.get(l)),s=>{i&&!Us(i)?s.apply(0,i):s()})};return r(e||{}),[r,n,o]},za=e=>JSON.stringify(e,(t,n)=>{if(ft(n))throw 0;return n}),Oa=(e,t)=>e?`${t}`.split(".").reduce((n,r)=>n&&dp(n,r)?n[r]:void 0,e):void 0,Rh={paddingAbsolute:!1,showNativeOverlaidScrollbars:!1,update:{elementEvents:[["img","load"]],debounce:[0,33],attributes:null,ignoreMutation:null},overflow:{x:"scroll",y:"scroll"},scrollbars:{theme:"os-theme-dark",visibility:"auto",autoHide:"never",autoHideDelay:1300,autoHideSuspend:!1,dragScroll:!0,clickScroll:!1,pointers:["mouse","touch","pen"]}},zp=(e,t)=>{const n={},r=uo(St(t),St(e));return re(r,o=>{const l=e[o],i=t[o];if(Dl(l)&&Dl(i))q(n[o]={},zp(l,i)),qu(n[o])&&delete n[o];else if(dp(t,o)&&i!==l){let s=!0;if(Lt(l)||Lt(i))try{za(l)===za(i)&&(s=!1)}catch{}s&&(n[o]=i)}}),n},Ta=(e,t,n)=>r=>[Oa(e,r),n||Oa(t,r)!==void 0],wr="data-overlayscrollbars",il="os-environment",Qo=`${il}-scrollbar-hidden`,Vi=`${wr}-initialize`,sl="noClipping",La=`${wr}-body`,fn=wr,$h="host",Dt=`${wr}-viewport`,Mh=cp,Dh=ap,Ih="arrange",Op="measuring",jh="scrolling",Tp="scrollbarHidden",Fh="noContent",Js=`${wr}-padding`,Ra=`${wr}-content`,oc="os-size-observer",Ah=`${oc}-appear`,Uh=`${oc}-listener`,Hh="os-trinsic-observer",Vh="os-theme-none",rt="os-scrollbar",Bh=`${rt}-rtl`,Wh=`${rt}-horizontal`,Qh=`${rt}-vertical`,Lp=`${rt}-track`,lc=`${rt}-handle`,Kh=`${rt}-visible`,Yh=`${rt}-cornerless`,$a=`${rt}-interaction`,Ma=`${rt}-unusable`,qs=`${rt}-auto-hide`,Da=`${qs}-hidden`,Ia=`${rt}-wheel`,Xh=`${Lp}-interactive`,Zh=`${lc}-interactive`;let Rp;const Gh=()=>Rp,Jh=e=>{Rp=e};let Bi;const qh=()=>{const e=(y,S,k)=>{Ze(document.body,y),Ze(document.body,y);const x=xp(y),P=lr(y),$=rc(S);return k&&mr(y),{x:P.h-x.h+$.h,y:P.w-x.w+$.w}},t=y=>{let S=!1;const k=nc(y,Qo);try{S=Wt(y,"scrollbar-width")==="none"||Wt(y,"display","::-webkit-scrollbar")==="none"}catch{}return k(),S},n=`.${il}{scroll-behavior:auto!important;position:fixed;opacity:0;visibility:hidden;overflow:scroll;height:200px;width:200px;z-index:-1}.${il} div{width:200%;height:200%;margin:10px 0}.${Qo}{scrollbar-width:none!important}.${Qo}::-webkit-scrollbar,.${Qo}::-webkit-scrollbar-corner{appearance:none!important;display:none!important;width:0!important;height:0!important}`,o=Sp(`
`)[0],l=o.firstChild,i=o.lastChild,s=Gh();s&&(i.nonce=s);const[u,,c]=Gs(),[d,p]=Xe({o:e(o,l),i:ll},V(e,o,l,!0)),[v]=p(),g=t(o),h={x:v.x===0,y:v.y===0},w={elements:{host:null,padding:!g,viewport:y=>g&&wp(y)&&y,content:!1},scrollbars:{slot:!0},cancel:{nativeScrollbarsOverlaid:!1,body:null}},L=q({},Rh),f=V(q,{},L),a=V(q,{},w),m={k:v,M:h,R:g,V:!!ol,L:V(u,"r"),U:a,P:y=>q(w,y)&&a(),N:f,q:y=>q(L,y)&&f(),B:q({},w),F:q({},L)};if(xt(o,"style"),mr(o),ce(Be,"resize",()=>{c("r",[])}),ft(Be.matchMedia)&&!g&&(!h.x||!h.y)){const y=S=>{const k=Be.matchMedia(`(resolution: ${Be.devicePixelRatio}dppx)`);ce(k,"change",()=>{S(),y(S)},{A:!0})};y(()=>{const[S,k]=d();q(m.k,S),c("r",[k])})}return m},Rt=()=>(Bi||(Bi=qh()),Bi),$p=(e,t)=>ft(t)?t.apply(0,e):t,bh=(e,t,n,r)=>{const o=Xu(r)?n:r;return $p(e,o)||t.apply(0,e)},Mp=(e,t,n,r)=>{const o=Xu(r)?n:r,l=$p(e,o);return!!l&&(jl(l)?l:t.apply(0,e))},e0=(e,t)=>{const{nativeScrollbarsOverlaid:n,body:r}=t||{},{M:o,R:l,U:i}=Rt(),{nativeScrollbarsOverlaid:s,body:u}=i().cancel,c=n??s,d=Xu(r)?u:r,p=(o.x||o.y)&&c,v=e&&(ri(d)?!l:d);return!!p||!!v},ic=new WeakMap,t0=(e,t)=>{ic.set(e,t)},n0=e=>{ic.delete(e)},Dp=e=>ic.get(e),r0=(e,t,n)=>{let r=!1;const o=n?new WeakMap:!1,l=()=>{r=!0},i=s=>{if(o&&n){const u=n.map(c=>{const[d,p]=c||[];return[p&&d?(s||gp)(d,e):[],p]});re(u,c=>re(c[0],d=>{const p=c[1],v=o.get(d)||[];if(e.contains(d)&&p){const h=ce(d,p,w=>{r?(h(),o.delete(d)):t(w)});o.set(d,ye(v,h))}else be(v),o.delete(d)}))}};return i(),[l,i]},ja=(e,t,n,r)=>{let o=!1;const{j:l,X:i,Y:s,W:u,J:c,G:d}=r||{},p=Vs(()=>o&&n(!0),{_:33,v:99}),[v,g]=r0(e,p,s),h=l||[],w=i||[],L=uo(h,w),f=(m,y)=>{if(!Us(y)){const S=c||Nn,k=d||Nn,x=[],P=[];let $=!1,E=!1;if(re(y,T=>{const{attributeName:U,target:B,type:K,oldValue:Z,addedNodes:Y,removedNodes:G}=T,_=K==="attributes",R=K==="childList",F=e===B,C=_&&U,O=C&&bu(B,U||""),M=yo(O)?O:null,D=C&&Z!==M,z=tp(w,U)&&D;if(t&&(R||!F)){const j=_&&D,A=j&&u&&Bs(B,u),Q=(A?!S(B,U,Z,M):!_||j)&&!k(T,!!A,e,r);re(Y,le=>ye(x,le)),re(G,le=>ye(x,le)),E=E||Q}!t&&F&&D&&!S(B,U,Z,M)&&(ye(P,U),$=$||z)}),g(T=>Hs(x).reduce((U,B)=>(ye(U,gp(T,B)),Bs(B,T)?ye(U,B):U),[])),t)return!m&&E&&n(!1),[!1];if(!Us(P)||$){const T=[Hs(P),$];return!m&&n.apply(0,T),T}}},a=new kh(V(f,!1));return[()=>(a.observe(e,{attributes:!0,attributeOldValue:!0,attributeFilter:L,subtree:t,childList:t,characterData:t}),o=!0,()=>{o&&(v(),a.disconnect(),o=!1)}),()=>{if(o)return p.m(),f(!0,a.takeRecords())}]},Ip={},jp={},o0=e=>{re(e,t=>re(t,(n,r)=>{Ip[r]=t[r]}))},Fp=(e,t,n)=>St(e).map(r=>{const{static:o,instance:l}=e[r],[i,s,u]=n||[],c=n?l:o;if(c){const d=n?c(i,s,t):c(t);return(u||jp)[r]=d}}),go=e=>jp[e],l0="__osOptionsValidationPlugin",i0="__osSizeObserverPlugin",s0=(e,t)=>{const{M:n}=t,[r,o]=e("showNativeOverlaidScrollbars");return[r&&n.x&&n.y,o]},vr=e=>e.indexOf(bt)===0,u0=(e,t)=>{const n=(o,l,i,s)=>{const u=o===bt?Cn:o.replace(`${bt}-`,""),c=vr(o),d=vr(i);return!l&&!s?Cn:c&&d?bt:c?l&&s?u:l?bt:Cn:l?u:d&&s?bt:Cn},r={x:n(t.x,e.x,t.y,e.y),y:n(t.y,e.y,t.x,e.x)};return{K:r,Z:{x:r.x===pr,y:r.y===pr}}},Ap="__osScrollbarsHidingPlugin",c0="__osClickScrollPlugin",Up=(e,t,n)=>{const{dt:r}=n||{},o=go(i0),[l]=Xe({o:!1,u:!0});return()=>{const i=[],u=Sp(`
`)[0],c=u.firstChild,d=p=>{const v=p instanceof ResizeObserverEntry;let g=!1,h=!1;if(v){const[w,,L]=l(p.contentRect),f=Ys(w);h=Cp(w,L),g=!h&&!f}else h=p===!0;g||t({ft:!0,dt:h})};if(Ml){const p=new Ml(v=>d(v.pop()));p.observe(c),ye(i,()=>{p.disconnect()})}else if(o){const[p,v]=o(c,d,r);ye(i,uo([nc(u,Ah),ce(u,"animationstart",p)],v))}else return Nn;return V(be,ye(i,Ze(e,u)))}},a0=(e,t)=>{let n;const r=u=>u.h===0||u.isIntersecting||u.intersectionRatio>0,o=or(Hh),[l]=Xe({o:!1}),i=(u,c)=>{if(u){const d=l(r(u)),[,p]=d;return p&&!c&&t(d)&&[d]}},s=(u,c)=>i(c.pop(),u);return[()=>{const u=[];if(Sa)n=new Sa(V(s,!1),{root:e}),n.observe(o),ye(u,()=>{n.disconnect()});else{const c=()=>{const d=lr(o);i(d)};ye(u,Up(o,c)()),c()}return V(be,ye(u,Ze(e,o)))},()=>n&&s(!0,n.takeRecords())]},f0=(e,t,n,r)=>{let o,l,i,s,u,c;const d=`[${fn}]`,p=`[${Dt}]`,v=["id","class","style","open","wrap","cols","rows"],{vt:g,gt:h,ot:w,ht:L,bt:f,nt:a,wt:m,yt:y,St:S,Ot:k}=e,x=z=>Wt(z,"direction")==="rtl",P={$t:!1,ct:x(g)},$=Rt(),E=go(Ap),[T]=Xe({i:fp,o:{w:0,h:0}},()=>{const z=E&&E.tt(e,t,P,$,n).ut,A=!(m&&a)&&tc(h,fn,sl),H=!a&&y(Ih),Q=H&&Ge(L),le=Q&&k(),we=S(Op,A),fe=H&&z&&z()[0],Ne=Al(w),W=rc(w);return fe&&fe(),Pt(L,Q),le&&le(),A&&we(),{w:Ne.w+W.w,h:Ne.h+W.h}}),U=Vs(r,{_:()=>o,v:()=>l,S(z,j){const[A]=z,[H]=j;return[uo(St(A),St(H)).reduce((Q,le)=>(Q[le]=A[le]||H[le],Q),{})]}}),B=z=>{const j=x(g);q(z,{Ct:c!==j}),q(P,{ct:j}),c=j},K=(z,j)=>{const[A,H]=z,Q={xt:H};return q(P,{$t:A}),!j&&r(Q),Q},Z=({ft:z,dt:j})=>{const H=!(z&&!j)&&$.R?U:r,Q={ft:z||j,dt:j};B(Q),H(Q)},Y=(z,j)=>{const[,A]=T(),H={Ht:A};return B(H),A&&!j&&(z?r:U)(H),H},G=(z,j,A)=>{const H={Et:j};return B(H),j&&!A&&U(H),H},[_,R]=f?a0(h,K):[],F=!a&&Up(h,Z,{dt:!0}),[C,O]=ja(h,!1,G,{X:v,j:v}),M=a&&Ml&&new Ml(z=>{const j=z[z.length-1].contentRect;Z({ft:!0,dt:Cp(j,u)}),u=j}),D=Vs(()=>{const[,z]=T();r({Ht:z})},{_:222,p:!0});return[()=>{M&&M.observe(h);const z=F&&F(),j=_&&_(),A=C(),H=$.L(Q=>{Q?U({zt:Q}):D()});return()=>{M&&M.disconnect(),z&&z(),j&&j(),s&&s(),A(),H()}},({It:z,At:j,Dt:A})=>{const H={},[Q]=z("update.ignoreMutation"),[le,we]=z("update.attributes"),[fe,Ne]=z("update.elementEvents"),[W,xe]=z("update.debounce"),Re=Ne||we,Ce=j||A,ze=ve=>ft(Q)&&Q(ve);if(Re){i&&i(),s&&s();const[ve,ee]=ja(f||w,!0,Y,{j:uo(v,le||[]),Y:fe,W:d,G:(b,ot)=>{const{target:dt,attributeName:Kt}=b;return(!ot&&Kt&&!a?_h(dt,d,p):!1)||!!Jn(dt,`.${rt}`)||!!ze(b)}});s=ve(),i=ee}if(xe)if(U.m(),Lt(W)){const ve=W[0],ee=W[1];o=Tt(ve)&&ve,l=Tt(ee)&&ee}else Tt(W)?(o=W,l=!1):(o=!1,l=!1);if(Ce){const ve=O(),ee=R&&R(),b=i&&i();ve&&q(H,G(ve[0],ve[1],Ce)),ee&&q(H,K(ee[0],Ce)),b&&q(H,Y(b[0],Ce))}return B(H),H},P]},d0=(e,t,n,r)=>{const o="--os-viewport-percent",l="--os-scroll-percent",i="--os-scroll-direction",{U:s}=Rt(),{scrollbars:u}=s(),{slot:c}=u,{vt:d,gt:p,ot:v,Tt:g,ht:h,wt:w,nt:L}=t,{scrollbars:f}=g?{}:e,{slot:a}=f||{},m=[],y=[],S=[],k=Mp([d,p,v],()=>L&&w?d:p,c,a),x=C=>{if(ol){const O=new ol({source:h,axis:C});return{Mt:D=>{const z=D.kt.animate({clear:["left"],[l]:[0,1]},{timeline:O});return()=>z.cancel()}}}},P={x:x("x"),y:x("y")},$=()=>{const{Rt:C,Vt:O}=n,M=(D,z)=>mp(0,1,D/(D+z)||0);return{x:M(O.x,C.x),y:M(O.y,C.y)}},E=(C,O,M)=>{const D=M?nc:yp;re(C,z=>{D(z.kt,O)})},T=(C,O)=>{re(C,M=>{const[D,z]=O(M);ao(D,z)})},U=(C,O,M)=>{const D=Zu(M),z=D?M:!0,j=D?!M:!0;z&&E(y,C,O),j&&E(S,C,O)},B=()=>{const C=$(),O=M=>D=>[D.kt,{[o]:Ks(M)+""}];T(y,O(C.x)),T(S,O(C.y))},K=()=>{if(!ol){const{Lt:C}=n,O=Pa(C,Ge(h)),M=D=>z=>[z.kt,{[l]:Ks(D)+""}];T(y,M(O.x)),T(S,M(O.y))}},Z=()=>{const{Lt:C}=n,O=_a(C),M=D=>z=>[z.kt,{[i]:D?"0":"1"}];T(y,M(O.x)),T(S,M(O.y))},Y=()=>{if(L&&!w){const{Rt:C,Lt:O}=n,M=_a(O),D=Pa(O,Ge(h)),z=j=>{const{kt:A}=j,H=co(A)===v&&A,Q=(le,we,fe)=>{const Ne=we*le;return Ep(fe?Ne:-Ne)};return[H,H&&{transform:Ph({x:Q(D.x,C.x,M.x),y:Q(D.y,C.y,M.y)})}]};T(y,z),T(S,z)}},G=C=>{const O=C?"x":"y",D=or(`${rt} ${C?Wh:Qh}`),z=or(Lp),j=or(lc),A={kt:D,Ut:z,Pt:j},H=P[O];return ye(C?y:S,A),ye(m,[Ze(D,z),Ze(z,j),V(mr,D),H&&H.Mt(A),r(A,U,C)]),A},_=V(G,!0),R=V(G,!1),F=()=>(Ze(k,y[0].kt),Ze(k,S[0].kt),V(be,m));return _(),R(),[{Nt:B,qt:K,Bt:Z,Ft:Y,jt:U,Xt:{Yt:y,Wt:_,Jt:V(T,y)},Gt:{Yt:S,Wt:R,Jt:V(T,S)}},F]},p0=(e,t,n,r)=>(o,l,i)=>{const{gt:s,ot:u,nt:c,ht:d,Kt:p,Ot:v}=t,{kt:g,Ut:h,Pt:w}=o,[L,f]=Gn(333),[a,m]=Gn(444),y=x=>{ft(d.scrollBy)&&d.scrollBy({behavior:"smooth",left:x.x,top:x.y})},S=()=>{const x="pointerup pointercancel lostpointercapture",P=`client${i?"X":"Y"}`,$=i?li:ii,E=i?"left":"top",T=i?"w":"h",U=i?"x":"y",B=(Z,Y)=>G=>{const{Rt:_}=n,R=lr(h)[T]-lr(w)[T],C=Y*G/R*_[U];Pt(d,{[U]:Z+C})},K=[];return ce(h,"pointerdown",Z=>{const Y=Jn(Z.target,`.${lc}`)===w,G=Y?w:h,_=e.scrollbars,{button:R,isPrimary:F,pointerType:C}=Z,{pointers:O}=_;if(R===0&&F&&_[Y?"dragScroll":"clickScroll"]&&(O||[]).includes(C)){be(K),m();const D=!Y&&Z.shiftKey,z=V(Hi,w),j=V(Hi,h),A=(ee,b)=>(ee||z())[E]-(b||j())[E],H=Fs(Hi(d)[$])/lr(d)[T]||1,Q=B(Ge(d)[U],1/H),le=Z[P],we=z(),fe=j(),Ne=we[$],W=A(we,fe)+Ne/2,xe=le-fe[E],Re=Y?0:xe-W,Ce=ee=>{be(ve),G.releasePointerCapture(ee.pointerId)},ze=v(),ve=[()=>{const ee=Ge(d);ze();const b=Ge(d),ot={x:b.x-ee.x,y:b.y-ee.y};(Rl(ot.x)>3||Rl(ot.y)>3)&&(v(),Pt(d,ee),y(ot),a(ze))},ce(p,x,Ce),ce(p,"selectstart",ee=>Xs(ee),{H:!1}),ce(h,x,Ce),ce(h,"pointermove",ee=>{const b=ee[P]-le;(Y||D)&&Q(Re+b)})];if(G.setPointerCapture(Z.pointerId),D)Q(Re);else if(!Y){const ee=go(c0);if(ee){const b=ee(Q,A,Re,Ne,xe);ye(ve,V(b)),ye(K,V(b,!0))}}}})};let k=!0;return V(be,[ce(w,"pointermove pointerleave",r),ce(g,"pointerenter",()=>{l($a,!0)}),ce(g,"pointerleave pointercancel",()=>{l($a,!1)}),!c&&ce(g,"mousedown",()=>{const x=Qs();(ka(x,Dt)||ka(x,fn)||x===document.body)&&$l(V(Zs,u),25)}),ce(g,"wheel",x=>{const{deltaX:P,deltaY:$,deltaMode:E}=x;k&&E===0&&co(g)===s&&y({x:P,y:$}),k=!1,l(Ia,!0),L(()=>{k=!0,l(Ia)}),Xs(x)},{H:!1,I:!0}),ce(g,"pointerdown",V(ce,p,"click",Pp,{A:!0,I:!0,H:!1}),{I:!0}),S(),f,m])},m0=(e,t,n,r,o,l)=>{let i,s,u,c,d,p=Nn,v=0;const g=C=>C.pointerType==="mouse",[h,w]=Gn(),[L,f]=Gn(100),[a,m]=Gn(100),[y,S]=Gn(()=>v),[k,x]=d0(e,o,r,p0(t,o,r,C=>g(C)&&G())),{gt:P,Qt:$,wt:E}=o,{jt:T,Nt:U,qt:B,Bt:K,Ft:Z}=k,Y=(C,O)=>{if(S(),C)T(Da);else{const M=V(T,Da,!0);v>0&&!O?y(M):M()}},G=()=>{(u?!i:!c)&&(Y(!0),L(()=>{Y(!1)}))},_=C=>{T(qs,C,!0),T(qs,C,!1)},R=C=>{g(C)&&(i=u,u&&Y(!0))},F=[S,f,m,w,()=>p(),ce(P,"pointerover",R,{A:!0}),ce(P,"pointerenter",R),ce(P,"pointerleave",C=>{g(C)&&(i=!1,u&&Y(!1))}),ce(P,"pointermove",C=>{g(C)&&s&&G()}),ce($,"scroll",C=>{h(()=>{B(),G()}),l(C),Z()})];return[()=>V(be,ye(F,x())),({It:C,Dt:O,Zt:M,tn:D})=>{const{nn:z,sn:j,en:A,cn:H}=D||{},{Ct:Q,dt:le}=M||{},{ct:we}=n,{M:fe}=Rt(),{K:Ne,rn:W}=r,[xe,Re]=C("showNativeOverlaidScrollbars"),[Ce,ze]=C("scrollbars.theme"),[ve,ee]=C("scrollbars.visibility"),[b,ot]=C("scrollbars.autoHide"),[dt,Kt]=C("scrollbars.autoHideSuspend"),[Sr]=C("scrollbars.autoHideDelay"),[wo,So]=C("scrollbars.dragScroll"),[ko,gn]=C("scrollbars.clickScroll"),[In,ai]=C("overflow"),fi=le&&!O,di=W.x||W.y,pi=z||j||H||Q||O,kt=A||ee||ai,mi=xe&&fe.x&&fe.y,kr=(Er,Yt,Eo)=>{const xr=Er.includes(pr)&&(ve===bt||ve==="auto"&&Yt===pr);return T(Kh,xr,Eo),xr};if(v=Sr,fi&&(dt&&di?(_(!1),p(),a(()=>{p=ce($,"scroll",V(_,!0),{A:!0})})):_(!0)),Re&&T(Vh,mi),ze&&(T(d),T(Ce,!0),d=Ce),Kt&&!dt&&_(!0),ot&&(s=b==="move",u=b==="leave",c=b==="never",Y(c,!0)),So&&T(Zh,wo),gn&&T(Xh,ko),kt){const Er=kr(In.x,Ne.x,!0),Yt=kr(In.y,Ne.y,!1);T(Yh,!(Er&&Yt))}pi&&(B(),U(),Z(),H&&K(),T(Ma,!W.x,!0),T(Ma,!W.y,!1),T(Bh,we&&!E))},{},k]},v0=e=>{const t=Rt(),{U:n,R:r}=t,{elements:o}=n(),{padding:l,viewport:i,content:s}=o,u=jl(e),c=u?{}:e,{elements:d}=c,{padding:p,viewport:v,content:g}=d||{},h=u?e:c.target,w=wp(h),L=h.ownerDocument,f=L.documentElement,a=()=>L.defaultView||Be,m=V(bh,[h]),y=V(Mp,[h]),S=V(or,""),k=V(m,S,i),x=V(y,S,s),P=W=>{const xe=lr(W),Re=Al(W),Ce=Wt(W,cp),ze=Wt(W,ap);return Re.w-xe.w>0&&!vr(Ce)||Re.h-xe.h>0&&!vr(ze)},$=k(v),E=$===h,T=E&&w,U=!E&&x(g),B=!E&&$===U,K=T?f:$,Z=T?K:h,Y=!E&&y(S,l,p),G=!B&&U,_=[G,K,Y,Z].map(W=>jl(W)&&!co(W)&&W),R=W=>W&&tp(_,W),F=!R(K)&&P(K)?K:h,C=T?f:K,M={vt:h,gt:Z,ot:K,ln:Y,bt:G,ht:C,Qt:T?L:K,an:w?f:F,Kt:L,wt:w,Tt:u,nt:E,un:a,yt:W=>tc(K,Dt,W),St:(W,xe)=>Fl(K,Dt,W,xe),Ot:()=>Fl(C,Dt,jh,!0)},{vt:D,gt:z,ln:j,ot:A,bt:H}=M,Q=[()=>{xt(z,[fn,Vi]),xt(D,Vi),w&&xt(f,[Vi,fn])}];let le=Ws([H,A,j,z,D].find(W=>W&&!R(W)));const we=T?D:H||A,fe=V(be,Q);return[M,()=>{const W=a(),xe=Qs(),Re=b=>{Ze(co(b),Ws(b)),mr(b)},Ce=b=>ce(b,"focusin focusout focus blur",Pp,{I:!0,H:!1}),ze="tabindex",ve=bu(A,ze),ee=Ce(xe);return Mt(z,fn,E?"":$h),Mt(j,Js,""),Mt(A,Dt,""),Mt(H,Ra,""),E||(Mt(A,ze,ve||"-1"),w&&Mt(f,La,"")),Ze(we,le),Ze(z,j),Ze(j||z,!E&&A),Ze(A,H),ye(Q,[ee,()=>{const b=Qs(),ot=R(A),dt=ot&&b===A?D:b,Kt=Ce(dt);xt(j,Js),xt(H,Ra),xt(A,Dt),w&&xt(f,La),ve?Mt(A,ze,ve):xt(A,ze),R(H)&&Re(H),ot&&Re(A),R(j)&&Re(j),Zs(dt),Kt()}]),r&&!E&&(ec(A,Dt,Tp),ye(Q,V(xt,A,Dt))),Zs(!E&&w&&xe===D&&W.top===W?A:xe),ee(),le=0,fe},fe]},h0=({bt:e})=>({Zt:t,_n:n,Dt:r})=>{const{xt:o}=t||{},{$t:l}=n;e&&(o||r)&&ao(e,{[ii]:l&&"100%"})},y0=({gt:e,ln:t,ot:n,nt:r},o)=>{const[l,i]=Xe({i:xh,o:xa()},V(xa,e,"padding",""));return({It:s,Zt:u,_n:c,Dt:d})=>{let[p,v]=i(d);const{R:g}=Rt(),{ft:h,Ht:w,Ct:L}=u||{},{ct:f}=c,[a,m]=s("paddingAbsolute");(h||v||(d||w))&&([p,v]=l(d));const S=!r&&(m||L||v);if(S){const k=!a||!t&&!g,x=p.r+p.l,P=p.t+p.b,$={[sp]:k&&!f?-x:0,[up]:k?-P:0,[ip]:k&&f?-x:0,top:k?-p.t:0,right:k?f?-p.r:"auto":0,left:k?f?"auto":-p.l:0,[li]:k&&`calc(100% + ${x}px)`},E={[np]:k?p.t:0,[rp]:k?p.r:0,[lp]:k?p.b:0,[op]:k?p.l:0};ao(t||n,$),ao(n,E),q(o,{ln:p,dn:!k,rt:t?E:q({},$,E)})}return{fn:S}}},g0=(e,t)=>{const n=Rt(),{gt:r,ln:o,ot:l,nt:i,Qt:s,ht:u,wt:c,St:d,un:p}=e,{R:v}=n,g=c&&i,h=V(bd,0),w={display:()=>!1,direction:O=>O!=="ltr",flexDirection:O=>O.endsWith("-reverse"),writingMode:O=>O!=="horizontal-tb"},L=St(w),f={i:fp,o:{w:0,h:0}},a={i:ll,o:{}},m=O=>{d(Op,!g&&O)},y=O=>{if(!L.some(we=>{const fe=O[we];return fe&&w[we](fe)}))return{D:{x:0,y:0},T:{x:1,y:1}};m(!0);const D=Ge(u),z=d(Fh,!0),j=ce(s,pr,we=>{const fe=Ge(u);we.isTrusted&&fe.x===D.x&&fe.y===D.y&&_p(we)},{I:!0,A:!0});Pt(u,{x:0,y:0}),z();const A=Ge(u),H=Al(u);Pt(u,{x:H.w,y:H.h});const Q=Ge(u);Pt(u,{x:Q.x-A.x<1&&-H.w,y:Q.y-A.y<1&&-H.h});const le=Ge(u);return Pt(u,D),Yu(()=>j()),{D:A,T:le}},S=(O,M)=>{const D=Be.devicePixelRatio%1!==0?1:0,z={w:h(O.w-M.w),h:h(O.h-M.h)};return{w:z.w>D?z.w:0,h:z.h>D?z.h:0}},[k,x]=Xe(f,V(rc,l)),[P,$]=Xe(f,V(Al,l)),[E,T]=Xe(f),[U]=Xe(a),[B,K]=Xe(f),[Z]=Xe(a),[Y]=Xe({i:(O,M)=>si(O,M,L),o:{}},()=>Th(l)?Wt(l,L):{}),[G,_]=Xe({i:(O,M)=>ll(O.D,M.D)&&ll(O.T,M.T),o:Np()}),R=go(Ap),F=(O,M)=>`${M?Mh:Dh}${Eh(O)}`,C=O=>{const M=z=>[bt,Cn,pr].map(j=>F(j,z)),D=M(!0).concat(M()).join(" ");d(D),d(St(O).map(z=>F(O[z],z==="x")).join(" "),!0)};return({It:O,Zt:M,_n:D,Dt:z},{fn:j})=>{const{ft:A,Ht:H,Ct:Q,dt:le,zt:we}=M||{},fe=R&&R.tt(e,t,D,n,O),{it:Ne,ut:W,_t:xe}=fe||{},[Re,Ce]=s0(O,n),[ze,ve]=O("overflow"),ee=vr(ze.x),b=vr(ze.y),ot=!0;let dt=x(z),Kt=$(z),Sr=T(z),wo=K(z);Ce&&v&&d(Tp,!Re);{tc(r,fn,sl)&&m(!0);const[uc]=W?W():[],[xo]=dt=k(z),[Co]=Kt=P(z),_o=xp(l),Po=g&&Oh(p()),Kp={w:h(Co.w+xo.w),h:h(Co.h+xo.h)},cc={w:h((Po?Po.w:_o.w+h(_o.w-Co.w))+xo.w),h:h((Po?Po.h:_o.h+h(_o.h-Co.h))+xo.h)};uc&&uc(),wo=B(cc),Sr=E(S(Kp,cc),z)}const[So,ko]=wo,[gn,In]=Sr,[ai,fi]=Kt,[di,pi]=dt,[kt,mi]=U({x:gn.w>0,y:gn.h>0}),kr=ee&&b&&(kt.x||kt.y)||ee&&kt.x&&!kt.y||b&&kt.y&&!kt.x,Er=j||Q||we||pi||fi||ko||In||ve||Ce||ot,Yt=u0(kt,ze),[Eo,xr]=Z(Yt.K),[Vp,Bp]=Y(z),sc=Q||le||Bp||mi||z,[Wp,Qp]=sc?G(y(Vp),z):_();return Er&&(xr&&C(Yt.K),xe&&Ne&&ao(l,xe(Yt,D,Ne(Yt,ai,di)))),m(!1),Fl(r,fn,sl,kr),Fl(o,Js,sl,kr),q(t,{K:Eo,Vt:{x:So.w,y:So.h},Rt:{x:gn.w,y:gn.h},rn:kt,Lt:Lh(Wp,gn)}),{en:xr,nn:ko,sn:In,cn:Qp||In,vn:sc}}},w0=e=>{const[t,n,r]=v0(e),o={ln:{t:0,r:0,b:0,l:0},dn:!1,rt:{[sp]:0,[up]:0,[ip]:0,[np]:0,[rp]:0,[lp]:0,[op]:0},Vt:{x:0,y:0},Rt:{x:0,y:0},K:{x:Cn,y:Cn},rn:{x:!1,y:!1},Lt:Np()},{vt:l,ht:i,nt:s,Ot:u}=t,{R:c,M:d}=Rt(),p=!c&&(d.x||d.y),v=[h0(t),y0(t,o),g0(t,o)];return[n,g=>{const h={},L=p&&Ge(i),f=L&&u();return re(v,a=>{q(h,a(g,h)||{})}),Pt(i,L),f&&f(),!s&&Pt(l,0),h},o,t,r]},S0=(e,t,n,r,o)=>{let l=!1;const i=Ta(t,{}),[s,u,c,d,p]=w0(e),[v,g,h]=f0(d,c,i,y=>{m({},y)}),[w,L,,f]=m0(e,t,h,c,d,o),a=y=>St(y).some(S=>!!y[S]),m=(y,S)=>{if(n())return!1;const{pn:k,Dt:x,At:P,gn:$}=y,E=k||{},T=!!x||!l,U={It:Ta(t,E,T),pn:E,Dt:T};if($)return L(U),!1;const B=S||g(q({},U,{At:P})),K=u(q({},U,{_n:h,Zt:B}));L(q({},U,{Zt:B,tn:K}));const Z=a(B),Y=a(K),G=Z||Y||!qu(E)||T;return l=!0,G&&r(y,{Zt:B,tn:K}),G};return[()=>{const{an:y,ht:S,Ot:k}=d,x=Ge(y),P=[v(),s(),w()],$=k();return Pt(S,x),$(),V(be,P)},m,()=>({hn:h,bn:c}),{wn:d,yn:f},p]},Nt=(e,t,n)=>{const{N:r}=Rt(),o=jl(e),l=o?e:e.target,i=Dp(l);if(t&&!i){let s=!1;const u=[],c={},d=E=>{const T=pp(E),U=go(l0);return U?U(T,!0):T},p=q({},r(),d(t)),[v,g,h]=Gs(),[w,L,f]=Gs(n),a=(E,T)=>{f(E,T),h(E,T)},[m,y,S,k,x]=S0(e,p,()=>s,({pn:E,Dt:T},{Zt:U,tn:B})=>{const{ft:K,Ct:Z,xt:Y,Ht:G,Et:_,dt:R}=U,{nn:F,sn:C,en:O,cn:M}=B;a("updated",[$,{updateHints:{sizeChanged:!!K,directionChanged:!!Z,heightIntrinsicChanged:!!Y,overflowEdgeChanged:!!F,overflowAmountChanged:!!C,overflowStyleChanged:!!O,scrollCoordinatesChanged:!!M,contentMutation:!!G,hostMutation:!!_,appear:!!R},changedOptions:E||{},force:!!T}])},E=>a("scroll",[$,E])),P=E=>{n0(l),be(u),s=!0,a("destroyed",[$,E]),g(),L()},$={options(E,T){if(E){const U=T?r():{},B=zp(p,q(U,d(E)));qu(B)||(q(p,B),y({pn:B}))}return q({},p)},on:w,off:(E,T)=>{E&&T&&L(E,T)},state(){const{hn:E,bn:T}=S(),{ct:U}=E,{Vt:B,Rt:K,K:Z,rn:Y,ln:G,dn:_,Lt:R}=T;return q({},{overflowEdge:B,overflowAmount:K,overflowStyle:Z,hasOverflow:Y,scrollCoordinates:{start:R.D,end:R.T},padding:G,paddingAbsolute:_,directionRTL:U,destroyed:s})},elements(){const{vt:E,gt:T,ln:U,ot:B,bt:K,ht:Z,Qt:Y}=k.wn,{Xt:G,Gt:_}=k.yn,R=C=>{const{Pt:O,Ut:M,kt:D}=C;return{scrollbar:D,track:M,handle:O}},F=C=>{const{Yt:O,Wt:M}=C,D=R(O[0]);return q({},D,{clone:()=>{const z=R(M());return y({gn:!0}),z}})};return q({},{target:E,host:T,padding:U||B,viewport:B,content:K||B,scrollOffsetElement:Z,scrollEventElement:Y,scrollbarHorizontal:F(G),scrollbarVertical:F(_)})},update:E=>y({Dt:E,At:!0}),destroy:V(P,!1),plugin:E=>c[St(E)[0]]};return ye(u,[x]),t0(l,$),Fp(Ip,Nt,[$,v,c]),e0(k.wn.wt,!o&&e.cancel)?(P(!0),$):(ye(u,m()),a("initialized",[$]),$.update(),$)}return i};Nt.plugin=e=>{const t=Lt(e),n=t?e:[e],r=n.map(o=>Fp(o,Nt)[0]);return o0(n),t?r:r[0]};Nt.valid=e=>{const t=e&&e.elements,n=ft(t)&&t();return Il(n)&&!!Dp(n.target)};Nt.env=()=>{const{k:e,M:t,R:n,V:r,B:o,F:l,U:i,P:s,N:u,q:c}=Rt();return q({},{scrollbarsSize:e,scrollbarsOverlaid:t,scrollbarsHiding:n,scrollTimeline:r,staticDefaultInitialization:o,staticDefaultOptions:l,getDefaultInitialization:i,setDefaultInitialization:s,getDefaultOptions:u,setDefaultOptions:c})};Nt.nonce=Jh;const k0=()=>{if(typeof window>"u"){const c=()=>{};return[c,c]}let e,t;const n=window,r=typeof n.requestIdleCallback=="function",o=n.requestAnimationFrame,l=n.cancelAnimationFrame,i=r?n.requestIdleCallback:o,s=r?n.cancelIdleCallback:l,u=()=>{s(e),l(t)};return[(c,d)=>{u(),e=i(r?()=>{u(),t=o(c)}:c,typeof d=="object"?d:{timeout:2233})},u]},Hp=e=>{const{options:t,events:n,defer:r}=e||{},[o,l]=oe.useMemo(k0,[]),i=oe.useRef(null),s=oe.useRef(r),u=oe.useRef(t),c=oe.useRef(n);return oe.useEffect(()=>{s.current=r},[r]),oe.useEffect(()=>{const{current:d}=i;u.current=t,Nt.valid(d)&&d.options(t||{},!0)},[t]),oe.useEffect(()=>{const{current:d}=i;c.current=n,Nt.valid(d)&&d.on(n||{},!0)},[n]),oe.useEffect(()=>()=>{var d;l(),(d=i.current)==null||d.destroy()},[]),oe.useMemo(()=>[d=>{const p=i.current;if(Nt.valid(p))return;const v=s.current,g=u.current||{},h=c.current||{},w=()=>i.current=Nt(d,g,h);v?o(w,v):w()},()=>i.current],[])},E0=(e,t)=>{const{element:n="div",options:r,events:o,defer:l,children:i,...s}=e,u=n,c=oe.useRef(null),d=oe.useRef(null),[p,v]=Hp({options:r,events:o,defer:l});return oe.useEffect(()=>{const{current:g}=c,{current:h}=d;if(!g)return;const w=g;return p(n==="body"?{target:w,cancel:{body:null}}:{target:w,elements:{viewport:h,content:h}}),()=>{var L;return(L=v())==null?void 0:L.destroy()}},[p,n]),oe.useImperativeHandle(t,()=>({osInstance:v,getElement:()=>c.current}),[]),Wi.createElement(u,{"data-overlayscrollbars-initialize":"",ref:c,...s},n==="body"?i:Wi.createElement("div",{"data-overlayscrollbars-contents":"",ref:d},i))},x0=oe.forwardRef(E0),C0=()=>{const[e,t]=oe.useState([]),n=oe.useRef({}),r=oe.useRef({}),o=s=>{const u=n.current[s];n.current[s]=typeof u=="number"?u+1:1,t(c=>Array.from(new Set([...c,s]))),clearTimeout(r.current[s]),r.current[s]=setTimeout(()=>{t(c=>{const d=new Set(c);return d.delete(s),Array.from(d)})},500)},l=s=>({active:e.includes(s),count:n.current[s]||0});return[{initialized:l("initialized"),destroyed:l("destroyed"),updated:l("updated"),scroll:l("scroll")},o]},Fa=te.jsx("div",{className:"logo",children:te.jsx("img",{alt:"React logo",src:"logo.svg"})}),_0=()=>{const[e,t]=oe.useState(!1),[n,r]=oe.useState(!1),[o,l]=oe.useState(!0),[i,s]=oe.useState(null),u=oe.useRef(null),[c,d]=C0(),[p,v]=Hp({defer:!0,events:{initialized:()=>{s(!0)},destroyed:()=>{s(!1)}},options:{scrollbars:{theme:"os-theme-light"}}}),g=()=>{const{current:f}=u,a=f==null?void 0:f.osInstance();if(!a)return;const{overflowAmount:m}=a.state(),{scrollOffsetElement:y}=a.elements(),{scrollLeft:S,scrollTop:k}=y;y.scrollTo({behavior:"smooth",left:Math.round((m.x-S)/m.x)*m.x,top:Math.round((m.y-k)/m.y)*m.y})},h=()=>t(f=>!f),w=()=>r(f=>!f),L=()=>{const f=v();f&&!f.state().destroyed?f.destroy():p({target:document.body,cancel:{body:!1}})};return oe.useEffect(()=>{p(document.body)},[p]),te.jsxs(te.Fragment,{children:[te.jsxs("main",{children:[te.jsx("h1",{children:te.jsx("a",{href:"https://www.npmjs.com/package/overlayscrollbars-react",target:"_blank",rel:"noreferrer",children:"OverlayScrollbars React"})}),te.jsx("section",{className:"slot",children:o?te.jsx(x0,{className:"overlayscrollbars-react",style:{display:n?"none":void 0},ref:u,options:{scrollbars:{theme:"os-theme-light"}},events:{initialized:()=>d("initialized"),destroyed:()=>d("destroyed"),updated:()=>d("updated"),scroll:()=>d("scroll")},defer:!0,children:!e&&Fa}):te.jsx("div",{className:"overlayscrollbars-react",children:Fa})}),te.jsxs("section",{children:[te.jsx("p",{className:"title",children:"Actions:"}),te.jsxs("div",{className:"items",children:[o&&te.jsxs(te.Fragment,{children:[te.jsx("button",{onClick:g,children:"Scroll"}),te.jsxs("button",{onClick:h,children:[e?"Show":"Hide"," Content"]}),te.jsxs("button",{onClick:w,children:[n?"Show":"Hide"," Element"]})]}),te.jsxs("button",{onClick:()=>l(f=>!f),children:[o?"Destroy":"Initialize"," OverlayScrollbars"]})]})]}),te.jsxs("section",{children:[te.jsx("p",{className:"title",children:"Events:"}),te.jsx("div",{className:"items",children:Object.entries(c).map(([f,a])=>te.jsxs("div",{className:`event ${a.active?"active":""}`,children:[f," (",a.count,")"]},f))})]})]}),te.jsxs("footer",{children:[i!==null&&te.jsx("section",{children:te.jsx("div",{className:"items",children:te.jsxs("button",{onClick:L,children:[i?"Destroy":"Initialize"," Body OverlayScrollbars"]})})}),te.jsx("a",{href:"https://github.com/KingSora/OverlayScrollbars/tree/master/examples/react",target:"_blank",rel:"noreferrer",children:"Open source code of this example."})]})]})},P0=Qi.createRoot(document.getElementById("root"));P0.render(te.jsx(Wi.StrictMode,{children:te.jsx(_0,{})})); diff --git a/docs/example/react/assets/index-BDtlQb8H.js b/docs/example/react/assets/index-BDtlQb8H.js deleted file mode 100644 index 2004883d..00000000 --- a/docs/example/react/assets/index-BDtlQb8H.js +++ /dev/null @@ -1,48 +0,0 @@ -(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const l of o)if(l.type==="childList")for(const i of l.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const l={};return o.integrity&&(l.integrity=o.integrity),o.referrerPolicy&&(l.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?l.credentials="include":o.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function r(o){if(o.ep)return;o.ep=!0;const l=n(o);fetch(o.href,l)}})();function Wp(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Fa={exports:{}},Ul={},Aa={exports:{}},Y={};/** - * @license React - * react.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var fo=Symbol.for("react.element"),Qp=Symbol.for("react.portal"),Kp=Symbol.for("react.fragment"),Yp=Symbol.for("react.strict_mode"),Xp=Symbol.for("react.profiler"),Zp=Symbol.for("react.provider"),Gp=Symbol.for("react.context"),Jp=Symbol.for("react.forward_ref"),qp=Symbol.for("react.suspense"),bp=Symbol.for("react.memo"),em=Symbol.for("react.lazy"),cc=Symbol.iterator;function tm(e){return e===null||typeof e!="object"?null:(e=cc&&e[cc]||e["@@iterator"],typeof e=="function"?e:null)}var Ua={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Ha=Object.assign,Va={};function hr(e,t,n){this.props=e,this.context=t,this.refs=Va,this.updater=n||Ua}hr.prototype.isReactComponent={};hr.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};hr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Ba(){}Ba.prototype=hr.prototype;function bs(e,t,n){this.props=e,this.context=t,this.refs=Va,this.updater=n||Ua}var eu=bs.prototype=new Ba;eu.constructor=bs;Ha(eu,hr.prototype);eu.isPureReactComponent=!0;var ac=Array.isArray,Wa=Object.prototype.hasOwnProperty,tu={current:null},Qa={key:!0,ref:!0,__self:!0,__source:!0};function Ka(e,t,n){var r,o={},l=null,i=null;if(t!=null)for(r in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(l=""+t.key),t)Wa.call(t,r)&&!Qa.hasOwnProperty(r)&&(o[r]=t[r]);var s=arguments.length-2;if(s===1)o.children=n;else if(1>>1,R=_[k];if(0>>1;ko($,O))Ao(F,$)?(_[k]=F,_[A]=O,k=A):(_[k]=$,_[j]=O,k=j);else if(Ao(F,O))_[k]=F,_[A]=O,k=A;else break e}}return M}function o(_,M){var O=_.sortIndex-M.sortIndex;return O!==0?O:_.id-M.id}if(typeof performance=="object"&&typeof performance.now=="function"){var l=performance;e.unstable_now=function(){return l.now()}}else{var i=Date,s=i.now();e.unstable_now=function(){return i.now()-s}}var u=[],c=[],d=1,p=null,v=3,g=!1,h=!1,w=!1,T=typeof setTimeout=="function"?setTimeout:null,f=typeof clearTimeout=="function"?clearTimeout:null,a=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function m(_){for(var M=n(c);M!==null;){if(M.callback===null)r(c);else if(M.startTime<=_)r(c),M.sortIndex=M.expirationTime,t(u,M);else break;M=n(c)}}function y(_){if(w=!1,m(_),!h)if(n(u)!==null)h=!0,K(S);else{var M=n(c);M!==null&&X(y,M.startTime-_)}}function S(_,M){h=!1,w&&(w=!1,f(P),P=-1),g=!0;var O=v;try{for(m(M),p=n(u);p!==null&&(!(p.expirationTime>M)||_&&!z());){var k=p.callback;if(typeof k=="function"){p.callback=null,v=p.priorityLevel;var R=k(p.expirationTime<=M);M=e.unstable_now(),typeof R=="function"?p.callback=R:p===n(u)&&r(u),m(M)}else r(u);p=n(u)}if(p!==null)var L=!0;else{var j=n(c);j!==null&&X(y,j.startTime-M),L=!1}return L}finally{p=null,v=O,g=!1}}var E=!1,C=null,P=-1,D=5,x=-1;function z(){return!(e.unstable_now()-x_||125<_?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):D=0<_?Math.floor(1e3/_):5},e.unstable_getCurrentPriorityLevel=function(){return v},e.unstable_getFirstCallbackNode=function(){return n(u)},e.unstable_next=function(_){switch(v){case 1:case 2:case 3:var M=3;break;default:M=v}var O=v;v=M;try{return _()}finally{v=O}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(_,M){switch(_){case 1:case 2:case 3:case 4:case 5:break;default:_=3}var O=v;v=_;try{return M()}finally{v=O}},e.unstable_scheduleCallback=function(_,M,O){var k=e.unstable_now();switch(typeof O=="object"&&O!==null?(O=O.delay,O=typeof O=="number"&&0k?(_.sortIndex=O,t(c,_),n(u)===null&&_===n(c)&&(w?(f(P),P=-1):w=!0,X(y,O-k))):(_.sortIndex=R,t(u,_),h||g||(h=!0,K(S))),_},e.unstable_shouldYield=z,e.unstable_wrapCallback=function(_){var M=v;return function(){var O=v;v=M;try{return _.apply(this,arguments)}finally{v=O}}}})(Ga);Za.exports=Ga;var dm=Za.exports;/** - * @license React - * react-dom.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var Ja=oe,tt=dm;function N(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ki=Object.prototype.hasOwnProperty,pm=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,dc={},pc={};function mm(e){return Ki.call(pc,e)?!0:Ki.call(dc,e)?!1:pm.test(e)?pc[e]=!0:(dc[e]=!0,!1)}function vm(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function hm(e,t,n,r){if(t===null||typeof t>"u"||vm(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Ue(e,t,n,r,o,l,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=l,this.removeEmptyString=i}var Te={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Te[e]=new Ue(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Te[t]=new Ue(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Te[e]=new Ue(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Te[e]=new Ue(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Te[e]=new Ue(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Te[e]=new Ue(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Te[e]=new Ue(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Te[e]=new Ue(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Te[e]=new Ue(e,5,!1,e.toLowerCase(),null,!1,!1)});var ru=/[\-:]([a-z])/g;function ou(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(ru,ou);Te[t]=new Ue(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(ru,ou);Te[t]=new Ue(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(ru,ou);Te[t]=new Ue(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Te[e]=new Ue(e,1,!1,e.toLowerCase(),null,!1,!1)});Te.xlinkHref=new Ue("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Te[e]=new Ue(e,1,!1,e.toLowerCase(),null,!0,!0)});function lu(e,t,n,r){var o=Te.hasOwnProperty(t)?Te[t]:null;(o!==null?o.type!==0:r||!(2s||o[i]!==l[s]){var u=` -`+o[i].replace(" at new "," at ");return e.displayName&&u.includes("")&&(u=u.replace("",e.displayName)),u}while(1<=i&&0<=s);break}}}finally{yi=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Rr(e):""}function ym(e){switch(e.tag){case 5:return Rr(e.type);case 16:return Rr("Lazy");case 13:return Rr("Suspense");case 19:return Rr("SuspenseList");case 0:case 2:case 15:return e=gi(e.type,!1),e;case 11:return e=gi(e.type.render,!1),e;case 1:return e=gi(e.type,!0),e;default:return""}}function Gi(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case An:return"Fragment";case Fn:return"Portal";case Yi:return"Profiler";case iu:return"StrictMode";case Xi:return"Suspense";case Zi:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case ef:return(e.displayName||"Context")+".Consumer";case ba:return(e._context.displayName||"Context")+".Provider";case su:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case uu:return t=e.displayName||null,t!==null?t:Gi(e.type)||"Memo";case Xt:t=e._payload,e=e._init;try{return Gi(e(t))}catch{}}return null}function gm(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Gi(t);case 8:return t===iu?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function fn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function nf(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function wm(e){var t=nf(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,l=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(i){r=""+i,l.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Oo(e){e._valueTracker||(e._valueTracker=wm(e))}function rf(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=nf(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function ul(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Ji(e,t){var n=t.checked;return me({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function vc(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=fn(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function of(e,t){t=t.checked,t!=null&&lu(e,"checked",t,!1)}function qi(e,t){of(e,t);var n=fn(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?bi(e,t.type,n):t.hasOwnProperty("defaultValue")&&bi(e,t.type,fn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function hc(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function bi(e,t,n){(t!=="number"||ul(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var $r=Array.isArray;function qn(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=To.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Kr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Ir={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Sm=["Webkit","ms","Moz","O"];Object.keys(Ir).forEach(function(e){Sm.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Ir[t]=Ir[e]})});function cf(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Ir.hasOwnProperty(e)&&Ir[e]?(""+t).trim():t+"px"}function af(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=cf(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var km=me({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ns(e,t){if(t){if(km[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(N(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(N(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(N(61))}if(t.style!=null&&typeof t.style!="object")throw Error(N(62))}}function rs(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var os=null;function cu(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var ls=null,bn=null,er=null;function wc(e){if(e=vo(e)){if(typeof ls!="function")throw Error(N(280));var t=e.stateNode;t&&(t=Ql(t),ls(e.stateNode,e.type,t))}}function ff(e){bn?er?er.push(e):er=[e]:bn=e}function df(){if(bn){var e=bn,t=er;if(er=bn=null,wc(e),t)for(e=0;e>>=0,e===0?32:31-(Rm(e)/$m|0)|0}var Lo=64,Ro=4194304;function Mr(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function dl(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,l=e.pingedLanes,i=n&268435455;if(i!==0){var s=i&~o;s!==0?r=Mr(s):(l&=i,l!==0&&(r=Mr(l)))}else i=n&~o,i!==0?r=Mr(i):l!==0&&(r=Mr(l));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,l=t&-t,o>=l||o===16&&(l&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function po(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-yt(t),e[t]=n}function jm(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=Fr),zc=" ",Oc=!1;function Rf(e,t){switch(e){case"keyup":return fv.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function $f(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Un=!1;function pv(e,t){switch(e){case"compositionend":return $f(t);case"keypress":return t.which!==32?null:(Oc=!0,zc);case"textInput":return e=t.data,e===zc&&Oc?null:e;default:return null}}function mv(e,t){if(Un)return e==="compositionend"||!yu&&Rf(e,t)?(e=Tf(),Zo=mu=bt=null,Un=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=$c(n)}}function jf(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?jf(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Ff(){for(var e=window,t=ul();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=ul(e.document)}return t}function gu(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function xv(e){var t=Ff(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&jf(n.ownerDocument.documentElement,n)){if(r!==null&&gu(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,l=Math.min(r.start,o);r=r.end===void 0?l:Math.min(r.end,o),!e.extend&&l>r&&(o=r,r=l,l=o),o=Mc(n,l);var i=Mc(n,r);o&&i&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),l>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Hn=null,fs=null,Ur=null,ds=!1;function Dc(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;ds||Hn==null||Hn!==ul(r)||(r=Hn,"selectionStart"in r&&gu(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Ur&&qr(Ur,r)||(Ur=r,r=vl(fs,"onSelect"),0Wn||(e.current=gs[Wn],gs[Wn]=null,Wn--)}function le(e,t){Wn++,gs[Wn]=e.current,e.current=t}var dn={},De=mn(dn),We=mn(!1),On=dn;function sr(e,t){var n=e.type.contextTypes;if(!n)return dn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},l;for(l in n)o[l]=t[l];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Qe(e){return e=e.childContextTypes,e!=null}function yl(){se(We),se(De)}function Vc(e,t,n){if(De.current!==dn)throw Error(N(168));le(De,t),le(We,n)}function Yf(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(N(108,gm(e)||"Unknown",o));return me({},n,r)}function gl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||dn,On=De.current,le(De,e),le(We,We.current),!0}function Bc(e,t,n){var r=e.stateNode;if(!r)throw Error(N(169));n?(e=Yf(e,t,On),r.__reactInternalMemoizedMergedChildContext=e,se(We),se(De),le(De,e)):se(We),le(We,n)}var It=null,Kl=!1,Ri=!1;function Xf(e){It===null?It=[e]:It.push(e)}function Dv(e){Kl=!0,Xf(e)}function vn(){if(!Ri&&It!==null){Ri=!0;var e=0,t=ne;try{var n=It;for(ne=1;e>=i,o-=i,jt=1<<32-yt(t)+o|n<P?(D=C,C=null):D=C.sibling;var x=v(f,C,m[P],y);if(x===null){C===null&&(C=D);break}e&&C&&x.alternate===null&&t(f,C),a=l(x,a,P),E===null?S=x:E.sibling=x,E=x,C=D}if(P===m.length)return n(f,C),ae&&wn(f,P),S;if(C===null){for(;PP?(D=C,C=null):D=C.sibling;var z=v(f,C,x.value,y);if(z===null){C===null&&(C=D);break}e&&C&&z.alternate===null&&t(f,C),a=l(z,a,P),E===null?S=z:E.sibling=z,E=z,C=D}if(x.done)return n(f,C),ae&&wn(f,P),S;if(C===null){for(;!x.done;P++,x=m.next())x=p(f,x.value,y),x!==null&&(a=l(x,a,P),E===null?S=x:E.sibling=x,E=x);return ae&&wn(f,P),S}for(C=r(f,C);!x.done;P++,x=m.next())x=g(C,f,P,x.value,y),x!==null&&(e&&x.alternate!==null&&C.delete(x.key===null?P:x.key),a=l(x,a,P),E===null?S=x:E.sibling=x,E=x);return e&&C.forEach(function(U){return t(f,U)}),ae&&wn(f,P),S}function T(f,a,m,y){if(typeof m=="object"&&m!==null&&m.type===An&&m.key===null&&(m=m.props.children),typeof m=="object"&&m!==null){switch(m.$$typeof){case zo:e:{for(var S=m.key,E=a;E!==null;){if(E.key===S){if(S=m.type,S===An){if(E.tag===7){n(f,E.sibling),a=o(E,m.props.children),a.return=f,f=a;break e}}else if(E.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===Xt&&Gc(S)===E.type){n(f,E.sibling),a=o(E,m.props),a.ref=Or(f,E,m),a.return=f,f=a;break e}n(f,E);break}else t(f,E);E=E.sibling}m.type===An?(a=Pn(m.props.children,f.mode,y,m.key),a.return=f,f=a):(y=rl(m.type,m.key,m.props,null,f.mode,y),y.ref=Or(f,a,m),y.return=f,f=y)}return i(f);case Fn:e:{for(E=m.key;a!==null;){if(a.key===E)if(a.tag===4&&a.stateNode.containerInfo===m.containerInfo&&a.stateNode.implementation===m.implementation){n(f,a.sibling),a=o(a,m.children||[]),a.return=f,f=a;break e}else{n(f,a);break}else t(f,a);a=a.sibling}a=Ui(m,f.mode,y),a.return=f,f=a}return i(f);case Xt:return E=m._init,T(f,a,E(m._payload),y)}if($r(m))return h(f,a,m,y);if(Cr(m))return w(f,a,m,y);Ao(f,m)}return typeof m=="string"&&m!==""||typeof m=="number"?(m=""+m,a!==null&&a.tag===6?(n(f,a.sibling),a=o(a,m),a.return=f,f=a):(n(f,a),a=Ai(m,f.mode,y),a.return=f,f=a),i(f)):n(f,a)}return T}var cr=nd(!0),rd=nd(!1),ho={},zt=mn(ho),no=mn(ho),ro=mn(ho);function xn(e){if(e===ho)throw Error(N(174));return e}function Nu(e,t){switch(le(ro,t),le(no,e),le(zt,ho),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ts(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=ts(t,e)}se(zt),le(zt,t)}function ar(){se(zt),se(no),se(ro)}function od(e){xn(ro.current);var t=xn(zt.current),n=ts(t,e.type);t!==n&&(le(no,e),le(zt,n))}function zu(e){no.current===e&&(se(zt),se(no))}var de=mn(0);function Cl(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var $i=[];function Ou(){for(var e=0;e<$i.length;e++)$i[e]._workInProgressVersionPrimary=null;$i.length=0}var qo=Qt.ReactCurrentDispatcher,Mi=Qt.ReactCurrentBatchConfig,Ln=0,pe=null,we=null,Ce=null,_l=!1,Hr=!1,oo=0,jv=0;function Re(){throw Error(N(321))}function Tu(e,t){if(t===null)return!1;for(var n=0;nn?n:4,e(!0);var r=Mi.transition;Mi.transition={};try{e(!1),t()}finally{ne=n,Mi.transition=r}}function Sd(){return at().memoizedState}function Av(e,t,n){var r=un(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},kd(e))Ed(t,n);else if(n=qf(e,t,n,r),n!==null){var o=Fe();gt(n,e,r,o),xd(n,t,r)}}function Uv(e,t,n){var r=un(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(kd(e))Ed(t,o);else{var l=e.alternate;if(e.lanes===0&&(l===null||l.lanes===0)&&(l=t.lastRenderedReducer,l!==null))try{var i=t.lastRenderedState,s=l(i,n);if(o.hasEagerState=!0,o.eagerState=s,wt(s,i)){var u=t.interleaved;u===null?(o.next=o,_u(t)):(o.next=u.next,u.next=o),t.interleaved=o;return}}catch{}finally{}n=qf(e,t,o,r),n!==null&&(o=Fe(),gt(n,e,r,o),xd(n,t,r))}}function kd(e){var t=e.alternate;return e===pe||t!==null&&t===pe}function Ed(e,t){Hr=_l=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function xd(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,fu(e,n)}}var Pl={readContext:ct,useCallback:Re,useContext:Re,useEffect:Re,useImperativeHandle:Re,useInsertionEffect:Re,useLayoutEffect:Re,useMemo:Re,useReducer:Re,useRef:Re,useState:Re,useDebugValue:Re,useDeferredValue:Re,useTransition:Re,useMutableSource:Re,useSyncExternalStore:Re,useId:Re,unstable_isNewReconciler:!1},Hv={readContext:ct,useCallback:function(e,t){return xt().memoizedState=[e,t===void 0?null:t],e},useContext:ct,useEffect:qc,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,bo(4194308,4,vd.bind(null,t,e),n)},useLayoutEffect:function(e,t){return bo(4194308,4,e,t)},useInsertionEffect:function(e,t){return bo(4,2,e,t)},useMemo:function(e,t){var n=xt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=xt();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Av.bind(null,pe,e),[r.memoizedState,e]},useRef:function(e){var t=xt();return e={current:e},t.memoizedState=e},useState:Jc,useDebugValue:Mu,useDeferredValue:function(e){return xt().memoizedState=e},useTransition:function(){var e=Jc(!1),t=e[0];return e=Fv.bind(null,e[1]),xt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=pe,o=xt();if(ae){if(n===void 0)throw Error(N(407));n=n()}else{if(n=t(),_e===null)throw Error(N(349));Ln&30||sd(r,t,n)}o.memoizedState=n;var l={value:n,getSnapshot:t};return o.queue=l,qc(cd.bind(null,r,l,e),[e]),r.flags|=2048,io(9,ud.bind(null,r,l,n,t),void 0,null),n},useId:function(){var e=xt(),t=_e.identifierPrefix;if(ae){var n=Ft,r=jt;n=(r&~(1<<32-yt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=oo++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),n==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[Ct]=t,e[to]=r,Rd(e,t,!1,!1),t.stateNode=e;e:{switch(i=rs(n,r),n){case"dialog":ie("cancel",e),ie("close",e),o=r;break;case"iframe":case"object":case"embed":ie("load",e),o=r;break;case"video":case"audio":for(o=0;odr&&(t.flags|=128,r=!0,Tr(l,!1),t.lanes=4194304)}else{if(!r)if(e=Cl(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Tr(l,!0),l.tail===null&&l.tailMode==="hidden"&&!i.alternate&&!ae)return $e(t),null}else 2*ye()-l.renderingStartTime>dr&&n!==1073741824&&(t.flags|=128,r=!0,Tr(l,!1),t.lanes=4194304);l.isBackwards?(i.sibling=t.child,t.child=i):(n=l.last,n!==null?n.sibling=i:t.child=i,l.last=i)}return l.tail!==null?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=ye(),t.sibling=null,n=de.current,le(de,r?n&1|2:n&1),t):($e(t),null);case 22:case 23:return Uu(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Xe&1073741824&&($e(t),t.subtreeFlags&6&&(t.flags|=8192)):$e(t),null;case 24:return null;case 25:return null}throw Error(N(156,t.tag))}function Zv(e,t){switch(Su(t),t.tag){case 1:return Qe(t.type)&&yl(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ar(),se(We),se(De),Ou(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return zu(t),null;case 13:if(se(de),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(N(340));ur()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return se(de),null;case 4:return ar(),null;case 10:return Cu(t.type._context),null;case 22:case 23:return Uu(),null;case 24:return null;default:return null}}var Ho=!1,Me=!1,Gv=typeof WeakSet=="function"?WeakSet:Set,I=null;function Xn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ve(e,t,r)}else n.current=null}function Ts(e,t,n){try{n()}catch(r){ve(e,t,r)}}var sa=!1;function Jv(e,t){if(ps=pl,e=Ff(),gu(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,l=r.focusNode;r=r.focusOffset;try{n.nodeType,l.nodeType}catch{n=null;break e}var i=0,s=-1,u=-1,c=0,d=0,p=e,v=null;t:for(;;){for(var g;p!==n||o!==0&&p.nodeType!==3||(s=i+o),p!==l||r!==0&&p.nodeType!==3||(u=i+r),p.nodeType===3&&(i+=p.nodeValue.length),(g=p.firstChild)!==null;)v=p,p=g;for(;;){if(p===e)break t;if(v===n&&++c===o&&(s=i),v===l&&++d===r&&(u=i),(g=p.nextSibling)!==null)break;p=v,v=p.parentNode}p=g}n=s===-1||u===-1?null:{start:s,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(ms={focusedElem:e,selectionRange:n},pl=!1,I=t;I!==null;)if(t=I,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,I=e;else for(;I!==null;){t=I;try{var h=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(h!==null){var w=h.memoizedProps,T=h.memoizedState,f=t.stateNode,a=f.getSnapshotBeforeUpdate(t.elementType===t.type?w:mt(t.type,w),T);f.__reactInternalSnapshotBeforeUpdate=a}break;case 3:var m=t.stateNode.containerInfo;m.nodeType===1?m.textContent="":m.nodeType===9&&m.documentElement&&m.removeChild(m.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(N(163))}}catch(y){ve(t,t.return,y)}if(e=t.sibling,e!==null){e.return=t.return,I=e;break}I=t.return}return h=sa,sa=!1,h}function Vr(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var l=o.destroy;o.destroy=void 0,l!==void 0&&Ts(t,n,l)}o=o.next}while(o!==r)}}function Zl(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Ls(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function Dd(e){var t=e.alternate;t!==null&&(e.alternate=null,Dd(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Ct],delete t[to],delete t[ys],delete t[$v],delete t[Mv])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Id(e){return e.tag===5||e.tag===3||e.tag===4}function ua(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Id(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Rs(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=hl));else if(r!==4&&(e=e.child,e!==null))for(Rs(e,t,n),e=e.sibling;e!==null;)Rs(e,t,n),e=e.sibling}function $s(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for($s(e,t,n),e=e.sibling;e!==null;)$s(e,t,n),e=e.sibling}var ze=null,vt=!1;function Yt(e,t,n){for(n=n.child;n!==null;)jd(e,t,n),n=n.sibling}function jd(e,t,n){if(Nt&&typeof Nt.onCommitFiberUnmount=="function")try{Nt.onCommitFiberUnmount(Hl,n)}catch{}switch(n.tag){case 5:Me||Xn(n,t);case 6:var r=ze,o=vt;ze=null,Yt(e,t,n),ze=r,vt=o,ze!==null&&(vt?(e=ze,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ze.removeChild(n.stateNode));break;case 18:ze!==null&&(vt?(e=ze,n=n.stateNode,e.nodeType===8?Li(e.parentNode,n):e.nodeType===1&&Li(e,n),Gr(e)):Li(ze,n.stateNode));break;case 4:r=ze,o=vt,ze=n.stateNode.containerInfo,vt=!0,Yt(e,t,n),ze=r,vt=o;break;case 0:case 11:case 14:case 15:if(!Me&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var l=o,i=l.destroy;l=l.tag,i!==void 0&&(l&2||l&4)&&Ts(n,t,i),o=o.next}while(o!==r)}Yt(e,t,n);break;case 1:if(!Me&&(Xn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){ve(n,t,s)}Yt(e,t,n);break;case 21:Yt(e,t,n);break;case 22:n.mode&1?(Me=(r=Me)||n.memoizedState!==null,Yt(e,t,n),Me=r):Yt(e,t,n);break;default:Yt(e,t,n)}}function ca(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Gv),t.forEach(function(r){var o=ih.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function pt(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=i),r&=~l}if(r=o,r=ye()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*bv(r/1960))-r,10e?16:e,en===null)var r=!1;else{if(e=en,en=null,Ol=0,J&6)throw Error(N(331));var o=J;for(J|=4,I=e.current;I!==null;){var l=I,i=l.child;if(I.flags&16){var s=l.deletions;if(s!==null){for(var u=0;uye()-Fu?_n(e,0):ju|=n),Ke(e,t)}function Qd(e,t){t===0&&(e.mode&1?(t=Ro,Ro<<=1,!(Ro&130023424)&&(Ro=4194304)):t=1);var n=Fe();e=Vt(e,t),e!==null&&(po(e,t,n),Ke(e,n))}function lh(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Qd(e,n)}function ih(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(N(314))}r!==null&&r.delete(t),Qd(e,n)}var Kd;Kd=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||We.current)Ve=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Ve=!1,Yv(e,t,n);Ve=!!(e.flags&131072)}else Ve=!1,ae&&t.flags&1048576&&Zf(t,Sl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;el(e,t),e=t.pendingProps;var o=sr(t,De.current);nr(t,n),o=Lu(null,t,r,e,o,n);var l=Ru();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Qe(r)?(l=!0,gl(t)):l=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Pu(t),o.updater=Yl,t.stateNode=o,o._reactInternals=t,xs(t,r,e,n),t=Ps(null,t,r,!0,l,n)):(t.tag=0,ae&&l&&wu(t),je(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(el(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=uh(r),e=mt(r,e),o){case 0:t=_s(null,t,r,e,n);break e;case 1:t=oa(null,t,r,e,n);break e;case 11:t=na(null,t,r,e,n);break e;case 14:t=ra(null,t,r,mt(r.type,e),n);break e}throw Error(N(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:mt(r,o),_s(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:mt(r,o),oa(e,t,r,o,n);case 3:e:{if(Od(t),e===null)throw Error(N(387));r=t.pendingProps,l=t.memoizedState,o=l.element,bf(e,t),xl(t,r,null,n);var i=t.memoizedState;if(r=i.element,l.isDehydrated)if(l={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=l,t.memoizedState=l,t.flags&256){o=fr(Error(N(423)),t),t=la(e,t,r,n,o);break e}else if(r!==o){o=fr(Error(N(424)),t),t=la(e,t,r,n,o);break e}else for(qe=on(t.stateNode.containerInfo.firstChild),be=t,ae=!0,ht=null,n=rd(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(ur(),r===o){t=Bt(e,t,n);break e}je(e,t,r,n)}t=t.child}return t;case 5:return od(t),e===null&&Ss(t),r=t.type,o=t.pendingProps,l=e!==null?e.memoizedProps:null,i=o.children,vs(r,o)?i=null:l!==null&&vs(r,l)&&(t.flags|=32),zd(e,t),je(e,t,i,n),t.child;case 6:return e===null&&Ss(t),null;case 13:return Td(e,t,n);case 4:return Nu(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=cr(t,null,r,n):je(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:mt(r,o),na(e,t,r,o,n);case 7:return je(e,t,t.pendingProps,n),t.child;case 8:return je(e,t,t.pendingProps.children,n),t.child;case 12:return je(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,l=t.memoizedProps,i=o.value,le(kl,r._currentValue),r._currentValue=i,l!==null)if(wt(l.value,i)){if(l.children===o.children&&!We.current){t=Bt(e,t,n);break e}}else for(l=t.child,l!==null&&(l.return=t);l!==null;){var s=l.dependencies;if(s!==null){i=l.child;for(var u=s.firstContext;u!==null;){if(u.context===r){if(l.tag===1){u=At(-1,n&-n),u.tag=2;var c=l.updateQueue;if(c!==null){c=c.shared;var d=c.pending;d===null?u.next=u:(u.next=d.next,d.next=u),c.pending=u}}l.lanes|=n,u=l.alternate,u!==null&&(u.lanes|=n),ks(l.return,n,t),s.lanes|=n;break}u=u.next}}else if(l.tag===10)i=l.type===t.type?null:l.child;else if(l.tag===18){if(i=l.return,i===null)throw Error(N(341));i.lanes|=n,s=i.alternate,s!==null&&(s.lanes|=n),ks(i,n,t),i=l.sibling}else i=l.child;if(i!==null)i.return=l;else for(i=l;i!==null;){if(i===t){i=null;break}if(l=i.sibling,l!==null){l.return=i.return,i=l;break}i=i.return}l=i}je(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,nr(t,n),o=ct(o),r=r(o),t.flags|=1,je(e,t,r,n),t.child;case 14:return r=t.type,o=mt(r,t.pendingProps),o=mt(r.type,o),ra(e,t,r,o,n);case 15:return Pd(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:mt(r,o),el(e,t),t.tag=1,Qe(r)?(e=!0,gl(t)):e=!1,nr(t,n),td(t,r,o),xs(t,r,o,n),Ps(null,t,r,!0,e,n);case 19:return Ld(e,t,n);case 22:return Nd(e,t,n)}throw Error(N(156,t.tag))};function Yd(e,t){return wf(e,t)}function sh(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function st(e,t,n,r){return new sh(e,t,n,r)}function Vu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function uh(e){if(typeof e=="function")return Vu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===su)return 11;if(e===uu)return 14}return 2}function cn(e,t){var n=e.alternate;return n===null?(n=st(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function rl(e,t,n,r,o,l){var i=2;if(r=e,typeof e=="function")Vu(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case An:return Pn(n.children,o,l,t);case iu:i=8,o|=8;break;case Yi:return e=st(12,n,t,o|2),e.elementType=Yi,e.lanes=l,e;case Xi:return e=st(13,n,t,o),e.elementType=Xi,e.lanes=l,e;case Zi:return e=st(19,n,t,o),e.elementType=Zi,e.lanes=l,e;case tf:return Jl(n,o,l,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case ba:i=10;break e;case ef:i=9;break e;case su:i=11;break e;case uu:i=14;break e;case Xt:i=16,r=null;break e}throw Error(N(130,e==null?e:typeof e,""))}return t=st(i,n,t,o),t.elementType=e,t.type=r,t.lanes=l,t}function Pn(e,t,n,r){return e=st(7,e,r,t),e.lanes=n,e}function Jl(e,t,n,r){return e=st(22,e,r,t),e.elementType=tf,e.lanes=n,e.stateNode={isHidden:!1},e}function Ai(e,t,n){return e=st(6,e,null,t),e.lanes=n,e}function Ui(e,t,n){return t=st(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function ch(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Si(0),this.expirationTimes=Si(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Si(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Bu(e,t,n,r,o,l,i,s,u){return e=new ch(e,t,n,s,u),t===1?(t=1,l===!0&&(t|=8)):t=0,l=st(3,null,null,t),e.current=l,l.stateNode=e,l.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Pu(l),e}function ah(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Jd)}catch(e){console.error(e)}}Jd(),Xa.exports=nt;var vh=Xa.exports,ya=vh;Qi.createRoot=ya.createRoot,Qi.hydrateRoot=ya.hydrateRoot;/*! - * OverlayScrollbars - * Version: 2.9.1 - * - * Copyright (c) Rene Haas | KingSora. - * https://github.com/KingSora - * - * Released under the MIT license. - */const Ze=(e,t)=>{const{o:n,i:r,u:o}=e;let l=n,i;const s=(d,p)=>{const v=l,g=d,h=p||(r?!r(v,g):v!==g);return(h||o)&&(l=g,i=v),[l,h,i]};return[t?d=>s(t(l,i),d):s,d=>[l,!!d,i]]},hh=typeof window<"u"&&typeof HTMLElement<"u"&&!!window.document,Be=hh?window:{},qd=Math.max,yh=Math.min,Fs=Math.round,Rl=Math.abs,ga=Math.sign,bd=Be.cancelAnimationFrame,Yu=Be.requestAnimationFrame,$l=Be.setTimeout,As=Be.clearTimeout,ni=e=>typeof Be[e]<"u"?Be[e]:void 0,gh=ni("MutationObserver"),wa=ni("IntersectionObserver"),Ml=ni("ResizeObserver"),ol=ni("ScrollTimeline"),Xu=e=>e===void 0,ri=e=>e===null,Ot=e=>typeof e=="number",yo=e=>typeof e=="string",Zu=e=>typeof e=="boolean",ft=e=>typeof e=="function",Tt=e=>Array.isArray(e),Dl=e=>typeof e=="object"&&!Tt(e)&&!ri(e),Gu=e=>{const t=!!e&&e.length,n=Ot(t)&&t>-1&&t%1==0;return Tt(e)||!ft(e)&&n?t>0&&Dl(e)?t-1 in e:!0:!1},Il=e=>!!e&&e.constructor===Object,jl=e=>e instanceof HTMLElement,oi=e=>e instanceof Element;function re(e,t){if(Gu(e))for(let n=0;nt(e[n],n,e));return e}const ep=(e,t)=>e.indexOf(t)>=0,uo=(e,t)=>e.concat(t),he=(e,t,n)=>(!yo(t)&&Gu(t)?Array.prototype.push.apply(e,t):e.push(t),e),hn=e=>Array.from(e||[]),Ju=e=>Tt(e)?e:!yo(e)&&Gu(e)?hn(e):[e],Us=e=>!!e&&!e.length,Hs=e=>hn(new Set(e)),et=(e,t,n)=>{re(e,o=>o&&o.apply(void 0,t||[])),!n&&(e.length=0)},tp="paddingTop",np="paddingRight",rp="paddingLeft",op="paddingBottom",lp="marginLeft",ip="marginRight",sp="marginBottom",up="overflowX",cp="overflowY",li="width",ii="height",qt="visible",Cn="hidden",pr="scroll",wh=e=>{const t=String(e||"");return t?t[0].toUpperCase()+t.slice(1):""},si=(e,t,n,r)=>{if(e&&t){let o=!0;return re(n,l=>{const i=e[l],s=t[l];i!==s&&(o=!1)}),o}return!1},ap=(e,t)=>si(e,t,["w","h"]),ll=(e,t)=>si(e,t,["x","y"]),Sh=(e,t)=>si(e,t,["t","r","b","l"]),Nn=()=>{},V=(e,...t)=>e.bind(0,...t),Gn=e=>{let t;const n=e?$l:Yu,r=e?As:bd;return[o=>{r(t),t=n(()=>o(),ft(e)?e():e)},()=>r(t)]},Vs=(e,t)=>{const{_:n,p:r,v:o,S:l}=t||{};let i,s,u,c,d=Nn;const p=function(T){d(),As(i),c=i=s=void 0,d=Nn,e.apply(this,T)},v=w=>l&&s?l(s,w):w,g=()=>{d!==Nn&&p(v(u)||u)},h=function(){const T=hn(arguments),f=ft(n)?n():n;if(Ot(f)&&f>=0){const m=ft(r)?r():r,y=Ot(m)&&m>=0,S=f>0?$l:Yu,E=f>0?As:bd,P=v(T)||T,D=p.bind(0,P);let x;d(),o&&!c?(D(),c=!0,x=S(()=>c=void 0,f)):(x=S(D,f),y&&!i&&(i=$l(g,m))),d=()=>E(x),s=u=P}else p(T)};return h.m=g,h},fp=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),Lt=e=>e?Object.keys(e):[],q=(e,t,n,r,o,l,i)=>{const s=[t,n,r,o,l,i];return(typeof e!="object"||ri(e))&&!ft(e)&&(e={}),re(s,u=>{re(u,(c,d)=>{const p=u[d];if(e===p)return!0;const v=Tt(p);if(p&&Il(p)){const g=e[d];let h=g;v&&!Tt(g)?h=[]:!v&&!Il(g)&&(h={}),e[d]=q(h,p)}else e[d]=v?p.slice():p})}),e},dp=(e,t)=>re(q({},e),(n,r,o)=>{n===void 0?delete o[r]:n&&Il(n)&&(o[r]=dp(n))}),qu=e=>!Lt(e).length,pp=(e,t,n)=>qd(e,yh(t,n)),zn=e=>Hs((Tt(e)?e:(e||"").split(" ")).filter(t=>t)),bu=(e,t)=>e&&e.getAttribute(t),Sa=(e,t)=>e&&e.hasAttribute(t),Mt=(e,t,n)=>{re(zn(t),r=>{e&&e.setAttribute(r,String(n||""))})},Et=(e,t)=>{re(zn(t),n=>e&&e.removeAttribute(n))},ui=(e,t)=>{const n=zn(bu(e,t)),r=V(Mt,e,t),o=(l,i)=>{const s=new Set(n);return re(zn(l),u=>{s[i](u)}),hn(s).join(" ")};return{O:l=>r(o(l,"delete")),$:l=>r(o(l,"add")),C:l=>{const i=zn(l);return i.reduce((s,u)=>s&&n.includes(u),i.length>0)}}},mp=(e,t,n)=>(ui(e,t).O(n),V(ec,e,t,n)),ec=(e,t,n)=>(ui(e,t).$(n),V(mp,e,t,n)),Fl=(e,t,n,r)=>(r?ec:mp)(e,t,n),tc=(e,t,n)=>ui(e,t).C(n),vp=e=>ui(e,"class"),hp=(e,t)=>{vp(e).O(t)},nc=(e,t)=>(vp(e).$(t),V(hp,e,t)),yp=(e,t)=>{const n=t?oi(t)&&t:document;return n?hn(n.querySelectorAll(e)):[]},kh=(e,t)=>{const n=t?oi(t)&&t:document;return n&&n.querySelector(e)},Bs=(e,t)=>oi(e)&&e.matches(t),gp=e=>Bs(e,"body"),Ws=e=>e?hn(e.childNodes):[],co=e=>e&&e.parentElement,Jn=(e,t)=>oi(e)&&e.closest(t),Qs=e=>document.activeElement,Eh=(e,t,n)=>{const r=Jn(e,t),o=e&&kh(n,r),l=Jn(o,t)===r;return r&&o?r===e||o===e||l&&Jn(Jn(e,n),t)!==r:!1},mr=e=>{re(Ju(e),t=>{const n=co(t);t&&n&&n.removeChild(t)})},Ge=(e,t)=>V(mr,e&&t&&re(Ju(t),n=>{n&&e.appendChild(n)})),or=e=>{const t=document.createElement("div");return Mt(t,"class",e),t},wp=e=>{const t=or();return t.innerHTML=e.trim(),re(Ws(t),n=>mr(n))},ka=(e,t)=>e.getPropertyValue(t)||e[t]||"",Sp=e=>{const t=e||0;return isFinite(t)?t:0},Wo=e=>Sp(parseFloat(e||"")),Ks=e=>Math.round(e*1e4)/1e4,kp=e=>`${Ks(Sp(e))}px`;function ao(e,t){e&&t&&re(t,(n,r)=>{try{const o=e.style,l=ri(n)||Zu(n)?"":Ot(n)?kp(n):n;r.indexOf("--")===0?o.setProperty(r,l):o[r]=l}catch{}})}function Wt(e,t,n){const r=yo(t);let o=r?"":{};if(e){const l=Be.getComputedStyle(e,n)||e.style;o=r?ka(l,t):hn(t).reduce((i,s)=>(i[s]=ka(l,s),i),o)}return o}const Ea=(e,t,n)=>{const r=t?`${t}-`:"",o=n?`-${n}`:"",l=`${r}top${o}`,i=`${r}right${o}`,s=`${r}bottom${o}`,u=`${r}left${o}`,c=Wt(e,[l,i,s,u]);return{t:Wo(c[l]),r:Wo(c[i]),b:Wo(c[s]),l:Wo(c[u])}},xh=(e,t)=>`translate${Dl(e)?`(${e.x},${e.y})`:`Y(${e})`}`,Ch=e=>!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length),_h={w:0,h:0},ci=(e,t)=>t?{w:t[`${e}Width`],h:t[`${e}Height`]}:_h,Ph=e=>ci("inner",e||Be),lr=V(ci,"offset"),Ep=V(ci,"client"),Al=V(ci,"scroll"),rc=e=>{const t=parseFloat(Wt(e,li))||0,n=parseFloat(Wt(e,ii))||0;return{w:t-Fs(t),h:n-Fs(n)}},Hi=e=>e.getBoundingClientRect(),Nh=e=>!!e&&Ch(e),Ys=e=>!!(e&&(e[ii]||e[li])),xp=(e,t)=>{const n=Ys(e);return!Ys(t)&&n},xa=(e,t,n,r)=>{re(zn(t),o=>{e&&e.removeEventListener(o,n,r)})},ce=(e,t,n,r)=>{var o;const l=(o=r&&r.H)!=null?o:!0,i=r&&r.I||!1,s=r&&r.A||!1,u={passive:l,capture:i};return V(et,zn(t).map(c=>{const d=s?p=>{xa(e,c,d,i),n&&n(p)}:n;return e&&e.addEventListener(c,d,u),V(xa,e,c,d,i)}))},Cp=e=>e.stopPropagation(),Xs=e=>e.preventDefault(),_p=e=>Cp(e)||Xs(e),_t=(e,t)=>{const{x:n,y:r}=Ot(t)?{x:t,y:t}:t||{};Ot(n)&&(e.scrollLeft=n),Ot(r)&&(e.scrollTop=r)},Je=e=>({x:e.scrollLeft,y:e.scrollTop}),Pp=()=>({D:{x:0,y:0},T:{x:0,y:0}}),zh=(e,t)=>{const{D:n,T:r}=e,{w:o,h:l}=t,i=(p,v,g)=>{let h=ga(p)*g,w=ga(v)*g;if(h===w){const T=Rl(p),f=Rl(v);w=T>f?0:w,h=T{const n=(r,o)=>r===0&&r<=o;return{x:n(e.x,t.x),y:n(e.y,t.y)}},_a=({D:e,T:t},n)=>{const r=(o,l,i)=>pp(0,1,(o-i)/(o-l)||0);return{x:r(e.x,t.x,n.x),y:r(e.y,t.y,n.y)}},Zs=e=>{e&&e.focus&&e.focus({preventScroll:!0})},Pa=(e,t)=>{re(Ju(t),e)},Gs=e=>{const t=new Map,n=(l,i)=>{if(l){const s=t.get(l);Pa(u=>{s&&s[u?"delete":"clear"](u)},i)}else t.forEach(s=>{s.clear()}),t.clear()},r=(l,i)=>{if(yo(l)){const c=t.get(l)||new Set;return t.set(l,c),Pa(d=>{ft(d)&&c.add(d)},i),V(n,l,i)}Zu(i)&&i&&n();const s=Lt(l),u=[];return re(s,c=>{const d=l[c];d&&he(u,r(c,d))}),V(et,u)},o=(l,i)=>{re(hn(t.get(l)),s=>{i&&!Us(i)?s.apply(0,i):s()})};return r(e||{}),[r,n,o]},Na=e=>JSON.stringify(e,(t,n)=>{if(ft(n))throw 0;return n}),za=(e,t)=>e?`${t}`.split(".").reduce((n,r)=>n&&fp(n,r)?n[r]:void 0,e):void 0,Oh={paddingAbsolute:!1,showNativeOverlaidScrollbars:!1,update:{elementEvents:[["img","load"]],debounce:[0,33],attributes:null,ignoreMutation:null},overflow:{x:"scroll",y:"scroll"},scrollbars:{theme:"os-theme-dark",visibility:"auto",autoHide:"never",autoHideDelay:1300,autoHideSuspend:!1,dragScroll:!0,clickScroll:!1,pointers:["mouse","touch","pen"]}},Np=(e,t)=>{const n={},r=uo(Lt(t),Lt(e));return re(r,o=>{const l=e[o],i=t[o];if(Dl(l)&&Dl(i))q(n[o]={},Np(l,i)),qu(n[o])&&delete n[o];else if(fp(t,o)&&i!==l){let s=!0;if(Tt(l)||Tt(i))try{Na(l)===Na(i)&&(s=!1)}catch{}s&&(n[o]=i)}}),n},Oa=(e,t,n)=>r=>[za(e,r),n||za(t,r)!==void 0],wr="data-overlayscrollbars",il="os-environment",Qo=`${il}-scrollbar-hidden`,Vi=`${wr}-initialize`,sl="noClipping",Ta=`${wr}-body`,an=wr,Th="host",Dt=`${wr}-viewport`,Lh=up,Rh=cp,$h="arrange",zp="measuring",Mh="scrolling",Op="scrollbarHidden",Dh="noContent",Js=`${wr}-padding`,La=`${wr}-content`,oc="os-size-observer",Ih=`${oc}-appear`,jh=`${oc}-listener`,Fh="os-trinsic-observer",Ah="os-theme-none",ot="os-scrollbar",Uh=`${ot}-rtl`,Hh=`${ot}-horizontal`,Vh=`${ot}-vertical`,Tp=`${ot}-track`,lc=`${ot}-handle`,Bh=`${ot}-visible`,Wh=`${ot}-cornerless`,Ra=`${ot}-interaction`,$a=`${ot}-unusable`,qs=`${ot}-auto-hide`,Ma=`${qs}-hidden`,Da=`${ot}-wheel`,Qh=`${Tp}-interactive`,Kh=`${lc}-interactive`;let Lp;const Yh=()=>Lp,Xh=e=>{Lp=e};let Bi;const Zh=()=>{const e=(y,S,E)=>{Ge(document.body,y),Ge(document.body,y);const C=Ep(y),P=lr(y),D=rc(S);return E&&mr(y),{x:P.h-C.h+D.h,y:P.w-C.w+D.w}},t=y=>{let S=!1;const E=nc(y,Qo);try{S=Wt(y,"scrollbar-width")==="none"||Wt(y,"display","::-webkit-scrollbar")==="none"}catch{}return E(),S},n=`.${il}{scroll-behavior:auto!important;position:fixed;opacity:0;visibility:hidden;overflow:scroll;height:200px;width:200px;z-index:-1}.${il} div{width:200%;height:200%;margin:10px 0}.${Qo}{scrollbar-width:none!important}.${Qo}::-webkit-scrollbar,.${Qo}::-webkit-scrollbar-corner{appearance:none!important;display:none!important;width:0!important;height:0!important}`,o=wp(`
`)[0],l=o.firstChild,i=o.lastChild,s=Yh();s&&(i.nonce=s);const[u,,c]=Gs(),[d,p]=Ze({o:e(o,l),i:ll},V(e,o,l,!0)),[v]=p(),g=t(o),h={x:v.x===0,y:v.y===0},w={elements:{host:null,padding:!g,viewport:y=>g&&gp(y)&&y,content:!1},scrollbars:{slot:!0},cancel:{nativeScrollbarsOverlaid:!1,body:null}},T=q({},Oh),f=V(q,{},T),a=V(q,{},w),m={k:v,M:h,R:g,V:!!ol,L:V(u,"r"),U:a,P:y=>q(w,y)&&a(),N:f,q:y=>q(T,y)&&f(),B:q({},w),F:q({},T)};if(Et(o,"style"),mr(o),ce(Be,"resize",()=>{c("r",[])}),ft(Be.matchMedia)&&!g&&(!h.x||!h.y)){const y=S=>{const E=Be.matchMedia(`(resolution: ${Be.devicePixelRatio}dppx)`);ce(E,"change",()=>{S(),y(S)},{A:!0})};y(()=>{const[S,E]=d();q(m.k,S),c("r",[E])})}return m},Rt=()=>(Bi||(Bi=Zh()),Bi),Rp=(e,t)=>ft(t)?t.apply(0,e):t,Gh=(e,t,n,r)=>{const o=Xu(r)?n:r;return Rp(e,o)||t.apply(0,e)},$p=(e,t,n,r)=>{const o=Xu(r)?n:r,l=Rp(e,o);return!!l&&(jl(l)?l:t.apply(0,e))},Jh=(e,t)=>{const{nativeScrollbarsOverlaid:n,body:r}=t||{},{M:o,R:l,U:i}=Rt(),{nativeScrollbarsOverlaid:s,body:u}=i().cancel,c=n??s,d=Xu(r)?u:r,p=(o.x||o.y)&&c,v=e&&(ri(d)?!l:d);return!!p||!!v},ic=new WeakMap,qh=(e,t)=>{ic.set(e,t)},bh=e=>{ic.delete(e)},Mp=e=>ic.get(e),e0=(e,t,n)=>{let r=!1;const o=n?new WeakMap:!1,l=()=>{r=!0},i=s=>{if(o&&n){const u=n.map(c=>{const[d,p]=c||[];return[p&&d?(s||yp)(d,e):[],p]});re(u,c=>re(c[0],d=>{const p=c[1],v=o.get(d)||[];if(e.contains(d)&&p){const h=ce(d,p,w=>{r?(h(),o.delete(d)):t(w)});o.set(d,he(v,h))}else et(v),o.delete(d)}))}};return i(),[l,i]},Ia=(e,t,n,r)=>{let o=!1;const{j:l,X:i,Y:s,W:u,J:c,G:d}=r||{},p=Vs(()=>o&&n(!0),{_:33,p:99}),[v,g]=e0(e,p,s),h=l||[],w=i||[],T=uo(h,w),f=(m,y)=>{if(!Us(y)){const S=c||Nn,E=d||Nn,C=[],P=[];let D=!1,x=!1;if(re(y,z=>{const{attributeName:U,target:B,type:Q,oldValue:G,addedNodes:K,removedNodes:X}=z,_=Q==="attributes",M=Q==="childList",O=e===B,k=_&&U,R=k&&bu(B,U||""),L=yo(R)?R:null,j=k&&G!==L,$=ep(w,U)&&j;if(t&&(M||!O)){const A=_&&j,F=A&&u&&Bs(B,u),Z=(F?!S(B,U,G,L):!_||A)&&!E(z,!!F,e,r);re(K,ue=>he(C,ue)),re(X,ue=>he(C,ue)),x=x||Z}!t&&O&&j&&!S(B,U,G,L)&&(he(P,U),D=D||$)}),g(z=>Hs(C).reduce((U,B)=>(he(U,yp(z,B)),Bs(B,z)?he(U,B):U),[])),t)return!m&&x&&n(!1),[!1];if(!Us(P)||D){const z=[Hs(P),D];return!m&&n.apply(0,z),z}}},a=new gh(V(f,!1));return[()=>(a.observe(e,{attributes:!0,attributeOldValue:!0,attributeFilter:T,subtree:t,childList:t,characterData:t}),o=!0,()=>{o&&(v(),a.disconnect(),o=!1)}),()=>{if(o)return p.m(),f(!0,a.takeRecords())}]},Dp={},Ip={},t0=e=>{re(e,t=>re(t,(n,r)=>{Dp[r]=t[r]}))},jp=(e,t,n)=>Lt(e).map(r=>{const{static:o,instance:l}=e[r],[i,s,u]=n||[],c=n?l:o;if(c){const d=n?c(i,s,t):c(t);return(u||Ip)[r]=d}}),go=e=>Ip[e],n0="__osOptionsValidationPlugin",r0="__osSizeObserverPlugin",o0=(e,t)=>{const{M:n}=t,[r,o]=e("showNativeOverlaidScrollbars");return[r&&n.x&&n.y,o]},vr=e=>e.indexOf(qt)===0,l0=(e,t)=>{const n=(o,l,i,s)=>{const u=o===qt?Cn:o.replace(`${qt}-`,""),c=vr(o),d=vr(i);return!l&&!s?Cn:c&&d?qt:c?l&&s?u:l?qt:Cn:l?u:d&&s?qt:Cn},r={x:n(t.x,e.x,t.y,e.y),y:n(t.y,e.y,t.x,e.x)};return{K:r,Z:{x:r.x===pr,y:r.y===pr}}},Fp="__osScrollbarsHidingPlugin",i0="__osClickScrollPlugin",Ap=(e,t,n)=>{const{dt:r}=n||{},o=go(r0),[l]=Ze({o:!1,u:!0});return()=>{const i=[],u=wp(`
`)[0],c=u.firstChild,d=p=>{const v=p instanceof ResizeObserverEntry;let g=!1,h=!1;if(v){const[w,,T]=l(p.contentRect),f=Ys(w);h=xp(w,T),g=!h&&!f}else h=p===!0;g||t({ft:!0,dt:h})};if(Ml){const p=new Ml(v=>d(v.pop()));p.observe(c),he(i,()=>{p.disconnect()})}else if(o){const[p,v]=o(c,d,r);he(i,uo([nc(u,Ih),ce(u,"animationstart",p)],v))}else return Nn;return V(et,he(i,Ge(e,u)))}},s0=(e,t)=>{let n;const r=u=>u.h===0||u.isIntersecting||u.intersectionRatio>0,o=or(Fh),[l]=Ze({o:!1}),i=(u,c)=>{if(u){const d=l(r(u)),[,p]=d;return p&&!c&&t(d)&&[d]}},s=(u,c)=>i(c.pop(),u);return[()=>{const u=[];if(wa)n=new wa(V(s,!1),{root:e}),n.observe(o),he(u,()=>{n.disconnect()});else{const c=()=>{const d=lr(o);i(d)};he(u,Ap(o,c)()),c()}return V(et,he(u,Ge(e,o)))},()=>n&&s(!0,n.takeRecords())]},u0=(e,t,n,r)=>{let o,l,i,s,u,c;const d=`[${an}]`,p=`[${Dt}]`,v=["id","class","style","open","wrap","cols","rows"],{vt:g,gt:h,ot:w,ht:T,bt:f,nt:a,wt:m,yt:y,St:S,Ot:E}=e,C=$=>Wt($,"direction")==="rtl",P={$t:!1,ct:C(g)},D=Rt(),x=go(Fp),[z]=Ze({i:ap,o:{w:0,h:0}},()=>{const $=x&&x.tt(e,t,P,D,n).ut,F=!(m&&a)&&tc(h,an,sl),H=!a&&y($h),Z=H&&Je(T),ue=Z&&E(),Ie=S(zp,F),ke=H&&$&&$()[0],Pe=Al(w),W=rc(w);return ke&&ke(),_t(T,Z),ue&&ue(),F&&Ie(),{w:Pe.w+W.w,h:Pe.h+W.h}}),U=Vs(r,{_:()=>o,p:()=>l,S($,A){const[F]=$,[H]=A;return[uo(Lt(F),Lt(H)).reduce((Z,ue)=>(Z[ue]=F[ue]||H[ue],Z),{})]}}),B=$=>{const A=C(g);q($,{Ct:c!==A}),q(P,{ct:A}),c=A},Q=($,A)=>{const[F,H]=$,Z={xt:H};return q(P,{$t:F}),!A&&r(Z),Z},G=({ft:$,dt:A})=>{const H=!($&&!A)&&D.R?U:r,Z={ft:$||A,dt:A};B(Z),H(Z)},K=($,A)=>{const[,F]=z(),H={Ht:F};return B(H),F&&!A&&($?r:U)(H),H},X=($,A,F)=>{const H={Et:A};return B(H),A&&!F&&U(H),H},[_,M]=f?s0(h,Q):[],O=!a&&Ap(h,G,{dt:!0}),[k,R]=Ia(h,!1,X,{X:v,j:v}),L=a&&Ml&&new Ml($=>{const A=$[$.length-1].contentRect;G({ft:!0,dt:xp(A,u)}),u=A}),j=Vs(()=>{const[,$]=z();r({Ht:$})},{_:222,v:!0});return[()=>{L&&L.observe(h);const $=O&&O(),A=_&&_(),F=k(),H=D.L(Z=>{Z?U({zt:Z}):j()});return()=>{L&&L.disconnect(),$&&$(),A&&A(),s&&s(),F(),H()}},({It:$,At:A,Dt:F})=>{const H={},[Z]=$("update.ignoreMutation"),[ue,Ie]=$("update.attributes"),[ke,Pe]=$("update.elementEvents"),[W,Ee]=$("update.debounce"),xe=Pe||Ie,Ne=A||F,Le=fe=>ft(Z)&&Z(fe);if(xe){i&&i(),s&&s();const[fe,te]=Ia(f||w,!0,K,{j:uo(v,ue||[]),Y:ke,W:d,G:(b,Ye)=>{const{target:dt,attributeName:Kt}=b;return(!Ye&&Kt&&!a?Eh(dt,d,p):!1)||!!Jn(dt,`.${ot}`)||!!Le(b)}});s=fe(),i=te}if(Ee)if(U.m(),Tt(W)){const fe=W[0],te=W[1];o=Ot(fe)&&fe,l=Ot(te)&&te}else Ot(W)?(o=W,l=!1):(o=!1,l=!1);if(Ne){const fe=R(),te=M&&M(),b=i&&i();fe&&q(H,X(fe[0],fe[1],Ne)),te&&q(H,Q(te[0],Ne)),b&&q(H,K(b[0],Ne))}return B(H),H},P]},c0=(e,t,n,r)=>{const o="--os-viewport-percent",l="--os-scroll-percent",i="--os-scroll-direction",{U:s}=Rt(),{scrollbars:u}=s(),{slot:c}=u,{vt:d,gt:p,ot:v,Tt:g,ht:h,wt:w,nt:T}=t,{scrollbars:f}=g?{}:e,{slot:a}=f||{},m=[],y=[],S=[],E=$p([d,p,v],()=>T&&w?d:p,c,a),C=k=>{if(ol){const R=new ol({source:h,axis:k});return{Mt:j=>{const $=j.kt.animate({clear:["left"],[l]:[0,1]},{timeline:R});return()=>$.cancel()}}}},P={x:C("x"),y:C("y")},D=()=>{const{Rt:k,Vt:R}=n,L=(j,$)=>pp(0,1,j/(j+$)||0);return{x:L(R.x,k.x),y:L(R.y,k.y)}},x=(k,R,L)=>{const j=L?nc:hp;re(k,$=>{j($.kt,R)})},z=(k,R)=>{re(k,L=>{const[j,$]=R(L);ao(j,$)})},U=(k,R,L)=>{const j=Zu(L),$=j?L:!0,A=j?!L:!0;$&&x(y,k,R),A&&x(S,k,R)},B=()=>{const k=D(),R=L=>j=>[j.kt,{[o]:Ks(L)+""}];z(y,R(k.x)),z(S,R(k.y))},Q=()=>{if(!ol){const{Lt:k}=n,R=_a(k,Je(h)),L=j=>$=>[$.kt,{[l]:Ks(j)+""}];z(y,L(R.x)),z(S,L(R.y))}},G=()=>{const{Lt:k}=n,R=Ca(k),L=j=>$=>[$.kt,{[i]:j?"0":"1"}];z(y,L(R.x)),z(S,L(R.y))},K=()=>{if(T&&!w){const{Rt:k,Lt:R}=n,L=Ca(R),j=_a(R,Je(h)),$=A=>{const{kt:F}=A,H=co(F)===v&&F,Z=(ue,Ie,ke)=>{const Pe=Ie*ue;return kp(ke?Pe:-Pe)};return[H,H&&{transform:xh({x:Z(j.x,k.x,L.x),y:Z(j.y,k.y,L.y)})}]};z(y,$),z(S,$)}},X=k=>{const R=k?"x":"y",j=or(`${ot} ${k?Hh:Vh}`),$=or(Tp),A=or(lc),F={kt:j,Ut:$,Pt:A},H=P[R];return he(k?y:S,F),he(m,[Ge(j,$),Ge($,A),V(mr,j),H&&H.Mt(F),r(F,U,k)]),F},_=V(X,!0),M=V(X,!1),O=()=>(Ge(E,y[0].kt),Ge(E,S[0].kt),V(et,m));return _(),M(),[{Nt:B,qt:Q,Bt:G,Ft:K,jt:U,Xt:{Yt:y,Wt:_,Jt:V(z,y)},Gt:{Yt:S,Wt:M,Jt:V(z,S)}},O]},a0=(e,t,n,r)=>(o,l,i)=>{const{gt:s,ot:u,nt:c,ht:d,Kt:p,Ot:v}=t,{kt:g,Ut:h,Pt:w}=o,[T,f]=Gn(333),[a,m]=Gn(444),y=C=>{ft(d.scrollBy)&&d.scrollBy({behavior:"smooth",left:C.x,top:C.y})},S=()=>{const C="pointerup pointercancel lostpointercapture",P=`client${i?"X":"Y"}`,D=i?li:ii,x=i?"left":"top",z=i?"w":"h",U=i?"x":"y",B=(G,K)=>X=>{const{Rt:_}=n,M=lr(h)[z]-lr(w)[z],k=K*X/M*_[U];_t(d,{[U]:G+k})},Q=[];return ce(h,"pointerdown",G=>{const K=Jn(G.target,`.${lc}`)===w,X=K?w:h,_=e.scrollbars,{button:M,isPrimary:O,pointerType:k}=G,{pointers:R}=_;if(M===0&&O&&_[K?"dragScroll":"clickScroll"]&&(R||[]).includes(k)){et(Q),m();const j=!K&&G.shiftKey,$=V(Hi,w),A=V(Hi,h),F=(te,b)=>(te||$())[x]-(b||A())[x],H=Fs(Hi(d)[D])/lr(d)[z]||1,Z=B(Je(d)[U],1/H),ue=G[P],Ie=$(),ke=A(),Pe=Ie[D],W=F(Ie,ke)+Pe/2,Ee=ue-ke[x],xe=K?0:Ee-W,Ne=te=>{et(fe),X.releasePointerCapture(te.pointerId)},Le=v(),fe=[()=>{const te=Je(d);Le();const b=Je(d),Ye={x:b.x-te.x,y:b.y-te.y};(Rl(Ye.x)>3||Rl(Ye.y)>3)&&(v(),_t(d,te),y(Ye),a(Le))},ce(p,C,Ne),ce(p,"selectstart",te=>Xs(te),{H:!1}),ce(h,C,Ne),ce(h,"pointermove",te=>{const b=te[P]-ue;(K||j)&&Z(xe+b)})];if(X.setPointerCapture(G.pointerId),j)Z(xe);else if(!K){const te=go(i0);if(te){const b=te(Z,F,xe,Pe,Ee);he(fe,V(b)),he(Q,V(b,!0))}}}})};let E=!0;return V(et,[ce(w,"pointermove pointerleave",r),ce(g,"pointerenter",()=>{l(Ra,!0)}),ce(g,"pointerleave pointercancel",()=>{l(Ra,!1)}),!c&&ce(g,"mousedown",()=>{const C=Qs();(Sa(C,Dt)||Sa(C,an)||C===document.body)&&$l(V(Zs,u),25)}),ce(g,"wheel",C=>{const{deltaX:P,deltaY:D,deltaMode:x}=C;E&&x===0&&co(g)===s&&y({x:P,y:D}),E=!1,l(Da,!0),T(()=>{E=!0,l(Da)}),Xs(C)},{H:!1,I:!0}),ce(g,"pointerdown",V(ce,p,"click",_p,{A:!0,I:!0,H:!1}),{I:!0}),S(),f,m])},f0=(e,t,n,r,o,l)=>{let i,s,u,c,d,p=Nn,v=0;const g=k=>k.pointerType==="mouse",[h,w]=Gn(),[T,f]=Gn(100),[a,m]=Gn(100),[y,S]=Gn(()=>v),[E,C]=c0(e,o,r,a0(t,o,r,k=>g(k)&&X())),{gt:P,Qt:D,wt:x}=o,{jt:z,Nt:U,qt:B,Bt:Q,Ft:G}=E,K=(k,R)=>{if(S(),k)z(Ma);else{const L=V(z,Ma,!0);v>0&&!R?y(L):L()}},X=()=>{(u?!i:!c)&&(K(!0),T(()=>{K(!1)}))},_=k=>{z(qs,k,!0),z(qs,k,!1)},M=k=>{g(k)&&(i=u,u&&K(!0))},O=[S,f,m,w,()=>p(),ce(P,"pointerover",M,{A:!0}),ce(P,"pointerenter",M),ce(P,"pointerleave",k=>{g(k)&&(i=!1,u&&K(!1))}),ce(P,"pointermove",k=>{g(k)&&s&&X()}),ce(D,"scroll",k=>{h(()=>{B(),X()}),l(k),G()})];return[()=>V(et,he(O,C())),({It:k,Dt:R,Zt:L,tn:j})=>{const{nn:$,sn:A,en:F,cn:H}=j||{},{Ct:Z,dt:ue}=L||{},{ct:Ie}=n,{M:ke}=Rt(),{K:Pe,rn:W}=r,[Ee,xe]=k("showNativeOverlaidScrollbars"),[Ne,Le]=k("scrollbars.theme"),[fe,te]=k("scrollbars.visibility"),[b,Ye]=k("scrollbars.autoHide"),[dt,Kt]=k("scrollbars.autoHideSuspend"),[Sr]=k("scrollbars.autoHideDelay"),[wo,yn]=k("scrollbars.dragScroll"),[kr,ai]=k("scrollbars.clickScroll"),[So,fi]=k("overflow"),di=ue&&!R,St=W.x||W.y,pi=$||A||H||Z||R,ko=F||te||fi,mi=Ee&&ke.x&&ke.y,gn=(Er,In,Eo)=>{const xr=Er.includes(pr)&&(fe===qt||fe==="auto"&&In===pr);return z(Bh,xr,Eo),xr};if(v=Sr,di&&(dt&&St?(_(!1),p(),a(()=>{p=ce(D,"scroll",V(_,!0),{A:!0})})):_(!0)),xe&&z(Ah,mi),Le&&(z(d),z(Ne,!0),d=Ne),Kt&&!dt&&_(!0),Ye&&(s=b==="move",u=b==="leave",c=b==="never",K(c,!0)),yn&&z(Kh,wo),ai&&z(Qh,kr),ko){const Er=gn(So.x,Pe.x,!0),In=gn(So.y,Pe.y,!1);z(Wh,!(Er&&In))}pi&&(B(),U(),G(),H&&Q(),z($a,!W.x,!0),z($a,!W.y,!1),z(Uh,Ie&&!x))},{},E]},d0=e=>{const t=Rt(),{U:n,R:r}=t,{elements:o}=n(),{padding:l,viewport:i,content:s}=o,u=jl(e),c=u?{}:e,{elements:d}=c,{padding:p,viewport:v,content:g}=d||{},h=u?e:c.target,w=gp(h),T=h.ownerDocument,f=T.documentElement,a=()=>T.defaultView||Be,m=V(Gh,[h]),y=V($p,[h]),S=V(or,""),E=V(m,S,i),C=V(y,S,s),P=W=>{const Ee=lr(W),xe=Al(W),Ne=Wt(W,up),Le=Wt(W,cp);return xe.w-Ee.w>0&&!vr(Ne)||xe.h-Ee.h>0&&!vr(Le)},D=E(v),x=D===h,z=x&&w,U=!x&&C(g),B=!x&&D===U,Q=z?f:D,G=z?Q:h,K=!x&&y(S,l,p),X=!B&&U,_=[X,Q,K,G].map(W=>jl(W)&&!co(W)&&W),M=W=>W&&ep(_,W),O=!M(Q)&&P(Q)?Q:h,k=z?f:Q,L={vt:h,gt:G,ot:Q,ln:K,bt:X,ht:k,Qt:z?T:Q,an:w?f:O,Kt:T,wt:w,Tt:u,nt:x,un:a,yt:W=>tc(Q,Dt,W),St:(W,Ee)=>Fl(Q,Dt,W,Ee),Ot:()=>Fl(k,Dt,Mh,!0)},{vt:j,gt:$,ln:A,ot:F,bt:H}=L,Z=[()=>{Et($,[an,Vi]),Et(j,Vi),w&&Et(f,[Vi,an])}];let ue=Ws([H,F,A,$,j].find(W=>W&&!M(W)));const Ie=z?j:H||F,ke=V(et,Z);return[L,()=>{const W=a(),Ee=Qs(),xe=b=>{Ge(co(b),Ws(b)),mr(b)},Ne=b=>ce(b,"focusin focusout focus blur",_p,{I:!0,H:!1}),Le="tabindex",fe=bu(F,Le),te=Ne(Ee);return Mt($,an,x?"":Th),Mt(A,Js,""),Mt(F,Dt,""),Mt(H,La,""),x||(Mt(F,Le,fe||"-1"),w&&Mt(f,Ta,"")),Ge(Ie,ue),Ge($,A),Ge(A||$,!x&&F),Ge(F,H),he(Z,[te,()=>{const b=Qs(),Ye=M(F),dt=Ye&&b===F?j:b,Kt=Ne(dt);Et(A,Js),Et(H,La),Et(F,Dt),w&&Et(f,Ta),fe?Mt(F,Le,fe):Et(F,Le),M(H)&&xe(H),Ye&&xe(F),M(A)&&xe(A),Zs(dt),Kt()}]),r&&!x&&(ec(F,Dt,Op),he(Z,V(Et,F,Dt))),Zs(!x&&w&&Ee===j&&W.top===W?F:Ee),te(),ue=0,ke},ke]},p0=({bt:e})=>({Zt:t,_n:n,Dt:r})=>{const{xt:o}=t||{},{$t:l}=n;e&&(o||r)&&ao(e,{[ii]:l&&"100%"})},m0=({gt:e,ln:t,ot:n,nt:r},o)=>{const[l,i]=Ze({i:Sh,o:Ea()},V(Ea,e,"padding",""));return({It:s,Zt:u,_n:c,Dt:d})=>{let[p,v]=i(d);const{R:g}=Rt(),{ft:h,Ht:w,Ct:T}=u||{},{ct:f}=c,[a,m]=s("paddingAbsolute");(h||v||(d||w))&&([p,v]=l(d));const S=!r&&(m||T||v);if(S){const E=!a||!t&&!g,C=p.r+p.l,P=p.t+p.b,D={[ip]:E&&!f?-C:0,[sp]:E?-P:0,[lp]:E&&f?-C:0,top:E?-p.t:0,right:E?f?-p.r:"auto":0,left:E?f?"auto":-p.l:0,[li]:E&&`calc(100% + ${C}px)`},x={[tp]:E?p.t:0,[np]:E?p.r:0,[op]:E?p.b:0,[rp]:E?p.l:0};ao(t||n,D),ao(n,x),q(o,{ln:p,dn:!E,rt:t?x:q({},D,x)})}return{fn:S}}},v0=(e,t)=>{const n=Rt(),{gt:r,ln:o,ot:l,nt:i,Qt:s,ht:u,wt:c,St:d,un:p}=e,{R:v}=n,g=c&&i,h=V(qd,0),w=["display","direction","flexDirection","writingMode"],T={i:ap,o:{w:0,h:0}},f={i:ll,o:{}},a=O=>{d(zp,!g&&O)},m=(O,k)=>{const R=Be.devicePixelRatio%1!==0?1:0,L={w:h(O.w-k.w),h:h(O.h-k.h)};return{w:L.w>R?L.w:0,h:L.h>R?L.h:0}},[y,S]=Ze(T,V(rc,l)),[E,C]=Ze(T,V(Al,l)),[P,D]=Ze(T),[x]=Ze(f),[z,U]=Ze(T),[B]=Ze(f),[Q]=Ze({i:(O,k)=>si(O,k,w),o:{}},()=>Nh(l)?Wt(l,w):{}),[G,K]=Ze({i:(O,k)=>ll(O.D,k.D)&&ll(O.T,k.T),o:Pp()},()=>{a(!0);const O=Je(u),k=d(Dh,!0),R=ce(s,pr,F=>{const H=Je(u);F.isTrusted&&H.x===O.x&&H.y===O.y&&Cp(F)},{I:!0,A:!0});_t(u,{x:0,y:0}),k();const L=Je(u),j=Al(u);_t(u,{x:j.w,y:j.h});const $=Je(u);_t(u,{x:$.x-L.x<1&&-j.w,y:$.y-L.y<1&&-j.h});const A=Je(u);return _t(u,O),Yu(()=>R()),{D:L,T:A}}),X=go(Fp),_=(O,k)=>`${k?Lh:Rh}${wh(O)}`,M=O=>{const k=L=>[qt,Cn,pr].map(j=>_(j,L)),R=k(!0).concat(k()).join(" ");d(R),d(Lt(O).map(L=>_(O[L],L==="x")).join(" "),!0)};return({It:O,Zt:k,_n:R,Dt:L},{fn:j})=>{const{ft:$,Ht:A,Ct:F,dt:H,zt:Z}=k||{},ue=X&&X.tt(e,t,R,n,O),{it:Ie,ut:ke,_t:Pe}=ue||{},[W,Ee]=o0(O,n),[xe,Ne]=O("overflow"),Le=vr(xe.x),fe=vr(xe.y),te=!0;let b=S(L),Ye=C(L),dt=D(L),Kt=U(L);Ee&&v&&d(Op,!W);{tc(r,an,sl)&&a(!0);const[sc]=ke?ke():[],[xo]=b=y(L),[Co]=Ye=E(L),_o=Ep(l),Po=g&&Ph(p()),Bp={w:h(Co.w+xo.w),h:h(Co.h+xo.h)},uc={w:h((Po?Po.w:_o.w+h(_o.w-Co.w))+xo.w),h:h((Po?Po.h:_o.h+h(_o.h-Co.h))+xo.h)};sc&&sc(),Kt=z(uc),dt=P(m(Bp,uc),L)}const[Sr,wo]=Kt,[yn,kr]=dt,[ai,So]=Ye,[fi,di]=b,[St,pi]=x({x:yn.w>0,y:yn.h>0}),ko=Le&&fe&&(St.x||St.y)||Le&&St.x&&!St.y||fe&&St.y&&!St.x,mi=j||F||Z||di||So||wo||kr||Ne||Ee||te,gn=l0(St,xe),[Er,In]=B(gn.K),[,Eo]=Q(L),xr=F||H||Eo||pi||L,[Hp,Vp]=xr?G(L):K();return mi&&(In&&M(gn.K),Pe&&Ie&&ao(l,Pe(gn,R,Ie(gn,ai,fi)))),a(!1),Fl(r,an,sl,ko),Fl(o,Js,sl,ko),q(t,{K:Er,Vt:{x:Sr.w,y:Sr.h},Rt:{x:yn.w,y:yn.h},rn:St,Lt:zh(Hp,yn)}),{en:In,nn:wo,sn:kr,cn:Vp||kr,pn:xr}}},h0=e=>{const[t,n,r]=d0(e),o={ln:{t:0,r:0,b:0,l:0},dn:!1,rt:{[ip]:0,[sp]:0,[lp]:0,[tp]:0,[np]:0,[op]:0,[rp]:0},Vt:{x:0,y:0},Rt:{x:0,y:0},K:{x:Cn,y:Cn},rn:{x:!1,y:!1},Lt:Pp()},{vt:l,ht:i,nt:s,Ot:u}=t,{R:c,M:d}=Rt(),p=!c&&(d.x||d.y),v=[p0(t),m0(t,o),v0(t,o)];return[n,g=>{const h={},T=p&&Je(i),f=T&&u();return re(v,a=>{q(h,a(g,h)||{})}),_t(i,T),f&&f(),!s&&_t(l,0),h},o,t,r]},y0=(e,t,n,r,o)=>{let l=!1;const i=Oa(t,{}),[s,u,c,d,p]=h0(e),[v,g,h]=u0(d,c,i,y=>{m({},y)}),[w,T,,f]=f0(e,t,h,c,d,o),a=y=>Lt(y).some(S=>!!y[S]),m=(y,S)=>{if(n())return!1;const{vn:E,Dt:C,At:P,gn:D}=y,x=E||{},z=!!C||!l,U={It:Oa(t,x,z),vn:x,Dt:z};if(D)return T(U),!1;const B=S||g(q({},U,{At:P})),Q=u(q({},U,{_n:h,Zt:B}));T(q({},U,{Zt:B,tn:Q}));const G=a(B),K=a(Q),X=G||K||!qu(x)||z;return l=!0,X&&r(y,{Zt:B,tn:Q}),X};return[()=>{const{an:y,ht:S,Ot:E}=d,C=Je(y),P=[v(),s(),w()],D=E();return _t(S,C),D(),V(et,P)},m,()=>({hn:h,bn:c}),{wn:d,yn:f},p]},Pt=(e,t,n)=>{const{N:r}=Rt(),o=jl(e),l=o?e:e.target,i=Mp(l);if(t&&!i){let s=!1;const u=[],c={},d=x=>{const z=dp(x),U=go(n0);return U?U(z,!0):z},p=q({},r(),d(t)),[v,g,h]=Gs(),[w,T,f]=Gs(n),a=(x,z)=>{f(x,z),h(x,z)},[m,y,S,E,C]=y0(e,p,()=>s,({vn:x,Dt:z},{Zt:U,tn:B})=>{const{ft:Q,Ct:G,xt:K,Ht:X,Et:_,dt:M}=U,{nn:O,sn:k,en:R,cn:L}=B;a("updated",[D,{updateHints:{sizeChanged:!!Q,directionChanged:!!G,heightIntrinsicChanged:!!K,overflowEdgeChanged:!!O,overflowAmountChanged:!!k,overflowStyleChanged:!!R,scrollCoordinatesChanged:!!L,contentMutation:!!X,hostMutation:!!_,appear:!!M},changedOptions:x||{},force:!!z}])},x=>a("scroll",[D,x])),P=x=>{bh(l),et(u),s=!0,a("destroyed",[D,x]),g(),T()},D={options(x,z){if(x){const U=z?r():{},B=Np(p,q(U,d(x)));qu(B)||(q(p,B),y({vn:B}))}return q({},p)},on:w,off:(x,z)=>{x&&z&&T(x,z)},state(){const{hn:x,bn:z}=S(),{ct:U}=x,{Vt:B,Rt:Q,K:G,rn:K,ln:X,dn:_,Lt:M}=z;return q({},{overflowEdge:B,overflowAmount:Q,overflowStyle:G,hasOverflow:K,scrollCoordinates:{start:M.D,end:M.T},padding:X,paddingAbsolute:_,directionRTL:U,destroyed:s})},elements(){const{vt:x,gt:z,ln:U,ot:B,bt:Q,ht:G,Qt:K}=E.wn,{Xt:X,Gt:_}=E.yn,M=k=>{const{Pt:R,Ut:L,kt:j}=k;return{scrollbar:j,track:L,handle:R}},O=k=>{const{Yt:R,Wt:L}=k,j=M(R[0]);return q({},j,{clone:()=>{const $=M(L());return y({gn:!0}),$}})};return q({},{target:x,host:z,padding:U||B,viewport:B,content:Q||B,scrollOffsetElement:G,scrollEventElement:K,scrollbarHorizontal:O(X),scrollbarVertical:O(_)})},update:x=>y({Dt:x,At:!0}),destroy:V(P,!1),plugin:x=>c[Lt(x)[0]]};return he(u,[C]),qh(l,D),jp(Dp,Pt,[D,v,c]),Jh(E.wn.wt,!o&&e.cancel)?(P(!0),D):(he(u,m()),a("initialized",[D]),D.update(),D)}return i};Pt.plugin=e=>{const t=Tt(e),n=t?e:[e],r=n.map(o=>jp(o,Pt)[0]);return t0(n),t?r:r[0]};Pt.valid=e=>{const t=e&&e.elements,n=ft(t)&&t();return Il(n)&&!!Mp(n.target)};Pt.env=()=>{const{k:e,M:t,R:n,V:r,B:o,F:l,U:i,P:s,N:u,q:c}=Rt();return q({},{scrollbarsSize:e,scrollbarsOverlaid:t,scrollbarsHiding:n,scrollTimeline:r,staticDefaultInitialization:o,staticDefaultOptions:l,getDefaultInitialization:i,setDefaultInitialization:s,getDefaultOptions:u,setDefaultOptions:c})};Pt.nonce=Xh;const g0=()=>{if(typeof window>"u"){const c=()=>{};return[c,c]}let e,t;const n=window,r=typeof n.requestIdleCallback=="function",o=n.requestAnimationFrame,l=n.cancelAnimationFrame,i=r?n.requestIdleCallback:o,s=r?n.cancelIdleCallback:l,u=()=>{s(e),l(t)};return[(c,d)=>{u(),e=i(r?()=>{u(),t=o(c)}:c,typeof d=="object"?d:{timeout:2233})},u]},Up=e=>{const{options:t,events:n,defer:r}=e||{},[o,l]=oe.useMemo(g0,[]),i=oe.useRef(null),s=oe.useRef(r),u=oe.useRef(t),c=oe.useRef(n);return oe.useEffect(()=>{s.current=r},[r]),oe.useEffect(()=>{const{current:d}=i;u.current=t,Pt.valid(d)&&d.options(t||{},!0)},[t]),oe.useEffect(()=>{const{current:d}=i;c.current=n,Pt.valid(d)&&d.on(n||{},!0)},[n]),oe.useEffect(()=>()=>{var d;l(),(d=i.current)==null||d.destroy()},[]),oe.useMemo(()=>[d=>{const p=i.current;if(Pt.valid(p))return;const v=s.current,g=u.current||{},h=c.current||{},w=()=>i.current=Pt(d,g,h);v?o(w,v):w()},()=>i.current],[])},w0=(e,t)=>{const{element:n="div",options:r,events:o,defer:l,children:i,...s}=e,u=n,c=oe.useRef(null),d=oe.useRef(null),[p,v]=Up({options:r,events:o,defer:l});return oe.useEffect(()=>{const{current:g}=c,{current:h}=d;if(!g)return;const w=g;return p(n==="body"?{target:w,cancel:{body:null}}:{target:w,elements:{viewport:h,content:h}}),()=>{var T;return(T=v())==null?void 0:T.destroy()}},[p,n]),oe.useImperativeHandle(t,()=>({osInstance:v,getElement:()=>c.current}),[]),Wi.createElement(u,{"data-overlayscrollbars-initialize":"",ref:c,...s},n==="body"?i:Wi.createElement("div",{"data-overlayscrollbars-contents":"",ref:d},i))},S0=oe.forwardRef(w0),k0=()=>{const[e,t]=oe.useState([]),n=oe.useRef({}),r=oe.useRef({}),o=s=>{const u=n.current[s];n.current[s]=typeof u=="number"?u+1:1,t(c=>Array.from(new Set([...c,s]))),clearTimeout(r.current[s]),r.current[s]=setTimeout(()=>{t(c=>{const d=new Set(c);return d.delete(s),Array.from(d)})},500)},l=s=>({active:e.includes(s),count:n.current[s]||0});return[{initialized:l("initialized"),destroyed:l("destroyed"),updated:l("updated"),scroll:l("scroll")},o]},ja=ee.jsx("div",{className:"logo",children:ee.jsx("img",{alt:"React logo",src:"logo.svg"})}),E0=()=>{const[e,t]=oe.useState(!1),[n,r]=oe.useState(!1),[o,l]=oe.useState(!0),[i,s]=oe.useState(null),u=oe.useRef(null),[c,d]=k0(),[p,v]=Up({defer:!0,events:{initialized:()=>{s(!0)},destroyed:()=>{s(!1)}},options:{scrollbars:{theme:"os-theme-light"}}}),g=()=>{const{current:f}=u,a=f==null?void 0:f.osInstance();if(!a)return;const{overflowAmount:m}=a.state(),{scrollOffsetElement:y}=a.elements(),{scrollLeft:S,scrollTop:E}=y;y.scrollTo({behavior:"smooth",left:Math.round((m.x-S)/m.x)*m.x,top:Math.round((m.y-E)/m.y)*m.y})},h=()=>t(f=>!f),w=()=>r(f=>!f),T=()=>{const f=v();f&&!f.state().destroyed?f.destroy():p({target:document.body,cancel:{body:!1}})};return oe.useEffect(()=>{p(document.body)},[p]),ee.jsxs(ee.Fragment,{children:[ee.jsxs("main",{children:[ee.jsx("h1",{children:ee.jsx("a",{href:"https://www.npmjs.com/package/overlayscrollbars-react",target:"_blank",rel:"noreferrer",children:"OverlayScrollbars React"})}),ee.jsx("section",{className:"slot",children:o?ee.jsx(S0,{className:"overlayscrollbars-react",style:{display:n?"none":void 0},ref:u,options:{scrollbars:{theme:"os-theme-light"}},events:{initialized:()=>d("initialized"),destroyed:()=>d("destroyed"),updated:()=>d("updated"),scroll:()=>d("scroll")},defer:!0,children:!e&&ja}):ee.jsx("div",{className:"overlayscrollbars-react",children:ja})}),ee.jsxs("section",{children:[ee.jsx("p",{className:"title",children:"Actions:"}),ee.jsxs("div",{className:"items",children:[o&&ee.jsxs(ee.Fragment,{children:[ee.jsx("button",{onClick:g,children:"Scroll"}),ee.jsxs("button",{onClick:h,children:[e?"Show":"Hide"," Content"]}),ee.jsxs("button",{onClick:w,children:[n?"Show":"Hide"," Element"]})]}),ee.jsxs("button",{onClick:()=>l(f=>!f),children:[o?"Destroy":"Initialize"," OverlayScrollbars"]})]})]}),ee.jsxs("section",{children:[ee.jsx("p",{className:"title",children:"Events:"}),ee.jsx("div",{className:"items",children:Object.entries(c).map(([f,a])=>ee.jsxs("div",{className:`event ${a.active?"active":""}`,children:[f," (",a.count,")"]},f))})]})]}),ee.jsxs("footer",{children:[i!==null&&ee.jsx("section",{children:ee.jsx("div",{className:"items",children:ee.jsxs("button",{onClick:T,children:[i?"Destroy":"Initialize"," Body OverlayScrollbars"]})})}),ee.jsx("a",{href:"https://github.com/KingSora/OverlayScrollbars/tree/master/examples/react",target:"_blank",rel:"noreferrer",children:"Open source code of this example."})]})]})},x0=Qi.createRoot(document.getElementById("root"));x0.render(ee.jsx(Wi.StrictMode,{children:ee.jsx(E0,{})})); diff --git a/docs/example/react/assets/index-BMSkgsiK.css b/docs/example/react/assets/index-CM6mlQWt.css similarity index 99% rename from docs/example/react/assets/index-BMSkgsiK.css rename to docs/example/react/assets/index-CM6mlQWt.css index 1f1c8689..30283009 100644 --- a/docs/example/react/assets/index-BMSkgsiK.css +++ b/docs/example/react/assets/index-CM6mlQWt.css @@ -1,6 +1,6 @@ /*! * OverlayScrollbars - * Version: 2.9.1 + * Version: 2.9.2 * * Copyright (c) Rene Haas | KingSora. * https://github.com/KingSora diff --git a/docs/example/react/index.html b/docs/example/react/index.html index 35029556..c5ac71a1 100644 --- a/docs/example/react/index.html +++ b/docs/example/react/index.html @@ -11,8 +11,8 @@ rel="stylesheet" /> OverlayScrollbars & React - - + +
diff --git a/docs/example/solid/assets/index-PYo7XNrX.js b/docs/example/solid/assets/index-PYo7XNrX.js new file mode 100644 index 00000000..e81c0aef --- /dev/null +++ b/docs/example/solid/assets/index-PYo7XNrX.js @@ -0,0 +1,9 @@ +(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))s(o);new MutationObserver(o=>{for(const c of o)if(c.type==="childList")for(const l of c.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&s(l)}).observe(document,{childList:!0,subtree:!0});function n(o){const c={};return o.integrity&&(c.integrity=o.integrity),o.referrerPolicy&&(c.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?c.credentials="include":o.crossOrigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function s(o){if(o.ep)return;o.ep=!0;const c=n(o);fetch(o.href,c)}})();const Po=(t,e)=>t===e,ke=Symbol("solid-proxy"),Me={equals:Po};let $s=Ts;const zt=1,Ie=2,Cs={owned:null,cleanups:null,context:null,owner:null};var ct=null;let ln=null,Do=null,ot=null,ft=null,It=null,qe=0;function Lo(t,e){const n=ot,s=ct,o=t.length===0,c=e===void 0?s:e,l=o?Cs:{owned:null,cleanups:null,context:c?c.context:null,owner:c},r=o?t:()=>t(()=>Wt(()=>Ge(l)));ct=l,ot=null;try{return ye(r,!0)}finally{ot=n,ct=s}}function Vt(t,e){e=e?Object.assign({},Me,e):Me;const n={value:t,observers:null,observerSlots:null,comparator:e.equals||void 0},s=o=>(typeof o=="function"&&(o=o(n.value)),_s(n,o));return[Es.bind(n),s]}function xt(t,e,n){const s=Ln(t,e,!1,zt);pe(s)}function Os(t,e,n){$s=No;const s=Ln(t,e,!1,zt);(!n||!n.render)&&(s.user=!0),It?It.push(s):pe(s)}function _t(t,e,n){n=n?Object.assign({},Me,n):Me;const s=Ln(t,e,!0,0);return s.observers=null,s.observerSlots=null,s.comparator=n.equals||void 0,pe(s),Es.bind(s)}function Wt(t){if(ot===null)return t();const e=ot;ot=null;try{return t()}finally{ot=e}}function ko(t){Os(()=>Wt(t))}function As(t){return ct===null||(ct.cleanups===null?ct.cleanups=[t]:ct.cleanups.push(t)),t}function Yn(t){const e=_t(t),n=_t(()=>hn(e()));return n.toArray=()=>{const s=n();return Array.isArray(s)?s:s!=null?[s]:[]},n}function Es(){if(this.sources&&this.state)if(this.state===zt)pe(this);else{const t=ft;ft=null,ye(()=>He(this),!1),ft=t}if(ot){const t=this.observers?this.observers.length:0;ot.sources?(ot.sources.push(this),ot.sourceSlots.push(t)):(ot.sources=[this],ot.sourceSlots=[t]),this.observers?(this.observers.push(ot),this.observerSlots.push(ot.sources.length-1)):(this.observers=[ot],this.observerSlots=[ot.sources.length-1])}return this.value}function _s(t,e,n){let s=t.value;return(!t.comparator||!t.comparator(s,e))&&(t.value=e,t.observers&&t.observers.length&&ye(()=>{for(let o=0;o1e6)throw ft=[],new Error},!1)),e}function pe(t){if(!t.fn)return;Ge(t);const e=qe;Mo(t,t.value,e)}function Mo(t,e,n){let s;const o=ct,c=ot;ot=ct=t;try{s=t.fn(e)}catch(l){return t.pure&&(t.state=zt,t.owned&&t.owned.forEach(Ge),t.owned=null),t.updatedAt=n+1,Ds(l)}finally{ot=c,ct=o}(!t.updatedAt||t.updatedAt<=n)&&(t.updatedAt!=null&&"observers"in t?_s(t,s):t.value=s,t.updatedAt=n)}function Ln(t,e,n,s=zt,o){const c={fn:t,state:s,updatedAt:null,owned:null,sources:null,sourceSlots:null,cleanups:null,value:e,owner:ct,context:ct?ct.context:null,pure:n};return ct===null||ct!==Cs&&(ct.owned?ct.owned.push(c):ct.owned=[c]),c}function Ne(t){if(t.state===0)return;if(t.state===Ie)return He(t);if(t.suspense&&Wt(t.suspense.inFallback))return t.suspense.effects.push(t);const e=[t];for(;(t=t.owner)&&(!t.updatedAt||t.updatedAt=0;n--)if(t=e[n],t.state===zt)pe(t);else if(t.state===Ie){const s=ft;ft=null,ye(()=>He(t,e[0]),!1),ft=s}}function ye(t,e){if(ft)return t();let n=!1;e||(ft=[]),It?n=!0:It=[],qe++;try{const s=t();return Io(n),s}catch(s){n||(It=null),ft=null,Ds(s)}}function Io(t){if(ft&&(Ts(ft),ft=null),t)return;const e=It;It=null,e.length&&ye(()=>$s(e),!1)}function Ts(t){for(let e=0;e=0;e--)Ge(t.owned[e]);t.owned=null}if(t.cleanups){for(e=t.cleanups.length-1;e>=0;e--)t.cleanups[e]();t.cleanups=null}t.state=0}function Ho(t){return t instanceof Error?t:new Error(typeof t=="string"?t:"Unknown error",{cause:t})}function Ds(t,e=ct){throw Ho(t)}function hn(t){if(typeof t=="function"&&!t.length)return hn(t());if(Array.isArray(t)){const e=[];for(let n=0;nt(e||{}))}function Ae(){return!0}const pn={get(t,e,n){return e===ke?n:t.get(e)},has(t,e){return e===ke?!0:t.has(e)},set:Ae,deleteProperty:Ae,getOwnPropertyDescriptor(t,e){return{configurable:!0,enumerable:!0,get(){return t.get(e)},set:Ae,deleteProperty:Ae}},ownKeys(t){return t.keys()}};function an(t){return(t=typeof t=="function"?t():t)?t:{}}function Ro(){for(let t=0,e=this.length;t=0;r--){const i=an(t[r])[l];if(i!==void 0)return i}},has(l){for(let r=t.length-1;r>=0;r--)if(l in an(t[r]))return!0;return!1},keys(){const l=[];for(let r=0;r=0;l--){const r=t[l];if(!r)continue;const i=Object.getOwnPropertyNames(r);for(let u=i.length-1;u>=0;u--){const a=i[u];if(a==="__proto__"||a==="constructor")continue;const f=Object.getOwnPropertyDescriptor(r,a);if(!s[a])s[a]=f.get?{enumerable:!0,configurable:!0,get:Ro.bind(n[a]=[f.get.bind(r)])}:f.value!==void 0?f:void 0;else{const p=n[a];p&&(f.get?p.push(f.get.bind(r)):f.value!==void 0&&p.push(()=>f.value))}}}const o={},c=Object.keys(s);for(let l=c.length-1;l>=0;l--){const r=c[l],i=s[r];i&&i.get?Object.defineProperty(o,r,i):o[r]=i?i.value:void 0}return o}function Ls(t,...e){if(ke in t){const o=new Set(e.length>1?e.flat():e[0]),c=e.map(l=>new Proxy({get(r){return l.includes(r)?t[r]:void 0},has(r){return l.includes(r)&&r in t},keys(){return l.filter(r=>r in t)}},pn));return c.push(new Proxy({get(l){return o.has(l)?void 0:t[l]},has(l){return o.has(l)?!1:l in t},keys(){return Object.keys(t).filter(l=>!o.has(l))}},pn)),c}const n={},s=e.map(()=>({}));for(const o of Object.getOwnPropertyNames(t)){const c=Object.getOwnPropertyDescriptor(t,o),l=!c.get&&!c.set&&c.enumerable&&c.writable&&c.configurable;let r=!1,i=0;for(const u of e)u.includes(o)&&(r=!0,l?s[i][o]=c.value:Object.defineProperty(s[i],o,c)),++i;r||(l?n[o]=c.value:Object.defineProperty(n,o,c))}return[...s,n]}const jo=["allowfullscreen","async","autofocus","autoplay","checked","controls","default","disabled","formnovalidate","hidden","indeterminate","inert","ismap","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","seamless","selected"],Fo=new Set(["className","value","readOnly","formNoValidate","isMap","noModule","playsInline",...jo]),zo=new Set(["innerHTML","textContent","innerText","children"]),Bo=Object.assign(Object.create(null),{className:"class",htmlFor:"for"}),Uo=Object.assign(Object.create(null),{class:"className",formnovalidate:{$:"formNoValidate",BUTTON:1,INPUT:1},ismap:{$:"isMap",IMG:1},nomodule:{$:"noModule",SCRIPT:1},playsinline:{$:"playsInline",VIDEO:1},readonly:{$:"readOnly",INPUT:1,TEXTAREA:1}});function Vo(t,e){const n=Uo[t];return typeof n=="object"?n[e]?n.$:void 0:n}const Ko=new Set(["beforeinput","click","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"]),qo=new Set(["altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignObject","g","glyph","glyphRef","hkern","image","line","linearGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","set","stop","svg","switch","symbol","text","textPath","tref","tspan","use","view","vkern"]),Go={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"};function Wo(t,e,n){let s=n.length,o=e.length,c=s,l=0,r=0,i=e[o-1].nextSibling,u=null;for(;la-r){const h=e[l];for(;r{o=c,e===document?t():ht(e,t(),e.firstChild?null:void 0,n)},s.owner),()=>{o(),e.textContent=""}}function Dt(t,e,n){let s;const o=()=>{const l=document.createElement("template");return l.innerHTML=t,n?l.content.firstChild.firstChild:l.content.firstChild},c=e?()=>Wt(()=>document.importNode(s||(s=o()),!0)):()=>(s||(s=o())).cloneNode(!0);return c.cloneNode=c,c}function ks(t,e=window.document){const n=e[Jn]||(e[Jn]=new Set);for(let s=0,o=t.length;so.call(t,n[1],c))}else t.addEventListener(e,n)}function Qo(t,e,n={}){const s=Object.keys(e||{}),o=Object.keys(n);let c,l;for(c=0,l=o.length;co.children=ne(t,e.children,o.children)),xt(()=>e.ref&&e.ref(t)),xt(()=>nc(t,e,n,!0,o,!0)),o}function ec(t,e,n){return Wt(()=>t(e,n))}function ht(t,e,n,s){if(n!==void 0&&!s&&(s=[]),typeof e!="function")return ne(t,e,s,n);xt(o=>ne(t,e(),o,n),s)}function nc(t,e,n,s,o={},c=!1){e||(e={});for(const l in o)if(!(l in e)){if(l==="children")continue;o[l]=es(t,l,null,o[l],n,c)}for(const l in e){if(l==="children"){s||ne(t,e.children);continue}const r=e[l];o[l]=es(t,l,r,o[l],n,c)}}function sc(t){return t.toLowerCase().replace(/-([a-z])/g,(e,n)=>n.toUpperCase())}function ts(t,e,n){const s=e.trim().split(/\s+/);for(let o=0,c=s.length;o-1&&Go[e.split(":")[0]];f?Zo(t,f,e,n):yn(t,Bo[e]||e,n)}return n}function oc(t){const e=`$$${t.type}`;let n=t.composedPath&&t.composedPath()[0]||t.target;for(t.target!==n&&Object.defineProperty(t,"target",{configurable:!0,value:n}),Object.defineProperty(t,"currentTarget",{configurable:!0,get(){return n||document}});n;){const s=n[e];if(s&&!n.disabled){const o=n[`${e}Data`];if(o!==void 0?s.call(n,o,t):s.call(n,t),t.cancelBubble)return}n=n._$host||n.parentNode||n.host}}function ne(t,e,n,s,o){for(;typeof n=="function";)n=n();if(e===n)return n;const c=typeof e,l=s!==void 0;if(t=l&&n[0]&&n[0].parentNode||t,c==="string"||c==="number")if(c==="number"&&(e=e.toString()),l){let r=n[0];r&&r.nodeType===3?r.data!==e&&(r.data=e):r=document.createTextNode(e),n=Zt(t,n,s,r)}else n!==""&&typeof n=="string"?n=t.firstChild.data=e:n=t.textContent=e;else if(e==null||c==="boolean")n=Zt(t,n,s);else{if(c==="function")return xt(()=>{let r=e();for(;typeof r=="function";)r=r();n=ne(t,r,n,s)}),()=>n;if(Array.isArray(e)){const r=[],i=n&&Array.isArray(n);if(gn(r,e,n,o))return xt(()=>n=ne(t,r,n,s,!0)),()=>n;if(r.length===0){if(n=Zt(t,n,s),l)return n}else i?n.length===0?ns(t,r,s):Wo(t,n,r):(n&&Zt(t),ns(t,r));n=r}else if(e.nodeType){if(Array.isArray(n)){if(l)return n=Zt(t,n,s,e);Zt(t,n,null,e)}else n==null||n===""||!t.firstChild?t.appendChild(e):t.replaceChild(e,t.firstChild);n=e}}return n}function gn(t,e,n,s){let o=!1;for(let c=0,l=e.length;c=0;l--){const r=e[l];if(o!==r){const i=r.parentNode===t;!c&&!l?i?t.replaceChild(o,r):t.insertBefore(o,n):i&&r.remove()}else c=!0}}else t.insertBefore(o,n);return[o]}const cc="http://www.w3.org/2000/svg";function rc(t,e=!1){return e?document.createElementNS(cc,t):document.createElement(t)}function lc(t){const[e,n]=Ls(t,["component"]),s=_t(()=>e.component);return _t(()=>{const o=s();switch(typeof o){case"function":return Wt(()=>o(n));case"string":const c=qo.has(o),l=rc(o,c);return tc(l,n,c),l}})}/*! + * OverlayScrollbars + * Version: 2.9.2 + * + * Copyright (c) Rene Haas | KingSora. + * https://github.com/KingSora + * + * Released under the MIT license. + */const pt=(t,e)=>{const{o:n,i:s,u:o}=t;let c=n,l;const r=(a,f)=>{const p=c,$=a,h=f||(s?!s(p,$):p!==$);return(h||o)&&(c=$,l=p),[c,h,l]};return[e?a=>r(e(c,l),a):r,a=>[c,!!a,l]]},ic=typeof window<"u"&&typeof HTMLElement<"u"&&!!window.document,dt=ic?window:{},Is=Math.max,ac=Math.min,mn=Math.round,Re=Math.abs,ss=Math.sign,Ns=dt.cancelAnimationFrame,Mn=dt.requestAnimationFrame,je=dt.setTimeout,bn=dt.clearTimeout,We=t=>typeof dt[t]<"u"?dt[t]:void 0,uc=We("MutationObserver"),os=We("IntersectionObserver"),Fe=We("ResizeObserver"),Te=We("ScrollTimeline"),In=t=>t===void 0,Xe=t=>t===null,Tt=t=>typeof t=="number",ge=t=>typeof t=="string",Nn=t=>typeof t=="boolean",wt=t=>typeof t=="function",Pt=t=>Array.isArray(t),ze=t=>typeof t=="object"&&!Pt(t)&&!Xe(t),Hn=t=>{const e=!!t&&t.length,n=Tt(e)&&e>-1&&e%1==0;return Pt(t)||!wt(t)&&n?e>0&&ze(t)?e-1 in t:!0:!1},Be=t=>!!t&&t.constructor===Object,Ue=t=>t instanceof HTMLElement,Ze=t=>t instanceof Element;function Z(t,e){if(Hn(t))for(let n=0;ne(t[n],n,t));return t}const Hs=(t,e)=>t.indexOf(e)>=0,fe=(t,e)=>t.concat(e),nt=(t,e,n)=>(!n&&!ge(e)&&Hn(e)?Array.prototype.push.apply(t,e):t.push(e),t),Bt=t=>Array.from(t||[]),Rn=t=>Pt(t)?t:!ge(t)&&Hn(t)?Bt(t):[t],vn=t=>!!t&&!t.length,wn=t=>Bt(new Set(t)),mt=(t,e,n)=>{Z(t,o=>o&&o.apply(void 0,e||[])),!n&&(t.length=0)},Rs="paddingTop",js="paddingRight",Fs="paddingLeft",zs="paddingBottom",Bs="marginLeft",Us="marginRight",Vs="marginBottom",Ks="overflowX",qs="overflowY",Ye="width",Qe="height",jt="visible",Kt="hidden",se="scroll",fc=t=>{const e=String(t||"");return e?e[0].toUpperCase()+e.slice(1):""},Je=(t,e,n,s)=>{if(t&&e){let o=!0;return Z(n,c=>{const l=s?s(t[c]):t[c],r=s?s(e[c]):e[c];l!==r&&(o=!1)}),o}return!1},Gs=(t,e)=>Je(t,e,["w","h"]),Pe=(t,e)=>Je(t,e,["x","y"]),dc=(t,e)=>Je(t,e,["t","r","b","l"]),qt=()=>{},M=(t,...e)=>t.bind(0,...e),Qt=t=>{let e;const n=t?je:Mn,s=t?bn:Ns;return[o=>{s(e),e=n(()=>o(),wt(t)?t():t)},()=>s(e)]},Sn=(t,e)=>{const{_:n,v:s,p:o,S:c}=e||{};let l,r,i,u,a=qt;const f=function(I){a(),bn(l),u=l=r=void 0,a=qt,t.apply(this,I)},p=O=>c&&r?c(r,O):O,$=()=>{a!==qt&&f(p(i)||i)},h=function(){const I=Bt(arguments),b=wt(n)?n():n;if(Tt(b)&&b>=0){const j=wt(s)?s():s,v=Tt(j)&&j>=0,A=b>0?je:Mn,E=b>0?bn:Ns,R=p(I)||I,k=f.bind(0,R);let w;a(),o&&!u?(k(),u=!0,w=A(()=>u=void 0,b)):(w=A(k,b),v&&!l&&(l=je($,j))),a=()=>E(w),r=i=R}else f(I)};return h.m=$,h},Ws=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),$t=t=>t?Object.keys(t):[],V=(t,e,n,s,o,c,l)=>{const r=[e,n,s,o,c,l];return(typeof t!="object"||Xe(t))&&!wt(t)&&(t={}),Z(r,i=>{Z(i,(u,a)=>{const f=i[a];if(t===f)return!0;const p=Pt(f);if(f&&Be(f)){const $=t[a];let h=$;p&&!Pt($)?h=[]:!p&&!Be($)&&(h={}),t[a]=V(h,f)}else t[a]=p?f.slice():f})}),t},Xs=(t,e)=>Z(V({},t),(n,s,o)=>{n===void 0?delete o[s]:e&&n&&Be(n)&&(o[s]=Xs(n,e))}),jn=t=>!$t(t).length,Zs=(t,e,n)=>Is(t,ac(e,n)),Gt=t=>wn((Pt(t)?t:(t||"").split(" ")).filter(e=>e)),Fn=(t,e)=>t&&t.getAttribute(e),cs=(t,e)=>t&&t.hasAttribute(e),kt=(t,e,n)=>{Z(Gt(e),s=>{t&&t.setAttribute(s,String(n||""))})},Ot=(t,e)=>{Z(Gt(e),n=>t&&t.removeAttribute(n))},tn=(t,e)=>{const n=Gt(Fn(t,e)),s=M(kt,t,e),o=(c,l)=>{const r=new Set(n);return Z(Gt(c),i=>{r[l](i)}),Bt(r).join(" ")};return{O:c=>s(o(c,"delete")),$:c=>s(o(c,"add")),C:c=>{const l=Gt(c);return l.reduce((r,i)=>r&&n.includes(i),l.length>0)}}},Ys=(t,e,n)=>(tn(t,e).O(n),M(zn,t,e,n)),zn=(t,e,n)=>(tn(t,e).$(n),M(Ys,t,e,n)),Ve=(t,e,n,s)=>(s?zn:Ys)(t,e,n),Bn=(t,e,n)=>tn(t,e).C(n),Qs=t=>tn(t,"class"),Js=(t,e)=>{Qs(t).O(e)},Un=(t,e)=>(Qs(t).$(e),M(Js,t,e)),to=(t,e)=>{const n=e?Ze(e)&&e:document;return n?Bt(n.querySelectorAll(t)):[]},hc=(t,e)=>{const n=e?Ze(e)&&e:document;return n&&n.querySelector(t)},xn=(t,e)=>Ze(t)&&t.matches(e),eo=t=>xn(t,"body"),$n=t=>t?Bt(t.childNodes):[],de=t=>t&&t.parentElement,Jt=(t,e)=>Ze(t)&&t.closest(e),Cn=t=>(t||document).activeElement,pc=(t,e,n)=>{const s=Jt(t,e),o=t&&hc(n,s),c=Jt(o,e)===s;return s&&o?s===t||o===t||c&&Jt(Jt(t,n),e)!==s:!1},oe=t=>{Z(Rn(t),e=>{const n=de(e);e&&n&&n.removeChild(e)})},yt=(t,e)=>M(oe,t&&e&&Z(Rn(e),n=>{n&&t.appendChild(n)})),te=t=>{const e=document.createElement("div");return kt(e,"class",t),e},no=t=>{const e=te();return e.innerHTML=t.trim(),Z($n(e),n=>oe(n))},rs=(t,e)=>t.getPropertyValue(e)||t[e]||"",so=t=>{const e=t||0;return isFinite(e)?e:0},Ee=t=>so(parseFloat(t||"")),On=t=>Math.round(t*1e4)/1e4,oo=t=>`${On(so(t))}px`;function he(t,e){t&&e&&Z(e,(n,s)=>{try{const o=t.style,c=Xe(n)||Nn(n)?"":Tt(n)?oo(n):n;s.indexOf("--")===0?o.setProperty(s,c):o[s]=c}catch{}})}function Nt(t,e,n){const s=ge(e);let o=s?"":{};if(t){const c=dt.getComputedStyle(t,n)||t.style;o=s?rs(c,e):Bt(e).reduce((l,r)=>(l[r]=rs(c,r),l),o)}return o}const ls=(t,e,n)=>{const s=e?`${e}-`:"",o=n?`-${n}`:"",c=`${s}top${o}`,l=`${s}right${o}`,r=`${s}bottom${o}`,i=`${s}left${o}`,u=Nt(t,[c,l,r,i]);return{t:Ee(u[c]),r:Ee(u[l]),b:Ee(u[r]),l:Ee(u[i])}},yc=(t,e)=>`translate${ze(t)?`(${t.x},${t.y})`:`${e?"X":"Y"}(${t})`}`,gc=t=>!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length),mc={w:0,h:0},en=(t,e)=>e?{w:e[`${t}Width`],h:e[`${t}Height`]}:mc,bc=t=>en("inner",t||dt),ee=M(en,"offset"),co=M(en,"client"),Ke=M(en,"scroll"),Vn=t=>{const e=parseFloat(Nt(t,Ye))||0,n=parseFloat(Nt(t,Qe))||0;return{w:e-mn(e),h:n-mn(n)}},un=t=>t.getBoundingClientRect(),vc=t=>!!t&&gc(t),An=t=>!!(t&&(t[Qe]||t[Ye])),ro=(t,e)=>{const n=An(t);return!An(e)&&n},is=(t,e,n,s)=>{Z(Gt(e),o=>{t&&t.removeEventListener(o,n,s)})},Q=(t,e,n,s)=>{var o;const c=(o=s&&s.H)!=null?o:!0,l=s&&s.I||!1,r=s&&s.A||!1,i={passive:c,capture:l};return M(mt,Gt(e).map(u=>{const a=r?f=>{is(t,u,a,l),n&&n(f)}:n;return t&&t.addEventListener(u,a,i),M(is,t,u,a,l)}))},lo=t=>t.stopPropagation(),En=t=>t.preventDefault(),io=t=>lo(t)||En(t),At=(t,e)=>{const{x:n,y:s}=Tt(e)?{x:e,y:e}:e||{};Tt(n)&&(t.scrollLeft=n),Tt(s)&&(t.scrollTop=s)},gt=t=>({x:t.scrollLeft,y:t.scrollTop}),ao=()=>({D:{x:0,y:0},T:{x:0,y:0}}),wc=(t,e)=>{const{D:n,T:s}=t,{w:o,h:c}=e,l=(f,p,$)=>{let h=ss(f)*$,O=ss(p)*$;if(h===O){const I=Re(f),b=Re(p);O=I>b?0:O,h=I{const n=(s,o)=>s===0&&s<=o;return{x:n(t.x,e.x),y:n(t.y,e.y)}},us=({D:t,T:e},n)=>{const s=(o,c,l)=>Zs(0,1,(o-l)/(o-c)||0);return{x:s(t.x,e.x,n.x),y:s(t.y,e.y,n.y)}},_n=t=>{t&&t.focus&&t.focus({preventScroll:!0})},fs=(t,e)=>{Z(Rn(e),t)},Tn=t=>{const e=new Map,n=(c,l)=>{if(c){const r=e.get(c);fs(i=>{r&&r[i?"delete":"clear"](i)},l)}else e.forEach(r=>{r.clear()}),e.clear()},s=(c,l)=>{if(ge(c)){const u=e.get(c)||new Set;return e.set(c,u),fs(a=>{wt(a)&&u.add(a)},l),M(n,c,l)}Nn(l)&&l&&n();const r=$t(c),i=[];return Z(r,u=>{const a=c[u];a&&nt(i,s(u,a))}),M(mt,i)},o=(c,l)=>{Z(Bt(e.get(c)),r=>{l&&!vn(l)?r.apply(0,l):r()})};return s(t||{}),[s,n,o]},ds=t=>JSON.stringify(t,(e,n)=>{if(wt(n))throw 0;return n}),hs=(t,e)=>t?`${e}`.split(".").reduce((n,s)=>n&&Ws(n,s)?n[s]:void 0,t):void 0,Sc={paddingAbsolute:!1,showNativeOverlaidScrollbars:!1,update:{elementEvents:[["img","load"]],debounce:[0,33],attributes:null,ignoreMutation:null},overflow:{x:"scroll",y:"scroll"},scrollbars:{theme:"os-theme-dark",visibility:"auto",autoHide:"never",autoHideDelay:1300,autoHideSuspend:!1,dragScroll:!0,clickScroll:!1,pointers:["mouse","touch","pen"]}},uo=(t,e)=>{const n={},s=fe($t(e),$t(t));return Z(s,o=>{const c=t[o],l=e[o];if(ze(c)&&ze(l))V(n[o]={},uo(c,l)),jn(n[o])&&delete n[o];else if(Ws(e,o)&&l!==c){let r=!0;if(Pt(c)||Pt(l))try{ds(c)===ds(l)&&(r=!1)}catch{}r&&(n[o]=l)}}),n},ps=(t,e,n)=>s=>[hs(t,s),n||hs(e,s)!==void 0],re="data-overlayscrollbars",De="os-environment",_e=`${De}-scrollbar-hidden`,fn=`${re}-initialize`,Le="noClipping",ys=`${re}-body`,Ft=re,xc="host",Mt=`${re}-viewport`,$c=Ks,Cc=qs,Oc="arrange",fo="measuring",Ac="scrolling",ho="scrollbarHidden",Ec="noContent",Pn=`${re}-padding`,gs=`${re}-content`,Kn="os-size-observer",_c=`${Kn}-appear`,Tc=`${Kn}-listener`,Pc="os-trinsic-observer",Dc="os-theme-none",bt="os-scrollbar",Lc=`${bt}-rtl`,kc=`${bt}-horizontal`,Mc=`${bt}-vertical`,po=`${bt}-track`,qn=`${bt}-handle`,Ic=`${bt}-visible`,Nc=`${bt}-cornerless`,ms=`${bt}-interaction`,bs=`${bt}-unusable`,Dn=`${bt}-auto-hide`,vs=`${Dn}-hidden`,ws=`${bt}-wheel`,Hc=`${po}-interactive`,Rc=`${qn}-interactive`;let yo;const jc=()=>yo,Fc=t=>{yo=t};let dn;const zc=()=>{const t=(v,A,E)=>{yt(document.body,v),yt(document.body,v);const L=co(v),R=ee(v),k=Vn(A);return E&&oe(v),{x:R.h-L.h+k.h,y:R.w-L.w+k.w}},e=v=>{let A=!1;const E=Un(v,_e);try{A=Nt(v,"scrollbar-width")==="none"||Nt(v,"display","::-webkit-scrollbar")==="none"}catch{}return E(),A},n=`.${De}{scroll-behavior:auto!important;position:fixed;opacity:0;visibility:hidden;overflow:scroll;height:200px;width:200px;z-index:-1}.${De} div{width:200%;height:200%;margin:10px 0}.${_e}{scrollbar-width:none!important}.${_e}::-webkit-scrollbar,.${_e}::-webkit-scrollbar-corner{appearance:none!important;display:none!important;width:0!important;height:0!important}`,o=no(`
`)[0],c=o.firstChild,l=o.lastChild,r=jc();r&&(l.nonce=r);const[i,,u]=Tn(),[a,f]=pt({o:t(o,c),i:Pe},M(t,o,c,!0)),[p]=f(),$=e(o),h={x:p.x===0,y:p.y===0},O={elements:{host:null,padding:!$,viewport:v=>$&&eo(v)&&v,content:!1},scrollbars:{slot:!0},cancel:{nativeScrollbarsOverlaid:!1,body:null}},I=V({},Sc),b=M(V,{},I),N=M(V,{},O),j={k:p,M:h,R:$,V:!!Te,L:M(i,"r"),U:N,P:v=>V(O,v)&&N(),N:b,q:v=>V(I,v)&&b(),B:V({},O),F:V({},I)};if(Ot(o,"style"),oe(o),Q(dt,"resize",()=>{u("r",[])}),wt(dt.matchMedia)&&!$&&(!h.x||!h.y)){const v=A=>{const E=dt.matchMedia(`(resolution: ${dt.devicePixelRatio}dppx)`);Q(E,"change",()=>{A(),v(A)},{A:!0})};v(()=>{const[A,E]=a();V(j.k,A),u("r",[E])})}return j},Lt=()=>(dn||(dn=zc()),dn),go=(t,e)=>wt(e)?e.apply(0,t):e,Bc=(t,e,n,s)=>{const o=In(s)?n:s;return go(t,o)||e.apply(0,t)},mo=(t,e,n,s)=>{const o=In(s)?n:s,c=go(t,o);return!!c&&(Ue(c)?c:e.apply(0,t))},Uc=(t,e)=>{const{nativeScrollbarsOverlaid:n,body:s}=e||{},{M:o,R:c,U:l}=Lt(),{nativeScrollbarsOverlaid:r,body:i}=l().cancel,u=n??r,a=In(s)?i:s,f=(o.x||o.y)&&u,p=t&&(Xe(a)?!c:a);return!!f||!!p},Gn=new WeakMap,Vc=(t,e)=>{Gn.set(t,e)},Kc=t=>{Gn.delete(t)},bo=t=>Gn.get(t),qc=(t,e,n)=>{let s=!1;const o=n?new WeakMap:!1,c=()=>{s=!0},l=r=>{if(o&&n){const i=n.map(u=>{const[a,f]=u||[];return[f&&a?(r||to)(a,t):[],f]});Z(i,u=>Z(u[0],a=>{const f=u[1],p=o.get(a)||[];if(t.contains(a)&&f){const h=Q(a,f,O=>{s?(h(),o.delete(a)):e(O)});o.set(a,nt(p,h))}else mt(p),o.delete(a)}))}};return l(),[c,l]},Ss=(t,e,n,s)=>{let o=!1;const{j:c,X:l,Y:r,W:i,J:u,G:a}=s||{},f=Sn(()=>o&&n(!0),{_:33,v:99}),[p,$]=qc(t,f,r),h=c||[],O=l||[],I=fe(h,O),b=(j,v)=>{if(!vn(v)){const A=u||qt,E=a||qt,L=[],R=[];let k=!1,w=!1;if(Z(v,g=>{const{attributeName:T,target:S,type:H,oldValue:U,addedNodes:B,removedNodes:G}=g,X=H==="attributes",K=H==="childList",tt=t===S,y=X&&T,m=y&&Fn(S,T||""),x=ge(m)?m:null,C=y&&U!==x,d=Hs(O,T)&&C;if(e&&(K||!tt)){const P=X&&C,_=P&&i&&xn(S,i),z=(_?!A(S,T,U,x):!X||P)&&!E(g,!!_,t,s);Z(B,Y=>nt(L,Y)),Z(G,Y=>nt(L,Y)),w=w||z}!e&&tt&&C&&!A(S,T,U,x)&&(nt(R,T),k=k||d)}),$(g=>wn(L).reduce((T,S)=>(nt(T,to(g,S)),xn(S,g)?nt(T,S):T),[])),e)return!j&&w&&n(!1),[!1];if(!vn(R)||k){const g=[wn(R),k];return!j&&n.apply(0,g),g}}},N=new uc(M(b,!1));return[()=>(N.observe(t,{attributes:!0,attributeOldValue:!0,attributeFilter:I,subtree:e,childList:e,characterData:e}),o=!0,()=>{o&&(p(),N.disconnect(),o=!1)}),()=>{if(o)return f.m(),b(!0,N.takeRecords())}]},vo={},wo={},Gc=t=>{Z(t,e=>Z(e,(n,s)=>{vo[s]=e[s]}))},So=(t,e,n)=>$t(t).map(s=>{const{static:o,instance:c}=t[s],[l,r,i]=n||[],u=n?c:o;if(u){const a=n?u(l,r,e):u(e);return(i||wo)[s]=a}}),me=t=>wo[t],Wc="__osOptionsValidationPlugin",Xc="__osSizeObserverPlugin",Zc=(t,e)=>{const{M:n}=e,[s,o]=t("showNativeOverlaidScrollbars");return[s&&n.x&&n.y,o]},ce=t=>t.indexOf(jt)===0,Yc=(t,e)=>{const n=(o,c,l,r)=>{const i=o===jt?Kt:o.replace(`${jt}-`,""),u=ce(o),a=ce(l);return!c&&!r?Kt:u&&a?jt:u?c&&r?i:c?jt:Kt:c?i:a&&r?jt:Kt},s={x:n(e.x,t.x,e.y,t.y),y:n(e.y,t.y,e.x,t.x)};return{K:s,Z:{x:s.x===se,y:s.y===se}}},xo="__osScrollbarsHidingPlugin",Qc="__osClickScrollPlugin",$o=(t,e,n)=>{const{dt:s}=n||{},o=me(Xc),[c]=pt({o:!1,u:!0});return()=>{const l=[],i=no(`
`)[0],u=i.firstChild,a=f=>{const p=f instanceof ResizeObserverEntry;let $=!1,h=!1;if(p){const[O,,I]=c(f.contentRect),b=An(O);h=ro(O,I),$=!h&&!b}else h=f===!0;$||e({ft:!0,dt:h})};if(Fe){const f=new Fe(p=>a(p.pop()));f.observe(u),nt(l,()=>{f.disconnect()})}else if(o){const[f,p]=o(u,a,s);nt(l,fe([Un(i,_c),Q(i,"animationstart",f)],p))}else return qt;return M(mt,nt(l,yt(t,i)))}},Jc=(t,e)=>{let n;const s=i=>i.h===0||i.isIntersecting||i.intersectionRatio>0,o=te(Pc),[c]=pt({o:!1}),l=(i,u)=>{if(i){const a=c(s(i)),[,f]=a;return f&&!u&&e(a)&&[a]}},r=(i,u)=>l(u.pop(),i);return[()=>{const i=[];if(os)n=new os(M(r,!1),{root:t}),n.observe(o),nt(i,()=>{n.disconnect()});else{const u=()=>{const a=ee(o);l(a)};nt(i,$o(o,u)()),u()}return M(mt,nt(i,yt(t,o)))},()=>n&&r(!0,n.takeRecords())]},tr=(t,e,n,s)=>{let o,c,l,r,i,u;const a=`[${Ft}]`,f=`[${Mt}]`,p=["id","class","style","open","wrap","cols","rows"],{vt:$,gt:h,ot:O,ht:I,bt:b,nt:N,wt:j,yt:v,St:A,Ot:E}=t,L=d=>Nt(d,"direction")==="rtl",R={$t:!1,ct:L($)},k=Lt(),w=me(xo),[g]=pt({i:Gs,o:{w:0,h:0}},()=>{const d=w&&w.tt(t,e,R,k,n).ut,_=!(j&&N)&&Bn(h,Ft,Le),D=!N&&v(Oc),z=D&>(I),Y=z&&E(),st=A(fo,_),J=D&&d&&d()[0],it=Ke(O),F=Vn(O);return J&&J(),At(I,z),Y&&Y(),_&&st(),{w:it.w+F.w,h:it.h+F.h}}),T=Sn(s,{_:()=>o,v:()=>c,S(d,P){const[_]=d,[D]=P;return[fe($t(_),$t(D)).reduce((z,Y)=>(z[Y]=_[Y]||D[Y],z),{})]}}),S=d=>{const P=L($);V(d,{Ct:u!==P}),V(R,{ct:P}),u=P},H=(d,P)=>{const[_,D]=d,z={xt:D};return V(R,{$t:_}),!P&&s(z),z},U=({ft:d,dt:P})=>{const D=!(d&&!P)&&k.R?T:s,z={ft:d||P,dt:P};S(z),D(z)},B=(d,P)=>{const[,_]=g(),D={Ht:_};return S(D),_&&!P&&(d?s:T)(D),D},G=(d,P,_)=>{const D={Et:P};return S(D),P&&!_&&T(D),D},[X,K]=b?Jc(h,H):[],tt=!N&&$o(h,U,{dt:!0}),[y,m]=Ss(h,!1,G,{X:p,j:p}),x=N&&Fe&&new Fe(d=>{const P=d[d.length-1].contentRect;U({ft:!0,dt:ro(P,i)}),i=P}),C=Sn(()=>{const[,d]=g();s({Ht:d})},{_:222,p:!0});return[()=>{x&&x.observe(h);const d=tt&&tt(),P=X&&X(),_=y(),D=k.L(z=>{z?T({zt:z}):C()});return()=>{x&&x.disconnect(),d&&d(),P&&P(),r&&r(),_(),D()}},({It:d,At:P,Dt:_})=>{const D={},[z]=d("update.ignoreMutation"),[Y,st]=d("update.attributes"),[J,it]=d("update.elementEvents"),[F,rt]=d("update.debounce"),ut=it||st,lt=P||_,at=et=>wt(z)&&z(et);if(ut){l&&l(),r&&r();const[et,W]=Ss(b||O,!0,B,{j:fe(p,Y||[]),Y:J,W:a,G:(q,vt)=>{const{target:St,attributeName:Ht}=q;return(!vt&&Ht&&!N?pc(St,a,f):!1)||!!Jt(St,`.${bt}`)||!!at(q)}});r=et(),l=W}if(rt)if(T.m(),Pt(F)){const et=F[0],W=F[1];o=Tt(et)&&et,c=Tt(W)&&W}else Tt(F)?(o=F,c=!1):(o=!1,c=!1);if(lt){const et=m(),W=K&&K(),q=l&&l();et&&V(D,G(et[0],et[1],lt)),W&&V(D,H(W[0],lt)),q&&V(D,B(q[0],lt))}return S(D),D},R]},er=(t,e,n,s)=>{const o="--os-viewport-percent",c="--os-scroll-percent",l="--os-scroll-direction",{U:r}=Lt(),{scrollbars:i}=r(),{slot:u}=i,{vt:a,gt:f,ot:p,Tt:$,ht:h,wt:O,nt:I}=e,{scrollbars:b}=$?{}:t,{slot:N}=b||{},j=[],v=[],A=[],E=mo([a,f,p],()=>I&&O?a:f,u,N),L=y=>{if(Te){const m=new Te({source:h,axis:y});return{Mt:C=>{const d=C.kt.animate({clear:["left"],[c]:[0,1]},{timeline:m});return()=>d.cancel()}}}},R={x:L("x"),y:L("y")},k=()=>{const{Rt:y,Vt:m}=n,x=(C,d)=>Zs(0,1,C/(C+d)||0);return{x:x(m.x,y.x),y:x(m.y,y.y)}},w=(y,m,x)=>{const C=x?Un:Js;Z(y,d=>{C(d.kt,m)})},g=(y,m)=>{Z(y,x=>{const[C,d]=m(x);he(C,d)})},T=(y,m,x)=>{const C=Nn(x),d=C?x:!0,P=C?!x:!0;d&&w(v,y,m),P&&w(A,y,m)},S=()=>{const y=k(),m=x=>C=>[C.kt,{[o]:On(x)+""}];g(v,m(y.x)),g(A,m(y.y))},H=()=>{if(!Te){const{Lt:y}=n,m=us(y,gt(h)),x=C=>d=>[d.kt,{[c]:On(C)+""}];g(v,x(m.x)),g(A,x(m.y))}},U=()=>{const{Lt:y}=n,m=as(y),x=C=>d=>[d.kt,{[l]:C?"0":"1"}];g(v,x(m.x)),g(A,x(m.y))},B=()=>{if(I&&!O){const{Rt:y,Lt:m}=n,x=as(m),C=us(m,gt(h)),d=P=>{const{kt:_}=P,D=de(_)===p&&_,z=(Y,st,J)=>{const it=st*Y;return oo(J?it:-it)};return[D,D&&{transform:yc({x:z(C.x,y.x,x.x),y:z(C.y,y.y,x.y)})}]};g(v,d),g(A,d)}},G=y=>{const m=y?"x":"y",C=te(`${bt} ${y?kc:Mc}`),d=te(po),P=te(qn),_={kt:C,Ut:d,Pt:P},D=R[m];return nt(y?v:A,_),nt(j,[yt(C,d),yt(d,P),M(oe,C),D&&D.Mt(_),s(_,T,y)]),_},X=M(G,!0),K=M(G,!1),tt=()=>(yt(E,v[0].kt),yt(E,A[0].kt),M(mt,j));return X(),K(),[{Nt:S,qt:H,Bt:U,Ft:B,jt:T,Xt:{Yt:v,Wt:X,Jt:M(g,v)},Gt:{Yt:A,Wt:K,Jt:M(g,A)}},tt]},nr=(t,e,n,s)=>(o,c,l)=>{const{gt:r,ot:i,nt:u,ht:a,Kt:f,Ot:p}=e,{kt:$,Ut:h,Pt:O}=o,[I,b]=Qt(333),[N,j]=Qt(444),v=L=>{wt(a.scrollBy)&&a.scrollBy({behavior:"smooth",left:L.x,top:L.y})},A=()=>{const L="pointerup pointercancel lostpointercapture",R=`client${l?"X":"Y"}`,k=l?Ye:Qe,w=l?"left":"top",g=l?"w":"h",T=l?"x":"y",S=(U,B)=>G=>{const{Rt:X}=n,K=ee(h)[g]-ee(O)[g],y=B*G/K*X[T];At(a,{[T]:U+y})},H=[];return Q(h,"pointerdown",U=>{const B=Jt(U.target,`.${qn}`)===O,G=B?O:h,X=t.scrollbars,{button:K,isPrimary:tt,pointerType:y}=U,{pointers:m}=X;if(K===0&&tt&&X[B?"dragScroll":"clickScroll"]&&(m||[]).includes(y)){mt(H),j();const C=!B&&U.shiftKey,d=M(un,O),P=M(un,h),_=(W,q)=>(W||d())[w]-(q||P())[w],D=mn(un(a)[k])/ee(a)[g]||1,z=S(gt(a)[T],1/D),Y=U[R],st=d(),J=P(),it=st[k],F=_(st,J)+it/2,rt=Y-J[w],ut=B?0:rt-F,lt=W=>{mt(et),G.releasePointerCapture(W.pointerId)},at=p(),et=[()=>{const W=gt(a);at();const q=gt(a),vt={x:q.x-W.x,y:q.y-W.y};(Re(vt.x)>3||Re(vt.y)>3)&&(p(),At(a,W),v(vt),N(at))},Q(f,L,lt),Q(f,"selectstart",W=>En(W),{H:!1}),Q(h,L,lt),Q(h,"pointermove",W=>{const q=W[R]-Y;(B||C)&&z(ut+q)})];if(G.setPointerCapture(U.pointerId),C)z(ut);else if(!B){const W=me(Qc);if(W){const q=W(z,_,ut,it,rt);nt(et,M(q)),nt(H,M(q,!0))}}}})};let E=!0;return M(mt,[Q(O,"pointermove pointerleave",s),Q($,"pointerenter",()=>{c(ms,!0)}),Q($,"pointerleave pointercancel",()=>{c(ms,!1)}),!u&&Q($,"mousedown",()=>{const L=Cn();(cs(L,Mt)||cs(L,Ft)||L===document.body)&&je(M(_n,i),25)}),Q($,"wheel",L=>{const{deltaX:R,deltaY:k,deltaMode:w}=L;E&&w===0&&de($)===r&&v({x:R,y:k}),E=!1,c(ws,!0),I(()=>{E=!0,c(ws)}),En(L)},{H:!1,I:!0}),Q($,"pointerdown",M(Q,f,"click",io,{A:!0,I:!0,H:!1}),{I:!0}),A(),b,j])},sr=(t,e,n,s,o,c)=>{let l,r,i,u,a,f=qt,p=0;const $=y=>y.pointerType==="mouse",[h,O]=Qt(),[I,b]=Qt(100),[N,j]=Qt(100),[v,A]=Qt(()=>p),[E,L]=er(t,o,s,nr(e,o,s,y=>$(y)&&G())),{gt:R,Qt:k,wt:w}=o,{jt:g,Nt:T,qt:S,Bt:H,Ft:U}=E,B=(y,m)=>{if(A(),y)g(vs);else{const x=M(g,vs,!0);p>0&&!m?v(x):x()}},G=()=>{(i?!l:!u)&&(B(!0),I(()=>{B(!1)}))},X=y=>{g(Dn,y,!0),g(Dn,y,!1)},K=y=>{$(y)&&(l=i,i&&B(!0))},tt=[A,b,j,O,()=>f(),Q(R,"pointerover",K,{A:!0}),Q(R,"pointerenter",K),Q(R,"pointerleave",y=>{$(y)&&(l=!1,i&&B(!1))}),Q(R,"pointermove",y=>{$(y)&&r&&G()}),Q(k,"scroll",y=>{h(()=>{S(),G()}),c(y),U()})];return[()=>M(mt,nt(tt,L())),({It:y,Dt:m,Zt:x,tn:C})=>{const{nn:d,sn:P,en:_,cn:D}=C||{},{Ct:z,dt:Y}=x||{},{ct:st}=n,{M:J}=Lt(),{K:it,rn:F}=s,[rt,ut]=y("showNativeOverlaidScrollbars"),[lt,at]=y("scrollbars.theme"),[et,W]=y("scrollbars.visibility"),[q,vt]=y("scrollbars.autoHide"),[St,Ht]=y("scrollbars.autoHideSuspend"),[le]=y("scrollbars.autoHideDelay"),[be,ve]=y("scrollbars.dragScroll"),[we,Ut]=y("scrollbars.clickScroll"),[Xt,nn]=y("overflow"),sn=Y&&!m,on=F.x||F.y,cn=d||P||D||z||m,Ct=_||W||nn,rn=rt&&J.x&&J.y,ie=(ae,Rt,Se)=>{const ue=ae.includes(se)&&(et===jt||et==="auto"&&Rt===se);return g(Ic,ue,Se),ue};if(p=le,sn&&(St&&on?(X(!1),f(),N(()=>{f=Q(k,"scroll",M(X,!0),{A:!0})})):X(!0)),ut&&g(Dc,rn),at&&(g(a),g(lt,!0),a=lt),Ht&&!St&&X(!0),vt&&(r=q==="move",i=q==="leave",u=q==="never",B(u,!0)),ve&&g(Rc,be),Ut&&g(Hc,we),Ct){const ae=ie(Xt.x,it.x,!0),Rt=ie(Xt.y,it.y,!1);g(Nc,!(ae&&Rt))}cn&&(S(),T(),U(),D&&H(),g(bs,!F.x,!0),g(bs,!F.y,!1),g(Lc,st&&!w))},{},E]},or=t=>{const e=Lt(),{U:n,R:s}=e,{elements:o}=n(),{padding:c,viewport:l,content:r}=o,i=Ue(t),u=i?{}:t,{elements:a}=u,{padding:f,viewport:p,content:$}=a||{},h=i?t:u.target,O=eo(h),I=h.ownerDocument,b=I.documentElement,N=()=>I.defaultView||dt,j=M(Bc,[h]),v=M(mo,[h]),A=M(te,""),E=M(j,A,l),L=M(v,A,r),R=F=>{const rt=ee(F),ut=Ke(F),lt=Nt(F,Ks),at=Nt(F,qs);return ut.w-rt.w>0&&!ce(lt)||ut.h-rt.h>0&&!ce(at)},k=E(p),w=k===h,g=w&&O,T=!w&&L($),S=!w&&k===T,H=g?b:k,U=g?H:h,B=!w&&v(A,c,f),G=!S&&T,X=[G,H,B,U].map(F=>Ue(F)&&!de(F)&&F),K=F=>F&&Hs(X,F),tt=!K(H)&&R(H)?H:h,y=g?b:H,x={vt:h,gt:U,ot:H,ln:B,bt:G,ht:y,Qt:g?I:H,an:O?b:tt,Kt:I,wt:O,Tt:i,nt:w,un:N,yt:F=>Bn(H,Mt,F),St:(F,rt)=>Ve(H,Mt,F,rt),Ot:()=>Ve(y,Mt,Ac,!0)},{vt:C,gt:d,ln:P,ot:_,bt:D}=x,z=[()=>{Ot(d,[Ft,fn]),Ot(C,fn),O&&Ot(b,[fn,Ft])}];let Y=$n([D,_,P,d,C].find(F=>F&&!K(F)));const st=g?C:D||_,J=M(mt,z);return[x,()=>{const F=N(),rt=Cn(),ut=q=>{yt(de(q),$n(q)),oe(q)},lt=q=>Q(q,"focusin focusout focus blur",io,{I:!0,H:!1}),at="tabindex",et=Fn(_,at),W=lt(rt);return kt(d,Ft,w?"":xc),kt(P,Pn,""),kt(_,Mt,""),kt(D,gs,""),w||(kt(_,at,et||"-1"),O&&kt(b,ys,"")),yt(st,Y),yt(d,P),yt(P||d,!w&&_),yt(_,D),nt(z,[W,()=>{const q=Cn(),vt=K(_),St=vt&&q===_?C:q,Ht=lt(St);Ot(P,Pn),Ot(D,gs),Ot(_,Mt),O&&Ot(b,ys),et?kt(_,at,et):Ot(_,at),K(D)&&ut(D),vt&&ut(_),K(P)&&ut(P),_n(St),Ht()}]),s&&!w&&(zn(_,Mt,ho),nt(z,M(Ot,_,Mt))),_n(!w&&O&&rt===C&&F.top===F?_:rt),W(),Y=0,J},J]},cr=({bt:t})=>({Zt:e,_n:n,Dt:s})=>{const{xt:o}=e||{},{$t:c}=n;t&&(o||s)&&he(t,{[Qe]:c&&"100%"})},rr=({gt:t,ln:e,ot:n,nt:s},o)=>{const[c,l]=pt({i:dc,o:ls()},M(ls,t,"padding",""));return({It:r,Zt:i,_n:u,Dt:a})=>{let[f,p]=l(a);const{R:$}=Lt(),{ft:h,Ht:O,Ct:I}=i||{},{ct:b}=u,[N,j]=r("paddingAbsolute");(h||p||(a||O))&&([f,p]=c(a));const A=!s&&(j||I||p);if(A){const E=!N||!e&&!$,L=f.r+f.l,R=f.t+f.b,k={[Us]:E&&!b?-L:0,[Vs]:E?-R:0,[Bs]:E&&b?-L:0,top:E?-f.t:0,right:E?b?-f.r:"auto":0,left:E?b?"auto":-f.l:0,[Ye]:E&&`calc(100% + ${L}px)`},w={[Rs]:E?f.t:0,[js]:E?f.r:0,[zs]:E?f.b:0,[Fs]:E?f.l:0};he(e||n,k),he(n,w),V(o,{ln:f,dn:!E,rt:e?w:V({},k,w)})}return{fn:A}}},lr=(t,e)=>{const n=Lt(),{gt:s,ln:o,ot:c,nt:l,Qt:r,ht:i,wt:u,St:a,un:f}=t,{R:p}=n,$=u&&l,h=M(Is,0),O={display:()=>!1,direction:m=>m!=="ltr",flexDirection:m=>m.endsWith("-reverse"),writingMode:m=>m!=="horizontal-tb"},I=$t(O),b={i:Gs,o:{w:0,h:0}},N={i:Pe,o:{}},j=m=>{a(fo,!$&&m)},v=m=>{if(!I.some(st=>{const J=m[st];return J&&O[st](J)}))return{D:{x:0,y:0},T:{x:1,y:1}};j(!0);const C=gt(i),d=a(Ec,!0),P=Q(r,se,st=>{const J=gt(i);st.isTrusted&&J.x===C.x&&J.y===C.y&&lo(st)},{I:!0,A:!0});At(i,{x:0,y:0}),d();const _=gt(i),D=Ke(i);At(i,{x:D.w,y:D.h});const z=gt(i);At(i,{x:z.x-_.x<1&&-D.w,y:z.y-_.y<1&&-D.h});const Y=gt(i);return At(i,C),Mn(()=>P()),{D:_,T:Y}},A=(m,x)=>{const C=dt.devicePixelRatio%1!==0?1:0,d={w:h(m.w-x.w),h:h(m.h-x.h)};return{w:d.w>C?d.w:0,h:d.h>C?d.h:0}},[E,L]=pt(b,M(Vn,c)),[R,k]=pt(b,M(Ke,c)),[w,g]=pt(b),[T]=pt(N),[S,H]=pt(b),[U]=pt(N),[B]=pt({i:(m,x)=>Je(m,x,I),o:{}},()=>vc(c)?Nt(c,I):{}),[G,X]=pt({i:(m,x)=>Pe(m.D,x.D)&&Pe(m.T,x.T),o:ao()}),K=me(xo),tt=(m,x)=>`${x?$c:Cc}${fc(m)}`,y=m=>{const x=d=>[jt,Kt,se].map(P=>tt(P,d)),C=x(!0).concat(x()).join(" ");a(C),a($t(m).map(d=>tt(m[d],d==="x")).join(" "),!0)};return({It:m,Zt:x,_n:C,Dt:d},{fn:P})=>{const{ft:_,Ht:D,Ct:z,dt:Y,zt:st}=x||{},J=K&&K.tt(t,e,C,n,m),{it,ut:F,_t:rt}=J||{},[ut,lt]=Zc(m,n),[at,et]=m("overflow"),W=ce(at.x),q=ce(at.y),vt=!0;let St=L(d),Ht=k(d),le=g(d),be=H(d);lt&&p&&a(ho,!ut);{Bn(s,Ft,Le)&&j(!0);const[Xn]=F?F():[],[xe]=St=E(d),[$e]=Ht=R(d),Ce=co(c),Oe=$&&bc(f()),To={w:h($e.w+xe.w),h:h($e.h+xe.h)},Zn={w:h((Oe?Oe.w:Ce.w+h(Ce.w-$e.w))+xe.w),h:h((Oe?Oe.h:Ce.h+h(Ce.h-$e.h))+xe.h)};Xn&&Xn(),be=S(Zn),le=w(A(To,Zn),d)}const[ve,we]=be,[Ut,Xt]=le,[nn,sn]=Ht,[on,cn]=St,[Ct,rn]=T({x:Ut.w>0,y:Ut.h>0}),ie=W&&q&&(Ct.x||Ct.y)||W&&Ct.x&&!Ct.y||q&&Ct.y&&!Ct.x,ae=P||z||st||cn||sn||we||Xt||et||lt||vt,Rt=Yc(Ct,at),[Se,ue]=U(Rt.K),[Oo,Ao]=B(d),Wn=z||Y||Ao||rn||d,[Eo,_o]=Wn?G(v(Oo),d):X();return ae&&(ue&&y(Rt.K),rt&&it&&he(c,rt(Rt,C,it(Rt,nn,on)))),j(!1),Ve(s,Ft,Le,ie),Ve(o,Pn,Le,ie),V(e,{K:Se,Vt:{x:ve.w,y:ve.h},Rt:{x:Ut.w,y:Ut.h},rn:Ct,Lt:wc(Eo,Ut)}),{en:ue,nn:we,sn:Xt,cn:_o||Xt,vn:Wn}}},ir=t=>{const[e,n,s]=or(t),o={ln:{t:0,r:0,b:0,l:0},dn:!1,rt:{[Us]:0,[Vs]:0,[Bs]:0,[Rs]:0,[js]:0,[zs]:0,[Fs]:0},Vt:{x:0,y:0},Rt:{x:0,y:0},K:{x:Kt,y:Kt},rn:{x:!1,y:!1},Lt:ao()},{vt:c,ht:l,nt:r,Ot:i}=e,{R:u,M:a}=Lt(),f=!u&&(a.x||a.y),p=[cr(e),rr(e,o),lr(e,o)];return[n,$=>{const h={},I=f&>(l),b=I&&i();return Z(p,N=>{V(h,N($,h)||{})}),At(l,I),b&&b(),!r&&At(c,0),h},o,e,s]},ar=(t,e,n,s,o)=>{let c=!1;const l=ps(e,{}),[r,i,u,a,f]=ir(t),[p,$,h]=tr(a,u,l,v=>{j({},v)}),[O,I,,b]=sr(t,e,h,u,a,o),N=v=>$t(v).some(A=>!!v[A]),j=(v,A)=>{if(n())return!1;const{pn:E,Dt:L,At:R,gn:k}=v,w=E||{},g=!!L||!c,T={It:ps(e,w,g),pn:w,Dt:g};if(k)return I(T),!1;const S=A||$(V({},T,{At:R})),H=i(V({},T,{_n:h,Zt:S}));I(V({},T,{Zt:S,tn:H}));const U=N(S),B=N(H),G=U||B||!jn(w)||g;return c=!0,G&&s(v,{Zt:S,tn:H}),G};return[()=>{const{an:v,ht:A,Ot:E}=a,L=gt(v),R=[p(),r(),O()],k=E();return At(A,L),k(),M(mt,R)},j,()=>({hn:h,bn:u}),{wn:a,yn:b},f]},Et=(t,e,n)=>{const{N:s}=Lt(),o=Ue(t),c=o?t:t.target,l=bo(c);if(e&&!l){let r=!1;const i=[],u={},a=w=>{const g=Xs(w,!0),T=me(Wc);return T?T(g,!0):g},f=V({},s(),a(e)),[p,$,h]=Tn(),[O,I,b]=Tn(n),N=(w,g)=>{b(w,g),h(w,g)},[j,v,A,E,L]=ar(t,f,()=>r,({pn:w,Dt:g},{Zt:T,tn:S})=>{const{ft:H,Ct:U,xt:B,Ht:G,Et:X,dt:K}=T,{nn:tt,sn:y,en:m,cn:x}=S;N("updated",[k,{updateHints:{sizeChanged:!!H,directionChanged:!!U,heightIntrinsicChanged:!!B,overflowEdgeChanged:!!tt,overflowAmountChanged:!!y,overflowStyleChanged:!!m,scrollCoordinatesChanged:!!x,contentMutation:!!G,hostMutation:!!X,appear:!!K},changedOptions:w||{},force:!!g}])},w=>N("scroll",[k,w])),R=w=>{Kc(c),mt(i),r=!0,N("destroyed",[k,w]),$(),I()},k={options(w,g){if(w){const T=g?s():{},S=uo(f,V(T,a(w)));jn(S)||(V(f,S),v({pn:S}))}return V({},f)},on:O,off:(w,g)=>{w&&g&&I(w,g)},state(){const{hn:w,bn:g}=A(),{ct:T}=w,{Vt:S,Rt:H,K:U,rn:B,ln:G,dn:X,Lt:K}=g;return V({},{overflowEdge:S,overflowAmount:H,overflowStyle:U,hasOverflow:B,scrollCoordinates:{start:K.D,end:K.T},padding:G,paddingAbsolute:X,directionRTL:T,destroyed:r})},elements(){const{vt:w,gt:g,ln:T,ot:S,bt:H,ht:U,Qt:B}=E.wn,{Xt:G,Gt:X}=E.yn,K=y=>{const{Pt:m,Ut:x,kt:C}=y;return{scrollbar:C,track:x,handle:m}},tt=y=>{const{Yt:m,Wt:x}=y,C=K(m[0]);return V({},C,{clone:()=>{const d=K(x());return v({gn:!0}),d}})};return V({},{target:w,host:g,padding:T||S,viewport:S,content:H||S,scrollOffsetElement:U,scrollEventElement:B,scrollbarHorizontal:tt(G),scrollbarVertical:tt(X)})},update:w=>v({Dt:w,At:!0}),destroy:M(R,!1),plugin:w=>u[$t(w)[0]]};return nt(i,[L]),Vc(c,k),So(vo,Et,[k,p,u]),Uc(E.wn.wt,!o&&t.cancel)?(R(!0),k):(nt(i,j()),N("initialized",[k]),k.update(),k)}return l};Et.plugin=t=>{const e=Pt(t),n=e?t:[t],s=n.map(o=>So(o,Et)[0]);return Gc(n),e?s:s[0]};Et.valid=t=>{const e=t&&t.elements,n=wt(e)&&e();return Be(n)&&!!bo(n.target)};Et.env=()=>{const{k:t,M:e,R:n,V:s,B:o,F:c,U:l,P:r,N:i,q:u}=Lt();return V({},{scrollbarsSize:t,scrollbarsOverlaid:e,scrollbarsHiding:n,scrollTimeline:s,staticDefaultInitialization:o,staticDefaultOptions:c,getDefaultInitialization:l,setDefaultInitialization:r,getDefaultOptions:i,setDefaultOptions:u})};Et.nonce=Fc;const ur=()=>{if(typeof window>"u"){const u=()=>{};return[u,u]}let t,e;const n=window,s=typeof n.requestIdleCallback=="function",o=n.requestAnimationFrame,c=n.cancelAnimationFrame,l=s?n.requestIdleCallback:o,r=s?n.cancelIdleCallback:c,i=()=>{r(t),c(e)};return[(u,a)=>{i(),t=l(s?()=>{i(),e=o(u)}:u,typeof a=="object"?a:{timeout:2233})},i]},fr=t=>typeof t=="function",Yt=t=>fr(t)?t():t,Co=t=>{let e=null,n,s,o;const[c,l]=ur();return xt(()=>{var r;o=Yt((r=Yt(t))==null?void 0:r.defer)}),xt(()=>{var r;n=Yt((r=Yt(t))==null?void 0:r.options),Et.valid(e)&&e.options(n||{},!0)}),xt(()=>{var r;s=Yt((r=Yt(t))==null?void 0:r.events),Et.valid(e)&&e.on(s||{},!0)}),As(()=>{l(),e==null||e.destroy()}),[r=>{if(Et.valid(e))return e;const i=()=>e=Et(r,n||{},s||{});o?c(i,o):i()},()=>e]},dr=Dt('
'),hr=t=>{const[e,n]=Ls(Qn({element:"div"},t),["element","options","events","defer","ref","children"]),[s,o]=Vt(),[c,l]=Vt(),[r,i]=Co(e);return Os(()=>{const u=s(),a=c();u&&(r(e.element==="body"?{target:u,cancel:{body:null}}:{target:u,elements:{viewport:a,content:a}}),As(()=>{var f;(f=i())==null||f.destroy()}))}),xt(()=>{const u={osInstance:i,getElement:()=>s()||null};typeof e.ref=="function"?e.ref(u):e.ref=u}),kn(lc,Qn({get component(){return e.element},"data-overlayscrollbars-initialize":"",ref:o},n,{get children(){return _t(()=>e.element==="body")()?Yn(()=>e.children)():(()=>{const u=dr();return ec(l,u),ht(u,Yn(()=>e.children)),u})()}}))},pr=()=>{const[t,e]=Vt([]),n={},s={},o=r=>{const i=n[r];n[r]=typeof i=="number"?i+1:1,e(u=>Array.from(new Set([...u,r]))),clearTimeout(s[r]),s[r]=setTimeout(()=>{e(u=>{const a=new Set(u);return a.delete(r),Array.from(a)})},500)},c=r=>({active:t().includes(r),count:n[r]||0});return[_t(()=>({initialized:c("initialized"),destroyed:c("destroyed"),updated:c("updated"),scroll:c("scroll")})),o]},yr=Dt('