You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
18 KiB
1 line
18 KiB
5 years ago
|
(this.webpackJsonph5=this.webpackJsonph5||[]).push([[164],{1125:function(e,t,o){"use strict";var n=o(1126);e.exports=function(e,t,o){o=o||{},9===t.nodeType&&(t=n.getWindow(t));var a=o.allowHorizontalScroll,r=o.onlyScrollIfNeeded,i=o.alignWithTop,l=o.alignWithLeft,s=o.offsetTop||0,c=o.offsetLeft||0,p=o.offsetBottom||0,d=o.offsetRight||0;a=void 0===a||a;var f=n.isWindow(t),m=n.offset(e),u=n.outerHeight(e),v=n.outerWidth(e),h=void 0,g=void 0,w=void 0,b=void 0,y=void 0,E=void 0,x=void 0,N=void 0,I=void 0,S=void 0;f?(x=t,S=n.height(x),I=n.width(x),N={left:n.scrollLeft(x),top:n.scrollTop(x)},y={left:m.left-N.left-c,top:m.top-N.top-s},E={left:m.left+v-(N.left+I)+d,top:m.top+u-(N.top+S)+p},b=N):(h=n.offset(t),g=t.clientHeight,w=t.clientWidth,b={left:t.scrollLeft,top:t.scrollTop},y={left:m.left-(h.left+(parseFloat(n.css(t,"borderLeftWidth"))||0))-c,top:m.top-(h.top+(parseFloat(n.css(t,"borderTopWidth"))||0))-s},E={left:m.left+v-(h.left+w+(parseFloat(n.css(t,"borderRightWidth"))||0))+d,top:m.top+u-(h.top+g+(parseFloat(n.css(t,"borderBottomWidth"))||0))+p}),y.top<0||0<E.top?!0===i||!1!==i&&y.top<0?n.scrollTop(t,b.top+y.top):n.scrollTop(t,b.top+E.top):r||((i=void 0===i||!!i)?n.scrollTop(t,b.top+y.top):n.scrollTop(t,b.top+E.top)),a&&(y.left<0||0<E.left?!0===l||!1!==l&&y.left<0?n.scrollLeft(t,b.left+y.left):n.scrollLeft(t,b.left+E.left):r||((l=void 0===l||!!l)?n.scrollLeft(t,b.left+y.left):n.scrollLeft(t,b.left+E.left)))}},1126:function(e,t,o){"use strict";var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};function r(e,t){var o=e["page"+(t?"Y":"X")+"Offset"],n="scroll"+(t?"Top":"Left");if("number"!=typeof o){var a=e.document;"number"!=typeof(o=a.documentElement[n])&&(o=a.body[n])}return o}function i(e){return r(e)}function l(e){return r(e,!0)}function s(e){var t,o,n,a,r,s,c,p=(a=n=void 0,s=(r=(t=e).ownerDocument).body,c=r&&r.documentElement,n=(o=t.getBoundingClientRect()).left,a=o.top,{left:n-=c.clientLeft||s.clientLeft||0,top:a-=c.clientTop||s.clientTop||0}),d=e.ownerDocument,f=d.defaultView||d.parentWindow;return p.left+=i(f),p.top+=l(f),p}var c=new RegExp("^("+/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source+")(?!px)[a-z%]+$","i"),p=/^(top|right|bottom|left)$/,d="currentStyle",f="runtimeStyle",m="left",u=void 0;function v(e,t){for(var o=0;o<e.length;o++)t(e[o])}function h(e){return"border-box"===u(e,"boxSizing")}"undefined"!=typeof window&&(u=window.getComputedStyle?function(e,t,o){var n="",a=e.ownerDocument,r=o||a.defaultView.getComputedStyle(e,null);return r&&(n=r.getPropertyValue(t)||r[t]),n}:function(e,t){var o=e[d]&&e[d][t];if(c.test(o)&&!p.test(t)){var n=e.style,a=n[m],r=e[f][m];e[f][m]=e[d][m],n[m]="fontSize"===t?"1em":o||0,o=n.pixelLeft+"px",n[m]=a,e[f][m]=r}return""===o?"auto":o});var g=["margin","border","padding"];function w(e,t,o){var n=0,a=void 0,r=void 0,i=void 0;for(r=0;r<t.length;r++)if(a=t[r])for(i=0;i<o.length;i++){var l;l="border"===a?a+o[i]+"Width":a+o[i],n+=parseFloat(u(e,l))||0}return n}function b(e){return null!=e&&e==e.window}var y={};function E(e,t,o){if(b(e))return"width"===t?y.viewportWidth(e):y.viewportHeight(e);if(9===e.nodeType)return"width"===t?y.docWidth(e):y.docHeight(e);var n="width"===t?["Left","Right"]:["Top","Bottom"],a="width"===t?e.offsetWidth:e.offsetHeight,r=(u(e),h(e)),i=0;(null==a||a<=0)&&(a=void 0,(null==(i=u(e,t))||Number(i)<0)&&(i=e.style[t]||0),i=parseFloat(i)||0),void 0===o&&(o=r?1:-1);var l=void 0!==a||r,s=a||i;if(-1===o)return l?s-w(e,["border","padding"],n):i;if(l){var c=2===o?-w(e,["border"],n):w(e,["margin"],n);return s+(1===o?0:c)}return i+w(e,g.slice(o),n)}v(["Width","Height"],(function(e){y["doc"+e]=function(t){var o=t.document;return Math.max(o.documentElement["scroll"+e],o.body["scroll"+e],y["viewport"+e](o))},y["viewport"+e]=function(t){var o="client"+e,n=t.document,a=n.body,r=n.do
|