]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Remove Tether from package.json + Update Popper
authorJohann-S <johann.servoire@gmail.com>
Mon, 17 Apr 2017 13:20:53 +0000 (15:20 +0200)
committerJohann-S <johann.servoire@gmail.com>
Sun, 14 May 2017 09:41:19 +0000 (11:41 +0200)
docs/assets/js/vendor/popper.min.js
package.json

index fffdb1d1bf789fdda1337a1b973e334a2c9b164b..529fd210851dfb4be10476b212958ef159c23310 100644 (file)
@@ -1,3 +1,3 @@
-var _Mathfloor=Math.floor,_Mathmin=Math.min,_Mathround=Math.round,_Mathmax=Math.max,_typeof='function'==typeof Symbol&&'symbol'==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&'function'==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?'symbol':typeof e};(function(e,t){'object'===('undefined'==typeof exports?'undefined':_typeof(exports))&&'undefined'!=typeof module?module.exports=t():'function'==typeof define&&define.amd?define(t):e.Popper=t()})(this,function(){'use strict';function e(ye,we){if(1!==ye.nodeType)return[];var xe=window.getComputedStyle(ye,null);return we?xe[we]:xe}function t(ye){return'HTML'===ye.nodeName?ye:ye.parentNode||ye.host}function o(ye){if(!ye||-1!==['HTML','BODY','#document'].indexOf(ye.nodeName))return window.document.body;var we=e(ye),xe=we.overflow,ve=we.overflowX,Oe=we.overflowY;return /(auto|scroll)/.test(xe+Oe+ve)?ye:o(t(ye))}function r(ye){return'HTML'===ye.nodeName||ye.firstElementChild.offsetParent===ye}function s(ye){return null===ye.parentNode?ye:s(ye.parentNode)}function p(ye){var we=ye&&ye.offsetParent,xe=we&&we.nodeName;return xe&&'BODY'!==xe&&'HTML'!==xe?we:window.document.documentElement}function f(ye,we){if(!ye||!ye.nodeType||!we||!we.nodeType)return window.document.documentElement;var xe=ye.compareDocumentPosition(we)&Node.DOCUMENT_POSITION_FOLLOWING,ve=xe?ye:we,Oe=xe?we:ye,Ee=document.createRange();Ee.setStart(ve,0),Ee.setEnd(Oe,0);var Se=Ee.commonAncestorContainer;if(ye!==Se&&we!==Se)return r(Se)?Se:p(Se);var Le=s(ye);return Le.host?f(Le.host,we):f(ye,s(we).host)}function d(ye){var we=1<arguments.length&&void 0!==arguments[1]?arguments[1]:'top',xe='top'===we?'scrollTop':'scrollLeft',ve=ye.nodeName;if('BODY'===ve||'HTML'===ve){var Oe=window.document.documentElement,Ee=window.document.scrollingElement||Oe;return Ee[xe]}return ye[xe]}function l(ye,we){var xe=2<arguments.length&&void 0!==arguments[2]&&arguments[2],ve=d(we,'top'),Oe=d(we,'left'),Ee=xe?-1:1;return ye.top+=ve*Ee,ye.bottom+=ve*Ee,ye.left+=Oe*Ee,ye.right+=Oe*Ee,ye}function m(ye,we){var xe='x'===we?'Left':'Top',ve='Left'==xe?'Right':'Bottom';return+ye['border'+xe+'Width'].split('px')[0]+ +ye['border'+ve+'Width'].split('px')[0]}function c(){var ye=window.document.body,we=window.document.documentElement;return{height:_Mathmax(ye.scrollHeight,ye.offsetHeight,we.clientHeight,we.scrollHeight,we.offsetHeight),width:_Mathmax(ye.scrollWidth,ye.offsetWidth,we.clientWidth,we.scrollWidth,we.offsetWidth)}}function h(ye){return re({},ye,{right:ye.left+ye.width,bottom:ye.top+ye.height})}function u(ye){var we=-1!==navigator.appVersion.indexOf('MSIE 10'),xe={};if(we){try{xe=ye.getBoundingClientRect()}catch(He){}var ve=d(ye,'top'),Oe=d(ye,'left');xe.top+=ve,xe.left+=Oe}else xe=ye.getBoundingClientRect();var Se,Le,Ee={left:xe.left,top:xe.top,width:xe.right-xe.left,height:xe.bottom-xe.top};if('HTML'===ye.nodeName){var Ne=c();Se=Ne.width,Le=Ne.height}else Se=ye.clientWidth||Ee.right-Ee.left,Le=ye.clientHeight||Ee.bottom-Ee.top;var Te=ye.offsetWidth-Se,Pe=ye.offsetHeight-Le;if(Te||Pe){var We=e(ye);Te-=m(We,'x'),Pe-=m(We,'y'),Ee.width-=Te,Ee.height-=Pe}return h(Ee)}function g(ye,we){var xe=-1!==navigator.appVersion.indexOf('MSIE 10'),ve=u(ye),Oe=u(we),Ee=o(ye),Se={top:ve.top-Oe.top,left:ve.left-Oe.left,bottom:ve.top-Oe.top+ve.height,right:ve.left-Oe.left+ve.width,width:ve.width,height:ve.height},Le='HTML'===we.nodeName;if(Le||'BODY'===we.nodeName){var Ne=e(we),Te=xe&&Le?0:+Ne.borderTopWidth.split('px')[0],Pe=xe&&Le?0:+Ne.borderLeftWidth.split('px')[0],We=xe&&Le?0:+Ne.marginTop.split('px')[0],He=xe&&Le?0:+Ne.marginLeft.split('px')[0];Se.top-=Te-We,Se.bottom-=Te-We,Se.left-=Pe-He,Se.right-=Pe-He,Se.marginTop=We,Se.marginLeft=He}return we.contains(Ee)&&(xe||'BODY'!==Ee.nodeName)&&(Se=l(Se,we)),Se}function w(ye){var we=window.document.documentElement,xe=g(ye,we),ve=_Mathmax(we.clientWidth,window.innerWidth||0),Oe=_Mathmax(we.clientHeight,window.innerHeight||0),Ee=d(we),Se=d(we,'left'),Le={top:Ee-xe.top+xe.marginTop,left:Se-xe.left+xe.marginLeft,width:ve,height:Oe};return h(Le)}function v(ye){var we=ye.nodeName;return'BODY'===we||'HTML'===we?!1:'fixed'===e(ye,'position')||v(t(ye))}function O(ye,we,xe,ve){var Oe={top:0,left:0},Ee=f(ye,we);if('viewport'===ve)Oe=w(Ee);else{var Se;'scrollParent'===ve?(Se=o(t(ye)),'BODY'===Se.nodeName&&(Se=window.document.documentElement)):'window'===ve?Se=window.document.documentElement:Se=ve;var Le=g(Se,Ee);if('HTML'===Se.nodeName&&!v(Ee)){var Ne=c(),Te=Ne.height,Pe=Ne.width;Oe.top+=Le.top-Le.marginTop,Oe.bottom=Te+Le.top,Oe.left+=Le.left-Le.marginLeft,Oe.right=Pe+Le.left}else Oe=Le}return Oe.left+=xe,Oe.top+=xe,Oe.right-=xe,Oe.bottom-=xe,Oe}function E(ye,we,xe,ve){if(-1===ye.indexOf('auto'))return ye;var Oe=O(xe,ve,0,'scrollParent'),Ee={top:we.top-Oe.top,right:Oe.right-we.right,bottom:Oe.bottom-we.bottom,left:we.left-Oe.left},Se=Object.keys(Ee).sort(function(Ne,Te){return Ee[Te]-Ee[Ne]})[0],Le=ye.split('-')[1];return Se+(Le?'-'+Le:'')}function N(ye,we){return Array.prototype.find?ye.find(we):ye.filter(we)[0]}function T(ye,we,xe){if(Array.prototype.findIndex)return ye.findIndex(function(Oe){return Oe[we]===xe});var ve=N(ye,function(Oe){return Oe[we]===xe});return ye.indexOf(ve)}function W(ye){var we=window.getComputedStyle(ye),xe=parseFloat(we.marginTop)+parseFloat(we.marginBottom),ve=parseFloat(we.marginLeft)+parseFloat(we.marginRight),Oe={width:ye.offsetWidth+ve,height:ye.offsetHeight+xe};return Oe}function H(ye){var we={left:'right',right:'left',bottom:'top',top:'bottom'};return ye.replace(/left|right|bottom|top/g,function(xe){return we[xe]})}function B(ye,we,xe,ve){ve=ve.split('-')[0];var Oe=W(we),Ee={position:ye,width:Oe.width,height:Oe.height},Se=-1!==['right','left'].indexOf(ve),Le=Se?'top':'left',Ne=Se?'left':'top',Te=Se?'height':'width',Pe=Se?'width':'height';return Ee[Le]=xe[Le]+xe[Te]/2-Oe[Te]/2,Ee[Ne]=ve===Ne?xe[Ne]-Oe[Pe]:xe[H(Ne)],Ee}function C(ye,we,xe){var ve=f(we,xe);return g(xe,ve)}function D(ye){for(var we=[!1,'ms','webkit','moz','o'],xe=ye.charAt(0).toUpperCase()+ye.slice(1),ve=0;ve<we.length-1;ve++){var Oe=we[ve],Ee=Oe?''+Oe+xe:ye;if('undefined'!=typeof window.document.body.style[Ee])return Ee}return null}function M(ye,we){var xe=2<arguments.length&&void 0!==arguments[2]?arguments[2]:'top',ve=o(ye),Oe=0,Ee=v(we);return r('BODY'===ve.nodeName?window.document.documentElement:ve)&&(we.contains(ve)&&Ee||!Ee)&&(Oe=d(ve,xe)),we===ve||-1===['BODY','HTML'].indexOf(ve.nodeName)?Oe+M(t(ve),we,xe):Oe}function k(ye){return ye&&'[object Function]'==={}.toString.call(ye)}function A(ye,we){return ye.some(function(xe){var ve=xe.name,Oe=xe.enabled;return Oe&&ve===we})}function R(ye,we,xe){var ve=N(ye,function(Oe){var Ee=Oe.name;return Ee===we});return!!ve&&ye.some(function(Oe){return Oe.name===xe&&Oe.enabled&&Oe.order<ve.order})}function Y(ye){return''!==ye&&!isNaN(parseFloat(ye))&&isFinite(ye)}function I(ye,we){return window.removeEventListener('resize',we.updateBound),we.scrollParents.forEach(function(xe){xe.removeEventListener('scroll',we.updateBound)}),we.updateBound=null,we.scrollParents=[],we.scrollElement=null,we.eventsEnabled=!1,we}function U(ye,we,xe){var ve=void 0===xe?ye:ye.slice(0,T(ye,'name',xe));return ve.forEach(function(Oe){Oe.enabled&&k(Oe.function)&&(we=Oe.function(we,Oe))}),we}function z(ye,we){Object.keys(we).forEach(function(xe){var ve=we[xe];!1===ve?ye.removeAttribute(xe):ye.setAttribute(xe,we[xe])})}function F(ye,we){Object.keys(we).forEach(function(xe){var ve='';-1!==['width','height','top','right','bottom','left'].indexOf(xe)&&Y(we[xe])&&(ve='px'),ye.style[xe]=we[xe]+ve})}function q(ye,we,xe,ve){var Oe='BODY'===ye.nodeName,Ee=Oe?window:ye;Ee.addEventListener(we,xe,{passive:!0}),Oe||q(o(Ee.parentNode),we,xe,ve),ve.push(Ee)}function j(ye,we,xe,ve){xe.updateBound=ve,window.addEventListener('resize',xe.updateBound,{passive:!0});var Oe=o(ye);return q(Oe,'scroll',xe.updateBound,xe.scrollParents),xe.scrollElement=Oe,xe.eventsEnabled=!0,xe}function X(ye){return'end'===ye?'start':'start'===ye?'end':ye}for(var oe=function classCallCheck(ye,we){if(!(ye instanceof we))throw new TypeError('Cannot call a class as a function')},ie=function(){function ye(we,xe){for(var Oe,ve=0;ve<xe.length;ve++)Oe=xe[ve],Oe.enumerable=Oe.enumerable||!1,Oe.configurable=!0,('value'in Oe)&&(Oe.writable=!0),Object.defineProperty(we,Oe.key,Oe)}return function(we,xe,ve){return xe&&ye(we.prototype,xe),ve&&ye(we,ve),we}}(),ne=function defineProperty(ye,we,xe){return(we in ye)?Object.defineProperty(ye,we,{value:xe,enumerable:!0,configurable:!0,writable:!0}):ye[we]=xe,ye},re=Object.assign||function(ye){for(var xe,we=1;we<arguments.length;we++)for(var ve in xe=arguments[we],xe)Object.prototype.hasOwnProperty.call(xe,ve)&&(ye[ve]=xe[ve]);return ye},se=['native code','[object MutationObserverConstructor]'],pe=function isNative(ye){return se.some(function(we){return-1<(ye||'').toString().indexOf(we)})},fe='undefined'!=typeof window,de=['Edge','Trident','Firefox'],ae=0,le=0;le<de.length;le+=1)if(fe&&0<=navigator.userAgent.indexOf(de[le])){ae=1;break}var me=fe&&pe(window.MutationObserver),ce=me?function(ye){var we=!1,xe=0,ve=document.createElement('span'),Oe=new MutationObserver(function(){ye(),we=!1});return Oe.observe(ve,{attributes:!0}),function(){we||(we=!0,ve.setAttribute('x-index',xe),++xe)}}:function(ye){var we=!1;return function(){we||(we=!0,setTimeout(function(){we=!1,ye()},ae))}},be=function(){function ye(we,xe){var ve=this,Oe=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};oe(this,ye),this.scheduleUpdate=function(){return requestAnimationFrame(ve.update)},this.update=ce(this.update.bind(this)),this.options=re({},ye.Defaults,Oe),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=we.jquery?we[0]:we,this.popper=xe.jquery?xe[0]:xe,F(this.popper,{position:'absolute'}),this.modifiers=Object.keys(ye.Defaults.modifiers).map(function(Se){return re({name:Se},ye.Defaults.modifiers[Se])}),this.modifiers=this.modifiers.map(function(Se){var Le=Oe.modifiers&&Oe.modifiers[Se.name]||{};return re({},Se,Le)}),Oe.modifiers&&(this.options.modifiers=re({},ye.Defaults.modifiers,Oe.modifiers),Object.keys(Oe.modifiers).forEach(function(Se){if(void 0===ye.Defaults.modifiers[Se]){var Le=Oe.modifiers[Se];Le.name=Se,ve.modifiers.push(Le)}})),this.modifiers=this.modifiers.sort(function(Se,Le){return Se.order-Le.order}),this.modifiers.forEach(function(Se){Se.enabled&&k(Se.onLoad)&&Se.onLoad(ve.reference,ve.popper,ve.options,Se,ve.state)}),this.update();var Ee=this.options.eventsEnabled;Ee&&this.enableEventListeners(),this.state.eventsEnabled=Ee}return ie(ye,[{key:'update',value:function(){if(!this.state.isDestroyed){var xe={instance:this,styles:{},attributes:{},flipped:!1,offsets:{}};xe.offsets.reference=C(this.state,this.popper,this.reference),xe.placement=E(this.options.placement,xe.offsets.reference,this.popper,this.reference),xe.originalPlacement=this.options.placement,xe.offsets.popper=B(this.state,this.popper,xe.offsets.reference,xe.placement),xe=U(this.modifiers,xe),this.state.isCreated?this.options.onUpdate(xe):(this.state.isCreated=!0,this.options.onCreate(xe))}}},{key:'destroy',value:function(){return this.state.isDestroyed=!0,A(this.modifiers,'applyStyle')&&(this.popper.removeAttribute('x-placement'),this.popper.style.left='',this.popper.style.position='',this.popper.style.top='',this.popper.style[D('transform')]=''),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}},{key:'enableEventListeners',value:function(){this.state.eventsEnabled||(this.state=j(this.reference,this.options,this.state,this.scheduleUpdate))}},{key:'disableEventListeners',value:function(){this.state.eventsEnabled&&(window.cancelAnimationFrame(this.scheduleUpdate),this.state=I(this.reference,this.state))}}]),ye}();return be.Utils={computeAutoPlacement:E,debounce:ce,findIndex:T,getBordersSize:m,getBoundaries:O,getBoundingClientRect:u,getClientRect:h,getOffsetParent:p,getOffsetRect:function(ye){var we;if('HTML'===ye.nodeName){var xe=c(),ve=xe.width,Oe=xe.height;we={width:ve,height:Oe,left:0,top:0}}else we={width:ye.offsetWidth,height:ye.offsetHeight,left:ye.offsetLeft,top:ye.offsetTop};return h(we)},getOffsetRectRelativeToArbitraryNode:g,getOuterSizes:W,getParentNode:t,getPopperOffsets:B,getReferenceOffsets:C,getScroll:d,getScrollParent:o,getStyleComputedProperty:e,getSupportedPropertyName:D,getTotalScroll:M,getWindowSizes:c,isFixed:v,isFunction:k,isModifierEnabled:A,isModifierRequired:R,isNative:pe,isNumeric:Y,removeEventListeners:I,runModifiers:U,setAttributes:z,setStyles:F,setupEventListeners:j},be.placements=['auto','auto-start','auto-end','top','top-start','top-end','right','right-start','right-end','bottom','bottom-start','bottom-end','left','left-start','left-end'],be.Defaults={placement:'bottom',eventsEnabled:!0,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,function:function(ye){var we=ye.placement,xe=we.split('-')[0],ve=we.split('-')[1];if(ve){var Oe=ye.offsets.reference,Ee=h(ye.offsets.popper),Se=-1!==['bottom','top'].indexOf(xe),Le=Se?'left':'top',Ne=Se?'width':'height',Te={start:ne({},Le,Oe[Le]),end:ne({},Le,Oe[Le]+Oe[Ne]-Ee[Ne])};ye.offsets.popper=re({},Ee,Te[ve])}return ye}},offset:{order:200,enabled:!0,function:function(ye,we){var Oe,xe=ye.placement,ve=ye.offsets.popper;return Y(we.offset)?Oe=[we.offset,0]:(Oe=we.offset.split(' '),Oe=Oe.map(function(Ee,Se){var Le=Ee.match(/(\d*\.?\d*)(.*)/),Ne=+Le[1],Te=Le[2],Pe=-1!==xe.indexOf('right')||-1!==xe.indexOf('left');1===Se&&(Pe=!Pe);var We=Pe?'height':'width';if(0===Te.indexOf('%')){var He;switch(Te){case'%p':He=ye.offsets.popper;break;case'%':case'$r':default:He=ye.offsets.reference;}var Be=h(He),Ce=Be[We];return Ce/100*Ne}if('vh'===Te||'vw'===Te){var De;return De='vh'===Te?_Mathmax(document.documentElement.clientHeight,window.innerHeight||0):_Mathmax(document.documentElement.clientWidth,window.innerWidth||0),De/100*Ne}return'px'===Te?+Ne:+Ee})),-1===ye.placement.indexOf('left')?-1===ye.placement.indexOf('right')?-1===ye.placement.indexOf('top')?-1!==ye.placement.indexOf('bottom')&&(ve.left+=Oe[0],ve.top+=Oe[1]||0):(ve.left+=Oe[0],ve.top-=Oe[1]||0):(ve.top+=Oe[0],ve.left+=Oe[1]||0):(ve.top+=Oe[0],ve.left-=Oe[1]||0),ye},offset:0},preventOverflow:{order:300,enabled:!0,function:function(ye,we){var xe=we.boundariesElement||p(ye.instance.popper),ve=O(ye.instance.popper,ye.instance.reference,we.padding,xe);we.boundaries=ve;var Oe=we.priority,Ee=h(ye.offsets.popper),Se={primary:function(Ne){var Te=Ee[Ne];return Ee[Ne]<ve[Ne]&&!we.escapeWithReference&&(Te=_Mathmax(Ee[Ne],ve[Ne])),ne({},Ne,Te)},secondary:function(Ne){var Te='right'===Ne?'left':'top',Pe=Ee[Te];return Ee[Ne]>ve[Ne]&&!we.escapeWithReference&&(Pe=_Mathmin(Ee[Te],ve[Ne]-('right'===Ne?Ee.width:Ee.height))),ne({},Te,Pe)}};return Oe.forEach(function(Le){var Ne=-1===['left','top'].indexOf(Le)?'secondary':'primary';Ee=re({},Ee,Se[Ne](Le))}),ye.offsets.popper=Ee,ye},priority:['left','right','top','bottom'],padding:5,boundariesElement:'scrollParent'},keepTogether:{order:400,enabled:!0,function:function(ye){var we=h(ye.offsets.popper),xe=ye.offsets.reference,ve=ye.placement.split('-')[0],Oe=_Mathfloor,Ee=-1!==['top','bottom'].indexOf(ve),Se=Ee?'right':'bottom',Le=Ee?'left':'top',Ne=Ee?'width':'height';return we[Se]<Oe(xe[Le])&&(ye.offsets.popper[Le]=Oe(xe[Le])-we[Ne]),we[Le]>Oe(xe[Se])&&(ye.offsets.popper[Le]=Oe(xe[Se])),ye}},arrow:{order:500,enabled:!0,function:function(ye,we){if(!R(ye.instance.modifiers,'arrow','keepTogether'))return console.warn('WARNING: `keepTogether` modifier is required by arrow modifier in order to work, be sure to include it before `arrow`!'),ye;var xe=we.element;if('string'==typeof xe){if(xe=ye.instance.popper.querySelector(xe),!xe)return ye;}else if(!ye.instance.popper.contains(xe))return console.warn('WARNING: `arrow.element` must be child of its popper element!'),ye;var ve=ye.placement.split('-')[0],Oe=h(ye.offsets.popper),Ee=ye.offsets.reference,Se=-1!==['left','right'].indexOf(ve),Le=Se?'height':'width',Ne=Se?'top':'left',Te=Se?'left':'top',Pe=Se?'bottom':'right',We=W(xe)[Le];Ee[Pe]-We<Oe[Ne]&&(ye.offsets.popper[Ne]-=Oe[Ne]-(Ee[Pe]-We)),Ee[Ne]+We>Oe[Pe]&&(ye.offsets.popper[Ne]+=Ee[Ne]+We-Oe[Pe]);var He=Ee[Ne]+Ee[Le]/2-We/2,Be=He-h(ye.offsets.popper)[Ne];return Be=_Mathmax(_Mathmin(Oe[Le]-We,Be),0),ye.arrowElement=xe,ye.offsets.arrow={},ye.offsets.arrow[Ne]=Be,ye.offsets.arrow[Te]='',ye},element:'[x-arrow]'},flip:{order:600,enabled:!0,function:function(ye,we){if(A(ye.instance.modifiers,'inner'))return ye;if(ye.flipped&&ye.placement===ye.originalPlacement)return ye;var xe=O(ye.instance.popper,ye.instance.reference,we.padding,we.boundariesElement),ve=ye.placement.split('-')[0],Oe=H(ve),Ee=ye.placement.split('-')[1]||'',Se=[];return Se='flip'===we.behavior?[ve,Oe]:we.behavior,Se.forEach(function(Le,Ne){if(ve!==Le||Se.length===Ne+1)return ye;ve=ye.placement.split('-')[0],Oe=H(ve);var Te=h(ye.offsets.popper),Pe=ye.offsets.reference,We=_Mathfloor,He='left'===ve&&We(Te.right)>We(Pe.left)||'right'===ve&&We(Te.left)<We(Pe.right)||'top'===ve&&We(Te.bottom)>We(Pe.top)||'bottom'===ve&&We(Te.top)<We(Pe.bottom),Be=We(Te.left)<We(xe.left),Ce=We(Te.right)>We(xe.right),De=We(Te.top)<We(xe.top),Me=We(Te.bottom)>We(xe.bottom),ke='left'===ve&&Be||'right'===ve&&Ce||'top'===ve&&De||'bottom'===ve&&Me,Ae=-1!==['top','bottom'].indexOf(ve),Re=!!we.flipVariations&&(Ae&&'start'===Ee&&Be||Ae&&'end'===Ee&&Ce||!Ae&&'start'===Ee&&De||!Ae&&'end'===Ee&&Me);(He||ke||Re)&&(ye.flipped=!0,(He||ke)&&(ve=Se[Ne+1]),Re&&(Ee=X(Ee)),ye.placement=ve+(Ee?'-'+Ee:''),ye.offsets.popper=B(ye.instance.state.position,ye.instance.popper,ye.offsets.reference,ye.placement),ye=U(ye.instance.modifiers,ye,'flip'))}),ye},behavior:'flip',padding:5,boundariesElement:'viewport'},inner:{order:700,enabled:!1,function:function(ye){var we=ye.placement,xe=we.split('-')[0],ve=h(ye.offsets.popper),Oe=h(ye.offsets.reference),Ee=-1!==['left','right'].indexOf(xe),Se=-1===['top','left'].indexOf(xe);return ve[Ee?'left':'top']=Oe[we]-(Se?ve[Ee?'width':'height']:0),ye.placement=H(we),ye.offsets.popper=h(ve),ye}},hide:{order:800,enabled:!0,function:function(ye){if(!R(ye.instance.modifiers,'hide','preventOverflow'))return console.warn('WARNING: preventOverflow modifier is required by hide modifier in order to work, be sure to include it before hide!'),ye;var we=ye.offsets.reference,xe=N(ye.instance.modifiers,function(ve){return'preventOverflow'===ve.name}).boundaries;if(we.bottom<xe.top||we.left>xe.right||we.top>xe.bottom||we.right<xe.left){if(!0===ye.hide)return ye;ye.hide=!0,ye.attributes['x-out-of-boundaries']=''}else{if(!1===ye.hide)return ye;ye.hide=!1,ye.attributes['x-out-of-boundaries']=!1}return ye}},applyStyle:{order:900,enabled:!0,gpuAcceleration:!0,function:function(ye,we){var xe={position:ye.offsets.popper.position},ve={'x-placement':ye.placement},Oe=_Mathround(ye.offsets.popper.left),Ee=_Mathround(ye.offsets.popper.top),Se=D('transform');return we.gpuAcceleration&&Se?(xe[Se]='translate3d('+Oe+'px, '+Ee+'px, 0)',xe.top=0,xe.left=0,xe.willChange='transform'):(xe.left=Oe,xe.top=Ee,xe.willChange='top, left'),F(ye.instance.popper,re({},xe,ye.styles)),z(ye.instance.popper,re({},ve,ye.attributes)),ye.offsets.arrow&&F(ye.arrowElement,ye.offsets.arrow),ye},onLoad:function(ye,we,xe,ve,Oe){var Ee=C(Oe,we,ye);return xe.placement=E(xe.placement,Ee,we,ye),we.setAttribute('x-placement',xe.placement),xe}}}},be});
+var _Mathfloor=Math.floor,_Mathmin=Math.min,_Mathround=Math.round,_Mathmax=Math.max;(function(c,d){'object'==typeof exports&&'undefined'!=typeof module?module.exports=d():'function'==typeof define&&define.amd?define(d):c.Popper=d()})(this,function(){'use strict';function e(wa){return''!==wa&&!isNaN(parseFloat(wa))&&isFinite(wa)}function f(wa,xa){Object.keys(xa).forEach(function(ya){var za='';-1!==['width','height','top','right','bottom','left'].indexOf(ya)&&e(xa[ya])&&(za='px'),wa.style[ya]=xa[ya]+za})}function g(wa){for(var xa=[!1,'ms','webkit','moz','o'],ya=wa.charAt(0).toUpperCase()+wa.slice(1),za=0;za<xa.length-1;za++){var Aa=xa[za],Ba=Aa?''+Aa+ya:wa;if('undefined'!=typeof window.document.body.style[Ba])return Ba}return null}function h(wa){var xa=wa.nodeName;return'BODY'!==xa&&('HTML'===xa||wa.firstElementChild.offsetParent===wa)}function j(wa){return null===wa.parentNode?wa:j(wa.parentNode)}function k(wa){var xa=wa&&wa.offsetParent,ya=xa&&xa.nodeName;return ya&&'BODY'!==ya&&'HTML'!==ya?xa:window.document.documentElement}function l(wa,xa){if(!wa||!wa.nodeType||!xa||!xa.nodeType)return window.document.documentElement;var ya=wa.compareDocumentPosition(xa)&Node.DOCUMENT_POSITION_FOLLOWING,za=ya?wa:xa,Aa=ya?xa:wa,Ba=document.createRange();Ba.setStart(za,0),Ba.setEnd(Aa,0);var Ca=Ba.commonAncestorContainer;if(wa!==Ca&&xa!==Ca)return h(Ca)?Ca:k(Ca);var Da=j(wa);return Da.host?l(Da.host,xa):l(wa,j(xa).host)}function m(wa,xa){if(1!==wa.nodeType)return[];var ya=window.getComputedStyle(wa,null);return xa?ya[xa]:ya}function o(wa){var xa=1<arguments.length&&void 0!==arguments[1]?arguments[1]:'top',ya='top'===xa?'scrollTop':'scrollLeft',za=wa.nodeName;if('BODY'===za||'HTML'===za){var Aa=window.document.documentElement,Ba=window.document.scrollingElement||Aa;return Ba[ya]}return wa[ya]}function p(wa,xa){var ya=2<arguments.length&&void 0!==arguments[2]&&arguments[2],za=o(xa,'top'),Aa=o(xa,'left'),Ba=ya?-1:1;return wa.top+=za*Ba,wa.bottom+=za*Ba,wa.left+=Aa*Ba,wa.right+=Aa*Ba,wa}function q(wa){return'HTML'===wa.nodeName?wa:wa.parentNode||wa.host}function r(wa){if(!wa||-1!==['HTML','BODY','#document'].indexOf(wa.nodeName))return window.document.body;var xa=m(wa),ya=xa.overflow,za=xa.overflowX,Aa=xa.overflowY;return /(auto|scroll)/.test(ya+Aa+za)?wa:r(q(wa))}function s(wa,xa){var ya='x'===xa?'Left':'Top',za='Left'==ya?'Right':'Bottom';return+wa['border'+ya+'Width'].split('px')[0]+ +wa['border'+za+'Width'].split('px')[0]}function t(){var wa=window.document.body,xa=window.document.documentElement;return{height:_Mathmax(wa.scrollHeight,wa.offsetHeight,xa.clientHeight,xa.scrollHeight,xa.offsetHeight),width:_Mathmax(wa.scrollWidth,wa.offsetWidth,xa.clientWidth,xa.scrollWidth,xa.offsetWidth)}}function u(wa){return ma({},wa,{right:wa.left+wa.width,bottom:wa.top+wa.height})}function v(wa){var xa={};if(oa){try{xa=wa.getBoundingClientRect()}catch(Ha){}var ya=o(wa,'top'),za=o(wa,'left');xa.top+=ya,xa.left+=za}else xa=wa.getBoundingClientRect();var Aa={left:xa.left,top:xa.top,width:xa.right-xa.left,height:xa.bottom-xa.top},Ba='HTML'===wa.nodeName?t():{},Ca=Ba.width||wa.clientWidth||Aa.right-Aa.left,Da=Ba.height||wa.clientHeight||Aa.bottom-Aa.top,Ea=wa.offsetWidth-Ca,Fa=wa.offsetHeight-Da;if(Ea||Fa){var Ga=m(wa);Ea-=s(Ga,'x'),Fa-=s(Ga,'y'),Aa.width-=Ea,Aa.height-=Fa}return u(Aa)}function w(wa,xa){var ya='HTML'===xa.nodeName,za=v(wa),Aa=v(xa),Ba=r(wa),Ca=u({top:za.top-Aa.top,left:za.left-Aa.left,width:za.width,height:za.height});if(ya||'BODY'===xa.nodeName){var Da=m(xa),Ea=pa&&ya?0:+Da.borderTopWidth.split('px')[0],Fa=pa&&ya?0:+Da.borderLeftWidth.split('px')[0],Ga=pa&&ya?0:+Da.marginTop.split('px')[0],Ha=pa&&ya?0:+Da.marginLeft.split('px')[0];Ca.top-=Ea-Ga,Ca.bottom-=Ea-Ga,Ca.left-=Fa-Ha,Ca.right-=Fa-Ha,Ca.marginTop=Ga,Ca.marginLeft=Ha}return xa.contains(Ba)&&(pa||'BODY'!==Ba.nodeName)&&(Ca=p(Ca,xa)),Ca}function z(wa,xa,ya){var za=l(xa,ya);return w(ya,za)}function A(wa){var xa=window.getComputedStyle(wa),ya=parseFloat(xa.marginTop)+parseFloat(xa.marginBottom),za=parseFloat(xa.marginLeft)+parseFloat(xa.marginRight),Aa={width:wa.offsetWidth+za,height:wa.offsetHeight+ya};return Aa}function B(wa){var xa={left:'right',right:'left',bottom:'top',top:'bottom'};return wa.replace(/left|right|bottom|top/g,function(ya){return xa[ya]})}function C(wa,xa,ya,za){za=za.split('-')[0];var Aa=A(xa),Ba={position:wa,width:Aa.width,height:Aa.height},Ca=-1!==['right','left'].indexOf(za),Da=Ca?'top':'left',Ea=Ca?'left':'top',Fa=Ca?'height':'width',Ga=Ca?'width':'height';return Ba[Da]=ya[Da]+ya[Fa]/2-Aa[Fa]/2,Ba[Ea]=za===Ea?ya[Ea]-Aa[Ga]:ya[B(Ea)],Ba}function D(wa){return wa&&'[object Function]'==={}.toString.call(wa)}function E(wa,xa,ya,za){var Aa='BODY'===wa.nodeName,Ba=Aa?window:wa;Ba.addEventListener(xa,ya,{passive:!0}),Aa||E(r(Ba.parentNode),xa,ya,za),za.push(Ba)}function F(wa,xa,ya,za){ya.updateBound=za,window.addEventListener('resize',ya.updateBound,{passive:!0});var Aa=r(wa);return E(Aa,'scroll',ya.updateBound,ya.scrollParents),ya.scrollElement=Aa,ya.eventsEnabled=!0,ya}function G(wa,xa){return window.removeEventListener('resize',xa.updateBound),xa.scrollParents.forEach(function(ya){ya.removeEventListener('scroll',xa.updateBound)}),xa.updateBound=null,xa.scrollParents=[],xa.scrollElement=null,xa.eventsEnabled=!1,xa}function H(wa,xa){return Array.prototype.find?wa.find(xa):wa.filter(xa)[0]}function I(wa,xa,ya){if(Array.prototype.findIndex)return wa.findIndex(function(Aa){return Aa[xa]===ya});var za=H(wa,function(Aa){return Aa[xa]===ya});return wa.indexOf(za)}function J(wa,xa,ya){var za=void 0===ya?wa:wa.slice(0,I(wa,'name',ya));return za.forEach(function(Aa){Aa.enabled&&D(Aa.function)&&(xa=Aa.function(xa,Aa))}),xa}function K(wa,xa){return wa.some(function(ya){var za=ya.name,Aa=ya.enabled;return Aa&&za===xa})}function L(wa){var xa=window.document.documentElement,ya=w(wa,xa),za=_Mathmax(xa.clientWidth,window.innerWidth||0),Aa=_Mathmax(xa.clientHeight,window.innerHeight||0),Ba=o(xa),Ca=o(xa,'left'),Da={top:Ba-ya.top+ya.marginTop,left:Ca-ya.left+ya.marginLeft,width:za,height:Aa};return u(Da)}function M(wa){var xa=wa.nodeName;return'BODY'===xa||'HTML'===xa?!1:'fixed'===m(wa,'position')||M(q(wa))}function N(wa,xa,ya,za){var Aa={top:0,left:0},Ba=l(wa,xa);if('viewport'===za)Aa=L(Ba);else{var Ca;'scrollParent'===za?(Ca=r(q(wa)),'BODY'===Ca.nodeName&&(Ca=window.document.documentElement)):'window'===za?Ca=window.document.documentElement:Ca=za;var Da=w(Ca,Ba);if('HTML'===Ca.nodeName&&!M(Ba)){var Ea=t(),Fa=Ea.height,Ga=Ea.width;Aa.top+=Da.top-Da.marginTop,Aa.bottom=Fa+Da.top,Aa.left+=Da.left-Da.marginLeft,Aa.right=Ga+Da.left}else Aa=Da}return Aa.left+=ya,Aa.top+=ya,Aa.right-=ya,Aa.bottom-=ya,Aa}function O(wa,xa,ya,za){if(-1===wa.indexOf('auto'))return wa;var Aa=N(ya,za,0,'scrollParent'),Ba={top:xa.top-Aa.top,right:Aa.right-xa.right,bottom:Aa.bottom-xa.bottom,left:xa.left-Aa.left},Ca=Object.keys(Ba).sort(function(Ea,Fa){return Ba[Fa]-Ba[Ea]})[0],Da=wa.split('-')[1];return Ca+(Da?'-'+Da:'')}function P(wa,xa){Object.keys(xa).forEach(function(ya){var za=xa[ya];!1===za?wa.removeAttribute(ya):wa.setAttribute(ya,xa[ya])})}function S(wa,xa,ya){var za=H(wa,function(Aa){var Ba=Aa.name;return Ba===xa});return!!za&&wa.some(function(Aa){return Aa.name===ya&&Aa.enabled&&Aa.order<za.order})}function U(wa){return'end'===wa?'start':'start'===wa?'end':wa}function V(wa){var xa=1<arguments.length&&void 0!==arguments[1]&&arguments[1],ya=ra.indexOf(wa),za=ra.slice(ya+1).concat(ra.slice(0,ya));return xa?za.reverse():za}for(var ba=['native code','[object MutationObserverConstructor]'],ca=function(wa){return ba.some(function(xa){return-1<(wa||'').toString().indexOf(xa)})},da='undefined'!=typeof window,ea=['Edge','Trident','Firefox'],fa=0,ga=0;ga<ea.length;ga+=1)if(da&&0<=navigator.userAgent.indexOf(ea[ga])){fa=1;break}var ha=da&&ca(window.MutationObserver),ia=ha?function(wa){var xa=!1,ya=0,za=document.createElement('span'),Aa=new MutationObserver(function(){wa(),xa=!1});return Aa.observe(za,{attributes:!0}),function(){xa||(xa=!0,za.setAttribute('x-index',ya),++ya)}}:function(wa){var xa=!1;return function(){xa||(xa=!0,setTimeout(function(){xa=!1,wa()},fa))}},ja=function(wa,xa){if(!(wa instanceof xa))throw new TypeError('Cannot call a class as a function')},ka=function(){function wa(xa,ya){for(var Aa,za=0;za<ya.length;za++)Aa=ya[za],Aa.enumerable=Aa.enumerable||!1,Aa.configurable=!0,'value'in Aa&&(Aa.writable=!0),Object.defineProperty(xa,Aa.key,Aa)}return function(xa,ya,za){return ya&&wa(xa.prototype,ya),za&&wa(xa,za),xa}}(),la=function(wa,xa,ya){return xa in wa?Object.defineProperty(wa,xa,{value:ya,enumerable:!0,configurable:!0,writable:!0}):wa[xa]=ya,wa},ma=Object.assign||function(wa){for(var ya,xa=1;xa<arguments.length;xa++)for(var za in ya=arguments[xa],ya)Object.prototype.hasOwnProperty.call(ya,za)&&(wa[za]=ya[za]);return wa},na=function(){return-1!==navigator.appVersion.indexOf('MSIE 10')},oa=na(),pa=na(),qa=['auto-start','auto','auto-end','top-start','top','top-end','right-start','right','right-end','bottom-end','bottom','bottom-start','left-end','left','left-start'],ra=qa.slice(3),sa={FLIP:'flip',CLOCKWISE:'clockwise',COUNTERCLOCKWISE:'counterclockwise'},va=function(){function wa(xa,ya){var za=this,Aa=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};ja(this,wa),this.scheduleUpdate=function(){return requestAnimationFrame(za.update)},this.update=ia(this.update.bind(this)),this.options=ma({},wa.Defaults,Aa),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=xa.jquery?xa[0]:xa,this.popper=ya.jquery?ya[0]:ya,f(this.popper,{position:'absolute'}),this.modifiers=Object.keys(wa.Defaults.modifiers).map(function(Ca){return ma({name:Ca},wa.Defaults.modifiers[Ca])}),this.modifiers=this.modifiers.map(function(Ca){var Da=Aa.modifiers&&Aa.modifiers[Ca.name]||{};return ma({},Ca,Da)}),Aa.modifiers&&(this.options.modifiers=ma({},wa.Defaults.modifiers,Aa.modifiers),Object.keys(Aa.modifiers).forEach(function(Ca){if(void 0===wa.Defaults.modifiers[Ca]){var Da=Aa.modifiers[Ca];Da.name=Ca,za.modifiers.push(Da)}})),this.modifiers=this.modifiers.sort(function(Ca,Da){return Ca.order-Da.order}),this.modifiers.forEach(function(Ca){Ca.enabled&&D(Ca.onLoad)&&Ca.onLoad(za.reference,za.popper,za.options,Ca,za.state)}),this.update();var Ba=this.options.eventsEnabled;Ba&&this.enableEventListeners(),this.state.eventsEnabled=Ba}return ka(wa,[{key:'update',value:function(){if(!this.state.isDestroyed){var ya={instance:this,styles:{},attributes:{},flipped:!1,offsets:{}};ya.offsets.reference=z(this.state,this.popper,this.reference),ya.placement=O(this.options.placement,ya.offsets.reference,this.popper,this.reference),ya.originalPlacement=this.options.placement,ya.offsets.popper=C(this.state,this.popper,ya.offsets.reference,ya.placement),ya=J(this.modifiers,ya),this.state.isCreated?this.options.onUpdate(ya):(this.state.isCreated=!0,this.options.onCreate(ya))}}},{key:'destroy',value:function(){return this.state.isDestroyed=!0,K(this.modifiers,'applyStyle')&&(this.popper.removeAttribute('x-placement'),this.popper.style.left='',this.popper.style.position='',this.popper.style.top='',this.popper.style[g('transform')]=''),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}},{key:'enableEventListeners',value:function(){this.state.eventsEnabled||(this.state=F(this.reference,this.options,this.state,this.scheduleUpdate))}},{key:'disableEventListeners',value:function(){this.state.eventsEnabled&&(window.cancelAnimationFrame(this.scheduleUpdate),this.state=G(this.reference,this.state))}}]),wa}();return va.Utils=window.PopperUtils,va.placements=qa,va.Defaults={placement:'bottom',eventsEnabled:!0,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,function:function(wa){var xa=wa.placement,ya=xa.split('-')[0],za=xa.split('-')[1];if(za){var Aa=wa.offsets.reference,Ba=u(wa.offsets.popper),Ca=-1!==['bottom','top'].indexOf(ya),Da=Ca?'left':'top',Ea=Ca?'width':'height',Fa={start:la({},Da,Aa[Da]),end:la({},Da,Aa[Da]+Aa[Ea]-Ba[Ea])};wa.offsets.popper=ma({},Ba,Fa[za])}return wa}},offset:{order:200,enabled:!0,function:function(wa,xa){var Aa,ya=wa.placement,za=wa.offsets.popper;return e(xa.offset)?Aa=[xa.offset,0]:(Aa=xa.offset.split(' '),Aa=Aa.map(function(Ba,Ca){var Da=Ba.match(/(\d*\.?\d*)(.*)/),Ea=+Da[1],Fa=Da[2],Ga=-1!==ya.indexOf('right')||-1!==ya.indexOf('left');1===Ca&&(Ga=!Ga);var Ha=Ga?'height':'width';if(0===Fa.indexOf('%')){var Ia;switch(Fa){case'%p':Ia=wa.offsets.popper;break;case'%':case'$r':default:Ia=wa.offsets.reference;}var Ja=u(Ia),Ka=Ja[Ha];return Ka/100*Ea}if('vh'===Fa||'vw'===Fa){var La;return La='vh'===Fa?_Mathmax(document.documentElement.clientHeight,window.innerHeight||0):_Mathmax(document.documentElement.clientWidth,window.innerWidth||0),La/100*Ea}return'px'===Fa?+Ea:+Ba})),-1===wa.placement.indexOf('left')?-1===wa.placement.indexOf('right')?-1===wa.placement.indexOf('top')?-1!==wa.placement.indexOf('bottom')&&(za.left+=Aa[0],za.top+=Aa[1]||0):(za.left+=Aa[0],za.top-=Aa[1]||0):(za.top+=Aa[0],za.left+=Aa[1]||0):(za.top+=Aa[0],za.left-=Aa[1]||0),wa},offset:0},preventOverflow:{order:300,enabled:!0,function:function(wa,xa){var ya=xa.boundariesElement||k(wa.instance.popper),za=N(wa.instance.popper,wa.instance.reference,xa.padding,ya);xa.boundaries=za;var Aa=xa.priority,Ba=u(wa.offsets.popper),Ca={primary:function(Ea){var Fa=Ba[Ea];return Ba[Ea]<za[Ea]&&!xa.escapeWithReference&&(Fa=_Mathmax(Ba[Ea],za[Ea])),la({},Ea,Fa)},secondary:function(Ea){var Fa='right'===Ea?'left':'top',Ga=Ba[Fa];return Ba[Ea]>za[Ea]&&!xa.escapeWithReference&&(Ga=_Mathmin(Ba[Fa],za[Ea]-('right'===Ea?Ba.width:Ba.height))),la({},Fa,Ga)}};return Aa.forEach(function(Da){var Ea=-1===['left','top'].indexOf(Da)?'secondary':'primary';Ba=ma({},Ba,Ca[Ea](Da))}),wa.offsets.popper=Ba,wa},priority:['left','right','top','bottom'],padding:5,boundariesElement:'scrollParent'},keepTogether:{order:400,enabled:!0,function:function(wa){var xa=u(wa.offsets.popper),ya=wa.offsets.reference,za=wa.placement.split('-')[0],Aa=_Mathfloor,Ba=-1!==['top','bottom'].indexOf(za),Ca=Ba?'right':'bottom',Da=Ba?'left':'top',Ea=Ba?'width':'height';return xa[Ca]<Aa(ya[Da])&&(wa.offsets.popper[Da]=Aa(ya[Da])-xa[Ea]),xa[Da]>Aa(ya[Ca])&&(wa.offsets.popper[Da]=Aa(ya[Ca])),wa}},arrow:{order:500,enabled:!0,function:function(wa,xa){if(!S(wa.instance.modifiers,'arrow','keepTogether'))return console.warn('WARNING: `keepTogether` modifier is required by arrow modifier in order to work, be sure to include it before `arrow`!'),wa;var ya=xa.element;if('string'==typeof ya){if(ya=wa.instance.popper.querySelector(ya),!ya)return wa;}else if(!wa.instance.popper.contains(ya))return console.warn('WARNING: `arrow.element` must be child of its popper element!'),wa;var za=wa.placement.split('-')[0],Aa=u(wa.offsets.popper),Ba=wa.offsets.reference,Ca=-1!==['left','right'].indexOf(za),Da=Ca?'height':'width',Ea=Ca?'top':'left',Fa=Ca?'left':'top',Ga=Ca?'bottom':'right',Ha=A(ya)[Da];Ba[Ga]-Ha<Aa[Ea]&&(wa.offsets.popper[Ea]-=Aa[Ea]-(Ba[Ga]-Ha)),Ba[Ea]+Ha>Aa[Ga]&&(wa.offsets.popper[Ea]+=Ba[Ea]+Ha-Aa[Ga]);var Ia=Ba[Ea]+Ba[Da]/2-Ha/2,Ja=Ia-u(wa.offsets.popper)[Ea];return Ja=_Mathmax(_Mathmin(Aa[Da]-Ha,Ja),0),wa.arrowElement=ya,wa.offsets.arrow={},wa.offsets.arrow[Ea]=Ja,wa.offsets.arrow[Fa]='',wa},element:'[x-arrow]'},flip:{order:600,enabled:!0,function:function(wa,xa){if(K(wa.instance.modifiers,'inner'))return wa;if(wa.flipped&&wa.placement===wa.originalPlacement)return wa;var ya=N(wa.instance.popper,wa.instance.reference,xa.padding,xa.boundariesElement),za=wa.placement.split('-')[0],Aa=B(za),Ba=wa.placement.split('-')[1]||'',Ca=[];switch(xa.behavior){case sa.FLIP:Ca=[za,Aa];break;case sa.CLOCKWISE:Ca=V(za);break;case sa.COUNTERCLOCKWISE:Ca=V(za,!0);break;default:Ca=xa.behavior;}return Ca.forEach(function(Da,Ea){if(za!==Da||Ca.length===Ea+1)return wa;za=wa.placement.split('-')[0],Aa=B(za);var Fa=u(wa.offsets.popper),Ga=wa.offsets.reference,Ha=_Mathfloor,Ia='left'===za&&Ha(Fa.right)>Ha(Ga.left)||'right'===za&&Ha(Fa.left)<Ha(Ga.right)||'top'===za&&Ha(Fa.bottom)>Ha(Ga.top)||'bottom'===za&&Ha(Fa.top)<Ha(Ga.bottom),Ja=Ha(Fa.left)<Ha(ya.left),Ka=Ha(Fa.right)>Ha(ya.right),La=Ha(Fa.top)<Ha(ya.top),Ma=Ha(Fa.bottom)>Ha(ya.bottom),Na='left'===za&&Ja||'right'===za&&Ka||'top'===za&&La||'bottom'===za&&Ma,Oa=-1!==['top','bottom'].indexOf(za),Pa=!!xa.flipVariations&&(Oa&&'start'===Ba&&Ja||Oa&&'end'===Ba&&Ka||!Oa&&'start'===Ba&&La||!Oa&&'end'===Ba&&Ma);(Ia||Na||Pa)&&(wa.flipped=!0,(Ia||Na)&&(za=Ca[Ea+1]),Pa&&(Ba=U(Ba)),wa.placement=za+(Ba?'-'+Ba:''),wa.offsets.popper=C(wa.instance.state.position,wa.instance.popper,wa.offsets.reference,wa.placement),wa=J(wa.instance.modifiers,wa,'flip'))}),wa},behavior:'flip',padding:5,boundariesElement:'viewport'},inner:{order:700,enabled:!1,function:function(wa){var xa=wa.placement,ya=xa.split('-')[0],za=u(wa.offsets.popper),Aa=u(wa.offsets.reference),Ba=-1!==['left','right'].indexOf(ya),Ca=-1===['top','left'].indexOf(ya);return za[Ba?'left':'top']=Aa[xa]-(Ca?za[Ba?'width':'height']:0),wa.placement=B(xa),wa.offsets.popper=u(za),wa}},hide:{order:800,enabled:!0,function:function(wa){if(!S(wa.instance.modifiers,'hide','preventOverflow'))return console.warn('WARNING: preventOverflow modifier is required by hide modifier in order to work, be sure to include it before hide!'),wa;var xa=wa.offsets.reference,ya=H(wa.instance.modifiers,function(za){return'preventOverflow'===za.name}).boundaries;if(xa.bottom<ya.top||xa.left>ya.right||xa.top>ya.bottom||xa.right<ya.left){if(!0===wa.hide)return wa;wa.hide=!0,wa.attributes['x-out-of-boundaries']=''}else{if(!1===wa.hide)return wa;wa.hide=!1,wa.attributes['x-out-of-boundaries']=!1}return wa}},applyStyle:{order:900,enabled:!0,gpuAcceleration:!0,function:function(wa,xa){var ya={position:wa.offsets.popper.position},za={'x-placement':wa.placement},Aa=_Mathround(wa.offsets.popper.left),Ba=_Mathround(wa.offsets.popper.top),Ca=g('transform');return xa.gpuAcceleration&&Ca?(ya[Ca]='translate3d('+Aa+'px, '+Ba+'px, 0)',ya.top=0,ya.left=0,ya.willChange='transform'):(ya.left=Aa,ya.top=Ba,ya.willChange='top, left'),f(wa.instance.popper,ma({},ya,wa.styles)),P(wa.instance.popper,ma({},za,wa.attributes)),wa.offsets.arrow&&f(wa.arrowElement,wa.offsets.arrow),wa},onLoad:function(wa,xa,ya,za,Aa){var Ba=z(Aa,xa,wa);return ya.placement=O(ya.placement,Ba,xa,wa),xa.setAttribute('x-placement',ya.placement),ya}}}},va});
 
 //# sourceMappingURL=popper.es5.min.js.map
\ No newline at end of file
index 97bb603814a7395f0f60a23294c3c9a564507d29..4ea20b9dc7e35528d48458b371ce72bcf339e80d 100644 (file)
@@ -71,7 +71,7 @@
   "license": "MIT",
   "dependencies": {
     "jquery": ">=1.9.1",
-    "tether": "^1.4.0"
+    "Popper": "^1.8.1"
   },
   "devDependencies": {
     "autoprefixer": "^6.7.7",