1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2145],{62145:(e,t,r)=>{r.d(t,{oH:()=>_,xl:()=>X});var n=r(14232);let l="react-horizontal-scrolling-menu",i="-separator",o=`${l}-${i}`,s=`${l}--item`,a=`${l}--scroll-container`,u=`${l}--wrapper`,c=`${l}--inner-wrapper`,d=`${l}--header`,m=`${l}--arrow-left`,f=`${l}--arrow-right`,v=`${l}--footer`,h="itemId",b="data-key",p="data-index";function g({className:e="",children:t,onScroll:r=()=>{},scrollRef:l}){let i=n.useMemo(()=>`${a} ${e}`,[e]);return n.createElement("div",{className:i,onScroll:r,ref:l},t)}Object.freeze({__proto__:null,rootClassName:l,separatorString:i,separatorClassName:o,itemClassName:s,scrollContainerClassName:a,wrapperClassName:u,innerWrapperClassName:c,headerClassName:d,arrowLeftClassName:m,arrowRightClassName:f,footerClassName:v,id:h,dataKeyAttribute:b,dataIndexAttribute:p});var y=n.memo(function({className:e,id:t,index:r,refs:l}){let i=n.useRef(null);return l[r]=i,n.createElement("div",Object.assign({className:e},{[b]:t,[p]:r},{ref:i}
1))}),E=n.memo(function({children:e,className:t,id:r,index:l,refs:i}){let o=n.useRef(null);return i[String(l)]=o,n.createElement("div",Object.assign({className:t},{[b]:r,[p]:l},{ref:o}),e)});function w(e){return"object"==typeof e&&null!=e&&1===e.nodeType}function N(e,t){return(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e}function C(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var r,n=getComputedStyle(e,null);return N(n.overflowY,t)||N(n.overflowX,t)||!!(r=function(e){if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}}(e))&&(r.clientHeight<e.scrollHeight||r.clientWidth<e.scrollWidth)}return!1}function I(e,t,r,n,l,i,o,s){return i<e&&o>t||i>e&&o<t?0:i<=e&&s<=r||o>=t&&s>=r?i-e-n:o>t&&s<r||i<e&&s>r?o-t+l:0}var S,x=function(e,t){var r=window,n=t.scrollMode,l=t.block,i=t.inline,o=t.boundary,s=t.skipOverflowHiddenElements,a="function"==typeof o?o:function(e){return e!==o};if(!w(e))throw TypeError("Invalid target");for(var u,c,d=document.scrollingElement||document.documentElement,m=[],f=e;w(f)&&a(f);){if((f=null==(c=(u=f).parentElement)?u.getRootNode().host||null:c)===d){m.push(f);break}null!=f&&f===document.body&&C(f)&&!C(document.documentElement)||null!=f&&C(f,s)&&m.push(f)}
1for(var v=r.visualViewport?r.visualViewport.width:innerWidth,h=r.visualViewport?r.visualViewport.height:innerHeight,b=window.scrollX||pageXOffset,p=window.scrollY||pageYOffset,g=e.getBoundingClientRect(),y=g.height,E=g.width,N=g.top,S=g.right,x=g.bottom,M=g.left,k="start"===l||"nearest"===l?N:"end"===l?x:N+y/2,$="center"===i?M+E/2:"end"===i?S:M,W=[],T=0;T<m.length;T++){var O=m[T],V=O.getBoundingClientRect(),A=V.height,R=V.width,j=V.top,H=V.right,B=V.bottom,L=V.left;if("if-needed"===n&&N>=0&&M>=0&&x<=h&&S<=v&&N>=j&&x<=B&&M>=L&&S<=H)break;var P=getComputedStyle(O),_=parseInt(P.borderLeftWidth,10),D=parseInt(P.borderTopWidth,10),F=parseInt(P.borderRightWidth,10),X=parseInt(P.borderBottomWidth,10),Y=0,q=0,J="offsetWidth"in O?O.offsetWidth-O.clientWidth-_-F:0,U="offsetHeight"in O?O.offsetHeight-O.clientHeight-D-X:0,z="offsetWidth"in O?0===O.offsetWidth?0:R/O.offsetWidth:0,K="offsetHeight"in O?0===O.offsetHeight?0:A/O.offsetHeight:0;if(d===O)Y="start"===l?k:"end"===l?k-h:"nearest"===l?I(p,p+h,h,D,X,p+k,p+k+y,y):k-h/2,q="start"===i?$:"center"===i?$-v/2:"end"===i?$-v:I(b,b+v,v,_,F,b+$,b+$+E,E),Y=Math.max(0,Y+p),q=Math.max(0,q+b);else{Y="start"===l?k-j-D:"end"===l?k-B+X+U:"nearest"===l?I(j,B,A,D,X+U,k,k+y,y):k-(j+A/2)+U/2,q="start"===i?$-L-_:"center"===i?$-(L+R/2)+J/2:"end"===i?$-H+F+J:I(L,H,R,_,F+J,$,$+E,E);var G=O.scrollLeft,Q=O.scrollTop;k+=Q-(Y=Math.max(0,Math.min(Q+Y/K,O.scrollHeight-A/K+U))),$+=G-(q=Math.max(0,Math.min(G+q/z,O.scrollWidth-R/z+J)))}W.push({el:O,top:Y,left:q})}return W};function M(e){return e===Object(e)&&0!==Object.keys(e).length}function k(e,t){var r=e.isConnected||e.ownerDocument.documentElement.contains(e);if(M(t)&&"function"==typeof t.behavior)return t.behavior(r?x(e,t):[]);if(r){var n,l,i,o=!1===t?{block:"end",inline:"nearest"}:M(t)?t:{block:"start",inline:"nearest"};return n=x(e,o),void 0===(l=o.behavior)&&(l="auto"),i="scrollBehavior"in document.body.style,void n.forEach(function(e){var t=e.el,r=e.top,n=e.left;t.scroll&&i?t.scroll({top:r,left:n,behavior:l}):(t.scrollTop=r,t.scrollLeft=n)})}}var $=function(){return S||(S="performance"in window?performance.now.bind(performance):Date.now),S()},W=function(e,t){var r=t||{};return r&&!r.behavior||"smooth"===r.behavior?k(e,{block:r.block,inline:r.inline,scrollMode:r.scrollMode,boundary:r.boundary,behavior:function(e){return Promise.all(e.reduce(function(e,t){var n=t.el,l=t.left,i=t.top,o=n.scrollLeft,s=n.scrollTop;return o===l&&s===i?e:[].concat(e,[new Promise(function(e){var t,a,u,c,d;return t=r.duration,a=r.ease,u=function(){return e({el:n,left:[o,l],top:[s,i]})},void(void 0===t&&(t=600),void 0===a&&(a=function(e){return 1+--e*e*e*e*e}),c=n.scrollLeft,d=n.scrollTop,function e(t){var r=Math.min(($()-t.startTime)/t.duration,1),n=t.ease(r),l=t.startX+(t.x-t.startX)*n,i=t.startY+(t.y-t.startY)*n;t.method(l,i),l!==t.x||i!==t.y?requestAnimationFrame(function(){return e(t)}):t.cb()}({scrollable:n,method:function(e,t){n.scrollLeft=Math.ceil(e),n.scrollTop=Math.ceil(t)},startTime:$(),startX:c,startY:d,x:l,y:i,duration:t,ease:a,cb:u}))})])},[]))}}):Promise.resolve(k(e,t))};function T(e,t,r,n,l,i){var o;let s=(null==(o=null==e?void 0:e.entry)?void 0:o.target)||e,a=t||"smooth";if(s)return i?null==s?void 0:s.scrollIntoView({behavior:a,inline:r||"end",block:n||"nearest"}):W(s,Object.assign({behavior:a,inline:r||"end",block:n||"nearest",duration:500},l))}let O=e=>document.querySelector(`[${b}='${e}']`),V=e=>document.querySelector(`[${p}='${e}']`);function A(e){return n.isValidElement(e)&&e||"function"==typeof e&&n.createElement(e,null)||null}let R=e=>e.filter(e=>!RegExp(`.*${i}$`).test(e)),j=e=>{var t;return String((null==(t=null==e?void 0:e.props)?void 0:t[h])||String((null==e?void 0:e.key)||"").replace(/^\.\$/,""))};function H({children:e,itemClassName:t="",refs:r,separatorClassName:l=""}){let a=n.Children.toArray(e).filter(Boolean),u=a.length,c=n.useMemo(()=>`${s} ${t}`,[t]),d=n.useMemo(()=>`${o} ${l}`,[l]);return n.createElement(n.Fragment,null,a.map((e,t)=>{let l=j(e),o=l+i,s=t+1===u;return[n.createElement(E,{className:c,id:l,key:"menuItem__"+l,refs:r,index:t},e),!s&&n.createElement(y,{className:d,id:o,refs:r,key:o,index:t+.1})]}))}let B=n.useLayoutEffect;class L extends Map{toArr(){return this.sort([...this])}toItems(){return this.toArr().map(([e])=>e)}toItemsWithoutSeparators(){return R(this.toItems())}toItemsKeys(){return this.toItems()}sort(e){return e.sort(([,e],[,t])=>e.index-t.index)}set(e,t){return Array.isArray(e)?this.sort(e).forEach(([e,t])=>{super.set(String(e),t)}):super.set(String(e),t),this}first(){var e;return null==(e=this.toArr()[0])?void 0:e[1]}last(){var e,t;return null==(t=null==(e=this.toArr().slice(-1))?void 0:e[0])?void 0:t[1]}filter(e){return this.toArr().filter(e)}find(e){return this.toArr().find(e)}findIndex(e){return this.toArr().findIndex(e)}getCurrentPos(e,t){let r=this.toArr().filter(e=>{var r;return t?!(null==(r=null==e?void 0:e[0])?void 0:r.includes(i)):e}),n=r.findIndex(([t,r])=>t===e||r===e);return[r,n]}prev(e,t){var r;let[n,l]=this.getCurrentPos(e,!!t);return -1!==l?null==(r=n[l-1])?void 0:r[1]:void 0}next(e,t){var r;let[n,l]=this.getCurrentPos(e,!!t);return -1!==l?null==(r=n[l+1])?void 0:r[1]:void 0}getVisible(){return this.filter(e=>e[1].visible)}getVisibleElements(){return this.filter(e=>!e[0].includes(i)&&e[1].visible)}}
1let P={ratio:.9,rootMargin:"5px",threshold:[.05,.5,.75,.95],throttle:100},_=n.createContext({}),D={current:{}},F=()=>{};function X({LeftArrow:e,RightArrow:t,children:r,Header:l,Footer:o,transitionDuration:s=500,transitionEase:a,transitionBehavior:h,onInit:b=F,onUpdate:p=F,onMouseDown:y,onMouseUp:E,onMouseMove:w,onScroll:N=F,onTouchMove:C,onTouchStart:I,onTouchEnd:S,onWheel:x=F,options:M=P,scrollContainerClassName:k="",itemClassName:$="",separatorClassName:W="",wrapperClassName:X="",apiRef:Y=D,RTL:q,noPolyfill:J}){let U=A(e),z=A(t),K=A(l),G=A(o),Q=n.useRef(null),[Z]=n.useState({}),ee=n.useMemo(()=>Object.assign(Object.assign(Object.assign({},P),M),{root:Q.current}),[M,Q.current]),et=n.useRef(new L).current,er=function(e,t){let[r,l]=n.useState(""),o=n.useMemo(()=>n.Children.toArray(e).map(j).filter(Boolean),[e]);return n.useEffect(()=>{let e=o.filter(Boolean).join("");t.toItemsWithoutSeparators().filter(e=>!o.includes(e)).forEach(e=>{var r,n;let l=(null==(r=t.last())?void 0:r.key)===e&&(null==(n=t.prev(e))?void 0:n.key)||"";t.delete(l),t.delete(`${e}${i}`),t.delete(e)}),l(e)},[o,t]),r}(r,et),en=function({items:e,itemsChanged:t,refs:r,options:l}){let i=n.useRef(),[o,s]=n.useState([]),a=n.useRef(+setTimeout(()=>{},0)),u=n.useCallback(t=>{e.set([...t].map(e=>{var t,r,n,i;let o=e.target,s=String(null!=(r=null==(t=null==o?void 0:o.dataset)?void 0:t.key)?r:"");return[s,{index:String(null!=(i=null==(n=null==o?void 0:o.dataset)?void 0:n.index)?i:""),key:s,entry:e,visible:e.intersectionRatio>=l.ratio}]})),clearTimeout(a.current),a.current=+setTimeout(()=>requestAnimationFrame(()=>{s(t=>{let r=e.getVisible().map(e=>e[1].key);return JSON.stringify(t)!==JSON.stringify(r)?r:t})}),l.throttle)},[e,l]);return B(()=>{let e=Object.values(r).map(e=>e.current).filter(Boolean),t=i.current||new IntersectionObserver(u,l);return i.current=t,e.forEach(e=>t.observe(e)),()=>{clearTimeout(a.current),t.disconnect(),i.current=void 0}},[u,t,l,r]),o}(n.useMemo(()=>({items:et,itemsChanged:er,options:ee,refs:Z}),[et,er,Z,ee])),el=!!en.length,ei=n.useMemo(()=>(function(e,t=[],r,n,l,i){var o,s;let a=R(t),u=!!(null==(o=e.first())?void 0:o.visible),c=!!(null==(s=e.last())?void 0:s.visible),d=t=>{var r;return null==(r=e.find(e=>e[1].key===String(t)))?void 0:r[1]},m=()=>{var t,r;return e.prev(null==(r=null==(t=e.getVisible())?void 0:t[0])?void 0:r[1])},f=()=>{var t,r,n,l;return e.next(null==(l=null==(n=null==(r=null==(t=e.getVisible())?void 0:t.slice)?void 0:r.call(t,-1))?void 0:n[0])?void 0:l[1])};return{getItemById:d,getItemElementById:O,getItemByIndex:t=>{var r;return null==(r=e.find(e=>String(e[1].index)===String(t)))?void 0:r[1]},getItemElementByIndex:V,getNextItem:f,getNextElement:()=>{var t,r,n,l;return e.next(null==(l=null==(n=null==(r=null==(t=e.getVisibleElements())?void 0:t.slice)?void 0:r.call(t,-1))?void 0:n[0])?void 0:l[1],!0)},getPrevItem:m,getPrevElement:()=>{var t,r;return e.prev(null==(r=null==(t=e.getVisibleElements())?void 0:t[0])?void 0:r[1],!0)},isFirstItemVisible:u,isItemVisible:e=>a.includes(String(e)),isLastItem:t=>e.last()===d(t),isLastItemVisible:c,scrollNext:(e,t,o,{duration:s,ease:a,boundary:u=null==r?void 0:r.current}={})=>{let c=null!=e?e:null==n?void 0:n.behavior;return T(f(),c,t||"start",o||"nearest",{boundary:u,duration:null!=s?s:null==n?void 0:n.duration,ease:null!=a?a:null==n?void 0:n.ease},l||i)},scrollPrev:(e,t,o,{duration:s,ease:a,boundary:u=null==r?void 0:r.current}={})=>{let c=null!=e?e:null==n?void 0:n.behavior;return T(m(),c,t||"end",o||"nearest",{boundary:u,duration:null!=s?s:null==n?void 0:n.duration,ease:null!=a?a:null==n?void 0:n.ease},l||i)},scrollToItem:(e,t,l,o,s)=>{var a,u;return T(e,null!=t?t:null==n?void 0:n.behavior,l,o,Object.assign(Object.assign({boundary:null==r?void 0:r.current},s),{duration:null!=(a=null==s?void 0:s.duration)?a:null==n?void 0:n.duration,ease:null!=(u=null==s?void 0:s.ease)?u:null==n?void 0:n.ease}),i)},visibleElements:a,visibleElementsWithSeparators:t,visibleItems:t,visibleItemsWithoutSeparators:a}})(et,en,Q,{duration:s,ease:a,behavior:h},q,J),[et,en,er,q,J]),eo=n.useCallback(()=>Object.assign(Object.assign({},ei),{initComplete:el,items:et,visibleElementsWithSeparators:en,scrollContainer:Q}),[ei,el,et,en,Q]),[es,ea]=n.useState(eo);!function({cb:e=()=>{},condition:t,hash:r}){n.useEffect(()=>{t&&e()},[r,t])}({cb:()=>p(es),condition:function({cb:e,condition:t}){let[r,l]=n.useState(!1);return n.useEffect(()=>{t&&!r&&(l(!0),e())},[t,r]),r}({cb:()=>b(es),condition:el}),hash:JSON.stringify(en.concat(String(null==es?void 0:es.isFirstItemVisible)).concat(String(null==es?void 0:es.isLastItemVisible)))}),n.useEffect(()=>ea(eo()),[eo]),Y.current=es;let eu=n.useCallback(e=>N(es,e),[N,es]),ec=n.useCallback(e=>x(es,e),[x,es]),ed=n.useMemo(()=>`${u} ${X}`,[X]),em=n.useMemo(()=>`${k}${q?" rtl":""}`,[q,k]);return n.createElement("div",{className:ed,onWheel:ec,onMouseDown:null==y?void 0:y(es),onMouseUp:null==E?void 0:E(es),onMouseMove:null==w?void 0:w(es),onTouchStart:null==I?void 0:I(es),onTouchMove:null==C?void 0:C(es),onTouchEnd:null==S?void 0:S(es)},n.createElement(_.Provider,{value:es},n.createElement("div",{className:d},K),n.createElement("div",{className:c},n.createElement("div",{className:m},U),n.createElement(g,{className:em,onScroll:eu,scrollRef:Q},n.createElement(H,{refs:Z,itemClassName:$,separatorClassName:W},r)),n.createElement("div",{className:f},z)),n.createElement("div",{className:v},G)))}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.