Distributed under the MIT License (license terms are at http://opensource.org/licenses/MIT).
*/(function(e,t){'object'==typeofexports&&'undefined'!=typeofmodule?module.exports=t():'function'==typeofdefine&&define.amd?define(t):e.Popper=t()})(this,function(){'use strict';functione(e){returne&&'[object Function]'==={}.toString.call(e)}functiont(e,t){if(1!==e.nodeType)return[];varo=getComputedStyle(e,null);returnt?o[t]:o}functiono(e){return'HTML'===e.nodeName?e:e.parentNode||e.host}functionn(e){if(!e)returndocument.body;switch(e.nodeName){case'HTML':case'BODY':returne.ownerDocument.body;case'#document':returne.body;}vari=t(e),r=i.overflow,p=i.overflowX,s=i.overflowY;return/(auto|scroll|overlay)/.test(r+s+p)?e:n(o(e))}functionr(e){return11===e?re:10===e?pe:re||pe}functionp(e){if(!e)returndocument.documentElement;for(varo=r(10)?document.body:null,n=e.offsetParent;n===o&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;vari=n&&n.nodeName;returni&&'BODY'!==i&&'HTML'!==i?-1!==['TD','TABLE'].indexOf(n.nodeName)&&'static'===t(n,'position')?p(n):n:e?e.ownerDocument.documentElement:document.documentElement}functions(e){vart=e.nodeName;return'BODY'!==t&&('HTML'===t||p(e.firstElementChild)===e)}functiond(e){returnnull===e.parentNode?e:d(e.parentNode)}functiona(e,t){if(!e||!e.nodeType||!t||!t.nodeType)returndocument.documentElement;varo=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,n=o?e:t,i=o?t:e,r=document.createRange();r.setStart(n,0),r.setEnd(i,0);varl=r.commonAncestorContainer;if(e!==l&&t!==l||n.contains(i))returns(l)?l:p(l);varf=d(e);returnf.host?a(f.host,t):a(e,d(t).host)}functionl(e){vart=1<arguments.length&&void0!==arguments[1]?arguments[1]:'top',o='top'===t?'scrollTop':'scrollLeft',n=e.nodeName;if('BODY'===n||'HTML'===n){vari=e.ownerDocument.documentElement,r=e.ownerDocument.scrollingElement||i;returnr[o]}returne[o]}functionf(e,t){varo=2<arguments.length&&void0!==arguments[2]&&arguments[2],n=l(t,'top'),i=l(t,'left'),r=o?-1:1;returne.top+=n*r,e.bottom+=n*r,e.left+=i*r,e.right+=i*r,e}functionm(e,t){varo='x'===t?'Left':'Top',n='Left'==o?'Right':'Bottom';returnparseFloat(e['border'+o+'Width'],10)+parseFloat(e['border'+n+'Width'],10)}functionh(e,t,o,n){return$(t['offset'+e],t['scroll'+e],o['client'+e],o['offset'+e],o['scroll'+e],r(10)?o['offset'+e]+n['margin'+('Height'===e?'Top':'Left')]+n['margin'+('Height'===e?'Bottom':'Right')]:0)}functionc(){vare=document.body,t=document.documentElement,o=r(10)&&getComputedStyle(t);return{height:h('Height',e,t,o),width:h('Width',e,t,o)}}functiong(e){returnle({},e,{right:e.left+e.width,bottom:e.top+e.height})}functionu(e){varo={};try{if(r(10)){o=e.getBoundingClientRect();varn=l(e,'top'),i=l(e,'left');o.top+=n,o.left+=i,o.bottom+=n,o.right+=i}elseo=e.getBoundingClientRect()}catch(t){}varp={left:o.left,top:o.top,width:o.right-o.left,height:o.bottom-o.top},s='HTML'===e.nodeName?c():{},d=s.width||e.clientWidth||p.right-p.left,a=s.height||e.clientHeight||p.bottom-p.top,f=e.offsetWidth-d,h=e.offsetHeight-a;if(f||h){varu=t(e);f-=m(u,'x'),h-=m(u,'y'),p.width-=f,p.height-=h}returng(p)}functionb(e,o){vari=2<arguments.length&&void0!==arguments[2]&&arguments[2],p=r(10),s='HTML'===o.nodeName,d=u(e),a=u(o),l=n(e),m=t(o),h=parseFloat(m.borderTopWidth,10),c=parseFloat(m.borderLeftWidth,10);i&&'HTML'===o.nodeName&&(a.top=$(a.top,0),a.left=$(a.left,0));varb=g({top:d.top-a.top-h,left:d.left-a.left-c,width:d.width,height:d.height});if(b.marginTop=0,b.marginLeft=0,!p&&s){vary=parseFloat(m.marginTop,10),w=parseFloat(m.marginLeft,10);b.top-=h-y,b.bottom-=h-y,b.left-=c-w,b.right-=c-w,b.marginTop=y,b.marginLeft=w}return(p&&!i?o.contains(l):o===l&&'BODY'!==l.nodeName)&&(b=f(b,o)),b}functiony(e){vart=1<arguments.length&&void0!==arguments[1]&&arguments[1],o=e.ownerDocument.documentElement,n=b(e,o),i=$(o.clientWidth,window.innerWidth||0),r=$(o.clientHeight,window.innerHeight||0),p=t?0:l(o),s=t?0:l(o,'left'),d={top:p-n.top+n.marginTop,left:s-n.left+n.marginLeft,width:i,height:r};returng(d)}functionw(e){varn=e.nodeName;return'BODY'===n||'HTML'===n?!1:'fixed'===t(e,'position')||w(o(e))}functionE(e){if(!e||!e.parentElement||r())returndocument.documentElement;for(varo=e.parentElement;o&&'none'===t(o,'transform');)o=o.parentElement;returno||document.documentElement}functionv(e,t,i,r){varp=4<arguments.length&&void0!==arguments[4]&&arguments[4],s={top:0,left:0},d=p?E(e):a(e,t);if('viewport'===r)s=y(d,p);else{varl;'scrollParent'===r?(l=n(o(t)),'BODY'===l.nodeName&&(l=e.ownerDocument.documentElement)):'window'===r?l=e.ownerDocument.documentElement:l=r;varf=b(l,d,p);if('HTML'===l.nodeName&&!w(d)){varm=c(),h=m.height,g=m.width;s.top+=f.top-f.marginTop,s.bottom=h+f.top,s.left+=f.left-f.marginLeft,s.right=g+f.left}elses=f}returns.left+=i,s.top+=i,s.right-=i,s.bottom-=i,s}functionx(e){vart=e.width,o=e.height;returnt*o}functionO(e,t,o,n,i){varr=5<arguments.length&&void0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf('auto'))returne;varp=v(o,n,r,i),s={top:{width:p.width,height:t.top-p.top},right:{width:p.right-t.right,height:p.height},bottom:{width:p.width,height:p.bottom-t.bottom},left:{width:t.left-p.left,height:p.height}},d=Object.keys(s).map(function(e){returnle({key:e},s[e],{area:x(s[e])})}).sort(function(e,t){returnt.area-e.area}),a=d.filter(function(e){vart=e.width,n=e.height;returnt>=o.clientWidth&&n>=o.clientHeight}),l=0<a.length?a[0].key:d[0].key,f=e.split('-')[1];returnl+(f?'-'+f:'')}functionL(e,t,o){varn=3<arguments.length&&void0!==arguments[3]?arguments[3]:null,i=n?E(t):a(t,o);returnb(o,i,n)}functionS(e){vart=getComputedStyle(e),o=parseFloat(t.marginTop)+parseFloat(t.marginBottom),n=parseFloat(t.marginLeft)+parseFloat(t.marginRight),i={width:e.offsetWidth+n,height:e.offsetHeight+o};returni}functionT(e){vart={left:'right',right:'left',bottom:'top',top:'bottom'};returne.replace(/left|right|bottom|top/g,function(e){returnt[e]})}functionC(e,t,o){o=o.split('-')[0];varn=S(e),i={width:n.width,height:n.height},r=-1!==['right','left'].indexOf(o),p=r?'top':'left',s=r?'left':'top',d=r?'height':'width',a=r?'width':'height';returni[p]=t[p]+t[d]/2-n[d]/2,i[s]=o===s?t[s]-n[a]:t[T(s)],i}functionD(e,t){returnArray.prototype.find?e.find(t):e.filter(t)[0]}functionN(e,t,o){if(Array.prototype.findIndex)returne.findIndex(function(e){returne[t]===o});varn=D(e,function(e){returne[t]===o});returne.indexOf(n)}functionP(t,o,n){vari=void0===n?t:t.slice(0,N(t,'name',n));returni.forEach(function(t){t['function']&&console.warn('`modifier.function` is deprecated, use `modifier.fn`!');varn=t['function']||t.fn;t.enabled&&e(n)&&(o.offsets.popper=g(o.offsets.popper),o.offsets.reference=g(o.offsets.reference),o=n(o,t))}),o}functionk(){if(!this.state.isDestroyed){vare={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=L(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=O(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=C(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?'fixed':'absolute',e=P(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}functionW(e,t){returne.some(function(e){varo=e.name,n=e.enabled;returnn&&o===t})}functionB(e){for(vart=[!1,'ms','Webkit','Moz','O'],o=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<t.length;n++){vari=t[n],r=i?''+i+o:e;if('undefined'!=typeofdocument.body.style[r])returnr}returnnull}functionH(){returnthis.state.isDestroyed=!0,W(this.modifiers,'applyStyle')&&(this.popper.removeAttribute('x-placement'),this.popper.style.position='',this.popper.style.top='',this.popper.style.left='',this.popper.style.right='',this.popper.style.bottom='',this.popper.style.willChange='',this.popper.style[B('transform')]=''),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}functionA(e){vart=e.ownerDocument;returnt?t.defaultView:window}functionM(e,t,o,i){varr='BODY'===e.nodeName,p=r?e.ownerDocument.defaultView:e;p.addEventListener(t,o,{passive:!0}),r||M(n(p.parentNode),t,o,i),i.push(p)}functionI(e,t,o,i){o.updateBound=i,A(e).addEventListener('resize',o.updateBound,{passive:!0});varr=n(e);returnM(r,'scroll',o.updateBound,o.scrollParents),o.scrollElement=r,o.eventsEnabled=!0,o}functionF(){this.state.eventsEnabled||(this.state=I(this.reference,this.options,this.state,this.scheduleUpdate))}functionR(e,t){returnA(e).removeEventListener('resize',t.updateBound),t.scrollParents.forEach(function(e){e.removeEventListener('scroll',t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t}functionU(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=R(this.reference,this.state))}functionY(e){return''!==e&&!isNaN(parseFloat(e))&&isFinite(e)}functionj(e,t){Object.keys(t).forEach(function(o){varn='';-1!==['width','height','top','right','bottom','left'].indexOf(o)&&Y(t[o])&&(n='px'),e.style[o]=t[o]+n})}functionK(e,t){Object.keys(t).forEach(function(o){varn=t[o];!1===n?e.removeAttribute(o):e.setAttribute(o,t[o])})}functionq(e,t,o){varn=D(e,function(e){varo=e.name;returno===t}),i=!!n&&e.some(function(e){returne.name===o&&e.enabled&&e.order<n.order});if(!i){varr='`'+t+'`';console.warn('`'+o+'`'+' modifier is required by '+r+' modifier in order to work, be sure to include it before '+r+'!')}returni}functionG(e){return'end'===e?'start':'start'===e?'end':e}functionz(e){vart=1<arguments.length&&void0!==arguments[1]&&arguments[1],o=me.indexOf(e),n=me.slice(o+1).concat(me.slice(0,o));returnt?n.reverse():n}functionV(e,t,o,n){vari=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),r=+i[1],p=i[2];if(!r)returne;if(0===p.indexOf('%')){vars;switch(p){case'%p':s=o;break;case'%':case'%r':default:s=n;}vard=g(s);returnd[t]/100*r}if('vh'===p||'vw'===p){vara;returna='vh'===p?$(document.documentElement.clientHeight,window.innerHeight||0):$(document.documentElement.clientWidth,window.innerWidth||0),a/100*r}returnr}function_(e,t,o,n){vari=[0,0],r=-1!==['right','left'].indexOf(n),p=e.split(/(\+|\-)/).map(function(e){returne.trim()}),s=p.indexOf(D(p,function(e){return-1!==e.search(/,|\s/)}));p[s]&&-1===p[s].indexOf(',')&&console.warn('Offsets separated by white space(s) are deprecated, use a comma (,) instead.');vard=/\s*,\s*|\s+/,a=-1===s?[p]:[p.slice(0,s).concat([p[s].split(d)[0]]),[p[s].split(d)[1]].concat(p.slice(s+1))];returna=a.map(function(e,n){vari=(1===n?!r:r)?'height':'width',p=!1;returne.reduce(function(e,t){return''===e[e.length-1]&&-1!==['+','-'].indexOf(t)?(e[e.length-1]=t,p=!0,e):p?(e[e.length-1]+=t,p=!1,e):e.concat(t)},[]).map(function(e){returnV(e,i,t,o)})}),a.forEach(function(e,t){e.forEach(function(o,n){Y(o)&&(i[t]+=o*('-'===e[n-1]?-1:1))})}),i}functionX(e,t){varo,n=t.offset,i=e.placement,r=e.offsets,p=r.popper,s=r.reference,d=i.split('-')[0];returno=Y(+n)?[+n,0]:_(n,p,s,d),'left'===d?(p.top+=o[0],p.left-=o[1]):'right'===d?(p.top+=o[0],p.left+=o[1]):'top'===d?(p.left+=o[0],p.top-=o[1]):'bottom'===d&&(p.left+=o[0],p.top+=o[1]),e.popper=p,e}for(varJ=Math.min,Q=Math.round,Z=Math.floor,$=Math.max,ee='undefined'!=typeofwindow&&'undefined'!=typeofdocument,te=['Edge','Trident','Firefox'],oe=0,ne=0;ne<te.length;ne+=1)if(ee&&0<=navigator.userAgent.indexOf(te[ne])){oe=1;break}vari=ee&&window.Promise,ie=i?function(e){vart=!1;returnfunction(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}:function(e){vart=!1;returnfunction(){t||(t=!0,setTimeout(function(){t=!1,e()},oe))}},re=ee&&!!(window.MSInputMethodContext&&document.documentMode),pe=ee&&/MSIE 10/.test(navigator.userAgent),se=function(e,t){if(!(einstanceoft))thrownewTypeError('Cannot call a class as a function')},de=function(){functione(e,t){for(varo,n=0;n<t.length;n++)o=t[n],o.enumerable=o.enumerable||!1,o.configurable=!0,'value'ino&&(o.writable=!0),Object.defineProperty(e,o.key,o)}returnfunction(t,o,n){returno&&e(t.prototype,o),n&&e(t,n),t}}(),ae=function(e,t,o){returntine?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e},le=Object.assign||function(e){for(vart,o=1;o<arguments.length;o++)for(varnint=arguments[o],t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);returne},fe=['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'],me=fe.slice(3),he={FLIP:'flip',CLOCKWISE:'clockwise',COUNTERCLOCKWISE:'counterclockwise'},ce=function(){functiont(o,n){vari=this,r=2<arguments.length&&void0!==arguments[2]?arguments[2]:{};se(this,t),this.scheduleUpdate=function(){returnrequestAnimationFrame(i.update)},this.update=ie(this.update.bind(this)),this.options=le({},t.Defaults,r),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=o&&o.jquery?o[0]:o,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(le({},t.Defaults.modifiers,r.modifiers)).forEach(function(e){i.options.modifiers[e]=le({},t.Defaults.modifiers[e]||{},r.modifiers?r.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){returnle({name:e},i.options.modifiers[e])}).sort(function(e,t){returne.order-t.order}),this.modifiers.forEach(function(t){t.enabled&&e(t.onLoad)&&t.onLoad(i.reference,i.popper,i.options,t,i.state)}),this.update();varp=this.options.eventsEnabled;p&&this.enableEventListeners(),this.state.eventsEnabled=p}returnde(t,[{key:'update',value:function(){returnk.call(this)}},{key:'destroy',value:function(){returnH.call(this)}},{key:'enableEventListeners',value:function(){returnF.call(this)}},{key:'disableEventListeners',value:function(){returnU.call(this)}}]),t}();returnce.Utils=('undefined'==typeofwindow?global:window).PopperUtils,ce.placements=fe,ce.Defaults={placement:'bottom',positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){vart=e.placement,o=t.split('-')[0],n=t.split('-')[1];if(n){vari=e.offsets,r=i.reference,p=i.popper,s=-1!==['bottom','top'].indexOf(o),d=s?'left':'top',a=s?'width':'height',l={start:ae({},d,r[d]),end:ae({},d,r[d]+r[a]-p[a])};e.offsets.popper=le({},p,l[n])}returne}},offset:{order:200,enabled:!0,fn:X,offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){varo=t.boundariesElement||p(e.instance.popper);e.instance.reference===o&&(o=p(o));varn=B('transform'),i=e.instance.popper.style,r=i.top,s=i.left,d=i[n];i.top='',i.left='',i[n]='';vara=v(e.instance.popper,e.instance.reference,t.padding,o,e.positionFixed);i.top=r,i.left=s,i[n]=d,t.boundaries=a;varl=t.priority,f=e.offsets.popper,m={primary:function(e){varo=f[e];returnf[e]<a[e]&&!t.escapeWithReference&&(o=$(f[e],a[e])),ae({},e,o)},secondary:function(e){varo='right'===e?'left':'top',n=f[o];returnf[e]>a[e]&&!t.escapeWithReference&&(n=J(f[o],a[e]-('right'===e?f.width:f.height))),ae({},o,n)}};returnl.forEach(function(e){vart=-1===['left','top'].indexOf(e)?'secondary':'primary';f=le({},f,m[t](e))}),e.offsets.popper=f,e},priority:['left','right','top','bottom'],padding:5,boundariesElement:'scrollParent'},keepTogether:{order:400,enabled:!0,fn:function(e){vart=e.offsets,o=t.popper,n=t.reference,i=e.placement.split('-')[0],r=Z,p=-1!==['top','bottom'].indexOf(i),s=p?'right':'bottom',d=p?'left':'top',a=p?'width':'height';returno[s]<r(n[d])&&(e.offsets.popper[d]=r(n[d])-o[a]),o[d]>r(n[s])&&(e.offsets.popper[d]=r(n[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,o){varn;if(!q(e.instance.modifiers,'arrow','keepTogether'))returne;vari=o.element;if('string'==typeofi){if(i=e.instance.popper.querySelector(i),!i)returne;}elseif(!e.instance.popper.contains(i))returnconsole.warn('WARNING: `arrow.element` must be child of its popper element!'),e;varr=e.placement.split('-')[0],p=e.offsets,s=p.popper,d=p.reference,a=-1!==['left','right'].indexOf(r),l=a?'height':'width',f=a?'Top':'Left',m=f.toLowerCase(),h=a?'left':'top',c=a?'bottom':'right',u=S(i)[l];d[c]-u<s[m]&&(e.offsets.popper[m]-=s[m]-(d[c]-u)),d[m]+u>s[c]&&(e.offsets.popper[m]+=d[m]+u-s[c]),e.offsets.popper=g(e.offsets.popper);varb=d[m]+d[l]/2-u/2,y=t(e.instance.popper),w=parseFloat(y['margin'+f],10),E=parseFloat(y['border'+f+'Width'],10),v=b-e.offsets.popper[m]-w-E;returnv=$(J(s[l]-u,v),0),e.arrowElement=i,e.offsets.arrow=(n={},ae(n,m,Q(v)),ae(n,h,''),n),e},element:'[x-arrow]'},flip:{order:600,enabled:!0,fn:function(e,t){if(W(e.instance.modifiers,'inner'))returne;if(e.flipped&&e.placement===e.originalPlacement)returne;varo=v(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),n=e.placement.split('-')[0],i=T(n),r=e.placement.split('-')[1]||'',p=[];switch(t.behavior){casehe.FLIP:p=[n,i];break;casehe.CLOCKWISE:p=z(n);break;casehe.COUNTERCLOCKWISE:p=z(n,!0);break;default:p=t.behavior;}returnp.forEach(function(s,d){if(n!==s||p.length===d+1)returne;n=e.placement.split('-')[0],i=T(n);vara=e.offsets.popper,l=e.offsets.reference,f=Z,m='left'===n&&f(a.right)>f(l.left)||'right'===n&&f(a.left)<f(l.right)||'top'===n&&f(a.bottom)>f(l.top)||'bottom'===n&&f(a.top)<f(l.bottom),h=f(a.left)<f(o.left),c=f(a.right)>f(o.right),g=f(a.top)<f(o.top),u=f(a.bottom)>f(o.bottom),b='left'===n&&h||'right'===n&&c||'top'===n&&g||'bottom'===n&&u,y=-1!==['top','bottom'].indexOf(n),w=!!t.flipVariations&&(y&&'start'===r&&h||y&&'end'===r&&c||!y&&'start'===r&&g||!y&&'end'===r&&u);(m||b||w)&&(e.flipped=!0,(m||b)&&(n=p[d+1]),w&&(r=G(r)),e.placement=n+(r?'-'+r:''),e.offsets.popper=le({},e.offsets.popper,C(e.instance.popper,e.offsets.reference,e.placement)),e=P(e.instance.modifiers,e,'flip'))}),e},behavior:'flip',padding:5,boundariesElement:'viewport'},inner:{order:700,enabled:!1,fn:function(e){vart=e.placement,o=t.split('-')[0],n=e.offsets,i=n.popper,r=n.reference,p=-1!==['left','right'].indexOf(o),s=-1===['top','left'].indexOf(o);returni[p?'left':'top']=r[o]-(s?i[p?'width':'height']:0),e.placement=T(t),e.offsets.popper=g(i),e}},hide:{order:800,enabled:!0,fn:function(e){if(!q(e.instance.modifiers,'hide','preventOverflow'))returne;vart=e.offsets.reference,o=D(e.instance.modifiers,function(e){return'preventOverflow'===e.name}).boundaries;if(t.bottom<o.top||t.left>o.right||t.top>o.bottom||t.right<o.left){if(!0===e.hide)returne;e.hide=!0,e.attributes['x-out-of-boundaries']=''}else{if(!1===e.hide)returne;e.hide=!1,e.attributes['x-out-of-boundaries']=!1}returne}},computeStyle:{order:850,enabled:!0,fn:function(e,t){varo=t.x,n=t.y,i=e.offsets.popper,r=D(e.instance.modifiers,function(e){return'applyStyle'===e.name}).gpuAcceleration;void0!==r&&console.warn('WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!');vars,d,a=void0===r?t.gpuAcceleration:r,l=p(e.instance.popper),f=u(l),m={position:i.position},h={left:Z(i.left),top:Q(i.top),bottom:Q(i.bottom),right:Z(i.right)},c='bottom'===o?'top':'bottom',g='right'===n?'left':'right',b=B('transform');if(d='bottom'==c?-f.height+h.bottom:h.top,s='right'==g?-f.width+h.right:h.left,a&&b)m[b]='translate3d('+s+'px, '+d+'px, 0)',m[c]=0,m[g]=0,m.willChange='transform';else{vary='bottom'==c?-1:1,w='right'==g?-1:1;m[c]=d*y,m[g]=s*w,m.willChange=c+', '+g}varE={"x-placement":e.placement};returne.attributes=le({},E,e.attributes),e.styles=le({},m,e.styles),e.arrowStyles=le({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:'bottom',y:'right'},applyStyle:{order:900,enabled:!0,fn:function(e){returnj(e.instance.popper,e.styles),K(e.instance.popper,e.attributes),e.arrowElement&&Object.keys(e.arrowStyles).length&&j(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,o,n,i){varr=L(i,t,e,o.positionFixed),p=O(o.placement,r,t,e,o.modifiers.flip.boundariesElement,o.modifiers.flip.padding);returnt.setAttribute('x-placement',p),j(t,{position:o.positionFixed?'fixed':'absolute'}),o},gpuAcceleration:void0}}},ce});