1/*! For license information please see 621-15f9932c5aed110dc15a.chunk.js.LICENSE.txt */ 2"use strict";(self.webpackChunkdme_partner_portal=self.webpackChunkdme_partner_portal||[]).push([[621],{42621:function(t){function e(t){return getComputedStyle(t)}function i(t,e){for(var i in e){var r=e[i];"number"===typeof r&&(r+="px"),t.style[i]=r}return t}function r(t){var e=document.createElement("div");return e.className=t,e}var l="undefined"!==typeof Element&&(Element.prototype.matches||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector);function n(t,e){if(!l)throw new Error("No element matching method supported");return l.call(t,e)}function o(t){t.remove?t.remove():t.parentNode&&t.parentNode.removeChild(t)}function s(t,e){return Array.prototype.filter.call(t.children,(function(t){return n(t,e)}))}var a={main:"ps",element:{thumb:function(t){return"ps__thumb-"+t},rail:function(t){return"ps__rail-"+t},consuming:"ps__child--consume"},state:{focus:"ps--focus",clicking:"ps--clicking",active:function(t){return"ps--active-"+t},scrolling:function(t){return"ps--scrolling-"+t}}},c={x:null,y:null};function h(t,e){var i=t.element.classList,r=a.state.scrolling(e);i.contains(r)?clearTimeout(c[e]):i.add(r)}function u(t,e){c[e]=setTimeout((function(){return t.isAlive&&t.element.classList.remove(a.state.scrolling(e))}),t.settings.scrollingThreshold)}var d=function(t){this.element=t,this.handlers={}},f={isEmpty:{configurable:!0}};d.prototype.bind=function(t,e){"undefined"===typeof this.handlers[t]&&(this.handlers[t]=[]),this.handlers[t].push(e),this.element.addEventListener(t,e,!1)},d.prototype.unbind=function(t,e){var i=this;this.handlers[t]=this.handlers[t].filter((function(r){return!(!e||r===e)||(i.element.removeEventListener(t,r,!1),!1)}))},d.prototype.unbindAll=function(){for(var t in this.handlers)this.unbind(t)},f.isEmpty.get=function(){var t=this;return Object.keys(this.handlers).every((function(e){return 0===t.handlers[e].length}))},Object.defineProperties(d.prototype,f);var p=function(){this.eventElements=[]};function b(t){if("function"===typeof window.CustomEvent)return new CustomEvent(t);var e=document.createEvent("CustomEvent");return e.initCustomEvent(t,!1,!1,void 0),e}p.prototype.eventElement=function(t){var e=this.eventElements.filter((function(e){return e.element===t}))[0];return e||(e=new d(t),this.eventElements.push(e)),e},p.prototype.bind=function(t,e,i){this.eventElement(t).bind(e,i)},p.prototype.unbind=function(t,e,i){var r=this.eventElement(t);r.unbind(e,i),r.isEmpty&&this.eventElements.splice(this.eventElements.indexOf(r),1)},p.prototype.unbindAll=function(){this.eventElements.forEach((function(t){return t.unbindAll()})),this.eventElements=[]},p.prototype.once=function(t,e,i){var r=this.eventElement(t),l=function(t){r.unbind(e,l),i(t)};r.bind(e,l)};var g=function(t,e,i,r,l){var n;if(void 0===r&&(r=!0),void 0===l&&(l=!1),"top"===e)n=["contentHeight","containerHeight","scrollTop","y","up","down"];else{if("left"!==e)throw new Error("A proper axis should be provided");n=["contentWidth","containerWidth","scrollLeft","x","left","right"]}!function(t,e,i,r,l){var n=i[0],o=i[1],s=i[2],a=i[3],c=i[4],d=i[5];void 0===r&&(r=!0);void 0===l&&(l=!1);var f=t.element;t.reach[a]=null,f[s]<1&&(t.reach[a]="start");f[s]>t[n]-t[o]-1&&(t.reach[a]="end");e&&(f.dispatchEvent(b("ps-scroll-"+a)),e<0?f.dispatchEvent(b("ps-scroll-"+c)):e>0&&f.dispatchEvent(b("ps-scroll-"+d)),r&&function(t,e){h(t,e),u(t,e)}(t,a));t.reach[a]&&(e||l)&&f.dispatchEvent(b("ps-"+a+"-reach-"+t.reach[a]))}(t,i,n,r,l)};function v(t){return parseInt(t,10)||0}var m={isWebKit:"undefined"!==typeof document&&"WebkitAppearance"in document.documentElement.style,supportsTouch:"undefined"!==typeof window&&("ontouchstart"in window||window.DocumentTouch&&document instanceof window.DocumentTouch),supportsIePointer:"undefined"!==typeof navigator&&navigator.msMaxTouchPoints,isChrome:"undefined"!==typeof navigator&&/Chrome/i.test(navigator&&navigator.userAgent)},Y=function(t){var e=t.element,r=Math.floor(e.scrollTop);t.containerWidth=e.clientWidth,t.containerHeight=e.clientHeight,t.contentWidth=e.scrollWidth,t.contentHeight=e.scrollHeight,e.contains(t.scrollbarXRail)||(s(e,a.element.rail("x")).forEac
vendor: 13,977 bytes, line 2
2h((function(t){return o(t)})),e.appendChild(t.scrollbarXRail)),e.contains(t.scrollbarYRail)||(s(e,a.element.rail("y")).forEach((function(t){return o(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=X(t,v(t.railXWidth*t.containerWidth/t.contentWidth)),t.scrollbarXLeft=v((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=X(t,v(t.railYHeight*t.containerHeight/t.contentHeight)),t.scrollbarYTop=v(r*(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 r={width:e.railXWidth},l=Math.floor(t.scrollTop);e.isRtl?r.left=e.negativeScrollAdjustment+t.scrollLeft+e.containerWidth-e.contentWidth:r.left=t.scrollLeft;e.isScrollbarXUsingBottom?r.bottom=e.scrollbarXBottom-l:r.top=e.scrollbarXTop+l;i(e.scrollbarXRail,r);var n={top:l,height:e.railYHeight};e.isScrollbarYUsingRight?e.isRtl?n.right=e.contentWidth-(e.negativeScrollAdjustment+t.scrollLeft)-e.scrollbarYRight-e.scrollbarYOuterWidth:n.right=e.scrollbarYRight-t.scrollLeft:e.isRtl?n.left=e.negativeScrollAdjustment+t.scrollLeft+2*e.containerWidth-e.contentWidth-e.scrollbarYLeft-e.scrollbarYOuterWidth:n.left=e.scrollbarYLeft+t.scrollLeft;i(e.scrollbarYRail,n),i(e.scrollbarX,{left:e.scrollbarXLeft,width:e.scrollbarXWidth-e.railBorderXWidth}),i(e.scrollbarY,{top:e.scrollbarYTop,height:e.scrollbarYHeight-e.railBorderYWidth})}(e,t),t.scrollbarXActive?e.classList.add(a.state.active("x")):(e.classList.remove(a.state.active("x")),t.scrollbarXWidth=0,t.scrollbarXLeft=0,e.scrollLeft=0),t.scrollbarYActive?e.classList.add(a.state.active("y")):(e.classList.remove(a.state.active("y")),t.scrollbarYHeight=0,t.scrollbarYTop=0,e.scrollTop=0)};function X(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 w(t,e){var i=e[0],r=e[1],l=e[2],n=e[3],o=e[4],s=e[5],c=e[6],d=e[7],f=e[8],p=t.element,b=null,g=null,v=null;function m(e){p[c]=b+v*(e[l]-g),h(t,d),Y(t),e.stopPropagation(),e.preventDefault()}function X(){u(t,d),t[f].classList.remove(a.state.clicking),t.event.unbind(t.ownerDocument,"mousemove",m)}t.event.bind(t[o],"mousedown",(function(e){b=p[c],g=e[l],v=(t[r]-t[i])/(t[n]-t[s]),t.event.bind(t.ownerDocument,"mousemove",m),t.event.once(t.ownerDocument,"mouseup",X),t[f].classList.add(a.state.clicking),e.stopPropagation(),e.preventDefault()}))}var y={"click-rail":function(t){t.event.bind(t.scrollbarY,"mousedown",(function(t){return t.stopPropagation()})),t.event.bind(t.scrollbarYRail,"mousedown",(function(e){var i=e.pageY-window.pageYOffset-t.scrollbarYRail.getBoundingClientRect().top>t.scrollbarYTop?1:-1;t.element.scrollTop+=i*t.containerHeight,Y(t),e.stopPropagation()})),t.event.bind(t.scrollbarX,"mousedown",(function(t){return t.stopPropagation()})),t.event.bind(t.scrollbarXRail,"mousedown",(function(e){var i=e.pageX-window.pageXOffset-t.scrollbarXRail.getBoundingClientRect().left>t.scrollbarXLeft?1:-1;t.element.scrollLeft+=i*t.containerWidth,Y(t),e.stopPropagation()}))},"drag-thumb":function(t){w(t,["containerWidth","contentWidth","pageX","railXWidth","scrollbarX","scrollbarXWidth","scrollLeft","x","scrollbarXRail"]),w(t,["containerHeight","contentHeight","pageY","railYHeight","scrollbarY","scrollbarYHeight","scrollTop","y","scrollbarYRail"])},keyboard:function(t){var e=t.element;t.event.bind(t.ownerDocument,"keydown",(function(i){if(!(i.isDefaultPrevented&&i.isDefaultPrevented()||i.defaultPrevented)&&(n(e,":hover")||n(t.scrollbarX,":focus")||n(t.scrollbarY,":focus"))){var r,l=document.activeElement?document.activeElement:t.ownerDocument.activeElement;if(l){if("IFRAME"===l.tagName)l=l.contentDocument.activeElement;else for(;l.shadowRoot;)l=l.shadowRoot.activeElement;if(n(r=l,"input,[contenteditable]")||n(r,"select,[contenteditable]")||n(r,"textarea,[contenteditable]")||n(r,"button,[contenteditable]"))return}var o=0,s=0;switch(i.which){case 37:o=i.metaKey?-t.contentWidth:i.altKey?-t.containerWidth:-30;break;case 38:s=i.metaKey?t.contentHeight:i.altKey?t.containerHeight:30;break;case 39:o=i.metaKey?t.contentWidth:i.altKey?t.containerWidth:30;break;case 40:s=i.metaKey?-t.contentHeight:i.altKey?-t.containerHeight:-30;break;case 32:s=i.shiftKey?t.containerHeight:-t.containerHeight;break;case 33:s=t.containerHeight;break;case 34:s=-t.containerHeight;break;case 36:s=t.contentHeight;break;case 35:s=-t.contentHeight;break;default:return}t.settings.suppressScrollX&&0!==o||t.settings.suppressScrollY&&0!==s||(e.scrollTop-=s,e.scrollLeft+=o,Y(t),function(i,r){var l=Math.floor(e.scrollTop);if(0===i){if(!t.scrollbarYActive)return!1;if(0===l&&r>0||l>=t.contentHeight-t.containerHeight&&r<0)return!t.settings.wheelPropagation}var n=e.scrollLeft;if(0===r){if(!t.scrollbarXActive)return!1;if(0===n&&i<0||n>=t.contentWidth-t.containerWidth&&i>0)return!t.settings.wheelPropagation}return!0}(o,s)&&i.preventDefault())}}))},wheel:function(t){var i=t.element;function r(r){var l=function(t){var e=t.deltaX,i=-1*t.deltaY;return"undefined"!==typeof e&&"undefined"!==typeof i||(e=-1*t.wheelDeltaX/6,i=t.wheelDeltaY/6),t.deltaMode&&1===t.deltaMode&&(e*=10,i*=10),e!==e&&i!==i&&(e=0,i=t.wheelDelta),t.shiftKey?[-i,-e]:[e,i]}(r),n=l[0],o=l[1];if(!function(t,r,l){if(!m.isWebKit&&i.querySelector("select:focus"))return!0;if(!i.contains(t))return!1;for(var n=t;n&&n!==i;){if(n.classList.contains(a.element.consuming))return!0;var o=e(n);if([o.overflow,o.overflowX,o.overflowY].join("").match(/(scroll|auto)/)){var s=n.scrollHeight-n.clientHeight;if(s>0&&!(0===n.scrollTop&&l>0)&&!(n.scrollTop===s&&l<0))return!0;var c=n.scrollWidth-n.clientWidth;if(c>0&&!(0===n.scrollLeft&&r<0)&&!(n.scrollLeft===c&&r>0))return!0}n=n.parentNode}return!1}(r.target,n,o)){var s=!1;t.settings.useBothWheelAxes?t.scrollbarYActive&&!t.scrollbarXActive?(o?i.scrollTop-=o*t.settings.wheelSpeed:i.scrollTop+=n*t.settings.wheelSpeed,s=!0):t.scrollbarXActive&&!t.scrollbarYActive&&(n?i.scrollLeft+=n*t.settings.wheelSpeed:i.scrollLeft-=o*t.settings.wheelSpeed,s=!0):(i.scrollTop-=o*t.settings.wheelSpeed,i.scrollLeft+=n*t.settings.wheelSpeed),Y(t),s=s||function(e,r){var l=Math.floor(i.scrollTop),n=0===i.scrollTop,o=l+i.offsetHeight===i.scrollHeight,s=0===i.scrollLeft,a=i.scrollLeft+i.offsetWidth===i.scrollWidth;return!(Math.abs(r)>Math.abs(e)?n||o:s||a)||!t.settings.wheelPropagation}(n,o),s&&!r.ctrlKey&&(r.stopPropagation(),r.preventDefault())}}"undefined"!==typeof window.onwheel?t.event.bind(i,"wheel",r):"undefined"!==typeof window.onmousewheel&&t.event.bind(i,"mousewheel",r)},touch:function(t){if(m.supportsTouch||m.supportsIePointer){var i=t.element,r={},l=0,n={},o=null;m.supportsTouch?(t.event.bind(i,"touchstart",u),t.event.bind(i,"touchmove",d),t.event.bind(i,"touchend",f)):m.supportsIePointer&&(window.PointerEvent?(t.event.bind(i,"pointerdown",u),t.event.bind(i,"pointermove",d),t.event.bind(i,"pointerup",f)):window.MSPointerEvent&&(t.event.bind(i,"MSPointerDown",u),t.event.bind(i,"MSPointerMove",d),t.event.bind(i,"MSPointerUp",f)))}function s(e,r){i.scrollTop-=r,i.scrollLeft-=e,Y(t)}function c(t){return t.targetTouches?t.targetTouches[0]:t}function h(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 u(t){if(h(t)){var e=c(t);r.pageX=e.pageX,r.pageY=e.pageY,l=(new Date).getTime(),null!==o&&clearInterval(o)}}function d(o){if(h(o)){var u=c(o),d={pageX:u.pageX,pageY:u.pageY},f=d.pageX-r.pageX,p=d.pageY-r.pageY;if(function(t,r,l){if(!i.contains(t))return!1;for(var n=t;n&&n!==i;){if(n.classList.contains(a.element.consuming))return!0;var o=e(n);if([o.overflow,o.overflowX,o.overflowY].join("").match(/(scroll|auto)/)){var s=n.scrollHeight-n.clientHeight;if(s>0&&!(0===n.scrollTop&&l>0)&&!(n.scrollTop===s&&l<0))return!0;var c=n.scrollLeft-n.clientWidth;if(c>0&&!(0===n.scrollLeft&&r<0)&&!(n.scrollLeft===c&&r>0))return!0}n=n.parentNode}return!1}(o.target,f,p))return;s(f,p),r=d;var b=(new Date).getTime(),g=b-l;g>0&&(n.x=f/g,n.y=p/g,l=b),function(e,r){var l=Math.floor(i.scrollTop),n=i.scrollLeft,o=Math.abs(e),s=Math.abs(r);if(s>o){if(r<0&&l===t.contentHeight-t.containerHeight||r>0&&0===l)return 0===window.scrollY&&r>0&&m.isChrome}else if(o>s&&(e<0&&n===t.contentWidth-t.containerWidth||e>0&&0===n))return!0;return!0}(f,p)&&o.preventDefault()}}function f(){t.settings.swipeEasing&&(clearInterval(o),o=setInterval((function(){t.isInitialized?clearInterval(o):n.x||n.y?Math.abs(n.x)<.01&&Math.abs(n.y)<.01?clearInterval(o):(s(30*n.x,30*n.y),n.x*=.8,n.y*=.8):clearInterval(o)}),10))}}},W=function(t,l){var n=this;if(void 0===l&&(l={}),"string"===typeof t&&(t=document.querySelector(t)),!t||!t.nodeName)throw new Error("no element is specified to initialize PerfectScrollbar");for(var o in this.element=t,t.classList.add(a.main),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},l)n.settings[o]=l[o];this.containerWidth=null,this.containerHeight=null,this.contentWidth=null,this.contentHeight=null;var s,c,h=function(){return t.classList.add(a.state.focus)},u=function(){return t.classList.remove(a.state.focus)};this.isRtl="rtl"===e(t).direction,this.isNegativeScroll=(c=t.scrollLeft,t.scrollLeft=-1,s=t.scrollLeft<0,t.scrollLeft=c,s),this.negativeScrollAdjustment=this.isNegativeScroll?t.scrollWidth-t.clientWidth:0,this.event=new p,this.ownerDocument=t.ownerDocument||document,this.scrollbarXRail=r(a.element.rail("x")),t.appendChild(this.scrollbarXRail),this.scrollbarX=r(a.element.thumb("x")),this.scrollbarXRail.appendChild(this.scrollbarX),this.scrollbarX.setAttribute("tabindex",0),this.event.bind(this.scrollbarX,"focus",h),this.event.bind(this.scrollbarX,"blur",u),this.scrollbarXActive=null,this.scrollbarXWidth=null,this.scrollbarXLeft=null;var d=e(this.scrollbarXRail);this.scrollbarXBottom=parseInt(d.bottom,10),isNaN(this.scrollbarXBottom)?(this.isScrollbarXUsingBottom=!1,this.scrollbarXTop=v(d.top)):this.isScrollbarXUsingBottom=!0,this.railBorderXWidth=v(d.borderLeftWidth)+v(d.borderRightWidth),i(this.scrollbarXRail,{display:"block"}),this.railXMarginWidth=v(d.marginLeft)+v(d.marginRight),i(this.scrollbarXRail,{display:""}),this.railXWidth=null,this.railXRatio=null,this.scrollbarYRail=r(a.element.rail("y")),t.appendChild(this.scrollbarYRail),this.scrollbarY=r(a.element.thumb("y")),this.scrollbarYRail.appendChild(this.scrollbarY),this.scrollbarY.setAttribute("tabindex",0),this.event.bind(this.scrollbarY,"focus",h),this.event.bind(this.scrollbarY,"blur",u),this.scrollbarYActive=null,this.scrollbarYHeight=null,this.scrollbarYTop=null;var f=e(this.scrollbarYRail);this.scrollbarYRight=parseInt(f.right,10),isNaN(this.scrollbarYRight)?(this.isScrollbarYUsingRight=!1,this.scrollbarYLeft=v(f.left)):this.isScrollbarYUsingRight=!0,this.scrollbarYOuterWidth=this.isRtl?function(t){var i=e(t);return v(i.width)+v(i.paddingLeft)+v(i.paddingRight)+v(i.borderLeftWidth)+v(i.borderRightWidth)}(this.scrollbarY):null,this.railBorderYWidth=v(f.borderTopWidth)+v(f.borderBottomWidth),i(this.scrollbarYRail,{display:"block"}),this.railYMarginHeight=v(f.marginTop)+v(f.marginBottom),i(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},this.isAlive=!0,this.settings.handlers.forEach((function(t){return y[t](n)})),this.lastScrollTop=Math.floor(t.scrollTop),this.lastScrollLeft=t.scrollLeft,this.event.bind(this.element,"scroll",(function(t){return n.onScroll(t)})),Y(this)};W.prototype.update=function(){this.isAlive&&(this.negativeScrollAdjustment=this.isNegativeScroll?this.element.scrollWidth-this.element.clientWidth:0,i(this.scrollbarXRail,{display:"block"}),i(this.scrollbarYRail,{display:"block"}),this.railXMarginWidth=v(e(this.scrollbarXRail).marginLeft)+v(e(this.scrollbarXRail).marginRight),this.railYMarginHeight=v(e(this.scrollbarYRail).marginTop)+v(e(this.scrollbarYRail).marginBottom),i(this.scrollbarXRail,{display:"none"}),i(this.scrollbarYRail,{display:"none"}),Y(this),g(this,"top",0,!1,!0),g(this,"left",0,!1,!0),i(this.scrollbarXRail,{display:""}),i(this.scrollbarYRail,{display:""}))},W.prototype.onScroll=function(t){this.isAlive&&(Y(this),g(this,"top",this.element.scrollTop-this.lastScrollTop),g(this,"left",this.element.scrollLeft-this.lastScrollLeft),this.lastScrollTop=Math.floor(this.element.scrollTop),this.lastScrollLeft=this.element.scrollLeft)},W.prototype.destroy=function(){this.isAlive&&(this.event.unbindAll(),o(this.scrollbarX),o(this.scrollbarY),o(this.scrollbarXRail),o(this.scrollbarYRail),this.removePsClasses(),this.element=null,this.scrollbarX=null,this.scrollbarY=null,this.scrollbarXRail=null,this.scrollbarYRail=null,this.isAlive=!1)},W.prototype.removePsClasses=function(){this.element.className=this.element.className.split(" ").filter((function(t){return!t.match(/^ps([-_].+|)$/)})).join(" ")},t.exports=W}}]);
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.