Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohann-S <johann.servoire@gmail.com>2017-05-12 22:44:43 +0300
committerJohann-S <johann.servoire@gmail.com>2017-05-14 12:41:19 +0300
commit21c38641342b98d7590b9c901f77d2a21e99f1fd (patch)
treea1b0392288fcc8e35bebd665fae6d67975f9bf15 /docs/assets/js
parentc78cbb275b0c559f5c9436ee3df816e1f6195201 (diff)
Update Popper.js 1.9.3
Diffstat (limited to 'docs/assets/js')
-rw-r--r--docs/assets/js/vendor/popper.min.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/assets/js/vendor/popper.min.js b/docs/assets/js/vendor/popper.min.js
index e0092080e1..8c2b97e661 100644
--- a/docs/assets/js/vendor/popper.min.js
+++ b/docs/assets/js/vendor/popper.min.js
@@ -1,3 +1,3 @@
-var _Mathfloor=Math.floor,_Mathmin=Math.min,_Mathround=Math.round,_Mathmax=Math.max;(function(e,t){'object'==typeof exports&&'undefined'!=typeof module?module.exports=t():'function'==typeof define&&define.amd?define(t):e.Popper=t()})(this,function(){'use strict';function o(Oe){return''!==Oe&&!isNaN(parseFloat(Oe))&&isFinite(Oe)}function r(Oe,Le){Object.keys(Le).forEach(function(Se){var Ce='';-1!==['width','height','top','right','bottom','left'].indexOf(Se)&&o(Le[Se])&&(Ce='px'),Oe.style[Se]=Le[Se]+Ce})}function s(Oe){for(var Le=[!1,'ms','webkit','moz','o'],Se=Oe.charAt(0).toUpperCase()+Oe.slice(1),Ce=0;Ce<Le.length-1;Ce++){var Te=Le[Ce],Ne=Te?''+Te+Se:Oe;if('undefined'!=typeof window.document.body.style[Ne])return Ne}return null}function p(Oe){var Le=Oe.nodeName;return'BODY'!==Le&&('HTML'===Le||Oe.firstElementChild.offsetParent===Oe)}function d(Oe){return null===Oe.parentNode?Oe:d(Oe.parentNode)}function f(Oe){var Le=Oe&&Oe.offsetParent,Se=Le&&Le.nodeName;return Se&&'BODY'!==Se&&'HTML'!==Se?Le:window.document.documentElement}function l(Oe,Le){if(!Oe||!Oe.nodeType||!Le||!Le.nodeType)return window.document.documentElement;var Se=Oe.compareDocumentPosition(Le)&Node.DOCUMENT_POSITION_FOLLOWING,Ce=Se?Oe:Le,Te=Se?Le:Oe,Ne=document.createRange();Ne.setStart(Ce,0),Ne.setEnd(Te,0);var We=Ne.commonAncestorContainer;if(Oe!==We&&Le!==We||Ce.contains(Te))return p(We)?We:f(We);var De=d(Oe);return De.host?l(De.host,Le):l(Oe,d(Le).host)}function m(Oe,Le){if(1!==Oe.nodeType)return[];var Se=window.getComputedStyle(Oe,null);return Le?Se[Le]:Se}function c(Oe){var Le=1<arguments.length&&void 0!==arguments[1]?arguments[1]:'top',Se='top'===Le?'scrollTop':'scrollLeft',Ce=Oe.nodeName;if('BODY'===Ce||'HTML'===Ce){var Te=window.document.documentElement,Ne=window.document.scrollingElement||Te;return Ne[Se]}return Oe[Se]}function h(Oe,Le){var Se=2<arguments.length&&void 0!==arguments[2]&&arguments[2],Ce=c(Le,'top'),Te=c(Le,'left'),Ne=Se?-1:1;return Oe.top+=Ce*Ne,Oe.bottom+=Ce*Ne,Oe.left+=Te*Ne,Oe.right+=Te*Ne,Oe}function u(Oe){return'HTML'===Oe.nodeName?Oe:Oe.parentNode||Oe.host}function g(Oe){if(!Oe||-1!==['HTML','BODY','#document'].indexOf(Oe.nodeName))return window.document.body;var Le=m(Oe),Se=Le.overflow,Ce=Le.overflowX,Te=Le.overflowY;return /(auto|scroll)/.test(Se+Te+Ce)?Oe:g(u(Oe))}function E(Oe,Le){var Se='x'===Le?'Left':'Top',Ce='Left'==Se?'Right':'Bottom';return+Oe['border'+Se+'Width'].split('px')[0]+ +Oe['border'+Ce+'Width'].split('px')[0]}function v(){var Oe=window.document.body,Le=window.document.documentElement;return{height:_Mathmax(Oe.scrollHeight,Oe.offsetHeight,Le.clientHeight,Le.scrollHeight,Le.offsetHeight),width:_Mathmax(Oe.scrollWidth,Oe.offsetWidth,Le.clientWidth,Le.scrollWidth,Le.offsetWidth)}}function w(Oe){return he({},Oe,{right:Oe.left+Oe.width,bottom:Oe.top+Oe.height})}function O(Oe){var Le={};if(ge())try{Le=Oe.getBoundingClientRect();var Se=c(Oe,'top'),Ce=c(Oe,'left');Le.top+=Se,Le.left+=Ce,Le.bottom+=Se,Le.right+=Ce}catch(Be){}else Le=Oe.getBoundingClientRect();var Te={left:Le.left,top:Le.top,width:Le.right-Le.left,height:Le.bottom-Le.top},Ne='HTML'===Oe.nodeName?v():{},We=Ne.width||Oe.clientWidth||Te.right-Te.left,De=Ne.height||Oe.clientHeight||Te.bottom-Te.top,He=Oe.offsetWidth-We,Pe=Oe.offsetHeight-De;if(He||Pe){var ke=m(Oe);He-=E(ke,'x'),Pe-=E(ke,'y'),Te.width-=He,Te.height-=Pe}return w(Te)}function L(Oe,Le){var Se=ge(),Ce='HTML'===Le.nodeName,Te=O(Oe),Ne=O(Le),We=g(Oe),De=w({top:Te.top-Ne.top,left:Te.left-Ne.left,width:Te.width,height:Te.height});if(Ce||'BODY'===Le.nodeName){var He=m(Le),Pe=Se&&Ce?0:+He.borderTopWidth.split('px')[0],ke=Se&&Ce?0:+He.borderLeftWidth.split('px')[0],Be=Se&&Ce?0:+He.marginTop.split('px')[0],Me=Se&&Ce?0:+He.marginLeft.split('px')[0];De.top-=Pe-Be,De.bottom-=Pe-Be,De.left-=ke-Me,De.right-=ke-Me,De.marginTop=Be,De.marginLeft=Me}return Le.contains(We)&&(Se||'BODY'!==We.nodeName)&&(De=h(De,Le)),De}function S(Oe,Le,Se){var Ce=l(Le,Se);return L(Se,Ce)}function C(Oe){var Le=window.getComputedStyle(Oe),Se=parseFloat(Le.marginTop)+parseFloat(Le.marginBottom),Ce=parseFloat(Le.marginLeft)+parseFloat(Le.marginRight),Te={width:Oe.offsetWidth+Ce,height:Oe.offsetHeight+Se};return Te}function T(Oe){var Le={left:'right',right:'left',bottom:'top',top:'bottom'};return Oe.replace(/left|right|bottom|top/g,function(Se){return Le[Se]})}function N(Oe,Le,Se,Ce){Ce=Ce.split('-')[0];var Te=C(Le),Ne={position:Oe,width:Te.width,height:Te.height},We=-1!==['right','left'].indexOf(Ce),De=We?'top':'left',He=We?'left':'top',Pe=We?'height':'width',ke=We?'width':'height';return Ne[De]=Se[De]+Se[Pe]/2-Te[Pe]/2,Ne[He]=Ce===He?Se[He]-Te[ke]:Se[T(He)],Ne}function W(Oe){return Oe&&'[object Function]'==={}.toString.call(Oe)}function D(Oe,Le,Se,Ce){var Te='BODY'===Oe.nodeName,Ne=Te?window:Oe;Ne.addEventListener(Le,Se,{passive:!0}),Te||D(g(Ne.parentNode),Le,Se,Ce),Ce.push(Ne)}function H(Oe,Le,Se,Ce){Se.updateBound=Ce,window.addEventListener('resize',Se.updateBound,{passive:!0});var Te=g(Oe);return D(Te,'scroll',Se.updateBound,Se.scrollParents),Se.scrollElement=Te,Se.eventsEnabled=!0,Se}function P(Oe,Le){return window.removeEventListener('resize',Le.updateBound),Le.scrollParents.forEach(function(Se){Se.removeEventListener('scroll',Le.updateBound)}),Le.updateBound=null,Le.scrollParents=[],Le.scrollElement=null,Le.eventsEnabled=!1,Le}function k(Oe,Le){return Array.prototype.find?Oe.find(Le):Oe.filter(Le)[0]}function B(Oe,Le,Se){if(Array.prototype.findIndex)return Oe.findIndex(function(Te){return Te[Le]===Se});var Ce=k(Oe,function(Te){return Te[Le]===Se});return Oe.indexOf(Ce)}function M(Oe,Le,Se){var Ce=void 0===Se?Oe:Oe.slice(0,B(Oe,'name',Se));return Ce.forEach(function(Te){Te.function&&console.warn('`modifier.function` is deprecated, use `modifier.fn`!');var Ne=Te.function||Te.fn;Te.enabled&&W(Ne)&&(Le=Ne(Le,Te))}),Le}function I(Oe,Le){return Oe.some(function(Se){var Ce=Se.name,Te=Se.enabled;return Te&&Ce===Le})}function A(Oe){var Le=window.document.documentElement,Se=L(Oe,Le),Ce=_Mathmax(Le.clientWidth,window.innerWidth||0),Te=_Mathmax(Le.clientHeight,window.innerHeight||0),Ne=c(Le),We=c(Le,'left'),De={top:Ne-Se.top+Se.marginTop,left:We-Se.left+Se.marginLeft,width:Ce,height:Te};return w(De)}function U(Oe){var Le=Oe.nodeName;return'BODY'===Le||'HTML'===Le?!1:'fixed'===m(Oe,'position')||U(u(Oe))}function Y(Oe,Le,Se,Ce){var Te={top:0,left:0},Ne=l(Oe,Le);if('viewport'===Ce)Te=A(Ne);else{var We;'scrollParent'===Ce?(We=g(u(Oe)),'BODY'===We.nodeName&&(We=window.document.documentElement)):'window'===Ce?We=window.document.documentElement:We=Ce;var De=L(We,Ne);if('HTML'===We.nodeName&&!U(Ne)){var He=v(),Pe=He.height,ke=He.width;Te.top+=De.top-De.marginTop,Te.bottom=Pe+De.top,Te.left+=De.left-De.marginLeft,Te.right=ke+De.left}else Te=De}return Te.left+=Se,Te.top+=Se,Te.right-=Se,Te.bottom-=Se,Te}function R(Oe,Le,Se,Ce,Te){if(-1===Oe.indexOf('auto'))return Oe;var Ne=Y(Se,Ce,0,Te),We={top:Le.top-Ne.top,right:Ne.right-Le.right,bottom:Ne.bottom-Le.bottom,left:Le.left-Ne.left},De=Object.keys(We).sort(function(Pe,ke){return We[ke]-We[Pe]})[0],He=Oe.split('-')[1];return De+(He?'-'+He:'')}function F(Oe,Le){Object.keys(Le).forEach(function(Se){var Ce=Le[Se];!1===Ce?Oe.removeAttribute(Se):Oe.setAttribute(Se,Le[Se])})}function K(Oe,Le,Se){var Ce=k(Oe,function(De){var He=De.name;return He===Le}),Te=!!Ce&&Oe.some(function(De){return De.name===Se&&De.enabled&&De.order<Ce.order});if(!Te){var Ne='`'+Le+'`';console.warn('`'+Se+'`'+' modifier is required by '+Ne+' modifier in order to work, be sure to include it before '+Ne+'!')}return Te}function _(Oe){return'end'===Oe?'start':'start'===Oe?'end':Oe}function V(Oe){var Le=1<arguments.length&&void 0!==arguments[1]&&arguments[1],Se=ye.indexOf(Oe),Ce=ye.slice(Se+1).concat(ye.slice(0,Se));return Le?Ce.reverse():Ce}function Q(Oe,Le,Se,Ce){var Te=Oe.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),Ne=+Te[1],We=Te[2];if(!Ne)return Oe;if(0===We.indexOf('%')){var De;switch(We){case'%p':De=Se;break;case'%':case'%r':default:De=Ce;}var He=w(De);return He[Le]/100*Ne}if('vh'===We||'vw'===We){var Pe;return Pe='vh'===We?_Mathmax(document.documentElement.clientHeight,window.innerHeight||0):_Mathmax(document.documentElement.clientWidth,window.innerWidth||0),Pe/100*Ne}return Ne}function Z(Oe,Le,Se,Ce){var Te=[0,0],Ne=-1!==['right','left'].indexOf(Ce),We=Oe.split(/(\+|\-)/).map(function(ke){return ke.trim()}),De=We.indexOf(k(We,function(ke){return-1!==ke.search(/,|\s/)}));We[De]&&-1===We[De].indexOf(',')&&console.warn('Offsets separated by white space(s) are deprecated, use a comma (,) instead.');var He=/\s*,\s*|\s+/,Pe=-1===De?[We]:[We.slice(0,De).concat([We[De].split(He)[0]]),[We[De].split(He)[1]].concat(We.slice(De+1))];return Pe=Pe.map(function(ke,Be){var Me=(1===Be?!Ne:Ne)?'height':'width',Ie=!1;return ke.reduce(function(Ae,Ue){return''===Ae[Ae.length-1]&&-1!==['+','-'].indexOf(Ue)?(Ae[Ae.length-1]=Ue,Ie=!0,Ae):Ie?(Ae[Ae.length-1]+=Ue,Ie=!1,Ae):Ae.concat(Ue)},[]).map(function(Ae){return Q(Ae,Me,Le,Se)})}),Pe.forEach(function(ke,Be){ke.forEach(function(Me,Ie){o(Me)&&(Te[Be]+=Me*('-'===ke[Ie-1]?-1:1))})}),Te}for(var ie=['native code','[object MutationObserverConstructor]'],ne=function(Oe){return ie.some(function(Le){return-1<(Oe||'').toString().indexOf(Le)})},re='undefined'!=typeof window,se=['Edge','Trident','Firefox'],pe=0,ae=0;ae<se.length;ae+=1)if(re&&0<=navigator.userAgent.indexOf(se[ae])){pe=1;break}var ue,de=re&&ne(window.MutationObserver),fe=de?function(Oe){var Le=!1,Se=0,Ce=document.createElement('span'),Te=new MutationObserver(function(){Oe(),Le=!1});return Te.observe(Ce,{attributes:!0}),function(){Le||(Le=!0,Ce.setAttribute('x-index',Se),++Se)}}:function(Oe){var Le=!1;return function(){Le||(Le=!0,setTimeout(function(){Le=!1,Oe()},pe))}},le=function(Oe,Le){if(!(Oe instanceof Le))throw new TypeError('Cannot call a class as a function')},me=function(){function Oe(Le,Se){for(var Te,Ce=0;Ce<Se.length;Ce++)Te=Se[Ce],Te.enumerable=Te.enumerable||!1,Te.configurable=!0,'value'in Te&&(Te.writable=!0),Object.defineProperty(Le,Te.key,Te)}return function(Le,Se,Ce){return Se&&Oe(Le.prototype,Se),Ce&&Oe(Le,Ce),Le}}(),ce=function(Oe,Le,Se){return Le in Oe?Object.defineProperty(Oe,Le,{value:Se,enumerable:!0,configurable:!0,writable:!0}):Oe[Le]=Se,Oe},he=Object.assign||function(Oe){for(var Se,Le=1;Le<arguments.length;Le++)for(var Ce in Se=arguments[Le],Se)Object.prototype.hasOwnProperty.call(Se,Ce)&&(Oe[Ce]=Se[Ce]);return Oe},ge=function(){return void 0==ue&&(ue=-1!==navigator.appVersion.indexOf('MSIE 10')),ue},be=['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'],ye=be.slice(3),Ee={FLIP:'flip',CLOCKWISE:'clockwise',COUNTERCLOCKWISE:'counterclockwise'},xe=function(){function Oe(Le,Se){var Ce=this,Te=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};le(this,Oe),this.scheduleUpdate=function(){return requestAnimationFrame(Ce.update)},this.update=fe(this.update.bind(this)),this.options=he({},Oe.Defaults,Te),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=Le.jquery?Le[0]:Le,this.popper=Se.jquery?Se[0]:Se,r(this.popper,{position:'absolute'}),this.modifiers=Object.keys(Oe.Defaults.modifiers).map(function(We){return he({name:We},Oe.Defaults.modifiers[We])}),this.modifiers=this.modifiers.map(function(We){var De=Te.modifiers&&Te.modifiers[We.name]||{};return he({},We,De)}),Te.modifiers&&(this.options.modifiers=he({},Oe.Defaults.modifiers,Te.modifiers),Object.keys(Te.modifiers).forEach(function(We){if(void 0===Oe.Defaults.modifiers[We]){var De=Te.modifiers[We];De.name=We,Ce.modifiers.push(De)}})),this.modifiers=this.modifiers.sort(function(We,De){return We.order-De.order}),this.modifiers.forEach(function(We){We.enabled&&W(We.onLoad)&&We.onLoad(Ce.reference,Ce.popper,Ce.options,We,Ce.state)}),this.update();var Ne=this.options.eventsEnabled;Ne&&this.enableEventListeners(),this.state.eventsEnabled=Ne}return me(Oe,[{key:'update',value:function(){if(!this.state.isDestroyed){var Se={instance:this,styles:{},attributes:{},flipped:!1,offsets:{}};Se.offsets.reference=S(this.state,this.popper,this.reference),Se.placement=R(this.options.placement,Se.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement),Se.originalPlacement=Se.placement,Se.offsets.popper=N(this.state,this.popper,Se.offsets.reference,Se.placement),Se.offsets.popper.position='absolute',Se=M(this.modifiers,Se),this.state.isCreated?this.options.onUpdate(Se):(this.state.isCreated=!0,this.options.onCreate(Se))}}},{key:'destroy',value:function(){return this.state.isDestroyed=!0,I(this.modifiers,'applyStyle')&&(this.popper.removeAttribute('x-placement'),this.popper.style.left='',this.popper.style.position='',this.popper.style.top='',this.popper.style[s('transform')]=''),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}},{key:'enableEventListeners',value:function(){this.state.eventsEnabled||(this.state=H(this.reference,this.options,this.state,this.scheduleUpdate))}},{key:'disableEventListeners',value:function(){this.state.eventsEnabled&&(window.cancelAnimationFrame(this.scheduleUpdate),this.state=P(this.reference,this.state))}}]),Oe}();return xe.Utils=('undefined'==typeof window?global:window).PopperUtils,xe.placements=be,xe.Defaults={placement:'bottom',eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(Oe){var Le=Oe.placement,Se=Le.split('-')[0],Ce=Le.split('-')[1];if(Ce){var Te=Oe.offsets.reference,Ne=w(Oe.offsets.popper),We=-1!==['bottom','top'].indexOf(Se),De=We?'left':'top',He=We?'width':'height',Pe={start:ce({},De,Te[De]),end:ce({},De,Te[De]+Te[He]-Ne[He])};Oe.offsets.popper=he({},Ne,Pe[Ce])}return Oe}},offset:{order:200,enabled:!0,fn:function(Oe,Le){var He,Se=Le.offset,Ce=Oe.placement,Te=Oe.offsets,Ne=Te.popper,We=Te.reference,De=Ce.split('-')[0];return He=o(+Se)?[+Se,0]:Z(Se,Ne,We,De),'left'===De?(Ne.top+=He[0],Ne.left-=He[1]):'right'===De?(Ne.top+=He[0],Ne.left+=He[1]):'top'===De?(Ne.left+=He[0],Ne.top-=He[1]):'bottom'===De&&(Ne.left+=He[0],Ne.top+=He[1]),Oe.popper=Ne,Oe},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(Oe,Le){var Se=Le.boundariesElement||f(Oe.instance.popper),Ce=Y(Oe.instance.popper,Oe.instance.reference,Le.padding,Se);Le.boundaries=Ce;var Te=Le.priority,Ne=w(Oe.offsets.popper),We={primary:function(He){var Pe=Ne[He];return Ne[He]<Ce[He]&&!Le.escapeWithReference&&(Pe=_Mathmax(Ne[He],Ce[He])),ce({},He,Pe)},secondary:function(He){var Pe='right'===He?'left':'top',ke=Ne[Pe];return Ne[He]>Ce[He]&&!Le.escapeWithReference&&(ke=_Mathmin(Ne[Pe],Ce[He]-('right'===He?Ne.width:Ne.height))),ce({},Pe,ke)}};return Te.forEach(function(De){var He=-1===['left','top'].indexOf(De)?'secondary':'primary';Ne=he({},Ne,We[He](De))}),Oe.offsets.popper=Ne,Oe},priority:['left','right','top','bottom'],padding:5,boundariesElement:'scrollParent'},keepTogether:{order:400,enabled:!0,fn:function(Oe){var Le=w(Oe.offsets.popper),Se=Oe.offsets.reference,Ce=Oe.placement.split('-')[0],Te=_Mathfloor,Ne=-1!==['top','bottom'].indexOf(Ce),We=Ne?'right':'bottom',De=Ne?'left':'top',He=Ne?'width':'height';return Le[We]<Te(Se[De])&&(Oe.offsets.popper[De]=Te(Se[De])-Le[He]),Le[De]>Te(Se[We])&&(Oe.offsets.popper[De]=Te(Se[We])),Oe}},arrow:{order:500,enabled:!0,fn:function(Oe,Le){if(!K(Oe.instance.modifiers,'arrow','keepTogether'))return Oe;var Se=Le.element;if('string'==typeof Se){if(Se=Oe.instance.popper.querySelector(Se),!Se)return Oe;}else if(!Oe.instance.popper.contains(Se))return console.warn('WARNING: `arrow.element` must be child of its popper element!'),Oe;var Ce=Oe.placement.split('-')[0],Te=w(Oe.offsets.popper),Ne=Oe.offsets.reference,We=-1!==['left','right'].indexOf(Ce),De=We?'height':'width',He=We?'top':'left',Pe=We?'left':'top',ke=We?'bottom':'right',Be=C(Se)[De];Ne[ke]-Be<Te[He]&&(Oe.offsets.popper[He]-=Te[He]-(Ne[ke]-Be)),Ne[He]+Be>Te[ke]&&(Oe.offsets.popper[He]+=Ne[He]+Be-Te[ke]);var Me=Ne[He]+Ne[De]/2-Be/2,Ie=Me-w(Oe.offsets.popper)[He];return Ie=_Mathmax(_Mathmin(Te[De]-Be,Ie),0),Oe.arrowElement=Se,Oe.offsets.arrow={},Oe.offsets.arrow[He]=Ie,Oe.offsets.arrow[Pe]='',Oe},element:'[x-arrow]'},flip:{order:600,enabled:!0,fn:function(Oe,Le){if(I(Oe.instance.modifiers,'inner'))return Oe;if(Oe.flipped&&Oe.placement===Oe.originalPlacement)return Oe;var Se=Y(Oe.instance.popper,Oe.instance.reference,Le.padding,Le.boundariesElement),Ce=Oe.placement.split('-')[0],Te=T(Ce),Ne=Oe.placement.split('-')[1]||'',We=[];switch(Le.behavior){case Ee.FLIP:We=[Ce,Te];break;case Ee.CLOCKWISE:We=V(Ce);break;case Ee.COUNTERCLOCKWISE:We=V(Ce,!0);break;default:We=Le.behavior;}return We.forEach(function(De,He){if(Ce!==De||We.length===He+1)return Oe;Ce=Oe.placement.split('-')[0],Te=T(Ce);var Pe=w(Oe.offsets.popper),ke=Oe.offsets.reference,Be=_Mathfloor,Me='left'===Ce&&Be(Pe.right)>Be(ke.left)||'right'===Ce&&Be(Pe.left)<Be(ke.right)||'top'===Ce&&Be(Pe.bottom)>Be(ke.top)||'bottom'===Ce&&Be(Pe.top)<Be(ke.bottom),Ie=Be(Pe.left)<Be(Se.left),Ae=Be(Pe.right)>Be(Se.right),Ue=Be(Pe.top)<Be(Se.top),Ye=Be(Pe.bottom)>Be(Se.bottom),Re='left'===Ce&&Ie||'right'===Ce&&Ae||'top'===Ce&&Ue||'bottom'===Ce&&Ye,Fe=-1!==['top','bottom'].indexOf(Ce),je=!!Le.flipVariations&&(Fe&&'start'===Ne&&Ie||Fe&&'end'===Ne&&Ae||!Fe&&'start'===Ne&&Ue||!Fe&&'end'===Ne&&Ye);(Me||Re||je)&&(Oe.flipped=!0,(Me||Re)&&(Ce=We[He+1]),je&&(Ne=_(Ne)),Oe.placement=Ce+(Ne?'-'+Ne:''),Oe.offsets.popper=N(Oe.instance.state.position,Oe.instance.popper,Oe.offsets.reference,Oe.placement),Oe=M(Oe.instance.modifiers,Oe,'flip'))}),Oe},behavior:'flip',padding:5,boundariesElement:'viewport'},inner:{order:700,enabled:!1,fn:function(Oe){var Le=Oe.placement,Se=Le.split('-')[0],Ce=w(Oe.offsets.popper),Te=w(Oe.offsets.reference),Ne=-1!==['left','right'].indexOf(Se),We=-1===['top','left'].indexOf(Se);return Ce[Ne?'left':'top']=Te[Le]-(We?Ce[Ne?'width':'height']:0),Oe.placement=T(Le),Oe.offsets.popper=w(Ce),Oe}},hide:{order:800,enabled:!0,fn:function(Oe){if(!K(Oe.instance.modifiers,'hide','preventOverflow'))return Oe;var Le=Oe.offsets.reference,Se=k(Oe.instance.modifiers,function(Ce){return'preventOverflow'===Ce.name}).boundaries;if(Le.bottom<Se.top||Le.left>Se.right||Le.top>Se.bottom||Le.right<Se.left){if(!0===Oe.hide)return Oe;Oe.hide=!0,Oe.attributes['x-out-of-boundaries']=''}else{if(!1===Oe.hide)return Oe;Oe.hide=!1,Oe.attributes['x-out-of-boundaries']=!1}return Oe}},applyStyle:{order:900,enabled:!0,fn:function(Oe,Le){var Se={position:Oe.offsets.popper.position},Ce={'x-placement':Oe.placement},Te=_Mathround(Oe.offsets.popper.left),Ne=_Mathround(Oe.offsets.popper.top),We=s('transform');return Le.gpuAcceleration&&We?(Se[We]='translate3d('+Te+'px, '+Ne+'px, 0)',Se.top=0,Se.left=0,Se.willChange='transform'):(Se.left=Te,Se.top=Ne,Se.willChange='top, left'),r(Oe.instance.popper,he({},Se,Oe.styles)),F(Oe.instance.popper,he({},Ce,Oe.attributes)),Oe.offsets.arrow&&r(Oe.arrowElement,Oe.offsets.arrow),Oe},onLoad:function(Oe,Le,Se,Ce,Te){var Ne=S(Te,Le,Oe),We=R(Se.placement,Ne,Le,Oe,Se.modifiers.flip.boundariesElement);return Le.setAttribute('x-placement',We),Se},gpuAcceleration:!0}}},xe});
+var _Mathfloor=Math.floor,_Mathmin=Math.min,_Mathround=Math.round,_Mathmax=Math.max;(function(e,t){'object'==typeof exports&&'undefined'!=typeof module?module.exports=t():'function'==typeof define&&define.amd?define(t):e.Popper=t()})(this,function(){'use strict';function o(Te){return''!==Te&&!isNaN(parseFloat(Te))&&isFinite(Te)}function r(Te,Ne){Object.keys(Ne).forEach(function(We){var De='';-1!==['width','height','top','right','bottom','left'].indexOf(We)&&o(Ne[We])&&(De='px'),Te.style[We]=Ne[We]+De})}function s(Te){return Te&&'[object Function]'==={}.toString.call(Te)}function p(Te,Ne){if(1!==Te.nodeType)return[];var We=window.getComputedStyle(Te,null);return Ne?We[Ne]:We}function d(Te){return'HTML'===Te.nodeName?Te:Te.parentNode||Te.host}function f(Te){if(!Te||-1!==['HTML','BODY','#document'].indexOf(Te.nodeName))return window.document.body;var Ne=p(Te),We=Ne.overflow,De=Ne.overflowX,He=Ne.overflowY;return /(auto|scroll)/.test(We+He+De)?Te:f(d(Te))}function l(Te){var Ne=Te.nodeName;return'BODY'!==Ne&&('HTML'===Ne||Te.firstElementChild.offsetParent===Te)}function m(Te){return null===Te.parentNode?Te:m(Te.parentNode)}function c(Te){var Ne=Te&&Te.offsetParent,We=Ne&&Ne.nodeName;return We&&'BODY'!==We&&'HTML'!==We?Ne:window.document.documentElement}function h(Te,Ne){if(!Te||!Te.nodeType||!Ne||!Ne.nodeType)return window.document.documentElement;var We=Te.compareDocumentPosition(Ne)&Node.DOCUMENT_POSITION_FOLLOWING,De=We?Te:Ne,He=We?Ne:Te,Pe=document.createRange();Pe.setStart(De,0),Pe.setEnd(He,0);var ke=Pe.commonAncestorContainer;if(Te!==ke&&Ne!==ke||De.contains(He))return l(ke)?ke:c(ke);var Be=m(Te);return Be.host?h(Be.host,Ne):h(Te,m(Ne).host)}function u(Te){var Ne=1<arguments.length&&void 0!==arguments[1]?arguments[1]:'top',We='top'===Ne?'scrollTop':'scrollLeft',De=Te.nodeName;if('BODY'===De||'HTML'===De){var He=window.document.documentElement,Pe=window.document.scrollingElement||He;return Pe[We]}return Te[We]}function g(Te,Ne){var We=2<arguments.length&&void 0!==arguments[2]&&arguments[2],De=u(Ne,'top'),He=u(Ne,'left'),Pe=We?-1:1;return Te.top+=De*Pe,Te.bottom+=De*Pe,Te.left+=He*Pe,Te.right+=He*Pe,Te}function E(Te,Ne){var We='x'===Ne?'Left':'Top',De='Left'==We?'Right':'Bottom';return+Te['border'+We+'Width'].split('px')[0]+ +Te['border'+De+'Width'].split('px')[0]}function v(){var Te=window.document.body,Ne=window.document.documentElement;return{height:_Mathmax(Te.scrollHeight,Te.offsetHeight,Ne.clientHeight,Ne.scrollHeight,Ne.offsetHeight),width:_Mathmax(Te.scrollWidth,Te.offsetWidth,Ne.clientWidth,Ne.scrollWidth,Ne.offsetWidth)}}function w(Te){return ye({},Te,{right:Te.left+Te.width,bottom:Te.top+Te.height})}function O(Te){var Ne={};if(ve())try{Ne=Te.getBoundingClientRect();var We=u(Te,'top'),De=u(Te,'left');Ne.top+=We,Ne.left+=De,Ne.bottom+=We,Ne.right+=De}catch(Ue){}else Ne=Te.getBoundingClientRect();var He={left:Ne.left,top:Ne.top,width:Ne.right-Ne.left,height:Ne.bottom-Ne.top},Pe='HTML'===Te.nodeName?v():{},ke=Pe.width||Te.clientWidth||He.right-He.left,Be=Pe.height||Te.clientHeight||He.bottom-He.top,Me=Te.offsetWidth-ke,Ie=Te.offsetHeight-Be;if(Me||Ie){var Ae=p(Te);Me-=E(Ae,'x'),Ie-=E(Ae,'y'),He.width-=Me,He.height-=Ie}return w(He)}function L(Te,Ne){var We=ve(),De='HTML'===Ne.nodeName,He=O(Te),Pe=O(Ne),ke=f(Te),Be=w({top:He.top-Pe.top,left:He.left-Pe.left,width:He.width,height:He.height});if(De||'BODY'===Ne.nodeName){var Me=p(Ne),Ie=We&&De?0:+Me.borderTopWidth.split('px')[0],Ae=We&&De?0:+Me.borderLeftWidth.split('px')[0],Ue=We&&De?0:+Me.marginTop.split('px')[0],Ye=We&&De?0:+Me.marginLeft.split('px')[0];Be.top-=Ie-Ue,Be.bottom-=Ie-Ue,Be.left-=Ae-Ye,Be.right-=Ae-Ye,Be.marginTop=Ue,Be.marginLeft=Ye}return Ne.contains(ke)&&(We||'BODY'!==ke.nodeName)&&(Be=g(Be,Ne)),Be}function S(Te){var Ne=window.document.documentElement,We=L(Te,Ne),De=_Mathmax(Ne.clientWidth,window.innerWidth||0),He=_Mathmax(Ne.clientHeight,window.innerHeight||0),Pe=u(Ne),ke=u(Ne,'left'),Be={top:Pe-We.top+We.marginTop,left:ke-We.left+We.marginLeft,width:De,height:He};return w(Be)}function C(Te){var Ne=Te.nodeName;return'BODY'===Ne||'HTML'===Ne?!1:'fixed'===p(Te,'position')||C(d(Te))}function T(Te,Ne,We,De){var He={top:0,left:0},Pe=h(Te,Ne);if('viewport'===De)He=S(Pe);else{var ke;'scrollParent'===De?(ke=f(d(Te)),'BODY'===ke.nodeName&&(ke=window.document.documentElement)):'window'===De?ke=window.document.documentElement:ke=De;var Be=L(ke,Pe);if('HTML'===ke.nodeName&&!C(Pe)){var Me=v(),Ie=Me.height,Ae=Me.width;He.top+=Be.top-Be.marginTop,He.bottom=Ie+Be.top,He.left+=Be.left-Be.marginLeft,He.right=Ae+Be.left}else He=Be}return He.left+=We,He.top+=We,He.right-=We,He.bottom-=We,He}function N(Te,Ne,We,De,He){if(-1===Te.indexOf('auto'))return Te;var Pe=T(We,De,0,He),ke={top:Ne.top-Pe.top,right:Pe.right-Ne.right,bottom:Pe.bottom-Ne.bottom,left:Ne.left-Pe.left},Be=Object.keys(ke).sort(function(Ie,Ae){return ke[Ae]-ke[Ie]})[0],Me=Te.split('-')[1];return Be+(Me?'-'+Me:'')}function W(Te,Ne,We){var De=h(Ne,We);return L(We,De)}function D(Te){var Ne=window.getComputedStyle(Te),We=parseFloat(Ne.marginTop)+parseFloat(Ne.marginBottom),De=parseFloat(Ne.marginLeft)+parseFloat(Ne.marginRight),He={width:Te.offsetWidth+De,height:Te.offsetHeight+We};return He}function H(Te){var Ne={left:'right',right:'left',bottom:'top',top:'bottom'};return Te.replace(/left|right|bottom|top/g,function(We){return Ne[We]})}function P(Te,Ne,We){We=We.split('-')[0];var De=D(Te),He={width:De.width,height:De.height},Pe=-1!==['right','left'].indexOf(We),ke=Pe?'top':'left',Be=Pe?'left':'top',Me=Pe?'height':'width',Ie=Pe?'width':'height';return He[ke]=Ne[ke]+Ne[Me]/2-De[Me]/2,He[Be]=We===Be?Ne[Be]-De[Ie]:Ne[H(Be)],He}function k(Te,Ne){return Array.prototype.find?Te.find(Ne):Te.filter(Ne)[0]}function B(Te,Ne,We){if(Array.prototype.findIndex)return Te.findIndex(function(He){return He[Ne]===We});var De=k(Te,function(He){return He[Ne]===We});return Te.indexOf(De)}function M(Te,Ne,We){var De=void 0===We?Te:Te.slice(0,B(Te,'name',We));return De.forEach(function(He){He.function&&console.warn('`modifier.function` is deprecated, use `modifier.fn`!');var Pe=He.function||He.fn;He.enabled&&s(Pe)&&(Ne=Pe(Ne,He))}),Ne}function I(){if(!this.state.isDestroyed){var Te={instance:this,styles:{},attributes:{},flipped:!1,offsets:{}};Te.offsets.reference=W(this.state,this.popper,this.reference),Te.placement=N(this.options.placement,Te.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement),Te.originalPlacement=Te.placement,Te.offsets.popper=P(this.popper,Te.offsets.reference,Te.placement),Te.offsets.popper.position='absolute',Te=M(this.modifiers,Te),this.state.isCreated?this.options.onUpdate(Te):(this.state.isCreated=!0,this.options.onCreate(Te))}}function A(Te,Ne){return Te.some(function(We){var De=We.name,He=We.enabled;return He&&De===Ne})}function U(Te){for(var Ne=[!1,'ms','webkit','moz','o'],We=Te.charAt(0).toUpperCase()+Te.slice(1),De=0;De<Ne.length-1;De++){var He=Ne[De],Pe=He?''+He+We:Te;if('undefined'!=typeof window.document.body.style[Pe])return Pe}return null}function Y(){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[U('transform')]=''),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function R(Te,Ne,We,De){var He='BODY'===Te.nodeName,Pe=He?window:Te;Pe.addEventListener(Ne,We,{passive:!0}),He||R(f(Pe.parentNode),Ne,We,De),De.push(Pe)}function F(Te,Ne,We,De){We.updateBound=De,window.addEventListener('resize',We.updateBound,{passive:!0});var He=f(Te);return R(He,'scroll',We.updateBound,We.scrollParents),We.scrollElement=He,We.eventsEnabled=!0,We}function j(){this.state.eventsEnabled||(this.state=F(this.reference,this.options,this.state,this.scheduleUpdate))}function q(Te,Ne){return window.removeEventListener('resize',Ne.updateBound),Ne.scrollParents.forEach(function(We){We.removeEventListener('scroll',Ne.updateBound)}),Ne.updateBound=null,Ne.scrollParents=[],Ne.scrollElement=null,Ne.eventsEnabled=!1,Ne}function K(){this.state.eventsEnabled&&(window.cancelAnimationFrame(this.scheduleUpdate),this.state=q(this.reference,this.state))}function z(Te,Ne){Object.keys(Ne).forEach(function(We){var De=Ne[We];!1===De?Te.removeAttribute(We):Te.setAttribute(We,Ne[We])})}function G(Te,Ne,We){var De=k(Te,function(Be){var Me=Be.name;return Me===Ne}),He=!!De&&Te.some(function(Be){return Be.name===We&&Be.enabled&&Be.order<De.order});if(!He){var Pe='`'+Ne+'`';console.warn('`'+We+'`'+' modifier is required by '+Pe+' modifier in order to work, be sure to include it before '+Pe+'!')}return He}function Q(Te){return'end'===Te?'start':'start'===Te?'end':Te}function Z(Te){var Ne=1<arguments.length&&void 0!==arguments[1]&&arguments[1],We=xe.indexOf(Te),De=xe.slice(We+1).concat(xe.slice(0,We));return Ne?De.reverse():De}function ee(Te,Ne,We,De){var He=Te.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),Pe=+He[1],ke=He[2];if(!Pe)return Te;if(0===ke.indexOf('%')){var Be;switch(ke){case'%p':Be=We;break;case'%':case'%r':default:Be=De;}var Me=w(Be);return Me[Ne]/100*Pe}if('vh'===ke||'vw'===ke){var Ie;return Ie='vh'===ke?_Mathmax(document.documentElement.clientHeight,window.innerHeight||0):_Mathmax(document.documentElement.clientWidth,window.innerWidth||0),Ie/100*Pe}return Pe}function te(Te,Ne,We,De){var He=[0,0],Pe=-1!==['right','left'].indexOf(De),ke=Te.split(/(\+|\-)/).map(function(Ae){return Ae.trim()}),Be=ke.indexOf(k(ke,function(Ae){return-1!==Ae.search(/,|\s/)}));ke[Be]&&-1===ke[Be].indexOf(',')&&console.warn('Offsets separated by white space(s) are deprecated, use a comma (,) instead.');var Me=/\s*,\s*|\s+/,Ie=-1===Be?[ke]:[ke.slice(0,Be).concat([ke[Be].split(Me)[0]]),[ke[Be].split(Me)[1]].concat(ke.slice(Be+1))];return Ie=Ie.map(function(Ae,Ue){var Ye=(1===Ue?!Pe:Pe)?'height':'width',Re=!1;return Ae.reduce(function(Fe,je){return''===Fe[Fe.length-1]&&-1!==['+','-'].indexOf(je)?(Fe[Fe.length-1]=je,Re=!0,Fe):Re?(Fe[Fe.length-1]+=je,Re=!1,Fe):Fe.concat(je)},[]).map(function(Fe){return ee(Fe,Ye,Ne,We)})}),Ie.forEach(function(Ae,Ue){Ae.forEach(function(Ye,Re){o(Ye)&&(He[Ue]+=Ye*('-'===Ae[Re-1]?-1:1))})}),He}for(var pe=['native code','[object MutationObserverConstructor]'],ae=function(Te){return pe.some(function(Ne){return-1<(Te||'').toString().indexOf(Ne)})},de='undefined'!=typeof window,fe=['Edge','Trident','Firefox'],le=0,me=0;me<fe.length;me+=1)if(de&&0<=navigator.userAgent.indexOf(fe[me])){le=1;break}var Ee,ce=de&&ae(window.MutationObserver),he=ce?function(Te){var Ne=!1,We=0,De=document.createElement('span'),He=new MutationObserver(function(){Te(),Ne=!1});return He.observe(De,{attributes:!0}),function(){Ne||(Ne=!0,De.setAttribute('x-index',We),++We)}}:function(Te){var Ne=!1;return function(){Ne||(Ne=!0,setTimeout(function(){Ne=!1,Te()},le))}},ue=function(Te,Ne){if(!(Te instanceof Ne))throw new TypeError('Cannot call a class as a function')},ge=function(){function Te(Ne,We){for(var He,De=0;De<We.length;De++)He=We[De],He.enumerable=He.enumerable||!1,He.configurable=!0,'value'in He&&(He.writable=!0),Object.defineProperty(Ne,He.key,He)}return function(Ne,We,De){return We&&Te(Ne.prototype,We),De&&Te(Ne,De),Ne}}(),be=function(Te,Ne,We){return Ne in Te?Object.defineProperty(Te,Ne,{value:We,enumerable:!0,configurable:!0,writable:!0}):Te[Ne]=We,Te},ye=Object.assign||function(Te){for(var We,Ne=1;Ne<arguments.length;Ne++)for(var De in We=arguments[Ne],We)Object.prototype.hasOwnProperty.call(We,De)&&(Te[De]=We[De]);return Te},ve=function(){return void 0==Ee&&(Ee=-1!==navigator.appVersion.indexOf('MSIE 10')),Ee},we=['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'],xe=we.slice(3),Oe={FLIP:'flip',CLOCKWISE:'clockwise',COUNTERCLOCKWISE:'counterclockwise'},Ce=function(){function Te(Ne,We){var De=this,He=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};ue(this,Te),this.scheduleUpdate=function(){return requestAnimationFrame(De.update)},this.update=he(this.update.bind(this)),this.options=ye({},Te.Defaults,He),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=Ne.jquery?Ne[0]:Ne,this.popper=We.jquery?We[0]:We,r(this.popper,{position:'absolute'}),this.modifiers=Object.keys(Te.Defaults.modifiers).map(function(ke){return ye({name:ke},Te.Defaults.modifiers[ke])}),this.modifiers=this.modifiers.map(function(ke){var Be=He.modifiers&&He.modifiers[ke.name]||{};return ye({},ke,Be)}),He.modifiers&&(this.options.modifiers=ye({},Te.Defaults.modifiers,He.modifiers),Object.keys(He.modifiers).forEach(function(ke){if(void 0===Te.Defaults.modifiers[ke]){var Be=He.modifiers[ke];Be.name=ke,De.modifiers.push(Be)}})),this.modifiers=this.modifiers.sort(function(ke,Be){return ke.order-Be.order}),this.modifiers.forEach(function(ke){ke.enabled&&s(ke.onLoad)&&ke.onLoad(De.reference,De.popper,De.options,ke,De.state)}),this.update();var Pe=this.options.eventsEnabled;Pe&&this.enableEventListeners(),this.state.eventsEnabled=Pe}return ge(Te,[{key:'update',value:function(){return I.call(this)}},{key:'destroy',value:function(){return Y.call(this)}},{key:'enableEventListeners',value:function(){return j.call(this)}},{key:'disableEventListeners',value:function(){return K.call(this)}}]),Te}();return Ce.Utils=('undefined'==typeof window?global:window).PopperUtils,Ce.placements=we,Ce.Defaults={placement:'bottom',eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(Te){var Ne=Te.placement,We=Ne.split('-')[0],De=Ne.split('-')[1];if(De){var He=Te.offsets.reference,Pe=w(Te.offsets.popper),ke=-1!==['bottom','top'].indexOf(We),Be=ke?'left':'top',Me=ke?'width':'height',Ie={start:be({},Be,He[Be]),end:be({},Be,He[Be]+He[Me]-Pe[Me])};Te.offsets.popper=ye({},Pe,Ie[De])}return Te}},offset:{order:200,enabled:!0,fn:function(Te,Ne){var Me,We=Ne.offset,De=Te.placement,He=Te.offsets,Pe=He.popper,ke=He.reference,Be=De.split('-')[0];return Me=o(+We)?[+We,0]:te(We,Pe,ke,Be),'left'===Be?(Pe.top+=Me[0],Pe.left-=Me[1]):'right'===Be?(Pe.top+=Me[0],Pe.left+=Me[1]):'top'===Be?(Pe.left+=Me[0],Pe.top-=Me[1]):'bottom'===Be&&(Pe.left+=Me[0],Pe.top+=Me[1]),Te.popper=Pe,Te},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(Te,Ne){var We=Ne.boundariesElement||c(Te.instance.popper),De=T(Te.instance.popper,Te.instance.reference,Ne.padding,We);Ne.boundaries=De;var He=Ne.priority,Pe=w(Te.offsets.popper),ke={primary:function(Me){var Ie=Pe[Me];return Pe[Me]<De[Me]&&!Ne.escapeWithReference&&(Ie=_Mathmax(Pe[Me],De[Me])),be({},Me,Ie)},secondary:function(Me){var Ie='right'===Me?'left':'top',Ae=Pe[Ie];return Pe[Me]>De[Me]&&!Ne.escapeWithReference&&(Ae=_Mathmin(Pe[Ie],De[Me]-('right'===Me?Pe.width:Pe.height))),be({},Ie,Ae)}};return He.forEach(function(Be){var Me=-1===['left','top'].indexOf(Be)?'secondary':'primary';Pe=ye({},Pe,ke[Me](Be))}),Te.offsets.popper=Pe,Te},priority:['left','right','top','bottom'],padding:5,boundariesElement:'scrollParent'},keepTogether:{order:400,enabled:!0,fn:function(Te){var Ne=w(Te.offsets.popper),We=Te.offsets.reference,De=Te.placement.split('-')[0],He=_Mathfloor,Pe=-1!==['top','bottom'].indexOf(De),ke=Pe?'right':'bottom',Be=Pe?'left':'top',Me=Pe?'width':'height';return Ne[ke]<He(We[Be])&&(Te.offsets.popper[Be]=He(We[Be])-Ne[Me]),Ne[Be]>He(We[ke])&&(Te.offsets.popper[Be]=He(We[ke])),Te}},arrow:{order:500,enabled:!0,fn:function(Te,Ne){if(!G(Te.instance.modifiers,'arrow','keepTogether'))return Te;var We=Ne.element;if('string'==typeof We){if(We=Te.instance.popper.querySelector(We),!We)return Te;}else if(!Te.instance.popper.contains(We))return console.warn('WARNING: `arrow.element` must be child of its popper element!'),Te;var De=Te.placement.split('-')[0],He=w(Te.offsets.popper),Pe=Te.offsets.reference,ke=-1!==['left','right'].indexOf(De),Be=ke?'height':'width',Me=ke?'top':'left',Ie=ke?'left':'top',Ae=ke?'bottom':'right',Ue=D(We)[Be];Pe[Ae]-Ue<He[Me]&&(Te.offsets.popper[Me]-=He[Me]-(Pe[Ae]-Ue)),Pe[Me]+Ue>He[Ae]&&(Te.offsets.popper[Me]+=Pe[Me]+Ue-He[Ae]);var Ye=Pe[Me]+Pe[Be]/2-Ue/2,Re=Ye-w(Te.offsets.popper)[Me];return Re=_Mathmax(_Mathmin(He[Be]-Ue,Re),0),Te.arrowElement=We,Te.offsets.arrow={},Te.offsets.arrow[Me]=Re,Te.offsets.arrow[Ie]='',Te},element:'[x-arrow]'},flip:{order:600,enabled:!0,fn:function(Te,Ne){if(A(Te.instance.modifiers,'inner'))return Te;if(Te.flipped&&Te.placement===Te.originalPlacement)return Te;var We=T(Te.instance.popper,Te.instance.reference,Ne.padding,Ne.boundariesElement),De=Te.placement.split('-')[0],He=H(De),Pe=Te.placement.split('-')[1]||'',ke=[];switch(Ne.behavior){case Oe.FLIP:ke=[De,He];break;case Oe.CLOCKWISE:ke=Z(De);break;case Oe.COUNTERCLOCKWISE:ke=Z(De,!0);break;default:ke=Ne.behavior;}return ke.forEach(function(Be,Me){if(De!==Be||ke.length===Me+1)return Te;De=Te.placement.split('-')[0],He=H(De);var Ie=w(Te.offsets.popper),Ae=Te.offsets.reference,Ue=_Mathfloor,Ye='left'===De&&Ue(Ie.right)>Ue(Ae.left)||'right'===De&&Ue(Ie.left)<Ue(Ae.right)||'top'===De&&Ue(Ie.bottom)>Ue(Ae.top)||'bottom'===De&&Ue(Ie.top)<Ue(Ae.bottom),Re=Ue(Ie.left)<Ue(We.left),Fe=Ue(Ie.right)>Ue(We.right),je=Ue(Ie.top)<Ue(We.top),qe=Ue(Ie.bottom)>Ue(We.bottom),Ke='left'===De&&Re||'right'===De&&Fe||'top'===De&&je||'bottom'===De&&qe,ze=-1!==['top','bottom'].indexOf(De),_e=!!Ne.flipVariations&&(ze&&'start'===Pe&&Re||ze&&'end'===Pe&&Fe||!ze&&'start'===Pe&&je||!ze&&'end'===Pe&&qe);(Ye||Ke||_e)&&(Te.flipped=!0,(Ye||Ke)&&(De=ke[Me+1]),_e&&(Pe=Q(Pe)),Te.placement=De+(Pe?'-'+Pe:''),Te.offsets.popper=P(Te.instance.popper,Te.offsets.reference,Te.placement),Te=M(Te.instance.modifiers,Te,'flip'))}),Te},behavior:'flip',padding:5,boundariesElement:'viewport'},inner:{order:700,enabled:!1,fn:function(Te){var Ne=Te.placement,We=Ne.split('-')[0],De=w(Te.offsets.popper),He=w(Te.offsets.reference),Pe=-1!==['left','right'].indexOf(We),ke=-1===['top','left'].indexOf(We);return De[Pe?'left':'top']=He[Ne]-(ke?De[Pe?'width':'height']:0),Te.placement=H(Ne),Te.offsets.popper=w(De),Te}},hide:{order:800,enabled:!0,fn:function(Te){if(!G(Te.instance.modifiers,'hide','preventOverflow'))return Te;var Ne=Te.offsets.reference,We=k(Te.instance.modifiers,function(De){return'preventOverflow'===De.name}).boundaries;if(Ne.bottom<We.top||Ne.left>We.right||Ne.top>We.bottom||Ne.right<We.left){if(!0===Te.hide)return Te;Te.hide=!0,Te.attributes['x-out-of-boundaries']=''}else{if(!1===Te.hide)return Te;Te.hide=!1,Te.attributes['x-out-of-boundaries']=!1}return Te}},applyStyle:{order:900,enabled:!0,fn:function(Te,Ne){var We={position:Te.offsets.popper.position},De={'x-placement':Te.placement},He=_Mathround(Te.offsets.popper.left),Pe=_Mathround(Te.offsets.popper.top),ke=U('transform');return Ne.gpuAcceleration&&ke?(We[ke]='translate3d('+He+'px, '+Pe+'px, 0)',We.top=0,We.left=0,We.willChange='transform'):(We.left=He,We.top=Pe,We.willChange='top, left'),r(Te.instance.popper,ye({},We,Te.styles)),z(Te.instance.popper,ye({},De,Te.attributes)),Te.offsets.arrow&&r(Te.arrowElement,Te.offsets.arrow),Te},onLoad:function(Te,Ne,We,De,He){var Pe=W(He,Ne,Te),ke=N(We.placement,Pe,Ne,Te,We.modifiers.flip.boundariesElement);return Ne.setAttribute('x-placement',ke),We},gpuAcceleration:!0}}},Ce});
//# sourceMappingURL=popper.min.js.map \ No newline at end of file