(window.webpackJsonp=window.webpackJsonp||[]).push([["npm.dom-align"],{"91a5":function(t,e,o){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(t,e,o){return e in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function i(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,n)}return o}function a(t){for(var e=1;e=0&&o.left>=0&&o.bottom>o.top&&o.right>o.left?o:null}function q(t){var e,o,n;if(N.isWindow(t)||9===t.nodeType){var r=N.getWindow(t);e={left:N.getWindowScrollLeft(r),top:N.getWindowScrollTop(r)},o=N.viewportWidth(r),n=N.viewportHeight(r)}else e=N.offset(t),o=N.outerWidth(t),n=N.outerHeight(t);return e.width=o,e.height=n,e}function G(t,e){var o=e.charAt(0),n=e.charAt(1),r=t.width,i=t.height,a=t.left,f=t.top;return"c"===o?f+=i/2:"b"===o&&(f+=i),"c"===n?a+=r/2:"r"===n&&(a+=r),{left:a,top:f}}function K(t,e,o,n,r){var i=G(e,o[1]),a=G(t,o[0]),f=[a.left-i.left,a.top-i.top];return{left:Math.round(t.left-f[0]+n[0]-r[0]),top:Math.round(t.top-f[1]+n[1]-r[1])}}function Q(t,e,o){return t.lefto.right}function tt(t,e,o){return t.topo.bottom}function et(t,e,o){var n=[];return N.each(t,(function(t){n.push(t.replace(e,(function(t){return o[t]})))})),n}function ot(t,e){return t[e]=-t[e],t}function nt(t,e){return(/%$/.test(t)?parseInt(t.substring(0,t.length-1),10)/100*e:parseInt(t,10))||0}function rt(t,e){t[0]=nt(t[0],e.width),t[1]=nt(t[1],e.height)}function it(t,e,o,n){var r=o.points,i=o.offset||[0,0],a=o.targetOffset||[0,0],f=o.overflow,u=o.source||t;i=[].concat(i),a=[].concat(a);var l={},c=0,s=Z(u,!(!(f=f||{})||!f.alwaysByViewport)),p=q(u);rt(i,p),rt(a,e);var d=K(p,e,r,i,a),h=N.merge(p,d);if(s&&(f.adjustX||f.adjustY)&&n){if(f.adjustX&&Q(d,p,s)){var g=et(r,/[lr]/gi,{l:"r",r:"l"}),m=ot(i,0),v=ot(a,0);(function(t,e,o){return t.left>o.right||t.left+e.widtho.bottom||t.top+e.height=o.left&&r.left+i.width>o.right&&(i.width-=r.left+i.width-o.right),n.adjustX&&r.left+i.width>o.right&&(r.left=Math.max(o.right-i.width,o.left)),n.adjustY&&r.top=o.top&&r.top+i.height>o.bottom&&(i.height-=r.top+i.height-o.bottom),n.adjustY&&r.top+i.height>o.bottom&&(r.top=Math.max(o.bottom-i.height,o.top)),N.mix(r,i)}(d,p,s,l))}return h.width!==p.width&&N.css(u,"width",N.width(u)+h.width-p.width),h.height!==p.height&&N.css(u,"height",N.height(u)+h.height-p.height),N.offset(u,{left:h.left,top:h.top},{useCssRight:o.useCssRight,useCssBottom:o.useCssBottom,useCssTransform:o.useCssTransform,ignoreShake:o.ignoreShake}),{points:r,offset:i,targetOffset:a,overflow:l}}function at(t,e,o){var n=o.target||e;return it(t,q(n),o,!function(t,e){var o=Z(t,e),n=q(t);return!o||n.left+n.width<=o.left||n.top+n.height<=o.top||n.left>=o.right||n.top>=o.bottom}(n,o.overflow&&o.overflow.alwaysByViewport))}function ft(t,e,o){var n,r,i=N.getDocument(t),f=i.defaultView||i.parentWindow,u=N.getWindowScrollLeft(f),l=N.getWindowScrollTop(f),c=N.viewportWidth(f),s=N.viewportHeight(f);n="pageX"in e?e.pageX:u+e.clientX,r="pageY"in e?e.pageY:l+e.clientY;var p=n>=0&&n<=u+c&&r>=0&&r<=l+s;return it(t,{left:n,top:r,width:0,height:0},a({},o,{points:[o.points[0],"cc"]}),p)}at.__getOffsetParent=J,at.__getVisibleRectForElement=Z}}]);