1var SimpleBar=(function(){"use strict";var t=function(e2,i2){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t2,e3){t2.__proto__=e3}||function(t2,e3){for(var i3 in e3)Object.prototype.hasOwnProperty.call(e3,i3)&&(t2[i3]=e3[i3])},t(e2,i2)};function e(t2){var e2=typeof t2;return t2!=null&&(e2=="object"||e2=="function")}var i=typeof global=="object"&&global&&global.Object===Object&&global,s=typeof self=="object"&&self&&self.Object===Object&&self,r=i||s||Function("return this")(),l=function(){return r.Date.now()},o=/\s/,n=/^\s+/;function a(t2){return t2&&t2.slice(0,(function(t3){for(var e2=t3.length;e2--&&o.test(t3.charAt(e2)););return e2})(t2)+1).replace(n,"")}var c=r.Symbol,h=Object.prototype,u=h.hasOwnProperty,d=h.toString,p=c?c.toStringTag:void 0,v=Object.prototype.toString,f=c?c.toStringTag:void 0;function m(t2){return t2==null?t2===void 0?"[object Undefined]":"[object Null]":f&&f in Object(t2)?(function(t3){var e2=u.call(t3,p),i2=t3[p];try{t3[p]=void 0;var s2=!0}catch(t4){}var r2=d.call(t3);return s2&&(e2?t3[p]=i2:delete t3[p]),r2})(t2):(function(t3){return v.call(t3)})(t2)}var b=/^[-+]0x[0-9a-f]+$/i,g=/^0b[01]+$/i,x=/^0o[0-7]+$/i,y=parseInt;function E(t2){if(typeof t2=="number")return t2;if((function(t3){return typeof t3=="symbol"||(function(t4){return t4!=null&&typeof t4=="object"})(t3)&&m(t3)=="[object Symbol]"})(t2))return NaN;if(e(t2)){var i2=typeof t2.valueOf=="function"?t2.valueOf():t2;t2=e(i2)?i2+"":i2}if(typeof t2!="string")return t2===0?t2:+t2;t2=a(t2);var s2=g.test(t2);return s2||x.test(t2)?y(t2.slice(2),s2?2:8):b.test(t2)?NaN:+t2}var O=Math.max,w=Math.min;function S(t2,i2,s2){var r2,o2,n2,a2,c2,h2,u2=0,d2=!1,p2=!1,v2=!0;if(typeof t2!="function")throw new TypeError("Expected a function");function f2(e2){var i3=r2,s3=o2;return r2=o2=void 0,u2=e2,a2=t2.apply(s3,i3)}function m2(t3){return u2=t3,c2=setTimeout(g2,i2),d2?f2(t3):a2}function b2(t3){var e2=t3-h2;return h2===void 0||e2>=i2||e2<0||p2&&t3-u2>=n2}function g2(){var t3=l();if(b2(t3))return x2(t3);c2=setTimeout(g2,(function(t4){var e2=i2-(t4-h2);return p2?w(e2,n2-(t4-u2)):e2})(t3))}function x2(t3){return c2=void 0,v2&&r2?f2(t3):(r2=o2=void 0,a2)}function y2(){var t3=l(),e2=b2(t3);if(r2=arguments,o2=this,h2=t3,e2){if(c2===void 0)return m2(h2);if(p2)return clearTimeout(c2),c2=setTimeout(g2,i2),f2(h2)}return c2===void 0&&(c2=setTimeout(g2,i2)),a2}return i2=E(i2)||0,e(s2)&&(d2=!!s2.leading,n2=(p2="maxWait"in s2)?O(E(s2.maxWait)||0,i2):n2,v2="trailing"in s2?!!s2.trailing:v2),y2.cancel=function(){c2!==void 0&&clearTimeout(c2),u2=0,r2=h2=o2=c2=void 0},y2.flush=function(){return c2===void 0?a2:x2(l())},y2}var A=function(){return A=Object.assign||function(t2){for(var e2,i2=1,s2=arguments.length;i2<s2;i2++)for(var r2 in e2=arguments[i2])Object.prototype.hasOwnProperty.call(e2,r2)&&(t2[r2]=e2[r2]);return t2},A.apply(this,arguments)};function k(t2){return t2&&t2.ownerDocument&&t2.ownerDocument.defaultView?t2.ownerDocument.defaultView:window}function W(t2){return t2&&t2.ownerDocument?t2.ownerDocument:document}var M=function(t2){return Array.prototype.reduce.call(t2,function(t3,e2){var i2=e2.name.match(/data-simplebar-(.+)/);if(i2){var s2=i2[1].replace(/\W+(.)/g,function(t4,e3){return e3.toUpperCase()});switch(e2.value){case"true":t3[s2]=!0;break;case"false":t3[s2]=!1;break;case void 0:t3[s2]=!0;break;default:t3[s2]=e2.value}}return t3},{})};function N(t2,e2){var i2;t2&&(i2=t2.classList).add.apply(i2,e2.split(" "))}function L(t2,e2){t2&&e2.split(" ").forEach(function(e3){t2.classList.remove(e3)})}function z(t2){return".".concat(t2.split(" ").join("."))}var C=!(typeof window=="undefined"||!window.document||!window.document.createElement),T=Object.freeze({__proto__:null,addClasses:N,canUseDOM:C,classNamesToQuery:z,getElementDocument:W,getElementWindow:k,getOptions:M,removeClasses:L}),D=null,R=null;function V(){if(D===null){if(typeof document=="undefined")return D=0;var t2=document.body,e2=document.createElement("div");e2.classList.add("simplebar-hide-scrollbar"),t2.appendChild(e2);var i2=e2.getBoundingClientRect().right;t2.removeChild(e2),D=i2}return D}C&&window.addEventListener("resize",function(){R!==window.devicePixelRatio&&(R=window.devicePixelRatio,D=null)});var H=k,j=W,B=M,_=N,q=L,P=z,X=(function(){function t2(i2,s2){s2===void 0&&(s2={});var r2=this;if(this.removePreventClickId=null,this.minScrollbarWidth=20,this.stopScrollDelay=175,this.isScrolling=!1,this.isMouseEntering=!1,this.isDragging=!1,this.scrollXTicking=!1,this.scrollYTicking=!1,this.wrapperEl=null,this.contentWrapperEl=null,this.contentEl=null,this.offsetEl=null,this.maskEl=null,this.placeholderEl=null,this.heightAutoObserverWrapperEl=null,this.heightAutoObserverEl=null,this.rtlHelpers=null,this.scrollbarWidth=0,this.resizeObserver=null,this.mutationObserver=null,this.elStyles=null,this.isRtl=null,this.mouseX=0,this.mouseY=0,this.onMouseMove=function(){},this.onWindowResize=function(){},this.onStopScrolling=function(){},this.onMouseEntered=function(){},this.onScroll=function(){var t3=H(r2.el);r2.scrollXTicking||(t3.requestAnimationFrame(r2.scrollX),r2.scrollXTicking=!0),r2.scrollYTicking||(t3.requestAnimationFrame(r2.scrollY),r2.scrollYTicking=!0),r2.isScrolling||(r2.isScrolling=!0,_(r2.el,r2.classNames.scrolling)),r2.showScrollbar("x"),r2.showScrollbar("y"),r2.onStopScrolling()},this.scrollX=function(){r2.axis.x.isOverflowing&&r2.positionScrollbar("x"),r2.scrollXTicking=!1},this.scrollY=function(){r2.axis.y.isOverflowing&&r2.positionScrollbar("y"),r2.scrollYTicking=!1},this._onStopScrolling=function(){q(r2.el,r2.classNames.scrolling),r2.options.autoHide&&(r2.hideScrollbar("x"),r2.hideScrollbar("y")),r2.isScrolling=!1},this.onMouseEnter=function(){r2.isMouseEntering||(_(r2.el,r2.classNames.mouseEntered),r2.showScrollbar("x"),r2.showScrollbar("y"),r2.isMouseEntering=!0),r2.onMouseEntered()},this._onMouseEntered=function(){q(r2.el,r2.classNames.mouseEntered),r2.options.autoHide&&(r2.hideScrollbar("x"),r2.hideScrollbar("y")),r2.isMouseEntering=!1},this._onMouseMove=function(t3){r2.mouseX=t3.clientX,r2.mouseY=t3.clientY,(r2.axis.x.isOverflowing||r2.axis.x.forceVisible)&&r2.onMouseMoveForAxis("x"),(r2.axis.y.isOverflowing||r2.axis.y.forceVisible)&&r2.onMouseMoveForAxis("y")},this.onMouseLeave=function(){r2.onMouseMove.cancel(),(r2.axis.x.isOverflowing||r2.axis.x.forceVisible)&&r2.onMouseLeaveForAxis("x"),(r2.axis.y.isOverflowing||r2.axis.y.forceVisible)&&r2.onMouseLeaveForAxis("y"),r2.mouseX=-1,r2.mouseY=-1},this._onWindowResize=function(){r2.scrollbarWidth=r2.getScrollbarWidth(),r2.hideNativeScrollbar()},this.onPointerEvent=function(t3){var e2,i3;r2.axis.x.track.el&&r2.axis.y.track.el&&r2.axis.x.scrollbar.el&&r2.axis.y.scrollbar.el&&(r2.axis.x.track.rect=r2.axis.x.track.el.getBoundingClientRect(),r2.axis.y.track.rect=r2.axis.y.track.el.getBoundingClientRect(),(r2.axis.x.isOverflowing||r2.axis.x.forceVisible)&&(e2=r2.isWithinBounds(r2.axis.x.track.rect)),(r2.axis.y.isOverflowing||r2.axis.y.forceVisible)&&(i3=r2.isWithinBounds(r2.axis.y.track.rect)),(e2||i3)&&(t3.stopPropagation(),t3.type==="pointerdown"&&t3.pointerType!=="touch"&&(e2&&(r2.axis.x.scrollbar.rect=r2.axis.x.scrollbar.el.getBoundingClientRect(),r2.isWithinBounds(r2.axis.x.scrollbar.rect)?r2.onDragStart(t3,"x"):r2.onTrackClick(t3,"x")),i3&&(r2.axis.y.scrollbar.rect=r2.axis.y.scrollbar.el.getBoundingClientRect(),r2.isWithinBounds(r2.axis.y.scrollbar.rect)?r2.onDragStart(t3,"y"):r2.onTrackClick(t3,"y")))))},this.drag=function(e2){var i3,s3,l2,o2,n2,a2,c2,h2,u2,d2,p2;if(r2.draggedAxis&&r2.contentWrapperEl){var v2=r2.axis[r2.draggedAxis].track,f2=(s3=(i3=v2.rect)===null||i3===void 0?void 0:i3[r2.axis[r2.draggedAxis].sizeAttr])!==null&&s3!==void 0?s3:0,m2=r2.axis[r2.draggedAxis].scrollbar,b2=(o2=(l2=r2.contentWrapperEl)===null||l2===void 0?void 0:l2[r2.axis[r2.draggedAxis].scrollSizeAttr])!==null&&o2!==void 0?o2:0,g2=parseInt((a2=(n2=r2.elStyles)===null||n2===void 0?void 0:n2[r2.axis[r2.draggedAxis].sizeAttr])!==null&&a2!==void 0?a2:"0px",10);e2.preventDefault(),e2.stopPropagation();var x2=(r2.draggedAxis==="y"?e2.pageY:e2.pageX)-((h2=(c2=v2.rect)===null||c2===void 0?void 0:c2[r2.axis[r2.draggedAxis].offsetAttr])!==null&&h2!==void 0?h2:0)-r2.axis[r2.draggedAxis].dragOffset,y2=(x2=r2.draggedAxis==="x"&&r2.isRtl?((d2=(u2=v2.rect)===null||u2===void 0?void 0:u2[r2.axis[r2.draggedAxis].sizeAttr])!==null&&d2!==void 0?d2:0)-m2.size-x2:x2)/(f2-m2.size)*(b2-g2);r2.draggedAxis==="x"&&r2.isRtl&&(y2=!((p2=t2.getRtlHelpers())===null||p2===void 0)&&p2.isScrollingToNegative?-y2:y2),r2.contentWrapperEl[r2.axis[r2.draggedAxis].scrollOffsetAttr]=y2}},this.onEndDrag=function(t3){r2.isDragging=!1;var e2=j(r2.el),i3=H(r2.el);t3.preventDefault(),t3.stopPropagation(),q(r2.el,r2.classNames.dragging),r2.onStopScrolling(),e2.removeEventListener("mousemove",r2.drag,!0),e2.removeEventListener("mouseup",r2.onEndDrag,!0),r2.removePreventClickId=i3.setTimeout(function(){e2.removeEventListener("click",r2.preventClick,!0),e2.removeEventListener("dblclick",r2.preventClick,!0),r2.removePreventClickId=null})},this.preventClick=function(t3){t3.preventDefault(),t3.stopPropagation()},this.el=i2,this.options=A(A({},t2.defaultOptions),s2),this.classNames=A(A({},t2.defaultOptions.classNames),s2.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}}},typeof this.el!="object"||!this.el.nodeName)throw new Error("Argument passed to SimpleBar must be an HTML element instead of ".concat(this.el));this.onMouseMove=(function(t3,i3,s3){var r3=!0,l2=!0;if(typeof t3!="function")throw new TypeError("Expected a function");return e(s3)&&(r3="leading"in s3?!!s3.leading:r3,l2="trailing"in s3?!!s3.trailing:l2),S(t3,i3,{leading:r3,maxWait:i3,trailing:l2})})(this._onMouseMove,64),this.onWindowResize=S(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=S(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=S(this._onMouseEntered,this.stopScrollDelay),this.init()}return t2.getRtlHelpers=function(){if(t2.rtlHelpers)return t2.rtlHelpers;var e2=document.createElement("div");e2.innerHTML='<div class="simplebar-dummy-scrollbar-size"><div></div></div>';var i2=e2.firstElementChild,s2=i2==null?void 0:i2.firstElementChild;if(!s2)return null;document.body.appendChild(i2),i2.scrollLeft=0;var r2=t2.getOffset(i2),l2=t2.getOffset(s2);
1i2.scrollLeft=-999;var o2=t2.getOffset(s2);return document.body.removeChild(i2),t2.rtlHelpers={isScrollOriginAtZero:r2.left!==l2.left,isScrollingToNegative:l2.left!==o2.left},t2.rtlHelpers},t2.prototype.getScrollbarWidth=function(){try{return this.contentWrapperEl&&getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display==="none"||"scrollbarWidth"in document.documentElement.style||"-ms-overflow-style"in document.documentElement.style?0:V()}catch(t3){return V()}},t2.getOffset=function(t3){var e2=t3.getBoundingClientRect(),i2=j(t3),s2=H(t3);return{top:e2.top+(s2.pageYOffset||i2.documentElement.scrollTop),left:e2.left+(s2.pageXOffset||i2.documentElement.scrollLeft)}},t2.prototype.init=function(){C&&(this.initDOM(),this.rtlHelpers=t2.getRtlHelpers(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},t2.prototype.initDOM=function(){var t3,e2;this.wrapperEl=this.el.querySelector(P(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(P(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(P(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(P(this.classNames.offset)),this.maskEl=this.el.querySelector(P(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,P(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(P(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(P(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat(P(this.classNames.track)).concat(P(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat(P(this.classNames.track)).concat(P(this.classNames.vertical))),this.axis.x.scrollbar.el=((t3=this.axis.x.track.el)===null||t3===void 0?void 0:t3.querySelector(P(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=((e2=this.axis.y.track.el)===null||e2===void 0?void 0:e2.querySelector(P(this.classNames.scrollbar)))||null,this.options.autoHide||(_(this.axis.x.scrollbar.el,this.classNames.visible),_(this.axis.y.scrollbar.el,this.classNames.visible))},t2.prototype.initListeners=function(){var t3,e2=this,i2=H(this.el);if(this.el.addEventListener("mouseenter",this.onMouseEnter),this.el.addEventListener("pointerdown",this.onPointerEvent,!0),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),(t3=this.contentWrapperEl)===null||t3===void 0||t3.addEventListener("scroll",this.onScroll),i2.addEventListener("resize",this.onWindowResize),this.contentEl){if(window.ResizeObserver){var s2=!1,r2=i2.ResizeObserver||ResizeObserver;this.resizeObserver=new r2(function(){s2&&i2.requestAnimationFrame(function(){e2.recalculate()})}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),i2.requestAnimationFrame(function(){s2=!0})}this.mutationObserver=new i2.MutationObserver(function(){i2.requestAnimationFrame(function(){e2.recalculate()})}),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})}},t2.prototype.recalculate=function(){if(this.heightAutoObserverEl&&this.contentEl&&this.contentWrapperEl&&this.wrapperEl&&this.placeholderEl){var t3=H(this.el);this.elStyles=t3.getComputedStyle(this.el),this.isRtl=this.elStyles.direction==="rtl";var e2=this.contentEl.offsetWidth,i2=this.heightAutoObserverEl.offsetHeight<=1,s2=this.heightAutoObserverEl.offsetWidth<=1||e2>0,r2=this.contentWrapperEl.offsetWidth,l2=this.elStyles.overflowX,o2=this.elStyles.overflowY;this.contentEl.style.padding="".concat(this.elStyles.paddingTop," ").concat(this.elStyles.paddingRight," ").concat(this.elStyles.paddingBottom," ").concat(this.elStyles.paddingLeft),this.wrapperEl.style.margin="-".concat(this.elStyles.paddingTop," -").concat(this.elStyles.paddingRight," -").concat(this.elStyles.paddingBottom," -").concat(this.elStyles.paddingLeft);var n2=this.contentEl.scrollHeight,a2=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=i2?"auto":"100%",this.placeholderEl.style.width=s2?"".concat(e2||a2,"px"):"auto",this.placeholderEl.style.height="".concat(n2,"px");var c2=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=e2!==0&&a2>e2,this.axis.y.isOverflowing=n2>c2,this.axis.x.isOverflowing=l2!=="hidden"&&this.axis.x.isOverflowing,this.axis.y.isOverflowing=o2!=="hidden"&&this.axis.y.isOverflowing,this.axis.x.forceVisible=this.options.forceVisible==="x"||this.options.forceVisible===!0,this.axis.y.forceVisible=this.options.forceVisible==="y"||this.options.forceVisible===!0,this.hideNativeScrollbar();var h2=this.axis.x.isOverflowing?this.scrollbarWidth:0,u2=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&a2>r2-u2,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&n2>c2-h2,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el&&(this.axis.x.scrollbar.el.style.width="".concat(this.axis.x.scrollbar.size,"px")),this.axis.y.scrollbar.el&&(this.axis.y.scrollbar.el.style.height="".concat(this.axis.y.scrollbar.size,"px")),this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")}},t2.prototype.getScrollbarSize=function(t3){var e2,i2;if(t3===void 0&&(t3="y"),!this.axis[t3].isOverflowing||!this.contentEl)return 0;var s2,r2=this.contentEl[this.axis[t3].scrollSizeAttr],l2=(i2=(e2=this.axis[t3].track.el)===null||e2===void 0?void 0:e2[this.axis[t3].offsetSizeAttr])!==null&&i2
1!==void 0?i2:0,o2=l2/r2;return s2=Math.max(~~(o2*l2),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(s2=Math.min(s2,this.options.scrollbarMaxSize)),s2},t2.prototype.positionScrollbar=function(e2){var i2,s2,r2;e2===void 0&&(e2="y");var l2=this.axis[e2].scrollbar;if(this.axis[e2].isOverflowing&&this.contentWrapperEl&&l2.el&&this.elStyles){var o2=this.contentWrapperEl[this.axis[e2].scrollSizeAttr],n2=((i2=this.axis[e2].track.el)===null||i2===void 0?void 0:i2[this.axis[e2].offsetSizeAttr])||0,a2=parseInt(this.elStyles[this.axis[e2].sizeAttr],10),c2=this.contentWrapperEl[this.axis[e2].scrollOffsetAttr];c2=e2==="x"&&this.isRtl&&(!((s2=t2.getRtlHelpers())===null||s2===void 0)&&s2.isScrollOriginAtZero)?-c2:c2,e2==="x"&&this.isRtl&&(c2=!((r2=t2.getRtlHelpers())===null||r2===void 0)&&r2.isScrollingToNegative?c2:-c2);var h2=c2/(o2-a2),u2=~~((n2-l2.size)*h2);u2=e2==="x"&&this.isRtl?-u2+(n2-l2.size):u2,l2.el.style.transform=e2==="x"?"translate3d(".concat(u2,"px, 0, 0)"):"translate3d(0, ".concat(u2,"px, 0)")}},t2.prototype.toggleTrackVisibility=function(t3){t3===void 0&&(t3="y");var e2=this.axis[t3].track.el,i2=this.axis[t3].scrollbar.el;e2&&i2&&this.contentWrapperEl&&(this.axis[t3].isOverflowing||this.axis[t3].forceVisible?(e2.style.visibility="visible",this.contentWrapperEl.style[this.axis[t3].overflowAttr]="scroll",this.el.classList.add("".concat(this.classNames.scrollable,"-").concat(t3))):(e2.style.visibility="hidden",this.contentWrapperEl.style[this.axis[t3].overflowAttr]="hidden",this.el.classList.remove("".concat(this.classNames.scrollable,"-").concat(t3))),this.axis[t3].isOverflowing?i2.style.display="block":i2.style.display="none")},t2.prototype.showScrollbar=function(t3){t3===void 0&&(t3="y"),this.axis[t3].isOverflowing&&!this.axis[t3].scrollbar.isVisible&&(_(this.axis[t3].scrollbar.el,this.classNames.visible),this.axis[t3].scrollbar.isVisible=!0)},t2.prototype.hideScrollbar=function(t3){t3===void 0&&(t3="y"),this.isDragging||this.axis[t3].isOverflowing&&this.axis[t3].scrollbar.isVisible&&(q(this.axis[t3].scrollbar.el,this.classNames.visible),this.axis[t3].scrollbar.isVisible=!1)},t2.prototype.hideNativeScrollbar=function(){this.offsetEl&&(this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px",this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px")},t2.prototype.onMouseMoveForAxis=function(t3){t3===void 0&&(t3="y");var e2=this.axis[t3];e2.track.el&&e2.scrollbar.el&&(e2.track.rect=e2.track.el.getBoundingClientRect(),e2.scrollbar.rect=e2.scrollbar.el.getBoundingClientRect(),this.isWithinBounds(e2.track.rect)?(this.showScrollbar(t3),_(e2.track.el,this.classNames.hover),this.isWithinBounds(e2.scrollbar.rect)?_(e2.scrollbar.el,this.classNames.hover):q(e2.scrollbar.el,this.classNames.hover)):(q(e2.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(t3)))},t2.prototype.onMouseLeaveForAxis=function(t3){t3===void 0&&(t3="y"),q(this.axis[t3].track.el,this.classNames.hover),q(this.axis[t3].scrollbar.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(t3)},t2.prototype.onDragStart=function(t3,e2){var i2;e2===void 0&&(e2="y"),this.isDragging=!0;var s2=j(this.el),r2=H(this.el),l2=this.axis[e2].scrollbar,o2=e2==="y"?t3.pageY:t3.pageX;this.axis[e2].dragOffset=o2-(((i2=l2.rect)===null||i2===void 0?void 0:i2[this.axis[e2].offsetAttr])||0),this.draggedAxis=e2,_(this.el,this.classNames.dragging),s2.addEventListener("mousemove",this.drag,!0),s2.addEventListener("mouseup",this.onEndDrag,!0),this.removePreventClickId===null?(s2.addEventListener("click",this.preventClick,!0),s2.addEventListener("dblclick",this.preventClick,!0)):(r2.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},t2.prototype.onTrackClick=function(t3,e2){var i2,s2,r2,l2,o2=this;e2===void 0&&(e2="y");var n2=this.axis[e2];if(this.options.clickOnTrack&&n2.scrollbar.el&&this.contentWrapperEl){t3.preventDefault();var a2=H(this.el);this.axis[e2].scrollbar.rect=n2.scrollbar.el.getBoundingClientRect();var c2=(s2=(i2=this.axis[e2].scrollbar.rect)===null||i2===void 0?void 0:i2[this.axis[e2].offsetAttr])!==null&&s2!==void 0?s2:0,h2=parseInt((l2=(r2=this.elStyles)===null||r2===void 0?void 0:r2[this.axis[e2].sizeAttr])!==null&&l2!==void 0?l2:"0px",10),u2=this.contentWrapperEl[this.axis[e2].scrollOffsetAttr],d2=(e2==="y"?this.mouseY-c2:this.mouseX-c2)<0?-1:1,p2=d2===-1?u2-h2:u2+h2,v2=function(){o2.contentWrapperEl&&(d2===-1?u2>p2&&(u2-=40,o2.contentWrapperEl[o2.axis[e2].scrollOffsetAttr]=u2,a2.requestAnimationFrame(v2)):u2<p2&&(u2+=40,o2.contentWrapperEl[o2.axis[e2].scrollOffsetAttr]=u2,a2.requestAnimationFrame(v2)))};v2()}},t2.prototype.getContentElement=function(){return this.contentEl},t2.prototype.getScrollElement=function(){return this.contentWrapperEl},t2.prototype.removeListeners=function(){var t3=H(this.el);this.el.removeEventListener("mouseenter",this.onMouseEnter),this.el.removeEventListener("pointerdown",this.onPointerEvent,!0),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),t3.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.onMouseMove.cancel(),this.onWindowResize.cancel(),this.onStopScrolling.cancel(),this.onMouseEntered.cancel()},t2.prototype.unMount=function(){this.removeListeners()},t2.prototype.isWithinBounds=function(t3){return this.mouseX>=t3.left&&this.mouseX<=t3.left+t3.width&&this.mouseY>=t3.top&&this.mouseY<=t3.top+t3.height},t2.prototype.findChild=function(t3,e2){var i2=t3.matches||t3.webkitMatchesSelector||t3.mozMatchesSelector||t3.msMat
1chesSelector;return Array.prototype.filter.call(t3.children,function(t4){return i2.call(t4,e2)})[0]},t2.rtlHelpers=null,t2.defaultOptions={forceVisible:!1,clickOnTrack:!0,scrollbarMinSize:25,scrollbarMaxSize:0,ariaLabel:"scrollable content",tabIndex:0,classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging",scrolling:"simplebar-scrolling",scrollable:"simplebar-scrollable",mouseEntered:"simplebar-mouse-entered"},scrollableNode:null,contentNode:null,autoHide:!0},t2.getOptions=B,t2.helpers=T,t2})(),Y=X.helpers,F=Y.getOptions,I=Y.addClasses,U=Y.canUseDOM,$=(function(e2){function i2(){for(var t2=[],s2=0;s2<arguments.length;s2++)t2[s2]=arguments[s2];var r2=e2.apply(this,t2)||this;return i2.instances.set(t2[0],r2),r2}return(function(e3,i3){if(typeof i3!="function"&&i3!==null)throw new TypeError("Class extends value "+String(i3)+" is not a constructor or null");function s2(){this.constructor=e3}t(e3,i3),e3.prototype=i3===null?Object.create(i3):(s2.prototype=i3.prototype,new s2)})(i2,e2),i2.initDOMLoadedElements=function(){document.removeEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.removeEventListener("load",this.initDOMLoadedElements),Array.prototype.forEach.call(document.querySelectorAll("[data-simplebar]"),function(t2){t2.getAttribute("data-simplebar")==="init"||i2.instances.has(t2)||new i2(t2,F(t2.attributes))})},i2.removeObserver=function(){var t2;(t2=i2.globalObserver)===null||t2===void 0||t2.disconnect()},i2.prototype.initDOM=function(){var t2,e3,i3,s2=this;if(!Array.prototype.filter.call(this.el.children,function(t3){return t3.classList.contains(s2.classNames.wrapper)}).length){for(this.wrapperEl=document.createElement("div"),this.contentWrapperEl=document.createElement("div"),this.offsetEl=document.createElement("div"),this.maskEl=document.createElement("div"),this.contentEl=document.createElement("div"),this.placeholderEl=document.createElement("div"),this.heightAutoObserverWrapperEl=document.createElement("div"),this.heightAutoObserverEl=document.createElement("div"),I(this.wrapperEl,this.classNames.wrapper),I(this.contentWrapperEl,this.classNames.contentWrapper),I(this.offsetEl,this.classNames.offset),I(this.maskEl,this.classNames.mask),I(this.contentEl,this.classNames.contentEl),I(this.placeholderEl,this.classNames.placeholder),I(this.heightAutoObserverWrapperEl,this.classNames.heightAutoObserverWrapperEl),I(this.heightAutoObserverEl,this.classNames.heightAutoObserverEl);this.el.firstChild;)this.contentEl.appendChild(this.el.firstChild);this.contentWrapperEl.appendChild(this.contentEl),this.offsetEl.appendChild(this.contentWrapperEl),this.maskEl.appendChild(this.offsetEl),this.heightAutoObserverWrapperEl.appendChild(this.heightAutoObserverEl),this.wrapperEl.appendChild(this.heightAutoObserverWrapperEl),this.wrapperEl.appendChild(this.maskEl),this.wrapperEl.appendChild(this.placeholderEl),this.el.appendChild(this.wrapperEl),(t2=this.contentWrapperEl)===null||t2===void 0||t2.setAttribute("tabindex",this.options.tabIndex.toString()),(e3=this.contentWrapperEl)===null||e3===void 0||e3.setAttribute("role","region"),(i3=this.contentWrapperEl)===null||i3===void 0||i3.setAttribute("aria-label",this.options.ariaLabel)}if(!this.axis.x.track.el||!this.axis.y.track.el){var r2=document.createElement("div"),l2=document.createElement("div");I(r2,this.classNames.track),I(l2,this.classNames.scrollbar),r2.appendChild(l2),this.axis.x.track.el=r2.cloneNode(!0),I(this.axis.x.track.el,this.classNames.horizontal),this.axis.y.track.el=r2.cloneNode(!0),I(this.axis.y.track.el,this.classNames.vertical),this.el.appendChild(this.axis.x.track.el),this.el.appendChild(this.axis.y.track.el)}X.prototype.initDOM.call(this),this.el.setAttribute("data-simplebar","init")},i2.prototype.unMount=function(){X.prototype.unMount.call(this),i2.instances.delete(this.el)},i2.initHtmlApi=function(){this.initDOMLoadedElements=this.initDOMLoadedElements.bind(this),typeof MutationObserver!="undefined"&&(this.globalObserver=new MutationObserver(i2.handleMutations),this.globalObserver.observe(document,{childList:!0,subtree:!0})),document.readyState==="complete"||document.readyState!=="loading"&&!document.documentElement.doScroll?window.setTimeout(this.initDOMLoadedElements):(document.addEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.addEventListener("load",this.initDOMLoadedElements))},i2.handleMutations=function(t2){t2.forEach(function(t3){t3.addedNodes.forEac
1h(function(t4){t4.nodeType===1&&(t4.hasAttribute("data-simplebar")?!i2.instances.has(t4)&&document.documentElement.contains(t4)&&new i2(t4,F(t4.attributes)):t4.querySelectorAll("[data-simplebar]").forEach(function(t5){t5.getAttribute("data-simplebar")!=="init"&&!i2.instances.has(t5)&&document.documentElement.contains(t5)&&new i2(t5,F(t5.attributes))}))}),t3.removedNodes.forEach(function(t4){var e3;t4.nodeType===1&&(t4.getAttribute("data-simplebar")==="init"?!document.documentElement.contains(t4)&&((e3=i2.instances.get(t4))===null||e3===void 0||e3.unMount()):Array.prototype.forEach.call(t4.querySelectorAll('[data-simplebar="init"]'),function(t5){var e4;!document.documentElement.contains(t5)&&((e4=i2.instances.get(t5))===null||e4===void 0||e4.unMount())}))})})},i2.instances=new WeakMap,i2})(X);return U&&$.initHtmlApi(),$})();
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.