vendor: 16,710 bytes, lines 1-2
1/*! For license information please see 5598.a3ab298103358756ea43.bundle.js.LICENSE.txt */ 2"use strict";(self.webpackChunksc_call=self.webpackChunksc_call||[]).push([[5598],{7200:(t,e,n)=>{function o(t){return getComputedStyle(t)}function r(t,e){for(var n in e){var o=e[n];"number"==typeof o&&(o+="px"),t.style[n]=o}return t}function l(t){var e=document.createElement("div");return e.className=t,e}n.r(e),n.d(e,{default:()=>M});var i="undefined"!=typeof Element&&(Element.prototype.matches||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector);function s(t,e){if(!i)throw new Error("No element matching method supported");return i.call(t,e)}function a(t){t.remove?t.remove():t.parentNode&&t.parentNode.removeChild(t)}function c(t,e){return Array.prototype.filter.call(t.children,(function(t){return s(t,e)}))}var h=function(t){return"ps__thumb-"+t},u=function(t){return"ps__rail-"+t},p="ps__child--consume",d="ps--focus",f="ps--clicking",v=function(t){return"ps--active-"+t},b=function(t){return"ps--scrolling-"+t},g={x:null,y:null};function m(t,e){var n=t.element.classList,o=b(e);n.contains(o)?clearTimeout(g[e]):n.add(o)}function y(t,e){g[e]=setTimeout((function(){return t.isAlive&&t.element.classList.remove(b(e))}),t.settings.scrollingThreshold)}var Y=function(t){this.element=t,this.handlers={}},w={isEmpty:{configurable:!0}};Y.prototype.bind=function(t,e){void 0===this.handlers[t]&&(this.handlers[t]=[]),this.handlers[t].push(e),this.element.addEventListener(t,e,!1)},Y.prototype.unbind=function(t,e){var n=this;this.handlers[t]=this.handlers[t].filter((function(o){return!(!e||o===e)||(n.element.removeEventListener(t,o,!1),!1)}))},Y.prototype.unbindAll=function(){for(var t in this.handlers)this.unbind(t)},w.isEmpty.get=function(){var t=this;return Object.keys(this.handlers).every((function(e){return 0===t.handlers[e].length}))},Object.defineProperties(Y.prototype,w);var X=function(){this.eventElements=[]};function R(t){if("function"==typeof window.CustomEvent)return new CustomEvent(t);var e=document.createEvent("CustomEvent");return e.initCustomEvent(t,!1,!1,void 0),e}function S(t,e,n,o,r){var l;if(void 0===o&&(o=!0),void 0===r&&(r=!1),"top"===e)l=["contentHeight","containerHeight","scrollTop","y","up","down"];else{if("left"!==e)throw new Error("A proper axis should be provided");l=["contentWidth","containerWidth","scrollLeft","x","left","right"]}!function(t,e,n,o,r){var l=n[0],i=n[1],s=n[2],a=n[3],c=n[4],h=n[5];void 0===o&&(o=!0),void 0===r&&(r=!1);var u=t.element;t.reach[a]=null,u[s]<1&&(t.reach[a]="start"),u[s]>t[l]-t[i]-1&&(t.reach[a]="end"),e&&(u.dispatchEvent(R("ps-scroll-"+a)),e<0?u.dispatchEvent(R("ps-scroll-"+c)):e>0&&u.dispatchEvent(R("ps-scroll-"+h)),o&&function(t,e){m(t,e),y(t,e)}(t,a)),t.reach[a]&&(e||r)&&u.dispatchEvent(R("ps-"+a+"-reach-"+t.reach[a]))}(t,n,l,o,r)}function T(t){return parseInt(t,10)||0}X.prototype.eventElement=function(t){var e=this.eventElements.filter((function(e){return e.element===t}))[0];return e||(e=new Y(t),this.eventElements.push(e)),e},X.prototype.bind=function(t,e,n){this.eventElement(t).bind(e,n)},X.prototype.unbind=function(t,e,n){var o=this.eventElement(t);o.unbind(e,n),o.isEmpty&&this.eventElements.splice(this.eventElements.indexOf(o),1)},X.prototype.unbindAll=function(){this.eventElements.forEach((function(t){return t.unbindAll()})),this.eventElements=[]},X.prototype.once=function(t,e,n){var o=this.eventElement(t),r=function(t){o.unbind(e,r),n(t)};o.bind(e,r)};var W={isWebKit:"undefined"!=typeof document&&"WebkitAppearance"in document.documentElement.style,supportsTouch:"undefined"!=typeof window&&("ontouchstart"in window||"maxTouchPoints"in window.navigator&&window.navigator.maxTouchPoints>0||window.DocumentTouch&&document instanceof window.DocumentTouch),supportsIePointer:"undefined"!=typeof navigator&&navigator.msMaxTouchPoints,isChrome:"undefined"!=typeof navigator&&/Chrome/i.test(navigator&&navigator.userAgent)};function E(t){var e=t.element,n=Math.floor(e.scrollTop),o=e.getBoundingClientRect();t.containerWidth=Math.round(o.width),t.containerHeight=Math.round(o.height),t.contentWidth=e.scrollWidth,t.contentHeight=e.scrollHeight,e.contains(t.scrollbarXRail)||(c(e,u("x")).forEach((function(t){return a(t)})),e.appendChild(t.scrollbarXRail)),e.contains(t.scrollbarYRail)||(c(e,u("y")).forEach((function(t){return a(t)})),e.appendChild(t.scrollbarYRail)),!t.settings.suppressScrollX&&t.containerWidth+t.settings.scrollXMarginOffset<t.contentWidth?(t.scrollbarXActive=!0,t.railXWidth=t.containerWidth-t.railXMarginWidth,t.railXRatio=t.containerWidth/t.railXWidth,t.scrollbarXWidth=L(t,T(t.railXWidth*t.containerWidth/t.contentWidth)),t.scrollbarXLeft=T((t.negativeScrollAdjustment+e.scrollLeft)*(t.railXWidth-t.scrollbarXWidth)/(t.contentWidth-t.containerWidth))):t.scrollbarXActive=!1,!t.settings.suppressScrollY&&t.containerHeight+t.settings.scrollYMarginOffset<t.contentHeight?(t.scrollbarYActive=!0,t.railYHeight=t.containerHeight-t.railYMarginHeight,t.railYRatio=t.containerHeight/t.railYHeight,t.scrollbarYHeight=L(t,T(t.railYHeight*t.containerHeight/t.contentHeight)),t.scrollbarYTop=T(n*(t.railYHeight-t.scrollbarYHeight)/(t.contentHeight-t.containerHeight))):t.scrollbarYActive=!1,t.scrollbarXLeft>=t.railXWidth-t.scrollbarXWidth&&(t.scrollbarXLeft=t.railXWidth-t.scrollbarXWidth),t.scrollbarYTop>=t.railYHeight-t.scrollbarYHeight&&(t.scrollbarYTop=t.railYHeight-t.scrollbarYHeight),function(t,e){var n={width:e.railXWidth},o=Math.floor(t.scrollTop);e.isRtl?n.left=e.negativeScrollAdjustment+t.scrollLeft+e.containerWidth-e.contentWidth:n.left=t.scrollLeft,e.isScrollbarXUsingBottom?n.bottom=e.scrollbarXBottom-o:n.top=e.scrollbarXTop+o,r(e.scrollbarXRail,n);var l={top:o,height:e.railYHeight};e.isScrollbarYUsingRight?e.isRtl?l.right=e.contentWidth-(e.negativeScrollAdjustment+t.scrollLeft)-e.scrollbarYRight-e.scrollbarYOuterWidth-9:l.right=e.scrollbarYRight-t.scrollLeft:e.isRtl?l.left=e.negativeScrollAdjustment+t.scrollLeft+2*e.containerWidth-e.contentWidth-e.scrollbarYLeft-e.scrollbarYOuterWidth:l.left=e.scrollbarYLeft+t.scrollLeft,r(e.scrollbarYRail,l),r(e.scrollbarX,{left:e.scrollbarXLeft,width:e.scrollbarXWidth-e.railBorderXWidth}),r(e.scrollbarY,{top:e.scrollbarYTop,height:e.scrollbarYHeight-e.railBorderYWidth})}(e,t),t.scrollbarXActive?e.classList.add(v("x")):(e.classList.remove(v("x")),t.scrollbarXWidth=0,t.scrollbarXLeft=0,e.scrollLeft=!0===t.isRtl?t.contentWidth:0),t.scrollbarYActive?e.classList.add(v("y")):(e.classList.remove(v("y")),t.scrollbarYHeight=0,t.scrollbarYTop=0,e.scrollTop=0)}function L(t,e){return t.settings.minScrollbarLength&&(e=Math.max(e,t.settings.minScrollbarLength)),t.settings.maxScrollbarLength&&(e=Math.min(e,t.settings.maxScrollbarLength)),e}function H(t,e){var n=e[0],o=e[1],r=e[2],l=e[3],i=e[4],s=e[5],a=e[6],c=e[7],h=e[8],u=t.element,p=null,d=null,v=null;function b(e){e.touches&&e.touches[0]&&(e[r]=e.touches[0].pageY),u[a]=p+v*(e[r]-d),m(t,c),E(t),e.stopPropagation(),e.type.startsWith("touch")&&e.changedTouches.length>1&&e.preventDefault()}function g(){y(t,c),t[h].classList.remove(f),t.event.unbind(t.ownerDocument,"mousemove",b)}function Y(e,i){p=u[a],i&&e.touches&&(e[r]=e.touches[0].pageY),d=e[r],v=(t[o]-t[n])/(t[l]-t[s]),i?t.event.bind(t.ownerDocument,"touchmove",b):(t.event.bind(t.ownerDocument,"mousemove",b),t.event.once(t.ownerDocument,"mouseup",g),e.preventDefault()),t[h].classList.add(f),e.stopPropagation()}t.event.bind(t[i],"mousedown",(function(t){Y(t)})),t.event.bind(t[i],"touchstart",(function(t){Y(t,!0)}))}var P={"click-rail":function(t){t.element,t.event.bind(t.scrollbarY,"mousedown",(function(t){return t.stopPropagation()})),t.event.bind(t.scrollbarYRail,"mousedown",(function(e){var n=e.pageY-window.pageYOffset-t.scrollbarYRail.getBoundingClientRect().top>t.scrollbarYTop?1:-1;t.element.scrollTop+=n*t.containerHeight,E(t),e.stopPropagation()})),t.event.bind(t.scrollbarX,"mousedown",(function(t){return t.stopPropagation()})),t.event.bind(t.scrollbarXRail,"mousedown",(function(e){var n=e.pageX-window.pageXOffset-t.scrollbarXRail.getBoundingClientRect().left>t.scrollbarXLeft?1:-1;t.element.scrollLeft+=n*t.containerWidth,E(t),e.stopPropagation()}))},"drag-thumb":function(t){H(t,["containerWidth","contentWidth","pageX","railXWidth","scrollbarX","scrollbarXWidth","scrollLeft","x","scrollbarXRail"]),H(t,["containerHeight","contentHeight","pageY","railYHeight","scrollbarY","scrollbarYHeight","scrollTop","y","scrollbarYRail"])},keyboard:function(t){var e=t.element;t.event.bind(t.ownerDocument,"keydown",(function(n){if(!(n.isDefaultPrevented&&n.isDefaultPrevented()||n.defaultPrevented)&&(s(e,":hover")||s(t.scrollbarX,":focus")||s(t.scrollbarY,":focus"))){var o,r=document.activeElement?document.activeElement:t.ownerDocument.activeElement;if(r){if("IFRAME"===r.tagName)r=r.contentDocument.activeElement;else for(;r.shadowRoot;)r=r.shadowRoot.activeElement;if(s(o=r,"input,[contenteditable]")||s(o,"select,[contenteditable]")||s(o,"textarea,[contenteditable]")||s(o,"button,[contenteditable]"))return}var l=0,i=0;switch(n.which){case 37:l=n.metaKey?-t.contentWidth:n.altKey?-t.containerWidth:-30;break;case 38:i=n.metaKey?t.contentHeight:n.altKey?t.containerHeight:30;break;case 39:l=n.metaKey?t.contentWidth:n.altKey?t.containerWidth:30;break;case 40:i=n.metaKey?-t.contentHeight:n.altKey?-t.containerHeight:-30;break;case 32:i=n.shiftKey?t.containerHeight:-t.containerHeight;break;case 33:i=t.containerHeight;break;case 34:i=-t.containerHeight;break;case 36:i=t.contentHeight;break;case 35:i=-t.contentHeight;break;default:return}t.settings.suppressScrollX&&0!==l||t.settings.suppressScrollY&&0!==i||(e.scrollTop-=i,e.scrollLeft+=l,E(t),function(n,o){var r=Math.floor(e.scrollTop);if(0===n){if(!t.scrollbarYActive)return!1;if(0===r&&o>0||r>=t.contentHeight-t.containerHeight&&o<0)return!t.settings.wheelPropagation}var l=e.scrollLeft;if(0===o){if(!t.scrollbarXActive)return!1;if(0===l&&n<0||l>=t.contentWidth-t.containerWidth&&n>0)return!t.settings.wheelPropagation}return!0}(l,i)&&n.preventDefault())}}))},wheel:function(t){var e=t.element;function n(n){var r=function(t){var e=t.deltaX,n=-1*t.deltaY;return void 0!==e&&void 0!==n||(e=-1*t.wheelDeltaX/6,n=t.wheelDeltaY/6),t.deltaMode&&1===t.deltaMode&&(e*=10,n*=10),e!=e&&n!=n&&(e=0,n=t.wheelDelta),t.shiftKey?[-n,-e]:[e,n]}(n),l=r[0],i=r[1];if(!function(t,n,r){if(!W.isWebKit&&e.querySelector("select:focus"))return!0;if(!e.contains(t))return!1;for(var l=t;l&&l!==e;){if(l.classList.contains(p))return!0;var i=o(l);if(r&&i.overflowY.match(/(scroll|auto)/)){var s=l.scrollHeight-l.clientHeight;if(s>0&&(l.scrollTop>0&&r<0||l.scrollTop<s&&r>0))return!0}if(n&&i.overflowX.match(/(scroll|auto)/)){var a=l.scrollWidth-l.clientWidth;if(a>0&&(l.scrollLeft>0&&n<0||l.scrollLeft<a&&n>0))return!0}l=l.parentNode}return!1}(n.target,l,i)){var s=!1;t.settings.useBothWheelAxes?t.scrollbarYActive&&!t.scrollbarXActive?(i?e.scrollTop-=i*t.settings.wheelSpeed:e.scrollTop+=l*t.settings.wheelSpeed,s=!0):t.scrollbarXActive&&!t.scrollbarYActive&&(l?e.scrollLeft+=l*t.settings.wheelSpeed:e.scrollLeft-=i*t.settings.wheelSpeed,s=!0):(e.scrollTop-=i*t.settings.wheelSpeed,e.scrollLeft+=l*t.settings.wheelSpeed),E(t),s=s||function(n,o){var r=Math.floor(e.scrollTop),l=0===e.scrollTop,i=r+e.offsetHeight===e.scrollHeight,s=0===e.scrollLeft,a=e.scrollLeft+e.offsetWidth===e.scrollWidth;return!(Math.abs(o)>Math.abs(n)?l||i:s||a)||!t.settings.wheelPropagation}(l,i),s&&!n.ctrlKey&&(n.stopPropagation(),n.preventDefault())}}void 0!==window.onwheel?t.event.bind(e,"wheel",n):void 0!==window.onmousewheel&&t.event.bind(e,"mousewheel",n)},touch:function(t){if(W.supportsTouch||W.supportsIePointer){var e=t.element,n={},r=0,l={},i=null;W.supportsTouch?(t.event.bind(e,"touchstart",h),t.event.bind(e,"touchmove",u),t.event.bind(e,"touchend",d)):W.supportsIePointer&&(window.PointerEvent?(t.event.bind(e,"pointerdown",h),t.event.bind(e,"pointermove",u),t.event.bind(e,"pointerup",d)):window.MSPointerEvent&&(t.event.bind(e,"MSPointerDown",h),t.event.bind(e,"MSPointerMove",u),t.event.bind(e,"MSPointerUp",d)))}function s(n,o){e.scrollTop-=o,e.scrollLeft-=n,E(t)}function a(t){return t.targetTouches?t.targetTouches[0]:t}function c(t){return!(t.pointerType&&"pen"===t.pointerType&&0===t.buttons||(!t.targetTouches||1!==t.targetTouches.length)&&(!t.pointerType||"mouse"===t.pointerType||t.pointerType===t.MSPOINTER_TYPE_MOUSE))}function h(t){if(c(t)){var e=a(t);n.pageX=e.pageX,n.pageY=e.pageY,r=(new Date).getTime(),null!==i&&clearInterval(i)}}function u(i){if(c(i)){var h=a(i),u={pageX:h.pageX,pageY:h.pageY},d=u.pageX-n.pageX,f=u.pageY-n.pageY;if(function(t,n,r){if(!e.contains(t))return!1;for(var l=t;l&&l!==e;){if(l.classList.contains(p))return!0;var i=o(l);if(r&&i.overflowY.match(/(scroll|auto)/)){var s=l.scrollHeight-l.clientHeight;if(s>0&&(l.scrollTop>0&&r<0||l.scrollTop<s&&r>0))return!0}if(n&&i.overflowX.match(/(scroll|auto)/)){var a=l.scrollWidth-l.clientWidth;if(a>0&&(l.scrollLeft>0&&n<0||l.scrollLeft<a&&n>0))return!0}l=l.parentNode}return!1}(i.target,d,f))return;s(d,f),n=u;var v=(new Date).getTime(),b=v-r;b>0&&(l.x=d/b,l.y=f/b,r=v),function(n,o){var r=Math.floor(e.scrollTop),l=e.scrollLeft,i=Math.abs(n),s=Math.abs(o);if(s>i){if(o<0&&r===t.contentHeight-t.containerHeight||o>0&&0===r)return 0===window.scrollY&&o>0&&W.isChrome}else if(i>s&&(n<0&&l===t.contentWidth-t.containerWidth||n>0&&0===l))return!0;return!0}(d,f)&&i.preventDefault()}}function d(){t.settings.swipeEasing&&(clearInterval(i),i=setInterval((function(){t.isInitialized?clearInterval(i):l.x||l.y?Math.abs(l.x)<.01&&Math.abs(l.y)<.01?clearInterval(i):t.element?(s(30*l.x,30*l.y),l.x*=.8,l.y*=.8):clearInterval(i):clearInterval(i)}),10))}}},_=function(t,e){var n=this;if(void 0===e&&(e={}),"string"==typeof t&&(t=document.querySelector(t)),!t||!t.nodeName)throw new Error("no element is specified to initialize PerfectScrollbar");for(var i in this.element=t,t.classList.add("ps"),this.settings={handlers:["click-rail","drag-thumb","keyboard","wheel","touch"],maxScrollbarLength:null,minScrollbarLength:null,scrollingThreshold:1e3,scrollXMarginOffset:0,scrollYMarginOffset:0,suppressScrollX:!1,suppressScrollY:!1,swipeEasing:!0,useBothWheelAxes:!1,wheelPropagation:!0,wheelSpeed:1},e)this.settings[i]=e[i];this.containerWidth=null,this.containerHeight=null,this.contentWidth=null,this.contentHeight=null;var s,a,c=function(){return t.classList.add(d)},p=function(){return t.classList.remove(d)};this.isRtl="rtl"===o(t).direction,!0===this.isRtl&&t.classList.add("ps__rtl"),this.isNegativeScroll=(a=t.scrollLeft,t.scrollLeft=-1,s=t.scrollLeft<0,t.scrollLeft=a,s),this.negativeScrollAdjustment=this.isNegativeScroll?t.scrollWidth-t.clientWidth:0,this.event=new X,this.ownerDocument=t.ownerDocument||document,this.scrollbarXRail=l(u("x")),t.appendChild(this.scrollbarXRail),this.scrollbarX=l(h("x")),this.scrollbarXRail.appendChild(this.scrollbarX),this.scrollbarX.setAttribute("tabindex",0),this.event.bind(this.scrollbarX,"focus",c),this.event.bind(this.scrollbarX,"blur",p),this.scrollbarXActive=null,this.scrollbarXWidth=null,this.scrollbarXLeft=null;var f=o(this.scrollbarXRail);this.scrollbarXBottom=parseInt(f.bottom,10),isNaN(this.scrollbarXBottom)?(this.isScrollbarXUsingBottom=!1,this.scrollbarXTop=T(f.top)):this.isScrollbarXUsingBottom=!0,this.railBorderXWidth=T(f.borderLeftWidth)+T(f.borderRightWidth),r(this.scrollbarXRail,{display:"block"}),this.railXMarginWidth=T(f.marginLeft)+T(f.marginRight),r(this.scrollbarXRail,{display:""}),this.railXWidth=null,this.railXRatio=null,this.scrollbarYRail=l(u("y")),t.appendChild(this.scrollbarYRail),this.scrollbarY=l(h("y")),this.scrollbarYRail.appendChild(this.scrollbarY),this.scrollbarY.setAttribute("tabindex",0),this.event.bind(this.scrollbarY,"focus",c),this.event.bind(this.scrollbarY,"blur",p),this.scrollbarYActive=null,this.scrollbarYHeight=null,this.scrollbarYTop=null;var v=o(this.scrollbarYRail);this.scrollbarYRight=parseInt(v.right,10),isNaN(this.scrollbarYRight)?(this.isScrollbarYUsingRight=!1,this.scrollbarYLeft=T(v.left)):this.isScrollbarYUsingRight=!0,this.scrollbarYOuterWidth=this.isRtl?function(t){var e=o(t);return T(e.width)+T(e.paddingLeft)+T(e.paddingRight)+T(e.borderLeftWidth)+T(e.borderRightWidth)}(this.scrollbarY):null,this.railBorderYWidth=T(v.borderTopWidth)+T(v.borderBottomWidth),r(this.scrollbarYRail,{display:"block"}),this.railYMarginHeight=T(v.marginTop)+T(v.marginBottom),r(this.scrollbarYRail,{display:""}),this.railYHeight=null,this.railYRatio=null,this.reach={x:t.scrollLeft<=0?"start":t.scrollLeft>=this.contentWidth-this.containerWidth?"end":null,y:t.scrollTop<=0?"start":t.scrollTop>=this.contentHeight-this.containerHeight?"end":null}
2,this.isAlive=!0,this.settings.handlers.forEach((function(t){return P[t](n)})),this.lastScrollTop=Math.floor(t.scrollTop),this.lastScrollLeft=t.scrollLeft,this.event.bind(this.element,"scroll",(function(t){return n.onScroll(t)})),E(this)};_.prototype.update=function(){this.isAlive&&(this.negativeScrollAdjustment=this.isNegativeScroll?this.element.scrollWidth-this.element.clientWidth:0,r(this.scrollbarXRail,{display:"block"}),r(this.scrollbarYRail,{display:"block"}),this.railXMarginWidth=T(o(this.scrollbarXRail).marginLeft)+T(o(this.scrollbarXRail).marginRight),this.railYMarginHeight=T(o(this.scrollbarYRail).marginTop)+T(o(this.scrollbarYRail).marginBottom),r(this.scrollbarXRail,{display:"none"}),r(this.scrollbarYRail,{display:"none"}),E(this),S(this,"top",0,!1,!0),S(this,"left",0,!1,!0),r(this.scrollbarXRail,{display:""}),r(this.scrollbarYRail,{display:""}))},_.prototype.onScroll=function(t){this.isAlive&&(E(this),S(this,"top",this.element.scrollTop-this.lastScrollTop),S(this,"left",this.element.scrollLeft-this.lastScrollLeft),this.lastScrollTop=Math.floor(this.element.scrollTop),this.lastScrollLeft=this.element.scrollLeft)},_.prototype.destroy=function(){this.isAlive&&(this.event.unbindAll(),a(this.scrollbarX),a(this.scrollbarY),a(this.scrollbarXRail),a(this.scrollbarYRail),this.removePsClasses(),this.element=null,this.scrollbarX=null,this.scrollbarY=null,this.scrollbarXRail=null,this.scrollbarYRail=null,this.isAlive=!1)},_.prototype.removePsClasses=function(){this.element.className=this.element.className.split(" ").filter((function(t){return!t.match(/^ps([-_].+|)$/)})).join(" ")};const M=_},919:(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0});var o,r=(o=n(4874))&&o.__esModule?o:{default:o};e.default=r.default,t.exports=e.default},4874:(t,e,n)=>{var o=n(3716);Object.defineProperty(e,"__esModule",{value:!0});var r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},l=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),i=n(9660),s=h(i),a=n(3980),c=h(n(7200));function h(t){return t&&t.__esModule?t:{default:t}}var u={"ps-scroll-y":"onScrollY","ps-scroll-x":"onScrollX","ps-scroll-up":"onScrollUp","ps-scroll-down":"onScrollDown","ps-scroll-left":"onScrollLeft","ps-scroll-right":"onScrollRight","ps-y-reach-start":"onYReachStart","ps-y-reach-end":"onYReachEnd","ps-x-reach-start":"onXReachStart","ps-x-reach-end":"onXReachEnd"};Object.freeze(u);var p=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.handleRef=n.handleRef.bind(n),n._handlerByEvent={},n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),l(e,[{key:"componentDidMount",value:function(){this.props.option&&o.warn('react-perfect-scrollbar: the "option" prop has been deprecated in favor of "options"'),this._ps=new c.default(this._container,this.props.options||this.props.option),this._updateEventHook(),this._updateClassName()}},{key:"componentDidUpdate",value:function(t){this._updateEventHook(t),this.updateScroll(),t.className!==this.props.className&&this._updateClassName()}},{key:"componentWillUnmount",value:function(){var t=this;Object.keys(this._handlerByEvent).forEach((function(e){var n=t._handlerByEvent[e];n&&t._container.removeEventListener(e,n,!1)})),this._handlerByEvent={},this._ps.destroy(),this._ps=null}},{key:"_updateEventHook",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object.keys(u).forEach((function(n){var o=t.props[u[n]],r=e[u[n]];if(o!==r){if(r){var l=t._handlerByEvent[n];t._container.removeEventListener(n,l,!1),t._handlerByEvent[n]=null}if(o){var i=function(){return o(t._container)};t._container.addEventListener(n,i,!1),t._handlerByEvent[n]=i}}}))}},{key:"_updateClassName",value:function(){var t=this.props.className,e=this._container.className.split(" ").filter((function(t){return t.match(/^ps([-_].+|)$/)})).join(" ");this._container&&(this._container.className="scrollbar-container"+(t?" "+t:"")+(e?" "+e:""))}},{key:"updateScroll",value:function(){this.props.onSync(this._ps)}},{key:"handleRef",value:function(t){this._container=t,this.props.containerRef(t)}},{key:"render",value:function(){var t=this.props,e=(t.className,t.style),n=(t.option,t.options,t.containerRef,t.onScrollY,t.onScrollX,t.onScrollUp,t.onScrollDown,t.onScrollLeft,t.onScrollRight,t.onYReachStart,t.onYReachEnd,t.onXReachStart,t.onXReachEnd,t.component),o=(t.onSync,t.children),l=function(t,e){var n={};for(var o in t)e.indexOf(o)>
2=0||Object.prototype.hasOwnProperty.call(t,o)&&(n[o]=t[o]);return n}(t,["className","style","option","options","containerRef","onScrollY","onScrollX","onScrollUp","onScrollDown","onScrollLeft","onScrollRight","onYReachStart","onYReachEnd","onXReachStart","onXReachEnd","component","onSync","children"]),i=n;return s.default.createElement(i,r({style:e,ref:this.handleRef},l),o)}}]),e}(i.Component);e.default=p,p.defaultProps={className:"",style:void 0,option:void 0,options:void 0,containerRef:function(){},onScrollY:void 0,onScrollX:void 0,onScrollUp:void 0,onScrollDown:void 0,onScrollLeft:void 0,onScrollRight:void 0,onYReachStart:void 0,onYReachEnd:void 0,onXReachStart:void 0,onXReachEnd:void 0,onSync:function(t){return t.update()},component:"div"},p.propTypes={children:a.PropTypes.node.isRequired,className:a.PropTypes.string,style:a.PropTypes.object,option:a.PropTypes.object,options:a.PropTypes.object,containerRef:a.PropTypes.func,onScrollY:a.PropTypes.func,onScrollX:a.PropTypes.func,onScrollUp:a.PropTypes.func,onScrollDown:a.PropTypes.func,onScrollLeft:a.PropTypes.func,onScrollRight:a.PropTypes.func,onYReachStart:a.PropTypes.func,onYReachEnd:a.PropTypes.func,onXReachStart:a.PropTypes.func,onXReachEnd:a.PropTypes.func,onSync:a.PropTypes.func,component:a.PropTypes.string},t.exports=e.default}}]);
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.