You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2 lines
19 KiB
JavaScript
2 lines
19 KiB
JavaScript
var _Mathfloor=Math.floor,_Mathmin=Math.min,_Mathround=Math.round,_Mathmax=Math.max;const nativeHints=['native code','[object MutationObserverConstructor]'];var isNative=(e)=>nativeHints.some((t)=>-1<(e||'').toString().indexOf(t));const isBrowser='undefined'!=typeof window,longerTimeoutBrowsers=['Edge','Trident','Firefox'];let timeoutDuration=0;for(let e=0;e<longerTimeoutBrowsers.length;e+=1)if(isBrowser&&0<=navigator.userAgent.indexOf(longerTimeoutBrowsers[e])){timeoutDuration=1;break}function microtaskDebounce(e){let t=!1,o=0;const r=document.createElement('span'),p=new MutationObserver(()=>{e(),t=!1});return p.observe(r,{attributes:!0}),()=>{t||(t=!0,r.setAttribute('x-index',o),++o)}}function taskDebounce(e){let t=!1;return()=>{t||(t=!0,setTimeout(()=>{t=!1,e()},timeoutDuration))}}const supportsNativeMutationObserver=isBrowser&&isNative(window.MutationObserver);var debounce=supportsNativeMutationObserver?microtaskDebounce:taskDebounce;function isNumeric(e){return''!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function setStyles(e,t){Object.keys(t).forEach((o)=>{let r='';-1!==['width','height','top','right','bottom','left'].indexOf(o)&&isNumeric(t[o])&&(r='px'),e.style[o]=t[o]+r})}function isFunction(e){return e&&'[object Function]'==={}.toString.call(e)}function getStyleComputedProperty(e,t){if(1!==e.nodeType)return[];const o=window.getComputedStyle(e,null);return t?o[t]:o}function getParentNode(e){return'HTML'===e.nodeName?e:e.parentNode||e.host}function getScrollParent(e){if(!e||-1!==['HTML','BODY','#document'].indexOf(e.nodeName))return window.document.body;const{overflow:t,overflowX:o,overflowY:r}=getStyleComputedProperty(e);return /(auto|scroll)/.test(t+r+o)?e:getScrollParent(getParentNode(e))}function isOffsetContainer(e){const{nodeName:t}=e;return'BODY'!==t&&('HTML'===t||e.firstElementChild.offsetParent===e)}function getRoot(e){return null===e.parentNode?e:getRoot(e.parentNode)}function getOffsetParent(e){const t=e&&e.offsetParent,o=t&&t.nodeName;return o&&'BODY'!==o&&'HTML'!==o?t:window.document.documentElement}function findCommonOffsetParent(e,t){if(!e||!e.nodeType||!t||!t.nodeType)return window.document.documentElement;const o=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=o?e:t,p=o?t:e,s=document.createRange();s.setStart(r,0),s.setEnd(p,0);const{commonAncestorContainer:d}=s;if(e!==d&&t!==d||r.contains(p))return isOffsetContainer(d)?d:getOffsetParent(d);const f=getRoot(e);return f.host?findCommonOffsetParent(f.host,t):findCommonOffsetParent(e,getRoot(t).host)}function getScroll(e,t='top'){const o='top'===t?'scrollTop':'scrollLeft',r=e.nodeName;if('BODY'===r||'HTML'===r){const p=window.document.documentElement,s=window.document.scrollingElement||p;return s[o]}return e[o]}function includeScroll(e,t,o=!1){const r=getScroll(t,'top'),p=getScroll(t,'left'),s=o?-1:1;return e.top+=r*s,e.bottom+=r*s,e.left+=p*s,e.right+=p*s,e}function getBordersSize(e,t){const o='x'===t?'Left':'Top',r='Left'==o?'Right':'Bottom';return+e[`border${o}Width`].split('px')[0]+ +e[`border${r}Width`].split('px')[0]}let isIE10;var isIE10$1=function(){return void 0==isIE10&&(isIE10=-1!==navigator.appVersion.indexOf('MSIE 10')),isIE10};function getSize(e,t,o,r){return _Mathmax(t[`offset${e}`],o[`client${e}`],o[`offset${e}`],isIE10$1()?o[`offset${e}`]+r[`margin${'Height'===e?'Top':'Left'}`]+r[`margin${'Height'===e?'Bottom':'Right'}`]:0)}function getWindowSizes(){const e=window.document.body,t=window.document.documentElement,o=isIE10$1()&&window.getComputedStyle(t);return{height:getSize('Height',e,t,o),width:getSize('Width',e,t,o)}}var _extends=Object.assign||function(e){for(var o,t=1;t<arguments.length;t++)for(var r in o=arguments[t],o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r]);return e};function getClientRect(e){return _extends({},e,{right:e.left+e.width,bottom:e.top+e.height})}function getBoundingClientRect(e){let t={};if(isIE10$1())try{t=e.getBoundingClientRect();const l=getScroll(e,'top'),m=getScroll(e,'left');t.top+=l,t.left+=m,t.bottom+=l,t.right+=m}catch(l){}else t=e.getBoundingClientRect();const o={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},r='HTML'===e.nodeName?getWindowSizes():{},p=r.width||e.clientWidth||o.right-o.left,s=r.height||e.clientHeight||o.bottom-o.top;let d=e.offsetWidth-p,f=e.offsetHeight-s;if(d||f){const l=getStyleComputedProperty(e);d-=getBordersSize(l,'x'),f-=getBordersSize(l,'y'),o.width-=d,o.height-=f}return getClientRect(o)}function getOffsetRectRelativeToArbitraryNode(e,t){const o=isIE10$1(),r='HTML'===t.nodeName,p=getBoundingClientRect(e),s=getBoundingClientRect(t),d=getScrollParent(e);let f=getClientRect({top:p.top-s.top,left:p.left-s.left,width:p.width,height:p.height});if(r||'BODY'===t.nodeName){const l=getStyleComputedProperty(t),m=o&&r?0:+l.borderTopWidth.split('px')[0],c=o&&r?0:+l.borderLeftWidth.split('px')[0],h=o&&r?0:+l.marginTop.split('px')[0],u=o&&r?0:+l.marginLeft.split('px')[0];f.top-=m-h,f.bottom-=m-h,f.left-=c-u,f.right-=c-u,f.marginTop=h,f.marginLeft=u}return t.contains(d)&&(o||'BODY'!==d.nodeName)&&(f=includeScroll(f,t)),f}function getViewportOffsetRectRelativeToArtbitraryNode(e){const t=window.document.documentElement,o=getOffsetRectRelativeToArbitraryNode(e,t),r=_Mathmax(t.clientWidth,window.innerWidth||0),p=_Mathmax(t.clientHeight,window.innerHeight||0),s=getScroll(t),d=getScroll(t,'left'),f={top:s-o.top+o.marginTop,left:d-o.left+o.marginLeft,width:r,height:p};return getClientRect(f)}function isFixed(e){const t=e.nodeName;return'BODY'===t||'HTML'===t?!1:!('fixed'!==getStyleComputedProperty(e,'position'))||isFixed(getParentNode(e))}function getBoundaries(e,t,o,r){let p={top:0,left:0};const s=findCommonOffsetParent(e,t);if('viewport'===r)p=getViewportOffsetRectRelativeToArtbitraryNode(s);else{let d;'scrollParent'===r?(d=getScrollParent(getParentNode(e)),'BODY'===d.nodeName&&(d=window.document.documentElement)):'window'===r?d=window.document.documentElement:d=r;const f=getOffsetRectRelativeToArbitraryNode(d,s);if('HTML'===d.nodeName&&!isFixed(s)){const{height:l,width:m}=getWindowSizes();p.top+=f.top-f.marginTop,p.bottom=l+f.top,p.left+=f.left-f.marginLeft,p.right=m+f.left}else p=f}return p.left+=o,p.top+=o,p.right-=o,p.bottom-=o,p}function computeAutoPlacement(e,t,o,r,p){if(-1===e.indexOf('auto'))return e;const s=getBoundaries(o,r,0,p),d={top:t.top-s.top,right:s.right-t.right,bottom:s.bottom-t.bottom,left:t.left-s.left},f=Object.keys(d).sort((m,c)=>d[c]-d[m])[0],l=e.split('-')[1];return f+(l?`-${l}`:'')}function getReferenceOffsets(e,t,o){const r=findCommonOffsetParent(t,o);return getOffsetRectRelativeToArbitraryNode(o,r)}function getOuterSizes(e){const t=window.getComputedStyle(e),o=parseFloat(t.marginTop)+parseFloat(t.marginBottom),r=parseFloat(t.marginLeft)+parseFloat(t.marginRight),p={width:e.offsetWidth+r,height:e.offsetHeight+o};return p}function getOppositePlacement(e){const t={left:'right',right:'left',bottom:'top',top:'bottom'};return e.replace(/left|right|bottom|top/g,(o)=>t[o])}function getPopperOffsets(e,t,o){o=o.split('-')[0];const r=getOuterSizes(e),p={width:r.width,height:r.height},s=-1!==['right','left'].indexOf(o),d=s?'top':'left',f=s?'left':'top',l=s?'height':'width',m=s?'width':'height';return p[d]=t[d]+t[l]/2-r[l]/2,p[f]=o===f?t[f]-r[m]:t[getOppositePlacement(f)],p}function find(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function findIndex(e,t,o){if(Array.prototype.findIndex)return e.findIndex((p)=>p[t]===o);const r=find(e,(p)=>p[t]===o);return e.indexOf(r)}function runModifiers(e,t,o){const r=void 0===o?e:e.slice(0,findIndex(e,'name',o));return r.forEach((p)=>{p.function&&console.warn('`modifier.function` is deprecated, use `modifier.fn`!');const s=p.function||p.fn;p.enabled&&isFunction(s)&&(t=s(t,p))}),t}function update(){if(this.state.isDestroyed)return;let e={instance:this,styles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=getReferenceOffsets(this.state,this.popper,this.reference),e.placement=computeAutoPlacement(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement),e.originalPlacement=e.placement,e.offsets.popper=getPopperOffsets(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position='absolute',e=runModifiers(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}function isModifierEnabled(e,t){return e.some(({name:o,enabled:r})=>r&&o===t)}function getSupportedPropertyName(e){const t=[!1,'ms','webkit','moz','o'],o=e.charAt(0).toUpperCase()+e.slice(1);for(let r=0;r<t.length-1;r++){const p=t[r],s=p?`${p}${o}`:e;if('undefined'!=typeof window.document.body.style[s])return s}return null}function destroy(){return this.state.isDestroyed=!0,isModifierEnabled(this.modifiers,'applyStyle')&&(this.popper.removeAttribute('x-placement'),this.popper.style.left='',this.popper.style.position='',this.popper.style.top='',this.popper.style[getSupportedPropertyName('transform')]=''),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function attachToScrollParents(e,t,o,r){const p='BODY'===e.nodeName,s=p?window:e;s.addEventListener(t,o,{passive:!0}),p||attachToScrollParents(getScrollParent(s.parentNode),t,o,r),r.push(s)}function setupEventListeners(e,t,o,r){o.updateBound=r,window.addEventListener('resize',o.updateBound,{passive:!0});const p=getScrollParent(e);return attachToScrollParents(p,'scroll',o.updateBound,o.scrollParents),o.scrollElement=p,o.eventsEnabled=!0,o}function enableEventListeners(){this.state.eventsEnabled||(this.state=setupEventListeners(this.reference,this.options,this.state,this.scheduleUpdate))}function removeEventListeners(e,t){return window.removeEventListener('resize',t.updateBound),t.scrollParents.forEach((o)=>{o.removeEventListener('scroll',t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t}function disableEventListeners(){this.state.eventsEnabled&&(window.cancelAnimationFrame(this.scheduleUpdate),this.state=removeEventListeners(this.reference,this.state))}function setAttributes(e,t){Object.keys(t).forEach(function(o){const r=t[o];!1===r?e.removeAttribute(o):e.setAttribute(o,t[o])})}function applyStyle(e,t){const o={position:e.offsets.popper.position},r={'x-placement':e.placement},p=_Mathround(e.offsets.popper.left),s=_Mathround(e.offsets.popper.top),d=getSupportedPropertyName('transform');return t.gpuAcceleration&&d?(o[d]='translate3d('+p+'px, '+s+'px, 0)',o.top=0,o.left=0,o.willChange='transform'):(o.left=p,o.top=s,o.willChange='top, left'),setStyles(e.instance.popper,_extends({},o,e.styles)),setAttributes(e.instance.popper,_extends({},r,e.attributes)),e.offsets.arrow&&setStyles(e.arrowElement,e.offsets.arrow),e}function applyStyleOnLoad(e,t,o,r,p){const s=getReferenceOffsets(p,t,e),d=computeAutoPlacement(o.placement,s,t,e,o.modifiers.flip.boundariesElement);return t.setAttribute('x-placement',d),o}function isModifierRequired(e,t,o){const r=find(e,({name:s})=>s===t),p=!!r&&e.some((s)=>{return s.name===o&&s.enabled&&s.order<r.order});if(!p){const s=`\`${t}\``,d=`\`${o}\``;console.warn(`${d} modifier is required by ${s} modifier in order to work, be sure to include it before ${s}!`)}return p}function arrow(e,t){if(!isModifierRequired(e.instance.modifiers,'arrow','keepTogether'))return e;let o=t.element;if('string'==typeof o){if(o=e.instance.popper.querySelector(o),!o)return e;}else if(!e.instance.popper.contains(o))return console.warn('WARNING: `arrow.element` must be child of its popper element!'),e;const r=e.placement.split('-')[0],p=getClientRect(e.offsets.popper),s=e.offsets.reference,d=-1!==['left','right'].indexOf(r),f=d?'height':'width',l=d?'top':'left',m=d?'left':'top',c=d?'bottom':'right',h=getOuterSizes(o)[f];s[c]-h<p[l]&&(e.offsets.popper[l]-=p[l]-(s[c]-h)),s[l]+h>p[c]&&(e.offsets.popper[l]+=s[l]+h-p[c]);const u=s[l]+s[f]/2-h/2;let g=u-getClientRect(e.offsets.popper)[l];return g=_Mathmax(_Mathmin(p[f]-h,g),0),e.arrowElement=o,e.offsets.arrow={},e.offsets.arrow[l]=g,e.offsets.arrow[m]='',e}function getOppositeVariation(e){if('end'===e)return'start';return'start'===e?'end':e}var placements=['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'];const validPlacements=placements.slice(3);function clockwise(e,t=!1){const o=validPlacements.indexOf(e),r=validPlacements.slice(o+1).concat(validPlacements.slice(0,o));return t?r.reverse():r}const BEHAVIORS={FLIP:'flip',CLOCKWISE:'clockwise',COUNTERCLOCKWISE:'counterclockwise'};function flip(e,t){if(isModifierEnabled(e.instance.modifiers,'inner'))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;const o=getBoundaries(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement);let r=e.placement.split('-')[0],p=getOppositePlacement(r),s=e.placement.split('-')[1]||'',d=[];switch(t.behavior){case BEHAVIORS.FLIP:d=[r,p];break;case BEHAVIORS.CLOCKWISE:d=clockwise(r);break;case BEHAVIORS.COUNTERCLOCKWISE:d=clockwise(r,!0);break;default:d=t.behavior;}return d.forEach((f,l)=>{if(r!==f||d.length===l+1)return e;r=e.placement.split('-')[0],p=getOppositePlacement(r);const m=getClientRect(e.offsets.popper),c=e.offsets.reference,h=_Mathfloor,u='left'===r&&h(m.right)>h(c.left)||'right'===r&&h(m.left)<h(c.right)||'top'===r&&h(m.bottom)>h(c.top)||'bottom'===r&&h(m.top)<h(c.bottom),g=h(m.left)<h(o.left),E=h(m.right)>h(o.right),w=h(m.top)<h(o.top),O=h(m.bottom)>h(o.bottom),v='left'===r&&g||'right'===r&&E||'top'===r&&w||'bottom'===r&&O,L=-1!==['top','bottom'].indexOf(r),S=!!t.flipVariations&&(L&&'start'===s&&g||L&&'end'===s&&E||!L&&'start'===s&&w||!L&&'end'===s&&O);(u||v||S)&&(e.flipped=!0,(u||v)&&(r=d[l+1]),S&&(s=getOppositeVariation(s)),e.placement=r+(s?'-'+s:''),e.offsets.popper=getPopperOffsets(e.instance.popper,e.offsets.reference,e.placement),e=runModifiers(e.instance.modifiers,e,'flip'))}),e}function keepTogether(e){const t=getClientRect(e.offsets.popper),o=e.offsets.reference,r=e.placement.split('-')[0],p=_Mathfloor,s=-1!==['top','bottom'].indexOf(r),d=s?'right':'bottom',f=s?'left':'top',l=s?'width':'height';return t[d]<p(o[f])&&(e.offsets.popper[f]=p(o[f])-t[l]),t[f]>p(o[d])&&(e.offsets.popper[f]=p(o[d])),e}function toValue(e,t,o,r){const p=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),s=+p[1],d=p[2];if(!s)return e;if(0===d.indexOf('%')){let f;switch(d){case'%p':f=o;break;case'%':case'%r':default:f=r;}const l=getClientRect(f);return l[t]/100*s}if('vh'===d||'vw'===d){let f;return f='vh'===d?_Mathmax(document.documentElement.clientHeight,window.innerHeight||0):_Mathmax(document.documentElement.clientWidth,window.innerWidth||0),f/100*s}return s}function parseOffset(e,t,o,r){const p=[0,0],s=-1!==['right','left'].indexOf(r),d=e.split(/(\+|\-)/).map((c)=>c.trim()),f=d.indexOf(find(d,(c)=>-1!==c.search(/,|\s/)));d[f]&&-1===d[f].indexOf(',')&&console.warn('Offsets separated by white space(s) are deprecated, use a comma (,) instead.');const l=/\s*,\s*|\s+/;let m=-1===f?[d]:[d.slice(0,f).concat([d[f].split(l)[0]]),[d[f].split(l)[1]].concat(d.slice(f+1))];return m=m.map((c,h)=>{const u=(1===h?!s:s)?'height':'width';let g=!1;return c.reduce((E,w)=>{return''===E[E.length-1]&&-1!==['+','-'].indexOf(w)?(E[E.length-1]=w,g=!0,E):g?(E[E.length-1]+=w,g=!1,E):E.concat(w)},[]).map((E)=>toValue(E,u,t,o))}),m.forEach((c,h)=>{c.forEach((u,g)=>{isNumeric(u)&&(p[h]+=u*('-'===c[g-1]?-1:1))})}),p}function offset(e,{offset:t}){const{placement:o,offsets:{popper:r,reference:p}}=e,s=o.split('-')[0];let d;return d=isNumeric(+t)?[+t,0]:parseOffset(t,r,p,s),'left'===s?(r.top+=d[0],r.left-=d[1]):'right'===s?(r.top+=d[0],r.left+=d[1]):'top'===s?(r.left+=d[0],r.top-=d[1]):'bottom'===s&&(r.left+=d[0],r.top+=d[1]),e.popper=r,e}function preventOverflow(e,t){const o=t.boundariesElement||getOffsetParent(e.instance.popper),r=getBoundaries(e.instance.popper,e.instance.reference,t.padding,o);t.boundaries=r;const p=t.priority;let s=getClientRect(e.offsets.popper);const d={primary(f){let l=s[f];return s[f]<r[f]&&!t.escapeWithReference&&(l=_Mathmax(s[f],r[f])),{[f]:l}},secondary(f){const l='right'===f?'left':'top';let m=s[l];return s[f]>r[f]&&!t.escapeWithReference&&(m=_Mathmin(s[l],r[f]-('right'===f?s.width:s.height))),{[l]:m}}};return p.forEach((f)=>{const l=-1===['left','top'].indexOf(f)?'secondary':'primary';s=_extends({},s,d[l](f))}),e.offsets.popper=s,e}function shift(e){const t=e.placement,o=t.split('-')[0],r=t.split('-')[1];if(r){const p=e.offsets.reference,s=getClientRect(e.offsets.popper),d=-1!==['bottom','top'].indexOf(o),f=d?'left':'top',l=d?'width':'height',m={start:{[f]:p[f]},end:{[f]:p[f]+p[l]-s[l]}};e.offsets.popper=_extends({},s,m[r])}return e}function hide(e){if(!isModifierRequired(e.instance.modifiers,'hide','preventOverflow'))return e;const t=e.offsets.reference,o=find(e.instance.modifiers,(r)=>'preventOverflow'===r.name).boundaries;if(t.bottom<o.top||t.left>o.right||t.top>o.bottom||t.right<o.left){if(!0===e.hide)return e;e.hide=!0,e.attributes['x-out-of-boundaries']=''}else{if(!1===e.hide)return e;e.hide=!1,e.attributes['x-out-of-boundaries']=!1}return e}function inner(e){const t=e.placement,o=t.split('-')[0],r=getClientRect(e.offsets.popper),p=getClientRect(e.offsets.reference),s=-1!==['left','right'].indexOf(o),d=-1===['top','left'].indexOf(o);return r[s?'left':'top']=p[t]-(d?r[s?'width':'height']:0),e.placement=getOppositePlacement(t),e.offsets.popper=getClientRect(r),e}var modifiers={shift:{order:100,enabled:!0,fn:shift},offset:{order:200,enabled:!0,fn:offset,offset:0},preventOverflow:{order:300,enabled:!0,fn:preventOverflow,priority:['left','right','top','bottom'],padding:5,boundariesElement:'scrollParent'},keepTogether:{order:400,enabled:!0,fn:keepTogether},arrow:{order:500,enabled:!0,fn:arrow,element:'[x-arrow]'},flip:{order:600,enabled:!0,fn:flip,behavior:'flip',padding:5,boundariesElement:'viewport'},inner:{order:700,enabled:!1,fn:inner},hide:{order:800,enabled:!0,fn:hide},applyStyle:{order:900,enabled:!0,fn:applyStyle,onLoad:applyStyleOnLoad,gpuAcceleration:!0}},DEFAULTS={placement:'bottom',eventsEnabled:!0,removeOnDestroy:!1,onCreate:()=>{},onUpdate:()=>{},modifiers};class Popper{constructor(e,t,o={}){this.scheduleUpdate=()=>requestAnimationFrame(this.update),this.update=debounce(this.update.bind(this)),this.options=_extends({},Popper.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e.jquery?e[0]:e,this.popper=t.jquery?t[0]:t,setStyles(this.popper,{position:'absolute'}),this.modifiers=Object.keys(Popper.Defaults.modifiers).map((p)=>_extends({name:p},Popper.Defaults.modifiers[p])),this.modifiers=this.modifiers.map((p)=>{const s=o.modifiers&&o.modifiers[p.name]||{};return _extends({},p,s)}),o.modifiers&&(this.options.modifiers=_extends({},Popper.Defaults.modifiers,o.modifiers),Object.keys(o.modifiers).forEach((p)=>{if(Popper.Defaults.modifiers[p]===void 0){const s=o.modifiers[p];s.name=p,this.modifiers.push(s)}})),this.modifiers=this.modifiers.sort((p,s)=>p.order-s.order),this.modifiers.forEach((p)=>{p.enabled&&isFunction(p.onLoad)&&p.onLoad(this.reference,this.popper,this.options,p,this.state)}),this.update();const r=this.options.eventsEnabled;r&&this.enableEventListeners(),this.state.eventsEnabled=r}update(){return update.call(this)}destroy(){return destroy.call(this)}enableEventListeners(){return enableEventListeners.call(this)}disableEventListeners(){return disableEventListeners.call(this)}}Popper.Utils=('undefined'==typeof window?global:window).PopperUtils,Popper.placements=placements,Popper.Defaults=DEFAULTS;
|