@jesec/flood 0.0.0-master.6afabbe → 0.0.0-master.6b0ddfd

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/README.md +4 -7
  2. package/dist/assets/assets/Alerts-BfYWD54i.js +2 -0
  3. package/dist/assets/assets/{Alerts-CpHH3EgE.js.map → Alerts-BfYWD54i.js.map} +1 -1
  4. package/dist/assets/assets/ApplicationView-nEqg5l1F.js +2 -0
  5. package/dist/assets/assets/{ApplicationView-CT5l4R4M.js.map → ApplicationView-nEqg5l1F.js.map} +1 -1
  6. package/dist/assets/assets/AuthForm-B-hNak0N.js +2 -0
  7. package/dist/assets/assets/{AuthForm-BjCytAY6.js.map → AuthForm-B-hNak0N.js.map} +1 -1
  8. package/dist/assets/assets/Login-DzdQ0hAW.js +2 -0
  9. package/dist/assets/assets/{Login-BVsSTgwh.js.map → Login-DzdQ0hAW.js.map} +1 -1
  10. package/dist/assets/assets/Modals-1o2rZ6px.js +53 -0
  11. package/dist/assets/assets/Modals-1o2rZ6px.js.map +1 -0
  12. package/dist/assets/assets/Overview-CKqnHuvs.js +700 -0
  13. package/dist/assets/assets/Overview-CKqnHuvs.js.map +1 -0
  14. package/dist/assets/assets/Register-CmnhXSLi.js +2 -0
  15. package/dist/assets/assets/{Register-CdqHsdPF.js.map → Register-CmnhXSLi.js.map} +1 -1
  16. package/dist/assets/assets/dist-DTOngMXG.js +5 -0
  17. package/dist/assets/assets/dist-DTOngMXG.js.map +1 -0
  18. package/dist/assets/assets/index-Bokn50Is.js +84 -0
  19. package/dist/assets/assets/index-Bokn50Is.js.map +1 -0
  20. package/dist/assets/assets/index-H8kSoxrM.css +1 -0
  21. package/dist/assets/assets/{pl-LvqNumg3.js → pl-KAHyfQOi.js} +2 -2
  22. package/dist/assets/assets/{pl-LvqNumg3.js.map → pl-KAHyfQOi.js.map} +1 -1
  23. package/dist/assets/index.html +3 -3
  24. package/dist/index.js +2 -2
  25. package/package.json +63 -64
  26. package/dist/assets/assets/Alerts-CpHH3EgE.js +0 -2
  27. package/dist/assets/assets/ApplicationView-CT5l4R4M.js +0 -2
  28. package/dist/assets/assets/AuthForm-BjCytAY6.js +0 -2
  29. package/dist/assets/assets/Badge-Z1xMhNLY.js +0 -2
  30. package/dist/assets/assets/Badge-Z1xMhNLY.js.map +0 -1
  31. package/dist/assets/assets/Login-BVsSTgwh.js +0 -2
  32. package/dist/assets/assets/Modals-CZHAwoPS.js +0 -53
  33. package/dist/assets/assets/Modals-CZHAwoPS.js.map +0 -1
  34. package/dist/assets/assets/Overview-CQhbFTiM.js +0 -700
  35. package/dist/assets/assets/Overview-CQhbFTiM.js.map +0 -1
  36. package/dist/assets/assets/Register-CdqHsdPF.js +0 -2
  37. package/dist/assets/assets/dist-krxpX6n5.js +0 -7
  38. package/dist/assets/assets/dist-krxpX6n5.js.map +0 -1
  39. package/dist/assets/assets/index-BI7wpBCr.js +0 -93
  40. package/dist/assets/assets/index-BI7wpBCr.js.map +0 -1
  41. package/dist/assets/assets/index-YxEtGNVq.css +0 -1
@@ -1,700 +0,0 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Alerts-CpHH3EgE.js","./dist-krxpX6n5.js","./Modals-CZHAwoPS.js","./Badge-Z1xMhNLY.js","./index-BI7wpBCr.js","./index-YxEtGNVq.css"])))=>i.map(i=>d[i]);
2
- import{$t as e,A as t,At as n,C as r,Dt as i,Et as a,F as o,Ft as s,G as c,H as l,Ht as u,I as d,J as f,Jt as p,K as m,Kt as h,L as g,Lt as _,M as v,Mt as y,N as b,Nt as x,Ot as S,P as C,Q as w,R as T,Rt as E,St as ee,U as te,Ut as D,V as O,Wt as k,X as ne,Xt as A,Y as re,Yt as ie,Zt as ae,an as oe,b as j,bt as se,ct as ce,dt as le,et as ue,gt as de,ht as fe,it as pe,j as me,jt as he,kt as ge,mt as _e,n as ve,nn as ye,nt as be,ot as xe,pt as Se,q as Ce,r as M,rn as we,rt as Te,tn as Ee,tt as De,ut as Oe,v as ke,vt as Ae,wt as je,xt as Me,z as Ne,zt as Pe}from"./dist-krxpX6n5.js";import{a as Fe,c as Ie,d as Le,f as Re,i as ze,n as Be,o as Ve,p as He,r as Ue,s as We,t as Ge,u as Ke}from"./Badge-Z1xMhNLY.js";import{D as qe,E as Je,T as Ye,_ as N,b as Xe,g as Ze,h as Qe,i as $e,l as et,m as P,n as tt,p as F,r as nt,t as rt,u as it,v as I,w as L,x as at,y as ot}from"./index-BI7wpBCr.js";import{t as st}from"./ApplicationView-CT5l4R4M.js";var R=oe(ye()),ct=function(e){return`touches`in e},lt=function(e){ct(e)&&e.touches.length<2&&e.preventDefault&&e.preventDefault()},ut=function(e,t){var n=t===void 0?{}:t,r=n.isPreventDefault,i=r===void 0||r,a=n.delay,o=a===void 0?300:a,s=(0,R.useRef)(),c=(0,R.useRef)(),l=(0,R.useCallback)(function(t){i&&t.target&&(ie(t.target,`touchend`,lt,{passive:!1}),c.current=t.target),s.current=setTimeout(function(){return e(t)},o)},[e,o,i]),u=(0,R.useCallback)(function(){s.current&&clearTimeout(s.current),i&&c.current&&p(c.current,`touchend`,lt)},[i]);return{onMouseDown:function(e){return l(e)},onTouchStart:function(e){return l(e)},onMouseUp:u,onMouseLeave:u,onTouchEnd:u}},dt=oe(k()),z=Pe(),ft=({clickHandler:e,icon:t,label:n,slug:r,noTip:i=!1})=>(0,z.jsxs)(tt,{content:n,onClick:e,position:`bottom`,wrapperClassName:(0,dt.default)(`action tooltip__wrapper`,{[`action--${r}`]:r!=null}),suppress:i,children:[t,(0,z.jsx)(`span`,{className:`action__label`,children:n})]}),pt={dateAdded:`desc`,dateFinished:`desc`,dateActive:`desc`,downRate:`desc`,downTotal:`desc`,upRate:`desc`,upTotal:`desc`},mt=oe(T()),ht=({className:e,label:t,isFocusHandled:n,onClick:r})=>n?(0,z.jsx)(`div`,{role:`none`,className:e,onClick:r,children:t}):(0,z.jsx)(`button`,{type:`button`,className:(0,dt.default)(e,D({width:`100%`,height:`100%`,textAlign:`left`,_focusVisible:{outline:`dashed`}})),onClick:r,children:t}),gt=A(({baseClassName:e=`dropdown`,dropdownWrapperClass:t=`dropdown`,dropdownButtonClass:n=`dropdown__trigger`,dropdownClickRef:i,direction:a=`down`,header:o,matchButtonWidth:s=!1,menuItems:c,noWrap:l=!1,trigger:u,width:d,isFocusHandled:f=!1,handleItemSelect:p,onOpen:m})=>{let h=(0,R.useRef)((0,mt.default)(`dropdown_`)),g=P.activeDropdownMenu===h.current,_=(0,dt.default)(t,`${e}--direction-${a}`,{[`${e}--match-button-width`]:s,[`${e}--width-${d}`]:d!=null,[`${e}--no-wrap`]:l,"is-expanded":g}),v=(0,R.useCallback)(()=>{window.removeEventListener(`click`,v),P.setActiveDropdownMenu(null)},[]);Re(`Escape`,()=>v());let y=(0,R.useCallback)(()=>{window.addEventListener(`click`,v),m&&m(),P.setActiveDropdownMenu(h.current)},[v,m]),b=e=>{e?.stopPropagation(),g?v():y()};i&&(i.current=b);let x=(0,z.jsx)(`div`,{className:`dropdown__header`,children:(0,z.jsx)(ht,{className:n,label:o,isFocusHandled:f??!1,onClick:b})},`dropdown-header`),S=(0,z.jsx)(`ul`,{className:`dropdown__items`,children:c.map((e,t)=>(0,z.jsx)(`div`,{className:`dropdown__list`,children:e.map((e,t)=>(0,z.jsx)(`li`,{className:(0,dt.default)(`dropdown__item menu__item`,e.className,{"is-selectable":e.selectable!==!1,"is-selected":e.selected}),children:(0,z.jsx)(`button`,{type:`button`,disabled:e.selectable===!1,onClick:e.selectable===!1?void 0:()=>{v(),p(e)},children:e.displayName})},t))},t))},`dropdown-items`);return(0,z.jsxs)(`div`,{className:_,children:[(0,z.jsx)(ht,{className:n,label:u??o,isFocusHandled:f??!1,onClick:b}),(0,z.jsx)(r,{classNamePrefix:`menu`,in:g,mountOnEnter:!0,timeout:{enter:250,exit:250},unmountOnExit:!0,children:e=>(0,z.jsx)(`div`,{className:(0,dt.default)(`dropdown__content menu`,e),children:a===`up`?[S,x]:[x,S]})})]})}),_t=[`name`,`eta`,`downRate`,`upRate`,`ratio`,`percentComplete`,`downTotal`,`upTotal`,`sizeBytes`,`dateAdded`,`dateFinished`,`dateActive`],vt=e=>{let{direction:t,selectedProperty:n,onSortChange:r}=e,{i18n:i}=M();return n==null?null:(0,z.jsx)(gt,{handleItemSelect:e=>{let{property:i}=e;if(i==null)return;let a=pt[i]??`asc`;n===i&&(a=t===`asc`?`desc`:`asc`),r({direction:a,property:i})},header:(0,z.jsxs)(`div`,{className:`dropdown__button`,children:[(0,z.jsx)(`span`,{className:`dropdown__label`,children:(0,z.jsx)(ve,{id:`torrents.sort.title`})}),(0,z.jsx)(`span`,{className:`dropdown__value`,children:(0,z.jsx)(ve,{id:Xe[n]})})]}),menuItems:[_t.map(e=>{let r=e===n,a=r?(0,z.jsx)(`span`,{className:`sort-dropdown__indicator sort-dropdown__indicator--${t}`}):null;return{displayName:(0,z.jsxs)(`div`,{className:`sort-dropdown__item`,children:[i._(Xe[e]),a]}),selected:r,property:e}})]})},yt=A(()=>{let{i18n:e}=M(),{sortTorrents:t,torrentListViewSize:n}=I.floodSettings;return(0,z.jsxs)(`nav`,{className:(0,dt.default)(`action-bar`,{"action-bar--is-condensed":n===`condensed`}),children:[(0,z.jsx)(`div`,{className:`actions action-bar__item action-bar__item--sidebar-expand-collapse`,children:(0,z.jsx)(ft,{label:`actionbar.button.sidebar.expand.collapse`,slug:`sidebar-expand-collapse`,icon:(0,z.jsx)(ne,{}),clickHandler:()=>P.toggleSidebarAlternativeState(),noTip:!0})}),(0,z.jsx)(`div`,{className:`actions action-bar__item action-bar__item--sort-torrents`,children:(0,z.jsx)(vt,{direction:t==null?`desc`:t.direction,onSortChange:e=>{et.saveSetting(`sortTorrents`,e)},selectedProperty:t==null?`dateAdded`:t.property})}),(0,z.jsxs)(`div`,{className:`actions action-bar__item action-bar__item--torrent-operations`,children:[(0,z.jsxs)(`div`,{className:`action-bar__group`,children:[(0,z.jsx)(ft,{label:e._(`actionbar.button.start.torrent`),slug:`start-torrent`,icon:(0,z.jsx)(d,{}),clickHandler:()=>Le.startTorrents({hashes:N.selectedTorrents})}),(0,z.jsx)(ft,{label:e._(`actionbar.button.stop.torrent`),slug:`stop-torrent`,icon:(0,z.jsx)(o,{}),clickHandler:()=>Le.stopTorrents({hashes:N.selectedTorrents})})]}),(0,z.jsxs)(`div`,{className:`action-bar__group action-bar__group--has-divider`,children:[(0,z.jsx)(ft,{label:e._(`actionbar.button.add.torrent`),slug:`add-torrent`,icon:(0,z.jsx)(_,{}),clickHandler:()=>P.setActiveModal({id:`add-torrents`})}),(0,z.jsx)(ft,{label:e._(`actionbar.button.remove.torrent`),slug:`remove-torrent`,icon:(0,z.jsx)(c,{}),clickHandler:()=>P.setActiveModal({id:`remove-torrents`})})]})]})]})}),bt=({children:e})=>(0,z.jsx)(`div`,{className:`application__content`,children:e}),xt=({children:e,baseClassName:t=`application__panel`,className:n,modifier:r})=>(0,z.jsx)(`div`,{className:(0,dt.default)(t,{[`${t}--${r}`]:t,[n]:n}),children:e}),St=(e,t)=>{let{o:n,i:r,u:i}=e,a=n,o,s=(e,t)=>{let n=a,s=e,c=t||(r?!r(n,s):n!==s);return(c||i)&&(a=s,o=n),[a,c,o]};return[t?e=>s(t(a,o),e):s,e=>[a,!!e,o]]},Ct=typeof window<`u`&&typeof HTMLElement<`u`&&window.document?window:{},wt=Math.max,Tt=Math.min,Et=Math.round,Dt=Math.abs,Ot=Math.sign,kt=Ct.cancelAnimationFrame,At=Ct.requestAnimationFrame,jt=Ct.setTimeout,Mt=Ct.clearTimeout,Nt=e=>Ct[e]===void 0?void 0:Ct[e],Pt=Nt(`MutationObserver`),Ft=Nt(`IntersectionObserver`),It=Nt(`ResizeObserver`),Lt=Nt(`ScrollTimeline`),Rt=e=>e===void 0,zt=e=>e===null,B=e=>typeof e==`number`,V=e=>typeof e==`string`,Bt=e=>typeof e==`boolean`,Vt=e=>typeof e==`function`,Ht=e=>Array.isArray(e),Ut=e=>typeof e==`object`&&!Ht(e)&&!zt(e),Wt=e=>{let t=!!e&&e.length,n=B(t)&&t>-1&&t%1==0;return Ht(e)||!Vt(e)&&n?t>0&&Ut(e)?t-1 in e:!0:!1},Gt=e=>!!e&&e.constructor===Object,Kt=e=>e instanceof HTMLElement,qt=e=>e instanceof Element;function H(e,t){if(Wt(e))for(let n=0;n<e.length&&t(e[n],n,e)!==!1;n++);else e&&H(Object.keys(e),(n=>t(e[n],n,e)));return e}var Jt=(e,t)=>e.indexOf(t)>=0,Yt=(e,t)=>e.concat(t),Xt=(e,t,n)=>(!V(t)&&Wt(t)?Array.prototype.push.apply(e,t):e.push(t),e),Zt=e=>Array.from(e||[]),Qt=e=>Ht(e)?e:!V(e)&&Wt(e)?Zt(e):[e],$t=e=>!!e&&!e.length,en=e=>Zt(new Set(e)),tn=(e,t,n)=>{H(e,e=>!e||e.apply(void 0,t||[])),n||(e.length=0)},nn=`paddingTop`,rn=`paddingRight`,an=`paddingLeft`,on=`paddingBottom`,sn=`marginLeft`,cn=`marginRight`,ln=`marginBottom`,un=`overflowX`,dn=`overflowY`,fn=`width`,pn=`height`,U=`visible`,mn=`hidden`,hn=`scroll`,gn=e=>{let t=String(e||``);return t?t[0].toUpperCase()+t.slice(1):``},_n=(e,t,n,r)=>{if(e&&t){let r=!0;return H(n,(n=>{e[n]!==t[n]&&(r=!1)})),r}return!1},vn=(e,t)=>_n(e,t,[`w`,`h`]),yn=(e,t)=>_n(e,t,[`x`,`y`]),bn=(e,t)=>_n(e,t,[`t`,`r`,`b`,`l`]),W=(e,...t)=>e.bind(0,...t),xn=e=>{let t,n=e?jt:At,r=e?Mt:kt;return[i=>{r(t),t=n((()=>i()),Vt(e)?e():e)},()=>r(t)]},Sn=e=>{let t=Vt(e)?e():e;if(B(t)){let e=t?jt:At,n=t?Mt:kt;return r=>{let i=e((()=>r()),t);return()=>{n(i)}}}return t&&t._},Cn=(e,t)=>{let{p:n,v:r,S:i,m:a}=t||{},o,s,c,l,u=function(t){s&&s(),o&&o(),l=s=o=c=void 0,e.apply(this,t)},d=e=>a&&c?a(c,e):e,f=()=>{s&&c&&u(d(c)||c)},p=function(){let e=Zt(arguments),t=Sn(n);if(t){let n=typeof i==`function`?i():i,a=Sn(r),p=d(e)||e,m=u.bind(0,p);s&&s(),n&&!l?(m(),l=!0,s=t((()=>l=void 0))):(s=t(m),a&&!o&&(o=a(f))),c=p}else u(e)};return p.O=f,p},wn=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),Tn=e=>e?Object.keys(e):[],G=(e,t,n,r,i,a,o)=>{let s=[t,n,r,i,a,o];return(typeof e!=`object`||zt(e))&&!Vt(e)&&(e={}),H(s,(t=>{H(t,((n,r)=>{let i=t[r];if(e===i)return!0;let a=Ht(i);if(i&&Gt(i)){let t=e[r],n=t;a&&!Ht(t)?n=[]:!a&&!Gt(t)&&(n={}),e[r]=G(n,i)}else e[r]=a?i.slice():i}))})),e},En=(e,t)=>H(G({},e),((e,t,n)=>{e===void 0?delete n[t]:e&&Gt(e)&&(n[t]=En(e))})),Dn=e=>!Tn(e).length,On=()=>{},kn=(e,t,n)=>wt(e,Tt(t,n)),An=e=>en((Ht(e)?e:(e||``).split(` `)).filter((e=>e))),jn=(e,t)=>e&&e.getAttribute(t),Mn=(e,t)=>e&&e.hasAttribute(t),Nn=(e,t,n)=>{H(An(t),(t=>{e&&e.setAttribute(t,String(n||``))}))},Pn=(e,t)=>{H(An(t),(t=>e&&e.removeAttribute(t)))},Fn=(e,t)=>{let n=An(jn(e,t)),r=W(Nn,e,t),i=(e,t)=>{let r=new Set(n);return H(An(e),(e=>{r[t](e)})),Zt(r).join(` `)};return{C:e=>r(i(e,`delete`)),$:e=>r(i(e,`add`)),H:e=>{let t=An(e);return t.reduce(((e,t)=>e&&n.includes(t)),t.length>0)}}},In=(e,t,n)=>(Fn(e,t).C(n),W(Ln,e,t,n)),Ln=(e,t,n)=>(Fn(e,t).$(n),W(In,e,t,n)),Rn=(e,t,n,r)=>(r?Ln:In)(e,t,n),zn=(e,t,n)=>Fn(e,t).H(n),Bn=e=>Fn(e,`class`),Vn=(e,t)=>{Bn(e).C(t)},Hn=(e,t)=>(Bn(e).$(t),W(Vn,e,t)),Un=(e,t)=>{let n=t?qt(t)&&t:document;return n?Zt(n.querySelectorAll(e)):[]},Wn=(e,t)=>{let n=t?qt(t)&&t:document;return n&&n.querySelector(e)},Gn=(e,t)=>qt(e)&&e.matches(t),Kn=e=>Gn(e,`body`),qn=e=>e?Zt(e.childNodes):[],Jn=e=>e&&e.parentElement,Yn=(e,t)=>qt(e)&&e.closest(t),Xn=e=>document.activeElement,Zn=(e,t,n)=>{let r=Yn(e,t),i=e&&Wn(n,r),a=Yn(i,t)===r;return r&&i?r===e||i===e||a&&Yn(Yn(e,n),t)!==r:!1},Qn=e=>{H(Qt(e),(e=>{let t=Jn(e);e&&t&&t.removeChild(e)}))},$n=(e,t)=>W(Qn,e&&t&&H(Qt(t),(t=>{t&&e.appendChild(t)}))),er,tr=()=>er,nr=e=>{er=e},rr=e=>{let t=document.createElement(`div`);return Nn(t,`class`,e),t},ir=e=>{let t=rr(),n=tr(),r=e.trim();return t.innerHTML=n?n.createHTML(r):r,H(qn(t),(e=>Qn(e)))},ar=(e,t)=>e.getPropertyValue(t)||e[t]||``,or=e=>{let t=e||0;return isFinite(t)?t:0},sr=e=>or(parseFloat(e||``)),cr=e=>Math.round(e*1e4)/1e4,lr=e=>`${cr(or(e))}px`;function ur(e,t){e&&t&&H(t,((t,n)=>{try{let r=e.style,i=zt(t)||Bt(t)?``:B(t)?lr(t):t;n.indexOf(`--`)===0?r.setProperty(n,i):r[n]=i}catch{}}))}function dr(e,t,n){let r=V(t),i=r?``:{};if(e){let a=Ct.getComputedStyle(e,n)||e.style;i=r?ar(a,t):Zt(t).reduce(((e,t)=>(e[t]=ar(a,t),e)),i)}return i}var K=(e,t,n)=>{let r=t?`${t}-`:``,i=n?`-${n}`:``,a=`${r}top${i}`,o=`${r}right${i}`,s=`${r}bottom${i}`,c=`${r}left${i}`,l=dr(e,[a,o,s,c]);return{t:sr(l[a]),r:sr(l[o]),b:sr(l[s]),l:sr(l[c])}},fr=(e,t)=>`translate${Ut(e)?`(${e.x},${e.y})`:`${t?`X`:`Y`}(${e})`}`,pr=e=>!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length),mr={w:0,h:0},q=(e,t)=>t?{w:t[`${e}Width`],h:t[`${e}Height`]}:mr,hr=e=>q(`inner`,e||Ct),gr=W(q,`offset`),_r=W(q,`client`),vr=W(q,`scroll`),yr=e=>{let t=parseFloat(dr(e,fn))||0,n=parseFloat(dr(e,pn))||0;return{w:t-Et(t),h:n-Et(n)}},br=e=>e.getBoundingClientRect(),xr=e=>!!e&&pr(e),Sr=e=>!!(e&&(e[pn]||e[fn])),Cr=(e,t)=>{let n=Sr(e);return!Sr(t)&&n},wr=(e,t,n,r)=>{H(An(t),(t=>{e&&e.removeEventListener(t,n,r)}))},J=(e,t,n,r)=>{let i=(r&&r.D)??!0,a=r&&r.I||!1,o=r&&r.A||!1,s={passive:i,capture:a};return W(tn,An(t).map((t=>{let r=o?i=>{wr(e,t,r,a),n&&n(i)}:n;return e&&e.addEventListener(t,r,s),W(wr,e,t,r,a)})))},Tr=e=>e.stopPropagation(),Er=e=>e.preventDefault(),Dr=e=>Tr(e)||Er(e),Or=(e,t)=>{let{x:n,y:r}=B(t)?{x:t,y:t}:t||{};B(n)&&(e.scrollLeft=n),B(r)&&(e.scrollTop=r)},kr=e=>({x:e.scrollLeft,y:e.scrollTop}),Ar=()=>({T:{x:0,y:0},k:{x:0,y:0}}),jr=(e,t)=>{let{T:n,k:r}=e,{w:i,h:a}=t,o=(e,t,n)=>{let r=Ot(e)*n,i=Ot(t)*n;if(r===i){let n=Dt(e),a=Dt(t);i=n>a?0:i,r=n<a?0:r}return r=r===i?0:r,[r+0,i+0]},[s,c]=o(n.x,r.x,i),[l,u]=o(n.y,r.y,a);return{T:{x:s,y:l},k:{x:c,y:u}}},Mr=({T:e,k:t})=>{let n=(e,t)=>e===0&&e<=t;return{x:n(e.x,t.x),y:n(e.y,t.y)}},Nr=({T:e,k:t},n)=>{let r=(e,t,n)=>kn(0,1,(e-n)/(e-t)||0);return{x:r(e.x,t.x,n.x),y:r(e.y,t.y,n.y)}},Pr=e=>{e&&e.focus&&e.focus({preventScroll:!0,focusVisible:!1})},Fr=(e,t)=>{H(Qt(t),e)},Ir=e=>{let t=new Map,n=(e,n)=>{if(e){let r=t.get(e);Fr((e=>{r&&r[e?`delete`:`clear`](e)}),n)}else t.forEach((e=>{e.clear()})),t.clear()},r=(e,i)=>{if(V(e)){let r=t.get(e)||new Set;return t.set(e,r),Fr((e=>{Vt(e)&&r.add(e)}),i),W(n,e,i)}Bt(i)&&i&&n();let a=Tn(e),o=[];return H(a,(t=>{let n=e[t];n&&Xt(o,r(t,n))})),W(tn,o)};return r(e||{}),[r,n,(e,n)=>{H(Zt(t.get(e)),(e=>{n&&!$t(n)?e.apply(0,n):e()}))}]},Lr={},Rr={},zr=e=>{H(e,(e=>H(e,((t,n)=>{Lr[n]=e[n]}))))},Br=(e,t,n)=>Tn(e).map((r=>{let{static:i,instance:a}=e[r],[o,s,c]=n||[],l=n?a:i;if(l){let e=n?l(o,s,t):l(t);return(c||Rr)[r]=e}})),Vr=(e,t)=>e[t],Hr=e=>Vr(Rr,e),Ur=`__osOptionsValidationPlugin`,Wr=`data-overlayscrollbars`,Gr=`os-environment`,Kr=`${Gr}-scrollbar-hidden`,qr=`${Wr}-initialize`,Jr=`noClipping`,Yr=`${Wr}-body`,Xr=Wr,Zr=`host`,Qr=`${Wr}-viewport`,$r=un,ei=dn,ti=`arrange`,ni=`measuring`,ri=`scrolling`,ii=`scrollbarHidden`,ai=`noContent`,oi=`${Wr}-padding`,si=`${Wr}-content`,ci=`os-size-observer`,li=`${ci}-appear`,ui=`${ci}-listener`;`${ui}`,`${ui}`;var di=`os-trinsic-observer`,fi=`os-theme-none`,pi=`os-scrollbar`,mi=`${pi}-rtl`,hi=`${pi}-horizontal`,gi=`${pi}-vertical`,_i=`${pi}-track`,vi=`${pi}-handle`,yi=`${pi}-visible`,bi=`${pi}-cornerless`,xi=`${pi}-interaction`,Si=`${pi}-unusable`,Ci=`${pi}-auto-hide`,wi=`${Ci}-hidden`,Ti=`${pi}-wheel`,Ei=`${_i}-interactive`,Di=`${vi}-interactive`,Oi=`__osSizeObserverPlugin`,ki=(e,t)=>{let{M:n}=t,[r,i]=e(`showNativeOverlaidScrollbars`);return[r&&n.x&&n.y,i]},Ai=e=>e.indexOf(U)===0,ji=e=>e.replace(`${U}-`,``),Mi=(e,t)=>{if(e===`auto`)return t?hn:mn;let n=e||mn;return[mn,hn,U].includes(n)?n:mn},Ni=(e,t)=>{let{overflowX:n,overflowY:r}=dr(e,[un,dn]);return{x:Mi(n,t.x),y:Mi(r,t.y)}},Pi=`__osScrollbarsHidingPlugin`,Fi=`__osClickScrollPlugin`,Ii=e=>JSON.stringify(e,((e,t)=>{if(Vt(t))throw 0;return t})),Li=(e,t)=>e?`${t}`.split(`.`).reduce(((e,t)=>e&&wn(e,t)?e[t]:void 0),e):void 0,Ri=[0,33],zi=[33,99],Bi=[222,666,!0],Vi={paddingAbsolute:!1,showNativeOverlaidScrollbars:!1,update:{elementEvents:[[`img`,`load`]],debounce:{mutation:Ri,resize:null,event:zi,env:Bi},attributes:null,ignoreMutation:null,flowDirectionStyles: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`]}},Hi=(e,t)=>{let n={};return H(Yt(Tn(t),Tn(e)),(r=>{let i=e[r],a=t[r];if(Ut(i)&&Ut(a))G(n[r]={},Hi(i,a)),Dn(n[r])&&delete n[r];else if(wn(t,r)&&a!==i){let e=!0;if(Ht(i)||Ht(a))try{Ii(i)===Ii(a)&&(e=!1)}catch{}e&&(n[r]=a)}})),n},Ui=(e,t,n)=>r=>[Li(e,r),n||Li(t,r)!==void 0],Wi,Gi=()=>Wi,Ki=e=>{Wi=e},qi,Ji=()=>{let e=(e,t,n)=>{$n(document.body,e),$n(document.body,e);let r=_r(e),i=gr(e),a=yr(t);return n&&Qn(e),{x:i.h-r.h+a.h,y:i.w-r.w+a.w}},t=e=>{let t=!1,n=Hn(e,Kr);try{t=dr(e,`scrollbar-width`)===`none`||dr(e,`display`,`::-webkit-scrollbar`)===`none`}catch{}return n(),t},n=ir(`<div class="${Gr}"><div></div><style>${`.${Gr}{scroll-behavior:auto!important;position:fixed;opacity:0;visibility:hidden;overflow:scroll;height:200px;width:200px;z-index:-1}.${Gr} div{width:200%;height:200%;margin:10px 0}.${Kr}{scrollbar-width:none!important}.${Kr}::-webkit-scrollbar,.${Kr}::-webkit-scrollbar-corner{appearance:none!important;display:none!important;width:0!important;height:0!important}`}</style></div>`)[0],r=n.firstChild,i=n.lastChild,a=Gi();a&&(i.nonce=a);let[o,,s]=Ir(),[c,l]=St({o:e(n,r),i:yn},W(e,n,r,!0)),[u]=l(),d=t(n),f={x:u.x===0,y:u.y===0},p={elements:{host:null,padding:!d,viewport:e=>d&&Kn(e)&&e,content:!1},scrollbars:{slot:!0},cancel:{nativeScrollbarsOverlaid:!1,body:null}},m=G({},Vi),h=W(G,{},m),g=W(G,{},p),_={U:u,M:f,P:d,J:!!Lt,G:W(o,`r`),K:g,Z:e=>G(p,e)&&g(),tt:h,nt:e=>G(m,e)&&h(),ot:G({},p),st:G({},m)};if(Pn(n,`style`),Qn(n),J(Ct,`resize`,(()=>{s(`r`,[])})),Vt(Ct.matchMedia)&&!d&&(!f.x||!f.y)){let e=t=>{J(Ct.matchMedia(`(resolution: ${Ct.devicePixelRatio}dppx)`),`change`,(()=>{t(),e(t)}),{A:!0})};e((()=>{let[e,t]=c();G(_.U,e),s(`r`,[t])}))}return _},Yi=()=>(qi||=Ji(),qi),Xi=(e,t,n)=>{let r=!1,i=n?new WeakMap:!1,a=()=>{r=!0},o=a=>{i&&n&&H(n.map((t=>{let[n,r]=t||[];return[r&&n?(a||Un)(n,e):[],r]})),(n=>H(n[0],(a=>{let o=n[1],s=i.get(a)||[];if(e.contains(a)&&o){let e=J(a,o,(n=>{r?(e(),i.delete(a)):t(n)}));i.set(a,Xt(s,e))}else tn(s),i.delete(a)}))))};return o(),[a,o]},Zi=(e,t,n,r)=>{let i=!1,{et:a,ct:o,rt:s,it:c,lt:l,ut:u}=r||{},[d,f]=Xi(e,(()=>i&&n(!0)),s),p=a||[],m=o||[],h=Yt(p,m),g=(i,a)=>{if(!$t(a)){let o=l||On,s=u||On,d=[],p=[],h=!1,g=!1;if(H(a,(n=>{let{attributeName:i,target:a,type:l,oldValue:u,addedNodes:f,removedNodes:_}=n,v=l===`attributes`,y=l===`childList`,b=e===a,x=v&&i,S=x&&jn(a,i||``),C=V(S)?S:null,w=x&&u!==C,T=Jt(m,i)&&w;if(t&&(y||!b)){let t=v&&w,l=t&&c&&Gn(a,c),p=(l?!o(a,i,u,C):!v||t)&&!s(n,!!l,e,r);H(f,(e=>Xt(d,e))),H(_,(e=>Xt(d,e))),g||=p}!t&&b&&w&&!o(a,i,u,C)&&(Xt(p,i),h||=T)})),f((e=>en(d).reduce(((t,n)=>(Xt(t,Un(e,n)),Gn(n,e)?Xt(t,n):t)),[]))),t)return!i&&g&&n(!1),[!1];if(!$t(p)||h){let e=[en(p),h];return i||n.apply(0,e),e}}},_=new Pt(W(g,!1));return[()=>(_.observe(e,{attributes:!0,attributeOldValue:!0,attributeFilter:h,subtree:t,childList:t,characterData:t}),i=!0,()=>{i&&=(d(),_.disconnect(),!1)}),()=>{if(i)return g(!0,_.takeRecords())}]},Qi=null,$i=(e,t,n)=>{let{ft:r}=n||{},i=Hr(Oi),[a]=St({o:!1,u:!0});return()=>{let n=[],o=ir(`<div class="${ci}"><div class="${ui}"></div></div>`)[0],s=o.firstChild,c=e=>{let n=Ht(e)&&!$t(e),r=!1,i=!1;if(n){let t=e[0],[n,,o]=a(t.contentRect),s=Sr(n);i=Cr(n,o),r=!i&&!s}else i=e===!0;r||t({_t:!0,ft:i})};if(It){if(!Bt(Qi)){let t=new It(On);t.observe(e,{get box(){Qi=!0}}),Qi||=!1,t.disconnect()}let t=Cn(c,{p:0,v:0}),r=e=>t(e),i=new It(r);if(i.observe(Qi?e:s),Xt(n,[()=>{i.disconnect()},!Qi&&$n(e,o)]),Qi){let t=new It(r);t.observe(e,{box:`border-box`}),Xt(n,(()=>t.disconnect()))}}else if(i){let[t,a]=i(s,c,r);Xt(n,Yt([Hn(o,li),J(o,`animationstart`,t),$n(e,o)],a))}else return On;return W(tn,n)}},ea=(e,t)=>{let n,r=e=>e.h===0||e.isIntersecting||e.intersectionRatio>0,i=rr(di),[a]=St({o:!1}),o=(e,n)=>{if(e){let i=a(r(e)),[,o]=i;return o&&!n&&t(i)&&[i]}},s=(e,t)=>o(t.pop(),e);return[()=>{let t=[];if(Ft)n=new Ft(W(s,!1),{root:e}),n.observe(i),Xt(t,(()=>{n.disconnect()}));else{let e=()=>{let e=gr(i);o(e)};Xt(t,$i(i,e)()),e()}return W(tn,Xt(t,$n(e,i)))},()=>n&&s(!0,n.takeRecords())]},ta=(e,t,n,r)=>{let i,a,o,s,c,l,u,d,f=`[${Xr}]`,p=`[${Qr}]`,m=[`id`,`class`,`style`,`open`,`wrap`,`cols`,`rows`],{dt:h,vt:g,L:_,gt:v,ht:y,V:b,bt:x,yt:S,wt:C,St:w}=e,T=e=>dr(e,`direction`)===`rtl`,E=()=>{let e,t,n,i=Cn(r,{p:()=>e,v:()=>t,S:()=>n,m(e,t){let[n]=e,[r]=t;return[Yt(Tn(n),Tn(r)).reduce(((e,t)=>(e[t]=n[t]||r[t],e)),{})]}}),a=(r,a)=>{if(Ht(a)){let[r,i,o]=a;e=r,t=i,n=o}else B(a)?(e=a,t=!1,n=!1):(e=!1,t=!1,n=!1);i(r)};return a.O=i.O,a},ee={Ot:!1,B:T(h)},te=Yi(),D=Hr(Pi),[O]=St({i:vn,o:{w:0,h:0}},(()=>{let r=D&&D.R(e,t,ee,te,n).Y,i=!(x&&b)&&zn(g,Xr,Jr),a=!b&&S(ti),o=a&&kr(v),s=o&&w(),c=C(ni,i),l=a&&r&&r(),u=vr(_),d=yr(_);return l&&l(),Or(v,o),s&&s(),i&&c(),{w:u.w+d.w,h:u.h+d.h}})),k=E(),ne=e=>{let t=T(h);G(e,{Ct:d!==t}),G(ee,{B:t}),d=t},A=(e,t)=>{let[n,i]=e,a={$t:i};return G(ee,{Ot:n}),t||r(a),a},re=({_t:e,ft:t})=>{let n=t?r:k,i={_t:e||t,ft:t};ne(i),n(i,a)},ie=(e,t)=>{let[,n]=O(),r={xt:n};return ne(r),n&&!t&&k(r,e?o:i),r},ae=(e,t,n)=>{let r={Ht:t};return ne(r),t&&!n&&k(r,i),r},[oe,j]=y?ea(g,A):[],se=!b&&$i(g,re,{ft:!0}),[ce,le]=Zi(g,!1,ae,{ct:m,et:m}),ue=b&&It&&new It((e=>{let t=e[e.length-1].contentRect;re({_t:!0,ft:Cr(t,u)}),u=t}));return[()=>{ue&&ue.observe(g);let e=se&&se(),t=oe&&oe(),n=ce(),r=te.G((e=>{let[,t]=O();k({Et:e,xt:t,_t:x},s)}));return()=>{ue&&ue.disconnect(),e&&e(),t&&t(),l&&l(),n(),r()}},({Dt:e,zt:t,It:n})=>{let r={},[u]=e(`update.ignoreMutation`),[d,h]=e(`update.attributes`),[g,v]=e(`update.elementEvents`),[x,S]=e(`update.debounce`),C=v||h,w=t||n,T=e=>Vt(u)&&!!u(e);if(C){c&&c(),l&&l();let[e,t]=Zi(y||_,!0,ie,{et:Yt(m,d||[]),rt:g,it:f,ut:(e,t)=>{let{target:n,attributeName:r}=e;return(!t&&r&&!b?Zn(n,f,p):!1)||!!Yn(n,`.${pi}`)||T(e)}});l=e(),c=t}if(S&&(k.O(),Ht(x)||B(x)?(i=x,a=!1,o=zi,s=Bi):Gt(x)?(i=x.mutation,a=x.resize,o=x.event,s=x.env):(i=!1,a=!1,o=!1,s=!1)),w){let e=le(),t=j&&j(),n=c&&c();e&&G(r,ae(e[0],e[1],w)),t&&G(r,A(t[0],w)),n&&G(r,ie(n[0],w))}return ne(r),r},ee]},na=(e,t)=>Vt(t)?t.apply(0,e):t,ra=(e,t,n,r)=>na(e,Rt(r)?n:r)||t.apply(0,e),ia=(e,t,n,r)=>{let i=na(e,Rt(r)?n:r);return!!i&&(Kt(i)?i:t.apply(0,e))},aa=(e,t)=>{let{nativeScrollbarsOverlaid:n,body:r}=t||{},{M:i,P:a,K:o}=Yi(),{nativeScrollbarsOverlaid:s,body:c}=o().cancel,l=n??s,u=Rt(r)?c:r,d=(i.x||i.y)&&l,f=e&&(zt(u)?!a:u);return!!d||!!f},Y=(e,t,n,r)=>{let{K:i}=Yi(),{scrollbars:a}=i(),{slot:o}=a,{dt:s,vt:c,L:l,At:u,gt:d,bt:f,V:p}=t,{scrollbars:m}=u?{}:e,{slot:h}=m||{},g=[],_=[],v=[],y=ia([s,c,l],(()=>p&&f?s:c),o,h),b=e=>{if(Lt){let t=null,r=[],i=new Lt({source:d,axis:e}),a=()=>{t&&t.cancel(),t=null};return{Mt:o=>{let{Tt:s}=n,c=Mr(s)[e],l=e===`x`,u=[fr(0,l),fr(`calc(-100% + 100cq${l?`w`:`h`})`,l)],d=c?u:u.reverse();return r[0]===d[0]&&r[1]===d[1]?a:(r=d,a(),t=o.kt.animate({clear:[`left`],transform:d},{timeline:i}),a)}}}},x={x:b(`x`),y:b(`y`)},S=()=>{let{Rt:e,Vt:t}=n,r=(e,t)=>kn(0,1,e/(e+t)||0);return{x:r(t.x,e.x),y:r(t.y,e.y)}},C=(e,t,n)=>{let r=n?Hn:Vn;H(e,(e=>{r(e.Lt,t)}))},w=(e,t)=>{H(e,(e=>{let[n,r]=t(e);ur(n,r)}))},T=(e,t,n)=>{let r=Bt(n),i=!r||n,a=!r||!n;i&&C(_,e,t),a&&C(v,e,t)},E=()=>{let e=S(),t=e=>t=>[t.Lt,{"--os-viewport-percent":cr(e)+``}];w(_,t(e.x)),w(v,t(e.y))},ee=()=>{if(!Lt){let{Tt:e}=n,t=Nr(e,kr(d)),r=e=>t=>[t.Lt,{"--os-scroll-percent":cr(e)+``}];w(_,r(t.x)),w(v,r(t.y))}},te=()=>{let{Tt:e}=n,t=Mr(e),r=e=>t=>[t.Lt,{"--os-scroll-direction":e?`0`:`1`}];w(_,r(t.x)),w(v,r(t.y)),Lt&&(_.forEach(x.x.Mt),v.forEach(x.y.Mt))},D=()=>{if(p&&!f){let{Rt:e,Tt:t}=n,r=Mr(t),i=Nr(t,kr(d)),a=t=>{let{Lt:n}=t,a=Jn(n)===l&&n,o=(e,t,n)=>{let r=t*e;return lr(n?r:-r)};return[a,a&&{transform:fr({x:o(i.x,e.x,r.x),y:o(i.y,e.y,r.y)})}]};w(_,a),w(v,a)}},O=e=>{let t=e?`x`:`y`,n=rr(`${pi} ${e?hi:gi}`),i=rr(_i),a=rr(vi),o={Lt:n,Pt:i,kt:a},s=x[t];return Xt(e?_:v,o),Xt(g,[$n(n,i),$n(i,a),W(Qn,n),s&&s.Mt(o),r(o,T,e)]),o},k=W(O,!0),ne=W(O,!1);return k(),ne(),[{Ut:E,Nt:ee,qt:te,Bt:D,Ft:T,jt:{Xt:_,Yt:k,Wt:W(w,_)},Jt:{Xt:v,Yt:ne,Wt:W(w,v)}},()=>($n(y,_[0].Lt),$n(y,v[0].Lt),W(tn,g))]},oa=(e,t,n,r,i)=>(a,o,s)=>{let{vt:c,L:l,V:u,gt:d,Gt:f,St:p}=t,{Lt:m,Pt:h,kt:g}=a,[_,v]=xn(333),[y,b]=xn(444),x=e=>{Vt(d.scrollBy)&&d.scrollBy({behavior:`smooth`,left:e.x,top:e.y})},S=()=>{let t=`pointerup pointercancel lostpointercapture`,i=`client${s?`X`:`Y`}`,a=s?fn:pn,o=s?`left`:`top`,c=s?`w`:`h`,l=s?`x`:`y`,u=[];return J(h,`pointerdown`,r((r=>{let m=Yn(r.target,`.${vi}`)===g,_=m?g:h,v=e.scrollbars,S=v[m?`dragScroll`:`clickScroll`],{button:C,isPrimary:w,pointerType:T}=r,{pointers:E}=v;if(C===0&&w&&S&&(E||[]).includes(T)){tn(u),b();let e=!m&&(r.shiftKey||S===`instant`),v=W(br,g),C=W(br,h),w=(e,t)=>(e||v())[o]-(t||C())[o],T=Et(br(d)[a])/gr(d)[c]||1,E=kr(d)[l],ee=e=>{Or(d,{[l]:E+e})},te=e=>{let{Rt:t}=n,r=gr(h)[c]-gr(g)[c],i=1/T*e/r;ee(i*t[l])},D=r[i],O=v(),k=C(),ne=O[a],A=w(O,k)+ne/2,re=D-k[o]-A,ie=m?0:re,ae=e=>{tn(se),_.releasePointerCapture(e.pointerId)},oe=m||e,j=p(),se=[J(f,t,ae),J(f,`selectstart`,(e=>Er(e)),{D:!1}),J(h,t,ae),oe&&J(h,`pointermove`,(e=>te(ie+e[i]-D))),oe&&(()=>{let e=kr(d);j();let t=kr(d),n={x:t.x-e.x,y:t.y-e.y};(Dt(n.x)>3||Dt(n.y)>3)&&(p(),Or(d,e),x(n),y(j))})];if(_.setPointerCapture(r.pointerId),e)te(re);else if(!m){let e=Hr(Fi);if(e){let{Vt:t}=n,r=e(ee,te,W(w),re,t[l],S,!!s,(e=>{e?j():Xt(se,j)}));Xt(se,r),Xt(u,W(r,!0))}}}})))},C=!0;return W(tn,[J(g,`pointermove pointerleave`,r(i)),J(m,`pointerenter`,r((()=>{o(xi,!0)}))),J(m,`pointerleave pointercancel`,r((()=>{o(xi,!1)}))),J(m,`wheel`,r((e=>{let{deltaX:t,deltaY:n,deltaMode:r}=e;C&&r===0&&Jn(m)===c&&x({x:t,y:n}),C=!1,o(Ti,!0),_((()=>{C=!0,o(Ti)})),Er(e)})),{D:!1,I:!0}),!u&&J(m,`mousedown`,r((()=>{let e=Xn();(Mn(e,Qr)||Mn(e,Xr)||e===document.body)&&jt(W(Pr,l),25)}))),J(m,`pointerdown`,(()=>{let e=J(f,`click`,(e=>{t(),Dr(e)}),{A:!0,I:!0,D:!1}),t=J(f,`pointerup pointercancel`,(()=>{t(),setTimeout(e,150)}),{I:!0,D:!0})}),{I:!0,D:!0}),S(),v,b])},sa=(e,t,n,r,i,a,o)=>{let s,c,l,u,d,f=On,p=0,m=[`mouse`,`pen`],h=e=>t=>{n.Kt||e(t)},g=e=>m.includes(e.pointerType),[_,v]=xn(),[y,b]=xn(100),[x,S]=xn(50),[C,w]=xn((()=>p)),[T,E]=Y(e,a,i,oa(t,a,i,h,(e=>g(e)&&ae()))),{vt:ee,Qt:te,bt:D}=a,{Ft:O,Ut:k,Nt:ne,qt:A,Bt:re}=T,ie=(e,t)=>{w();let r=e=>{n.Kt||O(wi,e)};if(e)r();else{let e=!l||!s;p>0&&!t?C(W(r,e)):r(e)}},ae=()=>{(l?!s:!u)&&(ie(!0),y((()=>{ie(!1)})))},oe=e=>{g(e)&&(s=!0,!n.Kt&&l&&ie(!0))},j=e=>{g(e)&&(s=!1,!n.Kt&&l&&ie(!1))},se=e=>{O(Ci,e,!0),O(Ci,e,!1)},ce=[w,b,S,v,()=>f(),J(ee,`pointerover`,oe,{A:!0}),J(ee,`pointerenter`,oe),J(ee,`pointerleave`,j),J(ee,`pointermove`,h((e=>{g(e)&&c&&ae()}))),J(te,`scroll`,h((e=>{_((()=>{ne(),ae()})),o(e),re()})))],le=Hr(Pi);return[()=>W(tn,Xt(ce,E())),({Dt:e,It:t,Zt:n,tn:a})=>{let{nn:o,sn:s,en:m,cn:g}=a||{},{Ct:_,ft:v}=n||{},{B:y}=r,{M:b,P:S}=Yi(),{rn:C,j:w}=i,[T,E]=e(`showNativeOverlaidScrollbars`),[ee,ae]=e(`scrollbars.theme`),[oe,j]=e(`scrollbars.visibility`),[ce,ue]=e(`scrollbars.autoHide`),[de,fe]=e(`scrollbars.autoHideSuspend`),[pe]=e(`scrollbars.autoHideDelay`),[me,he]=e(`scrollbars.dragScroll`),[ge,_e]=e(`scrollbars.clickScroll`),[ve,ye]=e(`overflow`),be=v&&!t,xe=o||s||g||_||t,Se=m||j||ye,Ce=T&&b.x&&b.y,M=!S&&!le,we=Ce||M,Te=(e,t,n)=>{let r=e.includes(hn)&&(oe===U||oe===`auto`&&t===hn);return O(yi,r,n),r};if(p=pe,(E||M)&&O(fi,we),ae&&(O(d),O(ee,!0),d=ee),(fe||be)&&(se(!de),be&&de&&(w.x||w.y?(f(),x((()=>{f=J(te,hn,h(W(se,!0)),{A:!0})}))):se(!0))),ue&&(c=ce===`move`,l=ce===`leave`,u=ce===`never`,ie(u,!0)),he&&O(Di,me),_e&&O(Ei,!!ge),Se){let e=Te(ve.x,C.x,!0),t=Te(ve.y,C.y,!1);O(bi,!(e&&t))}xe&&(ne(),k(),re(),g&&A(),O(Si,!w.x,!0),O(Si,!w.y,!1),O(mi,y&&!D))},{},T]},ca=e=>{let{K:t,P:n}=Yi(),{elements:r}=t(),{padding:i,viewport:a,content:o}=r,s=Kt(e),c=s?{}:e,{elements:l}=c,{padding:u,viewport:d,content:f}=l||{},p=s?e:c.target,m=Kn(p),h=p.ownerDocument,g=h.documentElement,_=()=>h.defaultView||Ct,v=W(ra,[p]),y=W(ia,[p]),b=W(rr,``),x=W(v,b,a),S=W(y,b,o),C=e=>{let t=gr(e),n=vr(e),r=dr(e,un),i=dr(e,dn);return n.w-t.w>0&&!Ai(r)||n.h-t.h>0&&!Ai(i)},w=x(d),T=w===p,E=T&&m,ee=!T&&S(f),te=!T&&w===ee,D=E?g:w,O=E?D:p,k=!T&&y(b,i,u),ne=!te&&ee,A=[ne,D,k,O].map((e=>Kt(e)&&!Jn(e)&&e)),re=e=>e&&Jt(A,e),ie=!re(D)&&C(D)?D:p,ae=E?g:D,oe={dt:p,vt:O,L:D,ln:k,ht:ne,gt:ae,Qt:E?h:D,an:m?g:ie,Gt:h,bt:m,At:s,V:T,un:_,yt:e=>zn(D,Qr,e),wt:(e,t)=>Rn(D,Qr,e,t),St:()=>Rn(ae,Qr,ri,!0)},{dt:j,vt:se,ln:ce,L:le,ht:ue}=oe,de=[()=>{Pn(se,[Xr,qr]),Pn(j,qr),m&&Pn(g,[qr,Xr])}],fe=qn([ue,le,ce,se,j].find((e=>e&&!re(e)))),pe=E?j:ue||le,me=W(tn,de);return[oe,()=>{let e=_(),t=Xn(),r=e=>{$n(Jn(e),qn(e)),Qn(e)},i=e=>J(e,`focusin focusout focus blur`,Dr,{I:!0,D:!1}),a=`tabindex`,o=jn(le,a),s=i(t);return Nn(se,Xr,T?``:Zr),Nn(ce,oi,``),Nn(le,Qr,``),Nn(ue,si,``),T||(Nn(le,a,o||`-1`),m&&Nn(g,Yr,``)),$n(pe,fe),$n(se,ce),$n(ce||se,!T&&le),$n(le,ue),Xt(de,[s,()=>{let e=Xn(),t=re(le),n=t&&e===le?j:e,s=i(n);Pn(ce,oi),Pn(ue,si),Pn(le,Qr),m&&Pn(g,Yr),o?Nn(le,a,o):Pn(le,a),re(ue)&&r(ue),t&&r(le),re(ce)&&r(ce),Pr(n),s()}]),n&&!T&&(Ln(le,Qr,ii),Xt(de,W(Pn,le,Qr))),Pr(!T&&m&&t===j&&e.top===e?le:t),s(),fe=0,me},me]},la=({ht:e})=>({Zt:t,fn:n,It:r})=>{let{$t:i}=t||{},{Ot:a}=n;e&&(i||r)&&ur(e,{[pn]:a&&`100%`})},ua=({vt:e,ln:t,L:n,V:r},i)=>{let[a,o]=St({i:bn,o:K()},W(K,e,`padding`,``));return({Dt:e,Zt:s,fn:c,It:l})=>{let[u,d]=o(l),{P:f}=Yi(),{_t:p,xt:m,Ct:h}=s||{},{B:g}=c,[_,v]=e(`paddingAbsolute`);(p||d||l||m)&&([u,d]=a(l));let y=!r&&(v||h||d);if(y){let e=!_||!t&&!f,r=u.r+u.l,a=u.t+u.b,o={[cn]:e&&!g?-r:0,[ln]:e?-a:0,[sn]:e&&g?-r:0,top:e?-u.t:0,right:e?g?-u.r:`auto`:0,left:e?g?`auto`:-u.l:0,[fn]:e&&`calc(100% + ${r}px)`},s={[nn]:e?u.t:0,[rn]:e?u.r:0,[on]:e?u.b:0,[an]:e?u.l:0};ur(t||n,o),ur(n,s),G(i,{ln:u,_n:!e,F:t?s:G({},o,s)})}return{dn:y}}},da=(e,t)=>{let n=Yi(),{vt:r,ln:i,L:a,V:o,Qt:s,gt:c,bt:l,wt:u,un:d}=e,{P:f}=n,p=l&&o,m=W(wt,0),h={display:()=>!1,direction:e=>e!==`ltr`,flexDirection:e=>e.endsWith(`-reverse`),writingMode:e=>e!==`horizontal-tb`},g=Tn(h),_={i:vn,o:{w:0,h:0}},v={i:yn,o:{}},y=e=>{u(ni,!p&&e)},b=()=>dr(a,g),x=(e,t)=>{let n=!Tn(e).length,r=t?!0:g.some((t=>{let n=e[t];return V(n)&&h[t](n)}));if(n||!r||!xr(a))return{T:{x:0,y:0},k:{x:1,y:1}};y(!0);let i=kr(c),o=J(s,hn,(e=>{let t=kr(c);e.isTrusted&&t.x===i.x&&t.y===i.y&&Tr(e)}),{I:!0,A:!0}),l=u(ai,!0);Or(c,{x:0,y:0}),l();let d=kr(c),f=vr(c);Or(c,{x:f.w,y:f.h});let p=kr(c),m={x:p.x-d.x,y:p.y-d.y};Or(c,{x:-f.w,y:-f.h});let _=kr(c),v={x:_.x-d.x,y:_.y-d.y},b={x:Dt(m.x)>=Dt(v.x)?p.x:_.x,y:Dt(m.y)>=Dt(v.y)?p.y:_.y};return Or(c,i),At((()=>o())),{T:d,k:b}},S=(e,t)=>{let n=Ct.devicePixelRatio%1==0?0:1,r={w:m(e.w-t.w),h:m(e.h-t.h)};return{w:r.w>n?r.w:0,h:r.h>n?r.h:0}},C=(e,t)=>{let n=(e,t,n,r)=>{let i=e===U?mn:ji(e),a=Ai(e),o=Ai(n);return!t&&!r?mn:a&&o?U:a?t&&r?i:t?U:mn:t?i:o&&r?U:mn};return{x:n(t.x,e.x,t.y,e.y),y:n(t.y,e.y,t.x,e.x)}},w=e=>{let t=e=>[U,mn,hn].map((t=>se(Mi(t),e))),n=t(!0).concat(t()).join(` `);u(n),u(Tn(e).map((t=>se(e[t],t===`x`))).join(` `),!0)},[T,E]=St(_,W(yr,a)),[ee,te]=St(_,W(vr,a)),[D,O]=St(_),[k]=St(v),[ne,A]=St(_),[re]=St(v),[ie]=St({i:(e,t)=>_n(e,t,en(Yt(Tn(e),Tn(t)))),o:{}}),[ae,oe]=St({i:(e,t)=>yn(e.T,t.T)&&yn(e.k,t.k),o:Ar()}),j=Hr(Pi),se=(e,t)=>`${t?$r:ei}${gn(e)}`;return({Dt:o,Zt:s,fn:c,It:l},{dn:h})=>{let{_t:g,Ht:_,xt:v,Ct:se,ft:ce,Et:le}=s||{},{X:ue,Y:de,W:fe}=j&&j.R(e,t,c,n,o)||{},[pe,me]=ki(o,n),[he,ge]=o(`overflow`),_e=Ai(he.x),ve=Ai(he.y),ye=g||h||v||se||le||me,be=E(l),xe=te(l),Se=O(l),Ce=A(l);if(me&&f&&u(ii,!pe),ye){zn(r,Xr,Jr)&&y(!0);let e=de&&de(),[t]=be=T(l),[n]=xe=ee(l),i=_r(a),o=p&&hr(d()),s={w:m(n.w+t.w),h:m(n.h+t.h)},c={w:m((o?o.w:i.w+m(i.w-n.w))+t.w),h:m((o?o.h:i.h+m(i.h-n.h))+t.h)};e&&e(),Ce=ne(c),Se=D(S(s,c),l)}let[M,we]=Ce,[Te,Ee]=Se,[De,Oe]=xe,[ke,Ae]=be,[je]=k({x:Te.w>0,y:Te.h>0}),Me=_e&&ve&&(je.x||je.y)||_e&&je.x&&!je.y||ve&&je.y&&!je.x,Ne=h||se||le||Ae||Oe||we||Ee||ge||me||ye||_&&p,[Pe]=o(`update.flowDirectionStyles`),[Fe,Ie]=ie(Pe?Pe(a)||{}:b(),l),[Le,Re]=se||ce||Ie||l?ae(x(Fe,!!Pe),l):oe(),ze=C(je,he);y(!1),Ne&&(w(ze),ze=Ni(a,je),fe&&ue&&(ue(ze,De,ke),ur(a,fe(ze))));let[Be,Ve]=re(ze);return Rn(r,Xr,Jr,Me),Rn(i,oi,Jr,Me),G(t,{rn:Be,Vt:{x:M.w,y:M.h},Rt:{x:Te.w,y:Te.h},j:je,Tt:jr(Le,Te)}),{en:Ve,nn:we,sn:Ee,cn:Re||Ee}}},fa=e=>{let[t,n,r]=ca(e),i={ln:{t:0,r:0,b:0,l:0},_n:!1,F:{[cn]:0,[ln]:0,[sn]:0,[nn]:0,[rn]:0,[on]:0,[an]:0},Vt:{x:0,y:0},Rt:{x:0,y:0},rn:{x:mn,y:mn},j:{x:!1,y:!1},Tt:Ar()},{dt:a,gt:o,V:s,St:c}=t,{P:l,M:u}=Yi(),d=!l&&(u.x||u.y),f=[la(t),ua(t,i),da(t,i)];return[n,e=>{let t={},n=d&&kr(o),r=n&&c();return H(f,(n=>{G(t,n(e,t)||{})})),Or(o,n),r&&r(),s||Or(a,0),t},i,t,r]},pa=(e,t,n,r)=>{let i=!1,a={Kt:!1,pn:!1},o=Ui(t,{}),[s,c,l,u,d]=fa(e),[f,p,m]=ta(u,l,o,(e=>{y({},e)})),[h,g,,_]=sa(e,t,a,m,l,u,r),v=e=>Tn(e).some((t=>!!e[t])),y=(e,r)=>{let{Kt:o,pn:s}=a;if(s||o&&i)return!1;let{vn:l,It:u,zt:d}=e,f=l||{},h=!!u||!i,_={Dt:Ui(t,f,h),vn:f,It:h},y=r||p(G({},_,{zt:d})),b=c(G({},_,{fn:m,Zt:y}));g(G({},_,{Zt:y,tn:b}));let x=v(y),S=v(b),C=x||S||!Dn(f)||h;return i=!0,C&&n(e,{Zt:y,tn:b}),C};return[()=>{let{an:e,gt:t,St:n}=u,r=kr(e),i=[f(),s(),h(),()=>{a.pn=!0}],o=n();return Or(t,r),o(),W(tn,i)},y,e=>{let t=a.Kt;a.Kt=e,!e&&t!==e&&y({It:!0,zt:!0})},()=>{g({Dt:Ui(t,{},!1),vn:{},It:!1})},()=>({gn:a,hn:m,bn:l}),{yn:u,wn:_},d]},ma=new WeakMap,ha=(e,t)=>{ma.set(e,t)},ga=e=>{ma.delete(e)},_a=e=>ma.get(e),va=(e,t,n)=>{let{tt:r}=Yi(),i=Kt(e),a=i?e:e.target,o=_a(a);if(t&&!o){let o=[],s={},c=e=>{let t=En(e),n=Hr(Ur);return n?n(t,!0):t},l=G({},r(),c(t)),[u,d,f]=Ir(),[p,m,h]=Ir(n),g=(e,t)=>{h(e,t),f(e,t)},[_,v,y,b,x,S,C]=pa(e,l,(({vn:e,It:t},{Zt:n,tn:r})=>{let{_t:i,Ct:a,$t:o,xt:s,Ht:c,ft:l}=n,{nn:u,sn:d,en:f,cn:p}=r;g(`updated`,[T,{updateHints:{sizeChanged:!!i,directionChanged:!!a,heightIntrinsicChanged:!!o,overflowEdgeChanged:!!u,overflowAmountChanged:!!d,overflowStyleChanged:!!f,scrollCoordinatesChanged:!!p,contentMutation:!!s,hostMutation:!!c,appear:!!l},changedOptions:e||{},force:!!t}])}),(e=>g(`scroll`,[T,e]))),w=e=>{let{gn:t}=x(),{pn:n}=t;n||(ga(a),tn(o),g(`destroyed`,[T,e]),d(),m())},T={options(e,t){if(e){let n=t?r():{},i=Hi(l,G(n,c(e)));Dn(i)||(G(l,i),v({vn:i}))}return G({},l)},on:p,off:(e,t)=>{e&&t&&m(e,t)},state(){let{gn:e,hn:t,bn:n}=x(),{pn:r,Kt:i}=e,{B:a}=t,{Vt:o,Rt:s,rn:c,j:l,ln:u,_n:d,Tt:f}=n;return G({},{overflowEdge:o,overflowAmount:s,overflowStyle:c,hasOverflow:l,scrollCoordinates:{start:f.T,end:f.k},padding:u,paddingAbsolute:d,directionRTL:a,sleeping:i,destroyed:r})},elements(){let{dt:e,vt:t,ln:n,L:r,ht:i,gt:a,Qt:o}=S.yn,{jt:s,Jt:c}=S.wn,l=e=>{let{kt:t,Pt:n,Lt:r}=e;return{scrollbar:r,track:n,handle:t}},u=e=>{let{Xt:t,Yt:n}=e;return G({},l(t[0]),{clone:()=>{let e=l(n());return b(),e}})};return G({},{target:e,host:t,padding:n||r,viewport:r,content:i||r,scrollOffsetElement:a,scrollEventElement:o,scrollbarHorizontal:u(s),scrollbarVertical:u(c)})},update:e=>v({It:e,zt:!0}),destroy:W(w,!1),sleep:y,plugin:e=>s[Tn(e)[0]]};return Xt(o,[C]),ha(a,T),Br(Lr,va,[T,u,s]),aa(S.yn.bt,!i&&e.cancel)?(w(!0),T):(Xt(o,_()),g(`initialized`,[T]),T.update(),T)}return o};va.plugin=e=>{let t=Ht(e),n=t?e:[e],r=n.map((e=>Br(e,va)[0]));return zr(n),t?r:r[0]},va.valid=e=>{let t=e&&e.elements,n=Vt(t)&&t();return Gt(n)&&!!_a(n.target)},va.env=()=>{let{U:e,M:t,P:n,J:r,ot:i,st:a,K:o,Z:s,tt:c,nt:l}=Yi();return G({},{scrollbarsSize:e,scrollbarsOverlaid:t,scrollbarsHiding:n,scrollTimeline:r,staticDefaultInitialization:i,staticDefaultOptions:a,getDefaultInitialization:o,setDefaultInitialization:s,getDefaultOptions:c,setDefaultOptions:l})},va.nonce=Ki,va.trustedTypePolicy=nr;var ya=()=>{if(typeof window>`u`){let e=()=>{};return[e,e]}let e,t,n=window,r=typeof n.requestIdleCallback==`function`,i=n.requestAnimationFrame,a=n.cancelAnimationFrame,o=r?n.requestIdleCallback:i,s=r?n.cancelIdleCallback:a,c=()=>{s(e),a(t)};return[(n,a)=>{c(),e=o(r?()=>{c(),t=i(n)}:n,typeof a==`object`?a:{timeout:2233})},c]},ba=e=>{let{options:t,events:n,defer:r}=e||{},[i,a]=(0,R.useMemo)(ya,[]),o=(0,R.useRef)(null),s=(0,R.useRef)(r),c=(0,R.useRef)(t),l=(0,R.useRef)(n);return(0,R.useEffect)(()=>{s.current=r},[r]),(0,R.useEffect)(()=>{let{current:e}=o;c.current=t,va.valid(e)&&e.options(t||{},!0)},[t]),(0,R.useEffect)(()=>{let{current:e}=o;l.current=n,va.valid(e)&&e.on(n||{},!0)},[n]),(0,R.useEffect)(()=>()=>{var e;a(),(e=o.current)==null||e.destroy()},[]),(0,R.useMemo)(()=>[e=>{let t=o.current;if(va.valid(t))return;let n=s.current,r=c.current||{},a=l.current||{},u=()=>o.current=va(e,r,a);n?i(u,n):u()},()=>o.current],[])},xa=(0,R.forwardRef)((e,t)=>{let{element:n=`div`,options:r,events:i,defer:a,children:o,...s}=e,c=n,l=(0,R.useRef)(null),u=(0,R.useRef)(null),[d,f]=ba({options:r,events:i,defer:a});return(0,R.useEffect)(()=>{let{current:e}=l,{current:t}=u;if(!e)return;let r=e;return d(n===`body`?{target:r,cancel:{body:null}}:{target:r,elements:{viewport:t,content:t}}),()=>f()?.destroy()},[d,n]),(0,R.useImperativeHandle)(t,()=>({osInstance:f,getElement:()=>l.current}),[]),R.createElement(c,{"data-overlayscrollbars-initialize":``,ref:l,...s},n===`body`?o:R.createElement(`div`,{"data-overlayscrollbars-contents":``,ref:u},o))}),Sa=oe(we(((e,t)=>{(function(){var n,r=`Expected a function`,i=`__lodash_hash_undefined__`,a=`__lodash_placeholder__`,o=1,s=2,c=8,l=16,u=32,d=64,f=128,p=256,m=512,h=1/0,g=9007199254740991,_=NaN,v=4294967295,y=v-1,b=v>>>1,x=[[`ary`,f],[`bind`,o],[`bindKey`,s],[`curry`,c],[`curryRight`,l],[`flip`,m],[`partial`,u],[`partialRight`,d],[`rearg`,p]],S=`[object Arguments]`,C=`[object Array]`,w=`[object AsyncFunction]`,T=`[object Boolean]`,E=`[object Date]`,ee=`[object DOMException]`,te=`[object Error]`,D=`[object Function]`,O=`[object GeneratorFunction]`,k=`[object Map]`,ne=`[object Number]`,A=`[object Null]`,re=`[object Object]`,ie=`[object Promise]`,ae=`[object Proxy]`,oe=`[object RegExp]`,j=`[object Set]`,se=`[object String]`,ce=`[object Symbol]`,le=`[object Undefined]`,ue=`[object WeakMap]`,de=`[object WeakSet]`,fe=`[object ArrayBuffer]`,pe=`[object DataView]`,me=`[object Float32Array]`,he=`[object Float64Array]`,ge=`[object Int8Array]`,_e=`[object Int16Array]`,ve=`[object Int32Array]`,ye=`[object Uint8Array]`,be=`[object Uint8ClampedArray]`,xe=`[object Uint16Array]`,Se=`[object Uint32Array]`,Ce=/\b__p \+= '';/g,M=/\b(__p \+=) '' \+/g,we=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Te=/&(?:amp|lt|gt|quot|#39);/g,Ee=/[&<>"']/g,De=RegExp(Te.source),Oe=RegExp(Ee.source),ke=/<%-([\s\S]+?)%>/g,Ae=/<%([\s\S]+?)%>/g,je=/<%=([\s\S]+?)%>/g,Me=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ne=/^\w*$/,Pe=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Fe=/[\\^$.*+?()[\]{}|]/g,Ie=RegExp(Fe.source),Le=/^\s+/,Re=/\s/,ze=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Be=/\{\n\/\* \[wrapped with (.+)\] \*/,Ve=/,? & /,He=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ue=/[()=,{}\[\]\/\s]/,We=/\\(\\)?/g,Ge=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ke=/\w*$/,qe=/^[-+]0x[0-9a-f]+$/i,Je=/^0b[01]+$/i,Ye=/^\[object .+?Constructor\]$/,N=/^0o[0-7]+$/i,Xe=/^(?:0|[1-9]\d*)$/,Ze=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Qe=/($^)/,$e=/['\n\r\u2028\u2029\\]/g,et=`\\ud800-\\udfff`,P=`\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff`,tt=`\\u2700-\\u27bf`,F=`a-z\\xdf-\\xf6\\xf8-\\xff`,nt=`\\xac\\xb1\\xd7\\xf7`,rt=`\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf`,it=`\\u2000-\\u206f`,I=` \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000`,L=`A-Z\\xc0-\\xd6\\xd8-\\xde`,at=`\\ufe0e\\ufe0f`,ot=nt+rt+it+I,st=`['’]`,R=`[`+et+`]`,ct=`[`+ot+`]`,lt=`[`+P+`]`,ut=`\\d+`,dt=`[`+tt+`]`,z=`[`+F+`]`,ft=`[^`+et+ot+ut+tt+F+L+`]`,pt=`\\ud83c[\\udffb-\\udfff]`,mt=`(?:`+lt+`|`+pt+`)`,ht=`[^`+et+`]`,gt=`(?:\\ud83c[\\udde6-\\uddff]){2}`,_t=`[\\ud800-\\udbff][\\udc00-\\udfff]`,vt=`[`+L+`]`,yt=`\\u200d`,bt=`(?:`+z+`|`+ft+`)`,xt=`(?:`+vt+`|`+ft+`)`,St=`(?:`+st+`(?:d|ll|m|re|s|t|ve))?`,Ct=`(?:`+st+`(?:D|LL|M|RE|S|T|VE))?`,wt=mt+`?`,Tt=`[`+at+`]?`,Et=`(?:`+yt+`(?:`+[ht,gt,_t].join(`|`)+`)`+Tt+wt+`)*`,Dt=`\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])`,Ot=`\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])`,kt=Tt+wt+Et,At=`(?:`+[dt,gt,_t].join(`|`)+`)`+kt,jt=`(?:`+[ht+lt+`?`,lt,gt,_t,R].join(`|`)+`)`,Mt=RegExp(st,`g`),Nt=RegExp(lt,`g`),Pt=RegExp(pt+`(?=`+pt+`)|`+jt+kt,`g`),Ft=RegExp([vt+`?`+z+`+`+St+`(?=`+[ct,vt,`$`].join(`|`)+`)`,xt+`+`+Ct+`(?=`+[ct,vt+bt,`$`].join(`|`)+`)`,vt+`?`+bt+`+`+St,vt+`+`+Ct,Ot,Dt,ut,At].join(`|`),`g`),It=RegExp(`[`+yt+et+P+at+`]`),Lt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Rt=`Array.Buffer.DataView.Date.Error.Float32Array.Float64Array.Function.Int8Array.Int16Array.Int32Array.Map.Math.Object.Promise.RegExp.Set.String.Symbol.TypeError.Uint8Array.Uint8ClampedArray.Uint16Array.Uint32Array.WeakMap._.clearTimeout.isFinite.parseInt.setTimeout`.split(`.`),zt=-1,B={};B[me]=B[he]=B[ge]=B[_e]=B[ve]=B[ye]=B[be]=B[xe]=B[Se]=!0,B[S]=B[C]=B[fe]=B[T]=B[pe]=B[E]=B[te]=B[D]=B[k]=B[ne]=B[re]=B[oe]=B[j]=B[se]=B[ue]=!1;var V={};V[S]=V[C]=V[fe]=V[pe]=V[T]=V[E]=V[me]=V[he]=V[ge]=V[_e]=V[ve]=V[k]=V[ne]=V[re]=V[oe]=V[j]=V[se]=V[ce]=V[ye]=V[be]=V[xe]=V[Se]=!0,V[te]=V[D]=V[ue]=!1;var Bt={À:`A`,Á:`A`,Â:`A`,Ã:`A`,Ä:`A`,Å:`A`,à:`a`,á:`a`,â:`a`,ã:`a`,ä:`a`,å:`a`,Ç:`C`,ç:`c`,Ð:`D`,ð:`d`,È:`E`,É:`E`,Ê:`E`,Ë:`E`,è:`e`,é:`e`,ê:`e`,ë:`e`,Ì:`I`,Í:`I`,Î:`I`,Ï:`I`,ì:`i`,í:`i`,î:`i`,ï:`i`,Ñ:`N`,ñ:`n`,Ò:`O`,Ó:`O`,Ô:`O`,Õ:`O`,Ö:`O`,Ø:`O`,ò:`o`,ó:`o`,ô:`o`,õ:`o`,ö:`o`,ø:`o`,Ù:`U`,Ú:`U`,Û:`U`,Ü:`U`,ù:`u`,ú:`u`,û:`u`,ü:`u`,Ý:`Y`,ý:`y`,ÿ:`y`,Æ:`Ae`,æ:`ae`,Þ:`Th`,þ:`th`,ß:`ss`,Ā:`A`,Ă:`A`,Ą:`A`,ā:`a`,ă:`a`,ą:`a`,Ć:`C`,Ĉ:`C`,Ċ:`C`,Č:`C`,ć:`c`,ĉ:`c`,ċ:`c`,č:`c`,Ď:`D`,Đ:`D`,ď:`d`,đ:`d`,Ē:`E`,Ĕ:`E`,Ė:`E`,Ę:`E`,Ě:`E`,ē:`e`,ĕ:`e`,ė:`e`,ę:`e`,ě:`e`,Ĝ:`G`,Ğ:`G`,Ġ:`G`,Ģ:`G`,ĝ:`g`,ğ:`g`,ġ:`g`,ģ:`g`,Ĥ:`H`,Ħ:`H`,ĥ:`h`,ħ:`h`,Ĩ:`I`,Ī:`I`,Ĭ:`I`,Į:`I`,İ:`I`,ĩ:`i`,ī:`i`,ĭ:`i`,į:`i`,ı:`i`,Ĵ:`J`,ĵ:`j`,Ķ:`K`,ķ:`k`,ĸ:`k`,Ĺ:`L`,Ļ:`L`,Ľ:`L`,Ŀ:`L`,Ł:`L`,ĺ:`l`,ļ:`l`,ľ:`l`,ŀ:`l`,ł:`l`,Ń:`N`,Ņ:`N`,Ň:`N`,Ŋ:`N`,ń:`n`,ņ:`n`,ň:`n`,ŋ:`n`,Ō:`O`,Ŏ:`O`,Ő:`O`,ō:`o`,ŏ:`o`,ő:`o`,Ŕ:`R`,Ŗ:`R`,Ř:`R`,ŕ:`r`,ŗ:`r`,ř:`r`,Ś:`S`,Ŝ:`S`,Ş:`S`,Š:`S`,ś:`s`,ŝ:`s`,ş:`s`,š:`s`,Ţ:`T`,Ť:`T`,Ŧ:`T`,ţ:`t`,ť:`t`,ŧ:`t`,Ũ:`U`,Ū:`U`,Ŭ:`U`,Ů:`U`,Ű:`U`,Ų:`U`,ũ:`u`,ū:`u`,ŭ:`u`,ů:`u`,ű:`u`,ų:`u`,Ŵ:`W`,ŵ:`w`,Ŷ:`Y`,ŷ:`y`,Ÿ:`Y`,Ź:`Z`,Ż:`Z`,Ž:`Z`,ź:`z`,ż:`z`,ž:`z`,IJ:`IJ`,ij:`ij`,Œ:`Oe`,œ:`oe`,ʼn:`'n`,ſ:`s`},Vt={"&":`&amp;`,"<":`&lt;`,">":`&gt;`,'"':`&quot;`,"'":`&#39;`},Ht={"&amp;":`&`,"&lt;":`<`,"&gt;":`>`,"&quot;":`"`,"&#39;":`'`},Ut={"\\":`\\`,"'":`'`,"\n":`n`,"\r":`r`,"\u2028":`u2028`,"\u2029":`u2029`},Wt=parseFloat,Gt=parseInt,Kt=typeof global==`object`&&global&&global.Object===Object&&global,qt=typeof self==`object`&&self&&self.Object===Object&&self,H=Kt||qt||Function(`return this`)(),Jt=typeof e==`object`&&e&&!e.nodeType&&e,Yt=Jt&&typeof t==`object`&&t&&!t.nodeType&&t,Xt=Yt&&Yt.exports===Jt,Zt=Xt&&Kt.process,Qt=function(){try{return Yt&&Yt.require&&Yt.require(`util`).types||Zt&&Zt.binding&&Zt.binding(`util`)}catch{}}(),$t=Qt&&Qt.isArrayBuffer,en=Qt&&Qt.isDate,tn=Qt&&Qt.isMap,nn=Qt&&Qt.isRegExp,rn=Qt&&Qt.isSet,an=Qt&&Qt.isTypedArray;function on(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function sn(e,t,n,r){for(var i=-1,a=e==null?0:e.length;++i<a;){var o=e[i];t(r,o,n(o),e)}return r}function cn(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}function ln(e,t){for(var n=e==null?0:e.length;n--&&t(e[n],n,e)!==!1;);return e}function un(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function dn(e,t){for(var n=-1,r=e==null?0:e.length,i=0,a=[];++n<r;){var o=e[n];t(o,n,e)&&(a[i++]=o)}return a}function fn(e,t){return!!(e!=null&&e.length)&&Sn(e,t,0)>-1}function pn(e,t,n){for(var r=-1,i=e==null?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1}function U(e,t){for(var n=-1,r=e==null?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}function mn(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}function hn(e,t,n,r){var i=-1,a=e==null?0:e.length;for(r&&a&&(n=e[++i]);++i<a;)n=t(n,e[i],i,e);return n}function gn(e,t,n,r){var i=e==null?0:e.length;for(r&&i&&(n=e[--i]);i--;)n=t(n,e[i],i,e);return n}function _n(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var vn=G(`length`);function yn(e){return e.split(``)}function bn(e){return e.match(He)||[]}function W(e,t,n){var r;return n(e,function(e,n,i){if(t(e,n,i))return r=n,!1}),r}function xn(e,t,n,r){for(var i=e.length,a=n+(r?1:-1);r?a--:++a<i;)if(t(e[a],a,e))return a;return-1}function Sn(e,t,n){return t===t?Zn(e,t,n):xn(e,wn,n)}function Cn(e,t,n,r){for(var i=n-1,a=e.length;++i<a;)if(r(e[i],t))return i;return-1}function wn(e){return e!==e}function Tn(e,t){var n=e==null?0:e.length;return n?kn(e,t)/n:_}function G(e){return function(t){return t==null?n:t[e]}}function En(e){return function(t){return e==null?n:e[t]}}function Dn(e,t,n,r,i){return i(e,function(e,i,a){n=r?(r=!1,e):t(n,e,i,a)}),n}function On(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}function kn(e,t){for(var r,i=-1,a=e.length;++i<a;){var o=t(e[i]);o!==n&&(r=r===n?o:r+o)}return r}function An(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function jn(e,t){return U(t,function(t){return[t,e[t]]})}function Mn(e){return e&&e.slice(0,tr(e)+1).replace(Le,``)}function Nn(e){return function(t){return e(t)}}function Pn(e,t){return U(t,function(t){return e[t]})}function Fn(e,t){return e.has(t)}function In(e,t){for(var n=-1,r=e.length;++n<r&&Sn(t,e[n],0)>-1;);return n}function Ln(e,t){for(var n=e.length;n--&&Sn(t,e[n],0)>-1;);return n}function Rn(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}var zn=En(Bt),Bn=En(Vt);function Vn(e){return`\\`+Ut[e]}function Hn(e,t){return e==null?n:e[t]}function Un(e){return It.test(e)}function Wn(e){return Lt.test(e)}function Gn(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}function Kn(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function qn(e,t){return function(n){return e(t(n))}}function Jn(e,t){for(var n=-1,r=e.length,i=0,o=[];++n<r;){var s=e[n];(s===t||s===a)&&(e[n]=a,o[i++]=n)}return o}function Yn(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}function Xn(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=[e,e]}),n}function Zn(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}function Qn(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}function $n(e){return Un(e)?rr(e):vn(e)}function er(e){return Un(e)?ir(e):yn(e)}function tr(e){for(var t=e.length;t--&&Re.test(e.charAt(t)););return t}var nr=En(Ht);function rr(e){for(var t=Pt.lastIndex=0;Pt.test(e);)++t;return t}function ir(e){return e.match(Pt)||[]}function ar(e){return e.match(Ft)||[]}var or=(function e(t){t=t==null?H:or.defaults(H.Object(),t,or.pick(H,Rt));var Re=t.Array,He=t.Date,et=t.Error,P=t.Function,tt=t.Math,F=t.Object,nt=t.RegExp,rt=t.String,it=t.TypeError,I=Re.prototype,L=P.prototype,at=F.prototype,ot=t[`__core-js_shared__`],st=L.toString,R=at.hasOwnProperty,ct=0,lt=function(){var e=/[^.]+$/.exec(ot&&ot.keys&&ot.keys.IE_PROTO||``);return e?`Symbol(src)_1.`+e:``}(),ut=at.toString,dt=st.call(F),z=H._,ft=nt(`^`+st.call(R).replace(Fe,`\\$&`).replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,`$1.*?`)+`$`),pt=Xt?t.Buffer:n,mt=t.Symbol,ht=t.Uint8Array,gt=pt?pt.allocUnsafe:n,_t=qn(F.getPrototypeOf,F),vt=F.create,yt=at.propertyIsEnumerable,bt=I.splice,xt=mt?mt.isConcatSpreadable:n,St=mt?mt.iterator:n,Ct=mt?mt.toStringTag:n,wt=function(){try{var e=jo(F,`defineProperty`);return e({},``,{}),e}catch{}}(),Tt=t.clearTimeout!==H.clearTimeout&&t.clearTimeout,Et=He&&He.now!==H.Date.now&&He.now,Dt=t.setTimeout!==H.setTimeout&&t.setTimeout,Ot=tt.ceil,kt=tt.floor,At=F.getOwnPropertySymbols,jt=pt?pt.isBuffer:n,Pt=t.isFinite,Ft=I.join,It=qn(F.keys,F),Lt=tt.max,Bt=tt.min,Vt=He.now,Ht=t.parseInt,Ut=tt.random,Kt=I.reverse,qt=jo(t,`DataView`),Jt=jo(t,`Map`),Yt=jo(t,`Promise`),Zt=jo(t,`Set`),Qt=jo(t,`WeakMap`),vn=jo(F,`create`),yn=Qt&&new Qt,En={},Zn=gs(qt),rr=gs(Jt),ir=gs(Yt),sr=gs(Zt),cr=gs(Qt),lr=mt?mt.prototype:n,ur=lr?lr.valueOf:n,dr=lr?lr.toString:n;function K(e){if(cu(e)&&!Z(e)&&!(e instanceof q)){if(e instanceof mr)return e;if(R.call(e,`__wrapped__`))return vs(e)}return new mr(e)}var fr=function(){function e(){}return function(t){if(!su(t))return{};if(vt)return vt(t);e.prototype=t;var r=new e;return e.prototype=n,r}}();function pr(){}function mr(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=n}K.templateSettings={escape:ke,evaluate:Ae,interpolate:je,variable:``,imports:{_:K}},K.prototype=pr.prototype,K.prototype.constructor=K,mr.prototype=fr(pr.prototype),mr.prototype.constructor=mr;function q(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=v,this.__views__=[]}function hr(){var e=new q(this.__wrapped__);return e.__actions__=Ha(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Ha(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Ha(this.__views__),e}function gr(){if(this.__filtered__){var e=new q(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function _r(){var e=this.__wrapped__.value(),t=this.__dir__,n=Z(e),r=t<0,i=n?e.length:0,a=Io(0,i,this.__views__),o=a.start,s=a.end,c=s-o,l=r?s:o-1,u=this.__iteratees__,d=u.length,f=0,p=Bt(c,this.__takeCount__);if(!n||!r&&i==c&&p==c)return Ca(e,this.__actions__);var m=[];outer:for(;c--&&f<p;){l+=t;for(var h=-1,g=e[l];++h<d;){var _=u[h],v=_.iteratee,y=_.type,b=v(g);if(y==2)g=b;else if(!b){if(y==1)continue outer;break outer}}m[f++]=g}return m}q.prototype=fr(pr.prototype),q.prototype.constructor=q;function vr(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function yr(){this.__data__=vn?vn(null):{},this.size=0}function br(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=+!!t,t}function xr(e){var t=this.__data__;if(vn){var r=t[e];return r===i?n:r}return R.call(t,e)?t[e]:n}function Sr(e){var t=this.__data__;return vn?t[e]!==n:R.call(t,e)}function Cr(e,t){var r=this.__data__;return this.size+=+!this.has(e),r[e]=vn&&t===n?i:t,this}vr.prototype.clear=yr,vr.prototype.delete=br,vr.prototype.get=xr,vr.prototype.has=Sr,vr.prototype.set=Cr;function wr(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function J(){this.__data__=[],this.size=0}function Tr(e){var t=this.__data__,n=Xr(t,e);return n<0?!1:(n==t.length-1?t.pop():bt.call(t,n,1),--this.size,!0)}function Er(e){var t=this.__data__,r=Xr(t,e);return r<0?n:t[r][1]}function Dr(e){return Xr(this.__data__,e)>-1}function Or(e,t){var n=this.__data__,r=Xr(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}wr.prototype.clear=J,wr.prototype.delete=Tr,wr.prototype.get=Er,wr.prototype.has=Dr,wr.prototype.set=Or;function kr(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Ar(){this.size=0,this.__data__={hash:new vr,map:new(Jt||wr),string:new vr}}function jr(e){var t=ko(this,e).delete(e);return this.size-=+!!t,t}function Mr(e){return ko(this,e).get(e)}function Nr(e){return ko(this,e).has(e)}function Pr(e,t){var n=ko(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}kr.prototype.clear=Ar,kr.prototype.delete=jr,kr.prototype.get=Mr,kr.prototype.has=Nr,kr.prototype.set=Pr;function Fr(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new kr;++t<n;)this.add(e[t])}function Ir(e){return this.__data__.set(e,i),this}function Lr(e){return this.__data__.has(e)}Fr.prototype.add=Fr.prototype.push=Ir,Fr.prototype.has=Lr;function Rr(e){var t=this.__data__=new wr(e);this.size=t.size}function zr(){this.__data__=new wr,this.size=0}function Br(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function Vr(e){return this.__data__.get(e)}function Hr(e){return this.__data__.has(e)}function Ur(e,t){var n=this.__data__;if(n instanceof wr){var r=n.__data__;if(!Jt||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new kr(r)}return n.set(e,t),this.size=n.size,this}Rr.prototype.clear=zr,Rr.prototype.delete=Br,Rr.prototype.get=Vr,Rr.prototype.has=Hr,Rr.prototype.set=Ur;function Wr(e,t){var n=Z(e),r=!n&&Gl(e),i=!n&&!r&&Xl(e),a=!n&&!r&&!i&&Cu(e),o=n||r||i||a,s=o?An(e.length,rt):[],c=s.length;for(var l in e)(t||R.call(e,l))&&!(o&&(l==`length`||i&&(l==`offset`||l==`parent`)||a&&(l==`buffer`||l==`byteLength`||l==`byteOffset`)||Wo(l,c)))&&s.push(l);return s}function Gr(e){var t=e.length;return t?e[ra(0,t-1)]:n}function Kr(e,t){return ps(Ha(e),ni(t,0,e.length))}function qr(e){return ps(Ha(e))}function Jr(e,t,r){(r!==n&&!Hl(e[t],r)||r===n&&!(t in e))&&ei(e,t,r)}function Yr(e,t,r){var i=e[t];(!(R.call(e,t)&&Hl(i,r))||r===n&&!(t in e))&&ei(e,t,r)}function Xr(e,t){for(var n=e.length;n--;)if(Hl(e[n][0],t))return n;return-1}function Zr(e,t,n,r){return ci(e,function(e,i,a){t(r,e,n(e),a)}),r}function Qr(e,t){return e&&Ua(t,rd(t),e)}function $r(e,t){return e&&Ua(t,id(t),e)}function ei(e,t,n){t==`__proto__`&&wt?wt(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function ti(e,t){for(var r=-1,i=t.length,a=Re(i),o=e==null;++r<i;)a[r]=o?n:Zu(e,t[r]);return a}function ni(e,t,r){return e===e&&(r!==n&&(e=e<=r?e:r),t!==n&&(e=e>=t?e:t)),e}function ri(e,t,r,i,a,o){var s,c=t&1,l=t&2,u=t&4;if(r&&(s=a?r(e,i,a,o):r(e)),s!==n)return s;if(!su(e))return e;var d=Z(e);if(d){if(s=zo(e),!c)return Ha(e,s)}else{var f=Fo(e),p=f==D||f==O;if(Xl(e))return Ma(e,c);if(f==re||f==S||p&&!a){if(s=l||p?{}:Bo(e),!c)return l?Ga(e,$r(s,e)):Wa(e,Qr(s,e))}else{if(!V[f])return a?e:{};s=Vo(e,f,c)}}o||=new Rr;var m=o.get(e);if(m)return m;o.set(e,s),bu(e)?e.forEach(function(n){s.add(ri(n,t,r,n,e,o))}):lu(e)&&e.forEach(function(n,i){s.set(i,ri(n,t,r,i,e,o))});var h=d?n:(u?l?To:wo:l?id:rd)(e);return cn(h||e,function(n,i){h&&(i=n,n=e[i]),Yr(s,i,ri(n,t,r,i,e,o))}),s}function ii(e){var t=rd(e);return function(n){return ai(n,e,t)}}function ai(e,t,r){var i=r.length;if(e==null)return!i;for(e=F(e);i--;){var a=r[i],o=t[a],s=e[a];if(s===n&&!(a in e)||!o(s))return!1}return!0}function oi(e,t,i){if(typeof e!=`function`)throw new it(r);return ls(function(){e.apply(n,i)},t)}function si(e,t,n,r){var i=-1,a=fn,o=!0,s=e.length,c=[],l=t.length;if(!s)return c;n&&(t=U(t,Nn(n))),r?(a=pn,o=!1):t.length>=200&&(a=Fn,o=!1,t=new Fr(t));outer:for(;++i<s;){var u=e[i],d=n==null?u:n(u);if(u=r||u!==0?u:0,o&&d===d){for(var f=l;f--;)if(t[f]===d)continue outer;c.push(u)}else a(t,d,r)||c.push(u)}return c}var ci=Ja(_i),li=Ja(vi,!0);function ui(e,t){var n=!0;return ci(e,function(e,r,i){return n=!!t(e,r,i),n}),n}function di(e,t,r){for(var i=-1,a=e.length;++i<a;){var o=e[i],s=t(o);if(s!=null&&(c===n?s===s&&!Su(s):r(s,c)))var c=s,l=o}return l}function fi(e,t,r,i){var a=e.length;for(r=Q(r),r<0&&(r=-r>a?0:a+r),i=i===n||i>a?a:Q(i),i<0&&(i+=a),i=r>i?0:ju(i);r<i;)e[r++]=t;return e}function pi(e,t){var n=[];return ci(e,function(e,r,i){t(e,r,i)&&n.push(e)}),n}function mi(e,t,n,r,i){var a=-1,o=e.length;for(n||=Uo,i||=[];++a<o;){var s=e[a];t>0&&n(s)?t>1?mi(s,t-1,n,r,i):mn(i,s):r||(i[i.length]=s)}return i}var hi=Ya(),gi=Ya(!0);function _i(e,t){return e&&hi(e,t,rd)}function vi(e,t){return e&&gi(e,t,rd)}function yi(e,t){return dn(t,function(t){return iu(e[t])})}function bi(e,t){t=Oa(t,e);for(var r=0,i=t.length;e!=null&&r<i;)e=e[hs(t[r++])];return r&&r==i?e:n}function xi(e,t,n){var r=t(e);return Z(e)?r:mn(r,n(e))}function Si(e){return e==null?e===n?le:A:Ct&&Ct in F(e)?Mo(e):rs(e)}function Ci(e,t){return e>t}function wi(e,t){return e!=null&&R.call(e,t)}function Ti(e,t){return e!=null&&t in F(e)}function Ei(e,t,n){return e>=Bt(t,n)&&e<Lt(t,n)}function Di(e,t,r){for(var i=r?pn:fn,a=e[0].length,o=e.length,s=o,c=Re(o),l=1/0,u=[];s--;){var d=e[s];s&&t&&(d=U(d,Nn(t))),l=Bt(d.length,l),c[s]=!r&&(t||a>=120&&d.length>=120)?new Fr(s&&d):n}d=e[0];var f=-1,p=c[0];outer:for(;++f<a&&u.length<l;){var m=d[f],h=t?t(m):m;if(m=r||m!==0?m:0,!(p?Fn(p,h):i(u,h,r))){for(s=o;--s;){var g=c[s];if(!(g?Fn(g,h):i(e[s],h,r)))continue outer}p&&p.push(h),u.push(m)}}return u}function Oi(e,t,n,r){return _i(e,function(e,i,a){t(r,n(e),i,a)}),r}function ki(e,t,r){t=Oa(t,e),e=as(e,t);var i=e==null?e:e[hs(Us(t))];return i==null?n:on(i,e,r)}function Ai(e){return cu(e)&&Si(e)==S}function ji(e){return cu(e)&&Si(e)==fe}function Mi(e){return cu(e)&&Si(e)==E}function Ni(e,t,n,r,i){return e===t?!0:e==null||t==null||!cu(e)&&!cu(t)?e!==e&&t!==t:Pi(e,t,n,r,Ni,i)}function Pi(e,t,n,r,i,a){var o=Z(e),s=Z(t),c=o?C:Fo(e),l=s?C:Fo(t);c=c==S?re:c,l=l==S?re:l;var u=c==re,d=l==re,f=c==l;if(f&&Xl(e)){if(!Xl(t))return!1;o=!0,u=!1}if(f&&!u)return a||=new Rr,o||Cu(e)?bo(e,t,n,r,i,a):xo(e,t,c,n,r,i,a);if(!(n&1)){var p=u&&R.call(e,`__wrapped__`),m=d&&R.call(t,`__wrapped__`);if(p||m){var h=p?e.value():e,g=m?t.value():t;return a||=new Rr,i(h,g,n,r,a)}}return f?(a||=new Rr,So(e,t,n,r,i,a)):!1}function Fi(e){return cu(e)&&Fo(e)==k}function Ii(e,t,r,i){var a=r.length,o=a,s=!i;if(e==null)return!o;for(e=F(e);a--;){var c=r[a];if(s&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++a<o;){c=r[a];var l=c[0],u=e[l],d=c[1];if(s&&c[2]){if(u===n&&!(l in e))return!1}else{var f=new Rr;if(i)var p=i(u,d,l,e,t,f);if(!(p===n?Ni(d,u,3,i,f):p))return!1}}return!0}function Li(e){return!su(e)||Yo(e)?!1:(iu(e)?ft:Ye).test(gs(e))}function Ri(e){return cu(e)&&Si(e)==oe}function zi(e){return cu(e)&&Fo(e)==j}function Bi(e){return cu(e)&&ou(e.length)&&!!B[Si(e)]}function Vi(e){return typeof e==`function`?e:e==null?ff:typeof e==`object`?Z(e)?qi(e[0],e[1]):Ki(e):Tf(e)}function Hi(e){if(!Zo(e))return It(e);var t=[];for(var n in F(e))R.call(e,n)&&n!=`constructor`&&t.push(n);return t}function Ui(e){if(!su(e))return ns(e);var t=Zo(e),n=[];for(var r in e)r==`constructor`&&(t||!R.call(e,r))||n.push(r);return n}function Wi(e,t){return e<t}function Gi(e,t){var n=-1,r=ql(e)?Re(e.length):[];return ci(e,function(e,i,a){r[++n]=t(e,i,a)}),r}function Ki(e){var t=Ao(e);return t.length==1&&t[0][2]?$o(t[0][0],t[0][1]):function(n){return n===e||Ii(n,e,t)}}function qi(e,t){return Ko(e)&&Qo(t)?$o(hs(e),t):function(r){var i=Zu(r,e);return i===n&&i===t?$u(r,e):Ni(t,i,3)}}function Ji(e,t,r,i,a){e!==t&&hi(t,function(o,s){if(a||=new Rr,su(o))Yi(e,t,s,r,Ji,i,a);else{var c=i?i(ss(e,s),o,s+``,e,t,a):n;c===n&&(c=o),Jr(e,s,c)}},id)}function Yi(e,t,r,i,a,o,s){var c=ss(e,r),l=ss(t,r),u=s.get(l);if(u){Jr(e,r,u);return}var d=o?o(c,l,r+``,e,t,s):n,f=d===n;if(f){var p=Z(l),m=!p&&Xl(l),h=!p&&!m&&Cu(l);d=l,p||m||h?Z(c)?d=c:Jl(c)?d=Ha(c):m?(f=!1,d=Ma(l,!0)):h?(f=!1,d=La(l,!0)):d=[]:_u(l)||Gl(l)?(d=c,Gl(c)?d=Nu(c):(!su(c)||iu(c))&&(d=Bo(l))):f=!1}f&&(s.set(l,d),a(d,l,i,o,s),s.delete(l)),Jr(e,r,d)}function Xi(e,t){var r=e.length;if(r)return t+=t<0?r:0,Wo(t,r)?e[t]:n}function Zi(e,t,n){t=t.length?U(t,function(e){return Z(e)?function(t){return bi(t,e.length===1?e[0]:e)}:e}):[ff];var r=-1;return t=U(t,Nn(X())),On(Gi(e,function(e,n,i){return{criteria:U(t,function(t){return t(e)}),index:++r,value:e}}),function(e,t){return za(e,t,n)})}function Qi(e,t){return $i(e,t,function(t,n){return $u(e,n)})}function $i(e,t,n){for(var r=-1,i=t.length,a={};++r<i;){var o=t[r],s=bi(e,o);n(s,o)&&ca(a,Oa(o,e),s)}return a}function ea(e){return function(t){return bi(t,e)}}function ta(e,t,n,r){var i=r?Cn:Sn,a=-1,o=t.length,s=e;for(e===t&&(t=Ha(t)),n&&(s=U(e,Nn(n)));++a<o;)for(var c=0,l=t[a],u=n?n(l):l;(c=i(s,u,c,r))>-1;)s!==e&&bt.call(s,c,1),bt.call(e,c,1);return e}function na(e,t){for(var n=e?t.length:0,r=n-1;n--;){var i=t[n];if(n==r||i!==a){var a=i;Wo(i)?bt.call(e,i,1):ba(e,i)}}return e}function ra(e,t){return e+kt(Ut()*(t-e+1))}function ia(e,t,n,r){for(var i=-1,a=Lt(Ot((t-e)/(n||1)),0),o=Re(a);a--;)o[r?a:++i]=e,e+=n;return o}function aa(e,t){var n=``;if(!e||t<1||t>g)return n;do t%2&&(n+=e),t=kt(t/2),t&&(e+=e);while(t);return n}function Y(e,t){return us(is(e,t,ff),e+``)}function oa(e){return Gr(Sd(e))}function sa(e,t){var n=Sd(e);return ps(n,ni(t,0,n.length))}function ca(e,t,r,i){if(!su(e))return e;t=Oa(t,e);for(var a=-1,o=t.length,s=o-1,c=e;c!=null&&++a<o;){var l=hs(t[a]),u=r;if(l===`__proto__`||l===`constructor`||l===`prototype`)return e;if(a!=s){var d=c[l];u=i?i(d,l,c):n,u===n&&(u=su(d)?d:Wo(t[a+1])?[]:{})}Yr(c,l,u),c=c[l]}return e}var la=yn?function(e,t){return yn.set(e,t),e}:ff,ua=wt?function(e,t){return wt(e,`toString`,{configurable:!0,enumerable:!1,value:cf(t),writable:!0})}:ff;function da(e){return ps(Sd(e))}function fa(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),n=n>i?i:n,n<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var a=Re(i);++r<i;)a[r]=e[r+t];return a}function pa(e,t){var n;return ci(e,function(e,r,i){return n=t(e,r,i),!n}),!!n}function ma(e,t,n){var r=0,i=e==null?r:e.length;if(typeof t==`number`&&t===t&&i<=b){for(;r<i;){var a=r+i>>>1,o=e[a];o!==null&&!Su(o)&&(n?o<=t:o<t)?r=a+1:i=a}return i}return ha(e,t,ff,n)}function ha(e,t,r,i){var a=0,o=e==null?0:e.length;if(o===0)return 0;t=r(t);for(var s=t!==t,c=t===null,l=Su(t),u=t===n;a<o;){var d=kt((a+o)/2),f=r(e[d]),p=f!==n,m=f===null,h=f===f,g=Su(f);if(s)var _=i||h;else _=u?h&&(i||p):c?h&&p&&(i||!m):l?h&&p&&!m&&(i||!g):m||g?!1:i?f<=t:f<t;_?a=d+1:o=d}return Bt(o,y)}function ga(e,t){for(var n=-1,r=e.length,i=0,a=[];++n<r;){var o=e[n],s=t?t(o):o;if(!n||!Hl(s,c)){var c=s;a[i++]=o===0?0:o}}return a}function _a(e){return typeof e==`number`?e:Su(e)?_:+e}function va(e){if(typeof e==`string`)return e;if(Z(e))return U(e,va)+``;if(Su(e))return dr?dr.call(e):``;var t=e+``;return t==`0`&&1/e==-1/0?`-0`:t}function ya(e,t,n){var r=-1,i=fn,a=e.length,o=!0,s=[],c=s;if(n)o=!1,i=pn;else if(a>=200){var l=t?null:mo(e);if(l)return Yn(l);o=!1,i=Fn,c=new Fr}else c=t?[]:s;outer:for(;++r<a;){var u=e[r],d=t?t(u):u;if(u=n||u!==0?u:0,o&&d===d){for(var f=c.length;f--;)if(c[f]===d)continue outer;t&&c.push(d),s.push(u)}else i(c,d,n)||(c!==s&&c.push(d),s.push(u))}return s}function ba(e,t){t=Oa(t,e);var n=-1,r=t.length;if(!r)return!0;for(;++n<r;){var i=hs(t[n]);if(i===`__proto__`&&!R.call(e,`__proto__`)||(i===`constructor`||i===`prototype`)&&n<r-1)return!1}var a=as(e,t);return a==null||delete a[hs(Us(t))]}function xa(e,t,n,r){return ca(e,t,n(bi(e,t)),r)}function Sa(e,t,n,r){for(var i=e.length,a=r?i:-1;(r?a--:++a<i)&&t(e[a],a,e););return n?fa(e,r?0:a,r?a+1:i):fa(e,r?a+1:0,r?i:a)}function Ca(e,t){var n=e;return n instanceof q&&(n=n.value()),hn(t,function(e,t){return t.func.apply(t.thisArg,mn([e],t.args))},n)}function wa(e,t,n){var r=e.length;if(r<2)return r?ya(e[0]):[];for(var i=-1,a=Re(r);++i<r;)for(var o=e[i],s=-1;++s<r;)s!=i&&(a[i]=si(a[i]||o,e[s],t,n));return ya(mi(a,1),t,n)}function Ta(e,t,r){for(var i=-1,a=e.length,o=t.length,s={};++i<a;){var c=i<o?t[i]:n;r(s,e[i],c)}return s}function Ea(e){return Jl(e)?e:[]}function Da(e){return typeof e==`function`?e:ff}function Oa(e,t){return Z(e)?e:Ko(e,t)?[e]:ms($(e))}var ka=Y;function Aa(e,t,r){var i=e.length;return r=r===n?i:r,!t&&r>=i?e:fa(e,t,r)}var ja=Tt||function(e){return H.clearTimeout(e)};function Ma(e,t){if(t)return e.slice();var n=e.length,r=gt?gt(n):new e.constructor(n);return e.copy(r),r}function Na(e){var t=new e.constructor(e.byteLength);return new ht(t).set(new ht(e)),t}function Pa(e,t){var n=t?Na(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}function Fa(e){var t=new e.constructor(e.source,Ke.exec(e));return t.lastIndex=e.lastIndex,t}function Ia(e){return ur?F(ur.call(e)):{}}function La(e,t){var n=t?Na(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Ra(e,t){if(e!==t){var r=e!==n,i=e===null,a=e===e,o=Su(e),s=t!==n,c=t===null,l=t===t,u=Su(t);if(!c&&!u&&!o&&e>t||o&&s&&l&&!c&&!u||i&&s&&l||!r&&l||!a)return 1;if(!i&&!o&&!u&&e<t||u&&r&&a&&!i&&!o||c&&r&&a||!s&&a||!l)return-1}return 0}function za(e,t,n){for(var r=-1,i=e.criteria,a=t.criteria,o=i.length,s=n.length;++r<o;){var c=Ra(i[r],a[r]);if(c)return r>=s?c:c*(n[r]==`desc`?-1:1)}return e.index-t.index}function Ba(e,t,n,r){for(var i=-1,a=e.length,o=n.length,s=-1,c=t.length,l=Lt(a-o,0),u=Re(c+l),d=!r;++s<c;)u[s]=t[s];for(;++i<o;)(d||i<a)&&(u[n[i]]=e[i]);for(;l--;)u[s++]=e[i++];return u}function Va(e,t,n,r){for(var i=-1,a=e.length,o=-1,s=n.length,c=-1,l=t.length,u=Lt(a-s,0),d=Re(u+l),f=!r;++i<u;)d[i]=e[i];for(var p=i;++c<l;)d[p+c]=t[c];for(;++o<s;)(f||i<a)&&(d[p+n[o]]=e[i++]);return d}function Ha(e,t){var n=-1,r=e.length;for(t||=Re(r);++n<r;)t[n]=e[n];return t}function Ua(e,t,r,i){var a=!r;r||={};for(var o=-1,s=t.length;++o<s;){var c=t[o],l=i?i(r[c],e[c],c,r,e):n;l===n&&(l=e[c]),a?ei(r,c,l):Yr(r,c,l)}return r}function Wa(e,t){return Ua(e,No(e),t)}function Ga(e,t){return Ua(e,Po(e),t)}function Ka(e,t){return function(n,r){var i=Z(n)?sn:Zr,a=t?t():{};return i(n,e,X(r,2),a)}}function qa(e){return Y(function(t,r){var i=-1,a=r.length,o=a>1?r[a-1]:n,s=a>2?r[2]:n;for(o=e.length>3&&typeof o==`function`?(a--,o):n,s&&Go(r[0],r[1],s)&&(o=a<3?n:o,a=1),t=F(t);++i<a;){var c=r[i];c&&e(t,c,i,o)}return t})}function Ja(e,t){return function(n,r){if(n==null)return n;if(!ql(n))return e(n,r);for(var i=n.length,a=t?i:-1,o=F(n);(t?a--:++a<i)&&r(o[a],a,o)!==!1;);return n}}function Ya(e){return function(t,n,r){for(var i=-1,a=F(t),o=r(t),s=o.length;s--;){var c=o[e?s:++i];if(n(a[c],c,a)===!1)break}return t}}function Xa(e,t,n){var r=t&o,i=$a(e);function a(){return(this&&this!==H&&this instanceof a?i:e).apply(r?n:this,arguments)}return a}function Za(e){return function(t){t=$(t);var r=Un(t)?er(t):n,i=r?r[0]:t.charAt(0),a=r?Aa(r,1).join(``):t.slice(1);return i[e]()+a}}function Qa(e){return function(t){return hn(nf(kd(t).replace(Mt,``)),e,``)}}function $a(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=fr(e.prototype),r=e.apply(n,t);return su(r)?r:n}}function eo(e,t,r){var i=$a(e);function a(){for(var o=arguments.length,s=Re(o),c=o,l=Oo(a);c--;)s[c]=arguments[c];var u=o<3&&s[0]!==l&&s[o-1]!==l?[]:Jn(s,l);return o-=u.length,o<r?fo(e,t,ro,a.placeholder,n,s,u,n,n,r-o):on(this&&this!==H&&this instanceof a?i:e,this,s)}return a}function to(e){return function(t,r,i){var a=F(t);if(!ql(t)){var o=X(r,3);t=rd(t),r=function(e){return o(a[e],e,a)}}var s=e(t,r,i);return s>-1?a[o?t[s]:s]:n}}function no(e){return Co(function(t){var i=t.length,a=i,o=mr.prototype.thru;for(e&&t.reverse();a--;){var s=t[a];if(typeof s!=`function`)throw new it(r);if(o&&!l&&Do(s)==`wrapper`)var l=new mr([],!0)}for(a=l?a:i;++a<i;){s=t[a];var d=Do(s),m=d==`wrapper`?Eo(s):n;l=m&&Jo(m[0])&&m[1]==(f|c|u|p)&&!m[4].length&&m[9]==1?l[Do(m[0])].apply(l,m[3]):s.length==1&&Jo(s)?l[d]():l.thru(s)}return function(){var e=arguments,n=e[0];if(l&&e.length==1&&Z(n))return l.plant(n).value();for(var r=0,a=i?t[r].apply(this,e):n;++r<i;)a=t[r].call(this,a);return a}})}function ro(e,t,r,i,a,u,d,p,h,g){var _=t&f,v=t&o,y=t&s,b=t&(c|l),x=t&m,S=y?n:$a(e);function C(){for(var n=arguments.length,o=Re(n),s=n;s--;)o[s]=arguments[s];if(b)var c=Oo(C),l=Rn(o,c);if(i&&(o=Ba(o,i,a,b)),u&&(o=Va(o,u,d,b)),n-=l,b&&n<g){var f=Jn(o,c);return fo(e,t,ro,C.placeholder,r,o,f,p,h,g-n)}var m=v?r:this,w=y?m[e]:e;return n=o.length,p?o=os(o,p):x&&n>1&&o.reverse(),_&&h<n&&(o.length=h),this&&this!==H&&this instanceof C&&(w=S||$a(w)),w.apply(m,o)}return C}function io(e,t){return function(n,r){return Oi(n,e,t(r),{})}}function ao(e,t){return function(r,i){var a;if(r===n&&i===n)return t;if(r!==n&&(a=r),i!==n){if(a===n)return i;typeof r==`string`||typeof i==`string`?(r=va(r),i=va(i)):(r=_a(r),i=_a(i)),a=e(r,i)}return a}}function oo(e){return Co(function(t){return t=U(t,Nn(X())),Y(function(n){var r=this;return e(t,function(e){return on(e,r,n)})})})}function so(e,t){t=t===n?` `:va(t);var r=t.length;if(r<2)return r?aa(t,e):t;var i=aa(t,Ot(e/$n(t)));return Un(t)?Aa(er(i),0,e).join(``):i.slice(0,e)}function co(e,t,n,r){var i=t&o,a=$a(e);function s(){for(var t=-1,o=arguments.length,c=-1,l=r.length,u=Re(l+o),d=this&&this!==H&&this instanceof s?a:e;++c<l;)u[c]=r[c];for(;o--;)u[c++]=arguments[++t];return on(d,i?n:this,u)}return s}function lo(e){return function(t,r,i){return i&&typeof i!=`number`&&Go(t,r,i)&&(r=i=n),t=Au(t),r===n?(r=t,t=0):r=Au(r),i=i===n?t<r?1:-1:Au(i),ia(t,r,i,e)}}function uo(e){return function(t,n){return typeof t==`string`&&typeof n==`string`||(t=Mu(t),n=Mu(n)),e(t,n)}}function fo(e,t,r,i,a,l,f,p,m,h){var g=t&c,_=g?f:n,v=g?n:f,y=g?l:n,b=g?n:l;t|=g?u:d,t&=~(g?d:u),t&4||(t&=~(o|s));var x=[e,t,a,y,_,b,v,p,m,h],S=r.apply(n,x);return Jo(e)&&cs(S,x),S.placeholder=i,ds(S,e,t)}function po(e){var t=tt[e];return function(e,n){if(e=Mu(e),n=n==null?0:Bt(Q(n),292),n&&Pt(e)){var r=($(e)+`e`).split(`e`);return r=($(t(r[0]+`e`+(+r[1]+n)))+`e`).split(`e`),+(r[0]+`e`+(+r[1]-n))}return t(e)}}var mo=Zt&&1/Yn(new Zt([,-0]))[1]==h?function(e){return new Zt(e)}:bf;function ho(e){return function(t){var n=Fo(t);return n==k?Kn(t):n==j?Xn(t):jn(t,e(t))}}function go(e,t,i,a,f,p,m,h){var g=t&s;if(!g&&typeof e!=`function`)throw new it(r);var _=a?a.length:0;if(_||(t&=~(u|d),a=f=n),m=m===n?m:Lt(Q(m),0),h=h===n?h:Q(h),_-=f?f.length:0,t&d){var v=a,y=f;a=f=n}var b=g?n:Eo(e),x=[e,t,i,a,f,v,y,p,m,h];if(b&&ts(x,b),e=x[0],t=x[1],i=x[2],a=x[3],f=x[4],h=x[9]=x[9]===n?g?0:e.length:Lt(x[9]-_,0),!h&&t&(c|l)&&(t&=~(c|l)),!t||t==o)var S=Xa(e,t,i);else S=t==c||t==l?eo(e,t,h):(t==u||t==(o|u))&&!f.length?co(e,t,i,a):ro.apply(n,x);return ds((b?la:cs)(S,x),e,t)}function _o(e,t,r,i){return e===n||Hl(e,at[r])&&!R.call(i,r)?t:e}function vo(e,t,r,i,a,o){return su(e)&&su(t)&&(o.set(t,e),Ji(e,t,n,vo,o),o.delete(t)),e}function yo(e){return _u(e)?n:e}function bo(e,t,r,i,a,o){var s=r&1,c=e.length,l=t.length;if(c!=l&&!(s&&l>c))return!1;var u=o.get(e),d=o.get(t);if(u&&d)return u==t&&d==e;var f=-1,p=!0,m=r&2?new Fr:n;for(o.set(e,t),o.set(t,e);++f<c;){var h=e[f],g=t[f];if(i)var _=s?i(g,h,f,t,e,o):i(h,g,f,e,t,o);if(_!==n){if(_)continue;p=!1;break}if(m){if(!_n(t,function(e,t){if(!Fn(m,t)&&(h===e||a(h,e,r,i,o)))return m.push(t)})){p=!1;break}}else if(!(h===g||a(h,g,r,i,o))){p=!1;break}}return o.delete(e),o.delete(t),p}function xo(e,t,n,r,i,a,o){switch(n){case pe:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case fe:return!(e.byteLength!=t.byteLength||!a(new ht(e),new ht(t)));case T:case E:case ne:return Hl(+e,+t);case te:return e.name==t.name&&e.message==t.message;case oe:case se:return e==t+``;case k:var s=Kn;case j:var c=r&1;if(s||=Yn,e.size!=t.size&&!c)return!1;var l=o.get(e);if(l)return l==t;r|=2,o.set(e,t);var u=bo(s(e),s(t),r,i,a,o);return o.delete(e),u;case ce:if(ur)return ur.call(e)==ur.call(t)}return!1}function So(e,t,r,i,a,o){var s=r&1,c=wo(e),l=c.length;if(l!=wo(t).length&&!s)return!1;for(var u=l;u--;){var d=c[u];if(!(s?d in t:R.call(t,d)))return!1}var f=o.get(e),p=o.get(t);if(f&&p)return f==t&&p==e;var m=!0;o.set(e,t),o.set(t,e);for(var h=s;++u<l;){d=c[u];var g=e[d],_=t[d];if(i)var v=s?i(_,g,d,t,e,o):i(g,_,d,e,t,o);if(!(v===n?g===_||a(g,_,r,i,o):v)){m=!1;break}h||=d==`constructor`}if(m&&!h){var y=e.constructor,b=t.constructor;y!=b&&`constructor`in e&&`constructor`in t&&!(typeof y==`function`&&y instanceof y&&typeof b==`function`&&b instanceof b)&&(m=!1)}return o.delete(e),o.delete(t),m}function Co(e){return us(is(e,n,Ms),e+``)}function wo(e){return xi(e,rd,No)}function To(e){return xi(e,id,Po)}var Eo=yn?function(e){return yn.get(e)}:bf;function Do(e){for(var t=e.name+``,n=En[t],r=R.call(En,t)?n.length:0;r--;){var i=n[r],a=i.func;if(a==null||a==e)return i.name}return t}function Oo(e){return(R.call(K,`placeholder`)?K:e).placeholder}function X(){var e=K.iteratee||pf;return e=e===pf?Vi:e,arguments.length?e(arguments[0],arguments[1]):e}function ko(e,t){var n=e.__data__;return qo(t)?n[typeof t==`string`?`string`:`hash`]:n.map}function Ao(e){for(var t=rd(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,Qo(i)]}return t}function jo(e,t){var r=Hn(e,t);return Li(r)?r:n}function Mo(e){var t=R.call(e,Ct),r=e[Ct];try{e[Ct]=n;var i=!0}catch{}var a=ut.call(e);return i&&(t?e[Ct]=r:delete e[Ct]),a}var No=At?function(e){return e==null?[]:(e=F(e),dn(At(e),function(t){return yt.call(e,t)}))}:kf,Po=At?function(e){for(var t=[];e;)mn(t,No(e)),e=_t(e);return t}:kf,Fo=Si;(qt&&Fo(new qt(new ArrayBuffer(1)))!=pe||Jt&&Fo(new Jt)!=k||Yt&&Fo(Yt.resolve())!=ie||Zt&&Fo(new Zt)!=j||Qt&&Fo(new Qt)!=ue)&&(Fo=function(e){var t=Si(e),r=t==re?e.constructor:n,i=r?gs(r):``;if(i)switch(i){case Zn:return pe;case rr:return k;case ir:return ie;case sr:return j;case cr:return ue}return t});function Io(e,t,n){for(var r=-1,i=n.length;++r<i;){var a=n[r],o=a.size;switch(a.type){case`drop`:e+=o;break;case`dropRight`:t-=o;break;case`take`:t=Bt(t,e+o);break;case`takeRight`:e=Lt(e,t-o);break}}return{start:e,end:t}}function Lo(e){var t=e.match(Be);return t?t[1].split(Ve):[]}function Ro(e,t,n){t=Oa(t,e);for(var r=-1,i=t.length,a=!1;++r<i;){var o=hs(t[r]);if(!(a=e!=null&&n(e,o)))break;e=e[o]}return a||++r!=i?a:(i=e==null?0:e.length,!!i&&ou(i)&&Wo(o,i)&&(Z(e)||Gl(e)))}function zo(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]==`string`&&R.call(e,`index`)&&(n.index=e.index,n.input=e.input),n}function Bo(e){return typeof e.constructor==`function`&&!Zo(e)?fr(_t(e)):{}}function Vo(e,t,n){var r=e.constructor;switch(t){case fe:return Na(e);case T:case E:return new r(+e);case pe:return Pa(e,n);case me:case he:case ge:case _e:case ve:case ye:case be:case xe:case Se:return La(e,n);case k:return new r;case ne:case se:return new r(e);case oe:return Fa(e);case j:return new r;case ce:return Ia(e)}}function Ho(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?`& `:``)+t[r],t=t.join(n>2?`, `:` `),e.replace(ze,`{
3
- /* [wrapped with `+t+`] */
4
- `)}function Uo(e){return Z(e)||Gl(e)||!!(xt&&e&&e[xt])}function Wo(e,t){var n=typeof e;return t??=g,!!t&&(n==`number`||n!=`symbol`&&Xe.test(e))&&e>-1&&e%1==0&&e<t}function Go(e,t,n){if(!su(n))return!1;var r=typeof t;return(r==`number`?ql(n)&&Wo(t,n.length):r==`string`&&t in n)?Hl(n[t],e):!1}function Ko(e,t){if(Z(e))return!1;var n=typeof e;return n==`number`||n==`symbol`||n==`boolean`||e==null||Su(e)?!0:Ne.test(e)||!Me.test(e)||t!=null&&e in F(t)}function qo(e){var t=typeof e;return t==`string`||t==`number`||t==`symbol`||t==`boolean`?e!==`__proto__`:e===null}function Jo(e){var t=Do(e),n=K[t];if(typeof n!=`function`||!(t in q.prototype))return!1;if(e===n)return!0;var r=Eo(n);return!!r&&e===r[0]}function Yo(e){return!!lt&&lt in e}var Xo=ot?iu:Af;function Zo(e){var t=e&&e.constructor;return e===(typeof t==`function`&&t.prototype||at)}function Qo(e){return e===e&&!su(e)}function $o(e,t){return function(r){return r!=null&&r[e]===t&&(t!==n||e in F(r))}}function es(e){var t=wl(e,function(e){return n.size===500&&n.clear(),e}),n=t.cache;return t}function ts(e,t){var n=e[1],r=t[1],i=n|r,l=i<(o|s|f),u=r==f&&n==c||r==f&&n==p&&e[7].length<=t[8]||r==(f|p)&&t[7].length<=t[8]&&n==c;if(!(l||u))return e;r&o&&(e[2]=t[2],i|=n&o?0:4);var d=t[3];if(d){var m=e[3];e[3]=m?Ba(m,d,t[4]):d,e[4]=m?Jn(e[3],a):t[4]}return d=t[5],d&&(m=e[5],e[5]=m?Va(m,d,t[6]):d,e[6]=m?Jn(e[5],a):t[6]),d=t[7],d&&(e[7]=d),r&f&&(e[8]=e[8]==null?t[8]:Bt(e[8],t[8])),e[9]??=t[9],e[0]=t[0],e[1]=i,e}function ns(e){var t=[];if(e!=null)for(var n in F(e))t.push(n);return t}function rs(e){return ut.call(e)}function is(e,t,r){return t=Lt(t===n?e.length-1:t,0),function(){for(var n=arguments,i=-1,a=Lt(n.length-t,0),o=Re(a);++i<a;)o[i]=n[t+i];i=-1;for(var s=Re(t+1);++i<t;)s[i]=n[i];return s[t]=r(o),on(e,this,s)}}function as(e,t){return t.length<2?e:bi(e,fa(t,0,-1))}function os(e,t){for(var r=e.length,i=Bt(t.length,r),a=Ha(e);i--;){var o=t[i];e[i]=Wo(o,r)?a[o]:n}return e}function ss(e,t){if(!(t===`constructor`&&typeof e[t]==`function`)&&t!=`__proto__`)return e[t]}var cs=fs(la),ls=Dt||function(e,t){return H.setTimeout(e,t)},us=fs(ua);function ds(e,t,n){var r=t+``;return us(e,Ho(r,_s(Lo(r),n)))}function fs(e){var t=0,r=0;return function(){var i=Vt(),a=16-(i-r);if(r=i,a>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(n,arguments)}}function ps(e,t){var r=-1,i=e.length,a=i-1;for(t=t===n?i:t;++r<t;){var o=ra(r,a),s=e[o];e[o]=e[r],e[r]=s}return e.length=t,e}var ms=es(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(``),e.replace(Pe,function(e,n,r,i){t.push(r?i.replace(We,`$1`):n||e)}),t});function hs(e){if(typeof e==`string`||Su(e))return e;var t=e+``;return t==`0`&&1/e==-1/0?`-0`:t}function gs(e){if(e!=null){try{return st.call(e)}catch{}try{return e+``}catch{}}return``}function _s(e,t){return cn(x,function(n){var r=`_.`+n[0];t&n[1]&&!fn(e,r)&&e.push(r)}),e.sort()}function vs(e){if(e instanceof q)return e.clone();var t=new mr(e.__wrapped__,e.__chain__);return t.__actions__=Ha(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}function ys(e,t,r){t=(r?Go(e,t,r):t===n)?1:Lt(Q(t),0);var i=e==null?0:e.length;if(!i||t<1)return[];for(var a=0,o=0,s=Re(Ot(i/t));a<i;)s[o++]=fa(e,a,a+=t);return s}function bs(e){for(var t=-1,n=e==null?0:e.length,r=0,i=[];++t<n;){var a=e[t];a&&(i[r++]=a)}return i}function xs(){var e=arguments.length;if(!e)return[];for(var t=Re(e-1),n=arguments[0],r=e;r--;)t[r-1]=arguments[r];return mn(Z(n)?Ha(n):[n],mi(t,1))}var Ss=Y(function(e,t){return Jl(e)?si(e,mi(t,1,Jl,!0)):[]}),Cs=Y(function(e,t){var r=Us(t);return Jl(r)&&(r=n),Jl(e)?si(e,mi(t,1,Jl,!0),X(r,2)):[]}),ws=Y(function(e,t){var r=Us(t);return Jl(r)&&(r=n),Jl(e)?si(e,mi(t,1,Jl,!0),n,r):[]});function Ts(e,t,r){var i=e==null?0:e.length;return i?(t=r||t===n?1:Q(t),fa(e,t<0?0:t,i)):[]}function Es(e,t,r){var i=e==null?0:e.length;return i?(t=r||t===n?1:Q(t),t=i-t,fa(e,0,t<0?0:t)):[]}function Ds(e,t){return e&&e.length?Sa(e,X(t,3),!0,!0):[]}function Os(e,t){return e&&e.length?Sa(e,X(t,3),!0):[]}function ks(e,t,n,r){var i=e==null?0:e.length;return i?(n&&typeof n!=`number`&&Go(e,t,n)&&(n=0,r=i),fi(e,t,n,r)):[]}function As(e,t,n){var r=e==null?0:e.length;if(!r)return-1;var i=n==null?0:Q(n);return i<0&&(i=Lt(r+i,0)),xn(e,X(t,3),i)}function js(e,t,r){var i=e==null?0:e.length;if(!i)return-1;var a=i-1;return r!==n&&(a=Q(r),a=r<0?Lt(i+a,0):Bt(a,i-1)),xn(e,X(t,3),a,!0)}function Ms(e){return e!=null&&e.length?mi(e,1):[]}function Ns(e){return e!=null&&e.length?mi(e,h):[]}function Ps(e,t){return e!=null&&e.length?(t=t===n?1:Q(t),mi(e,t)):[]}function Fs(e){for(var t=-1,n=e==null?0:e.length,r={};++t<n;){var i=e[t];ei(r,i[0],i[1])}return r}function Is(e){return e&&e.length?e[0]:n}function Ls(e,t,n){var r=e==null?0:e.length;if(!r)return-1;var i=n==null?0:Q(n);return i<0&&(i=Lt(r+i,0)),Sn(e,t,i)}function Rs(e){return e!=null&&e.length?fa(e,0,-1):[]}var zs=Y(function(e){var t=U(e,Ea);return t.length&&t[0]===e[0]?Di(t):[]}),Bs=Y(function(e){var t=Us(e),r=U(e,Ea);return t===Us(r)?t=n:r.pop(),r.length&&r[0]===e[0]?Di(r,X(t,2)):[]}),Vs=Y(function(e){var t=Us(e),r=U(e,Ea);return t=typeof t==`function`?t:n,t&&r.pop(),r.length&&r[0]===e[0]?Di(r,n,t):[]});function Hs(e,t){return e==null?``:Ft.call(e,t)}function Us(e){var t=e==null?0:e.length;return t?e[t-1]:n}function Ws(e,t,r){var i=e==null?0:e.length;if(!i)return-1;var a=i;return r!==n&&(a=Q(r),a=a<0?Lt(i+a,0):Bt(a,i-1)),t===t?Qn(e,t,a):xn(e,wn,a,!0)}function Gs(e,t){return e&&e.length?Xi(e,Q(t)):n}var Ks=Y(qs);function qs(e,t){return e&&e.length&&t&&t.length?ta(e,t):e}function Js(e,t,n){return e&&e.length&&t&&t.length?ta(e,t,X(n,2)):e}function Ys(e,t,r){return e&&e.length&&t&&t.length?ta(e,t,n,r):e}var Xs=Co(function(e,t){var n=e==null?0:e.length,r=ti(e,t);return na(e,U(t,function(e){return Wo(e,n)?+e:e}).sort(Ra)),r});function Zs(e,t){var n=[];if(!(e&&e.length))return n;var r=-1,i=[],a=e.length;for(t=X(t,3);++r<a;){var o=e[r];t(o,r,e)&&(n.push(o),i.push(r))}return na(e,i),n}function Qs(e){return e==null?e:Kt.call(e)}function $s(e,t,r){var i=e==null?0:e.length;return i?(r&&typeof r!=`number`&&Go(e,t,r)?(t=0,r=i):(t=t==null?0:Q(t),r=r===n?i:Q(r)),fa(e,t,r)):[]}function ec(e,t){return ma(e,t)}function tc(e,t,n){return ha(e,t,X(n,2))}function nc(e,t){var n=e==null?0:e.length;if(n){var r=ma(e,t);if(r<n&&Hl(e[r],t))return r}return-1}function rc(e,t){return ma(e,t,!0)}function ic(e,t,n){return ha(e,t,X(n,2),!0)}function ac(e,t){if(e!=null&&e.length){var n=ma(e,t,!0)-1;if(Hl(e[n],t))return n}return-1}function oc(e){return e&&e.length?ga(e):[]}function sc(e,t){return e&&e.length?ga(e,X(t,2)):[]}function cc(e){var t=e==null?0:e.length;return t?fa(e,1,t):[]}function lc(e,t,r){return e&&e.length?(t=r||t===n?1:Q(t),fa(e,0,t<0?0:t)):[]}function uc(e,t,r){var i=e==null?0:e.length;return i?(t=r||t===n?1:Q(t),t=i-t,fa(e,t<0?0:t,i)):[]}function dc(e,t){return e&&e.length?Sa(e,X(t,3),!1,!0):[]}function fc(e,t){return e&&e.length?Sa(e,X(t,3)):[]}var pc=Y(function(e){return ya(mi(e,1,Jl,!0))}),mc=Y(function(e){var t=Us(e);return Jl(t)&&(t=n),ya(mi(e,1,Jl,!0),X(t,2))}),hc=Y(function(e){var t=Us(e);return t=typeof t==`function`?t:n,ya(mi(e,1,Jl,!0),n,t)});function gc(e){return e&&e.length?ya(e):[]}function _c(e,t){return e&&e.length?ya(e,X(t,2)):[]}function vc(e,t){return t=typeof t==`function`?t:n,e&&e.length?ya(e,n,t):[]}function yc(e){if(!(e&&e.length))return[];var t=0;return e=dn(e,function(e){if(Jl(e))return t=Lt(e.length,t),!0}),An(t,function(t){return U(e,G(t))})}function bc(e,t){if(!(e&&e.length))return[];var r=yc(e);return t==null?r:U(r,function(e){return on(t,n,e)})}var xc=Y(function(e,t){return Jl(e)?si(e,t):[]}),Sc=Y(function(e){return wa(dn(e,Jl))}),Cc=Y(function(e){var t=Us(e);return Jl(t)&&(t=n),wa(dn(e,Jl),X(t,2))}),wc=Y(function(e){var t=Us(e);return t=typeof t==`function`?t:n,wa(dn(e,Jl),n,t)}),Tc=Y(yc);function Ec(e,t){return Ta(e||[],t||[],Yr)}function Dc(e,t){return Ta(e||[],t||[],ca)}var Oc=Y(function(e){var t=e.length,r=t>1?e[t-1]:n;return r=typeof r==`function`?(e.pop(),r):n,bc(e,r)});function kc(e){var t=K(e);return t.__chain__=!0,t}function Ac(e,t){return t(e),e}function jc(e,t){return t(e)}var Mc=Co(function(e){var t=e.length,r=t?e[0]:0,i=this.__wrapped__,a=function(t){return ti(t,e)};return t>1||this.__actions__.length||!(i instanceof q)||!Wo(r)?this.thru(a):(i=i.slice(r,+r+ +!!t),i.__actions__.push({func:jc,args:[a],thisArg:n}),new mr(i,this.__chain__).thru(function(e){return t&&!e.length&&e.push(n),e}))});function Nc(){return kc(this)}function Pc(){return new mr(this.value(),this.__chain__)}function Fc(){this.__values__===n&&(this.__values__=ku(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?n:this.__values__[this.__index__++]}}function Ic(){return this}function Lc(e){for(var t,r=this;r instanceof pr;){var i=vs(r);i.__index__=0,i.__values__=n,t?a.__wrapped__=i:t=i;var a=i;r=r.__wrapped__}return a.__wrapped__=e,t}function Rc(){var e=this.__wrapped__;if(e instanceof q){var t=e;return this.__actions__.length&&(t=new q(this)),t=t.reverse(),t.__actions__.push({func:jc,args:[Qs],thisArg:n}),new mr(t,this.__chain__)}return this.thru(Qs)}function zc(){return Ca(this.__wrapped__,this.__actions__)}var Bc=Ka(function(e,t,n){R.call(e,n)?++e[n]:ei(e,n,1)});function Vc(e,t,r){var i=Z(e)?un:ui;return r&&Go(e,t,r)&&(t=n),i(e,X(t,3))}function Hc(e,t){return(Z(e)?dn:pi)(e,X(t,3))}var Uc=to(As),Wc=to(js);function Gc(e,t){return mi(el(e,t),1)}function Kc(e,t){return mi(el(e,t),h)}function qc(e,t,r){return r=r===n?1:Q(r),mi(el(e,t),r)}function Jc(e,t){return(Z(e)?cn:ci)(e,X(t,3))}function Yc(e,t){return(Z(e)?ln:li)(e,X(t,3))}var Xc=Ka(function(e,t,n){R.call(e,n)?e[n].push(t):ei(e,n,[t])});function Zc(e,t,n,r){e=ql(e)?e:Sd(e),n=n&&!r?Q(n):0;var i=e.length;return n<0&&(n=Lt(i+n,0)),xu(e)?n<=i&&e.indexOf(t,n)>-1:!!i&&Sn(e,t,n)>-1}var Qc=Y(function(e,t,n){var r=-1,i=typeof t==`function`,a=ql(e)?Re(e.length):[];return ci(e,function(e){a[++r]=i?on(t,e,n):ki(e,t,n)}),a}),$c=Ka(function(e,t,n){ei(e,n,t)});function el(e,t){return(Z(e)?U:Gi)(e,X(t,3))}function tl(e,t,r,i){return e==null?[]:(Z(t)||(t=t==null?[]:[t]),r=i?n:r,Z(r)||(r=r==null?[]:[r]),Zi(e,t,r))}var nl=Ka(function(e,t,n){e[+!n].push(t)},function(){return[[],[]]});function rl(e,t,n){var r=Z(e)?hn:Dn,i=arguments.length<3;return r(e,X(t,4),n,i,ci)}function il(e,t,n){var r=Z(e)?gn:Dn,i=arguments.length<3;return r(e,X(t,4),n,i,li)}function al(e,t){return(Z(e)?dn:pi)(e,Tl(X(t,3)))}function ol(e){return(Z(e)?Gr:oa)(e)}function sl(e,t,r){return t=(r?Go(e,t,r):t===n)?1:Q(t),(Z(e)?Kr:sa)(e,t)}function cl(e){return(Z(e)?qr:da)(e)}function ll(e){if(e==null)return 0;if(ql(e))return xu(e)?$n(e):e.length;var t=Fo(e);return t==k||t==j?e.size:Hi(e).length}function ul(e,t,r){var i=Z(e)?_n:pa;return r&&Go(e,t,r)&&(t=n),i(e,X(t,3))}var dl=Y(function(e,t){if(e==null)return[];var n=t.length;return n>1&&Go(e,t[0],t[1])?t=[]:n>2&&Go(t[0],t[1],t[2])&&(t=[t[0]]),Zi(e,mi(t,1),[])}),fl=Et||function(){return H.Date.now()};function pl(e,t){if(typeof t!=`function`)throw new it(r);return e=Q(e),function(){if(--e<1)return t.apply(this,arguments)}}function ml(e,t,r){return t=r?n:t,t=e&&t==null?e.length:t,go(e,f,n,n,n,n,t)}function hl(e,t){var i;if(typeof t!=`function`)throw new it(r);return e=Q(e),function(){return--e>0&&(i=t.apply(this,arguments)),e<=1&&(t=n),i}}var gl=Y(function(e,t,n){var r=o;if(n.length){var i=Jn(n,Oo(gl));r|=u}return go(e,r,t,n,i)}),_l=Y(function(e,t,n){var r=o|s;if(n.length){var i=Jn(n,Oo(_l));r|=u}return go(t,r,e,n,i)});function vl(e,t,r){t=r?n:t;var i=go(e,c,n,n,n,n,n,t);return i.placeholder=vl.placeholder,i}function yl(e,t,r){t=r?n:t;var i=go(e,l,n,n,n,n,n,t);return i.placeholder=yl.placeholder,i}function bl(e,t,i){var a,o,s,c,l,u,d=0,f=!1,p=!1,m=!0;if(typeof e!=`function`)throw new it(r);t=Mu(t)||0,su(i)&&(f=!!i.leading,p=`maxWait`in i,s=p?Lt(Mu(i.maxWait)||0,t):s,m=`trailing`in i?!!i.trailing:m);function h(t){var r=a,i=o;return a=o=n,d=t,c=e.apply(i,r),c}function g(e){return d=e,l=ls(y,t),f?h(e):c}function _(e){var n=e-u,r=e-d,i=t-n;return p?Bt(i,s-r):i}function v(e){var r=e-u,i=e-d;return u===n||r>=t||r<0||p&&i>=s}function y(){var e=fl();if(v(e))return b(e);l=ls(y,_(e))}function b(e){return l=n,m&&a?h(e):(a=o=n,c)}function x(){l!==n&&ja(l),d=0,a=u=o=l=n}function S(){return l===n?c:b(fl())}function C(){var e=fl(),r=v(e);if(a=arguments,o=this,u=e,r){if(l===n)return g(u);if(p)return ja(l),l=ls(y,t),h(u)}return l===n&&(l=ls(y,t)),c}return C.cancel=x,C.flush=S,C}var xl=Y(function(e,t){return oi(e,1,t)}),Sl=Y(function(e,t,n){return oi(e,Mu(t)||0,n)});function Cl(e){return go(e,m)}function wl(e,t){if(typeof e!=`function`||t!=null&&typeof t!=`function`)throw new it(r);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var o=e.apply(this,r);return n.cache=a.set(i,o)||a,o};return n.cache=new(wl.Cache||kr),n}wl.Cache=kr;function Tl(e){if(typeof e!=`function`)throw new it(r);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function El(e){return hl(2,e)}var Dl=ka(function(e,t){t=t.length==1&&Z(t[0])?U(t[0],Nn(X())):U(mi(t,1),Nn(X()));var n=t.length;return Y(function(r){for(var i=-1,a=Bt(r.length,n);++i<a;)r[i]=t[i].call(this,r[i]);return on(e,this,r)})}),Ol=Y(function(e,t){return go(e,u,n,t,Jn(t,Oo(Ol)))}),kl=Y(function(e,t){return go(e,d,n,t,Jn(t,Oo(kl)))}),Al=Co(function(e,t){return go(e,p,n,n,n,t)});function jl(e,t){if(typeof e!=`function`)throw new it(r);return t=t===n?t:Q(t),Y(e,t)}function Ml(e,t){if(typeof e!=`function`)throw new it(r);return t=t==null?0:Lt(Q(t),0),Y(function(n){var r=n[t],i=Aa(n,0,t);return r&&mn(i,r),on(e,this,i)})}function Nl(e,t,n){var i=!0,a=!0;if(typeof e!=`function`)throw new it(r);return su(n)&&(i=`leading`in n?!!n.leading:i,a=`trailing`in n?!!n.trailing:a),bl(e,t,{leading:i,maxWait:t,trailing:a})}function Pl(e){return ml(e,1)}function Fl(e,t){return Ol(Da(t),e)}function Il(){if(!arguments.length)return[];var e=arguments[0];return Z(e)?e:[e]}function Ll(e){return ri(e,4)}function Rl(e,t){return t=typeof t==`function`?t:n,ri(e,4,t)}function zl(e){return ri(e,5)}function Bl(e,t){return t=typeof t==`function`?t:n,ri(e,5,t)}function Vl(e,t){return t==null||ai(e,t,rd(t))}function Hl(e,t){return e===t||e!==e&&t!==t}var Ul=uo(Ci),Wl=uo(function(e,t){return e>=t}),Gl=Ai(function(){return arguments}())?Ai:function(e){return cu(e)&&R.call(e,`callee`)&&!yt.call(e,`callee`)},Z=Re.isArray,Kl=$t?Nn($t):ji;function ql(e){return e!=null&&ou(e.length)&&!iu(e)}function Jl(e){return cu(e)&&ql(e)}function Yl(e){return e===!0||e===!1||cu(e)&&Si(e)==T}var Xl=jt||Af,Zl=en?Nn(en):Mi;function Ql(e){return cu(e)&&e.nodeType===1&&!_u(e)}function $l(e){if(e==null)return!0;if(ql(e)&&(Z(e)||typeof e==`string`||typeof e.splice==`function`||Xl(e)||Cu(e)||Gl(e)))return!e.length;var t=Fo(e);if(t==k||t==j)return!e.size;if(Zo(e))return!Hi(e).length;for(var n in e)if(R.call(e,n))return!1;return!0}function eu(e,t){return Ni(e,t)}function tu(e,t,r){r=typeof r==`function`?r:n;var i=r?r(e,t):n;return i===n?Ni(e,t,n,r):!!i}function nu(e){if(!cu(e))return!1;var t=Si(e);return t==te||t==ee||typeof e.message==`string`&&typeof e.name==`string`&&!_u(e)}function ru(e){return typeof e==`number`&&Pt(e)}function iu(e){if(!su(e))return!1;var t=Si(e);return t==D||t==O||t==w||t==ae}function au(e){return typeof e==`number`&&e==Q(e)}function ou(e){return typeof e==`number`&&e>-1&&e%1==0&&e<=g}function su(e){var t=typeof e;return e!=null&&(t==`object`||t==`function`)}function cu(e){return typeof e==`object`&&!!e}var lu=tn?Nn(tn):Fi;function uu(e,t){return e===t||Ii(e,t,Ao(t))}function du(e,t,r){return r=typeof r==`function`?r:n,Ii(e,t,Ao(t),r)}function fu(e){return gu(e)&&e!=+e}function pu(e){if(Xo(e))throw new et(`Unsupported core-js use. Try https://npms.io/search?q=ponyfill.`);return Li(e)}function mu(e){return e===null}function hu(e){return e==null}function gu(e){return typeof e==`number`||cu(e)&&Si(e)==ne}function _u(e){if(!cu(e)||Si(e)!=re)return!1;var t=_t(e);if(t===null)return!0;var n=R.call(t,`constructor`)&&t.constructor;return typeof n==`function`&&n instanceof n&&st.call(n)==dt}var vu=nn?Nn(nn):Ri;function yu(e){return au(e)&&e>=-9007199254740991&&e<=g}var bu=rn?Nn(rn):zi;function xu(e){return typeof e==`string`||!Z(e)&&cu(e)&&Si(e)==se}function Su(e){return typeof e==`symbol`||cu(e)&&Si(e)==ce}var Cu=an?Nn(an):Bi;function wu(e){return e===n}function Tu(e){return cu(e)&&Fo(e)==ue}function Eu(e){return cu(e)&&Si(e)==de}var Du=uo(Wi),Ou=uo(function(e,t){return e<=t});function ku(e){if(!e)return[];if(ql(e))return xu(e)?er(e):Ha(e);if(St&&e[St])return Gn(e[St]());var t=Fo(e);return(t==k?Kn:t==j?Yn:Sd)(e)}function Au(e){return e?(e=Mu(e),e===h||e===-1/0?(e<0?-1:1)*17976931348623157e292:e===e?e:0):e===0?e:0}function Q(e){var t=Au(e),n=t%1;return t===t?n?t-n:t:0}function ju(e){return e?ni(Q(e),0,v):0}function Mu(e){if(typeof e==`number`)return e;if(Su(e))return _;if(su(e)){var t=typeof e.valueOf==`function`?e.valueOf():e;e=su(t)?t+``:t}if(typeof e!=`string`)return e===0?e:+e;e=Mn(e);var n=Je.test(e);return n||N.test(e)?Gt(e.slice(2),n?2:8):qe.test(e)?_:+e}function Nu(e){return Ua(e,id(e))}function Pu(e){return e?ni(Q(e),-9007199254740991,g):e===0?e:0}function $(e){return e==null?``:va(e)}var Fu=qa(function(e,t){if(Zo(t)||ql(t)){Ua(t,rd(t),e);return}for(var n in t)R.call(t,n)&&Yr(e,n,t[n])}),Iu=qa(function(e,t){Ua(t,id(t),e)}),Lu=qa(function(e,t,n,r){Ua(t,id(t),e,r)}),Ru=qa(function(e,t,n,r){Ua(t,rd(t),e,r)}),zu=Co(ti);function Bu(e,t){var n=fr(e);return t==null?n:Qr(n,t)}var Vu=Y(function(e,t){e=F(e);var r=-1,i=t.length,a=i>2?t[2]:n;for(a&&Go(t[0],t[1],a)&&(i=1);++r<i;)for(var o=t[r],s=id(o),c=-1,l=s.length;++c<l;){var u=s[c],d=e[u];(d===n||Hl(d,at[u])&&!R.call(e,u))&&(e[u]=o[u])}return e}),Hu=Y(function(e){return e.push(n,vo),on(cd,n,e)});function Uu(e,t){return W(e,X(t,3),_i)}function Wu(e,t){return W(e,X(t,3),vi)}function Gu(e,t){return e==null?e:hi(e,X(t,3),id)}function Ku(e,t){return e==null?e:gi(e,X(t,3),id)}function qu(e,t){return e&&_i(e,X(t,3))}function Ju(e,t){return e&&vi(e,X(t,3))}function Yu(e){return e==null?[]:yi(e,rd(e))}function Xu(e){return e==null?[]:yi(e,id(e))}function Zu(e,t,r){var i=e==null?n:bi(e,t);return i===n?r:i}function Qu(e,t){return e!=null&&Ro(e,t,wi)}function $u(e,t){return e!=null&&Ro(e,t,Ti)}var ed=io(function(e,t,n){t!=null&&typeof t.toString!=`function`&&(t=ut.call(t)),e[t]=n},cf(ff)),td=io(function(e,t,n){t!=null&&typeof t.toString!=`function`&&(t=ut.call(t)),R.call(e,t)?e[t].push(n):e[t]=[n]},X),nd=Y(ki);function rd(e){return ql(e)?Wr(e):Hi(e)}function id(e){return ql(e)?Wr(e,!0):Ui(e)}function ad(e,t){var n={};return t=X(t,3),_i(e,function(e,r,i){ei(n,t(e,r,i),e)}),n}function od(e,t){var n={};return t=X(t,3),_i(e,function(e,r,i){ei(n,r,t(e,r,i))}),n}var sd=qa(function(e,t,n){Ji(e,t,n)}),cd=qa(function(e,t,n,r){Ji(e,t,n,r)}),ld=Co(function(e,t){var n={};if(e==null)return n;var r=!1;t=U(t,function(t){return t=Oa(t,e),r||=t.length>1,t}),Ua(e,To(e),n),r&&(n=ri(n,7,yo));for(var i=t.length;i--;)ba(n,t[i]);return n});function ud(e,t){return fd(e,Tl(X(t)))}var dd=Co(function(e,t){return e==null?{}:Qi(e,t)});function fd(e,t){if(e==null)return{};var n=U(To(e),function(e){return[e]});return t=X(t),$i(e,n,function(e,n){return t(e,n[0])})}function pd(e,t,r){t=Oa(t,e);var i=-1,a=t.length;for(a||(a=1,e=n);++i<a;){var o=e==null?n:e[hs(t[i])];o===n&&(i=a,o=r),e=iu(o)?o.call(e):o}return e}function md(e,t,n){return e==null?e:ca(e,t,n)}function hd(e,t,r,i){return i=typeof i==`function`?i:n,e==null?e:ca(e,t,r,i)}var gd=ho(rd),_d=ho(id);function vd(e,t,n){var r=Z(e),i=r||Xl(e)||Cu(e);if(t=X(t,4),n==null){var a=e&&e.constructor;n=i?r?new a:[]:su(e)&&iu(a)?fr(_t(e)):{}}return(i?cn:_i)(e,function(e,r,i){return t(n,e,r,i)}),n}function yd(e,t){return e==null||ba(e,t)}function bd(e,t,n){return e==null?e:xa(e,t,Da(n))}function xd(e,t,r,i){return i=typeof i==`function`?i:n,e==null?e:xa(e,t,Da(r),i)}function Sd(e){return e==null?[]:Pn(e,rd(e))}function Cd(e){return e==null?[]:Pn(e,id(e))}function wd(e,t,r){return r===n&&(r=t,t=n),r!==n&&(r=Mu(r),r=r===r?r:0),t!==n&&(t=Mu(t),t=t===t?t:0),ni(Mu(e),t,r)}function Td(e,t,r){return t=Au(t),r===n?(r=t,t=0):r=Au(r),e=Mu(e),Ei(e,t,r)}function Ed(e,t,r){if(r&&typeof r!=`boolean`&&Go(e,t,r)&&(t=r=n),r===n&&(typeof t==`boolean`?(r=t,t=n):typeof e==`boolean`&&(r=e,e=n)),e===n&&t===n?(e=0,t=1):(e=Au(e),t===n?(t=e,e=0):t=Au(t)),e>t){var i=e;e=t,t=i}if(r||e%1||t%1){var a=Ut();return Bt(e+a*(t-e+Wt(`1e-`+((a+``).length-1))),t)}return ra(e,t)}var Dd=Qa(function(e,t,n){return t=t.toLowerCase(),e+(n?Od(t):t)});function Od(e){return tf($(e).toLowerCase())}function kd(e){return e=$(e),e&&e.replace(Ze,zn).replace(Nt,``)}function Ad(e,t,r){e=$(e),t=va(t);var i=e.length;r=r===n?i:ni(Q(r),0,i);var a=r;return r-=t.length,r>=0&&e.slice(r,a)==t}function jd(e){return e=$(e),e&&Oe.test(e)?e.replace(Ee,Bn):e}function Md(e){return e=$(e),e&&Ie.test(e)?e.replace(Fe,`\\$&`):e}var Nd=Qa(function(e,t,n){return e+(n?`-`:``)+t.toLowerCase()}),Pd=Qa(function(e,t,n){return e+(n?` `:``)+t.toLowerCase()}),Fd=Za(`toLowerCase`);function Id(e,t,n){e=$(e),t=Q(t);var r=t?$n(e):0;if(!t||r>=t)return e;var i=(t-r)/2;return so(kt(i),n)+e+so(Ot(i),n)}function Ld(e,t,n){e=$(e),t=Q(t);var r=t?$n(e):0;return t&&r<t?e+so(t-r,n):e}function Rd(e,t,n){e=$(e),t=Q(t);var r=t?$n(e):0;return t&&r<t?so(t-r,n)+e:e}function zd(e,t,n){return n||t==null?t=0:t&&=+t,Ht($(e).replace(Le,``),t||0)}function Bd(e,t,r){return t=(r?Go(e,t,r):t===n)?1:Q(t),aa($(e),t)}function Vd(){var e=arguments,t=$(e[0]);return e.length<3?t:t.replace(e[1],e[2])}var Hd=Qa(function(e,t,n){return e+(n?`_`:``)+t.toLowerCase()});function Ud(e,t,r){return r&&typeof r!=`number`&&Go(e,t,r)&&(t=r=n),r=r===n?v:r>>>0,r?(e=$(e),e&&(typeof t==`string`||t!=null&&!vu(t))&&(t=va(t),!t&&Un(e))?Aa(er(e),0,r):e.split(t,r)):[]}var Wd=Qa(function(e,t,n){return e+(n?` `:``)+tf(t)});function Gd(e,t,n){return e=$(e),n=n==null?0:ni(Q(n),0,e.length),t=va(t),e.slice(n,n+t.length)==t}function Kd(e,t,r){var i=K.templateSettings;r&&Go(e,t,r)&&(t=n),e=$(e),t=Ru({},t,i,_o);var a=Ru({},t.imports,i.imports,_o),o=rd(a),s=Pn(a,o);cn(o,function(e){if(Ue.test(e))throw new et("Invalid `imports` option passed into `_.template`")});var c,l,u=0,d=t.interpolate||Qe,f=`__p += '`,p=nt((t.escape||Qe).source+`|`+d.source+`|`+(d===je?Ge:Qe).source+`|`+(t.evaluate||Qe).source+`|$`,`g`),m=`//# sourceURL=`+(R.call(t,`sourceURL`)?(t.sourceURL+``).replace(/\s/g,` `):`lodash.templateSources[`+ ++zt+`]`)+`
5
- `;e.replace(p,function(t,n,r,i,a,o){return r||=i,f+=e.slice(u,o).replace($e,Vn),n&&(c=!0,f+=`' +
6
- __e(`+n+`) +
7
- '`),a&&(l=!0,f+=`';
8
- `+a+`;
9
- __p += '`),r&&(f+=`' +
10
- ((__t = (`+r+`)) == null ? '' : __t) +
11
- '`),u=o+t.length,t}),f+=`';
12
- `;var h=R.call(t,`variable`)&&t.variable;if(!h)f=`with (obj) {
13
- `+f+`
14
- }
15
- `;else if(Ue.test(h))throw new et("Invalid `variable` option passed into `_.template`");f=(l?f.replace(Ce,``):f).replace(M,`$1`).replace(we,`$1;`),f=`function(`+(h||`obj`)+`) {
16
- `+(h?``:`obj || (obj = {});
17
- `)+`var __t, __p = ''`+(c?`, __e = _.escape`:``)+(l?`, __j = Array.prototype.join;
18
- function print() { __p += __j.call(arguments, '') }
19
- `:`;
20
- `)+f+`return __p
21
- }`;var g=rf(function(){return P(o,m+`return `+f).apply(n,s)});if(g.source=f,nu(g))throw g;return g}function qd(e){return $(e).toLowerCase()}function Jd(e){return $(e).toUpperCase()}function Yd(e,t,r){if(e=$(e),e&&(r||t===n))return Mn(e);if(!e||!(t=va(t)))return e;var i=er(e),a=er(t);return Aa(i,In(i,a),Ln(i,a)+1).join(``)}function Xd(e,t,r){if(e=$(e),e&&(r||t===n))return e.slice(0,tr(e)+1);if(!e||!(t=va(t)))return e;var i=er(e);return Aa(i,0,Ln(i,er(t))+1).join(``)}function Zd(e,t,r){if(e=$(e),e&&(r||t===n))return e.replace(Le,``);if(!e||!(t=va(t)))return e;var i=er(e);return Aa(i,In(i,er(t))).join(``)}function Qd(e,t){var r=30,i=`...`;if(su(t)){var a=`separator`in t?t.separator:a;r=`length`in t?Q(t.length):r,i=`omission`in t?va(t.omission):i}e=$(e);var o=e.length;if(Un(e)){var s=er(e);o=s.length}if(r>=o)return e;var c=r-$n(i);if(c<1)return i;var l=s?Aa(s,0,c).join(``):e.slice(0,c);if(a===n)return l+i;if(s&&(c+=l.length-c),vu(a)){if(e.slice(c).search(a)){var u,d=l;for(a.global||(a=nt(a.source,$(Ke.exec(a))+`g`)),a.lastIndex=0;u=a.exec(d);)var f=u.index;l=l.slice(0,f===n?c:f)}}else if(e.indexOf(va(a),c)!=c){var p=l.lastIndexOf(a);p>-1&&(l=l.slice(0,p))}return l+i}function $d(e){return e=$(e),e&&De.test(e)?e.replace(Te,nr):e}var ef=Qa(function(e,t,n){return e+(n?` `:``)+t.toUpperCase()}),tf=Za(`toUpperCase`);function nf(e,t,r){return e=$(e),t=r?n:t,t===n?Wn(e)?ar(e):bn(e):e.match(t)||[]}var rf=Y(function(e,t){try{return on(e,n,t)}catch(e){return nu(e)?e:new et(e)}}),af=Co(function(e,t){return cn(t,function(t){t=hs(t),ei(e,t,gl(e[t],e))}),e});function of(e){var t=e==null?0:e.length,n=X();return e=t?U(e,function(e){if(typeof e[1]!=`function`)throw new it(r);return[n(e[0]),e[1]]}):[],Y(function(n){for(var r=-1;++r<t;){var i=e[r];if(on(i[0],this,n))return on(i[1],this,n)}})}function sf(e){return ii(ri(e,1))}function cf(e){return function(){return e}}function lf(e,t){return e==null||e!==e?t:e}var uf=no(),df=no(!0);function ff(e){return e}function pf(e){return Vi(typeof e==`function`?e:ri(e,1))}function mf(e){return Ki(ri(e,1))}function hf(e,t){return qi(e,ri(t,1))}var gf=Y(function(e,t){return function(n){return ki(n,e,t)}}),_f=Y(function(e,t){return function(n){return ki(e,n,t)}});function vf(e,t,n){var r=rd(t),i=yi(t,r);n==null&&!(su(t)&&(i.length||!r.length))&&(n=t,t=e,e=this,i=yi(t,rd(t)));var a=!(su(n)&&`chain`in n)||!!n.chain,o=iu(e);return cn(i,function(n){var r=t[n];e[n]=r,o&&(e.prototype[n]=function(){var t=this.__chain__;if(a||t){var n=e(this.__wrapped__);return(n.__actions__=Ha(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,mn([this.value()],arguments))})}),e}function yf(){return H._===this&&(H._=z),this}function bf(){}function xf(e){return e=Q(e),Y(function(t){return Xi(t,e)})}var Sf=oo(U),Cf=oo(un),wf=oo(_n);function Tf(e){return Ko(e)?G(hs(e)):ea(e)}function Ef(e){return function(t){return e==null?n:bi(e,t)}}var Df=lo(),Of=lo(!0);function kf(){return[]}function Af(){return!1}function jf(){return{}}function Mf(){return``}function Nf(){return!0}function Pf(e,t){if(e=Q(e),e<1||e>g)return[];var n=v,r=Bt(e,v);t=X(t),e-=v;for(var i=An(r,t);++n<e;)t(n);return i}function Ff(e){return Z(e)?U(e,hs):Su(e)?[e]:Ha(ms($(e)))}function If(e){var t=++ct;return $(e)+t}var Lf=ao(function(e,t){return e+t},0),Rf=po(`ceil`),zf=ao(function(e,t){return e/t},1),Bf=po(`floor`);function Vf(e){return e&&e.length?di(e,ff,Ci):n}function Hf(e,t){return e&&e.length?di(e,X(t,2),Ci):n}function Uf(e){return Tn(e,ff)}function Wf(e,t){return Tn(e,X(t,2))}function Gf(e){return e&&e.length?di(e,ff,Wi):n}function Kf(e,t){return e&&e.length?di(e,X(t,2),Wi):n}var qf=ao(function(e,t){return e*t},1),Jf=po(`round`),Yf=ao(function(e,t){return e-t},0);function Xf(e){return e&&e.length?kn(e,ff):0}function Zf(e,t){return e&&e.length?kn(e,X(t,2)):0}return K.after=pl,K.ary=ml,K.assign=Fu,K.assignIn=Iu,K.assignInWith=Lu,K.assignWith=Ru,K.at=zu,K.before=hl,K.bind=gl,K.bindAll=af,K.bindKey=_l,K.castArray=Il,K.chain=kc,K.chunk=ys,K.compact=bs,K.concat=xs,K.cond=of,K.conforms=sf,K.constant=cf,K.countBy=Bc,K.create=Bu,K.curry=vl,K.curryRight=yl,K.debounce=bl,K.defaults=Vu,K.defaultsDeep=Hu,K.defer=xl,K.delay=Sl,K.difference=Ss,K.differenceBy=Cs,K.differenceWith=ws,K.drop=Ts,K.dropRight=Es,K.dropRightWhile=Ds,K.dropWhile=Os,K.fill=ks,K.filter=Hc,K.flatMap=Gc,K.flatMapDeep=Kc,K.flatMapDepth=qc,K.flatten=Ms,K.flattenDeep=Ns,K.flattenDepth=Ps,K.flip=Cl,K.flow=uf,K.flowRight=df,K.fromPairs=Fs,K.functions=Yu,K.functionsIn=Xu,K.groupBy=Xc,K.initial=Rs,K.intersection=zs,K.intersectionBy=Bs,K.intersectionWith=Vs,K.invert=ed,K.invertBy=td,K.invokeMap=Qc,K.iteratee=pf,K.keyBy=$c,K.keys=rd,K.keysIn=id,K.map=el,K.mapKeys=ad,K.mapValues=od,K.matches=mf,K.matchesProperty=hf,K.memoize=wl,K.merge=sd,K.mergeWith=cd,K.method=gf,K.methodOf=_f,K.mixin=vf,K.negate=Tl,K.nthArg=xf,K.omit=ld,K.omitBy=ud,K.once=El,K.orderBy=tl,K.over=Sf,K.overArgs=Dl,K.overEvery=Cf,K.overSome=wf,K.partial=Ol,K.partialRight=kl,K.partition=nl,K.pick=dd,K.pickBy=fd,K.property=Tf,K.propertyOf=Ef,K.pull=Ks,K.pullAll=qs,K.pullAllBy=Js,K.pullAllWith=Ys,K.pullAt=Xs,K.range=Df,K.rangeRight=Of,K.rearg=Al,K.reject=al,K.remove=Zs,K.rest=jl,K.reverse=Qs,K.sampleSize=sl,K.set=md,K.setWith=hd,K.shuffle=cl,K.slice=$s,K.sortBy=dl,K.sortedUniq=oc,K.sortedUniqBy=sc,K.split=Ud,K.spread=Ml,K.tail=cc,K.take=lc,K.takeRight=uc,K.takeRightWhile=dc,K.takeWhile=fc,K.tap=Ac,K.throttle=Nl,K.thru=jc,K.toArray=ku,K.toPairs=gd,K.toPairsIn=_d,K.toPath=Ff,K.toPlainObject=Nu,K.transform=vd,K.unary=Pl,K.union=pc,K.unionBy=mc,K.unionWith=hc,K.uniq=gc,K.uniqBy=_c,K.uniqWith=vc,K.unset=yd,K.unzip=yc,K.unzipWith=bc,K.update=bd,K.updateWith=xd,K.values=Sd,K.valuesIn=Cd,K.without=xc,K.words=nf,K.wrap=Fl,K.xor=Sc,K.xorBy=Cc,K.xorWith=wc,K.zip=Tc,K.zipObject=Ec,K.zipObjectDeep=Dc,K.zipWith=Oc,K.entries=gd,K.entriesIn=_d,K.extend=Iu,K.extendWith=Lu,vf(K,K),K.add=Lf,K.attempt=rf,K.camelCase=Dd,K.capitalize=Od,K.ceil=Rf,K.clamp=wd,K.clone=Ll,K.cloneDeep=zl,K.cloneDeepWith=Bl,K.cloneWith=Rl,K.conformsTo=Vl,K.deburr=kd,K.defaultTo=lf,K.divide=zf,K.endsWith=Ad,K.eq=Hl,K.escape=jd,K.escapeRegExp=Md,K.every=Vc,K.find=Uc,K.findIndex=As,K.findKey=Uu,K.findLast=Wc,K.findLastIndex=js,K.findLastKey=Wu,K.floor=Bf,K.forEach=Jc,K.forEachRight=Yc,K.forIn=Gu,K.forInRight=Ku,K.forOwn=qu,K.forOwnRight=Ju,K.get=Zu,K.gt=Ul,K.gte=Wl,K.has=Qu,K.hasIn=$u,K.head=Is,K.identity=ff,K.includes=Zc,K.indexOf=Ls,K.inRange=Td,K.invoke=nd,K.isArguments=Gl,K.isArray=Z,K.isArrayBuffer=Kl,K.isArrayLike=ql,K.isArrayLikeObject=Jl,K.isBoolean=Yl,K.isBuffer=Xl,K.isDate=Zl,K.isElement=Ql,K.isEmpty=$l,K.isEqual=eu,K.isEqualWith=tu,K.isError=nu,K.isFinite=ru,K.isFunction=iu,K.isInteger=au,K.isLength=ou,K.isMap=lu,K.isMatch=uu,K.isMatchWith=du,K.isNaN=fu,K.isNative=pu,K.isNil=hu,K.isNull=mu,K.isNumber=gu,K.isObject=su,K.isObjectLike=cu,K.isPlainObject=_u,K.isRegExp=vu,K.isSafeInteger=yu,K.isSet=bu,K.isString=xu,K.isSymbol=Su,K.isTypedArray=Cu,K.isUndefined=wu,K.isWeakMap=Tu,K.isWeakSet=Eu,K.join=Hs,K.kebabCase=Nd,K.last=Us,K.lastIndexOf=Ws,K.lowerCase=Pd,K.lowerFirst=Fd,K.lt=Du,K.lte=Ou,K.max=Vf,K.maxBy=Hf,K.mean=Uf,K.meanBy=Wf,K.min=Gf,K.minBy=Kf,K.stubArray=kf,K.stubFalse=Af,K.stubObject=jf,K.stubString=Mf,K.stubTrue=Nf,K.multiply=qf,K.nth=Gs,K.noConflict=yf,K.noop=bf,K.now=fl,K.pad=Id,K.padEnd=Ld,K.padStart=Rd,K.parseInt=zd,K.random=Ed,K.reduce=rl,K.reduceRight=il,K.repeat=Bd,K.replace=Vd,K.result=pd,K.round=Jf,K.runInContext=e,K.sample=ol,K.size=ll,K.snakeCase=Hd,K.some=ul,K.sortedIndex=ec,K.sortedIndexBy=tc,K.sortedIndexOf=nc,K.sortedLastIndex=rc,K.sortedLastIndexBy=ic,K.sortedLastIndexOf=ac,K.startCase=Wd,K.startsWith=Gd,K.subtract=Yf,K.sum=Xf,K.sumBy=Zf,K.template=Kd,K.times=Pf,K.toFinite=Au,K.toInteger=Q,K.toLength=ju,K.toLower=qd,K.toNumber=Mu,K.toSafeInteger=Pu,K.toString=$,K.toUpper=Jd,K.trim=Yd,K.trimEnd=Xd,K.trimStart=Zd,K.truncate=Qd,K.unescape=$d,K.uniqueId=If,K.upperCase=ef,K.upperFirst=tf,K.each=Jc,K.eachRight=Yc,K.first=Is,vf(K,function(){var e={};return _i(K,function(t,n){R.call(K.prototype,n)||(e[n]=t)}),e}(),{chain:!1}),K.VERSION=`4.18.1`,cn([`bind`,`bindKey`,`curry`,`curryRight`,`partial`,`partialRight`],function(e){K[e].placeholder=K}),cn([`drop`,`take`],function(e,t){q.prototype[e]=function(r){r=r===n?1:Lt(Q(r),0);var i=this.__filtered__&&!t?new q(this):this.clone();return i.__filtered__?i.__takeCount__=Bt(r,i.__takeCount__):i.__views__.push({size:Bt(r,v),type:e+(i.__dir__<0?`Right`:``)}),i},q.prototype[e+`Right`]=function(t){return this.reverse()[e](t).reverse()}}),cn([`filter`,`map`,`takeWhile`],function(e,t){var n=t+1,r=n==1||n==3;q.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:X(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}}),cn([`head`,`last`],function(e,t){var n=`take`+(t?`Right`:``);q.prototype[e]=function(){return this[n](1).value()[0]}}),cn([`initial`,`tail`],function(e,t){var n=`drop`+(t?``:`Right`);q.prototype[e]=function(){return this.__filtered__?new q(this):this[n](1)}}),q.prototype.compact=function(){return this.filter(ff)},q.prototype.find=function(e){return this.filter(e).head()},q.prototype.findLast=function(e){return this.reverse().find(e)},q.prototype.invokeMap=Y(function(e,t){return typeof e==`function`?new q(this):this.map(function(n){return ki(n,e,t)})}),q.prototype.reject=function(e){return this.filter(Tl(X(e)))},q.prototype.slice=function(e,t){e=Q(e);var r=this;return r.__filtered__&&(e>0||t<0)?new q(r):(e<0?r=r.takeRight(-e):e&&(r=r.drop(e)),t!==n&&(t=Q(t),r=t<0?r.dropRight(-t):r.take(t-e)),r)},q.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},q.prototype.toArray=function(){return this.take(v)},_i(q.prototype,function(e,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),i=/^(?:head|last)$/.test(t),a=K[i?`take`+(t==`last`?`Right`:``):t],o=i||/^find/.test(t);a&&(K.prototype[t]=function(){var t=this.__wrapped__,s=i?[1]:arguments,c=t instanceof q,l=s[0],u=c||Z(t),d=function(e){var t=a.apply(K,mn([e],s));return i&&f?t[0]:t};u&&r&&typeof l==`function`&&l.length!=1&&(c=u=!1);var f=this.__chain__,p=!!this.__actions__.length,m=o&&!f,h=c&&!p;if(!o&&u){t=h?t:new q(this);var g=e.apply(t,s);return g.__actions__.push({func:jc,args:[d],thisArg:n}),new mr(g,f)}return m&&h?e.apply(this,s):(g=this.thru(d),m?i?g.value()[0]:g.value():g)})}),cn([`pop`,`push`,`shift`,`sort`,`splice`,`unshift`],function(e){var t=I[e],n=/^(?:push|sort|unshift)$/.test(e)?`tap`:`thru`,r=/^(?:pop|shift)$/.test(e);K.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var i=this.value();return t.apply(Z(i)?i:[],e)}return this[n](function(n){return t.apply(Z(n)?n:[],e)})}}),_i(q.prototype,function(e,t){var n=K[t];if(n){var r=n.name+``;R.call(En,r)||(En[r]=[]),En[r].push({name:t,func:n})}}),En[ro(n,s).name]=[{name:`wrapper`,func:n}],q.prototype.clone=hr,q.prototype.reverse=gr,q.prototype.value=_r,K.prototype.at=Mc,K.prototype.chain=Nc,K.prototype.commit=Pc,K.prototype.next=Fc,K.prototype.plant=Lc,K.prototype.reverse=Rc,K.prototype.toJSON=K.prototype.valueOf=K.prototype.value=zc,K.prototype.first=K.prototype.head,St&&(K.prototype[St]=Ic),K})();typeof define==`function`&&typeof define.amd==`object`&&define.amd?(H._=or,define(function(){return or})):Yt?((Yt.exports=or)._=or,Jt._=or):H._=or}).call(e)}))()),Ca=({label:e,value:t})=>(0,z.jsxs)(`li`,{"aria-label":`label`,className:`diskusage__details-list__item`,role:`cell`,children:[(0,z.jsx)(`span`,{className:`diskusage__details-list__label`,children:e}),(0,z.jsx)(Ve,{className:`diskuage__size-used`,value:t})]}),wa=A(()=>{let{i18n:e}=M(),{disks:t}=Je,{mountPoints:n}=I.floodSettings;if(t==null||n==null)return null;let r=t.reduce((e,t)=>({...e,[t.target]:t}),{}),i=n.filter(e=>e in r).map(e=>r[e]).map(t=>(0,z.jsx)(`li`,{className:`sidebar-filter__item sidebar__diskusage`,role:`row`,children:(0,z.jsxs)(tt,{content:(0,z.jsxs)(`ul`,{className:`diskusage__details-list`,role:`tooltip`,children:[(0,z.jsx)(Ca,{value:t.used,label:e._(`status.diskusage.used`)}),(0,z.jsx)(Ca,{value:t.avail,label:e._(`status.diskusage.free`)}),(0,z.jsx)(Ca,{value:t.size,label:e._(`status.diskusage.total`)})]}),position:`top`,styles:D({cursor:`default`}),wrapperClassName:`diskusage__item`,children:[(0,z.jsxs)(`div`,{className:`diskusage__text-row`,children:[t.target,(0,z.jsxs)(`span`,{children:[Sa.round(100*t.used/t.size,2),`%`]})]}),(0,z.jsx)(Be,{percent:Sa.round(100*t.used/t.size,2)})]})},t.target));if(i==null||i.length===0)return null;let a=e._(`status.diskusage.title`);return(0,z.jsxs)(`ul`,{"aria-label":a,className:`sidebar-filter sidebar__item`,role:`table`,children:[(0,z.jsx)(`li`,{className:`sidebar-filter__item sidebar-filter__item--heading`,children:a}),i]})}),Ta=()=>{let{i18n:e}=M(),t=(0,R.useRef)(null);return(0,z.jsx)(tt,{content:e._(`sidebar.button.feeds`),onClick:()=>{t.current!=null&&t.current.dismissTooltip(),P.setActiveModal({id:`feeds`})},ref:t,position:`bottom`,wrapperClassName:`sidebar__action sidebar__icon-button
22
- sidebar__icon-button--interactive tooltip__wrapper`,children:(0,z.jsx)(Oe,{})})},Ea=D({_focus:{outline:`none`,WebkitTapHighlightColor:`transparent`}}),Da=e=>{let[t,n]=(0,R.useState)(!1);return(0,R.useEffect)(()=>{if(e.current){let{current:t}=e;n(t.scrollWidth>t.clientWidth)}},[e,e?.current?.scrollWidth,e?.current?.clientWidth]),t},Oa=({children:e,name:t,icon:n,isActive:r,slug:i,count:a,size:o,handleClick:s})=>{let c=(0,R.createRef)(),l=Da(c),{i18n:u}=M(),[f,p]=(0,R.useState)(!1),m=(0,dt.default)(`sidebar-filter__item`,{"is-active":r}),h=(0,dt.default)(`sidebar-filter__expander`,{"is-active":r,expanded:f}),g=t;if(g===``)g=u._(`filter.all`);else if(g===`untagged`){if(a===0)return null;g=u._(`filter.untagged`)}return(i===`checking`||i===`moving`||i===`error`)&&a===0?null:(0,z.jsxs)(`li`,{children:[(0,z.jsxs)(`div`,{className:e?D({display:`flex`}):void 0,children:[e&&(0,z.jsx)(`button`,{className:`${h} ${Ea}`,type:`button`,onClick:()=>p(!f),role:`switch`,"aria-checked":f,children:(0,z.jsx)(d,{})}),(0,z.jsxs)(`button`,{className:`${m} ${Ea}`,type:`button`,onClick:e=>s(i,e),role:`menuitem`,children:[n,(0,z.jsx)(`span`,{className:`name`,ref:c,title:l?g||``:void 0,children:g}),(0,z.jsx)(Ge,{children:a}),o!=null&&(0,z.jsx)(Ve,{value:o,className:`size`})]})]}),e&&f&&(0,z.jsx)(`ul`,{className:`sidebar-filter__nested`,children:e})]})},ka=e=>{if(e.children.length===1&&e.containedCount===e.children[0].containedCount){let t=e.children[0],n=t.fullPath.includes(`/`)?`/`:`\\`;return ka({...t,directoryName:e.directoryName+n+t.directoryName})}let t=e.children.map(ka);return(0,z.jsx)(Oa,{handleClick:(e,t)=>L.setLocationFilters(e,t),count:e.containedCount,isActive:e.fullPath===``&&!L.locationFilter.length||L.locationFilter.includes(e.fullPath),name:e.directoryName,slug:e.fullPath,size:e.containedSize,children:t.length&&t||void 0},e.fullPath)},Aa=A(()=>{let{i18n:e}=M();if(!I.floodSettings.UISidebarFilterLocation||L.taxonomy.locationTree.containedCount===0)return null;let t=ka(L.taxonomy.locationTree),n=e._(`filter.location.title`);return(0,z.jsxs)(`ul`,{"aria-label":n,className:`sidebar-filter sidebar__item`,role:`menu`,children:[(0,z.jsx)(`li`,{className:`sidebar-filter__item sidebar-filter__item--heading`,role:`none`,children:n}),t]})}),ja=10,Ma=e=>F.fetchNotifications({id:`notification-tooltip`,limit:ja,start:e}),Na=({paginationStart:e,notificationTotal:t})=>{let{i18n:n}=M();if(t>ja){let r=e+1,i=e+ja;return r>t&&(r=t),i>t&&(i=t),(0,z.jsx)(`div`,{className:`toolbar toolbar--dark toolbar--top tooltip__toolbar tooltip__content--padding-surrogate`,children:(0,z.jsxs)(`span`,{className:`toolbar__item toolbar__item--label`,children:[`${n._(`notification.showing`)} `,(0,z.jsxs)(`strong`,{children:[r,` ${n._(`general.to`)} `,i]}),` ${n._(`general.of`)} `,(0,z.jsx)(`strong`,{children:t})]})})}return null},Pa=({notification:e})=>{let{i18n:t}=M();return(0,z.jsxs)(`li`,{className:`notifications__list__item`,children:[(0,z.jsxs)(`div`,{className:`notification__heading`,children:[(0,z.jsx)(`span`,{className:`notification__category`,children:t._(`${e.id}.heading`)}),` — `,(0,z.jsx)(`span`,{className:`notification__timestamp`,children:nt(t.locale,new Date(e.ts),{year:`numeric`,month:`long`,day:`2-digit`,hour:`numeric`,minute:`numeric`})})]}),(0,z.jsx)(`div`,{className:`notification__message`,children:t._(`${e.id}.body`,e.data)})]})},Fa=({paginationStart:e,notificationTotal:t,onPrevClick:n,onClearClick:r,onNextClick:o})=>{let{i18n:s}=M();if(t>0){let c=e+ja*2,l=e-ja;return c>t&&(c=t),l<0&&(l=0),(0,z.jsxs)(`ul`,{className:`notifications__toolbar toolbar toolbar--dark
23
- toolbar--bottom`,children:[(0,z.jsx)(`li`,{className:(0,dt.default)(`toolbar__item toolbar__item--button`,{"is-disabled":e===0}),children:(0,z.jsxs)(`button`,{className:`tooltip__content--padding-surrogate`,type:`button`,onClick:n,children:[(0,z.jsx)(i,{}),`${l+1} - ${e}`]})}),(0,z.jsx)(`li`,{className:`toolbar__item toolbar__item--button`,children:(0,z.jsx)(`button`,{className:`tooltip__content--padding-surrogate`,type:`button`,onClick:r,children:s._(`notification.clear.all`)})}),(0,z.jsx)(`li`,{className:(0,dt.default)(`toolbar__item toolbar__item--button`,{"is-disabled":e+ja>=t}),children:(0,z.jsxs)(`button`,{className:`tooltip__content--padding-surrogate`,type:`button`,onClick:o,children:[`${e+ja+1} - ${c}`,(0,z.jsx)(a,{})]})})]})}return null},Ia=A(()=>{let{i18n:e}=M(),t=(0,R.useRef)(null),n=(0,R.useRef)(null),[r,i]=(0,R.useState)(!1),[a,o]=(0,R.useState)(0),[s,c]=(0,R.useState)(0),{hasNotification:l,notifications:u,notificationCount:d}=Ye;return(0,R.useEffect)(()=>{d.total>0&&t.current?.isOpen()&&(i(!0),Ma(a).finally(()=>i(!1)))},[d,a]),(0,z.jsxs)(tt,{contentClassName:`tooltip__content tooltip__content--no-padding`,content:l?(0,z.jsxs)(`div`,{className:(0,dt.default)(`notifications`,{"notifications--is-loading":r}),children:[(0,z.jsx)(Na,{paginationStart:a,notificationTotal:d.total}),(0,z.jsx)(`div`,{className:`notifications__loading-indicator`,children:(0,z.jsx)(ue,{})}),(0,z.jsx)(`ul`,{className:`notifications__list tooltip__content--padding-surrogate`,ref:n,style:{minHeight:s},children:u.map((e,t)=>(0,z.jsx)(Pa,{notification:e},t))}),(0,z.jsx)(Fa,{paginationStart:a,notificationTotal:d.total,onPrevClick:()=>{let e=a-ja;e>=0&&(c(n.current?.clientHeight||0),o(e))},onClearClick:()=>{t.current!=null&&t.current.dismissTooltip(),F.clearNotifications(),c(0),o(0)},onNextClick:()=>{let e=a+ja;d.total>e&&(c(n.current?.clientHeight||0),o(e))}})]}):(0,z.jsx)(`div`,{className:`notifications tooltip__content--padding-surrogate`,style:{textAlign:`center`},children:e._(`notification.no.notification`)}),interactive:!0,onOpen:()=>Ma(a),ref:t,width:340,position:`bottom`,wrapperClassName:`sidebar__action sidebar__icon-button
24
- tooltip__wrapper`,children:[(0,z.jsx)(re,{}),l?(0,z.jsx)(`span`,{className:`notifications__badge`,children:d.total}):null]})}),La=A(()=>{let{i18n:e}=M(),t=(0,R.useRef)(null),{searchFilter:n}=L;(0,R.useEffect)(()=>{t.current!=null&&n!==t.current.value&&(t.current.value=n)},[t,n]);let r=n!==``;return(0,z.jsxs)(`div`,{className:(0,dt.default)({sidebar__item:!0,search:!0,"is-in-use":r}),children:[r&&(0,z.jsx)(`button`,{className:`button search__reset-button`,onClick:()=>{L.setSearchFilter(``),t.current!=null&&t.current.blur()},type:`button`,children:(0,z.jsx)(Me,{})}),(0,z.jsx)(te,{}),(0,z.jsx)(`input`,{className:`textbox`,ref:t,type:`text`,placeholder:e._(`sidebar.search.placeholder`),onChange:e=>{L.setSearchFilter(e.target.value)}})]})}),Ra=()=>{let{i18n:e}=M(),t=(0,R.useRef)(null);return(0,z.jsx)(tt,{content:e._(`sidebar.button.settings`),onClick:()=>{t.current!=null&&t.current.dismissTooltip(),P.setActiveModal({id:`settings`})},ref:t,position:`bottom`,wrapperClassName:`sidebar__action sidebar__icon-button
25
- sidebar__icon-button--interactive tooltip__wrapper`,children:(0,z.jsx)(O,{})})},za=({children:e})=>(0,z.jsx)(`div`,{className:`sidebar__actions`,children:e}),Ba=we(((e,t)=>{var n=Ne(),r=4294967294,i=Math.floor,a=Math.min;function o(e,t,o,s){var c=0,l=e==null?0:e.length;if(l===0)return 0;t=o(t);for(var u=t!==t,d=t===null,f=n(t),p=t===void 0;c<l;){var m=i((c+l)/2),h=o(e[m]),g=h!==void 0,_=h===null,v=h===h,y=n(h);if(u)var b=s||v;else b=p?v&&(s||g):d?v&&g&&(s||!_):f?v&&g&&!_&&(s||!y):_||y?!1:s?h<=t:h<t;b?c=m+1:l=m}return a(l,r)}t.exports=o})),Va=we(((e,t)=>{function n(e){return e}t.exports=n})),Ha=we(((e,t)=>{var n=Ba(),r=Va(),i=Ne(),a=2147483647;function o(e,t,o){var s=0,c=e==null?s:e.length;if(typeof t==`number`&&t===t&&c<=a){for(;s<c;){var l=s+c>>>1,u=e[l];u!==null&&!i(u)&&(o?u<=t:u<t)?s=l+1:c=l}return c}return n(e,t,r,o)}t.exports=o})),Ua=oe(we(((e,t)=>{var n=Ha();function r(e,t){return n(e,t)}t.exports=r}))()),Wa=({bytes:e})=>e===0?(0,z.jsx)(ve,{id:`speed.unlimited`}):(0,z.jsx)(Ve,{value:e,isSpeed:!0,precision:1}),Ga=({i18n:e,direction:t,speedLimits:n,throttleGlobalDownSpeed:r,throttleGlobalUpSpeed:i})=>{let a={className:`dropdown__label dropdown__label--${t}`,...t===`download`?{displayName:e._(`sidebar.speedlimits.download`)}:{displayName:e._(`sidebar.speedlimits.upload`)},selectable:!1,value:null},o={download:r,upload:i},s=n[t],c=!0,l=s.map(e=>{let n=!1;return o&&o[t]===e&&(n=!0,c=!1),{displayName:(0,z.jsx)(Wa,{bytes:e}),property:t,selected:n,selectable:!0,value:e}});if(c&&o){let e=(0,Ua.default)(s,o[t]);l.splice(e,0,{displayName:(0,z.jsx)(Wa,{bytes:o[t]}),property:t,selected:!0,selectable:!0,value:o[t]})}return l.unshift(a),l},Ka=A(()=>{let{i18n:e}=M(),t=(0,R.useRef)(null),n=(0,R.useRef)(()=>{}),r=e._(`sidebar.button.speedlimits`),i={i18n:e,speedLimits:I.floodSettings.speedLimits,throttleGlobalDownSpeed:I.clientSettings?.throttleGlobalDownSpeed??0,throttleGlobalUpSpeed:I.clientSettings?.throttleGlobalUpSpeed??0};return(0,z.jsx)(gt,{dropdownClickRef:n,dropdownWrapperClass:`dropdown dropdown--speed-limits sidebar__action`,handleItemSelect:e=>{e.value!=null&&(e.property===`download`?it.saveSetting(`throttleGlobalDownSpeed`,e.value):e.property===`upload`&&it.saveSetting(`throttleGlobalUpSpeed`,e.value))},header:(0,z.jsxs)(`div`,{className:`sidebar__icon-button sidebar__icon-button--interactive
26
- sidebar__icon-button--limits`,title:r,children:[(0,z.jsx)(De,{}),r]}),menuItems:[Ga({direction:`download`,...i}),Ga({direction:`upload`,...i})],onOpen:()=>{t.current!=null&&t.current.dismissTooltip()},trigger:(0,z.jsx)(tt,{content:r,position:`bottom`,ref:t,wrapperClassName:`sidebar__icon-button tooltip__wrapper`,onClick:()=>n.current?.(),children:(0,z.jsx)(De,{})}),isFocusHandled:!0})}),qa=({children:e,className:t,expanded:n,handleClick:r})=>(0,z.jsxs)(`button`,{className:t,onClick:e=>r(e),children:[e,n?(0,z.jsx)(S,{className:D({transform:`scaleY(-1)`})}):(0,z.jsx)(S,{})]}),Ja=A(()=>{let{i18n:e}=M(),t=[{label:e._(`filter.all`),slug:``,icon:(0,z.jsx)(s,{})},{label:e._(`filter.status.downloading`),slug:`downloading`,icon:(0,z.jsx)(_e,{})},{label:e._(`filter.status.seeding`),slug:`seeding`,icon:(0,z.jsx)(me,{})},{label:e._(`filter.status.checking`),slug:`checking`,icon:(0,z.jsx)(g,{})},{label:e._(`filter.status.moving`),slug:`moving`,icon:(0,z.jsx)(g,{})},{label:e._(`filter.status.completed`),slug:`complete`,icon:(0,z.jsx)(se,{})},{label:e._(`filter.status.stopped`),slug:`stopped`,icon:(0,z.jsx)(o,{})},{label:e._(`filter.status.active`),slug:`active`,icon:(0,z.jsx)(E,{})},{label:e._(`filter.status.inactive`),slug:`inactive`,icon:(0,z.jsx)(Te,{})},{label:e._(`filter.status.warning`),slug:`warning`,icon:(0,z.jsx)(je,{})},{label:e._(`filter.status.error`),slug:`error`,icon:(0,z.jsx)(le,{})}].filter(e=>e.slug!==`warning`||I.floodSettings.UITrackerWarningEnabled).map(e=>(0,z.jsx)(Oa,{handleClick:(e,t)=>L.setStatusFilters(e,t),count:L.taxonomy.statusCounts[e.slug]||0,icon:e.icon,isActive:e.slug===``&&!L.statusFilter.length||L.statusFilter.includes(e.slug),name:e.label,slug:e.slug,size:L.taxonomy.statusSizes[e.slug]??0},e.slug)),n=e._(`filter.status.title`),[r,i]=(0,R.useState)(!0);return(0,z.jsxs)(`ul`,{"aria-label":n,className:`sidebar-filter sidebar__item`,role:`menu`,children:[(0,z.jsx)(`li`,{className:`sidebar-filter__item`,role:`none`,children:(0,z.jsx)(qa,{className:`sidebar-filter__item--heading`,expanded:r,handleClick:()=>{i(!r)},children:n})}),r&&t]})}),Ya=A(()=>{let{i18n:e}=M(),[t,n]=(0,R.useState)(!0);if(!I.floodSettings.UISidebarFilterTag)return null;let r=Object.keys(L.taxonomy.tagCounts);if(r.length===1&&r[0]===``||r.length===2&&r[1]===`untagged`)return null;let i=r.slice().sort((e,t)=>e===``||e===`untagged`?-1:t===``||t===`untagged`?1:e.localeCompare(t)).map(e=>(0,z.jsx)(Oa,{handleClick:(e,t)=>L.setTagFilters(e,t),count:L.taxonomy.tagCounts[e]||0,isActive:e===``&&!L.tagFilter.length||L.tagFilter.includes(e),name:e,slug:e,size:L.taxonomy.tagSizes[e]},e)),a=e._(`filter.tag.title`);return(0,z.jsxs)(`ul`,{"aria-label":a,className:`sidebar-filter sidebar__item`,role:`menu`,children:[(0,z.jsx)(`li`,{className:`sidebar-filter__item`,role:`none`,children:(0,z.jsx)(qa,{className:`sidebar-filter__item--heading`,expanded:t,handleClick:()=>{n(!t)},children:a})}),t&&i]})}),Xa=()=>{let{i18n:e}=M();return(0,z.jsx)(tt,{content:e._(u.isPreferDark?`sidebar.button.theme.light`:`sidebar.button.theme.dark`),onClick:()=>u.setUserPreferDark(!u.isPreferDark),position:`bottom`,wrapperClassName:`sidebar__action sidebar__icon-button
27
- sidebar__icon-button--interactive tooltip__wrapper`,children:(0,z.jsx)(C,{})})},Za=A(()=>{let{i18n:e}=M(),[t,n]=(0,R.useState)(!0);if(!I.floodSettings.UISidebarFilterTracker)return null;let r=Object.keys(L.taxonomy.trackerCounts);if(r.length===1&&r[0]===``)return null;let i=r.slice().sort((e,t)=>e===``?-1:t===``?1:e.localeCompare(t)).map(e=>(0,z.jsx)(Oa,{handleClick:(e,t)=>L.setTrackerFilters(e,t),count:L.taxonomy.trackerCounts[e]||0,isActive:e===``&&!L.trackerFilter.length||L.trackerFilter.includes(e),name:e,slug:e,size:L.taxonomy.trackerSizes[e]},e)),a=e._(`filter.tracker.title`);return(0,z.jsxs)(`ul`,{"aria-label":a,className:`sidebar-filter sidebar__item`,role:`menu`,children:[(0,z.jsx)(`li`,{className:`sidebar-filter__item`,role:`none`,children:(0,z.jsx)(qa,{className:`sidebar-filter__item--heading`,expanded:t,handleClick:()=>{n(!t)},children:a})}),t&&i]})});function Qa(){return Qa=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Qa.apply(null,arguments)}function $a(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function eo(e,t){return eo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},eo(e,t)}function to(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,eo(e,t)}var no=we(((e,t)=>{t.exports=`SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED`})),ro=we(((e,t)=>{var n=no();function r(){}function i(){}i.resetWarningCache=r,t.exports=function(){function e(e,t,r,i,a,o){if(o!==n){var s=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name=`Invariant Violation`,s}}e.isRequired=e;function t(){return e}var a={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:r};return a.PropTypes=a,a}})),io=oe(we(((e,t)=>{t.exports=ro()()}))()),ao=(function(){if(typeof Map<`u`)return Map;function e(e,t){var n=-1;return e.some(function(e,r){return e[0]===t?(n=r,!0):!1}),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){t===void 0&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var i=r[n];e.call(t,i[1],i[0])}},t}()})(),oo=typeof window<`u`&&typeof document<`u`&&window.document===document,so=(function(){return typeof global<`u`&&global.Math===Math?global:typeof self<`u`&&self.Math===Math?self:typeof window<`u`&&window.Math===Math?window:Function(`return this`)()})(),co=(function(){return typeof requestAnimationFrame==`function`?requestAnimationFrame.bind(so):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)}})(),lo=2;function uo(e,t){var n=!1,r=!1,i=0;function a(){n&&(n=!1,e()),r&&s()}function o(){co(a)}function s(){var e=Date.now();if(n){if(e-i<lo)return;r=!0}else n=!0,r=!1,setTimeout(o,t);i=e}return s}var fo=20,po=[`top`,`right`,`bottom`,`left`,`width`,`height`,`size`,`weight`],mo=typeof MutationObserver<`u`,ho=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=uo(this.refresh.bind(this),fo)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter(function(e){return e.gatherActive(),e.hasActive()});return e.forEach(function(e){return e.broadcastActive()}),e.length>0},e.prototype.connect_=function(){!oo||this.connected_||(document.addEventListener(`transitionend`,this.onTransitionEnd_),window.addEventListener(`resize`,this.refresh),mo?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener(`DOMSubtreeModified`,this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){!oo||!this.connected_||(document.removeEventListener(`transitionend`,this.onTransitionEnd_),window.removeEventListener(`resize`,this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener(`DOMSubtreeModified`,this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=t===void 0?``:t;po.some(function(e){return!!~n.indexOf(e)})&&this.refresh()},e.getInstance=function(){return this.instance_||=new e,this.instance_},e.instance_=null,e}(),go=(function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var i=r[n];Object.defineProperty(e,i,{value:t[i],enumerable:!1,writable:!1,configurable:!0})}return e}),_o=(function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||so}),vo=Oo(0,0,0,0);function yo(e){return parseFloat(e)||0}function bo(e){return[...arguments].slice(1).reduce(function(t,n){var r=e[`border-`+n+`-width`];return t+yo(r)},0)}function xo(e){for(var t=[`top`,`right`,`bottom`,`left`],n={},r=0,i=t;r<i.length;r++){var a=i[r],o=e[`padding-`+a];n[a]=yo(o)}return n}function So(e){var t=e.getBBox();return Oo(0,0,t.width,t.height)}function Co(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return vo;var r=_o(e).getComputedStyle(e),i=xo(r),a=i.left+i.right,o=i.top+i.bottom,s=yo(r.width),c=yo(r.height);if(r.boxSizing===`border-box`&&(Math.round(s+a)!==t&&(s-=bo(r,`left`,`right`)+a),Math.round(c+o)!==n&&(c-=bo(r,`top`,`bottom`)+o)),!To(e)){var l=Math.round(s+a)-t,u=Math.round(c+o)-n;Math.abs(l)!==1&&(s-=l),Math.abs(u)!==1&&(c-=u)}return Oo(i.left,i.top,s,c)}var wo=(function(){return typeof SVGGraphicsElement<`u`?function(e){return e instanceof _o(e).SVGGraphicsElement}:function(e){return e instanceof _o(e).SVGElement&&typeof e.getBBox==`function`}})();function To(e){return e===_o(e).document.documentElement}function Eo(e){return oo?wo(e)?So(e):Co(e):vo}function Do(e){var t=e.x,n=e.y,r=e.width,i=e.height,a=Object.create((typeof DOMRectReadOnly<`u`?DOMRectReadOnly:Object).prototype);return go(a,{x:t,y:n,width:r,height:i,top:n,right:t+r,bottom:i+n,left:t}),a}function Oo(e,t,n,r){return{x:e,y:t,width:n,height:r}}var X=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=Oo(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=Eo(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),ko=function(){function e(e,t){var n=Do(t);go(this,{target:e,contentRect:n})}return e}(),Ao=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new ao,typeof e!=`function`)throw TypeError(`The callback provided as parameter 1 is not a function.`);this.callback_=e,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(e){if(!arguments.length)throw TypeError(`1 argument required, but only 0 present.`);if(!(typeof Element>`u`||!(Element instanceof Object))){if(!(e instanceof _o(e).Element))throw TypeError(`parameter 1 is not of type "Element".`);var t=this.observations_;t.has(e)||(t.set(e,new X(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw TypeError(`1 argument required, but only 0 present.`);if(!(typeof Element>`u`||!(Element instanceof Object))){if(!(e instanceof _o(e).Element))throw TypeError(`parameter 1 is not of type "Element".`);var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach(function(t){t.isActive()&&e.activeObservations_.push(t)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map(function(e){return new ko(e.target,e.broadcastRect())});this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),jo=typeof WeakMap<`u`?new WeakMap:new ao,Mo=function(){function e(t){if(!(this instanceof e))throw TypeError(`Cannot call a class as a function.`);if(!arguments.length)throw TypeError(`1 argument required, but only 0 present.`);var n=new Ao(t,ho.getInstance(),this);jo.set(this,n)}return e}();[`observe`,`unobserve`,`disconnect`].forEach(function(e){Mo.prototype[e]=function(){var t;return(t=jo.get(this))[e].apply(t,arguments)}});var No=(function(){return so.ResizeObserver===void 0?Mo:so.ResizeObserver})(),Po=[`client`,`offset`,`scroll`,`bounds`,`margin`];function Fo(e){var t=[];return Po.forEach(function(n){e[n]&&t.push(n)}),t}function Io(e,t){var n={};if(t.indexOf(`client`)>-1&&(n.client={top:e.clientTop,left:e.clientLeft,width:e.clientWidth,height:e.clientHeight}),t.indexOf(`offset`)>-1&&(n.offset={top:e.offsetTop,left:e.offsetLeft,width:e.offsetWidth,height:e.offsetHeight}),t.indexOf(`scroll`)>-1&&(n.scroll={top:e.scrollTop,left:e.scrollLeft,width:e.scrollWidth,height:e.scrollHeight}),t.indexOf(`bounds`)>-1){var r=e.getBoundingClientRect();n.bounds={top:r.top,right:r.right,bottom:r.bottom,left:r.left,width:r.width,height:r.height}}if(t.indexOf(`margin`)>-1){var i=getComputedStyle(e);n.margin={top:i?parseInt(i.marginTop):0,right:i?parseInt(i.marginRight):0,bottom:i?parseInt(i.marginBottom):0,left:i?parseInt(i.marginLeft):0}}return n}function Lo(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||window}function Ro(e){return function(t){var n,r;return r=n=function(n){to(r,n);function r(){var t,r=[...arguments];return t=n.call.apply(n,[this].concat(r))||this,t.state={contentRect:{entry:{},client:{},offset:{},scroll:{},bounds:{},margin:{}}},t._animationFrameID=null,t._resizeObserver=null,t._node=null,t._window=null,t.measure=function(n){var r=Io(t._node,e||Fo(t.props));n&&(r.entry=n[0].contentRect),t._animationFrameID=t._window.requestAnimationFrame(function(){t._resizeObserver!==null&&(t.setState({contentRect:r}),typeof t.props.onResize==`function`&&t.props.onResize(r))})},t._handleRef=function(e){t._resizeObserver!==null&&t._node!==null&&t._resizeObserver.unobserve(t._node),t._node=e,t._window=Lo(t._node);var n=t.props.innerRef;n&&(typeof n==`function`?n(t._node):n.current=t._node),t._resizeObserver!==null&&t._node!==null&&t._resizeObserver.observe(t._node)},t}var i=r.prototype;return i.componentDidMount=function(){this._resizeObserver=this._window!==null&&this._window.ResizeObserver?new this._window.ResizeObserver(this.measure):new No(this.measure),this._node!==null&&(this._resizeObserver.observe(this._node),typeof this.props.onResize==`function`&&this.props.onResize(Io(this._node,e||Fo(this.props))))},i.componentWillUnmount=function(){this._window!==null&&this._window.cancelAnimationFrame(this._animationFrameID),this._resizeObserver!==null&&(this._resizeObserver.disconnect(),this._resizeObserver=null)},i.render=function(){var e=this.props;return e.innerRef,e.onResize,(0,R.createElement)(t,Qa({},$a(e,[`innerRef`,`onResize`]),{measureRef:this._handleRef,measure:this.measure,contentRect:this.state.contentRect}))},r}(R.Component),n.propTypes={client:io.default.bool,offset:io.default.bool,scroll:io.default.bool,bounds:io.default.bool,margin:io.default.bool,innerRef:io.default.oneOfType([io.default.object,io.default.func]),onResize:io.default.func},r}}var zo=Ro()(function(e){var t=e.measure,n=e.measureRef,r=e.contentRect,i=e.children;return i({measure:t,measureRef:n,contentRect:r})});zo.displayName=`Measure`,zo.propTypes.children=io.default.func;var Bo={download:(0,z.jsx)(fe,{}),infinity:(0,z.jsx)(be,{}),upload:(0,z.jsx)(v,{})},Vo=A(({inspectorPoint:e})=>{let{i18n:t}=M(),n=(n,r={})=>{let{throttleGlobalDownSpeed:i=0,throttleGlobalUpSpeed:a=0}=I.clientSettings||{},{transferSummary:o}=Ze,s={download:i,upload:a},c={download:o.downTotal,upload:o.upTotal},l={download:o.downRate,upload:o.upRate};e!=null&&(l={upload:e.upload,download:e.download});let u=(0,dt.default)(`client-stats__rate__data--secondary`,{"is-visible":e==null&&qe.isConnected}),d=(0,dt.default)(`client-stats__rate__data--timestamp`,{"is-visible":e!=null&&r.showHoverDuration}),f=null;e?.timestamp!=null&&(f=(0,z.jsx)(`div`,{className:d,children:(0,z.jsx)(Ue,{suffix:t._(`general.ago`),value:Math.trunc((Date.now()-e.timestamp)/1e3)})}));let p=null;return p=s[n]===0?Bo.infinity:(0,z.jsx)(Ve,{value:s[n],isSpeed:!0}),(0,z.jsxs)(`div`,{className:`client-stats__rate client-stats__rate--${n}`,children:[(0,z.jsx)(`div`,{className:`client-stats__rate__icon`,children:Bo[n]}),(0,z.jsxs)(`div`,{className:`client-stats__rate__data`,children:[(0,z.jsx)(`div`,{className:`client-stats__rate__data--primary`,children:(0,z.jsx)(Ve,{value:l[n],isSpeed:!0})}),f,(0,z.jsxs)(`div`,{className:u,children:[(0,z.jsx)(`div`,{className:`client-stats__rate__data--total`,children:(0,z.jsx)(Ve,{value:c[n]})}),(0,z.jsx)(`div`,{className:`client-stats__rate__data--limit`,children:p})]})]})]})};return(0,z.jsxs)(`div`,{className:`client-stats__rates`,children:[n(`download`,{showHoverDuration:!0}),n(`upload`)]})});function Ho(e){return function(){return e}}var Uo=Math.PI,Wo=2*Uo,Go=1e-6,Ko=Wo-Go;function qo(e){this._+=e[0];for(let t=1,n=e.length;t<n;++t)this._+=arguments[t]+e[t]}function Jo(e){let t=Math.floor(e);if(!(t>=0))throw Error(`invalid digits: ${e}`);if(t>15)return qo;let n=10**t;return function(e){this._+=e[0];for(let t=1,r=e.length;t<r;++t)this._+=Math.round(arguments[t]*n)/n+e[t]}}var Yo=class{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._=``,this._append=e==null?qo:Jo(e)}moveTo(e,t){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(e,t){this._append`L${this._x1=+e},${this._y1=+t}`}quadraticCurveTo(e,t,n,r){this._append`Q${+e},${+t},${this._x1=+n},${this._y1=+r}`}bezierCurveTo(e,t,n,r,i,a){this._append`C${+e},${+t},${+n},${+r},${this._x1=+i},${this._y1=+a}`}arcTo(e,t,n,r,i){if(e=+e,t=+t,n=+n,r=+r,i=+i,i<0)throw Error(`negative radius: ${i}`);let a=this._x1,o=this._y1,s=n-e,c=r-t,l=a-e,u=o-t,d=l*l+u*u;if(this._x1===null)this._append`M${this._x1=e},${this._y1=t}`;else if(d>Go)if(!(Math.abs(u*s-c*l)>Go)||!i)this._append`L${this._x1=e},${this._y1=t}`;else{let f=n-a,p=r-o,m=s*s+c*c,h=f*f+p*p,g=Math.sqrt(m),_=Math.sqrt(d),v=i*Math.tan((Uo-Math.acos((m+d-h)/(2*g*_)))/2),y=v/_,b=v/g;Math.abs(y-1)>Go&&this._append`L${e+y*l},${t+y*u}`,this._append`A${i},${i},0,0,${+(u*f>l*p)},${this._x1=e+b*s},${this._y1=t+b*c}`}}arc(e,t,n,r,i,a){if(e=+e,t=+t,n=+n,a=!!a,n<0)throw Error(`negative radius: ${n}`);let o=n*Math.cos(r),s=n*Math.sin(r),c=e+o,l=t+s,u=1^a,d=a?r-i:i-r;this._x1===null?this._append`M${c},${l}`:(Math.abs(this._x1-c)>Go||Math.abs(this._y1-l)>Go)&&this._append`L${c},${l}`,n&&(d<0&&(d=d%Wo+Wo),d>Ko?this._append`A${n},${n},0,1,${u},${e-o},${t-s}A${n},${n},0,1,${u},${this._x1=c},${this._y1=l}`:d>Go&&this._append`A${n},${n},0,${+(d>=Uo)},${u},${this._x1=e+n*Math.cos(i)},${this._y1=t+n*Math.sin(i)}`)}rect(e,t,n,r){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}h${n=+n}v${+r}h${-n}Z`}toString(){return this._}};function Xo(){return new Yo}Xo.prototype=Yo.prototype;function Zo(e){let t=3;return e.digits=function(n){if(!arguments.length)return t;if(n==null)t=null;else{let e=Math.floor(n);if(!(e>=0))throw RangeError(`invalid digits: ${n}`);t=e}return e},()=>new Yo(t)}Array.prototype.slice;function Qo(e){return typeof e==`object`&&`length`in e?e:Array.from(e)}function $o(e){this._context=e}$o.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t);break}}};function es(e){return new $o(e)}function ts(e){return e[0]}function ns(e){return e[1]}function rs(e,t){var n=Ho(!0),r=null,i=es,a=null,o=Zo(s);e=typeof e==`function`?e:e===void 0?ts:Ho(e),t=typeof t==`function`?t:t===void 0?ns:Ho(t);function s(s){var c,l=(s=Qo(s)).length,u,d=!1,f;for(r??(a=i(f=o())),c=0;c<=l;++c)!(c<l&&n(u=s[c],c,s))===d&&((d=!d)?a.lineStart():a.lineEnd()),d&&a.point(+e(u,c,s),+t(u,c,s));if(f)return a=null,f+``||null}return s.x=function(t){return arguments.length?(e=typeof t==`function`?t:Ho(+t),s):e},s.y=function(e){return arguments.length?(t=typeof e==`function`?e:Ho(+e),s):t},s.defined=function(e){return arguments.length?(n=typeof e==`function`?e:Ho(!!e),s):n},s.curve=function(e){return arguments.length?(i=e,r!=null&&(a=i(r)),s):i},s.context=function(e){return arguments.length?(e==null?r=a=null:a=i(r=e),s):r},s}function is(e,t,n){var r=null,i=Ho(!0),a=null,o=es,s=null,c=Zo(l);e=typeof e==`function`?e:e===void 0?ts:Ho(+e),t=typeof t==`function`?t:Ho(t===void 0?0:+t),n=typeof n==`function`?n:n===void 0?ns:Ho(+n);function l(l){var u,d,f,p=(l=Qo(l)).length,m,h=!1,g,_=Array(p),v=Array(p);for(a??(s=o(g=c())),u=0;u<=p;++u){if(!(u<p&&i(m=l[u],u,l))===h)if(h=!h)d=u,s.areaStart(),s.lineStart();else{for(s.lineEnd(),s.lineStart(),f=u-1;f>=d;--f)s.point(_[f],v[f]);s.lineEnd(),s.areaEnd()}h&&(_[u]=+e(m,u,l),v[u]=+t(m,u,l),s.point(r?+r(m,u,l):_[u],n?+n(m,u,l):v[u]))}if(g)return s=null,g+``||null}function u(){return rs().defined(i).curve(o).context(a)}return l.x=function(t){return arguments.length?(e=typeof t==`function`?t:Ho(+t),r=null,l):e},l.x0=function(t){return arguments.length?(e=typeof t==`function`?t:Ho(+t),l):e},l.x1=function(e){return arguments.length?(r=e==null?null:typeof e==`function`?e:Ho(+e),l):r},l.y=function(e){return arguments.length?(t=typeof e==`function`?e:Ho(+e),n=null,l):t},l.y0=function(e){return arguments.length?(t=typeof e==`function`?e:Ho(+e),l):t},l.y1=function(e){return arguments.length?(n=e==null?null:typeof e==`function`?e:Ho(+e),l):n},l.lineX0=l.lineY0=function(){return u().x(e).y(t)},l.lineY1=function(){return u().x(e).y(n)},l.lineX1=function(){return u().x(r).y(t)},l.defined=function(e){return arguments.length?(i=typeof e==`function`?e:Ho(!!e),l):i},l.curve=function(e){return arguments.length?(o=e,a!=null&&(s=o(a)),l):o},l.context=function(e){return arguments.length?(e==null?a=s=null:s=o(a=e),l):a},l}function as(e){return e<0?-1:1}function os(e,t,n){var r=e._x1-e._x0,i=t-e._x1,a=(e._y1-e._y0)/(r||i<0&&-0),o=(n-e._y1)/(i||r<0&&-0),s=(a*i+o*r)/(r+i);return(as(a)+as(o))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs(s))||0}function ss(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function cs(e,t,n){var r=e._x0,i=e._y0,a=e._x1,o=e._y1,s=(a-r)/3;e._context.bezierCurveTo(r+s,i+s*t,a-s,o-s*n,a,o)}function ls(e){this._context=e}ls.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:cs(this,this._t0,ss(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(e=+e,t=+t,!(e===this._x1&&t===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,cs(this,ss(this,n=os(this,e,t)),n);break;default:cs(this,this._t0,n=os(this,e,t));break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}};function us(e){this._context=new ds(e)}(us.prototype=Object.create(ls.prototype)).point=function(e,t){ls.prototype.point.call(this,t,e)};function ds(e){this._context=e}ds.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,r,i,a){this._context.bezierCurveTo(t,e,r,n,a,i)}};function fs(e){return new ls(e)}function ps(e,t){return e==null||t==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function ms(e,t){return e==null||t==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function hs(e){let t,n,r;e.length===2?(t=e===ps||e===ms?e:gs,n=e,r=e):(t=ps,n=(t,n)=>ps(e(t),n),r=(t,n)=>e(t)-n);function i(e,r,i=0,a=e.length){if(i<a){if(t(r,r)!==0)return a;do{let t=i+a>>>1;n(e[t],r)<0?i=t+1:a=t}while(i<a)}return i}function a(e,r,i=0,a=e.length){if(i<a){if(t(r,r)!==0)return a;do{let t=i+a>>>1;n(e[t],r)<=0?i=t+1:a=t}while(i<a)}return i}function o(e,t,n=0,a=e.length){let o=i(e,t,n,a-1);return o>n&&r(e[o-1],t)>-r(e[o],t)?o-1:o}return{left:i,center:o,right:a}}function gs(){return 0}function _s(e){return e===null?NaN:+e}var vs=hs(ps),ys=vs.right;vs.left,hs(_s).center;var bs=Math.sqrt(50),xs=Math.sqrt(10),Ss=Math.sqrt(2);function Cs(e,t,n){let r=(t-e)/Math.max(0,n),i=Math.floor(Math.log10(r)),a=r/10**i,o=a>=bs?10:a>=xs?5:a>=Ss?2:1,s,c,l;return i<0?(l=10**-i/o,s=Math.round(e*l),c=Math.round(t*l),s/l<e&&++s,c/l>t&&--c,l=-l):(l=10**i*o,s=Math.round(e/l),c=Math.round(t/l),s*l<e&&++s,c*l>t&&--c),c<s&&.5<=n&&n<2?Cs(e,t,n*2):[s,c,l]}function ws(e,t,n){if(t=+t,e=+e,n=+n,!(n>0))return[];if(e===t)return[e];let r=t<e,[i,a,o]=r?Cs(t,e,n):Cs(e,t,n);if(!(a>=i))return[];let s=a-i+1,c=Array(s);if(r)if(o<0)for(let e=0;e<s;++e)c[e]=(a-e)/-o;else for(let e=0;e<s;++e)c[e]=(a-e)*o;else if(o<0)for(let e=0;e<s;++e)c[e]=(i+e)/-o;else for(let e=0;e<s;++e)c[e]=(i+e)*o;return c}function Ts(e,t,n){return t=+t,e=+e,n=+n,Cs(e,t,n)[2]}function Es(e,t,n){t=+t,e=+e,n=+n;let r=t<e,i=r?Ts(t,e,n):Ts(e,t,n);return(r?-1:1)*(i<0?1/-i:i)}function Ds(e,t){let n;if(t===void 0)for(let t of e)t!=null&&(n<t||n===void 0&&t>=t)&&(n=t);else{let r=-1;for(let i of e)(i=t(i,++r,e))!=null&&(n<i||n===void 0&&i>=i)&&(n=i)}return n}function Os(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e);break}return this}function ks(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function As(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function js(){}var Ms=.7,Ns=1/Ms,Ps=`\\s*([+-]?\\d+)\\s*`,Fs=`\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*`,Is=`\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*`,Ls=/^#([0-9a-f]{3,8})$/,Rs=RegExp(`^rgb\\(${Ps},${Ps},${Ps}\\)$`),zs=RegExp(`^rgb\\(${Is},${Is},${Is}\\)$`),Bs=RegExp(`^rgba\\(${Ps},${Ps},${Ps},${Fs}\\)$`),Vs=RegExp(`^rgba\\(${Is},${Is},${Is},${Fs}\\)$`),Hs=RegExp(`^hsl\\(${Fs},${Is},${Is}\\)$`),Us=RegExp(`^hsla\\(${Fs},${Is},${Is},${Fs}\\)$`),Ws={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};ks(js,Ys,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:Gs,formatHex:Gs,formatHex8:Ks,formatHsl:qs,formatRgb:Js,toString:Js});function Gs(){return this.rgb().formatHex()}function Ks(){return this.rgb().formatHex8()}function qs(){return cc(this).formatHsl()}function Js(){return this.rgb().formatRgb()}function Ys(e){var t,n;return e=(e+``).trim().toLowerCase(),(t=Ls.exec(e))?(n=t[1].length,t=parseInt(t[1],16),n===6?Xs(t):n===3?new ec(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):n===8?Zs(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):n===4?Zs(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=Rs.exec(e))?new ec(t[1],t[2],t[3],1):(t=zs.exec(e))?new ec(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=Bs.exec(e))?Zs(t[1],t[2],t[3],t[4]):(t=Vs.exec(e))?Zs(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=Hs.exec(e))?sc(t[1],t[2]/100,t[3]/100,1):(t=Us.exec(e))?sc(t[1],t[2]/100,t[3]/100,t[4]):Ws.hasOwnProperty(e)?Xs(Ws[e]):e===`transparent`?new ec(NaN,NaN,NaN,0):null}function Xs(e){return new ec(e>>16&255,e>>8&255,e&255,1)}function Zs(e,t,n,r){return r<=0&&(e=t=n=NaN),new ec(e,t,n,r)}function Qs(e){return e instanceof js||(e=Ys(e)),e?(e=e.rgb(),new ec(e.r,e.g,e.b,e.opacity)):new ec}function $s(e,t,n,r){return arguments.length===1?Qs(e):new ec(e,t,n,r??1)}function ec(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}ks(ec,$s,As(js,{brighter(e){return e=e==null?Ns:Ns**+e,new ec(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?Ms:Ms**+e,new ec(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new ec(ac(this.r),ac(this.g),ac(this.b),ic(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:tc,formatHex:tc,formatHex8:nc,formatRgb:rc,toString:rc}));function tc(){return`#${oc(this.r)}${oc(this.g)}${oc(this.b)}`}function nc(){return`#${oc(this.r)}${oc(this.g)}${oc(this.b)}${oc((isNaN(this.opacity)?1:this.opacity)*255)}`}function rc(){let e=ic(this.opacity);return`${e===1?`rgb(`:`rgba(`}${ac(this.r)}, ${ac(this.g)}, ${ac(this.b)}${e===1?`)`:`, ${e})`}`}function ic(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function ac(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function oc(e){return e=ac(e),(e<16?`0`:``)+e.toString(16)}function sc(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new uc(e,t,n,r)}function cc(e){if(e instanceof uc)return new uc(e.h,e.s,e.l,e.opacity);if(e instanceof js||(e=Ys(e)),!e)return new uc;if(e instanceof uc)return e;e=e.rgb();var t=e.r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),a=Math.max(t,n,r),o=NaN,s=a-i,c=(a+i)/2;return s?(o=t===a?(n-r)/s+(n<r)*6:n===a?(r-t)/s+2:(t-n)/s+4,s/=c<.5?a+i:2-a-i,o*=60):s=c>0&&c<1?0:o,new uc(o,s,c,e.opacity)}function lc(e,t,n,r){return arguments.length===1?cc(e):new uc(e,t,n,r??1)}function uc(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}ks(uc,lc,As(js,{brighter(e){return e=e==null?Ns:Ns**+e,new uc(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?Ms:Ms**+e,new uc(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new ec(pc(e>=240?e-240:e+120,i,r),pc(e,i,r),pc(e<120?e+240:e-120,i,r),this.opacity)},clamp(){return new uc(dc(this.h),fc(this.s),fc(this.l),ic(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){let e=ic(this.opacity);return`${e===1?`hsl(`:`hsla(`}${dc(this.h)}, ${fc(this.s)*100}%, ${fc(this.l)*100}%${e===1?`)`:`, ${e})`}`}}));function dc(e){return e=(e||0)%360,e<0?e+360:e}function fc(e){return Math.max(0,Math.min(1,e||0))}function pc(e,t,n){return(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)*255}var mc=e=>()=>e;function hc(e,t){return function(n){return e+n*t}}function gc(e,t,n){return e**=+n,t=t**+n-e,n=1/n,function(r){return(e+r*t)**+n}}function _c(e){return(e=+e)==1?vc:function(t,n){return n-t?gc(t,n,e):mc(isNaN(t)?n:t)}}function vc(e,t){var n=t-e;return n?hc(e,n):mc(isNaN(e)?t:e)}var yc=(function e(t){var n=_c(t);function r(e,t){var r=n((e=$s(e)).r,(t=$s(t)).r),i=n(e.g,t.g),a=n(e.b,t.b),o=vc(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=i(t),e.b=a(t),e.opacity=o(t),e+``}}return r.gamma=e,r})(1);function bc(e,t){t||=[];var n=e?Math.min(t.length,e.length):0,r=t.slice(),i;return function(a){for(i=0;i<n;++i)r[i]=e[i]*(1-a)+t[i]*a;return r}}function xc(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function Sc(e,t){var n=t?t.length:0,r=e?Math.min(n,e.length):0,i=Array(r),a=Array(n),o;for(o=0;o<r;++o)i[o]=jc(e[o],t[o]);for(;o<n;++o)a[o]=t[o];return function(e){for(o=0;o<r;++o)a[o]=i[o](e);return a}}function Cc(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}function wc(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function Tc(e,t){var n={},r={},i;for(i in(typeof e!=`object`||!e)&&(e={}),(typeof t!=`object`||!t)&&(t={}),t)i in e?n[i]=jc(e[i],t[i]):r[i]=t[i];return function(e){for(i in n)r[i]=n[i](e);return r}}var Ec=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Dc=new RegExp(Ec.source,`g`);function Oc(e){return function(){return e}}function kc(e){return function(t){return e(t)+``}}function Ac(e,t){var n=Ec.lastIndex=Dc.lastIndex=0,r,i,a,o=-1,s=[],c=[];for(e+=``,t+=``;(r=Ec.exec(e))&&(i=Dc.exec(t));)(a=i.index)>n&&(a=t.slice(n,a),s[o]?s[o]+=a:s[++o]=a),(r=r[0])===(i=i[0])?s[o]?s[o]+=i:s[++o]=i:(s[++o]=null,c.push({i:o,x:wc(r,i)})),n=Dc.lastIndex;return n<t.length&&(a=t.slice(n),s[o]?s[o]+=a:s[++o]=a),s.length<2?c[0]?kc(c[0].x):Oc(t):(t=c.length,function(e){for(var n=0,r;n<t;++n)s[(r=c[n]).i]=r.x(e);return s.join(``)})}function jc(e,t){var n=typeof t,r;return t==null||n===`boolean`?mc(t):(n===`number`?wc:n===`string`?(r=Ys(t))?(t=r,yc):Ac:t instanceof Ys?yc:t instanceof Date?Cc:xc(t)?bc:Array.isArray(t)?Sc:typeof t.valueOf!=`function`&&typeof t.toString!=`function`||isNaN(t)?Tc:wc)(e,t)}function Mc(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}function Nc(e){return function(){return e}}function Pc(e){return+e}var Fc=[0,1];function Ic(e){return e}function Lc(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:Nc(isNaN(t)?NaN:.5)}function Rc(e,t){var n;return e>t&&(n=e,e=t,t=n),function(n){return Math.max(e,Math.min(t,n))}}function zc(e,t,n){var r=e[0],i=e[1],a=t[0],o=t[1];return i<r?(r=Lc(i,r),a=n(o,a)):(r=Lc(r,i),a=n(a,o)),function(e){return a(r(e))}}function Bc(e,t,n){var r=Math.min(e.length,t.length)-1,i=Array(r),a=Array(r),o=-1;for(e[r]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++o<r;)i[o]=Lc(e[o],e[o+1]),a[o]=n(t[o],t[o+1]);return function(t){var n=ys(e,t,1,r)-1;return a[n](i[n](t))}}function Vc(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function Hc(){var e=Fc,t=Fc,n=jc,r,i,a,o=Ic,s,c,l;function u(){var n=Math.min(e.length,t.length);return o!==Ic&&(o=Rc(e[0],e[n-1])),s=n>2?Bc:zc,c=l=null,d}function d(i){return i==null||isNaN(i=+i)?a:(c||=s(e.map(r),t,n))(r(o(i)))}return d.invert=function(n){return o(i((l||=s(t,e.map(r),wc))(n)))},d.domain=function(t){return arguments.length?(e=Array.from(t,Pc),u()):e.slice()},d.range=function(e){return arguments.length?(t=Array.from(e),u()):t.slice()},d.rangeRound=function(e){return t=Array.from(e),n=Mc,u()},d.clamp=function(e){return arguments.length?(o=e?!0:Ic,u()):o!==Ic},d.interpolate=function(e){return arguments.length?(n=e,u()):n},d.unknown=function(e){return arguments.length?(a=e,d):a},function(e,t){return r=e,i=t,u()}}function Uc(){return Hc()(Ic,Ic)}function Wc(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString(`en`).replace(/,/g,``):e.toString(10)}function Gc(e,t){if(!isFinite(e)||e===0)return null;var n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf(`e`),r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function Kc(e){return e=Gc(Math.abs(e)),e?e[1]:NaN}function qc(e,t){return function(n,r){for(var i=n.length,a=[],o=0,s=e[0],c=0;i>0&&s>0&&(c+s+1>r&&(s=Math.max(1,r-c)),a.push(n.substring(i-=s,i+s)),!((c+=s+1)>r));)s=e[o=(o+1)%e.length];return a.reverse().join(t)}}function Jc(e){return function(t){return t.replace(/[0-9]/g,function(t){return e[+t]})}}var Yc=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Xc(e){if(!(t=Yc.exec(e)))throw Error(`invalid format: `+e);var t;return new Zc({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}Xc.prototype=Zc.prototype;function Zc(e){this.fill=e.fill===void 0?` `:e.fill+``,this.align=e.align===void 0?`>`:e.align+``,this.sign=e.sign===void 0?`-`:e.sign+``,this.symbol=e.symbol===void 0?``:e.symbol+``,this.zero=!!e.zero,this.width=e.width===void 0?void 0:+e.width,this.comma=!!e.comma,this.precision=e.precision===void 0?void 0:+e.precision,this.trim=!!e.trim,this.type=e.type===void 0?``:e.type+``}Zc.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?`0`:``)+(this.width===void 0?``:Math.max(1,this.width|0))+(this.comma?`,`:``)+(this.precision===void 0?``:`.`+Math.max(0,this.precision|0))+(this.trim?`~`:``)+this.type};function Qc(e){out:for(var t=e.length,n=1,r=-1,i;n<t;++n)switch(e[n]){case`.`:r=i=n;break;case`0`:r===0&&(r=n),i=n;break;default:if(!+e[n])break out;r>0&&(r=0);break}return r>0?e.slice(0,r)+e.slice(i+1):e}var $c;function el(e,t){var n=Gc(e,t);if(!n)return $c=void 0,e.toPrecision(t);var r=n[0],i=n[1],a=i-($c=Math.max(-8,Math.min(8,Math.floor(i/3)))*3)+1,o=r.length;return a===o?r:a>o?r+Array(a-o+1).join(`0`):a>0?r.slice(0,a)+`.`+r.slice(a):`0.`+Array(1-a).join(`0`)+Gc(e,Math.max(0,t+a-1))[0]}function tl(e,t){var n=Gc(e,t);if(!n)return e+``;var r=n[0],i=n[1];return i<0?`0.`+Array(-i).join(`0`)+r:r.length>i+1?r.slice(0,i+1)+`.`+r.slice(i+1):r+Array(i-r.length+2).join(`0`)}var nl={"%":(e,t)=>(e*100).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+``,d:Wc,e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>tl(e*100,t),r:tl,s:el,X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function rl(e){return e}var il=Array.prototype.map,al=[`y`,`z`,`a`,`f`,`p`,`n`,`µ`,`m`,``,`k`,`M`,`G`,`T`,`P`,`E`,`Z`,`Y`];function ol(e){var t=e.grouping===void 0||e.thousands===void 0?rl:qc(il.call(e.grouping,Number),e.thousands+``),n=e.currency===void 0?``:e.currency[0]+``,r=e.currency===void 0?``:e.currency[1]+``,i=e.decimal===void 0?`.`:e.decimal+``,a=e.numerals===void 0?rl:Jc(il.call(e.numerals,String)),o=e.percent===void 0?`%`:e.percent+``,s=e.minus===void 0?`−`:e.minus+``,c=e.nan===void 0?`NaN`:e.nan+``;function l(e,l){e=Xc(e);var u=e.fill,d=e.align,f=e.sign,p=e.symbol,m=e.zero,h=e.width,g=e.comma,_=e.precision,v=e.trim,y=e.type;y===`n`?(g=!0,y=`g`):nl[y]||(_===void 0&&(_=12),v=!0,y=`g`),(m||u===`0`&&d===`=`)&&(m=!0,u=`0`,d=`=`);var b=(l&&l.prefix!==void 0?l.prefix:``)+(p===`$`?n:p===`#`&&/[boxX]/.test(y)?`0`+y.toLowerCase():``),x=(p===`$`?r:/[%p]/.test(y)?o:``)+(l&&l.suffix!==void 0?l.suffix:``),S=nl[y],C=/[defgprs%]/.test(y);_=_===void 0?6:/[gprs]/.test(y)?Math.max(1,Math.min(21,_)):Math.max(0,Math.min(20,_));function w(e){var n=b,r=x,o,l,p;if(y===`c`)r=S(e)+r,e=``;else{e=+e;var w=e<0||1/e<0;if(e=isNaN(e)?c:S(Math.abs(e),_),v&&(e=Qc(e)),w&&+e==0&&f!==`+`&&(w=!1),n=(w?f===`(`?f:s:f===`-`||f===`(`?``:f)+n,r=(y===`s`&&!isNaN(e)&&$c!==void 0?al[8+$c/3]:``)+r+(w&&f===`(`?`)`:``),C){for(o=-1,l=e.length;++o<l;)if(p=e.charCodeAt(o),48>p||p>57){r=(p===46?i+e.slice(o+1):e.slice(o))+r,e=e.slice(0,o);break}}}g&&!m&&(e=t(e,1/0));var T=n.length+e.length+r.length,E=T<h?Array(h-T+1).join(u):``;switch(g&&m&&(e=t(E+e,E.length?h-r.length:1/0),E=``),d){case`<`:e=n+e+r+E;break;case`=`:e=n+E+e+r;break;case`^`:e=E.slice(0,T=E.length>>1)+n+e+r+E.slice(T);break;default:e=E+n+e+r;break}return a(e)}return w.toString=function(){return e+``},w}function u(e,t){var n=Math.max(-8,Math.min(8,Math.floor(Kc(t)/3)))*3,r=10**-n,i=l((e=Xc(e),e.type=`f`,e),{suffix:al[8+n/3]});return function(e){return i(r*e)}}return{format:l,formatPrefix:u}}var sl,cl,ll;ul({thousands:`,`,grouping:[3],currency:[`$`,``]});function ul(e){return sl=ol(e),cl=sl.format,ll=sl.formatPrefix,sl}function dl(e){return Math.max(0,-Kc(Math.abs(e)))}function fl(e,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(Kc(t)/3)))*3-Kc(Math.abs(e)))}function pl(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,Kc(t)-Kc(e))+1}function ml(e,t,n,r){var i=Es(e,t,n),a;switch(r=Xc(r??`,f`),r.type){case`s`:var o=Math.max(Math.abs(e),Math.abs(t));return r.precision==null&&!isNaN(a=fl(i,o))&&(r.precision=a),ll(r,o);case``:case`e`:case`g`:case`p`:case`r`:r.precision==null&&!isNaN(a=pl(i,Math.max(Math.abs(e),Math.abs(t))))&&(r.precision=a-(r.type===`e`));break;case`f`:case`%`:r.precision==null&&!isNaN(a=dl(i))&&(r.precision=a-(r.type===`%`)*2);break}return cl(r)}function hl(e){var t=e.domain;return e.ticks=function(e){var n=t();return ws(n[0],n[n.length-1],e??10)},e.tickFormat=function(e,n){var r=t();return ml(r[0],r[r.length-1],e??10,n)},e.nice=function(n){n??=10;var r=t(),i=0,a=r.length-1,o=r[i],s=r[a],c,l,u=10;for(s<o&&(l=o,o=s,s=l,l=i,i=a,a=l);u-->0;){if(l=Ts(o,s,n),l===c)return r[i]=o,r[a]=s,t(r);if(l>0)o=Math.floor(o/l)*l,s=Math.ceil(s/l)*l;else if(l<0)o=Math.ceil(o*l)/l,s=Math.floor(s*l)/l;else break;c=l}return e},e}function gl(){var e=Uc();return e.copy=function(){return Vc(e,gl())},Os.apply(e,arguments),hl(e)}var _l=({direction:e})=>(0,z.jsxs)(`linearGradient`,{id:`graph__gradient--${e}`,x1:`0%`,y1:`0%`,x2:`0%`,y2:`100%`,children:[(0,z.jsx)(`stop`,{className:`graph__gradient--top graph__gradient--top--${e}`,offset:`0%`}),(0,z.jsx)(`stop`,{className:`graph__gradient--bottom graph__gradient--bottom--${e}`,offset:`100%`})]}),vl=(e,t,n)=>{let r=e[t][Math.ceil(n)],i=e[t][Math.floor(n)];return i+(r-i)*(n%1)},yl=A(({id:e,height:t,width:n,handlerRefs:r,onHover:i,onMouseOut:a})=>{let[o,s]=(0,R.useState)(!1),c=(0,R.useRef)(0),l=(0,R.useRef)({download:0,upload:0,timestamp:0}),u=Ze.transferRates,d=gl().domain([0,u.download.length-1]).range([0,n]),f=gl().domain([0,Ds(u.download,(e,t)=>Math.max(e,u.upload[t]))]).range([t-10,10]);r.current={handleMouseMove:e=>{c.current=d.invert(e),i(l.current)},handleMouseOut:()=>{s(!1),a()},handleMouseOver:()=>{s(!0)}},o&&(l.current={download:vl(u,`download`,c.current),upload:vl(u,`upload`,c.current),timestamp:u.timestamps[Math.round(c.current)]});let p=fs;return(0,z.jsxs)(`svg`,{className:`graph`,id:e,height:`100%`,width:`100%`,children:[(0,z.jsxs)(`defs`,{children:[(0,z.jsx)(_l,{direction:`upload`}),(0,z.jsx)(_l,{direction:`download`})]}),Qe.map(e=>[(0,z.jsx)(`path`,{className:`graph__area`,fill:`url('#graph__gradient--${e}')`,d:is().x((e,t)=>d(t)||0).y0(t).y1(e=>f(e)||0).curve(p)(u[e])},`area-${e}`),(0,z.jsx)(`path`,{className:`graph__line graph__line--${e}`,d:rs().x((e,t)=>d(t)||0).y(e=>f(e)||0).curve(p)(u[e])},`line-${e}`),(0,z.jsx)(`circle`,{className:`graph__circle graph__circle--${e}`,r:2.5,style:{opacity:+!!o},transform:`translate(${d(c.current)},${f(l.current[e])})`},`point-${e}`)])]})}),bl=A(()=>{let[e,t]=(0,R.useState)(null),[n,r]=(0,R.useState)(250),i=(0,R.useRef)(null);return(0,z.jsx)(zo,{offset:!0,onResize:e=>{e.offset?.width&&r(e.offset.width)},children:({measureRef:r})=>(0,z.jsx)(`div`,{ref:r,className:`client-stats__wrapper sidebar__item`,children:(0,z.jsxs)(`div`,{className:`client-stats`,onMouseMove:e=>{e?.nativeEvent?.clientX!=null&&i.current?.handleMouseMove(e.nativeEvent.clientX)},onMouseOver:()=>i.current?.handleMouseOver(),onMouseOut:()=>i.current?.handleMouseOut(),onFocus:()=>i.current?.handleMouseOver(),onBlur:()=>i.current?.handleMouseOut(),children:[(0,z.jsx)(Vo,{inspectorPoint:e}),qe.isConnected&&(0,z.jsx)(yl,{height:150,id:`transfer-rate-graph`,onMouseOut:()=>{t(null)},onHover:e=>{t(e)},handlerRefs:i,width:n})]})})})}),xl=()=>(0,z.jsx)(xa,{className:`application__sidebar`,options:{scrollbars:{autoHide:`scroll`,clickScroll:!1,dragScroll:!1,theme:`os-theme-thin`},overflow:{x:`hidden`,y:`scroll`}},children:(0,z.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`},children:[(0,z.jsxs)(za,{children:[(0,z.jsx)(Ka,{}),(0,z.jsx)(Ra,{}),(0,z.jsx)(Ta,{}),(0,z.jsx)(Ia,{}),(0,z.jsx)(rt,{})]}),(0,z.jsx)(bl,{}),(0,z.jsx)(La,{}),(0,z.jsx)(Ja,{}),(0,z.jsx)(Ya,{}),(0,z.jsx)(Za,{}),(0,z.jsx)(Aa,{}),(0,z.jsx)(wa,{}),(0,z.jsx)(`div`,{style:{flexGrow:1}}),(0,z.jsx)(za,{children:(0,z.jsx)(Xa,{})})]})}),Sl=A(({id:e})=>{let t=P.activeContextMenu?.id===e,n=P.activeContextMenu?.items??[],r=P.activeContextMenu?.clickPosition??{x:0,y:0},{i18n:i}=M();return Re(`Escape`,()=>P.dismissContextMenu(e)),(0,z.jsx)(ke,{triggerCoordinates:r,onOverlayClick:()=>{P.dismissContextMenu(e)},onOverlayRightClick:e=>{e.preventDefault()},isIn:t,children:n.map((t,n)=>{let r,a;switch(t.type){case`action`:a=(0,dt.default)(`menu__item`,{"is-selectable":!0}),r=(0,z.jsxs)(`span`,{children:[(0,z.jsxs)(`span`,{className:(0,dt.default)(`menu__item__label--primary`,{"has-action":t.labelAction}),children:[(0,z.jsx)(`span`,{className:`menu__item__label`,children:i._(t.label)}),t.labelAction?(0,z.jsx)(`span`,{className:`menu__item__label__action`,children:(0,z.jsx)(t.labelAction,{})}):void 0]}),t.labelSecondary?(0,z.jsx)(`span`,{className:`menu__item__label--secondary`,children:(0,z.jsx)(t.labelSecondary,{})}):void 0]});break;default:a=(0,dt.default)(`menu__item`,{"menu__item--separator":t.type===`separator`});break}return(0,z.jsx)(`li`,{className:a,children:(0,z.jsx)(`button`,{type:`button`,disabled:t.type!==`action`||!t.clickHandler,onClick:n=>(t.type!==`separator`&&(t.dismissMenu===!1&&n.nativeEvent.stopImmediatePropagation(),t.clickHandler&&t.clickHandler(n),t.dismissMenu!==!1&&P.dismissContextMenu(e)),!1),onContextMenu:e=>{e.preventDefault()},children:r})},t.type===`action`?t.action:`sep-${n}`)})})}),Cl=typeof window<`u`?R.useLayoutEffect:R.useEffect;function wl(e){if(e!==void 0)switch(typeof e){case`number`:return e;case`string`:if(e.endsWith(`px`))return parseFloat(e);break}}function Tl({box:e,defaultHeight:t,defaultWidth:n,disabled:r,element:i,mode:a,style:o}){let{styleHeight:s,styleWidth:c}=(0,R.useMemo)(()=>({styleHeight:wl(o?.height),styleWidth:wl(o?.width)}),[o?.height,o?.width]),[l,u]=(0,R.useState)({height:t,width:n}),d=r||a===`only-height`&&s!==void 0||a===`only-width`&&c!==void 0||s!==void 0&&c!==void 0;return Cl(()=>{if(i===null||d)return;let t=new ResizeObserver(e=>{for(let t of e){let{contentRect:e,target:n}=t;i===n&&u(t=>t.height===e.height&&t.width===e.width?t:{height:e.height,width:e.width})}});return t.observe(i,{box:e}),()=>{t?.unobserve(i)}},[e,d,i,s,c]),(0,R.useMemo)(()=>({height:s??l.height,width:c??l.width}),[l,s,c])}function El(e){let t=(0,R.useRef)(()=>{throw Error(`Cannot call an event handler while rendering.`)});return Cl(()=>{t.current=e},[e]),(0,R.useCallback)((...e)=>t.current?.(...e),[t])}var Dl=null;function Ol(e=!1){if(Dl===null||e){let e=document.createElement(`div`),t=e.style;t.width=`50px`,t.height=`50px`,t.overflow=`scroll`,t.direction=`rtl`;let n=document.createElement(`div`),r=n.style;return r.width=`100px`,r.height=`100px`,e.appendChild(n),document.body.appendChild(e),e.scrollLeft>0?Dl=`positive-descending`:(e.scrollLeft=1,Dl=e.scrollLeft===0?`negative`:`positive-ascending`),document.body.removeChild(e),Dl}return Dl}function kl({containerElement:e,direction:t,isRtl:n,scrollOffset:r}){if(t===`horizontal`&&n)switch(Ol()){case`negative`:return-r;case`positive-descending`:if(e){let{clientWidth:t,scrollLeft:n,scrollWidth:r}=e;return r-t-n}break}return r}function Al(e,t=`Assertion error`){if(!e)throw console.error(t),Error(t)}function jl(e,t){if(e===t)return!0;if(!!e!=!!t||(Al(e!==void 0),Al(t!==void 0),Object.keys(e).length!==Object.keys(t).length))return!1;for(let n in e)if(!Object.is(t[n],e[n]))return!1;return!0}function Ml({cachedBounds:e,itemCount:t,itemSize:n}){if(t===0)return 0;if(typeof n==`number`)return t*n;{let n=e.get(e.size===0?0:e.size-1);return Al(n!==void 0,`Unexpected bounds cache miss`),t*((n.scrollOffset+n.size)/e.size)}}function Nl({align:e,cachedBounds:t,index:n,itemCount:r,itemSize:i,containerScrollOffset:a,containerSize:o}){if(n<0||n>=r)throw RangeError(`Invalid index specified: ${n}`,{cause:`Index ${n} is not within the range of 0 - ${r-1}`});let s=Ml({cachedBounds:t,itemCount:r,itemSize:i}),c=t.get(n),l=Math.max(0,Math.min(s-o,c.scrollOffset)),u=Math.max(0,c.scrollOffset-o+c.size);switch(e===`smart`&&(e=a>=u&&a<=l?`auto`:`center`),e){case`start`:return l;case`end`:return u;case`center`:return c.scrollOffset<=o/2?0:c.scrollOffset+c.size/2>=s-o/2?s-o:c.scrollOffset+c.size/2-o/2;default:return a>=u&&a<=l?a:a<u?u:l}}function Pl({cachedBounds:e,containerScrollOffset:t,containerSize:n,itemCount:r,overscanCount:i}){let a=r-1,o=0,s=-1,c=0,l=-1,u=0;for(;u<a;){let n=e.get(u);if(n.scrollOffset+n.size>t)break;u++}for(o=u,c=Math.max(0,o-i);u<a;){let r=e.get(u);if(r.scrollOffset+r.size>=t+n)break;u++}return s=Math.min(a,u),l=Math.min(r-1,s+i),o<0&&(o=0,s=-1,c=0,l=-1),{startIndexVisible:o,stopIndexVisible:s,startIndexOverscan:c,stopIndexOverscan:l}}function Fl({itemCount:e,itemProps:t,itemSize:n}){let r=new Map;return{get(i){for(Al(i<e,`Invalid index ${i}`);r.size-1<i;){let e=r.size,a;switch(typeof n){case`function`:a=n(e,t);break;case`number`:a=n;break}if(e===0)r.set(e,{size:a,scrollOffset:0});else{let t=r.get(e-1);Al(t!==void 0,`Unexpected bounds cache miss for index ${i}`),r.set(e,{scrollOffset:t.scrollOffset+t.size,size:a})}}let a=r.get(i);return Al(a!==void 0,`Unexpected bounds cache miss for index ${i}`),a},set(e,t){r.set(e,t)},get size(){return r.size}}}function Il({itemCount:e,itemProps:t,itemSize:n}){return(0,R.useMemo)(()=>Fl({itemCount:e,itemProps:t,itemSize:n}),[e,t,n])}function Ll({containerSize:e,itemSize:t}){let n;switch(typeof t){case`string`:Al(t.endsWith(`%`),`Invalid item size: "${t}"; string values must be percentages (e.g. "100%")`),Al(e!==void 0,`Container size must be defined if a percentage item size is specified`),n=e*parseInt(t)/100;break;default:n=t;break}return n}function Rl({containerElement:e,containerStyle:t,defaultContainerSize:n=0,direction:r,isRtl:i=!1,itemCount:a,itemProps:o,itemSize:s,onResize:c,overscanCount:l}){let{height:u=n,width:d=n}=Tl({defaultHeight:r===`vertical`?n:void 0,defaultWidth:r===`horizontal`?n:void 0,element:e,mode:r===`vertical`?`only-height`:`only-width`,style:t}),f=(0,R.useRef)({height:0,width:0}),p=r===`vertical`?u:d,m=Ll({containerSize:p,itemSize:s});(0,R.useLayoutEffect)(()=>{if(typeof c==`function`){let e=f.current;(e.height!==u||e.width!==d)&&(c({height:u,width:d},{...e}),e.height=u,e.width=d)}},[u,c,d]);let h=Il({itemCount:a,itemProps:o,itemSize:m}),g=(0,R.useCallback)(e=>h.get(e),[h]),[_,v]=(0,R.useState)(()=>Pl({cachedBounds:h,containerScrollOffset:0,containerSize:p,itemCount:a,overscanCount:l})),{startIndexVisible:y,startIndexOverscan:b,stopIndexVisible:x,stopIndexOverscan:S}={startIndexVisible:Math.min(a-1,_.startIndexVisible),startIndexOverscan:Math.min(a-1,_.startIndexOverscan),stopIndexVisible:Math.min(a-1,_.stopIndexVisible),stopIndexOverscan:Math.min(a-1,_.stopIndexOverscan)},C=(0,R.useCallback)(()=>Ml({cachedBounds:h,itemCount:a,itemSize:m}),[h,a,m]),w=(0,R.useCallback)(t=>{let n=kl({containerElement:e,direction:r,isRtl:i,scrollOffset:t});return Pl({cachedBounds:h,containerScrollOffset:n,containerSize:p,itemCount:a,overscanCount:l})},[h,e,p,r,i,a,l]);return Cl(()=>{let t=(r===`vertical`?e?.scrollTop:e?.scrollLeft)??0;v(w(t))},[e,r,w]),Cl(()=>{if(!e)return;let t=()=>{v(t=>{let{scrollLeft:n,scrollTop:o}=e,s=kl({containerElement:e,direction:r,isRtl:i,scrollOffset:r===`vertical`?o:n}),c=Pl({cachedBounds:h,containerScrollOffset:s,containerSize:p,itemCount:a,overscanCount:l});return jl(c,t)?t:c})};return e.addEventListener(`scroll`,t),()=>{e.removeEventListener(`scroll`,t)}},[h,e,p,r,a,l]),{getCellBounds:g,getEstimatedSize:C,scrollToIndex:El(({align:t=`auto`,containerScrollOffset:n,index:o})=>{let s=Nl({align:t,cachedBounds:h,containerScrollOffset:n,containerSize:p,index:o,itemCount:a,itemSize:m});if(e){if(s=kl({containerElement:e,direction:r,isRtl:i,scrollOffset:s}),typeof e.scrollTo!=`function`){let e=w(s);jl(_,e)||v(e)}return s}}),startIndexOverscan:b,startIndexVisible:y,stopIndexOverscan:S,stopIndexVisible:x}}function zl(e){return(0,R.useMemo)(()=>e,Object.values(e))}function Bl(e,t){let{ariaAttributes:n,style:r,...i}=e,{ariaAttributes:a,style:o,...s}=t;return jl(n,a)&&jl(r,o)&&jl(i,s)}function Vl(e){return typeof e==`object`&&!!e&&`getAverageRowHeight`in e&&typeof e.getAverageRowHeight==`function`}var Hl=`data-react-window-index`;function Ul({children:e,className:t,defaultHeight:n=0,listRef:r,onResize:i,onRowsRendered:a,overscanCount:o=3,rowComponent:s,rowCount:c,rowHeight:l,rowKey:u,rowProps:d,tagName:f=`div`,style:p,...m}){let h=zl(d),g=(0,R.useMemo)(()=>(0,R.memo)(s,Bl),[s]),[_,v]=(0,R.useState)(null),y=Vl(l),{getCellBounds:b,getEstimatedSize:x,scrollToIndex:S,startIndexOverscan:C,startIndexVisible:w,stopIndexOverscan:T,stopIndexVisible:E}=Rl({containerElement:_,containerStyle:p,defaultContainerSize:n,direction:`vertical`,itemCount:c,itemProps:h,itemSize:(0,R.useMemo)(()=>y?e=>l.getRowHeight(e)??l.getAverageRowHeight():l,[y,l]),onResize:i,overscanCount:o});(0,R.useImperativeHandle)(r,()=>({get element(){return _},scrollToRow({align:e=`auto`,behavior:t=`auto`,index:n}){let r=S({align:e,containerScrollOffset:_?.scrollTop??0,index:n});typeof _?.scrollTo==`function`&&_.scrollTo({behavior:t,top:r})}}),[_,S]),Cl(()=>{if(!_)return;let e=Array.from(_.children).filter((e,t)=>{if(e.hasAttribute(`aria-hidden`))return!1;let n=`${C+t}`;return e.setAttribute(Hl,n),!0});if(y)return l.observeRowElements(e)},[_,y,l,C,T]),(0,R.useEffect)(()=>{C>=0&&T>=0&&a&&a({startIndex:w,stopIndex:E},{startIndex:C,stopIndex:T})},[a,C,w,T,E]);let ee=(0,R.useMemo)(()=>{let e=[];if(c>0)for(let t=C;t<=T;t++){let n=b(t);e.push((0,R.createElement)(g,{...h,ariaAttributes:{"aria-posinset":t+1,"aria-setsize":c,role:`listitem`},key:u?u(t,h):t,index:t,style:{position:`absolute`,left:0,transform:`translateY(${n.scrollOffset}px)`,height:y?void 0:n.size,width:`100%`}}))}return e},[g,b,y,c,u,h,C,T]),te=(0,z.jsx)(`div`,{"aria-hidden":!0,style:{height:x(),width:`100%`,zIndex:-1}});return(0,R.createElement)(f,{role:`list`,...m,className:t,ref:v,style:{position:`relative`,maxHeight:`100%`,flexGrow:1,overflowY:`auto`,...p}},ee,e,te)}var Wl=A((0,R.forwardRef)((t,n)=>{let{className:r,rowCount:i,rowComponent:a,rowHeight:o,listRef:s}=t,c=(0,R.useRef)(null),[l,d]=(0,R.useState)(null),f=(0,R.useCallback)(e=>{d(e?.element??null),typeof s==`function`?s(e):s!=null&&(s.current=e),typeof n==`function`?n(e):n!=null&&(n.current=e)},[s,n]);return(0,R.useEffect)(()=>{let t=c.current;if(t==null||l==null)return;let n=va({target:t,elements:{viewport:l}},{scrollbars:{autoHide:`leave`,clickScroll:!0,theme:`os-theme-${u.isPreferDark?`light`:`dark`}`}}),r=e(()=>u.isPreferDark,e=>{n.options({scrollbars:{theme:`os-theme-${e?`light`:`dark`}`}})});return()=>{r(),n.destroy()}},[l]),(0,z.jsx)(`div`,{className:r,ref:c,style:{height:Math.max(o*30,600),width:`100%`},children:(0,z.jsx)(Ul,{defaultHeight:Math.max(o*30,600),rowCount:i,rowHeight:o,listRef:f,overscanCount:30,rowComponent:a,rowProps:{}})})})),Gl=`
28
- body { user-select: none !important; }
29
- * { cursor: col-resize !important; }
30
- `,Z=A((0,R.forwardRef)(({onCellClick:e,onCellFocus:t,onWidthsChange:n},r)=>{let[i,a]=(0,R.useState)(!1),o=(0,R.useRef)(void 0),s=(0,R.useRef)(void 0),c=(0,R.useRef)(void 0),l=He(r),u=(0,R.useRef)(null),{i18n:d}=M(),f=e=>{let t=0;c.current!=null&&(t=e.clientX-c.current);let n=20;s.current!=null&&(n=s.current+t),n>20&&(s.current=n,c.current=e.clientX,u.current!=null&&l.current!=null&&(u.current.style.transform=`translate(${Math.max(0,e.clientX)}px, ${l.current.getBoundingClientRect().top}px)`))},p=()=>{P.removeGlobalStyle(Gl),window.removeEventListener(`pointerup`,p),window.removeEventListener(`pointermove`,f),a(!1),c.current=void 0,u.current!=null&&(u.current.style.opacity=`0`),o.current!=null&&s.current!=null&&n(o.current,s.current),o.current=void 0,s.current=void 0};return(0,z.jsxs)(`div`,{className:`table__row table__row--heading`,role:`row`,ref:l,children:[I.floodSettings.torrentListColumns.reduce((n,{id:r,visible:m})=>{if(!m)return n;let h=Xe[r];if(h==null)return n;let g=null,_=I.floodSettings.torrentListColumnWidths[r]||100;i||(g=(0,z.jsx)(`span`,{className:`table__heading__handle`,onPointerDown:e=>{!i&&u.current!=null&&l.current!=null&&(a(!0),o.current=r,s.current=_,c.current=e.clientX,window.addEventListener(`pointerup`,p),window.addEventListener(`pointermove`,f),P.addGlobalStyle(Gl),u.current.style.transform=`translate(${Math.max(0,e.clientX)}px, ${l.current.getBoundingClientRect().top}px)`,u.current.style.opacity=`1`)}}));let v=r===I.floodSettings.sortTorrents.property,y=(0,dt.default)(`table__cell table__heading`,{"table__heading--is-sorted":v,[`table__heading--direction--${I.floodSettings.sortTorrents.direction}`]:v});return n.push((0,z.jsxs)(`button`,{className:`${y} ${D({textAlign:`left`,_focus:{outline:`none`,WebkitTapHighlightColor:`transparent`}})}`,role:`columnheader`,"aria-sort":v?I.floodSettings.sortTorrents.direction===`asc`?`ascending`:`descending`:`none`,type:`button`,onClick:()=>e(r),onFocus:()=>t(),style:{width:`${_}px`},children:[(0,z.jsx)(`span`,{className:`table__heading__label`,title:d._(h),children:(0,z.jsx)(ve,{id:h})}),g]},r)),n},[]),(0,z.jsx)(`div`,{className:`table__cell table__heading table__heading--fill`}),(0,z.jsx)(`div`,{className:`table__heading__resize-line`,ref:u})]})})),Kl=e=>{Ie(e).then(e=>{e.length>0&&P.setActiveModal({id:`add-torrents`,tab:`by-file`,files:e})})},ql=({children:e})=>{let{getRootProps:t,isDragActive:n}=Ke({onDrop:Kl,noClick:!0,noKeyboard:!0});return(0,R.useEffect)(()=>{window.launchQueue?.setConsumer(({files:e})=>{e!=null&&e.length>0&&Promise.all(e.map(e=>e.getFile())).then(Kl)})},[]),(0,z.jsx)(`div`,{...t({onClick:e=>e.preventDefault()}),className:`dropzone dropzone--with-overlay torrents ${n?`dropzone--is-dragging`:``}`,children:e})},Jl=()=>N.selectedTorrents[N.selectedTorrents.length-1],Yl=A(({property:e})=>(0,z.jsx)(`span`,{className:`toggle-input checkbox`,style:{display:`inline`},children:(0,z.jsx)(`div`,{className:`toggle-input__indicator`,children:(0,z.jsx)(`div`,{className:`toggle-input__indicator__icon`,style:{opacity:N.torrents[Jl()][e]?`1`:void 0},children:(0,z.jsx)(n,{})})})})),Xl=e=>{let t=(0,R.createRef)();return[{type:`action`,action:`start`,label:at.start,clickHandler:()=>{Le.startTorrents({hashes:N.selectedTorrents})}},{type:`action`,action:`stop`,label:at.stop,clickHandler:()=>{Le.stopTorrents({hashes:N.selectedTorrents})}},{type:`action`,action:`remove`,label:at.remove,clickHandler:()=>{P.setActiveModal({id:`remove-torrents`})}},{type:`action`,action:`checkHash`,label:at.checkHash,clickHandler:()=>{Le.checkHash({hashes:N.selectedTorrents})}},{type:`action`,action:`reannounce`,label:at.reannounce,clickHandler:()=>{Le.reannounce({hashes:N.selectedTorrents})}},{type:`separator`},{type:`action`,action:`setTaxonomy`,label:at.setTaxonomy,clickHandler:()=>{P.setActiveModal({id:`set-taxonomy`})}},{type:`action`,action:`move`,label:at.move,clickHandler:()=>{P.setActiveModal({id:`move-torrents`})}},{type:`action`,action:`setTrackers`,label:at.setTrackers,clickHandler:()=>{P.setActiveModal({id:`set-trackers`})}},{type:`separator`},{type:`action`,action:`torrentDetails`,label:at.torrentDetails,clickHandler:()=>{P.setActiveModal({id:`torrent-details`,hash:Jl()})}},{type:`action`,action:`downloadContents`,label:at.downloadContents,clickHandler:e=>{e.preventDefault(),N.selectedTorrents.forEach(e=>{let t=document.createElement(`a`);t.download=``,t.href=`${u.baseURI}api/torrents/${e}/contents/all/data`,t.style.display=`none`,document.body.appendChild(t),t.click(),document.body.removeChild(t)})}},{type:`action`,action:`downloadMetainfo`,label:at.downloadMetainfo,clickHandler:e=>{e.preventDefault();let t=document.createElement(`a`);t.download=``,t.href=`${u.baseURI}api/torrents/${N.selectedTorrents.join(`,`)}/metainfo`,t.style.display=`none`,document.body.appendChild(t),t.click(),document.body.removeChild(t)}},{type:`action`,action:`generateMagnet`,label:at.generateMagnet,clickHandler:()=>{P.setActiveModal({id:`generate-magnet`})}},{type:`action`,action:`setInitialSeeding`,label:at.setInitialSeeding,clickHandler:()=>{let{selectedTorrents:e}=N;Le.setInitialSeeding({hashes:e,isInitialSeeding:!N.torrents[Jl()].isInitialSeeding})},dismissMenu:!1,labelAction:()=>(0,z.jsx)(Yl,{property:`isInitialSeeding`})},{type:`action`,action:`setSequential`,label:at.setSequential,clickHandler:()=>{let{selectedTorrents:e}=N;Le.setSequential({hashes:e,isSequential:!N.torrents[Jl()].isSequential})},dismissMenu:!1,labelAction:()=>(0,z.jsx)(Yl,{property:`isSequential`})},{type:`action`,action:`setPriority`,label:at.setPriority,clickHandler:()=>{t.current!=null&&Le.setPriority({hashes:N.selectedTorrents,priority:t.current()})},dismissMenu:!1,labelAction:()=>(0,z.jsx)(We,{id:e.hash,level:e.priority,maxLevel:3,onChange:()=>void 0,priorityType:`torrent`,showLabel:!1,changePriorityFuncRef:t,clickHandled:!0},e.hash)}]},Zl={eta:(0,z.jsx)(ee,{}),sizeBytes:(0,z.jsx)(de,{}),downRate:(0,z.jsx)(Se,{}),directory:(0,z.jsx)(xe,{}),hash:(0,z.jsx)(pe,{}),dateActive:(0,z.jsx)(ee,{}),dateAdded:(0,z.jsx)(he,{}),dateCreated:(0,z.jsx)(y,{}),dateFinished:(0,z.jsx)(x,{}),isPrivate:(0,z.jsx)(w,{}),message:(0,z.jsx)(b,{}),percentComplete:(0,z.jsx)(Se,{}),peers:(0,z.jsx)(f,{}),ratio:(0,z.jsx)(m,{}),seeds:(0,z.jsx)(l,{}),trackerURIs:(0,z.jsx)(Ce,{}),upRate:(0,z.jsx)(t,{}),upTotal:(0,z.jsx)(t,{})},Ql=A(({value:e})=>e?(0,z.jsx)(ge,{className:`torrent__detail__icon torrent__detail__icon--checkmark`}):null),$l=A(({date:e})=>{let{i18n:t}=M();return e===0?null:e===-1?(0,z.jsx)(`span`,{children:t._(`torrents.details.general.date.active.now`)}):(0,z.jsx)(`span`,{children:nt(t.locale,new Date(e*1e3))})}),eu=A(({eta:e})=>e?(0,z.jsx)(Ue,{value:e}):null),tu=A(({peersConnected:e,totalPeers:t})=>{let{i18n:n}=M();return(0,z.jsx)(ve,{id:`torrent.list.peers`,values:{connected:$e(n.locale,e),of:(0,z.jsx)(`em`,{className:`unit`,children:(0,z.jsx)(ve,{id:`torrent.list.peers.of`})}),total:$e(n.locale,t)}})}),nu=A(({ratio:e})=>{let{i18n:t}=M();return(0,z.jsx)(`span`,{children:$e(t.locale,e,{maximumFractionDigits:2})})}),ru=A(({tags:e})=>(0,z.jsx)(`ul`,{className:`torrent__tags tag`,children:e.map(e=>(0,z.jsx)(`li`,{className:`torrent__tag`,children:e},e))})),iu=A(({trackers:e})=>(0,z.jsx)(`span`,{children:e.join(`, `)})),au=A(({torrent:e,column:t})=>{switch(t){case`dateActive`:return(0,z.jsx)($l,{date:e[t]});case`dateAdded`:return(0,z.jsx)($l,{date:e[t]});case`dateCreated`:return(0,z.jsx)($l,{date:e[t]});case`dateFinished`:return(0,z.jsx)($l,{date:e[t]});case`downRate`:return(0,z.jsx)(Ve,{value:e[t],isSpeed:!0});case`upRate`:return(0,z.jsx)(Ve,{value:e[t],isSpeed:!0});case`downTotal`:return(0,z.jsx)(Ve,{value:e[t]});case`upTotal`:return(0,z.jsx)(Ve,{value:e[t]});case`sizeBytes`:return(0,z.jsx)(Ve,{value:e[t]});case`selectedSizeBytes`:return(0,z.jsx)(Ve,{value:e[t]});case`ratio`:return(0,z.jsx)(nu,{ratio:e[t]});case`isPrivate`:return(0,z.jsx)(Ql,{value:e[t]});case`tags`:return(0,z.jsx)(ru,{tags:e[t]});case`trackerURIs`:return(0,z.jsx)(iu,{trackers:e[t]});case`eta`:return(0,z.jsx)(eu,{eta:e[t]});case`seeds`:return(0,z.jsx)(tu,{peersConnected:e.seedsConnected,totalPeers:e.seedsTotal});case`peers`:return(0,z.jsx)(tu,{peersConnected:e.peersConnected,totalPeers:e.peersTotal});case`percentComplete`:return(0,z.jsx)(Be,{percent:ae(()=>e.percentComplete).get(),status:ae(()=>Fe(e.status,{trackerWarningEnabled:I.floodSettings.UITrackerWarningEnabled})).get(),showPercentLabel:ae(()=>I.floodSettings.torrentListViewSize===`condensed`&&I.floodSettings.torrentListShowProgressPercent).get()});default:return(0,z.jsx)(`span`,{children:e[t]})}}),ou=A(({hash:e,content:t=au,column:n,className:r,classNameOverride:i=!1,width:a,showIcon:o=!1})=>{let s=o?Zl[n]:null;return(0,z.jsxs)(`div`,{className:i?r:(0,dt.default)(`torrent__detail`,`torrent__detail--${n}`,r,D({pointerEvents:`none`,userSelect:`none`})),role:`cell`,style:{width:`${a}px`},children:[s,t?(0,z.jsx)(t,{torrent:N.torrents[e],column:n}):(0,z.jsx)(Ae,{})]})}),su=A((0,R.forwardRef)(({className:e,style:t,hash:n,handleClick:r,handleDoubleClick:i,handleRightClick:a,handleTouchStart:o,handleTouchEnd:s,handleKeyDown:c,...l},u)=>{let d=I.floodSettings.torrentListColumns.reduce((e,{id:t,visible:r})=>(Xe[t]==null||!r||e.push((0,z.jsx)(ou,{className:`table__cell`,hash:n,column:t,width:I.floodSettings.torrentListColumnWidths[t]},t)),e),[]);return(0,z.jsx)(`div`,{className:e,role:`row`,style:t,tabIndex:0,onClick:e=>r(n,e),onContextMenu:e=>a(n,e),onDoubleClick:()=>i(n),onTouchStart:o,onTouchEnd:s,onKeyDown:c,ref:u,...l,children:d})})),cu=A(({torrent:e})=>{let{i18n:t}=M();return(0,z.jsxs)(`span`,{children:[$e(t.locale,e.percentComplete,{maximumFractionDigits:1}),(0,z.jsx)(`em`,{className:`unit`,children:`%`}),`\xA0—\xA0`,(0,z.jsx)(Ve,{value:e.downTotal})]})}),lu=A((0,R.forwardRef)(({className:e,style:t,hash:n,handleClick:r,handleDoubleClick:i,handleRightClick:a,handleTouchStart:o,handleTouchEnd:s,handleKeyDown:c,...l},u)=>{let d=I.floodSettings.torrentListColumns,f=[(0,z.jsx)(ou,{hash:n,column:`name`,className:`torrent__details__section torrent__details__section--primary`},`name`)],p=[(0,z.jsx)(ou,{hash:n,column:`eta`,showIcon:!0},`eta`),(0,z.jsx)(ou,{hash:n,column:`downRate`,showIcon:!0},`downRate`),(0,z.jsx)(ou,{hash:n,column:`upRate`,showIcon:!0},`upRate`)],m=[(0,z.jsx)(ou,{hash:n,column:`percentComplete`,content:cu,showIcon:!0},`percentComplete`)],h=[(0,z.jsx)(ou,{hash:n,column:`percentComplete`,className:`torrent__details__section torrent__details__section--quaternary`,classNameOverride:!0},`percentBar`)];for(let e=0;e<d.length;e+=1){let{id:t,visible:r}=d[e];if(Xe[t]!=null&&r)switch(t){case`name`:break;case`downRate`:case`upRate`:case`eta`:break;case`downTotal`:case`percentComplete`:break;default:m.push((0,z.jsx)(ou,{hash:n,column:t,showIcon:!0},t));break}}return(0,z.jsxs)(`div`,{className:e,role:`row`,style:t,tabIndex:0,onClick:e=>r(n,e),onContextMenu:e=>a(n,e),onDoubleClick:()=>i(n),onTouchStart:o,onTouchEnd:s,onKeyDown:c,ref:u,...l,children:[(0,z.jsxs)(`div`,{className:D({alignItems:`center`,display:`flex`}),children:[f,(0,z.jsx)(`div`,{className:`torrent__details__section torrent__details__section--secondary`,children:p})]}),(0,z.jsx)(`div`,{className:`torrent__details__section torrent__details__section--tertiary`,children:m}),h]})})),uu=(e,t)=>{t.cancelable===!0&&t.preventDefault();let n=t.clientX,r=t.clientY,i=t.touches?.[0].clientX,a=t.touches?.[0].clientY;N.selectedTorrents.includes(e)||N.setSelectedTorrents({hash:e,event:t});let{torrentContextMenuActions:o=ot.torrentContextMenuActions}=I.floodSettings,s=N.torrents[e];P.setActiveContextMenu({id:`torrent-list-item`,clickPosition:{x:n||i||0,y:r||a||0},items:Xl(s).filter(e=>e.type===`separator`||o.some(t=>t.id===e.action&&t.visible===!0))})},du=e=>P.setActiveModal({id:`torrent-details`,hash:e}),fu=(e,t)=>N.setSelectedTorrents({hash:e,event:t}),pu=(e,t)=>{(t.key===` `||t.key===`Enter`||t.key===`ContextMenu`)&&(t.preventDefault(),N.selectedTorrents.includes(e)?t.key===`Enter`?du(e):t.key===`ContextMenu`&&uu(e,t):fu(e,t))},mu=A(({hash:e,style:t})=>{let[n,r]=(0,R.useState)(0),i=(0,R.useRef)(!1),a=(0,R.useRef)(null),o=I.floodSettings.torrentListViewSize===`condensed`,s=ae(()=>N.selectedTorrents.includes(e)).get(),{status:c,upRate:l,downRate:u}=N.torrents?.[e]||{},d=ze({status:c,upRate:l,downRate:u},{trackerWarningEnabled:I.floodSettings.UITrackerWarningEnabled},(0,dt.default)({"torrent--is-selected":s,"torrent--is-condensed":o,"torrent--is-expanded":!o}),`torrent`),{onTouchStart:f,onTouchEnd:p}=ut(t=>{let r=a.current?.getBoundingClientRect().top;t!=null&&r!=null&&Math.abs(r-n)<25&&uu(e,t)}),m=t=>{N.selectedTorrents.includes(e)||fu(e,t),i.current?du(e):(i.current=!0,setTimeout(()=>{i.current=!1},200)),r(a.current?.getBoundingClientRect().top||0),f(t)},h=N.torrents?.[e],g=`torrent-${e}`,_=c?.join(`-`)||`unknown`;return o?(0,z.jsx)(su,{className:d,ref:a,style:t,hash:e,handleClick:fu,handleDoubleClick:du,handleRightClick:uu,handleTouchStart:m,handleTouchEnd:p,handleKeyDown:t=>pu(e,t),"data-testid":g,"data-torrent-status":_,"data-torrent-name":h?.name,"data-is-selected":s,"data-view-size":`condensed`}):(0,z.jsx)(lu,{className:d,ref:a,style:t,hash:e,handleClick:fu,handleDoubleClick:du,handleRightClick:uu,handleTouchStart:m,handleTouchEnd:p,handleKeyDown:t=>pu(e,t),"data-testid":g,"data-torrent-status":_,"data-torrent-name":h?.name,"data-is-selected":s,"data-view-size":`expanded`})}),hu=A(({index:e,style:t})=>(0,z.jsx)(mu,{hash:N.filteredTorrents[e].hash,style:t})),gu=A(()=>{let t=(0,R.useRef)(null),n=(0,R.useRef)(null);(0,R.useEffect)(()=>e(()=>L.filterTrigger,()=>{n.current!=null&&n.current.scrollToRow({index:0})}),[]),h(`keydown`,e=>{let{ctrlKey:t,key:n,metaKey:r,repeat:i,target:a}=e,o=a?.tagName?.toUpperCase();o===`INPUT`||o===`TEXTAREA`||i||((r||t)&&n===`a`&&(e.preventDefault(),N.selectAllTorrents()),(r||t)&&n===`v`&&(async()=>{let t=await navigator?.clipboard?.readText(),n=t?.startsWith(`magnet:?`),r=t?.startsWith(`http`)&&t?.endsWith(`.torrent`);(n||r)&&(e.preventDefault(),P.setActiveModal({id:`add-torrents`,tab:`by-url`,urls:[{id:0,value:t}]}))})())});let r=N.filteredTorrents,{torrentListViewSize:i=`condensed`}=I.floodSettings,a=i===`condensed`,o=r==null||r.length===0,s=null,c=null;return qe.isConnected?o||r==null?s=(0,z.jsxs)(`div`,{className:`torrents__alert__wrapper`,children:[(0,z.jsx)(`div`,{className:`torrents__alert`,children:(0,z.jsx)(ve,{id:`torrents.list.no.torrents`})}),L.isFilterActive?(0,z.jsx)(`div`,{className:`torrents__alert__action`,children:(0,z.jsx)(j,{onClick:()=>{L.clearAllFilters()},priority:`tertiary`,children:(0,z.jsx)(ve,{id:`torrents.list.clear.filters`})})}):null]}):(a&&(c=(0,z.jsx)(Z,{onCellFocus:()=>{},onCellClick:e=>{let t=I.floodSettings.sortTorrents,n=pt[e]??`asc`;t.property===e&&(n=t.direction===`asc`?`desc`:`asc`);let r={property:e,direction:n};et.saveSetting(`sortTorrents`,r)},onWidthsChange:(e,t)=>{let{torrentListColumnWidths:n=ot.torrentListColumnWidths}=I.floodSettings;et.saveSetting(`torrentListColumnWidths`,{...n,[e]:t})},ref:t})),s=(0,z.jsx)(Wl,{className:`torrent__list__viewport`,rowCount:r.length,rowComponent:hu,rowHeight:a?30:70,listRef:n})):s=(0,z.jsx)(`div`,{className:`torrents__alert__wrapper`,children:(0,z.jsx)(`div`,{className:`torrents__alert`,children:(0,z.jsx)(ve,{id:`torrents.list.cannot.connect`})})}),(0,z.jsxs)(ql,{children:[(0,z.jsxs)(`div`,{className:`torrent__list__wrapper`,role:`table`,children:[(0,z.jsx)(Sl,{id:`torrent-list-item`}),c,s]}),(0,z.jsx)(`div`,{className:`dropzone__overlay`,children:(0,z.jsxs)(`div`,{className:`dropzone__copy`,children:[(0,z.jsx)(`div`,{className:`dropzone__icon`,children:(0,z.jsx)(ce,{})}),(0,z.jsx)(ve,{id:`torrents.list.drop`})]})})]})}),_u=`/*!
31
- * OverlayScrollbars
32
- * Version: 2.16.0
33
- *
34
- * Copyright (c) Rene Haas | KingSora.
35
- * https://github.com/KingSora
36
- *
37
- * Released under the MIT license.
38
- */
39
- .os-size-observer,
40
- .os-size-observer-listener {
41
- scroll-behavior: auto !important;
42
- direction: inherit;
43
- pointer-events: none;
44
- overflow: hidden;
45
- visibility: hidden;
46
- box-sizing: border-box;
47
- }
48
-
49
- .os-size-observer,
50
- .os-size-observer-listener,
51
- .os-size-observer-listener-item,
52
- .os-size-observer-listener-item-final {
53
- writing-mode: horizontal-tb;
54
- position: absolute;
55
- left: 0;
56
- top: 0;
57
- }
58
-
59
- .os-size-observer {
60
- z-index: -1;
61
- contain: strict;
62
- display: flex;
63
- flex-direction: row;
64
- flex-wrap: nowrap;
65
- padding: inherit;
66
- border: inherit;
67
- box-sizing: inherit;
68
- margin: -133px;
69
- top: 0;
70
- right: 0;
71
- bottom: 0;
72
- left: 0;
73
- transform: scale(0.1);
74
- }
75
- .os-size-observer::before {
76
- content: "";
77
- flex: none;
78
- box-sizing: inherit;
79
- padding: 10px;
80
- width: 10px;
81
- height: 10px;
82
- }
83
-
84
- .os-size-observer-appear {
85
- animation: os-size-observer-appear-animation 1ms forwards;
86
- }
87
-
88
- .os-size-observer-listener {
89
- box-sizing: border-box;
90
- position: relative;
91
- flex: auto;
92
- padding: inherit;
93
- border: inherit;
94
- margin: -133px;
95
- transform: scale(calc(1 / 0.1));
96
- }
97
- .os-size-observer-listener.ltr {
98
- margin-right: -266px;
99
- margin-left: 0;
100
- }
101
- .os-size-observer-listener.rtl {
102
- margin-left: -266px;
103
- margin-right: 0;
104
- }
105
- .os-size-observer-listener:empty::before {
106
- content: "";
107
- width: 100%;
108
- height: 100%;
109
- }
110
- .os-size-observer-listener:empty::before, .os-size-observer-listener > .os-size-observer-listener-item {
111
- display: block;
112
- position: relative;
113
- padding: inherit;
114
- border: inherit;
115
- box-sizing: content-box;
116
- flex: auto;
117
- }
118
-
119
- .os-size-observer-listener-scroll {
120
- box-sizing: border-box;
121
- display: flex;
122
- }
123
-
124
- .os-size-observer-listener-item {
125
- right: 0;
126
- bottom: 0;
127
- overflow: hidden;
128
- direction: ltr;
129
- flex: none;
130
- }
131
-
132
- .os-size-observer-listener-item-final {
133
- transition: none;
134
- }
135
-
136
- @keyframes os-size-observer-appear-animation {
137
- from {
138
- cursor: auto;
139
- }
140
- to {
141
- cursor: none;
142
- }
143
- }
144
- .os-trinsic-observer {
145
- flex: none;
146
- box-sizing: border-box;
147
- position: relative;
148
- max-width: 0px;
149
- max-height: 1px;
150
- padding: 0;
151
- margin: 0;
152
- border: none;
153
- overflow: hidden;
154
- z-index: -1;
155
- height: 0;
156
- top: calc(100% + 1px);
157
- contain: strict;
158
- }
159
- .os-trinsic-observer:not(:empty) {
160
- height: calc(100% + 1px);
161
- top: -1px;
162
- }
163
- .os-trinsic-observer:not(:empty) > .os-size-observer {
164
- width: 1000%;
165
- height: 1000%;
166
- min-height: 1px;
167
- min-width: 1px;
168
- }
169
-
170
- /**
171
- * hide native scrollbars
172
- * changes to this styles need to be reflected in the environment styles to correctly detect scrollbar hiding
173
- */
174
- /**
175
- * body element
176
- */
177
- html[data-overlayscrollbars-body] {
178
- overflow: hidden;
179
- }
180
-
181
- html[data-overlayscrollbars-body],
182
- html[data-overlayscrollbars-body] > body {
183
- width: 100%;
184
- height: 100%;
185
- margin: 0;
186
- }
187
-
188
- html[data-overlayscrollbars-body] > body {
189
- overflow: visible;
190
- margin: 0;
191
- }
192
-
193
- /**
194
- * structure setup
195
- */
196
- [data-overlayscrollbars] {
197
- position: relative;
198
- }
199
-
200
- [data-overlayscrollbars~=host],
201
- [data-overlayscrollbars-padding] {
202
- display: flex;
203
- align-items: stretch !important;
204
- flex-direction: row !important;
205
- flex-wrap: nowrap !important;
206
- scroll-behavior: auto !important;
207
- }
208
-
209
- [data-overlayscrollbars-padding],
210
- [data-overlayscrollbars-viewport]:not([data-overlayscrollbars]) {
211
- box-sizing: inherit;
212
- position: relative;
213
- flex: auto;
214
- height: auto;
215
- width: 100%;
216
- min-width: 0;
217
- padding: 0;
218
- margin: 0;
219
- border: none;
220
- z-index: 0;
221
- }
222
-
223
- [data-overlayscrollbars-viewport]:not([data-overlayscrollbars]) {
224
- --os-vaw: 0;
225
- --os-vah: 0;
226
- outline: none;
227
- }
228
- [data-overlayscrollbars-viewport]:not([data-overlayscrollbars]):focus {
229
- outline: none;
230
- }
231
- [data-overlayscrollbars-viewport][data-overlayscrollbars-viewport~=arrange]::before {
232
- content: "";
233
- position: absolute;
234
- pointer-events: none;
235
- z-index: -1;
236
- min-width: 1px;
237
- min-height: 1px;
238
- width: var(--os-vaw);
239
- height: var(--os-vah);
240
- }
241
-
242
- /**
243
- * wrapper elements overflow:
244
- */
245
- [data-overlayscrollbars~=host],
246
- [data-overlayscrollbars-padding] {
247
- overflow: hidden !important;
248
- }
249
-
250
- [data-overlayscrollbars~=host][data-overlayscrollbars~=noClipping],
251
- [data-overlayscrollbars-padding~=noClipping] {
252
- overflow: visible !important;
253
- }
254
-
255
- /**
256
- * viewport overflow:
257
- */
258
- [data-overlayscrollbars-viewport] {
259
- --os-viewport-overflow-x: hidden;
260
- --os-viewport-overflow-y: hidden;
261
- overflow-x: var(--os-viewport-overflow-x);
262
- overflow-y: var(--os-viewport-overflow-y);
263
- }
264
-
265
- [data-overlayscrollbars-viewport~=overflowXVisible] {
266
- --os-viewport-overflow-x: visible;
267
- }
268
-
269
- [data-overlayscrollbars-viewport~=overflowXHidden] {
270
- --os-viewport-overflow-x: hidden;
271
- }
272
-
273
- [data-overlayscrollbars-viewport~=overflowXScroll] {
274
- --os-viewport-overflow-x: scroll;
275
- }
276
-
277
- [data-overlayscrollbars-viewport~=overflowYVisible] {
278
- --os-viewport-overflow-y: visible;
279
- }
280
-
281
- [data-overlayscrollbars-viewport~=overflowYHidden] {
282
- --os-viewport-overflow-y: hidden;
283
- }
284
-
285
- [data-overlayscrollbars-viewport~=overflowYScroll] {
286
- --os-viewport-overflow-y: scroll;
287
- }
288
-
289
- [data-overlayscrollbars-viewport~=overflowImportant] {
290
- overflow-x: var(--os-viewport-overflow-x) !important;
291
- overflow-y: var(--os-viewport-overflow-y) !important;
292
- }
293
-
294
- /**
295
- * viewport state modifiers:
296
- */
297
- [data-overlayscrollbars-viewport~=noContent]:not(#osFakeId) {
298
- font-size: 0 !important;
299
- line-height: 0 !important;
300
- }
301
-
302
- [data-overlayscrollbars-viewport~=noContent]:not(#osFakeId)::before,
303
- [data-overlayscrollbars-viewport~=noContent]:not(#osFakeId)::after,
304
- [data-overlayscrollbars-viewport~=noContent]:not(#osFakeId) > *:not(#osFakeId) {
305
- display: none !important;
306
- position: absolute !important;
307
- width: 1px !important;
308
- height: 1px !important;
309
- padding: 0 !important;
310
- margin: -1px !important;
311
- overflow: hidden !important;
312
- clip: rect(0, 0, 0, 0) !important;
313
- white-space: nowrap !important;
314
- border-width: 0 !important;
315
- }
316
-
317
- [data-overlayscrollbars-viewport~=measuring],
318
- [data-overlayscrollbars-viewport~=scrolling] {
319
- scroll-behavior: auto !important;
320
- scroll-snap-type: none !important;
321
- }
322
-
323
- [data-overlayscrollbars-viewport~=measuring][data-overlayscrollbars-viewport~=overflowXVisible] {
324
- overflow-x: hidden !important;
325
- }
326
-
327
- [data-overlayscrollbars-viewport~=measuring][data-overlayscrollbars-viewport~=overflowYVisible] {
328
- overflow-y: hidden !important;
329
- }
330
-
331
- /**
332
- * content element:
333
- */
334
- [data-overlayscrollbars-content] {
335
- box-sizing: inherit;
336
- }
337
-
338
- /**
339
- * Display contents to bridge any flickering during deferred initialization.
340
- */
341
- [data-overlayscrollbars-contents]:not(#osFakeId):not([data-overlayscrollbars-padding]):not([data-overlayscrollbars-viewport]):not([data-overlayscrollbars-content]) {
342
- display: contents;
343
- }
344
-
345
- /**
346
- * optional & experimental grid mode
347
- */
348
- [data-overlayscrollbars-grid],
349
- [data-overlayscrollbars-grid] [data-overlayscrollbars-padding] {
350
- display: grid;
351
- grid-template: 1fr/1fr;
352
- }
353
-
354
- [data-overlayscrollbars-grid] > [data-overlayscrollbars-padding],
355
- [data-overlayscrollbars-grid] > [data-overlayscrollbars-viewport],
356
- [data-overlayscrollbars-grid] > [data-overlayscrollbars-padding] > [data-overlayscrollbars-viewport] {
357
- height: auto !important;
358
- width: auto !important;
359
- }
360
-
361
- @property --os-scroll-percent {
362
- syntax: "<number>";
363
- inherits: true;
364
- initial-value: 0;
365
- }
366
- @property --os-viewport-percent {
367
- syntax: "<number>";
368
- inherits: true;
369
- initial-value: 0;
370
- }
371
- .os-scrollbar {
372
- --os-viewport-percent: 0;
373
- --os-scroll-percent: 0;
374
- --os-scroll-direction: 0;
375
- --os-scroll-percent-directional: calc(
376
- var(--os-scroll-percent) - (var(--os-scroll-percent) + (1 - var(--os-scroll-percent)) * -1) *
377
- var(--os-scroll-direction)
378
- );
379
- }
380
-
381
- .os-scrollbar {
382
- contain: size layout;
383
- contain: size layout style;
384
- transition: opacity 0.15s, visibility 0.15s, top 0.15s, right 0.15s, bottom 0.15s, left 0.15s;
385
- pointer-events: none;
386
- position: absolute;
387
- opacity: 0;
388
- visibility: hidden;
389
- }
390
-
391
- body > .os-scrollbar {
392
- position: fixed;
393
- z-index: 99999;
394
- }
395
-
396
- .os-scrollbar-transitionless {
397
- transition: none !important;
398
- }
399
-
400
- .os-scrollbar-track {
401
- position: relative;
402
- padding: 0 !important;
403
- border: none !important;
404
- }
405
-
406
- .os-scrollbar-handle {
407
- position: absolute;
408
- }
409
-
410
- .os-scrollbar-track,
411
- .os-scrollbar-handle {
412
- pointer-events: none;
413
- width: 100%;
414
- height: 100%;
415
- }
416
-
417
- .os-scrollbar.os-scrollbar-track-interactive .os-scrollbar-track,
418
- .os-scrollbar.os-scrollbar-handle-interactive .os-scrollbar-handle {
419
- pointer-events: auto;
420
- touch-action: none;
421
- }
422
-
423
- .os-scrollbar-horizontal {
424
- bottom: 0;
425
- left: 0;
426
- }
427
-
428
- .os-scrollbar-vertical {
429
- top: 0;
430
- right: 0;
431
- }
432
-
433
- .os-scrollbar-rtl.os-scrollbar-horizontal {
434
- right: 0;
435
- }
436
-
437
- .os-scrollbar-rtl.os-scrollbar-vertical {
438
- right: auto;
439
- left: 0;
440
- }
441
-
442
- .os-scrollbar-visible {
443
- opacity: 1;
444
- visibility: visible;
445
- }
446
-
447
- .os-scrollbar-auto-hide.os-scrollbar-auto-hide-hidden {
448
- opacity: 0;
449
- visibility: hidden;
450
- }
451
-
452
- .os-scrollbar-interaction.os-scrollbar-visible {
453
- opacity: 1;
454
- visibility: visible;
455
- }
456
-
457
- .os-scrollbar-unusable,
458
- .os-scrollbar-unusable *,
459
- .os-scrollbar-wheel,
460
- .os-scrollbar-wheel * {
461
- pointer-events: none !important;
462
- }
463
-
464
- .os-scrollbar-unusable .os-scrollbar-handle {
465
- opacity: 0 !important;
466
- transition: none !important;
467
- }
468
-
469
- .os-scrollbar-horizontal .os-scrollbar-handle {
470
- bottom: 0;
471
- left: calc(var(--os-scroll-percent-directional) * 100%);
472
- transform: translateX(calc(var(--os-scroll-percent-directional) * -100%));
473
- width: calc(var(--os-viewport-percent) * 100%);
474
- }
475
-
476
- .os-scrollbar-vertical .os-scrollbar-handle {
477
- right: 0;
478
- top: calc(var(--os-scroll-percent-directional) * 100%);
479
- transform: translateY(calc(var(--os-scroll-percent-directional) * -100%));
480
- height: calc(var(--os-viewport-percent) * 100%);
481
- }
482
-
483
- @supports (container-type: size) {
484
- .os-scrollbar-track {
485
- container-type: size;
486
- }
487
- .os-scrollbar-horizontal .os-scrollbar-handle {
488
- left: auto;
489
- transform: translateX(calc(var(--os-scroll-percent-directional) * 100cqw + var(--os-scroll-percent-directional) * -100%));
490
- }
491
- .os-scrollbar-vertical .os-scrollbar-handle {
492
- top: auto;
493
- transform: translateY(calc(var(--os-scroll-percent-directional) * 100cqh + var(--os-scroll-percent-directional) * -100%));
494
- }
495
- .os-scrollbar-rtl.os-scrollbar-horizontal .os-scrollbar-handle {
496
- right: auto;
497
- left: 0;
498
- }
499
- }
500
- .os-scrollbar-rtl.os-scrollbar-vertical .os-scrollbar-handle {
501
- right: auto;
502
- left: 0;
503
- }
504
-
505
- .os-scrollbar.os-scrollbar-horizontal.os-scrollbar-cornerless,
506
- .os-scrollbar.os-scrollbar-horizontal.os-scrollbar-cornerless.os-scrollbar-rtl {
507
- left: 0;
508
- right: 0;
509
- }
510
-
511
- .os-scrollbar.os-scrollbar-vertical.os-scrollbar-cornerless,
512
- .os-scrollbar.os-scrollbar-vertical.os-scrollbar-cornerless.os-scrollbar-rtl {
513
- top: 0;
514
- bottom: 0;
515
- }
516
-
517
- @media print {
518
- .os-scrollbar {
519
- display: none;
520
- }
521
- }
522
- .os-scrollbar {
523
- --os-size: 0;
524
- --os-padding-perpendicular: 0;
525
- --os-padding-axis: 0;
526
- --os-track-border-radius: 0;
527
- --os-track-bg: none;
528
- --os-track-bg-hover: none;
529
- --os-track-bg-active: none;
530
- --os-track-border: none;
531
- --os-track-border-hover: none;
532
- --os-track-border-active: none;
533
- --os-handle-border-radius: 0;
534
- --os-handle-bg: none;
535
- --os-handle-bg-hover: none;
536
- --os-handle-bg-active: none;
537
- --os-handle-border: none;
538
- --os-handle-border-hover: none;
539
- --os-handle-border-active: none;
540
- --os-handle-min-size: 33px;
541
- --os-handle-max-size: none;
542
- --os-handle-perpendicular-size: 100%;
543
- --os-handle-perpendicular-size-hover: 100%;
544
- --os-handle-perpendicular-size-active: 100%;
545
- --os-handle-interactive-area-offset: 0;
546
- }
547
-
548
- .os-scrollbar-track {
549
- border: var(--os-track-border);
550
- border-radius: var(--os-track-border-radius);
551
- background: var(--os-track-bg);
552
- transition: opacity 0.15s, background-color 0.15s, border-color 0.15s;
553
- }
554
- .os-scrollbar-track:hover {
555
- border: var(--os-track-border-hover);
556
- background: var(--os-track-bg-hover);
557
- }
558
- .os-scrollbar-track:active {
559
- border: var(--os-track-border-active);
560
- background: var(--os-track-bg-active);
561
- }
562
-
563
- .os-scrollbar-handle {
564
- border: var(--os-handle-border);
565
- border-radius: var(--os-handle-border-radius);
566
- background: var(--os-handle-bg);
567
- }
568
- .os-scrollbar-handle:hover {
569
- border: var(--os-handle-border-hover);
570
- background: var(--os-handle-bg-hover);
571
- }
572
- .os-scrollbar-handle:active {
573
- border: var(--os-handle-border-active);
574
- background: var(--os-handle-bg-active);
575
- }
576
-
577
- .os-scrollbar-track:before,
578
- .os-scrollbar-handle:before {
579
- content: "";
580
- position: absolute;
581
- left: 0;
582
- right: 0;
583
- top: 0;
584
- bottom: 0;
585
- display: block;
586
- }
587
-
588
- .os-scrollbar-horizontal {
589
- padding: var(--os-padding-perpendicular) var(--os-padding-axis);
590
- right: var(--os-size);
591
- height: var(--os-size);
592
- }
593
- .os-scrollbar-horizontal.os-scrollbar-rtl {
594
- left: var(--os-size);
595
- right: 0;
596
- }
597
- .os-scrollbar-horizontal .os-scrollbar-track:before {
598
- top: calc(var(--os-padding-perpendicular) * -1);
599
- bottom: calc(var(--os-padding-perpendicular) * -1);
600
- }
601
- .os-scrollbar-horizontal .os-scrollbar-handle {
602
- min-width: var(--os-handle-min-size);
603
- max-width: var(--os-handle-max-size);
604
- height: var(--os-handle-perpendicular-size);
605
- transition: opacity 0.15s, background-color 0.15s, border-color 0.15s, height 0.15s;
606
- }
607
- .os-scrollbar-horizontal .os-scrollbar-handle:before {
608
- top: calc((var(--os-padding-perpendicular) + var(--os-handle-interactive-area-offset)) * -1);
609
- bottom: calc(var(--os-padding-perpendicular) * -1);
610
- }
611
- .os-scrollbar-horizontal:hover .os-scrollbar-handle {
612
- height: var(--os-handle-perpendicular-size-hover);
613
- }
614
- .os-scrollbar-horizontal:active .os-scrollbar-handle {
615
- height: var(--os-handle-perpendicular-size-active);
616
- }
617
-
618
- .os-scrollbar-vertical {
619
- padding: var(--os-padding-axis) var(--os-padding-perpendicular);
620
- bottom: var(--os-size);
621
- width: var(--os-size);
622
- }
623
- .os-scrollbar-vertical .os-scrollbar-track:before {
624
- left: calc(var(--os-padding-perpendicular) * -1);
625
- right: calc(var(--os-padding-perpendicular) * -1);
626
- }
627
- .os-scrollbar-vertical .os-scrollbar-handle {
628
- min-height: var(--os-handle-min-size);
629
- max-height: var(--os-handle-max-size);
630
- width: var(--os-handle-perpendicular-size);
631
- transition: opacity 0.15s, background-color 0.15s, border-color 0.15s, width 0.15s;
632
- }
633
- .os-scrollbar-vertical .os-scrollbar-handle:before {
634
- left: calc((var(--os-padding-perpendicular) + var(--os-handle-interactive-area-offset)) * -1);
635
- right: calc(var(--os-padding-perpendicular) * -1);
636
- }
637
- .os-scrollbar-vertical.os-scrollbar-rtl .os-scrollbar-handle:before {
638
- right: calc((var(--os-padding-perpendicular) + var(--os-handle-interactive-area-offset)) * -1);
639
- left: calc(var(--os-padding-perpendicular) * -1);
640
- }
641
- .os-scrollbar-vertical:hover .os-scrollbar-handle {
642
- width: var(--os-handle-perpendicular-size-hover);
643
- }
644
- .os-scrollbar-vertical:active .os-scrollbar-handle {
645
- width: var(--os-handle-perpendicular-size-active);
646
- }
647
-
648
- /* NONE THEME: */
649
- [data-overlayscrollbars-viewport~=measuring] > .os-scrollbar,
650
- .os-theme-none.os-scrollbar {
651
- display: none !important;
652
- }
653
-
654
- /* DARK & LIGHT THEME: */
655
- .os-theme-dark,
656
- .os-theme-light {
657
- box-sizing: border-box;
658
- --os-size: 10px;
659
- --os-padding-perpendicular: 2px;
660
- --os-padding-axis: 2px;
661
- --os-track-border-radius: 10px;
662
- --os-handle-interactive-area-offset: 4px;
663
- --os-handle-border-radius: 10px;
664
- }
665
-
666
- .os-theme-dark {
667
- --os-handle-bg: rgba(0, 0, 0, 0.44);
668
- --os-handle-bg-hover: rgba(0, 0, 0, 0.55);
669
- --os-handle-bg-active: rgba(0, 0, 0, 0.66);
670
- }
671
-
672
- .os-theme-light {
673
- --os-handle-bg: rgba(255, 255, 255, 0.44);
674
- --os-handle-bg-hover: rgba(255, 255, 255, 0.55);
675
- --os-handle-bg-active: rgba(255, 255, 255, 0.66);
676
- }
677
-
678
- [data-overlayscrollbars-initialize]:not([data-overlayscrollbars-viewport]),
679
- [data-overlayscrollbars-viewport~=scrollbarHidden],
680
- html[data-overlayscrollbars-viewport~=scrollbarHidden] > body {
681
- scrollbar-width: none !important;
682
- }
683
-
684
- [data-overlayscrollbars-initialize]:not([data-overlayscrollbars-viewport])::-webkit-scrollbar,
685
- [data-overlayscrollbars-initialize]:not([data-overlayscrollbars-viewport])::-webkit-scrollbar-corner,
686
- [data-overlayscrollbars-viewport~=scrollbarHidden]::-webkit-scrollbar,
687
- [data-overlayscrollbars-viewport~=scrollbarHidden]::-webkit-scrollbar-corner,
688
- html[data-overlayscrollbars-viewport~=scrollbarHidden] > body::-webkit-scrollbar,
689
- html[data-overlayscrollbars-viewport~=scrollbarHidden] > body::-webkit-scrollbar-corner {
690
- -webkit-appearance: none !important;
691
- appearance: none !important;
692
- display: none !important;
693
- width: 0 !important;
694
- height: 0 !important;
695
- }
696
-
697
- [data-overlayscrollbars-initialize]:not([data-overlayscrollbars]):not(html):not(body) {
698
- overflow: auto;
699
- }`;if(typeof document<`u`){let e=document.createElement(`style`);e.textContent=`@layer third-party { ${_u} }`,e.setAttribute(`data-layer`,`third-party`),document.head.appendChild(e)}var vu=(0,R.lazy)(()=>Ee(()=>import(`./Alerts-CpHH3EgE.js`),__vite__mapDeps([0,1]),import.meta.url)),yu=(0,R.lazy)(()=>Ee(()=>import(`./Modals-CZHAwoPS.js`),__vite__mapDeps([2,1,3,4,5]),import.meta.url)),bu=()=>((0,R.useEffect)(()=>{F.startActivityStream()},[]),(0,z.jsxs)(st,{children:[(0,z.jsx)(xl,{}),(0,z.jsxs)(bt,{children:[(0,z.jsxs)(xt,{modifier:`torrent-list`,className:`view--torrent-list`,children:[(0,z.jsx)(yt,{}),(0,z.jsx)(gu,{})]}),(0,z.jsx)(yu,{}),(0,z.jsx)(vu,{})]})]}));export{bu as default};
700
- //# sourceMappingURL=Overview-CQhbFTiM.js.map