1(function(e,t){typeof exports==="object"&&typeof module!=="undefined"?module.exports=t():typeof define==="function"&&define.amd?define(t):e.Popper=t()})(this,function(){"use strict";var e=typeof window!=="undefined"&&typeof document!=="undefined";var t=["Edge","Trident","Firefox"];var n=0;for(var r=0;r<t.length;r+=1){if(e&&navigator.userAgent.indexOf(t[r])>=0){n=1;break}}function B(e){var t=false;return function(){if(t){return}t=true;window.Promise.resolve().then(function(){t=false;e()})}}function q(e){var t=false;return function(){if(!t){t=true;setTimeout(function(){t=false;e()},n)}}}var P=e&&window.Promise;var A=P?B:q;function a(e){var t={};return e&&t.toString.call(e)==="[object Function]"}function y(e,t){if(e.nodeType!==1){return[]}var n=e.ownerDocument.defaultView;var r=n.getComputedStyle(e,null);return t?r[t]:r}function c(e){if(e.nodeName==="HTML"){return e}return e.parentNode||e.host}function h(e){if(!e){return document.body}switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=y(e),n=t.overflow,r=t.overflowX,o=t.overflowY;if(/(auto|scroll|overlay)/.test(n+o+r)){return e}return h(c(e))}var o=e&&!!(window.MSInputMethodContext&&document.documentMode);var i=e&&/MSIE 10/.test(navigator.userAgent);function v(e){if(e===11){return o}if(e===10){return i}return o||i}function b(e){if(!e){return document.documentElement}var t=v(10)?document.body:null;var n=e.offsetParent||null;while(n===t&&e.nextElementSibling){n=(e=e.nextElementSibling).offsetParent}var r=n&&n.nodeName;if(!r||r==="BODY"||r==="HTML"){return e?e.ownerDocument.documentElement:document.documentElement}if(["TH","TD","TABLE"].indexOf(n.nodeName)!==-1&&y(n,"position")==="static"){return b(n)}return n}function j(e){var t=e.nodeName;if(t==="BODY"){return false}return t==="HTML"||b(e.firstElementChild)===e}function f(e){if(e.parentNode!==null){return f(e.parentNode)}return e}function m(e,t){if(!e||!e.nodeType||!t||!t.nodeType){return document.documentElement}var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING;var r=n?e:t;var o=n?t:e;var i=document.createRange();i.setStart(r,0);i.setEnd(o,0);var a=i.commonAncestorContainer;if(e!==a&&t!==a||r.contains(o)){if(j(a)){return a}return b(a)}var s=f(e);if(s.host){return m(s.host,t)}else{return m(e,f(t).host)}}function u(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:"top";var n=t==="top"?"scrollTop":"scrollLeft";var r=e.nodeName;if(r==="BODY"||r==="HTML"){var o=e.ownerDocument.documentElement;var i=e.ownerDocument.scrollingElement||o;return i[n]}return e[n]}function W(e,t){var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:false;var r=u(t,"top");var o=u(t,"left");var i=n?-1:1;e.top+=r*i;e.bottom+=r*i;e.left+=o*i;e.right+=o*i;return e}function d(e,t){var n=t==="x"?"Left":"Top";var r=n==="Left"?"Right":"Bottom";return parseFloat(e["border"+n+"Width"],10)+parseFloat(e["border"+r+"Width"],10)}function s(e,t,n,r){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],v(10)?parseInt(n["offset"+e])+parseInt(r["margin"+(e==="Height"?"Top":"Left")])+parseInt(r["margin"+(e==="Height"?"Bottom":"Right")]):0)}function g(e){var t=e.body;var n=e.documentElement;var r=v(10)&&getComputedStyle(n);return{height:s("Height",t,n,r),width:s("Width",t,n,r)}}var U=function(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}};var R=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||false;r.configurable=true;if("value"in r)r.writable=true;Object.defineProperty(e,r.key,r)}}return function(e,t,n){if(t)r(e.prototype,t);if(n)r(e,n);return e}}();var E=function(e,t,n){if(t in e){Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true,writable:true})}else{e[t]=n}return e};var O=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n){if(Object.prototype.hasOwnProperty.call(n,r)){e[r]=n[r]}}}return e};function x(e){return O({},e,{right:e.left+e.width,bottom:e.top+e.height})}function _(e){var t={};try{if(v(10)){t=e.getBoundingClientRect();var n=u(e,"top");var r=u(e,"left");t.top+=n;t.left+=r;t.bottom+=n;t.right+=r}else{t=e.getBoundingClientRect()}}catch(e){}var o={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top};var i=e.nodeName==="HTML"?g(e.ownerDocument):{};var a=i.width||e.clientWidth||o.right-o.left;var s=i.height||e.clientHeight||o.bottom-o.top;var f=e.offsetWidth-a;var l=e.offsetHeight-s;if(f||l){var p=y(e);f-=d(p,"x");l-=d(p,"y");o.width-=f;o.height-=l}return x(o)}function w(e,t){var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:false;var r=v(10);var o=t.nodeName==="HTML";var i=_(e);var a=_(t);var s=h(e);var f=y(t);var l=parseFloat(f.borderTopWidth,10);var p=parseFloat(f.borderLeftWidth,10);if(n&&o){a.top=Math.max(a.top,0);a.left=Math.max(a.left,0)}var u=x({top:i.top-a.top-l,left:i.left-a.left-p,width:i.width,height:i.height});u.marginTop=0;u.marginLeft=0;if(!r&&o){var d=parseFloat(f.marginTop,10);var c=parseFloat(f.marginLeft,10);u.top-=l-d;u.bottom-=l-d;u.left-=p-c;u.right-=p-c;u.marginTop=d;u.marginLeft=c}if(r&&!n?t.contains(s):t===s&&s.nodeName!=="BODY"){u=W(u,t)}return u}function $(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:false;var n=e.ownerDocument.documentElement;var r=w(e,n);var o=Math.max(n.clientWidth,window.innerWidth||0);var i=Math.max(n.clientHeight,window.innerHeight||0);var a=!t?u(n):0;var s=!t?u(n,"left"):0;
1var f={top:a-r.top+r.marginTop,left:s-r.left+r.marginLeft,width:o,height:i};return x(f)}function T(e){var t=e.nodeName;if(t==="BODY"||t==="HTML"){return false}if(y(e,"position")==="fixed"){return true}var n=c(e);if(!n){return false}return T(n)}function C(e){if(!e||!e.parentElement||v()){return document.documentElement}var t=e.parentElement;while(t&&y(t,"transform")==="none"){t=t.parentElement}return t||document.documentElement}function S(e,t,n,r){var o=arguments.length>4&&arguments[4]!==undefined?arguments[4]:false;var i={top:0,left:0};var a=o?C(e):m(e,t);if(r==="viewport"){i=$(a,o)}else{var s=void 0;if(r==="scrollParent"){s=h(c(t));if(s.nodeName==="BODY"){s=e.ownerDocument.documentElement}}else if(r==="window"){s=e.ownerDocument.documentElement}else{s=r}var f=w(s,a,o);if(s.nodeName==="HTML"&&!T(a)){var l=g(e.ownerDocument),p=l.height,u=l.width;i.top+=f.top-f.marginTop;i.bottom=p+f.top;i.left+=f.left-f.marginLeft;i.right=u+f.left}else{i=f}}n=n||0;var d=typeof n==="number";i.left+=d?n:n.left||0;i.top+=d?n:n.top||0;i.right-=d?n:n.right||0;i.bottom-=d?n:n.bottom||0;return i}function Y(e){var t=e.width,n=e.height;return t*n}function l(e,t,r,n,o){var i=arguments.length>5&&arguments[5]!==undefined?arguments[5]:0;if(e.indexOf("auto")===-1){return e}var a=S(r,n,i,o);var s={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}};var f=Object.keys(s).map(function(e){return O({key:e},s[e],{area:Y(s[e])})}).sort(function(e,t){return t.area-e.area});var l=f.filter(function(e){var t=e.width,n=e.height;return t>=r.clientWidth&&n>=r.clientHeight});var p=l.length>0?l[0].key:f[0].key;var u=e.split("-")[1];return p+(u?"-"+u:"")}function p(e,t,n){var r=arguments.length>3&&arguments[3]!==undefined?arguments[3]:null;var o=r?C(t):m(t,n);return w(n,o,r)}function z(e){var t=e.ownerDocument.defaultView;var n=t.getComputedStyle(e);var r=parseFloat(n.marginTop||0)+parseFloat(n.marginBottom||0);var o=parseFloat(n.marginLeft||0)+parseFloat(n.marginRight||0);var i={width:e.offsetWidth+o,height:e.offsetHeight+r};return i}function L(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,function(e){return t[e]})}function V(e,t,n){n=n.split("-")[0];var r=z(e);var o={width:r.width,height:r.height};var i=["right","left"].indexOf(n)!==-1;var a=i?"top":"left";var s=i?"left":"top";var f=i?"height":"width";var l=!i?"height":"width";o[a]=t[a]+t[f]/2-r[f]/2;if(n===s){o[s]=t[s]-r[l]}else{o[s]=t[L(s)]}return o}function k(e,t){if(Array.prototype.find){return e.find(t)}return e.filter(t)[0]}function K(e,t,n){if(Array.prototype.findIndex){return e.findIndex(function(e){return e[t]===n})}var r=k(e,function(e){return e[t]===n});return e.indexOf(r)}function Z(e,n,t){var r=t===undefined?e:e.slice(0,K(e,"name",t));r.forEach(function(e){if(e["function"]){void 0}var t=e["function"]||e.fn;if(e.enabled&&a(t)){n.offsets.popper=x(n.offsets.popper);n.offsets.reference=x(n.offsets.reference);n=t(n,e)}});return n}function G(){if(this.state.isDestroyed){return}var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:false,offsets:{}};e.offsets.reference=p(this.state,this.popper,this.reference,this.options.positionFixed);e.placement=l(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=V(this.popper,e.offsets.reference,e.placement);e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute";e=Z(this.modifiers,e);if(!this.state.isCreated){this.state.isCreated=true;this.options.onCreate(e)}else{this.options.onUpdate(e)}}function J(e,r){return e.some(function(e){var t=e.name,n=e.enabled;return n&&t===r})}function N(e){var t=[false,"ms","Webkit","Moz","O"];var n=e.charAt(0).toUpperCase()+e.slice(1);for(var r=0;r<t.length;r++){var o=t[r];var i=o?""+o+n:e;if(typeof document.body.style[i]!=="undefined"){return i}}return null}function X(){this.state.isDestroyed=true;if(J(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[N("transform")]=""}this.disableEventListeners();if(this.options.removeOnDestroy){this.popper.parentNode.removeChild(this.popper)}return this}function Q(e){var t=e.ownerDocument;return t?t.defaultView:window}
1function ee(e,t,n,r){var o=e.nodeName==="BODY";var i=o?e.ownerDocument.defaultView:e;i.addEventListener(t,n,{passive:true});if(!o){ee(h(i.parentNode),t,n,r)}r.push(i)}function te(e,t,n,r){n.updateBound=r;Q(e).addEventListener("resize",n.updateBound,{passive:true});var o=h(e);ee(o,"scroll",n.updateBound,n.scrollParents);n.scrollElement=o;n.eventsEnabled=true;return n}function ne(){if(!this.state.eventsEnabled){this.state=te(this.reference,this.options,this.state,this.scheduleUpdate)}}function re(e,t){Q(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=false;return t}function oe(){if(this.state.eventsEnabled){cancelAnimationFrame(this.scheduleUpdate);this.state=re(this.reference,this.state)}}function I(e){return e!==""&&!isNaN(parseFloat(e))&&isFinite(e)}function M(n,r){Object.keys(r).forEach(function(e){var t="";if(["width","height","top","right","bottom","left"].indexOf(e)!==-1&&I(r[e])){t="px"}n.style[e]=r[e]+t})}function ie(n,r){Object.keys(r).forEach(function(e){var t=r[e];if(t!==false){n.setAttribute(e,r[e])}else{n.removeAttribute(e)}})}function ae(e){M(e.instance.popper,e.styles);ie(e.instance.popper,e.attributes);if(e.arrowElement&&Object.keys(e.arrowStyles).length){M(e.arrowElement,e.arrowStyles)}return e}function se(e,t,n,r,o){var i=p(o,t,e,n.positionFixed);var a=l(n.placement,i,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);t.setAttribute("x-placement",a);M(t,{position:n.positionFixed?"fixed":"absolute"});return n}function fe(e,t){var n=e.offsets,r=n.popper,o=n.reference;var i=Math.round,a=Math.floor;var s=function e(t){return t};var f=i(o.width);var l=i(r.width);var p=["left","right"].indexOf(e.placement)!==-1;var u=e.placement.indexOf("-")!==-1;var d=f%2===l%2;var c=f%2===1&&l%2===1;var h=!t?s:p||u||d?i:a;var v=!t?s:i;return{left:h(c&&!u&&t?r.left-1:r.left),top:v(r.top),bottom:v(r.bottom),right:h(r.right)}}var le=e&&/Firefox/i.test(navigator.userAgent);function pe(e,t){var n=t.x,r=t.y;var o=e.offsets.popper;var i=k(e.instance.modifiers,function(e){return e.name==="applyStyle"}).gpuAcceleration;if(i!==undefined){void 0}var a=i!==undefined?i:t.gpuAcceleration;var s=b(e.instance.popper);var f=_(s);var l={position:o.position};var p=fe(e,window.devicePixelRatio<2||!le);var u=n==="bottom"?"top":"bottom";var d=r==="right"?"left":"right";var c=N("transform");var h=void 0,v=void 0;if(u==="bottom"){if(s.nodeName==="HTML"){v=-s.clientHeight+p.bottom}else{v=-f.height+p.bottom}}else{v=p.top}if(d==="right"){if(s.nodeName==="HTML"){h=-s.clientWidth+p.right}else{h=-f.width+p.right}}else{h=p.left}if(a&&c){l[c]="translate3d("+h+"px, "+v+"px, 0)";l[u]=0;l[d]=0;l.willChange="transform"}else{var m=u==="bottom"?-1:1;var g=d==="right"?-1:1;l[u]=v*m;l[d]=h*g;l.willChange=u+", "+d}var w={"x-placement":e.placement};e.attributes=O({},w,e.attributes);e.styles=O({},l,e.styles);e.arrowStyles=O({},e.offsets.arrow,e.arrowStyles);return e}function ue(e,n,t){var r=k(e,function(e){var t=e.name;return t===n});var o=!!r&&e.some(function(e){return e.name===t&&e.enabled&&e.order<r.order});if(!o){var i="`"+n+"`";var a="`"+t+"`";void 0}return o}function de(e,t){var n;if(!ue(e.instance.modifiers,"arrow","keepTogether")){return e}var r=t.element;if(typeof r==="string"){r=e.instance.popper.querySelector(r);if(!r){return e}}else{if(!e.instance.popper.contains(r)){void 0;return e}}var o=e.placement.split("-")[0];var i=e.offsets,a=i.popper,s=i.reference;var f=["left","right"].indexOf(o)!==-1;var l=f?"height":"width";var p=f?"Top":"Left";var u=p.toLowerCase();var d=f?"left":"top";var c=f?"bottom":"right";var h=z(r)[l];if(s[c]-h<a[u]){e.offsets.popper[u]-=a[u]-(s[c]-h)}if(s[u]+h>a[c]){e.offsets.popper[u]+=s[u]+h-a[c]}e.offsets.popper=x(e.offsets.popper);var v=s[u]+s[l]/2-h/2;var m=y(e.instance.popper);var g=parseFloat(m["margin"+p],10);var w=parseFloat(m["border"+p+"Width"],10);var b=v-e.offsets.popper[u]-g-w;b=Math.max(Math.min(a[l]-h,b),0);e.arrowElement=r;e.offsets.arrow=(n={},E(n,u,Math.round(b)),E(n,d,""),n);return e}function ce(e){if(e==="end"){return"start"}else if(e==="start"){return"end"}return e}
1var he=["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"];var H=he.slice(3);function ve(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:false;var n=H.indexOf(e);var r=H.slice(n+1).concat(H.slice(0,n));return t?r.reverse():r}var F={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function me(c,h){if(J(c.instance.modifiers,"inner")){return c}if(c.flipped&&c.placement===c.originalPlacement){return c}var v=S(c.instance.popper,c.instance.reference,h.padding,h.boundariesElement,c.positionFixed);var m=c.placement.split("-")[0];var g=L(m);var w=c.placement.split("-")[1]||"";var b=[];switch(h.behavior){case F.FLIP:b=[m,g];break;case F.CLOCKWISE:b=ve(m);break;case F.COUNTERCLOCKWISE:b=ve(m,true);break;default:b=h.behavior}b.forEach(function(e,t){if(m!==e||b.length===t+1){return c}m=c.placement.split("-")[0];g=L(m);var n=c.offsets.popper;var r=c.offsets.reference;var o=Math.floor;var i=m==="left"&&o(n.right)>o(r.left)||m==="right"&&o(n.left)<o(r.right)||m==="top"&&o(n.bottom)>o(r.top)||m==="bottom"&&o(n.top)<o(r.bottom);var a=o(n.left)<o(v.left);var s=o(n.right)>o(v.right);var f=o(n.top)<o(v.top);var l=o(n.bottom)>o(v.bottom);var p=m==="left"&&a||m==="right"&&s||m==="top"&&f||m==="bottom"&&l;var u=["top","bottom"].indexOf(m)!==-1;var d=!!h.flipVariations&&(u&&w==="start"&&a||u&&w==="end"&&s||!u&&w==="start"&&f||!u&&w==="end"&&l);if(i||p||d){c.flipped=true;if(i||p){m=b[t+1]}if(d){w=ce(w)}c.placement=m+(w?"-"+w:"");c.offsets.popper=O({},c.offsets.popper,V(c.instance.popper,c.offsets.reference,c.placement));c=Z(c.instance.modifiers,c,"flip")}});return c}function ge(e){var t=e.offsets,n=t.popper,r=t.reference;var o=e.placement.split("-")[0];var i=Math.floor;var a=["top","bottom"].indexOf(o)!==-1;var s=a?"right":"bottom";var f=a?"left":"top";var l=a?"width":"height";if(n[s]<i(r[f])){e.offsets.popper[f]=i(r[f])-n[l]}if(n[f]>i(r[s])){e.offsets.popper[f]=i(r[s])}return e}function we(e,t,n,r){var o=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/);var i=+o[1];var a=o[2];if(!i){return e}if(a.indexOf("%")===0){var s=void 0;switch(a){case"%p":s=n;break;case"%":case"%r":default:s=r}var f=x(s);return f[t]/100*i}else if(a==="vh"||a==="vw"){var l=void 0;if(a==="vh"){l=Math.max(document.documentElement.clientHeight,window.innerHeight||0)}else{l=Math.max(document.documentElement.clientWidth,window.innerWidth||0)}return l/100*i}else{return i}}function be(e,o,i,t){var a=[0,0];var s=["right","left"].indexOf(t)!==-1;var n=e.split(/(\+|\-)/).map(function(e){return e.trim()});var r=n.indexOf(k(n,function(e){return e.search(/,|\s/)!==-1}));if(n[r]&&n[r].indexOf(",")===-1){void 0}var f=/\s*,\s*|\s+/;var l=r!==-1?[n.slice(0,r).concat([n[r].split(f)[0]]),[n[r].split(f)[1]].concat(n.slice(r+1))]:[n];l=l.map(function(e,t){var n=(t===1?!s:s)?"height":"width";var r=false;return e.reduce(function(e,t){if(e[e.length-1]===""&&["+","-"].indexOf(t)!==-1){e[e.length-1]=t;r=true;return e}else if(r){e[e.length-1]+=t;r=false;return e}else{return e.concat(t)}},[]).map(function(e){return we(e,n,o,i)})});l.forEach(function(n,r){n.forEach(function(e,t){if(I(e)){a[r]+=e*(n[t-1]==="-"?-1:1)}})});return a}function ye(e,t){var n=t.offset;var r=e.placement,o=e.offsets,i=o.popper,a=o.reference;var s=r.split("-")[0];var f=void 0;if(I(+n)){f=[+n,0]}else{f=be(n,i,a,s)}if(s==="left"){i.top+=f[0];i.left-=f[1]}else if(s==="right"){i.top+=f[0];i.left+=f[1]}else if(s==="top"){i.left+=f[0];i.top-=f[1]}else if(s==="bottom"){i.left+=f[0];i.top+=f[1]}e.popper=i;return e}function Ee(e,o){var t=o.boundariesElement||b(e.instance.popper);if(e.instance.reference===t){t=b(t)}var n=N("transform");var r=e.instance.popper.style;var i=r.top,a=r.left,s=r[n];r.top="";r.left="";r[n]="";var f=S(e.instance.popper,e.instance.reference,o.padding,t,e.positionFixed);r.top=i;r.left=a;r[n]=s;o.boundaries=f;var l=o.priority;var p=e.offsets.popper;var u={primary:function e(t){var n=p[t];if(p[t]<f[t]&&!o.escapeWithReference){n=Math.max(p[t],f[t])}return E({},t,n)}
1,secondary:function e(t){var n=t==="right"?"left":"top";var r=p[n];if(p[t]>f[t]&&!o.escapeWithReference){r=Math.min(p[n],f[t]-(t==="right"?p.width:p.height))}return E({},n,r)}};l.forEach(function(e){var t=["left","top"].indexOf(e)!==-1?"primary":"secondary";p=O({},p,u[t](e))});e.offsets.popper=p;return e}function Oe(e){var t=e.placement;var n=t.split("-")[0];var r=t.split("-")[1];if(r){var o=e.offsets,i=o.reference,a=o.popper;var s=["bottom","top"].indexOf(n)!==-1;var f=s?"left":"top";var l=s?"width":"height";var p={start:E({},f,i[f]),end:E({},f,i[f]+i[l]-a[l])};e.offsets.popper=O({},a,p[r])}return e}function xe(e){if(!ue(e.instance.modifiers,"hide","preventOverflow")){return e}var t=e.offsets.reference;var n=k(e.instance.modifiers,function(e){return e.name==="preventOverflow"}).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(e.hide===true){return e}e.hide=true;e.attributes["x-out-of-boundaries"]=""}else{if(e.hide===false){return e}e.hide=false;e.attributes["x-out-of-boundaries"]=false}return e}function _e(e){var t=e.placement;var n=t.split("-")[0];var r=e.offsets,o=r.popper,i=r.reference;var a=["left","right"].indexOf(n)!==-1;var s=["top","left"].indexOf(n)===-1;o[a?"left":"top"]=i[n]-(s?o[a?"width":"height"]:0);e.placement=L(t);e.offsets.popper=x(o);return e}var Te={shift:{order:100,enabled:true,fn:Oe},offset:{order:200,enabled:true,fn:ye,offset:0},preventOverflow:{order:300,enabled:true,fn:Ee,priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:true,fn:ge},arrow:{order:500,enabled:true,fn:de,element:"[x-arrow]"},flip:{order:600,enabled:true,fn:me,behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:false,fn:_e},hide:{order:800,enabled:true,fn:xe},computeStyle:{order:850,enabled:true,fn:pe,gpuAcceleration:true,x:"bottom",y:"right"},applyStyle:{order:900,enabled:true,fn:ae,onLoad:se,gpuAcceleration:undefined}};var Ce={placement:"bottom",positionFixed:false,eventsEnabled:true,removeOnDestroy:false,onCreate:function e(){},onUpdate:function e(){},modifiers:Te};var D=function(){function i(e,t){var n=this;var r=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};U(this,i);this.scheduleUpdate=function(){return requestAnimationFrame(n.update)};this.update=A(this.update.bind(this));this.options=O({},i.Defaults,r);this.state={isDestroyed:false,isCreated:false,scrollParents:[]};this.reference=e&&e.jquery?e[0]:e;this.popper=t&&t.jquery?t[0]:t;this.options.modifiers={};Object.keys(O({},i.Defaults.modifiers,r.modifiers)).forEach(function(e){n.options.modifiers[e]=O({},i.Defaults.modifiers[e]||{},r.modifiers?r.modifiers[e]:{})});this.modifiers=Object.keys(this.options.modifiers).map(function(e){return O({name:e},n.options.modifiers[e])}).sort(function(e,t){return e.order-t.order});this.modifiers.forEach(function(e){if(e.enabled&&a(e.onLoad)){e.onLoad(n.reference,n.popper,n.options,e,n.state)}});this.update();var o=this.options.eventsEnabled;if(o){this.enableEventListeners()}this.state.eventsEnabled=o}R(i,[{key:"update",value:function e(){return G.call(this)}},{key:"destroy",value:function e(){return X.call(this)}},{key:"enableEventListeners",value:function e(){return ne.call(this)}},{key:"disableEventListeners",value:function e(){return oe.call(this)}}]);return i}();D.Utils=(typeof window!=="undefined"?window:global).PopperUtils;D.placements=he;D.Defaults=Ce;return D});(function(e,t){typeof exports==="object"&&typeof module!=="undefined"?module.exports=t(require("popper.js")):typeof define==="function"&&define.amd?define(["popper.js"],t):e.Tooltip=t(e.Popper)})(this,function(a){"use strict";a=a&&a.hasOwnProperty("default")?a["default"]:a;function s(e){var t={};return e&&t.toString.call(e)==="[object Function]"}var o=function(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}};function e(){return/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}var t=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||false;r.configurable=true;if("value"in r)r.writable=true;Object.defineProperty(e,r.key,r)}}return function(e,t,n){if(t)r(e.prototype,t);if(n)r(e,n);return e}}();var f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n){if(Object.prototype.hasOwnProperty.call(n,r)){e[r]=n[r]}}}return e};var i={container:false,delay:0,html:false,placement:"top",title:"",template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",offset:0,onShow:function(){},onHide:function(){}};var n=function(){function r(e,t){o(this,r);u.call(this);
1t=f({},i,t);e.jquery&&(e=e[0]);this.reference=e;this.options=t;var n=typeof t.trigger==="string"?t.trigger.split(" ").filter(function(e){return["click","hover","focus"].indexOf(e)!==-1}):[];this._isOpen=false;this._popperOptions={};this._setEventListeners(e,n,t)}t(r,[{key:"_create",value:function e(t,n,r,o){var i=window.document.createElement("div");i.innerHTML=n.trim();var a=i.childNodes[0];a.id="tooltip_"+Math.random().toString(36).substr(2,10);a.setAttribute("aria-hidden","false");var s=i.querySelector(this.innerSelector);this._addTitleContent(t,r,o,s);return a}},{key:"_addTitleContent",value:function e(t,n,r,o){if(n.nodeType===1||n.nodeType===11){r&&o.appendChild(n)}else if(s(n)){var i=n.call(t);r?o.innerHTML=i:o.textContent=i}else{r?o.innerHTML=n:o.textContent=n}}},{key:"_show",value:function e(t,n){if(this._isOpen&&!this._isOpening){return this}this._isOpen=true;if(this._tooltipNode){this._tooltipNode.style.display="";this._tooltipNode.setAttribute("aria-hidden","false");requestAnimationFrame(()=>this.popperInstance.update());if(n&&n.onShow){n.onShow()}return this}var r=n.title||t.getAttribute("title");if(!r){return this}var o=this._create(t,n.template,r,n.html);t.setAttribute("aria-describedby",o.id);var i=this._findContainer(n.container,t);this._append(o,i);this._popperOptions=f({},n.popperOptions,{placement:n.placement});this._popperOptions.modifiers=f({},this._popperOptions.modifiers,{arrow:{element:this.arrowSelector},offset:{offset:n.offset}});if(n.boundariesElement){this._popperOptions.modifiers.preventOverflow={boundariesElement:n.boundariesElement}}this.popperInstance=new a(t,o,this._popperOptions);this._tooltipNode=o;if(n.onShow){n.onShow()}return this}},{key:"_hide",value:function e(t){if(!this._isOpen){return this}this._isOpen=false;if(this._tooltipNode&&this._tooltipNode.style){var n=this._tooltipNode;n.style.display="none";n.setAttribute("aria-hidden","true");if(t&&t.onHide){t.onHide()}}return this}},{key:"_dispose",value:function e(){var r=this;this._events.forEach(function(e){var t=e.func,n=e.event;r.reference.removeEventListener(n,t)});this._events=[];if(this._tooltipNode){this._hide();this.popperInstance.destroy();if(!this.popperInstance.options.removeOnDestroy){this._tooltipNode.parentNode.removeChild(this._tooltipNode);this._tooltipNode=null}}return this}},{key:"_findContainer",value:function e(t,n){if(typeof t==="string"){t=window.document.querySelector(t)}else if(t===false){t=n.parentNode}return t}},{key:"_append",value:function e(t,n){n.appendChild(t)}},{key:"_setEventListeners",value:function e(n,t,r){var o=this;var i=[];var a=[];t.forEach(function(e){switch(e){case"hover":i.push("mouseenter");a.push("mouseleave");break;case"focus":i.push("focus");a.push("blur");break;case"click":i.push("click");a.push("click");break}});i.forEach(function(e){var t=function e(t){if(o._isOpening===true){return}t.usedByTooltip=true;o._scheduleShow(n,r.delay,r,t)};o._events.push({event:e,func:t});n.addEventListener(e,t)});a.forEach(function(e){var t=function e(t){if(t.usedByTooltip===true){return}o._scheduleHide(n,r.delay,r,t)};o._events.push({event:e,func:t});n.addEventListener(e,t)})}},{key:"_scheduleShow",value:function e(t,n,r){var o=this;this._isOpening=true;var i=n&&n.show||n||0;this._showTimeout=window.setTimeout(function(){return o._show(t,r)},i)}},{key:"_scheduleHide",value:function e(t,n,r,o){var i=this;this._isOpening=false;var a=n&&n.hide||n||0;window.setTimeout(function(){window.clearTimeout(i._showTimeout);if(i._isOpen===false){return}if(!document.body.contains(i._tooltipNode)){return}if(o.type==="mouseleave"){var e=i._setTooltipNodeEvent(o,t,n,r);if(e){return}}i._hide(t,r)},a)}},{key:"_updateTitleContent",value:function e(t){if(typeof this._tooltipNode==="undefined"){if(typeof this.options.title!=="undefined"){this.options.title=t}return}var n=this._tooltipNode.parentNode.querySelector(this.innerSelector);this._clearTitleContent(n,this.options.html,this.reference.getAttribute("title")||this.options.title);this._addTitleContent(this.reference,t,this.options.html,n);this.options.title=t;
1this.popperInstance.update()}},{key:"_clearTitleContent",value:function e(t,n,r){if(r.nodeType===1||r.nodeType===11){n&&t.removeChild(r)}else{n?t.innerHTML="":t.textContent=""}}}]);return r}();function r(e){var n=e.firstChild;n.style.animationDirection="reverse";p(n);var t=new Promise(function(e,t){n.onanimationend=function(){n.onanimationend=null;void 0;e()}});return t}function l(e){var t=e.firstChild;t.style.animationDirection="";t.onanimationend=null;p(t)}function p(e){var t=e.className;e.className="";void e.offsetWidth;e.className=t}var u=function e(){var a=this;this.show=function(){return a._show(a.reference,a.options)};this.hide=function(){return a._hide(a.options)};this.dispose=function(){return a._dispose()};this.toggle=function(){if(a._isOpen){return a.hide()}else{return a.show()}};this.updateTitleContent=function(e){return a._updateTitleContent(e)};this.arrowSelector=".tooltip-arrow, .tooltip__arrow";this.innerSelector=".tooltip-inner, .tooltip__inner";this._events=[];this._setTooltipNodeEvent=function(r,o,e,i){var t=r.relatedreference||r.toElement||r.relatedTarget;var n=function e(t){var n=t.relatedreference||t.toElement||t.relatedTarget;a._tooltipNode.removeEventListener(r.type,e);if(!o.contains(n)){a._scheduleHide(o,i.delay,i,t)}};if(a._tooltipNode.contains(t)){a._tooltipNode.addEventListener(r.type,n);return true}return false}};return n});(function(){"use strict";angular.module("rtPopper",["rtIframe"]);angular.module("rtPopper").constant("Tooltip",window.Tooltip)})();(function(){"use strict";e.$inject=["$rootScope","$compile","$timeout","$q","Tooltip"];angular.module("rtPopper").service("rtPopper",e);function e(f,o,n,r,l){var i=[{title:"Bounce In",name:"popper-bounceIn",group:"Simple"},{title:"Fade In",name:"popper-fadeIn",group:"Simple"},{title:"Fade In Sliding",name:"popper-fadeIn-slide",group:"Sliding"},{title:"Light Speed In",name:"popper-lightSpeedIn",group:"Special"},{title:"Rotate In",name:"popper-rotateIn",group:"Simple"},{title:"Rotate In Sliding",name:"popper-rotateIn-slide",group:"Sliding"},{title:"Zoom In",name:"popper-zoomIn",group:"Simple"},{title:"Zoom In Sliding",name:"popper-zoomIn-slide",group:"Sliding"},{title:"Jack In The Box",name:"popper-jackInTheBox",group:"Special"},{title:"Roll In",name:"popper-rollIn",group:"Simple"}];var a=e();function e(){var e=[];for(var t=0;t<i.length;t++){e.push(i[t].name)}return e}var t,s,p={backgroundColor:"rgba(0, 0, 0, 0.84)",trigger:"hover",placement:"bottom",html:true},u={cssClass:"popper-fadeIn-slide"};return{animations:i,defaultOptions:p,defaultRtOptions:u,new:d};function d(e,n,r){var o;var i;void 0;n=angular.extend([],p,n);r=angular.extend([],u,r);n.color=n.color||"#fff";r.cssClass=c(r);n.template=E(r,r.style,n);if(n.renderFragment){n.title='<div class="rt-popper-widget"><div class="rt-circular-loader"></div><rt-iframe content="::content" layout="column" layout-align="center center" flex></rt-iframe></div>';n.popperOptions={onCreate:function(e){y(n,o);if(typeof n.onCreate==="function"){n.onCreate(e)}},onUpdate:function(e){if(typeof n.onUpdate==="function"){n.onUpdate(e)}}}}else{n.popperOptions={onCreate:function(e){i=f.$new();i.showHideBtn=n.showHideBtn;var t=h(i,o,r.cssClass);i.$on("$destroy",function(){if(t){t.remove()}});if(typeof n.onCreate==="function"){n.onCreate(e)}},onUpdate:function(e){if(typeof n.onUpdate==="function"){n.onUpdate(e)}}}}if(n.flipBoundariesElement){n.popperOptions.modifiers={flip:{boundariesElement:n.flipBoundariesElement}}}var t=l||window.Tooltip;o=new t(e,n);var a=f.$on("$locationChangeStart",function(e,t,n){o.hide()});var s=o.dispose;o.dispose=function(){a();if(o){try{s.call(o)}catch(e){void 0}o=null}s=null;if(i){i.$destroy()}n=null;r=null};return o}function c(e){var t=a.indexOf(e.cssClass)>=0?e.cssClass:u.cssClass;return t}function h(e,t,n){var r=t.popperInstance.popper;v(r,n);e.hide=function(){if(t){t.hide()}};return o(r)(e)}function v(e,t){var n=e.style&&e.style.opacity!==null&&e.style.pointerEvents!==null&&MutationObserver;if(n){m(e);w(e).then(g(e,t))}}function m(e){e.style.opacity=0;e.style.pointerEvents="none"}function g(e,t){e.childNodes[0].classList.add(t);n(function(){e.style.opacity=null;e.style.pointerEvents=null},50);void 0}function w(e){var t=r.defer();b(e,t);return t.promise}function b(e,t){var n=new MutationObserver(function(){if(e&&e.style.cssText.indexOf("will-change:")>=0){n.disconnect();t.resolve(e)}});var r={attributes:true,attributeFilter:["style"]};n.observe(e,r);return n}function y(n,r){n.renderFragment().then(function(e){var t=f.$new();t.showHideBtn=n.showHideBtn;t.content=e;h(t,r)})}function E(e,t,n){var r="color:"+n.backgroundColor||+";";function o(e){return e?e:""}var i='<div class="tooltip rt-popper '+o(e.containerCssClass)+'" role="tooltip">'+'<div class="rt-popper-animated">'+'<div style="'+r+'" class="tooltip-arrow rt-popper-arrow"></div>'+'<md-icon ng-show="showHideBtn" style=\'position: absolute; color:'+o(n.color)+";top:0px;right:0px; width: 24px; height: 24px; min-height: 24px; min-width: 24px; cursor: pointer;transform: rotate(45deg) scale(0.6); z-index: 100;' ng-click=\"hide()\" md-svg-src='data:image/svg+xml,<svg xmlns="https://www.w3.org/2000/svg"
1 viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"><path d="M11.5.5v22M22.5 11.5H.5"/></g><g><path fill="none" d="M0 0h24v24H0z"/></g></svg>'></md-icon>"+'<div style="color:'+o(n.color)+";background:"+o(n.backgroundColor)+'" class="tooltip-inner rt-popper-inner">'+"</div></div></div>";return i}}})();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.