Tippy's features
Default
The default tippy tooltip looks like this when given no options. It has a nifty backdrop filling animation!
Placement
A tooltip can be placed in four different ways in relation to its reference element. Additionally, the tooltip can be shifted using the suffix -start
or -end
.
Arrows
Arrows point toward the reference element. There are two different types of arrows: sharp and round. You can transform the proportion and scale of the arrows any way you like.
Triggers
Triggers define the types of events that cause a tooltip to show.
Interactivity
Tooltips can be interactive, meaning they won't hide when you hover over or click on them.
Animations
Tooltips can have different types of animations.
Duration
A tippy can have different transition durations.
Delay
Tooltips can delay showing or hiding* after a trigger.
HTML
Tooltips can contain HTML, allowing you to craft awesome interactive popovers.
Themes
A tippy can have any kind of theme you want! Creating a custom theme is a breeze.
Misc
Tippy has a ton of features, and it's constantly improving.
You might be wondering why you should use a 15 kB JS library for tooltips and popovers instead of a CSS solution. Pure CSS tooltips are great for simple tooltips when the reference element is positioned in a certain way, but they:
- Will overflow when the tooltip is large and the reference is close to the window edge
- Can't flip to stay optimally visible within the viewport
- Can't follow the mouse cursor
- Difficult to work with self-closing elements like
img
- JavaScript is required for dynamic HTML content
- JavaScript is required to perform side effects (e.g. AJAX)
In addition, Tippy automatically handles many use cases available declaratively in a simple option API. Options like followCursor
, interactive
, touch
, arrow
, and the on*
lifecycle functions make dealing with tooltips & popovers a breeze.
Option 1: CDN
Include this script from the unpkg CDN in your HTML document before your own scripts:
<script src="https://unpkg.com/tippy.js@3/dist/tippy.all.min.js"></script>
It's recommended to place this at the bottom of the <body>
, or in the <head>
with a defer
attribute.
Option 2: Package Manager
Install using either npm or yarn:
npm i tippy.js
yarn add tippy.js
Then you can import the tippy
module:
import tippy from 'tippy.js'
You'll also need to import Tippy's CSS. With a module bundler like Webpack or Parcel, it can be imported directly:
import 'tippy.js/dist/tippy.css'
View Library Components
If you would like to use Tippy.js as a declarative component, there are wrappers available.
Files
Tippy builds a bunch of different files that can be used:
tippy.all.js
is all dependencies (Tippy + Popper + CSS) in a single file. The CSS is injected into the document head. Note that themes CSS is not included by default, they must be externally imported or linked. They are located underdist/themes/
.tippy.js
is Tippy + Popper together, without the CSS.tippy.standalone.js
is Tippy by itself, without Popper or the CSS. This is useful if you are using a CDN and want to use the latest version of Popper.js if the bundled version is outdated, or use Popper itself for other things.tippy.css
is Tippy's CSS stylesheet by itself.
There are also .min
versions of the above, which means the file is minified for production use.
Browser support
Tippy is compatible with browsers with requestAnimationFrame
and MutationObserver
support (IE11+). This means most browsers from 2013 onwards, about 99% of desktop users and 95% of mobile users globally (mainly due to Opera Mini on mobile not being supported).
IE11 requires a classList
polyfill if using an SVG element as the reference.
If you need to support old browsers too, you can set the native title
attribute on desktop. On unsupported mobile browsers (such as Opera Mini), it's best to inline the content next to the reference element.
The code throughout this documentation is making use of new JavaScript features (ES6+) that old browsers don't support (such as IE11). If you're going to copy code from here, make sure to use Babel to transpile it into ES5.
Method 1: Auto
Give your reference element a data-tippy
attribute containing the tooltip content.
<button data-tippy="I'm a tooltip!">Text</button>
When Tippy.js is loaded in the document, it will search for elements with the attribute and give them a tooltip automatically. This means you won't have to touch JavaScript at all.
The data-tippy
attribute only works on initial page load. If you have dynamically generated elements or are using a view library/framework (React, Vue, Angular), use Method 2 below, using data-tippy-content
instead of data-tippy
.
Method 2: Function
Use the tippy
function.
<button>Text</button>
tippy('button', { content: "I'm a tooltip!" })
Result:
Using data-tippy-content
allows you to use the function for common custom configuration while giving each tooltip different content.
<button class="btn" data-tippy-content="Tooltip A">Text</button>
+ Tippy.js - Vanilla JS Tooltip and Popover Library Tippy.jsv3.3.0
A highly customizable vanilla JS tooltip & popover library
Tippy's features
Default
The default tippy tooltip looks like this when given no options. It has a nifty backdrop filling animation!
Placement
A tooltip can be placed in four different ways in relation to its reference element. Additionally, the tooltip can be shifted using the suffix -start
or -end
.
Arrows
Arrows point toward the reference element. There are two different types of arrows: sharp and round. You can transform the proportion and scale of the arrows any way you like.
Triggers
Triggers define the types of events that cause a tooltip to show.
Interactivity
Tooltips can be interactive, meaning they won't hide when you hover over or click on them.
Animations
Tooltips can have different types of animations.
Duration
A tippy can have different transition durations.
Delay
Tooltips can delay showing or hiding* after a trigger.
HTML
Tooltips can contain HTML, allowing you to craft awesome interactive popovers.
Themes
A tippy can have any kind of theme you want! Creating a custom theme is a breeze.
Misc
Tippy has a ton of features, and it's constantly improving.
You might be wondering why you should use a 15 kB JS library for tooltips and popovers instead of a CSS solution. Pure CSS tooltips are great for simple tooltips when the reference element is positioned in a certain way, but they:
- Will overflow when the tooltip is large and the reference is close to the window edge
- Can't flip to stay optimally visible within the viewport
- Can't follow the mouse cursor
- Difficult to work with self-closing elements like
img
- JavaScript is required for dynamic HTML content
- JavaScript is required to perform side effects (e.g. AJAX)
In addition, Tippy automatically handles many use cases available declaratively in a simple option API. Options like followCursor
, interactive
, touch
, arrow
, and the on*
lifecycle functions make dealing with tooltips & popovers a breeze.
Option 1: CDN
Include this script from the unpkg CDN in your HTML document before your own scripts:
<script src="https://unpkg.com/tippy.js@3/dist/tippy.all.min.js"></script>
It's recommended to place this at the bottom of the <body>
, or in the <head>
with a defer
attribute.
Option 2: Package Manager
Install using either npm or yarn:
npm i tippy.js
yarn add tippy.js
Then you can import the tippy
module:
import tippy from 'tippy.js'
You'll also need to import Tippy's CSS. With a module bundler like Webpack or Parcel, it can be imported directly:
import 'tippy.js/dist/tippy.css'
View Library Components
If you would like to use Tippy.js as a declarative component, there are wrappers available.
Files
Tippy builds a bunch of different files that can be used:
tippy.all.js
is all dependencies (Tippy + Popper + CSS) in a single file. The CSS is injected into the document head. Note that themes CSS is not included by default, they must be externally imported or linked. They are located under dist/themes/
.tippy.js
is Tippy + Popper together, without the CSS.tippy.standalone.js
is Tippy by itself, without Popper or the CSS. This is useful if you are using a CDN and want to use the latest version of Popper.js if the bundled version is outdated, or use Popper itself for other things.tippy.css
is Tippy's CSS stylesheet by itself.
There are also .min
versions of the above, which means the file is minified for production use.
Browser support
Tippy is compatible with browsers with requestAnimationFrame
and MutationObserver
support (IE11+). This means most browsers from 2013 onwards, about 99% of desktop users and 95% of mobile users globally (mainly due to Opera Mini on mobile not being supported).
IE11 requires a classList
polyfill if using an SVG element as the reference.
If you need to support old browsers too, you can set the native title
attribute on desktop. On unsupported mobile browsers (such as Opera Mini), it's best to inline the content next to the reference element.
The code throughout this documentation is making use of new JavaScript features (ES6+) that old browsers don't support (such as IE11). If you're going to copy code from here, make sure to use Babel to transpile it into ES5.
Method 1: Auto
Give your reference element a data-tippy
attribute containing the tooltip content.
<button data-tippy="I'm a tooltip!">Text</button>
When Tippy.js is loaded in the document, it will search for elements with the attribute and give them a tooltip automatically. This means you won't have to touch JavaScript at all.
The data-tippy
attribute only works on initial page load. If you have dynamically generated elements or are using a view library/framework (React, Vue, Angular), use Method 2 below, using data-tippy-content
instead of data-tippy
.
Method 2: Function
Use the tippy
function.
<button>Text</button>
tippy('button', { content: "I'm a tooltip!" })
Result:
Using data-tippy-content
allows you to use the function for common custom configuration while giving each tooltip different content.
<button class="btn" data-tippy-content="Tooltip A">Text</button>
<button class="btn" data-tippy-content="Tooltip B">Text</button>
<button class="btn" data-tippy-content="Tooltip C">Text</button>
tippy('.btn')
Accepted inputs
A single DOM Element
(or an array of them) will work:
tippy(document.querySelector('.btn'))
As well as a NodeList
:
tippy(document.querySelectorAll('.btn'))
Advanced
You can use a virtual element as the positioning reference instead of a real element:
const virtualReference = {
getBoundingClientRect() {
diff --git a/docs/website.0b02612e.map b/docs/website.0b02612e.map
new file mode 100644
index 000000000..54d88cdc3
--- /dev/null
+++ b/docs/website.0b02612e.map
@@ -0,0 +1 @@
+{"version":3,"sources":["../node_modules/focus-visible/dist/focus-visible.js","../node_modules/hyperapp/src/index.js","../src/browser.js","../src/index.js","../node_modules/twemoji/2/esm.js","js/utils.js","js/state.js","js/actions.js","0","js/components/Emoji.js","../src/js/tippy.js","../node_modules/popper.js/dist/esm/popper.js","../src/js/defaults.js","../src/js/browser.js","../src/js/selectors.js","../src/js/utils.js","../src/js/bindGlobalEventListeners.js","../src/js/createTippy.js","js/components/Tippy.js","js/sections/Header.js","js/sections/Demo.js","js/components/Heading.js","js/components/Section.js","js/prism.js","js/components/Code.js","js/components/ExternalLink.js","js/sections/TableOfContents.js","js/sections/Why.js","js/sections/GettingStarted.js","js/components/ResultBox.js","js/sections/CreatingTooltips.js","js/sections/CustomizingTooltips.js","js/components/OptionsTable.js","js/sections/AllOptions.js","js/sections/Objects.js","js/sections/Methods.js","js/sections/HTMLContent.js","js/sections/CreatingCustomThemes.js","js/sections/Main.js","js/view.js","index.js"],"names":["h","name","attributes","length","rest","children","arguments","push","node","pop","nodeName","key","app","state","actions","view","container","map","skipRender","rootElement","oldNode","recycleElement","element","toLowerCase","call","childNodes","nodeType","nodeValue","lifecycle","isRecycling","globalState","clone","wiredActions","wireStateToActions","path","action","data","result","getPartialState","then","scheduleRender","setPartialState","concat","resolveNode","render","patch","parent","isSvg","newElement","createElement","document","createTextNode","createElementNS","oncreate","i","appendChild","updateAttribute","insertBefore","removeElement","updateElement","oldAttributes","cb","onupdate","oldKeyed","newKeyed","oldElements","oldChildren","oldKey","getKey","k","newKey","keyedNode","setTimeout","target","source","out","value","slice","eventListener","event","currentTarget","events","type","oldValue","style","cssText","setProperty","addEventListener","removeEventListener","setAttribute","removeAttribute","done","removeChild","removeChildren","ondestroy","onremove","styleNameCache","Map","uppercasePattern","msPattern","voidElements","Set","ignoreAttributes","escapeRegExp","escapeLookup","escaper","match","get","escapeHtml","replace","hyphenateStyleName","styleName","set","stringifyStyles","styles","delimiter","styleNames","Object","keys","styleValue","renderFragment","stack","footer","has","innerHTML","renderer","end","bytes","frame","childIndex","renderToString","Infinity","withRender","nextApp","initialState","actionsTemplate","toString","getState","twemoji","base","ext","size","className","convert","fromCodePoint","codepoint","code","parseInt","fromCharCode","toCodePoint","onerror","parentNode","replaceChild","createText","alt","parse","what","how","callback","parseString","str","options","rawText","ret","attrib","attrname","iconId","grabTheRightIcon","src","hasOwnProperty","indexOf","rescaper","replacer","parseNode","allText","modified","fragment","subnode","text","index","img","grabAllTextNodes","shouldntBeParsed","test","createDocumentFragment","re","exec","Image","hasAttribute","defaultImageSrcGenerator","returnNull","folder","toSizeSquaredAsset","lastIndex","UFE0Fg","U200D","String","clean","icon","m","unicodeSurrogates","sep","r","c","p","charCodeAt","join","isBrowser","window","DIR","prerender","main","tag","nodeRequire","fs","html","readFileSync","writeFileSync","e","snippet","getEmojiSrc","char","toKebabCase","x","ajax","imageSrc","isLoading","error","canFetch","performance","inputValue","numberOfElements","onShow","isFetching","fetch","response","blob","onDataReceived","catch","errored","URL","createObjectURL","onHidden","setInputValue","module","exports","version","description","types","author","license","keywords","repository","url","scripts","dev:docs","build:docs","dev","build","prettier","release","jest","setupFiles","coveragePathIgnorePatterns","semi","singleQuote","browserslist","alias","~","devDependencies","@hyperapp/render","autoprefixer","babel-core","babel-jest","babel-plugin-external-helpers","babel-plugin-transform-react-jsx","babel-preset-env","babel-preset-es2015-rollup","babel-preset-stage-2","caniuse-lite","colorette","cssnano","eslint","filesize","focus-visible","gzip-size","hyperapp","jsdom","mutation-observer","node-sass","normalize.css","parcel-bundler","parcel-plugin-markdown-string","postcss","postcss-cssnext","postcss-import","prismjs","rollup","rollup-plugin-babel","rollup-plugin-babel-minify","rollup-plugin-commonjs","rollup-plugin-css-only","rollup-plugin-json","rollup-plugin-node-resolve","rollup-plugin-sass","rollup-plugin-strip","dependencies","popper.js","Sizes","large","medium","small","props","width","autoInit","Defaults","body","POPPER_INSTANCE_RELATED_PROPS","nav","navigator","win","isIE","userAgent","isIOS","platform","MSStream","supportsTouch","longerTimeoutBrowsers","timeoutDuration","supportsMicroTasks","debounce","Promise","microtaskDebounce","fn","called","resolve","taskDebounce","scheduled","isFunction","functionToCheck","getStyleComputedProperty","property","css","ownerDocument","defaultView","getComputedStyle","getParentNode","host","getScrollParent","_getStyleComputedProp","overflow","overflowX","overflowY","isIE11","MSInputMethodContext","documentMode","isIE10","getOffsetParent","documentElement","offsetParent","noOffsetParent","nextElementSibling","getRoot","findCommonOffsetParent","element1","element2","order","compareDocumentPosition","Node","DOCUMENT_POSITION_FOLLOWING","start","range","createRange","setStart","setEnd","commonAncestorContainer","contains","isOffsetContainer","firstElementChild","element1root","getScroll","side","upperSide","undefined","scrollingElement","getBordersSize","axis","sideA","sideB","parseFloat","getSize","computedStyle","Math","max","getWindowSizes","classCallCheck","instance","Constructor","TypeError","createClass","defineProperties","descriptor","enumerable","configurable","writable","defineProperty","protoProps","staticProps","prototype","obj","_extends","assign","getClientRect","offsets","left","top","height","getBoundingClientRect","rect","scrollTop","scrollLeft","bottom","right","sizes","clientWidth","clientHeight","horizScrollbar","offsetWidth","vertScrollbar","offsetHeight","getOffsetRectRelativeToArbitraryNode","fixedPosition","isHTML","childrenRect","parentRect","scrollParent","borderTopWidth","borderLeftWidth","marginTop","marginLeft","includeScroll","subtract","modifier","getFixedPositionOffsetParent","parentElement","el","getBoundaries","popper","reference","padding","boundariesElement","boundaries","getViewportOffsetRectRelativeToArtbitraryNode","excludeScroll","relativeOffset","innerWidth","innerHeight","boundariesNode","isFixed","_getWindowSizes","isPaddingNumber","computeAutoPlacement","placement","refRect","rects","sortedAreas","getArea","_ref","sort","a","b","area","filteredAreas","filter","_ref2","computedPlacement","variation","split","getReferenceOffsets","getOuterSizes","marginBottom","y","marginRight","getOppositePlacement","hash","matched","getPopperOffsets","referenceOffsets","popperRect","popperOffsets","isHoriz","mainSide","secondarySide","measurement","secondaryMeasurement","find","arr","check","Array","runModifiers","modifiers","ends","findIndex","prop","cur","forEach","warn","enabled","isModifierEnabled","modifierName","some","getSupportedPropertyName","prefixes","upperProp","charAt","toUpperCase","prefix","toCheck","getWindow","setupEventListeners","updateBound","passive","scrollElement","attachToScrollParents","scrollParents","isBody","eventsEnabled","disableEventListeners","removeEventListeners","scheduleUpdate","isNumeric","n","isNaN","isFinite","setStyles","unit","isFirefox","isModifierRequired","requestingName","requestedName","requesting","isRequired","_requesting","requested","placements","validPlacements","clockwise","counter","reverse","BEHAVIORS","parseOffset","offset","basePlacement","useHeight","fragments","frag","trim","divider","search","splitRegex","ops","op","mergeWithPrevious","reduce","toValue","index2","shift","shiftvariation","_data$offsets","isVertical","shiftOffsets","preventOverflow","transformProp","popperStyles","transform","positionFixed","priority","escapeWithReference","min","keepTogether","floor","opSide","arrow","_data$offsets$arrow","arrowElement","querySelector","len","sideCapitalized","altSide","arrowElementSize","center","popperMarginSide","popperBorderSide","sideValue","round","flip","flipped","originalPlacement","placementOpposite","flipOrder","behavior","FLIP","CLOCKWISE","COUNTERCLOCKWISE","step","refOffsets","overlapsRef","overflowsLeft","overflowsRight","overflowsTop","overflowsBottom","overflowsBoundaries","flippedVariation","flipVariations","getOppositeVariation","inner","subtractLength","hide","bound","computeStyle","legacyGpuAccelerationOption","gpuAcceleration","offsetParentRect","position","getRoundedOffsets","shouldRound","noRound","v","popperWidth","referenceWidth","isVariation","horizontalToInteger","verticalToInteger","devicePixelRatio","prefixedProperty","willChange","invertTop","invertLeft","arrowStyles","applyStyle","setAttributes","applyStyleOnLoad","modifierOptions","Popper","_this","requestAnimationFrame","update","bind","jquery","onLoad","enableEventListeners","isDestroyed","isCreated","onUpdate","onCreate","destroy","removeOnDestroy","Utils","global","PopperUtils","Selectors","FF_EXTENSION_TRICK","toArray","setContent","contentEl","content","Element","allowHTML","elementCanReceiveFocus","matches","applyTransitionDuration","els","Boolean","transitionDuration","getChildren","select","s","TOOLTIP","BACKDROP","CONTENT","ARROW","ROUND_ARROW","isPlainObject","div","setInnerHTML","getArrayOfElements","NodeList","isArray","querySelectorAll","getValue","defaultValue","createArrowElement","arrowType","createBackdropElement","backdrop","addInteractive","tooltip","createPopperElement","id","zIndex","maxWidth","animation","theme","classList","add","t","interactive","animateFill","inertia","relatedTarget","_tippy","closestCallback","shouldPopperHideOnBlur","updatePopperElement","prevProps","nextProps","remove","hideAllPoppers","POPPER","tip","hideOnClick","excludeTippy","getDataAttributeOptions","acc","valueAsString","getAttribute","JSON","Number","polyfillVirtualReferenceProps","polyfills","virtualReference","classNames","matchesSelector","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","closest","parentSelector","selector","focus","scrollX","pageXOffset","scrollY","pageYOffset","transformAxisBasedOnPlacement","transformNumbersBasedOnPlacement","numbers","isReverse","getTransformAxis","cssFunction","RegExp","getTransformNumbers","regex","TRANSFORM_NUMBER_RE","computeArrowTransform","arrowTransform","getPopperPlacement","computedTransform","translate","scale","setVisibilityState","afterPopperPositionUpdates","popperInstance","defer","isCursorOutsideInteractiveBorder","popperPlacement","clientX","clientY","interactiveBorder","distance","exceedsTop","exceedsBottom","exceedsLeft","exceedsRight","getOffsetDistanceInPx","defaultDistance","fullPlacement","evaluateProps","appendTo","toggleTransitionEndListener","listener","ms","timeoutId","apply","validateOptions","option","Error","isUsingTouch","onDocumentTouch","onDocumentMouseMove","lastMouseMoveTime","now","onDocumentClick","isClickTrigger","trigger","clearDelayTimeouts","onWindowBlur","activeElement","blur","onWindowResize","tippyInstance","livePlacement","idCounter","createTippy","collectionProps","multiple","popperMutationObserver","lastTriggerEvent","lastMouseMoveEvent","showTimeoutId","hideTimeoutId","isPreparingToShow","transitionEndListener","listeners","referenceJustProgrammaticallyFocused","debouncedOnMouseMove","interactiveDebounce","onMouseMove","isVisible","popperChildren","enable","isEnabled","disable","onReferenceClick","lazy","createPopperInstance","showOnInit","a11y","positionVirtualReferenceNearCursor","isVerticalPlacement","isHorizontalPlacement","followCursor","isHorizontal","prepareShow","createDelegateChildTippy","targetEl","wait","hasFollowCursorBehavior","delay","prepareHide","removeFollowCursorListener","cleanupOldMouseListeners","onTrigger","isEventListenerStopped","referenceTheCursorIsOver","isCursorOverPopper","isCursorOverReference","onMouseLeave","onBlur","onDelegateShow","onDelegateHide","isTouchEvent","caseA","touchHold","caseB","popperOptions","arrowSelector","config","flipBehavior","MutationObserver","observe","onTransitionEnd","duration","on","eventType","handler","addTriggersToReference","removeTriggersFromReference","show","touch","isVirtual","visibility","mount","margin","onMount","isMounted","transitionDelay","sticky","updateDuration","updatePosition","onTransitionedIn","onShown","isShown","onHide","onTransitionedOut","destroyTargetInstances","child","disconnect","eventListenersBound","tippy","targets","one","maxTouchPoints","msMaxTouchPoints","references","firstReference","instances","defaults","setDefaults","partialDefaults","disableAnimations","useCapture","Tippy","realProps","constructor","secondary","ref","logo","ANIMATIONS","printValue","NO_GPU_ACCELERATION","preventDefault","anchor","cursor","Subheading","scope","link","title","emoji","__addCustomObjectTokens","Prism","languages","pattern","definition","lookbehind","access","console","spread","method","__getParameterTokens","inside","javascript","_self","WorkerGlobalScope","self","lang","uniqueId","_","manual","disableWorkerMessageHandler","util","encode","tokens","Token","o","objId","visited","extend","redef","before","insert","root","grammar","newToken","token","DFS","plugins","highlightAll","async","highlightAllUnder","env","hooks","run","elements","highlightElement","language","textContent","Worker","worker","filename","onmessage","evt","highlightedCode","postMessage","stringify","immediateClose","highlight","tokenize","matchGrammar","strarr","startPos","oneshot","patterns","j","greedy","lookbehindLength","flags","pos","from","to","delNum","after","args","wrapped","splice","all","callbacks","matchedStr","classes","aliases","message","close","script","currentScript","getElementsByTagName","readyState","markup","comment","prolog","doctype","cdata","punctuation","namespace","entity","xml","mathml","svg","atrule","rule","string","important","function","clike","keyword","boolean","number","operator","parameter","constant","interpolation","js","fileHighlight","Extensions","py","rb","ps1","psm1","sh","bat","tex","pre","extension","xhr","XMLHttpRequest","open","onreadystatechange","status","responseText","statusText","send","toolbar","registerButton","href","getLang","TITLE","Emojis","WHY","GETTING_STARTED","CREATING_TOOLTIPS","CUSTOMIZING_TOOLTIPS","ALL_OPTIONS","OBJECTS","METHODS","HTML_CONTENT","CREATING_CUSTOM_THEMES","AUTO_TIPPY_BUTTON","FUNCTION_BUTTON","FUNCTION_CALL","MULTIPLE_CONTENT_HTML","MULTIPLE_CONTENT_JS","VIRTUAL_REFERENCE","HTML_BUTTON","OPTIONS_OBJECT","DATA_ATTRIBUTES","SET_DEFAULTS","scrollTakingIntoAccountStickyHeader","scroll","Prop","location","default","APPEND_TO","display","WAIT","INITIAL_AJAX_CONTENT","AJAX","_transitionEndListener","opacity","_baseHeight","EVENT_DELEGATION_HTML","EVENT_DELEGATION_JS","SCROLLABLE_CONTAINER","HIDE_TOOLTIPS_ON_SCROLL","CANCEL_LIFECYCLE_FUNCTION","BUTTONS_WITH_TOOLTIPS_TOUCH","TIP_COLLECTION","ACCESS_TIPPY_INSTANCE","TIP_INSTANCE","SHORTCUTS","SET_METHOD","HTML_ELEMENT","HTML_ELEMENT_JS","color","INNER_HTML","CONTENT_FUNCTION_HTML","CONTENT_FUNCTION","TIPPY_ELEMENT","TIPPY_ELEMENT_ARROW","THEME_CSS","THEME_JS","CSS_ARROW_STYLES"],"mappings":";;;;AA0RA,IAAA,GA1RA,SAAA,EAAA,GACA,iBAAA,SAAA,oBAAA,OAAA,IACA,mBAAA,GAAA,EAAA,IAAA,EAAA,GACA,IAHA,CAIA,EAAA,WAAA,aAiRA,oBAAA,UAvBA,SAAA,GACA,IAAA,EAKA,SAAA,IACA,IACA,GAAA,EAEA,KAIA,CAAA,cAAA,YAAA,QAAA,SAAA,aAAA,EACA,KAEA,GAAA,EACA,SAAA,iBAAA,mBAAA,GAAA,GACA,OAAA,iBAAA,OAAA,GAAA,IAKA,CA7QA,WACA,IAAA,GAAA,EACA,GAAA,EACA,EAAA,KAEA,EAAA,CACA,MAAA,EACA,QAAA,EACA,KAAA,EACA,KAAA,EACA,OAAA,EACA,UAAA,EACA,QAAA,EACA,MAAA,EACA,OAAA,EACA,MAAA,EACA,MAAA,EACA,UAAA,EACA,kBAAA,GAQA,SAAA,EAAA,GACA,SACA,GACA,IAAA,UACA,SAAA,EAAA,UACA,SAAA,EAAA,UACA,cAAA,GACA,aAAA,EAAA,WAsCA,SAAA,EAAA,GACA,EAAA,UAAA,SAAA,mBAGA,EAAA,UAAA,IAAA,iBACA,EAAA,aAAA,2BAAA,KAsCA,SAAA,EAAA,GACA,GAAA,EAwEA,SAAA,IACA,SAAA,iBAAA,YAAA,GACA,SAAA,iBAAA,YAAA,GACA,SAAA,iBAAA,UAAA,GACA,SAAA,iB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aAAA,OAAA,eAAA,QAAA,aAAA,CAAA,OAAA,IAAA,QAAA,aAAA,EAJf,IAAA,EAAA,QAAA,YACA,EAAA,EAAA,QAAA,sBACA,EAAA,EAAA,QAAA,oBAEe,SAAA,EAAA,GAAA,OAAA,GAAA,EAAA,WAAA,EAAA,CAAA,QAAA,GAAA,IAAA,EAAA,SAACxkC,EAAOC,GACrB,OAAA,EAAA,EAAA,GAAA,MAAA,CAAW,MAAA,QACT,EAAC,EAAA,GAAA,EAAD,QADF,OAEE,EAAC,EAAA,GAAA,EAAD,QAFF,QADa,QAAA,QAAA;;ACYf,aAhBA,QAAA,qBACA,QAAA,4BACA,QAAA,kCACA,QAAA,mCACA,QAAA,6BACA,QAAA,iBACA,QAAA,oBACA,QAAA,iBACA,IAAA,EAAA,QAAA,YACA,EAAA,QAAA,mCACA,EAAA,QAAA,cACA,EAAA,EAAA,QAAA,eACA,EAAA,EAAA,QAAA,iBACA,EAAA,EAAA,QAAA,cAGA,SAAA,EAAA,GAAA,OAAA,GAAA,EAAA,WAAA,EAAA,CAAA,QAAA,GADA,IAAMqM,GAAO,EAAWvM,EAAAA,YAAAA,EAAX,IAAA,CAAgBC,EAAhB,QAAuBC,EAAvB,QAAgCC,EAAhC,QAAsCgM,EAAa7J,WAAAA,SAAS0Q,OACzE,EAAUzG,EAAAA,WAAAA,EAAM","file":"website.0b02612e.map","sourceRoot":"../website","sourcesContent":["(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? factory() :\n typeof define === 'function' && define.amd ? define(factory) :\n (factory());\n}(this, (function () { 'use strict';\n\n /**\n * https://github.com/WICG/focus-visible\n */\n function init() {\n var hadKeyboardEvent = true;\n var hadFocusVisibleRecently = false;\n var hadFocusVisibleRecentlyTimeout = null;\n\n var inputTypesWhitelist = {\n text: true,\n search: true,\n url: true,\n tel: true,\n email: true,\n password: true,\n number: true,\n date: true,\n month: true,\n week: true,\n time: true,\n datetime: true,\n 'datetime-local': true\n };\n\n /**\n * Helper function for legacy browsers and iframes which sometimes focus\n * elements like document, body, and non-interactive SVG.\n * @param {Element} el\n */\n function isValidFocusTarget(el) {\n if (\n el &&\n el !== document &&\n el.nodeName !== 'HTML' &&\n el.nodeName !== 'BODY' &&\n 'classList' in el &&\n 'contains' in el.classList\n ) {\n return true;\n }\n return false;\n }\n\n /**\n * Computes whether the given element should automatically trigger the\n * `focus-visible` class being added, i.e. whether it should always match\n * `:focus-visible` when focused.\n * @param {Element} el\n * @return {boolean}\n */\n function focusTriggersKeyboardModality(el) {\n var type = el.type;\n var tagName = el.tagName;\n\n if (tagName == 'INPUT' && inputTypesWhitelist[type] && !el.readOnly) {\n return true;\n }\n\n if (tagName == 'TEXTAREA' && !el.readOnly) {\n return true;\n }\n\n if (el.isContentEditable) {\n return true;\n }\n\n return false;\n }\n\n /**\n * Add the `focus-visible` class to the given element if it was not added by\n * the author.\n * @param {Element} el\n */\n function addFocusVisibleClass(el) {\n if (el.classList.contains('focus-visible')) {\n return;\n }\n el.classList.add('focus-visible');\n el.setAttribute('data-focus-visible-added', '');\n }\n\n /**\n * Remove the `focus-visible` class from the given element if it was not\n * originally added by the author.\n * @param {Element} el\n */\n function removeFocusVisibleClass(el) {\n if (!el.hasAttribute('data-focus-visible-added')) {\n return;\n }\n el.classList.remove('focus-visible');\n el.removeAttribute('data-focus-visible-added');\n }\n\n /**\n * Treat `keydown` as a signal that the user is in keyboard modality.\n * Apply `focus-visible` to any current active element and keep track\n * of our keyboard modality state with `hadKeyboardEvent`.\n * @param {Event} e\n */\n function onKeyDown(e) {\n if (isValidFocusTarget(document.activeElement)) {\n addFocusVisibleClass(document.activeElement);\n }\n\n hadKeyboardEvent = true;\n }\n\n /**\n * If at any point a user clicks with a pointing device, ensure that we change\n * the modality away from keyboard.\n * This avoids the situation where a user presses a key on an already focused\n * element, and then clicks on a different element, focusing it with a\n * pointing device, while we still think we're in keyboard modality.\n * @param {Event} e\n */\n function onPointerDown(e) {\n hadKeyboardEvent = false;\n }\n\n /**\n * On `focus`, add the `focus-visible` class to the target if:\n * - the target received focus as a result of keyboard navigation, or\n * - the event target is an element that will likely require interaction\n * via the keyboard (e.g. a text box)\n * @param {Event} e\n */\n function onFocus(e) {\n // Prevent IE from focusing the document or HTML element.\n if (!isValidFocusTarget(e.target)) {\n return;\n }\n\n if (hadKeyboardEvent || focusTriggersKeyboardModality(e.target)) {\n addFocusVisibleClass(e.target);\n }\n }\n\n /**\n * On `blur`, remove the `focus-visible` class from the target.\n * @param {Event} e\n */\n function onBlur(e) {\n if (!isValidFocusTarget(e.target)) {\n return;\n }\n\n if (\n e.target.classList.contains('focus-visible') ||\n e.target.hasAttribute('data-focus-visible-added')\n ) {\n // To detect a tab/window switch, we look for a blur event followed\n // rapidly by a visibility change.\n // If we don't see a visibility change within 100ms, it's probably a\n // regular focus change.\n hadFocusVisibleRecently = true;\n window.clearTimeout(hadFocusVisibleRecentlyTimeout);\n hadFocusVisibleRecentlyTimeout = window.setTimeout(function() {\n hadFocusVisibleRecently = false;\n window.clearTimeout(hadFocusVisibleRecentlyTimeout);\n }, 100);\n removeFocusVisibleClass(e.target);\n }\n }\n\n /**\n * If the user changes tabs, keep track of whether or not the previously\n * focused element had .focus-visible.\n * @param {Event} e\n */\n function onVisibilityChange(e) {\n if (document.visibilityState == 'hidden') {\n // If the tab becomes active again, the browser will handle calling focus\n // on the element (Safari actually calls it twice).\n // If this tab change caused a blur on an element with focus-visible,\n // re-apply the class when the user switches back to the tab.\n if (hadFocusVisibleRecently) {\n hadKeyboardEvent = true;\n }\n addInitialPointerMoveListeners();\n }\n }\n\n /**\n * Add a group of listeners to detect usage of any pointing devices.\n * These listeners will be added when the polyfill first loads, and anytime\n * the window is blurred, so that they are active when the window regains\n * focus.\n */\n function addInitialPointerMoveListeners() {\n document.addEventListener('mousemove', onInitialPointerMove);\n document.addEventListener('mousedown', onInitialPointerMove);\n document.addEventListener('mouseup', onInitialPointerMove);\n document.addEventListener('pointermove', onInitialPointerMove);\n document.addEventListener('pointerdown', onInitialPointerMove);\n document.addEventListener('pointerup', onInitialPointerMove);\n document.addEventListener('touchmove', onInitialPointerMove);\n document.addEventListener('touchstart', onInitialPointerMove);\n document.addEventListener('touchend', onInitialPointerMove);\n }\n\n function removeInitialPointerMoveListeners() {\n document.removeEventListener('mousemove', onInitialPointerMove);\n document.removeEventListener('mousedown', onInitialPointerMove);\n document.removeEventListener('mouseup', onInitialPointerMove);\n document.removeEventListener('pointermove', onInitialPointerMove);\n document.removeEventListener('pointerdown', onInitialPointerMove);\n document.removeEventListener('pointerup', onInitialPointerMove);\n document.removeEventListener('touchmove', onInitialPointerMove);\n document.removeEventListener('touchstart', onInitialPointerMove);\n document.removeEventListener('touchend', onInitialPointerMove);\n }\n\n /**\n * When the polfyill first loads, assume the user is in keyboard modality.\n * If any event is received from a pointing device (e.g. mouse, pointer,\n * touch), turn off keyboard modality.\n * This accounts for situations where focus enters the page from the URL bar.\n * @param {Event} e\n */\n function onInitialPointerMove(e) {\n // Work around a Safari quirk that fires a mousemove on whenever the\n // window blurs, even if you're tabbing out of the page. ยฏ\\_(ใ)_/ยฏ\n if (e.target.nodeName.toLowerCase() === 'html') {\n return;\n }\n\n hadKeyboardEvent = false;\n removeInitialPointerMoveListeners();\n }\n\n document.addEventListener('keydown', onKeyDown, true);\n document.addEventListener('mousedown', onPointerDown, true);\n document.addEventListener('pointerdown', onPointerDown, true);\n document.addEventListener('touchstart', onPointerDown, true);\n document.addEventListener('focus', onFocus, true);\n document.addEventListener('blur', onBlur, true);\n document.addEventListener('visibilitychange', onVisibilityChange, true);\n addInitialPointerMoveListeners();\n\n document.body.classList.add('js-focus-visible');\n }\n\n /**\n * Subscription when the DOM is ready\n * @param {Function} callback\n */\n function onDOMReady(callback) {\n var loaded;\n\n /**\n * Callback wrapper for check loaded state\n */\n function load() {\n if (!loaded) {\n loaded = true;\n\n callback();\n }\n }\n\n if (['interactive', 'complete'].indexOf(document.readyState) >= 0) {\n callback();\n } else {\n loaded = false;\n document.addEventListener('DOMContentLoaded', load, false);\n window.addEventListener('load', load, false);\n }\n }\n\n if (typeof document !== 'undefined') {\n onDOMReady(init);\n }\n\n})));\n","export function h(name, attributes) {\n var rest = []\n var children = []\n var length = arguments.length\n\n while (length-- > 2) rest.push(arguments[length])\n\n while (rest.length) {\n var node = rest.pop()\n if (node && node.pop) {\n for (length = node.length; length--; ) {\n rest.push(node[length])\n }\n } else if (node != null && node !== true && node !== false) {\n children.push(node)\n }\n }\n\n return typeof name === \"function\"\n ? name(attributes || {}, children)\n : {\n nodeName: name,\n attributes: attributes || {},\n children: children,\n key: attributes && attributes.key\n }\n}\n\nexport function app(state, actions, view, container) {\n var map = [].map\n var rootElement = (container && container.children[0]) || null\n var oldNode = rootElement && recycleElement(rootElement)\n var lifecycle = []\n var skipRender\n var isRecycling = true\n var globalState = clone(state)\n var wiredActions = wireStateToActions([], globalState, clone(actions))\n\n scheduleRender()\n\n return wiredActions\n\n function recycleElement(element) {\n return {\n nodeName: element.nodeName.toLowerCase(),\n attributes: {},\n children: map.call(element.childNodes, function(element) {\n return element.nodeType === 3 // Node.TEXT_NODE\n ? element.nodeValue\n : recycleElement(element)\n })\n }\n }\n\n function resolveNode(node) {\n return typeof node === \"function\"\n ? resolveNode(node(globalState, wiredActions))\n : node != null\n ? node\n : \"\"\n }\n\n function render() {\n skipRender = !skipRender\n\n var node = resolveNode(view)\n\n if (container && !skipRender) {\n rootElement = patch(container, rootElement, oldNode, (oldNode = node))\n }\n\n isRecycling = false\n\n while (lifecycle.length) lifecycle.pop()()\n }\n\n function scheduleRender() {\n if (!skipRender) {\n skipRender = true\n setTimeout(render)\n }\n }\n\n function clone(target, source) {\n var out = {}\n\n for (var i in target) out[i] = target[i]\n for (var i in source) out[i] = source[i]\n\n return out\n }\n\n function setPartialState(path, value, source) {\n var target = {}\n if (path.length) {\n target[path[0]] =\n path.length > 1\n ? setPartialState(path.slice(1), value, source[path[0]])\n : value\n return clone(source, target)\n }\n return value\n }\n\n function getPartialState(path, source) {\n var i = 0\n while (i < path.length) {\n source = source[path[i++]]\n }\n return source\n }\n\n function wireStateToActions(path, state, actions) {\n for (var key in actions) {\n typeof actions[key] === \"function\"\n ? (function(key, action) {\n actions[key] = function(data) {\n var result = action(data)\n\n if (typeof result === \"function\") {\n result = result(getPartialState(path, globalState), actions)\n }\n\n if (\n result &&\n result !== (state = getPartialState(path, globalState)) &&\n !result.then // !isPromise\n ) {\n scheduleRender(\n (globalState = setPartialState(\n path,\n clone(state, result),\n globalState\n ))\n )\n }\n\n return result\n }\n })(key, actions[key])\n : wireStateToActions(\n path.concat(key),\n (state[key] = clone(state[key])),\n (actions[key] = clone(actions[key]))\n )\n }\n\n return actions\n }\n\n function getKey(node) {\n return node ? node.key : null\n }\n\n function eventListener(event) {\n return event.currentTarget.events[event.type](event)\n }\n\n function updateAttribute(element, name, value, oldValue, isSvg) {\n if (name === \"key\") {\n } else if (name === \"style\") {\n if (typeof value === \"string\") {\n element.style.cssText = value\n } else {\n if (typeof oldValue === \"string\") oldValue = element.style.cssText = \"\"\n for (var i in clone(oldValue, value)) {\n var style = value == null || value[i] == null ? \"\" : value[i]\n if (i[0] === \"-\") {\n element.style.setProperty(i, style)\n } else {\n element.style[i] = style\n }\n }\n }\n } else {\n if (name[0] === \"o\" && name[1] === \"n\") {\n name = name.slice(2)\n\n if (element.events) {\n if (!oldValue) oldValue = element.events[name]\n } else {\n element.events = {}\n }\n\n element.events[name] = value\n\n if (value) {\n if (!oldValue) {\n element.addEventListener(name, eventListener)\n }\n } else {\n element.removeEventListener(name, eventListener)\n }\n } else if (\n name in element &&\n name !== \"list\" &&\n name !== \"type\" &&\n name !== \"draggable\" &&\n name !== \"spellcheck\" &&\n name !== \"translate\" &&\n !isSvg\n ) {\n element[name] = value == null ? \"\" : value\n } else if (value != null && value !== false) {\n element.setAttribute(name, value)\n }\n\n if (value == null || value === false) {\n element.removeAttribute(name)\n }\n }\n }\n\n function createElement(node, isSvg) {\n var element =\n typeof node === \"string\" || typeof node === \"number\"\n ? document.createTextNode(node)\n : (isSvg = isSvg || node.nodeName === \"svg\")\n ? document.createElementNS(\n \"http://www.w3.org/2000/svg\",\n node.nodeName\n )\n : document.createElement(node.nodeName)\n\n var attributes = node.attributes\n if (attributes) {\n if (attributes.oncreate) {\n lifecycle.push(function() {\n attributes.oncreate(element)\n })\n }\n\n for (var i = 0; i < node.children.length; i++) {\n element.appendChild(\n createElement(\n (node.children[i] = resolveNode(node.children[i])),\n isSvg\n )\n )\n }\n\n for (var name in attributes) {\n updateAttribute(element, name, attributes[name], null, isSvg)\n }\n }\n\n return element\n }\n\n function updateElement(element, oldAttributes, attributes, isSvg) {\n for (var name in clone(oldAttributes, attributes)) {\n if (\n attributes[name] !==\n (name === \"value\" || name === \"checked\"\n ? element[name]\n : oldAttributes[name])\n ) {\n updateAttribute(\n element,\n name,\n attributes[name],\n oldAttributes[name],\n isSvg\n )\n }\n }\n\n var cb = isRecycling ? attributes.oncreate : attributes.onupdate\n if (cb) {\n lifecycle.push(function() {\n cb(element, oldAttributes)\n })\n }\n }\n\n function removeChildren(element, node) {\n var attributes = node.attributes\n if (attributes) {\n for (var i = 0; i < node.children.length; i++) {\n removeChildren(element.childNodes[i], node.children[i])\n }\n\n if (attributes.ondestroy) {\n attributes.ondestroy(element)\n }\n }\n return element\n }\n\n function removeElement(parent, element, node) {\n function done() {\n parent.removeChild(removeChildren(element, node))\n }\n\n var cb = node.attributes && node.attributes.onremove\n if (cb) {\n cb(element, done)\n } else {\n done()\n }\n }\n\n function patch(parent, element, oldNode, node, isSvg) {\n if (node === oldNode) {\n } else if (oldNode == null || oldNode.nodeName !== node.nodeName) {\n var newElement = createElement(node, isSvg)\n parent.insertBefore(newElement, element)\n\n if (oldNode != null) {\n removeElement(parent, element, oldNode)\n }\n\n element = newElement\n } else if (oldNode.nodeName == null) {\n element.nodeValue = node\n } else {\n updateElement(\n element,\n oldNode.attributes,\n node.attributes,\n (isSvg = isSvg || node.nodeName === \"svg\")\n )\n\n var oldKeyed = {}\n var newKeyed = {}\n var oldElements = []\n var oldChildren = oldNode.children\n var children = node.children\n\n for (var i = 0; i < oldChildren.length; i++) {\n oldElements[i] = element.childNodes[i]\n\n var oldKey = getKey(oldChildren[i])\n if (oldKey != null) {\n oldKeyed[oldKey] = [oldElements[i], oldChildren[i]]\n }\n }\n\n var i = 0\n var k = 0\n\n while (k < children.length) {\n var oldKey = getKey(oldChildren[i])\n var newKey = getKey((children[k] = resolveNode(children[k])))\n\n if (newKeyed[oldKey]) {\n i++\n continue\n }\n\n if (newKey != null && newKey === getKey(oldChildren[i + 1])) {\n if (oldKey == null) {\n removeElement(element, oldElements[i], oldChildren[i])\n }\n i++\n continue\n }\n\n if (newKey == null || isRecycling) {\n if (oldKey == null) {\n patch(element, oldElements[i], oldChildren[i], children[k], isSvg)\n k++\n }\n i++\n } else {\n var keyedNode = oldKeyed[newKey] || []\n\n if (oldKey === newKey) {\n patch(element, keyedNode[0], keyedNode[1], children[k], isSvg)\n i++\n } else if (keyedNode[0]) {\n patch(\n element,\n element.insertBefore(keyedNode[0], oldElements[i]),\n keyedNode[1],\n children[k],\n isSvg\n )\n } else {\n patch(element, oldElements[i], null, children[k], isSvg)\n }\n\n newKeyed[newKey] = children[k]\n k++\n }\n }\n\n while (i < oldChildren.length) {\n if (getKey(oldChildren[i]) == null) {\n removeElement(element, oldElements[i], oldChildren[i])\n }\n i++\n }\n\n for (var i in oldKeyed) {\n if (!newKeyed[i]) {\n removeElement(element, oldKeyed[i][0], oldKeyed[i][1])\n }\n }\n }\n return element\n }\n}\n","import { renderToString } from './index'\n\nexport { renderToString }\n\nexport function withRender(nextApp) {\n return (initialState, actionsTemplate, view, container) => {\n const actions = nextApp(\n initialState,\n { ...actionsTemplate, getState: () => (state) => state },\n view,\n container,\n )\n\n actions.toString = () => renderToString(view, actions.getState(), actions)\n\n return actions\n }\n}\n","const styleNameCache = new Map()\nconst uppercasePattern = /([A-Z])/g\nconst msPattern = /^ms-/\n\n// https://www.w3.org/TR/html/syntax.html#void-elements\nconst voidElements = new Set([\n 'area',\n 'base',\n 'br',\n 'col',\n 'embed',\n 'hr',\n 'img',\n 'input',\n 'link',\n 'meta',\n 'param',\n 'source',\n 'track',\n 'wbr',\n])\n\nconst ignoreAttributes = new Set([\n 'key',\n 'innerHTML',\n '__source', // https://babeljs.io/docs/plugins/transform-react-jsx-source/\n])\n\n// https://www.w3.org/International/questions/qa-escapes#use\nconst escapeRegExp = /[\"&'<>]/g\nconst escapeLookup = new Map([\n ['\"', '"'],\n ['&', '&'],\n [\"'\", '''], // shorter than \"'\" and \"'\" plus supports HTML4\n ['<', '<'],\n ['>', '>'],\n])\n\nfunction escaper(match) {\n return escapeLookup.get(match)\n}\n\nfunction escapeHtml(value) {\n if (typeof value === 'number') {\n // better performance for safe values\n return '' + value\n }\n\n return ('' + value).replace(escapeRegExp, escaper)\n}\n\n// \"backgroundColor\" => \"background-color\"\n// \"MozTransition\" => \"-moz-transition\"\n// \"msTransition\" => \"-ms-transition\"\nfunction hyphenateStyleName(styleName) {\n return (\n styleNameCache.get(styleName) ||\n styleNameCache\n .set(\n styleName,\n styleName\n .replace(uppercasePattern, '-$&')\n .toLowerCase()\n .replace(msPattern, '-ms-'),\n )\n .get(styleName)\n )\n}\n\nfunction stringifyStyles(styles) {\n let out = ''\n let delimiter = ''\n const styleNames = Object.keys(styles)\n\n for (let i = 0; i < styleNames.length; i++) {\n const styleName = styleNames[i]\n const styleValue = styles[styleName]\n\n if (styleValue != null) {\n if (styleName === 'cssText') {\n out += delimiter + styleValue\n } else {\n out += delimiter + hyphenateStyleName(styleName) + ':' + styleValue\n }\n\n delimiter = ';'\n }\n }\n\n return out || null\n}\n\n// https://www.w3.org/TR/html51/syntax.html#serializing-html-fragments\nfunction renderFragment({ nodeName, attributes, children }, stack) {\n let out = ''\n let footer = ''\n\n if (nodeName) {\n out += '<' + nodeName\n const keys = Object.keys(attributes)\n\n for (let i = 0; i < keys.length; i++) {\n const name = keys[i]\n let value = attributes[name]\n\n if (name === 'style' && value && typeof value === 'object') {\n value = stringifyStyles(value)\n }\n\n if (\n value != null &&\n value !== false &&\n typeof value !== 'function' &&\n !ignoreAttributes.has(name)\n ) {\n out += ' ' + name\n\n if (value !== true) {\n out += '=\"' + escapeHtml(value) + '\"'\n }\n }\n }\n\n if (voidElements.has(nodeName)) {\n out += '/>'\n } else {\n out += '>'\n footer = '' + nodeName + '>'\n }\n }\n\n const { innerHTML } = attributes\n\n if (innerHTML != null) {\n out += innerHTML\n }\n\n if (children.length > 0) {\n stack.push({\n childIndex: 0,\n children,\n footer,\n })\n } else {\n out += footer\n }\n\n return out\n}\n\nfunction resolveNode(node, state, actions) {\n if (typeof node === 'function') {\n return resolveNode(node(state, actions), state, actions)\n }\n\n return node\n}\n\nexport function renderer(view, state, actions) {\n const stack = [\n {\n childIndex: 0,\n children: [view],\n footer: '',\n },\n ]\n let end = false\n return (bytes) => {\n if (end) {\n return null\n }\n\n let out = ''\n\n while (out.length < bytes) {\n if (stack.length === 0) {\n end = true\n break\n }\n\n const frame = stack[stack.length - 1]\n\n if (frame.childIndex >= frame.children.length) {\n out += frame.footer\n stack.pop()\n } else {\n const node = resolveNode(frame.children[frame.childIndex++], state, actions)\n\n if (node != null && typeof node !== 'boolean') {\n if (node.pop) {\n // array\n stack.push({\n childIndex: 0,\n children: node,\n footer: '',\n })\n } else if (node.attributes) {\n // element\n out += renderFragment(node, stack)\n } else {\n // text node\n out += escapeHtml(node)\n }\n }\n }\n }\n\n return out\n }\n}\n\nexport function renderToString(view, state, actions) {\n return renderer(view, state, actions)(Infinity)\n}\n","/*! Copyright Twitter Inc. and other contributors. Licensed under MIT */\nvar twemoji=function(){\"use strict\";var twemoji={base:\"https://twemoji.maxcdn.com/2/\",ext:\".png\",size:\"72x72\",className:\"emoji\",convert:{fromCodePoint:fromCodePoint,toCodePoint:toCodePoint},onerror:function onerror(){if(this.parentNode){this.parentNode.replaceChild(createText(this.alt,false),this)}},parse:parse,replace:replace,test:test},escaper={\"&\":\"&\",\"<\":\"<\",\">\":\">\",\"'\":\"'\",'\"':\""\"},re=/(?:\\ud83d[\\udc68\\udc69])(?:\\ud83c[\\udffb-\\udfff])?\\u200d(?:\\u2695\\ufe0f|\\u2696\\ufe0f|\\u2708\\ufe0f|\\ud83c[\\udf3e\\udf73\\udf93\\udfa4\\udfa8\\udfeb\\udfed]|\\ud83d[\\udcbb\\udcbc\\udd27\\udd2c\\ude80\\ude92]|\\ud83e[\\uddb0-\\uddb3])|(?:\\ud83c[\\udfcb\\udfcc]|\\ud83d[\\udd74\\udd75]|\\u26f9)((?:\\ud83c[\\udffb-\\udfff]|\\ufe0f)\\u200d[\\u2640\\u2642]\\ufe0f)|(?:\\ud83c[\\udfc3\\udfc4\\udfca]|\\ud83d[\\udc6e\\udc71\\udc73\\udc77\\udc81\\udc82\\udc86\\udc87\\ude45-\\ude47\\ude4b\\ude4d\\ude4e\\udea3\\udeb4-\\udeb6]|\\ud83e[\\udd26\\udd35\\udd37-\\udd39\\udd3d\\udd3e\\uddb8\\uddb9\\uddd6-\\udddd])(?:\\ud83c[\\udffb-\\udfff])?\\u200d[\\u2640\\u2642]\\ufe0f|(?:\\ud83d\\udc68\\u200d\\u2764\\ufe0f\\u200d\\ud83d\\udc8b\\u200d\\ud83d\\udc68|\\ud83d\\udc68\\u200d\\ud83d\\udc68\\u200d\\ud83d\\udc66\\u200d\\ud83d\\udc66|\\ud83d\\udc68\\u200d\\ud83d\\udc68\\u200d\\ud83d\\udc67\\u200d\\ud83d[\\udc66\\udc67]|\\ud83d\\udc68\\u200d\\ud83d\\udc69\\u200d\\ud83d\\udc66\\u200d\\ud83d\\udc66|\\ud83d\\udc68\\u200d\\ud83d\\udc69\\u200d\\ud83d\\udc67\\u200d\\ud83d[\\udc66\\udc67]|\\ud83d\\udc69\\u200d\\u2764\\ufe0f\\u200d\\ud83d\\udc8b\\u200d\\ud83d[\\udc68\\udc69]|\\ud83d\\udc69\\u200d\\ud83d\\udc69\\u200d\\ud83d\\udc66\\u200d\\ud83d\\udc66|\\ud83d\\udc69\\u200d\\ud83d\\udc69\\u200d\\ud83d\\udc67\\u200d\\ud83d[\\udc66\\udc67]|\\ud83d\\udc68\\u200d\\u2764\\ufe0f\\u200d\\ud83d\\udc68|\\ud83d\\udc68\\u200d\\ud83d\\udc66\\u200d\\ud83d\\udc66|\\ud83d\\udc68\\u200d\\ud83d\\udc67\\u200d\\ud83d[\\udc66\\udc67]|\\ud83d\\udc68\\u200d\\ud83d\\udc68\\u200d\\ud83d[\\udc66\\udc67]|\\ud83d\\udc68\\u200d\\ud83d\\udc69\\u200d\\ud83d[\\udc66\\udc67]|\\ud83d\\udc69\\u200d\\u2764\\ufe0f\\u200d\\ud83d[\\udc68\\udc69]|\\ud83d\\udc69\\u200d\\ud83d\\udc66\\u200d\\ud83d\\udc66|\\ud83d\\udc69\\u200d\\ud83d\\udc67\\u200d\\ud83d[\\udc66\\udc67]|\\ud83d\\udc69\\u200d\\ud83d\\udc69\\u200d\\ud83d[\\udc66\\udc67]|\\ud83c\\udff3\\ufe0f\\u200d\\ud83c\\udf08|\\ud83c\\udff4\\u200d\\u2620\\ufe0f|\\ud83d\\udc41\\u200d\\ud83d\\udde8|\\ud83d\\udc68\\u200d\\ud83d[\\udc66\\udc67]|\\ud83d\\udc69\\u200d\\ud83d[\\udc66\\udc67]|\\ud83d\\udc6f\\u200d\\u2640\\ufe0f|\\ud83d\\udc6f\\u200d\\u2642\\ufe0f|\\ud83e\\udd3c\\u200d\\u2640\\ufe0f|\\ud83e\\udd3c\\u200d\\u2642\\ufe0f|\\ud83e\\uddde\\u200d\\u2640\\ufe0f|\\ud83e\\uddde\\u200d\\u2642\\ufe0f|\\ud83e\\udddf\\u200d\\u2640\\ufe0f|\\ud83e\\udddf\\u200d\\u2642\\ufe0f)|[\\u0023\\u002a\\u0030-\\u0039]\\ufe0f?\\u20e3|(?:[\\u00a9\\u00ae\\u2122\\u265f]\\ufe0f)|(?:\\ud83c[\\udc04\\udd70\\udd71\\udd7e\\udd7f\\ude02\\ude1a\\ude2f\\ude37\\udf21\\udf24-\\udf2c\\udf36\\udf7d\\udf96\\udf97\\udf99-\\udf9b\\udf9e\\udf9f\\udfcd\\udfce\\udfd4-\\udfdf\\udff3\\udff5\\udff7]|\\ud83d[\\udc3f\\udc41\\udcfd\\udd49\\udd4a\\udd6f\\udd70\\udd73\\udd76-\\udd79\\udd87\\udd8a-\\udd8d\\udda5\\udda8\\uddb1\\uddb2\\uddbc\\uddc2-\\uddc4\\uddd1-\\uddd3\\udddc-\\uddde\\udde1\\udde3\\udde8\\uddef\\uddf3\\uddfa\\udecb\\udecd-\\udecf\\udee0-\\udee5\\udee9\\udef0\\udef3]|[\\u203c\\u2049\\u2139\\u2194-\\u2199\\u21a9\\u21aa\\u231a\\u231b\\u2328\\u23cf\\u23ed-\\u23ef\\u23f1\\u23f2\\u23f8-\\u23fa\\u24c2\\u25aa\\u25ab\\u25b6\\u25c0\\u25fb-\\u25fe\\u2600-\\u2604\\u260e\\u2611\\u2614\\u2615\\u2618\\u2620\\u2622\\u2623\\u2626\\u262a\\u262e\\u262f\\u2638-\\u263a\\u2640\\u2642\\u2648-\\u2653\\u2660\\u2663\\u2665\\u2666\\u2668\\u267b\\u267f\\u2692-\\u2697\\u2699\\u269b\\u269c\\u26a0\\u26a1\\u26aa\\u26ab\\u26b0\\u26b1\\u26bd\\u26be\\u26c4\\u26c5\\u26c8\\u26cf\\u26d1\\u26d3\\u26d4\\u26e9\\u26ea\\u26f0-\\u26f5\\u26f8\\u26fa\\u26fd\\u2702\\u2708\\u2709\\u270f\\u2712\\u2714\\u2716\\u271d\\u2721\\u2733\\u2734\\u2744\\u2747\\u2757\\u2763\\u2764\\u27a1\\u2934\\u2935\\u2b05-\\u2b07\\u2b1b\\u2b1c\\u2b50\\u2b55\\u3030\\u303d\\u3297\\u3299])(?:\\ufe0f|(?!\\ufe0e))|(?:(?:\\ud83c[\\udfcb\\udfcc]|\\ud83d[\\udd74\\udd75\\udd90]|[\\u261d\\u26f7\\u26f9\\u270c\\u270d])(?:\\ufe0f|(?!\\ufe0e))|(?:\\ud83c[\\udf85\\udfc2-\\udfc4\\udfc7\\udfca]|\\ud83d[\\udc42\\udc43\\udc46-\\udc50\\udc66-\\udc69\\udc6e\\udc70-\\udc78\\udc7c\\udc81-\\udc83\\udc85-\\udc87\\udcaa\\udd7a\\udd95\\udd96\\ude45-\\ude47\\ude4b-\\ude4f\\udea3\\udeb4-\\udeb6\\udec0\\udecc]|\\ud83e[\\udd18-\\udd1c\\udd1e\\udd1f\\udd26\\udd30-\\udd39\\udd3d\\udd3e\\uddb5\\uddb6\\uddb8\\uddb9\\uddd1-\\udddd]|[\\u270a\\u270b]))(?:\\ud83c[\\udffb-\\udfff])?|(?:\\ud83c\\udff4\\udb40\\udc67\\udb40\\udc62\\udb40\\udc65\\udb40\\udc6e\\udb40\\udc67\\udb40\\udc7f|\\ud83c\\udff4\\udb40\\udc67\\udb40\\udc62\\udb40\\udc73\\udb40\\udc63\\udb40\\udc74\\udb40\\udc7f|\\ud83c\\udff4\\udb40\\udc67\\udb40\\udc62\\udb40\\udc77\\udb40\\udc6c\\udb40\\udc73\\udb40\\udc7f|\\ud83c\\udde6\\ud83c[\\udde8-\\uddec\\uddee\\uddf1\\uddf2\\uddf4\\uddf6-\\uddfa\\uddfc\\uddfd\\uddff]|\\ud83c\\udde7\\ud83c[\\udde6\\udde7\\udde9-\\uddef\\uddf1-\\uddf4\\uddf6-\\uddf9\\uddfb\\uddfc\\uddfe\\uddff]|\\ud83c\\udde8\\ud83c[\\udde6\\udde8\\udde9\\uddeb-\\uddee\\uddf0-\\uddf5\\uddf7\\uddfa-\\uddff]|\\ud83c\\udde9\\ud83c[\\uddea\\uddec\\uddef\\uddf0\\uddf2\\uddf4\\uddff]|\\ud83c\\uddea\\ud83c[\\udde6\\udde8\\uddea\\uddec\\udded\\uddf7-\\uddfa]|\\ud83c\\uddeb\\ud83c[\\uddee-\\uddf0\\uddf2\\uddf4\\uddf7]|\\ud83c\\uddec\\ud83c[\\udde6\\udde7\\udde9-\\uddee\\uddf1-\\uddf3\\uddf5-\\uddfa\\uddfc\\uddfe]|\\ud83c\\udded\\ud83c[\\uddf0\\uddf2\\uddf3\\uddf7\\uddf9\\uddfa]|\\ud83c\\uddee\\ud83c[\\udde8-\\uddea\\uddf1-\\uddf4\\uddf6-\\uddf9]|\\ud83c\\uddef\\ud83c[\\uddea\\uddf2\\uddf4\\uddf5]|\\ud83c\\uddf0\\ud83c[\\uddea\\uddec-\\uddee\\uddf2\\uddf3\\uddf5\\uddf7\\uddfc\\uddfe\\uddff]|\\ud83c\\uddf1\\ud83c[\\udde6-\\udde8\\uddee\\uddf0\\uddf7-\\uddfb\\uddfe]|\\ud83c\\uddf2\\ud83c[\\udde6\\udde8-\\udded\\uddf0-\\uddff]|\\ud83c\\uddf3\\ud83c[\\udde6\\udde8\\uddea-\\uddec\\uddee\\uddf1\\uddf4\\uddf5\\uddf7\\uddfa\\uddff]|\\ud83c\\uddf4\\ud83c\\uddf2|\\ud83c\\uddf5\\ud83c[\\udde6\\uddea-\\udded\\uddf0-\\uddf3\\uddf7-\\uddf9\\uddfc\\uddfe]|\\ud83c\\uddf6\\ud83c\\udde6|\\ud83c\\uddf7\\ud83c[\\uddea\\uddf4\\uddf8\\uddfa\\uddfc]|\\ud83c\\uddf8\\ud83c[\\udde6-\\uddea\\uddec-\\uddf4\\uddf7-\\uddf9\\uddfb\\uddfd-\\uddff]|\\ud83c\\uddf9\\ud83c[\\udde6\\udde8\\udde9\\uddeb-\\udded\\uddef-\\uddf4\\uddf7\\uddf9\\uddfb\\uddfc\\uddff]|\\ud83c\\uddfa\\ud83c[\\udde6\\uddec\\uddf2\\uddf3\\uddf8\\uddfe\\uddff]|\\ud83c\\uddfb\\ud83c[\\udde6\\udde8\\uddea\\uddec\\uddee\\uddf3\\uddfa]|\\ud83c\\uddfc\\ud83c[\\uddeb\\uddf8]|\\ud83c\\uddfd\\ud83c\\uddf0|\\ud83c\\uddfe\\ud83c[\\uddea\\uddf9]|\\ud83c\\uddff\\ud83c[\\udde6\\uddf2\\uddfc]|\\ud83c[\\udccf\\udd8e\\udd91-\\udd9a\\udde6-\\uddff\\ude01\\ude32-\\ude36\\ude38-\\ude3a\\ude50\\ude51\\udf00-\\udf20\\udf2d-\\udf35\\udf37-\\udf7c\\udf7e-\\udf84\\udf86-\\udf93\\udfa0-\\udfc1\\udfc5\\udfc6\\udfc8\\udfc9\\udfcf-\\udfd3\\udfe0-\\udff0\\udff4\\udff8-\\udfff]|\\ud83d[\\udc00-\\udc3e\\udc40\\udc44\\udc45\\udc51-\\udc65\\udc6a-\\udc6d\\udc6f\\udc79-\\udc7b\\udc7d-\\udc80\\udc84\\udc88-\\udca9\\udcab-\\udcfc\\udcff-\\udd3d\\udd4b-\\udd4e\\udd50-\\udd67\\udda4\\uddfb-\\ude44\\ude48-\\ude4a\\ude80-\\udea2\\udea4-\\udeb3\\udeb7-\\udebf\\udec1-\\udec5\\uded0-\\uded2\\udeeb\\udeec\\udef4-\\udef9]|\\ud83e[\\udd10-\\udd17\\udd1d\\udd20-\\udd25\\udd27-\\udd2f\\udd3a\\udd3c\\udd40-\\udd45\\udd47-\\udd70\\udd73-\\udd76\\udd7a\\udd7c-\\udda2\\uddb4\\uddb7\\uddc0-\\uddc2\\uddd0\\uddde-\\uddff]|[\\u23e9-\\u23ec\\u23f0\\u23f3\\u267e\\u26ce\\u2705\\u2728\\u274c\\u274e\\u2753-\\u2755\\u2795-\\u2797\\u27b0\\u27bf\\ue50a])|\\ufe0f/g,UFE0Fg=/\\uFE0F/g,U200D=String.fromCharCode(8205),rescaper=/[&<>'\"]/g,shouldntBeParsed=/^(?:iframe|noframes|noscript|script|select|style|textarea)$/,fromCharCode=String.fromCharCode;return twemoji;function createText(text,clean){return document.createTextNode(clean?text.replace(UFE0Fg,\"\"):text)}function escapeHTML(s){return s.replace(rescaper,replacer)}function defaultImageSrcGenerator(icon,options){return\"\".concat(options.base,options.size,\"/\",icon,options.ext)}function grabAllTextNodes(node,allText){var childNodes=node.childNodes,length=childNodes.length,subnode,nodeType;while(length--){subnode=childNodes[length];nodeType=subnode.nodeType;if(nodeType===3){allText.push(subnode)}else if(nodeType===1&&!(\"ownerSVGElement\"in subnode)&&!shouldntBeParsed.test(subnode.nodeName.toLowerCase())){grabAllTextNodes(subnode,allText)}}return allText}function grabTheRightIcon(rawText){return toCodePoint(rawText.indexOf(U200D)<0?rawText.replace(UFE0Fg,\"\"):rawText)}function parseNode(node,options){var allText=grabAllTextNodes(node,[]),length=allText.length,attrib,attrname,modified,fragment,subnode,text,match,i,index,img,rawText,iconId,src;while(length--){modified=false;fragment=document.createDocumentFragment();subnode=allText[length];text=subnode.nodeValue;i=0;while(match=re.exec(text)){index=match.index;if(index!==i){fragment.appendChild(createText(text.slice(i,index),true))}rawText=match[0];iconId=grabTheRightIcon(rawText);i=index+rawText.length;src=options.callback(iconId,options);if(iconId&&src){img=new Image;img.onerror=options.onerror;img.setAttribute(\"draggable\",\"false\");attrib=options.attributes(rawText,iconId);for(attrname in attrib){if(attrib.hasOwnProperty(attrname)&&attrname.indexOf(\"on\")!==0&&!img.hasAttribute(attrname)){img.setAttribute(attrname,attrib[attrname])}}img.className=options.className;img.alt=rawText;img.src=src;modified=true;fragment.appendChild(img)}if(!img)fragment.appendChild(createText(rawText,false));img=null}if(modified){if(i \")}return ret})}function replacer(m){return escaper[m]}function returnNull(){return null}function toSizeSquaredAsset(value){return typeof value===\"number\"?value+\"x\"+value:value}function fromCodePoint(codepoint){var code=typeof codepoint===\"string\"?parseInt(codepoint,16):codepoint;if(code<65536){return fromCharCode(code)}code-=65536;return fromCharCode(55296+(code>>10),56320+(code&1023))}function parse(what,how){if(!how||typeof how===\"function\"){how={callback:how}}return(typeof what===\"string\"?parseString:parseNode)(what,{callback:how.callback||defaultImageSrcGenerator,attributes:typeof how.attributes===\"function\"?how.attributes:returnNull,base:typeof how.base===\"string\"?how.base:twemoji.base,ext:how.ext||twemoji.ext,size:how.folder||toSizeSquaredAsset(how.size||twemoji.size),className:how.className||twemoji.className,onerror:how.onerror||twemoji.onerror})}function replace(text,callback){return String(text).replace(re,callback)}function test(text){re.lastIndex=0;var result=re.test(text);re.lastIndex=0;return result}function toCodePoint(unicodeSurrogates,sep){var r=[],c=0,p=0,i=0;while(i {\n const output = './docs/index.html'\n if (!isBrowser && typeof nodeRequire !== 'undefined') {\n try {\n const fs = nodeRequire('fs')\n const html = fs.readFileSync(output, 'utf8')\n fs.writeFileSync(output, html.replace(tag, tag + main))\n } catch (e) {}\n }\n}\n\nexport const snippet = name => `./website/snippets/${name}`\n\nexport const getEmojiSrc = char => {\n const result = twemoji.parse(char, {\n folder: 'svg',\n ext: '.svg'\n })\n return result.match(/src=\"(.+)\"/)[1]\n}\n\nexport const toKebabCase = str =>\n str &&\n str\n .match(/[A-Z]{2,}(?=[A-Z][a-z]+[0-9]*|\\b)|[A-Z]?[a-z]+[0-9]*|[A-Z]|[0-9]+/g)\n .map(x => x.toLowerCase())\n .join('-')\n","export default {\n ajax: {\n imageSrc: '',\n isLoading: false,\n error: false,\n canFetch: true\n },\n performance: {\n inputValue: 0,\n numberOfElements: 0\n }\n}\n","export default {\n ajax: {\n onShow: () => (state, actions) => {\n if (state.isFetching || !state.canFetch) return\n\n fetch('https://unsplash.it/200/?random')\n .then(response => response.blob())\n .then(actions.onDataReceived)\n .catch(actions.errored)\n\n return {\n error: false,\n isFetching: true,\n canFetch: false\n }\n },\n\n onDataReceived: blob => state => {\n if (state.imageSrc === '') {\n return { imageSrc: URL.createObjectURL(blob) }\n }\n },\n\n onHidden: () => ({\n error: false,\n imageSrc: '',\n isFetching: false,\n canFetch: true\n }),\n\n errored: () => ({ error: true, imageSrc: '' })\n },\n\n performance: {\n test: () => state => ({ numberOfElements: state.inputValue }),\n setInputValue: event => ({ inputValue: +event.target.value })\n }\n}\n",null,"import { h } from 'hyperapp'\nimport { getEmojiSrc } from '../utils'\n\nconst Sizes = {\n large: '75px',\n medium: '40px',\n small: '25px'\n}\n\nexport default ({ size, ...props }, [char]) => (\n \n \n \n)\n","import { version } from '../../package.json'\nimport { Defaults, setDefaults } from './defaults'\nimport { isBrowser } from './browser'\nimport createTippy from './createTippy'\nimport bindGlobalEventListeners from './bindGlobalEventListeners'\nimport {\n isPlainObject,\n polyfillVirtualReferenceProps,\n getArrayOfElements,\n toArray,\n hideAllPoppers,\n validateOptions\n} from './utils'\n\nlet eventListenersBound = false\n\nexport default function tippy(targets, options, one) {\n validateOptions(options, Defaults)\n\n if (!eventListenersBound) {\n bindGlobalEventListeners()\n eventListenersBound = true\n }\n\n const props = { ...Defaults, ...options }\n\n /**\n * If they are specifying a virtual positioning reference, we need to polyfill\n * some native DOM props\n */\n if (isPlainObject(targets)) {\n polyfillVirtualReferenceProps(targets)\n }\n\n const references = getArrayOfElements(targets)\n const firstReference = references[0]\n\n const instances = (one && firstReference\n ? [firstReference]\n : references\n ).reduce((acc, reference) => {\n const tip = reference && createTippy(reference, props)\n if (tip) {\n acc.push(tip)\n }\n return acc\n }, [])\n\n return {\n targets,\n props,\n instances,\n destroyAll() {\n this.instances.forEach(instance => {\n instance.destroy()\n })\n this.instances = []\n }\n }\n}\n\n/**\n * Static props\n */\ntippy.version = version\ntippy.defaults = Defaults\n\n/**\n * Static methods\n */\ntippy.one = (targets, options) => tippy(targets, options, true).instances[0]\ntippy.setDefaults = partialDefaults => {\n setDefaults(partialDefaults)\n tippy.defaults = Defaults\n}\ntippy.disableAnimations = () => {\n tippy.setDefaults({\n duration: 0,\n updateDuration: 0,\n animateFill: false\n })\n}\ntippy.hideAllPoppers = hideAllPoppers\n// noop: deprecated static method as capture phase is now default\ntippy.useCapture = () => {}\n\n/**\n * Auto-init tooltips for elements with a `data-tippy=\"...\"` attribute\n */\nexport const autoInit = () => {\n toArray(document.querySelectorAll('[data-tippy]')).forEach(el => {\n const content = el.getAttribute('data-tippy')\n if (content) {\n tippy(el, { content })\n }\n })\n}\nif (isBrowser) {\n setTimeout(autoInit)\n}\n","/**!\n * @fileOverview Kickass library to create and place poppers near their reference elements.\n * @version 1.14.6\n * @license\n * Copyright (c) 2016 Federico Zivolo and contributors\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\nvar isBrowser = typeof window !== 'undefined' && typeof document !== 'undefined';\n\nvar longerTimeoutBrowsers = ['Edge', 'Trident', 'Firefox'];\nvar timeoutDuration = 0;\nfor (var i = 0; i < longerTimeoutBrowsers.length; i += 1) {\n if (isBrowser && navigator.userAgent.indexOf(longerTimeoutBrowsers[i]) >= 0) {\n timeoutDuration = 1;\n break;\n }\n}\n\nfunction microtaskDebounce(fn) {\n var called = false;\n return function () {\n if (called) {\n return;\n }\n called = true;\n window.Promise.resolve().then(function () {\n called = false;\n fn();\n });\n };\n}\n\nfunction taskDebounce(fn) {\n var scheduled = false;\n return function () {\n if (!scheduled) {\n scheduled = true;\n setTimeout(function () {\n scheduled = false;\n fn();\n }, timeoutDuration);\n }\n };\n}\n\nvar supportsMicroTasks = isBrowser && window.Promise;\n\n/**\n* Create a debounced version of a method, that's asynchronously deferred\n* but called in the minimum time possible.\n*\n* @method\n* @memberof Popper.Utils\n* @argument {Function} fn\n* @returns {Function}\n*/\nvar debounce = supportsMicroTasks ? microtaskDebounce : taskDebounce;\n\n/**\n * Check if the given variable is a function\n * @method\n * @memberof Popper.Utils\n * @argument {Any} functionToCheck - variable to check\n * @returns {Boolean} answer to: is a function?\n */\nfunction isFunction(functionToCheck) {\n var getType = {};\n return functionToCheck && getType.toString.call(functionToCheck) === '[object Function]';\n}\n\n/**\n * Get CSS computed property of the given element\n * @method\n * @memberof Popper.Utils\n * @argument {Eement} element\n * @argument {String} property\n */\nfunction getStyleComputedProperty(element, property) {\n if (element.nodeType !== 1) {\n return [];\n }\n // NOTE: 1 DOM access here\n var window = element.ownerDocument.defaultView;\n var css = window.getComputedStyle(element, null);\n return property ? css[property] : css;\n}\n\n/**\n * Returns the parentNode or the host of the element\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element\n * @returns {Element} parent\n */\nfunction getParentNode(element) {\n if (element.nodeName === 'HTML') {\n return element;\n }\n return element.parentNode || element.host;\n}\n\n/**\n * Returns the scrolling parent of the given element\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element\n * @returns {Element} scroll parent\n */\nfunction getScrollParent(element) {\n // Return body, `getScroll` will take care to get the correct `scrollTop` from it\n if (!element) {\n return document.body;\n }\n\n switch (element.nodeName) {\n case 'HTML':\n case 'BODY':\n return element.ownerDocument.body;\n case '#document':\n return element.body;\n }\n\n // Firefox want us to check `-x` and `-y` variations as well\n\n var _getStyleComputedProp = getStyleComputedProperty(element),\n overflow = _getStyleComputedProp.overflow,\n overflowX = _getStyleComputedProp.overflowX,\n overflowY = _getStyleComputedProp.overflowY;\n\n if (/(auto|scroll|overlay)/.test(overflow + overflowY + overflowX)) {\n return element;\n }\n\n return getScrollParent(getParentNode(element));\n}\n\nvar isIE11 = isBrowser && !!(window.MSInputMethodContext && document.documentMode);\nvar isIE10 = isBrowser && /MSIE 10/.test(navigator.userAgent);\n\n/**\n * Determines if the browser is Internet Explorer\n * @method\n * @memberof Popper.Utils\n * @param {Number} version to check\n * @returns {Boolean} isIE\n */\nfunction isIE(version) {\n if (version === 11) {\n return isIE11;\n }\n if (version === 10) {\n return isIE10;\n }\n return isIE11 || isIE10;\n}\n\n/**\n * Returns the offset parent of the given element\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element\n * @returns {Element} offset parent\n */\nfunction getOffsetParent(element) {\n if (!element) {\n return document.documentElement;\n }\n\n var noOffsetParent = isIE(10) ? document.body : null;\n\n // NOTE: 1 DOM access here\n var offsetParent = element.offsetParent || null;\n // Skip hidden elements which don't have an offsetParent\n while (offsetParent === noOffsetParent && element.nextElementSibling) {\n offsetParent = (element = element.nextElementSibling).offsetParent;\n }\n\n var nodeName = offsetParent && offsetParent.nodeName;\n\n if (!nodeName || nodeName === 'BODY' || nodeName === 'HTML') {\n return element ? element.ownerDocument.documentElement : document.documentElement;\n }\n\n // .offsetParent will return the closest TH, TD or TABLE in case\n // no offsetParent is present, I hate this job...\n if (['TH', 'TD', 'TABLE'].indexOf(offsetParent.nodeName) !== -1 && getStyleComputedProperty(offsetParent, 'position') === 'static') {\n return getOffsetParent(offsetParent);\n }\n\n return offsetParent;\n}\n\nfunction isOffsetContainer(element) {\n var nodeName = element.nodeName;\n\n if (nodeName === 'BODY') {\n return false;\n }\n return nodeName === 'HTML' || getOffsetParent(element.firstElementChild) === element;\n}\n\n/**\n * Finds the root node (document, shadowDOM root) of the given element\n * @method\n * @memberof Popper.Utils\n * @argument {Element} node\n * @returns {Element} root node\n */\nfunction getRoot(node) {\n if (node.parentNode !== null) {\n return getRoot(node.parentNode);\n }\n\n return node;\n}\n\n/**\n * Finds the offset parent common to the two provided nodes\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element1\n * @argument {Element} element2\n * @returns {Element} common offset parent\n */\nfunction findCommonOffsetParent(element1, element2) {\n // This check is needed to avoid errors in case one of the elements isn't defined for any reason\n if (!element1 || !element1.nodeType || !element2 || !element2.nodeType) {\n return document.documentElement;\n }\n\n // Here we make sure to give as \"start\" the element that comes first in the DOM\n var order = element1.compareDocumentPosition(element2) & Node.DOCUMENT_POSITION_FOLLOWING;\n var start = order ? element1 : element2;\n var end = order ? element2 : element1;\n\n // Get common ancestor container\n var range = document.createRange();\n range.setStart(start, 0);\n range.setEnd(end, 0);\n var commonAncestorContainer = range.commonAncestorContainer;\n\n // Both nodes are inside #document\n\n if (element1 !== commonAncestorContainer && element2 !== commonAncestorContainer || start.contains(end)) {\n if (isOffsetContainer(commonAncestorContainer)) {\n return commonAncestorContainer;\n }\n\n return getOffsetParent(commonAncestorContainer);\n }\n\n // one of the nodes is inside shadowDOM, find which one\n var element1root = getRoot(element1);\n if (element1root.host) {\n return findCommonOffsetParent(element1root.host, element2);\n } else {\n return findCommonOffsetParent(element1, getRoot(element2).host);\n }\n}\n\n/**\n * Gets the scroll value of the given element in the given side (top and left)\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element\n * @argument {String} side `top` or `left`\n * @returns {number} amount of scrolled pixels\n */\nfunction getScroll(element) {\n var side = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'top';\n\n var upperSide = side === 'top' ? 'scrollTop' : 'scrollLeft';\n var nodeName = element.nodeName;\n\n if (nodeName === 'BODY' || nodeName === 'HTML') {\n var html = element.ownerDocument.documentElement;\n var scrollingElement = element.ownerDocument.scrollingElement || html;\n return scrollingElement[upperSide];\n }\n\n return element[upperSide];\n}\n\n/*\n * Sum or subtract the element scroll values (left and top) from a given rect object\n * @method\n * @memberof Popper.Utils\n * @param {Object} rect - Rect object you want to change\n * @param {HTMLElement} element - The element from the function reads the scroll values\n * @param {Boolean} subtract - set to true if you want to subtract the scroll values\n * @return {Object} rect - The modifier rect object\n */\nfunction includeScroll(rect, element) {\n var subtract = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n\n var scrollTop = getScroll(element, 'top');\n var scrollLeft = getScroll(element, 'left');\n var modifier = subtract ? -1 : 1;\n rect.top += scrollTop * modifier;\n rect.bottom += scrollTop * modifier;\n rect.left += scrollLeft * modifier;\n rect.right += scrollLeft * modifier;\n return rect;\n}\n\n/*\n * Helper to detect borders of a given element\n * @method\n * @memberof Popper.Utils\n * @param {CSSStyleDeclaration} styles\n * Result of `getStyleComputedProperty` on the given element\n * @param {String} axis - `x` or `y`\n * @return {number} borders - The borders size of the given axis\n */\n\nfunction getBordersSize(styles, axis) {\n var sideA = axis === 'x' ? 'Left' : 'Top';\n var sideB = sideA === 'Left' ? 'Right' : 'Bottom';\n\n return parseFloat(styles['border' + sideA + 'Width'], 10) + parseFloat(styles['border' + sideB + 'Width'], 10);\n}\n\nfunction getSize(axis, body, html, computedStyle) {\n return Math.max(body['offset' + axis], body['scroll' + axis], html['client' + axis], html['offset' + axis], html['scroll' + axis], isIE(10) ? parseInt(html['offset' + axis]) + parseInt(computedStyle['margin' + (axis === 'Height' ? 'Top' : 'Left')]) + parseInt(computedStyle['margin' + (axis === 'Height' ? 'Bottom' : 'Right')]) : 0);\n}\n\nfunction getWindowSizes(document) {\n var body = document.body;\n var html = document.documentElement;\n var computedStyle = isIE(10) && getComputedStyle(html);\n\n return {\n height: getSize('Height', body, html, computedStyle),\n width: getSize('Width', body, html, computedStyle)\n };\n}\n\nvar classCallCheck = function (instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n};\n\nvar createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n\n return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);\n if (staticProps) defineProperties(Constructor, staticProps);\n return Constructor;\n };\n}();\n\n\n\n\n\nvar defineProperty = function (obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n};\n\nvar _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n};\n\n/**\n * Given element offsets, generate an output similar to getBoundingClientRect\n * @method\n * @memberof Popper.Utils\n * @argument {Object} offsets\n * @returns {Object} ClientRect like output\n */\nfunction getClientRect(offsets) {\n return _extends({}, offsets, {\n right: offsets.left + offsets.width,\n bottom: offsets.top + offsets.height\n });\n}\n\n/**\n * Get bounding client rect of given element\n * @method\n * @memberof Popper.Utils\n * @param {HTMLElement} element\n * @return {Object} client rect\n */\nfunction getBoundingClientRect(element) {\n var rect = {};\n\n // IE10 10 FIX: Please, don't ask, the element isn't\n // considered in DOM in some circumstances...\n // This isn't reproducible in IE10 compatibility mode of IE11\n try {\n if (isIE(10)) {\n rect = element.getBoundingClientRect();\n var scrollTop = getScroll(element, 'top');\n var scrollLeft = getScroll(element, 'left');\n rect.top += scrollTop;\n rect.left += scrollLeft;\n rect.bottom += scrollTop;\n rect.right += scrollLeft;\n } else {\n rect = element.getBoundingClientRect();\n }\n } catch (e) {}\n\n var result = {\n left: rect.left,\n top: rect.top,\n width: rect.right - rect.left,\n height: rect.bottom - rect.top\n };\n\n // subtract scrollbar size from sizes\n var sizes = element.nodeName === 'HTML' ? getWindowSizes(element.ownerDocument) : {};\n var width = sizes.width || element.clientWidth || result.right - result.left;\n var height = sizes.height || element.clientHeight || result.bottom - result.top;\n\n var horizScrollbar = element.offsetWidth - width;\n var vertScrollbar = element.offsetHeight - height;\n\n // if an hypothetical scrollbar is detected, we must be sure it's not a `border`\n // we make this check conditional for performance reasons\n if (horizScrollbar || vertScrollbar) {\n var styles = getStyleComputedProperty(element);\n horizScrollbar -= getBordersSize(styles, 'x');\n vertScrollbar -= getBordersSize(styles, 'y');\n\n result.width -= horizScrollbar;\n result.height -= vertScrollbar;\n }\n\n return getClientRect(result);\n}\n\nfunction getOffsetRectRelativeToArbitraryNode(children, parent) {\n var fixedPosition = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n\n var isIE10 = isIE(10);\n var isHTML = parent.nodeName === 'HTML';\n var childrenRect = getBoundingClientRect(children);\n var parentRect = getBoundingClientRect(parent);\n var scrollParent = getScrollParent(children);\n\n var styles = getStyleComputedProperty(parent);\n var borderTopWidth = parseFloat(styles.borderTopWidth, 10);\n var borderLeftWidth = parseFloat(styles.borderLeftWidth, 10);\n\n // In cases where the parent is fixed, we must ignore negative scroll in offset calc\n if (fixedPosition && isHTML) {\n parentRect.top = Math.max(parentRect.top, 0);\n parentRect.left = Math.max(parentRect.left, 0);\n }\n var offsets = getClientRect({\n top: childrenRect.top - parentRect.top - borderTopWidth,\n left: childrenRect.left - parentRect.left - borderLeftWidth,\n width: childrenRect.width,\n height: childrenRect.height\n });\n offsets.marginTop = 0;\n offsets.marginLeft = 0;\n\n // Subtract margins of documentElement in case it's being used as parent\n // we do this only on HTML because it's the only element that behaves\n // differently when margins are applied to it. The margins are included in\n // the box of the documentElement, in the other cases not.\n if (!isIE10 && isHTML) {\n var marginTop = parseFloat(styles.marginTop, 10);\n var marginLeft = parseFloat(styles.marginLeft, 10);\n\n offsets.top -= borderTopWidth - marginTop;\n offsets.bottom -= borderTopWidth - marginTop;\n offsets.left -= borderLeftWidth - marginLeft;\n offsets.right -= borderLeftWidth - marginLeft;\n\n // Attach marginTop and marginLeft because in some circumstances we may need them\n offsets.marginTop = marginTop;\n offsets.marginLeft = marginLeft;\n }\n\n if (isIE10 && !fixedPosition ? parent.contains(scrollParent) : parent === scrollParent && scrollParent.nodeName !== 'BODY') {\n offsets = includeScroll(offsets, parent);\n }\n\n return offsets;\n}\n\nfunction getViewportOffsetRectRelativeToArtbitraryNode(element) {\n var excludeScroll = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n\n var html = element.ownerDocument.documentElement;\n var relativeOffset = getOffsetRectRelativeToArbitraryNode(element, html);\n var width = Math.max(html.clientWidth, window.innerWidth || 0);\n var height = Math.max(html.clientHeight, window.innerHeight || 0);\n\n var scrollTop = !excludeScroll ? getScroll(html) : 0;\n var scrollLeft = !excludeScroll ? getScroll(html, 'left') : 0;\n\n var offset = {\n top: scrollTop - relativeOffset.top + relativeOffset.marginTop,\n left: scrollLeft - relativeOffset.left + relativeOffset.marginLeft,\n width: width,\n height: height\n };\n\n return getClientRect(offset);\n}\n\n/**\n * Check if the given element is fixed or is inside a fixed parent\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element\n * @argument {Element} customContainer\n * @returns {Boolean} answer to \"isFixed?\"\n */\nfunction isFixed(element) {\n var nodeName = element.nodeName;\n if (nodeName === 'BODY' || nodeName === 'HTML') {\n return false;\n }\n if (getStyleComputedProperty(element, 'position') === 'fixed') {\n return true;\n }\n return isFixed(getParentNode(element));\n}\n\n/**\n * Finds the first parent of an element that has a transformed property defined\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element\n * @returns {Element} first transformed parent or documentElement\n */\n\nfunction getFixedPositionOffsetParent(element) {\n // This check is needed to avoid errors in case one of the elements isn't defined for any reason\n if (!element || !element.parentElement || isIE()) {\n return document.documentElement;\n }\n var el = element.parentElement;\n while (el && getStyleComputedProperty(el, 'transform') === 'none') {\n el = el.parentElement;\n }\n return el || document.documentElement;\n}\n\n/**\n * Computed the boundaries limits and return them\n * @method\n * @memberof Popper.Utils\n * @param {HTMLElement} popper\n * @param {HTMLElement} reference\n * @param {number} padding\n * @param {HTMLElement} boundariesElement - Element used to define the boundaries\n * @param {Boolean} fixedPosition - Is in fixed position mode\n * @returns {Object} Coordinates of the boundaries\n */\nfunction getBoundaries(popper, reference, padding, boundariesElement) {\n var fixedPosition = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false;\n\n // NOTE: 1 DOM access here\n\n var boundaries = { top: 0, left: 0 };\n var offsetParent = fixedPosition ? getFixedPositionOffsetParent(popper) : findCommonOffsetParent(popper, reference);\n\n // Handle viewport case\n if (boundariesElement === 'viewport') {\n boundaries = getViewportOffsetRectRelativeToArtbitraryNode(offsetParent, fixedPosition);\n } else {\n // Handle other cases based on DOM element used as boundaries\n var boundariesNode = void 0;\n if (boundariesElement === 'scrollParent') {\n boundariesNode = getScrollParent(getParentNode(reference));\n if (boundariesNode.nodeName === 'BODY') {\n boundariesNode = popper.ownerDocument.documentElement;\n }\n } else if (boundariesElement === 'window') {\n boundariesNode = popper.ownerDocument.documentElement;\n } else {\n boundariesNode = boundariesElement;\n }\n\n var offsets = getOffsetRectRelativeToArbitraryNode(boundariesNode, offsetParent, fixedPosition);\n\n // In case of HTML, we need a different computation\n if (boundariesNode.nodeName === 'HTML' && !isFixed(offsetParent)) {\n var _getWindowSizes = getWindowSizes(popper.ownerDocument),\n height = _getWindowSizes.height,\n width = _getWindowSizes.width;\n\n boundaries.top += offsets.top - offsets.marginTop;\n boundaries.bottom = height + offsets.top;\n boundaries.left += offsets.left - offsets.marginLeft;\n boundaries.right = width + offsets.left;\n } else {\n // for all the other DOM elements, this one is good\n boundaries = offsets;\n }\n }\n\n // Add paddings\n padding = padding || 0;\n var isPaddingNumber = typeof padding === 'number';\n boundaries.left += isPaddingNumber ? padding : padding.left || 0;\n boundaries.top += isPaddingNumber ? padding : padding.top || 0;\n boundaries.right -= isPaddingNumber ? padding : padding.right || 0;\n boundaries.bottom -= isPaddingNumber ? padding : padding.bottom || 0;\n\n return boundaries;\n}\n\nfunction getArea(_ref) {\n var width = _ref.width,\n height = _ref.height;\n\n return width * height;\n}\n\n/**\n * Utility used to transform the `auto` placement to the placement with more\n * available space.\n * @method\n * @memberof Popper.Utils\n * @argument {Object} data - The data object generated by update method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nfunction computeAutoPlacement(placement, refRect, popper, reference, boundariesElement) {\n var padding = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : 0;\n\n if (placement.indexOf('auto') === -1) {\n return placement;\n }\n\n var boundaries = getBoundaries(popper, reference, padding, boundariesElement);\n\n var rects = {\n top: {\n width: boundaries.width,\n height: refRect.top - boundaries.top\n },\n right: {\n width: boundaries.right - refRect.right,\n height: boundaries.height\n },\n bottom: {\n width: boundaries.width,\n height: boundaries.bottom - refRect.bottom\n },\n left: {\n width: refRect.left - boundaries.left,\n height: boundaries.height\n }\n };\n\n var sortedAreas = Object.keys(rects).map(function (key) {\n return _extends({\n key: key\n }, rects[key], {\n area: getArea(rects[key])\n });\n }).sort(function (a, b) {\n return b.area - a.area;\n });\n\n var filteredAreas = sortedAreas.filter(function (_ref2) {\n var width = _ref2.width,\n height = _ref2.height;\n return width >= popper.clientWidth && height >= popper.clientHeight;\n });\n\n var computedPlacement = filteredAreas.length > 0 ? filteredAreas[0].key : sortedAreas[0].key;\n\n var variation = placement.split('-')[1];\n\n return computedPlacement + (variation ? '-' + variation : '');\n}\n\n/**\n * Get offsets to the reference element\n * @method\n * @memberof Popper.Utils\n * @param {Object} state\n * @param {Element} popper - the popper element\n * @param {Element} reference - the reference element (the popper will be relative to this)\n * @param {Element} fixedPosition - is in fixed position mode\n * @returns {Object} An object containing the offsets which will be applied to the popper\n */\nfunction getReferenceOffsets(state, popper, reference) {\n var fixedPosition = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : null;\n\n var commonOffsetParent = fixedPosition ? getFixedPositionOffsetParent(popper) : findCommonOffsetParent(popper, reference);\n return getOffsetRectRelativeToArbitraryNode(reference, commonOffsetParent, fixedPosition);\n}\n\n/**\n * Get the outer sizes of the given element (offset size + margins)\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element\n * @returns {Object} object containing width and height properties\n */\nfunction getOuterSizes(element) {\n var window = element.ownerDocument.defaultView;\n var styles = window.getComputedStyle(element);\n var x = parseFloat(styles.marginTop || 0) + parseFloat(styles.marginBottom || 0);\n var y = parseFloat(styles.marginLeft || 0) + parseFloat(styles.marginRight || 0);\n var result = {\n width: element.offsetWidth + y,\n height: element.offsetHeight + x\n };\n return result;\n}\n\n/**\n * Get the opposite placement of the given one\n * @method\n * @memberof Popper.Utils\n * @argument {String} placement\n * @returns {String} flipped placement\n */\nfunction getOppositePlacement(placement) {\n var hash = { left: 'right', right: 'left', bottom: 'top', top: 'bottom' };\n return placement.replace(/left|right|bottom|top/g, function (matched) {\n return hash[matched];\n });\n}\n\n/**\n * Get offsets to the popper\n * @method\n * @memberof Popper.Utils\n * @param {Object} position - CSS position the Popper will get applied\n * @param {HTMLElement} popper - the popper element\n * @param {Object} referenceOffsets - the reference offsets (the popper will be relative to this)\n * @param {String} placement - one of the valid placement options\n * @returns {Object} popperOffsets - An object containing the offsets which will be applied to the popper\n */\nfunction getPopperOffsets(popper, referenceOffsets, placement) {\n placement = placement.split('-')[0];\n\n // Get popper node sizes\n var popperRect = getOuterSizes(popper);\n\n // Add position, width and height to our offsets object\n var popperOffsets = {\n width: popperRect.width,\n height: popperRect.height\n };\n\n // depending by the popper placement we have to compute its offsets slightly differently\n var isHoriz = ['right', 'left'].indexOf(placement) !== -1;\n var mainSide = isHoriz ? 'top' : 'left';\n var secondarySide = isHoriz ? 'left' : 'top';\n var measurement = isHoriz ? 'height' : 'width';\n var secondaryMeasurement = !isHoriz ? 'height' : 'width';\n\n popperOffsets[mainSide] = referenceOffsets[mainSide] + referenceOffsets[measurement] / 2 - popperRect[measurement] / 2;\n if (placement === secondarySide) {\n popperOffsets[secondarySide] = referenceOffsets[secondarySide] - popperRect[secondaryMeasurement];\n } else {\n popperOffsets[secondarySide] = referenceOffsets[getOppositePlacement(secondarySide)];\n }\n\n return popperOffsets;\n}\n\n/**\n * Mimics the `find` method of Array\n * @method\n * @memberof Popper.Utils\n * @argument {Array} arr\n * @argument prop\n * @argument value\n * @returns index or -1\n */\nfunction find(arr, check) {\n // use native find if supported\n if (Array.prototype.find) {\n return arr.find(check);\n }\n\n // use `filter` to obtain the same behavior of `find`\n return arr.filter(check)[0];\n}\n\n/**\n * Return the index of the matching object\n * @method\n * @memberof Popper.Utils\n * @argument {Array} arr\n * @argument prop\n * @argument value\n * @returns index or -1\n */\nfunction findIndex(arr, prop, value) {\n // use native findIndex if supported\n if (Array.prototype.findIndex) {\n return arr.findIndex(function (cur) {\n return cur[prop] === value;\n });\n }\n\n // use `find` + `indexOf` if `findIndex` isn't supported\n var match = find(arr, function (obj) {\n return obj[prop] === value;\n });\n return arr.indexOf(match);\n}\n\n/**\n * Loop trough the list of modifiers and run them in order,\n * each of them will then edit the data object.\n * @method\n * @memberof Popper.Utils\n * @param {dataObject} data\n * @param {Array} modifiers\n * @param {String} ends - Optional modifier name used as stopper\n * @returns {dataObject}\n */\nfunction runModifiers(modifiers, data, ends) {\n var modifiersToRun = ends === undefined ? modifiers : modifiers.slice(0, findIndex(modifiers, 'name', ends));\n\n modifiersToRun.forEach(function (modifier) {\n if (modifier['function']) {\n // eslint-disable-line dot-notation\n console.warn('`modifier.function` is deprecated, use `modifier.fn`!');\n }\n var fn = modifier['function'] || modifier.fn; // eslint-disable-line dot-notation\n if (modifier.enabled && isFunction(fn)) {\n // Add properties to offsets to make them a complete clientRect object\n // we do this before each modifier to make sure the previous one doesn't\n // mess with these values\n data.offsets.popper = getClientRect(data.offsets.popper);\n data.offsets.reference = getClientRect(data.offsets.reference);\n\n data = fn(data, modifier);\n }\n });\n\n return data;\n}\n\n/**\n * Updates the position of the popper, computing the new offsets and applying\n * the new style.
\n * Prefer `scheduleUpdate` over `update` because of performance reasons.\n * @method\n * @memberof Popper\n */\nfunction update() {\n // if popper is destroyed, don't perform any further update\n if (this.state.isDestroyed) {\n return;\n }\n\n var data = {\n instance: this,\n styles: {},\n arrowStyles: {},\n attributes: {},\n flipped: false,\n offsets: {}\n };\n\n // compute reference element offsets\n data.offsets.reference = getReferenceOffsets(this.state, this.popper, this.reference, this.options.positionFixed);\n\n // compute auto placement, store placement inside the data object,\n // modifiers will be able to edit `placement` if needed\n // and refer to originalPlacement to know the original value\n data.placement = computeAutoPlacement(this.options.placement, data.offsets.reference, this.popper, this.reference, this.options.modifiers.flip.boundariesElement, this.options.modifiers.flip.padding);\n\n // store the computed placement inside `originalPlacement`\n data.originalPlacement = data.placement;\n\n data.positionFixed = this.options.positionFixed;\n\n // compute the popper offsets\n data.offsets.popper = getPopperOffsets(this.popper, data.offsets.reference, data.placement);\n\n data.offsets.popper.position = this.options.positionFixed ? 'fixed' : 'absolute';\n\n // run the modifiers\n data = runModifiers(this.modifiers, data);\n\n // the first `update` will call `onCreate` callback\n // the other ones will call `onUpdate` callback\n if (!this.state.isCreated) {\n this.state.isCreated = true;\n this.options.onCreate(data);\n } else {\n this.options.onUpdate(data);\n }\n}\n\n/**\n * Helper used to know if the given modifier is enabled.\n * @method\n * @memberof Popper.Utils\n * @returns {Boolean}\n */\nfunction isModifierEnabled(modifiers, modifierName) {\n return modifiers.some(function (_ref) {\n var name = _ref.name,\n enabled = _ref.enabled;\n return enabled && name === modifierName;\n });\n}\n\n/**\n * Get the prefixed supported property name\n * @method\n * @memberof Popper.Utils\n * @argument {String} property (camelCase)\n * @returns {String} prefixed property (camelCase or PascalCase, depending on the vendor prefix)\n */\nfunction getSupportedPropertyName(property) {\n var prefixes = [false, 'ms', 'Webkit', 'Moz', 'O'];\n var upperProp = property.charAt(0).toUpperCase() + property.slice(1);\n\n for (var i = 0; i < prefixes.length; i++) {\n var prefix = prefixes[i];\n var toCheck = prefix ? '' + prefix + upperProp : property;\n if (typeof document.body.style[toCheck] !== 'undefined') {\n return toCheck;\n }\n }\n return null;\n}\n\n/**\n * Destroys the popper.\n * @method\n * @memberof Popper\n */\nfunction destroy() {\n this.state.isDestroyed = true;\n\n // touch DOM only if `applyStyle` modifier is enabled\n if (isModifierEnabled(this.modifiers, 'applyStyle')) {\n this.popper.removeAttribute('x-placement');\n this.popper.style.position = '';\n this.popper.style.top = '';\n this.popper.style.left = '';\n this.popper.style.right = '';\n this.popper.style.bottom = '';\n this.popper.style.willChange = '';\n this.popper.style[getSupportedPropertyName('transform')] = '';\n }\n\n this.disableEventListeners();\n\n // remove the popper if user explicity asked for the deletion on destroy\n // do not use `remove` because IE11 doesn't support it\n if (this.options.removeOnDestroy) {\n this.popper.parentNode.removeChild(this.popper);\n }\n return this;\n}\n\n/**\n * Get the window associated with the element\n * @argument {Element} element\n * @returns {Window}\n */\nfunction getWindow(element) {\n var ownerDocument = element.ownerDocument;\n return ownerDocument ? ownerDocument.defaultView : window;\n}\n\nfunction attachToScrollParents(scrollParent, event, callback, scrollParents) {\n var isBody = scrollParent.nodeName === 'BODY';\n var target = isBody ? scrollParent.ownerDocument.defaultView : scrollParent;\n target.addEventListener(event, callback, { passive: true });\n\n if (!isBody) {\n attachToScrollParents(getScrollParent(target.parentNode), event, callback, scrollParents);\n }\n scrollParents.push(target);\n}\n\n/**\n * Setup needed event listeners used to update the popper position\n * @method\n * @memberof Popper.Utils\n * @private\n */\nfunction setupEventListeners(reference, options, state, updateBound) {\n // Resize event listener on window\n state.updateBound = updateBound;\n getWindow(reference).addEventListener('resize', state.updateBound, { passive: true });\n\n // Scroll event listener on scroll parents\n var scrollElement = getScrollParent(reference);\n attachToScrollParents(scrollElement, 'scroll', state.updateBound, state.scrollParents);\n state.scrollElement = scrollElement;\n state.eventsEnabled = true;\n\n return state;\n}\n\n/**\n * It will add resize/scroll events and start recalculating\n * position of the popper element when they are triggered.\n * @method\n * @memberof Popper\n */\nfunction enableEventListeners() {\n if (!this.state.eventsEnabled) {\n this.state = setupEventListeners(this.reference, this.options, this.state, this.scheduleUpdate);\n }\n}\n\n/**\n * Remove event listeners used to update the popper position\n * @method\n * @memberof Popper.Utils\n * @private\n */\nfunction removeEventListeners(reference, state) {\n // Remove resize event listener on window\n getWindow(reference).removeEventListener('resize', state.updateBound);\n\n // Remove scroll event listener on scroll parents\n state.scrollParents.forEach(function (target) {\n target.removeEventListener('scroll', state.updateBound);\n });\n\n // Reset state\n state.updateBound = null;\n state.scrollParents = [];\n state.scrollElement = null;\n state.eventsEnabled = false;\n return state;\n}\n\n/**\n * It will remove resize/scroll events and won't recalculate popper position\n * when they are triggered. It also won't trigger `onUpdate` callback anymore,\n * unless you call `update` method manually.\n * @method\n * @memberof Popper\n */\nfunction disableEventListeners() {\n if (this.state.eventsEnabled) {\n cancelAnimationFrame(this.scheduleUpdate);\n this.state = removeEventListeners(this.reference, this.state);\n }\n}\n\n/**\n * Tells if a given input is a number\n * @method\n * @memberof Popper.Utils\n * @param {*} input to check\n * @return {Boolean}\n */\nfunction isNumeric(n) {\n return n !== '' && !isNaN(parseFloat(n)) && isFinite(n);\n}\n\n/**\n * Set the style to the given popper\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element - Element to apply the style to\n * @argument {Object} styles\n * Object with a list of properties and values which will be applied to the element\n */\nfunction setStyles(element, styles) {\n Object.keys(styles).forEach(function (prop) {\n var unit = '';\n // add unit if the value is numeric and is one of the following\n if (['width', 'height', 'top', 'right', 'bottom', 'left'].indexOf(prop) !== -1 && isNumeric(styles[prop])) {\n unit = 'px';\n }\n element.style[prop] = styles[prop] + unit;\n });\n}\n\n/**\n * Set the attributes to the given popper\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element - Element to apply the attributes to\n * @argument {Object} styles\n * Object with a list of properties and values which will be applied to the element\n */\nfunction setAttributes(element, attributes) {\n Object.keys(attributes).forEach(function (prop) {\n var value = attributes[prop];\n if (value !== false) {\n element.setAttribute(prop, attributes[prop]);\n } else {\n element.removeAttribute(prop);\n }\n });\n}\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by `update` method\n * @argument {Object} data.styles - List of style properties - values to apply to popper element\n * @argument {Object} data.attributes - List of attribute properties - values to apply to popper element\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The same data object\n */\nfunction applyStyle(data) {\n // any property present in `data.styles` will be applied to the popper,\n // in this way we can make the 3rd party modifiers add custom styles to it\n // Be aware, modifiers could override the properties defined in the previous\n // lines of this modifier!\n setStyles(data.instance.popper, data.styles);\n\n // any property present in `data.attributes` will be applied to the popper,\n // they will be set as HTML attributes of the element\n setAttributes(data.instance.popper, data.attributes);\n\n // if arrowElement is defined and arrowStyles has some properties\n if (data.arrowElement && Object.keys(data.arrowStyles).length) {\n setStyles(data.arrowElement, data.arrowStyles);\n }\n\n return data;\n}\n\n/**\n * Set the x-placement attribute before everything else because it could be used\n * to add margins to the popper margins needs to be calculated to get the\n * correct popper offsets.\n * @method\n * @memberof Popper.modifiers\n * @param {HTMLElement} reference - The reference element used to position the popper\n * @param {HTMLElement} popper - The HTML element used as popper\n * @param {Object} options - Popper.js options\n */\nfunction applyStyleOnLoad(reference, popper, options, modifierOptions, state) {\n // compute reference element offsets\n var referenceOffsets = getReferenceOffsets(state, popper, reference, options.positionFixed);\n\n // compute auto placement, store placement inside the data object,\n // modifiers will be able to edit `placement` if needed\n // and refer to originalPlacement to know the original value\n var placement = computeAutoPlacement(options.placement, referenceOffsets, popper, reference, options.modifiers.flip.boundariesElement, options.modifiers.flip.padding);\n\n popper.setAttribute('x-placement', placement);\n\n // Apply `position` to popper before anything else because\n // without the position applied we can't guarantee correct computations\n setStyles(popper, { position: options.positionFixed ? 'fixed' : 'absolute' });\n\n return options;\n}\n\n/**\n * @function\n * @memberof Popper.Utils\n * @argument {Object} data - The data object generated by `update` method\n * @argument {Boolean} shouldRound - If the offsets should be rounded at all\n * @returns {Object} The popper's position offsets rounded\n *\n * The tale of pixel-perfect positioning. It's still not 100% perfect, but as\n * good as it can be within reason.\n * Discussion here: https://github.com/FezVrasta/popper.js/pull/715\n *\n * Low DPI screens cause a popper to be blurry if not using full pixels (Safari\n * as well on High DPI screens).\n *\n * Firefox prefers no rounding for positioning and does not have blurriness on\n * high DPI screens.\n *\n * Only horizontal placement and left/right values need to be considered.\n */\nfunction getRoundedOffsets(data, shouldRound) {\n var _data$offsets = data.offsets,\n popper = _data$offsets.popper,\n reference = _data$offsets.reference;\n\n var round = Math.round;\n var floor = Math.floor;\n var noRound = function noRound(v) {\n return v;\n };\n\n var popperWidth = round(popper.width);\n var referenceWidth = round(reference.width);\n\n var isVertical = ['left', 'right'].indexOf(data.placement) !== -1;\n var isVariation = data.placement.indexOf('-') !== -1;\n var sameWidthParity = referenceWidth % 2 === popperWidth % 2;\n var bothOddWidth = referenceWidth % 2 === 1 && popperWidth % 2 === 1;\n\n var horizontalToInteger = !shouldRound ? noRound : isVertical || isVariation || sameWidthParity ? round : floor;\n var verticalToInteger = !shouldRound ? noRound : round;\n\n return {\n left: horizontalToInteger(bothOddWidth && !isVariation && shouldRound ? popper.left - 1 : popper.left),\n top: verticalToInteger(popper.top),\n bottom: verticalToInteger(popper.bottom),\n right: horizontalToInteger(popper.right)\n };\n}\n\nvar isFirefox = isBrowser && /Firefox/i.test(navigator.userAgent);\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by `update` method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nfunction computeStyle(data, options) {\n var x = options.x,\n y = options.y;\n var popper = data.offsets.popper;\n\n // Remove this legacy support in Popper.js v2\n\n var legacyGpuAccelerationOption = find(data.instance.modifiers, function (modifier) {\n return modifier.name === 'applyStyle';\n }).gpuAcceleration;\n if (legacyGpuAccelerationOption !== undefined) {\n console.warn('WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!');\n }\n var gpuAcceleration = legacyGpuAccelerationOption !== undefined ? legacyGpuAccelerationOption : options.gpuAcceleration;\n\n var offsetParent = getOffsetParent(data.instance.popper);\n var offsetParentRect = getBoundingClientRect(offsetParent);\n\n // Styles\n var styles = {\n position: popper.position\n };\n\n var offsets = getRoundedOffsets(data, window.devicePixelRatio < 2 || !isFirefox);\n\n var sideA = x === 'bottom' ? 'top' : 'bottom';\n var sideB = y === 'right' ? 'left' : 'right';\n\n // if gpuAcceleration is set to `true` and transform is supported,\n // we use `translate3d` to apply the position to the popper we\n // automatically use the supported prefixed version if needed\n var prefixedProperty = getSupportedPropertyName('transform');\n\n // now, let's make a step back and look at this code closely (wtf?)\n // If the content of the popper grows once it's been positioned, it\n // may happen that the popper gets misplaced because of the new content\n // overflowing its reference element\n // To avoid this problem, we provide two options (x and y), which allow\n // the consumer to define the offset origin.\n // If we position a popper on top of a reference element, we can set\n // `x` to `top` to make the popper grow towards its top instead of\n // its bottom.\n var left = void 0,\n top = void 0;\n if (sideA === 'bottom') {\n // when offsetParent is the positioning is relative to the bottom of the screen (excluding the scrollbar)\n // and not the bottom of the html element\n if (offsetParent.nodeName === 'HTML') {\n top = -offsetParent.clientHeight + offsets.bottom;\n } else {\n top = -offsetParentRect.height + offsets.bottom;\n }\n } else {\n top = offsets.top;\n }\n if (sideB === 'right') {\n if (offsetParent.nodeName === 'HTML') {\n left = -offsetParent.clientWidth + offsets.right;\n } else {\n left = -offsetParentRect.width + offsets.right;\n }\n } else {\n left = offsets.left;\n }\n if (gpuAcceleration && prefixedProperty) {\n styles[prefixedProperty] = 'translate3d(' + left + 'px, ' + top + 'px, 0)';\n styles[sideA] = 0;\n styles[sideB] = 0;\n styles.willChange = 'transform';\n } else {\n // othwerise, we use the standard `top`, `left`, `bottom` and `right` properties\n var invertTop = sideA === 'bottom' ? -1 : 1;\n var invertLeft = sideB === 'right' ? -1 : 1;\n styles[sideA] = top * invertTop;\n styles[sideB] = left * invertLeft;\n styles.willChange = sideA + ', ' + sideB;\n }\n\n // Attributes\n var attributes = {\n 'x-placement': data.placement\n };\n\n // Update `data` attributes, styles and arrowStyles\n data.attributes = _extends({}, attributes, data.attributes);\n data.styles = _extends({}, styles, data.styles);\n data.arrowStyles = _extends({}, data.offsets.arrow, data.arrowStyles);\n\n return data;\n}\n\n/**\n * Helper used to know if the given modifier depends from another one.
\n * It checks if the needed modifier is listed and enabled.\n * @method\n * @memberof Popper.Utils\n * @param {Array} modifiers - list of modifiers\n * @param {String} requestingName - name of requesting modifier\n * @param {String} requestedName - name of requested modifier\n * @returns {Boolean}\n */\nfunction isModifierRequired(modifiers, requestingName, requestedName) {\n var requesting = find(modifiers, function (_ref) {\n var name = _ref.name;\n return name === requestingName;\n });\n\n var isRequired = !!requesting && modifiers.some(function (modifier) {\n return modifier.name === requestedName && modifier.enabled && modifier.order < requesting.order;\n });\n\n if (!isRequired) {\n var _requesting = '`' + requestingName + '`';\n var requested = '`' + requestedName + '`';\n console.warn(requested + ' modifier is required by ' + _requesting + ' modifier in order to work, be sure to include it before ' + _requesting + '!');\n }\n return isRequired;\n}\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by update method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nfunction arrow(data, options) {\n var _data$offsets$arrow;\n\n // arrow depends on keepTogether in order to work\n if (!isModifierRequired(data.instance.modifiers, 'arrow', 'keepTogether')) {\n return data;\n }\n\n var arrowElement = options.element;\n\n // if arrowElement is a string, suppose it's a CSS selector\n if (typeof arrowElement === 'string') {\n arrowElement = data.instance.popper.querySelector(arrowElement);\n\n // if arrowElement is not found, don't run the modifier\n if (!arrowElement) {\n return data;\n }\n } else {\n // if the arrowElement isn't a query selector we must check that the\n // provided DOM node is child of its popper node\n if (!data.instance.popper.contains(arrowElement)) {\n console.warn('WARNING: `arrow.element` must be child of its popper element!');\n return data;\n }\n }\n\n var placement = data.placement.split('-')[0];\n var _data$offsets = data.offsets,\n popper = _data$offsets.popper,\n reference = _data$offsets.reference;\n\n var isVertical = ['left', 'right'].indexOf(placement) !== -1;\n\n var len = isVertical ? 'height' : 'width';\n var sideCapitalized = isVertical ? 'Top' : 'Left';\n var side = sideCapitalized.toLowerCase();\n var altSide = isVertical ? 'left' : 'top';\n var opSide = isVertical ? 'bottom' : 'right';\n var arrowElementSize = getOuterSizes(arrowElement)[len];\n\n //\n // extends keepTogether behavior making sure the popper and its\n // reference have enough pixels in conjunction\n //\n\n // top/left side\n if (reference[opSide] - arrowElementSize < popper[side]) {\n data.offsets.popper[side] -= popper[side] - (reference[opSide] - arrowElementSize);\n }\n // bottom/right side\n if (reference[side] + arrowElementSize > popper[opSide]) {\n data.offsets.popper[side] += reference[side] + arrowElementSize - popper[opSide];\n }\n data.offsets.popper = getClientRect(data.offsets.popper);\n\n // compute center of the popper\n var center = reference[side] + reference[len] / 2 - arrowElementSize / 2;\n\n // Compute the sideValue using the updated popper offsets\n // take popper margin in account because we don't have this info available\n var css = getStyleComputedProperty(data.instance.popper);\n var popperMarginSide = parseFloat(css['margin' + sideCapitalized], 10);\n var popperBorderSide = parseFloat(css['border' + sideCapitalized + 'Width'], 10);\n var sideValue = center - data.offsets.popper[side] - popperMarginSide - popperBorderSide;\n\n // prevent arrowElement from being placed not contiguously to its popper\n sideValue = Math.max(Math.min(popper[len] - arrowElementSize, sideValue), 0);\n\n data.arrowElement = arrowElement;\n data.offsets.arrow = (_data$offsets$arrow = {}, defineProperty(_data$offsets$arrow, side, Math.round(sideValue)), defineProperty(_data$offsets$arrow, altSide, ''), _data$offsets$arrow);\n\n return data;\n}\n\n/**\n * Get the opposite placement variation of the given one\n * @method\n * @memberof Popper.Utils\n * @argument {String} placement variation\n * @returns {String} flipped placement variation\n */\nfunction getOppositeVariation(variation) {\n if (variation === 'end') {\n return 'start';\n } else if (variation === 'start') {\n return 'end';\n }\n return variation;\n}\n\n/**\n * List of accepted placements to use as values of the `placement` option.
\n * Valid placements are:\n * - `auto`\n * - `top`\n * - `right`\n * - `bottom`\n * - `left`\n *\n * Each placement can have a variation from this list:\n * - `-start`\n * - `-end`\n *\n * Variations are interpreted easily if you think of them as the left to right\n * written languages. Horizontally (`top` and `bottom`), `start` is left and `end`\n * is right.
\n * Vertically (`left` and `right`), `start` is top and `end` is bottom.\n *\n * Some valid examples are:\n * - `top-end` (on top of reference, right aligned)\n * - `right-start` (on right of reference, top aligned)\n * - `bottom` (on bottom, centered)\n * - `auto-end` (on the side with more space available, alignment depends by placement)\n *\n * @static\n * @type {Array}\n * @enum {String}\n * @readonly\n * @method placements\n * @memberof Popper\n */\nvar 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'];\n\n// Get rid of `auto` `auto-start` and `auto-end`\nvar validPlacements = placements.slice(3);\n\n/**\n * Given an initial placement, returns all the subsequent placements\n * clockwise (or counter-clockwise).\n *\n * @method\n * @memberof Popper.Utils\n * @argument {String} placement - A valid placement (it accepts variations)\n * @argument {Boolean} counter - Set to true to walk the placements counterclockwise\n * @returns {Array} placements including their variations\n */\nfunction clockwise(placement) {\n var counter = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n\n var index = validPlacements.indexOf(placement);\n var arr = validPlacements.slice(index + 1).concat(validPlacements.slice(0, index));\n return counter ? arr.reverse() : arr;\n}\n\nvar BEHAVIORS = {\n FLIP: 'flip',\n CLOCKWISE: 'clockwise',\n COUNTERCLOCKWISE: 'counterclockwise'\n};\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by update method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nfunction flip(data, options) {\n // if `inner` modifier is enabled, we can't use the `flip` modifier\n if (isModifierEnabled(data.instance.modifiers, 'inner')) {\n return data;\n }\n\n if (data.flipped && data.placement === data.originalPlacement) {\n // seems like flip is trying to loop, probably there's not enough space on any of the flippable sides\n return data;\n }\n\n var boundaries = getBoundaries(data.instance.popper, data.instance.reference, options.padding, options.boundariesElement, data.positionFixed);\n\n var placement = data.placement.split('-')[0];\n var placementOpposite = getOppositePlacement(placement);\n var variation = data.placement.split('-')[1] || '';\n\n var flipOrder = [];\n\n switch (options.behavior) {\n case BEHAVIORS.FLIP:\n flipOrder = [placement, placementOpposite];\n break;\n case BEHAVIORS.CLOCKWISE:\n flipOrder = clockwise(placement);\n break;\n case BEHAVIORS.COUNTERCLOCKWISE:\n flipOrder = clockwise(placement, true);\n break;\n default:\n flipOrder = options.behavior;\n }\n\n flipOrder.forEach(function (step, index) {\n if (placement !== step || flipOrder.length === index + 1) {\n return data;\n }\n\n placement = data.placement.split('-')[0];\n placementOpposite = getOppositePlacement(placement);\n\n var popperOffsets = data.offsets.popper;\n var refOffsets = data.offsets.reference;\n\n // using floor because the reference offsets may contain decimals we are not going to consider here\n var floor = Math.floor;\n var overlapsRef = placement === 'left' && floor(popperOffsets.right) > floor(refOffsets.left) || placement === 'right' && floor(popperOffsets.left) < floor(refOffsets.right) || placement === 'top' && floor(popperOffsets.bottom) > floor(refOffsets.top) || placement === 'bottom' && floor(popperOffsets.top) < floor(refOffsets.bottom);\n\n var overflowsLeft = floor(popperOffsets.left) < floor(boundaries.left);\n var overflowsRight = floor(popperOffsets.right) > floor(boundaries.right);\n var overflowsTop = floor(popperOffsets.top) < floor(boundaries.top);\n var overflowsBottom = floor(popperOffsets.bottom) > floor(boundaries.bottom);\n\n var overflowsBoundaries = placement === 'left' && overflowsLeft || placement === 'right' && overflowsRight || placement === 'top' && overflowsTop || placement === 'bottom' && overflowsBottom;\n\n // flip the variation if required\n var isVertical = ['top', 'bottom'].indexOf(placement) !== -1;\n var flippedVariation = !!options.flipVariations && (isVertical && variation === 'start' && overflowsLeft || isVertical && variation === 'end' && overflowsRight || !isVertical && variation === 'start' && overflowsTop || !isVertical && variation === 'end' && overflowsBottom);\n\n if (overlapsRef || overflowsBoundaries || flippedVariation) {\n // this boolean to detect any flip loop\n data.flipped = true;\n\n if (overlapsRef || overflowsBoundaries) {\n placement = flipOrder[index + 1];\n }\n\n if (flippedVariation) {\n variation = getOppositeVariation(variation);\n }\n\n data.placement = placement + (variation ? '-' + variation : '');\n\n // this object contains `position`, we want to preserve it along with\n // any additional property we may add in the future\n data.offsets.popper = _extends({}, data.offsets.popper, getPopperOffsets(data.instance.popper, data.offsets.reference, data.placement));\n\n data = runModifiers(data.instance.modifiers, data, 'flip');\n }\n });\n return data;\n}\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by update method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nfunction keepTogether(data) {\n var _data$offsets = data.offsets,\n popper = _data$offsets.popper,\n reference = _data$offsets.reference;\n\n var placement = data.placement.split('-')[0];\n var floor = Math.floor;\n var isVertical = ['top', 'bottom'].indexOf(placement) !== -1;\n var side = isVertical ? 'right' : 'bottom';\n var opSide = isVertical ? 'left' : 'top';\n var measurement = isVertical ? 'width' : 'height';\n\n if (popper[side] < floor(reference[opSide])) {\n data.offsets.popper[opSide] = floor(reference[opSide]) - popper[measurement];\n }\n if (popper[opSide] > floor(reference[side])) {\n data.offsets.popper[opSide] = floor(reference[side]);\n }\n\n return data;\n}\n\n/**\n * Converts a string containing value + unit into a px value number\n * @function\n * @memberof {modifiers~offset}\n * @private\n * @argument {String} str - Value + unit string\n * @argument {String} measurement - `height` or `width`\n * @argument {Object} popperOffsets\n * @argument {Object} referenceOffsets\n * @returns {Number|String}\n * Value in pixels, or original string if no values were extracted\n */\nfunction toValue(str, measurement, popperOffsets, referenceOffsets) {\n // separate value from unit\n var split = str.match(/((?:\\-|\\+)?\\d*\\.?\\d*)(.*)/);\n var value = +split[1];\n var unit = split[2];\n\n // If it's not a number it's an operator, I guess\n if (!value) {\n return str;\n }\n\n if (unit.indexOf('%') === 0) {\n var element = void 0;\n switch (unit) {\n case '%p':\n element = popperOffsets;\n break;\n case '%':\n case '%r':\n default:\n element = referenceOffsets;\n }\n\n var rect = getClientRect(element);\n return rect[measurement] / 100 * value;\n } else if (unit === 'vh' || unit === 'vw') {\n // if is a vh or vw, we calculate the size based on the viewport\n var size = void 0;\n if (unit === 'vh') {\n size = Math.max(document.documentElement.clientHeight, window.innerHeight || 0);\n } else {\n size = Math.max(document.documentElement.clientWidth, window.innerWidth || 0);\n }\n return size / 100 * value;\n } else {\n // if is an explicit pixel unit, we get rid of the unit and keep the value\n // if is an implicit unit, it's px, and we return just the value\n return value;\n }\n}\n\n/**\n * Parse an `offset` string to extrapolate `x` and `y` numeric offsets.\n * @function\n * @memberof {modifiers~offset}\n * @private\n * @argument {String} offset\n * @argument {Object} popperOffsets\n * @argument {Object} referenceOffsets\n * @argument {String} basePlacement\n * @returns {Array} a two cells array with x and y offsets in numbers\n */\nfunction parseOffset(offset, popperOffsets, referenceOffsets, basePlacement) {\n var offsets = [0, 0];\n\n // Use height if placement is left or right and index is 0 otherwise use width\n // in this way the first offset will use an axis and the second one\n // will use the other one\n var useHeight = ['right', 'left'].indexOf(basePlacement) !== -1;\n\n // Split the offset string to obtain a list of values and operands\n // The regex addresses values with the plus or minus sign in front (+10, -20, etc)\n var fragments = offset.split(/(\\+|\\-)/).map(function (frag) {\n return frag.trim();\n });\n\n // Detect if the offset string contains a pair of values or a single one\n // they could be separated by comma or space\n var divider = fragments.indexOf(find(fragments, function (frag) {\n return frag.search(/,|\\s/) !== -1;\n }));\n\n if (fragments[divider] && fragments[divider].indexOf(',') === -1) {\n console.warn('Offsets separated by white space(s) are deprecated, use a comma (,) instead.');\n }\n\n // If divider is found, we divide the list of values and operands to divide\n // them by ofset X and Y.\n var splitRegex = /\\s*,\\s*|\\s+/;\n var ops = divider !== -1 ? [fragments.slice(0, divider).concat([fragments[divider].split(splitRegex)[0]]), [fragments[divider].split(splitRegex)[1]].concat(fragments.slice(divider + 1))] : [fragments];\n\n // Convert the values with units to absolute pixels to allow our computations\n ops = ops.map(function (op, index) {\n // Most of the units rely on the orientation of the popper\n var measurement = (index === 1 ? !useHeight : useHeight) ? 'height' : 'width';\n var mergeWithPrevious = false;\n return op\n // This aggregates any `+` or `-` sign that aren't considered operators\n // e.g.: 10 + +5 => [10, +, +5]\n .reduce(function (a, b) {\n if (a[a.length - 1] === '' && ['+', '-'].indexOf(b) !== -1) {\n a[a.length - 1] = b;\n mergeWithPrevious = true;\n return a;\n } else if (mergeWithPrevious) {\n a[a.length - 1] += b;\n mergeWithPrevious = false;\n return a;\n } else {\n return a.concat(b);\n }\n }, [])\n // Here we convert the string values into number values (in px)\n .map(function (str) {\n return toValue(str, measurement, popperOffsets, referenceOffsets);\n });\n });\n\n // Loop trough the offsets arrays and execute the operations\n ops.forEach(function (op, index) {\n op.forEach(function (frag, index2) {\n if (isNumeric(frag)) {\n offsets[index] += frag * (op[index2 - 1] === '-' ? -1 : 1);\n }\n });\n });\n return offsets;\n}\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by update method\n * @argument {Object} options - Modifiers configuration and options\n * @argument {Number|String} options.offset=0\n * The offset value as described in the modifier description\n * @returns {Object} The data object, properly modified\n */\nfunction offset(data, _ref) {\n var offset = _ref.offset;\n var placement = data.placement,\n _data$offsets = data.offsets,\n popper = _data$offsets.popper,\n reference = _data$offsets.reference;\n\n var basePlacement = placement.split('-')[0];\n\n var offsets = void 0;\n if (isNumeric(+offset)) {\n offsets = [+offset, 0];\n } else {\n offsets = parseOffset(offset, popper, reference, basePlacement);\n }\n\n if (basePlacement === 'left') {\n popper.top += offsets[0];\n popper.left -= offsets[1];\n } else if (basePlacement === 'right') {\n popper.top += offsets[0];\n popper.left += offsets[1];\n } else if (basePlacement === 'top') {\n popper.left += offsets[0];\n popper.top -= offsets[1];\n } else if (basePlacement === 'bottom') {\n popper.left += offsets[0];\n popper.top += offsets[1];\n }\n\n data.popper = popper;\n return data;\n}\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by `update` method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nfunction preventOverflow(data, options) {\n var boundariesElement = options.boundariesElement || getOffsetParent(data.instance.popper);\n\n // If offsetParent is the reference element, we really want to\n // go one step up and use the next offsetParent as reference to\n // avoid to make this modifier completely useless and look like broken\n if (data.instance.reference === boundariesElement) {\n boundariesElement = getOffsetParent(boundariesElement);\n }\n\n // NOTE: DOM access here\n // resets the popper's position so that the document size can be calculated excluding\n // the size of the popper element itself\n var transformProp = getSupportedPropertyName('transform');\n var popperStyles = data.instance.popper.style; // assignment to help minification\n var top = popperStyles.top,\n left = popperStyles.left,\n transform = popperStyles[transformProp];\n\n popperStyles.top = '';\n popperStyles.left = '';\n popperStyles[transformProp] = '';\n\n var boundaries = getBoundaries(data.instance.popper, data.instance.reference, options.padding, boundariesElement, data.positionFixed);\n\n // NOTE: DOM access here\n // restores the original style properties after the offsets have been computed\n popperStyles.top = top;\n popperStyles.left = left;\n popperStyles[transformProp] = transform;\n\n options.boundaries = boundaries;\n\n var order = options.priority;\n var popper = data.offsets.popper;\n\n var check = {\n primary: function primary(placement) {\n var value = popper[placement];\n if (popper[placement] < boundaries[placement] && !options.escapeWithReference) {\n value = Math.max(popper[placement], boundaries[placement]);\n }\n return defineProperty({}, placement, value);\n },\n secondary: function secondary(placement) {\n var mainSide = placement === 'right' ? 'left' : 'top';\n var value = popper[mainSide];\n if (popper[placement] > boundaries[placement] && !options.escapeWithReference) {\n value = Math.min(popper[mainSide], boundaries[placement] - (placement === 'right' ? popper.width : popper.height));\n }\n return defineProperty({}, mainSide, value);\n }\n };\n\n order.forEach(function (placement) {\n var side = ['left', 'top'].indexOf(placement) !== -1 ? 'primary' : 'secondary';\n popper = _extends({}, popper, check[side](placement));\n });\n\n data.offsets.popper = popper;\n\n return data;\n}\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by `update` method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nfunction shift(data) {\n var placement = data.placement;\n var basePlacement = placement.split('-')[0];\n var shiftvariation = placement.split('-')[1];\n\n // if shift shiftvariation is specified, run the modifier\n if (shiftvariation) {\n var _data$offsets = data.offsets,\n reference = _data$offsets.reference,\n popper = _data$offsets.popper;\n\n var isVertical = ['bottom', 'top'].indexOf(basePlacement) !== -1;\n var side = isVertical ? 'left' : 'top';\n var measurement = isVertical ? 'width' : 'height';\n\n var shiftOffsets = {\n start: defineProperty({}, side, reference[side]),\n end: defineProperty({}, side, reference[side] + reference[measurement] - popper[measurement])\n };\n\n data.offsets.popper = _extends({}, popper, shiftOffsets[shiftvariation]);\n }\n\n return data;\n}\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by update method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nfunction hide(data) {\n if (!isModifierRequired(data.instance.modifiers, 'hide', 'preventOverflow')) {\n return data;\n }\n\n var refRect = data.offsets.reference;\n var bound = find(data.instance.modifiers, function (modifier) {\n return modifier.name === 'preventOverflow';\n }).boundaries;\n\n if (refRect.bottom < bound.top || refRect.left > bound.right || refRect.top > bound.bottom || refRect.right < bound.left) {\n // Avoid unnecessary DOM access if visibility hasn't changed\n if (data.hide === true) {\n return data;\n }\n\n data.hide = true;\n data.attributes['x-out-of-boundaries'] = '';\n } else {\n // Avoid unnecessary DOM access if visibility hasn't changed\n if (data.hide === false) {\n return data;\n }\n\n data.hide = false;\n data.attributes['x-out-of-boundaries'] = false;\n }\n\n return data;\n}\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by `update` method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nfunction inner(data) {\n var placement = data.placement;\n var basePlacement = placement.split('-')[0];\n var _data$offsets = data.offsets,\n popper = _data$offsets.popper,\n reference = _data$offsets.reference;\n\n var isHoriz = ['left', 'right'].indexOf(basePlacement) !== -1;\n\n var subtractLength = ['top', 'left'].indexOf(basePlacement) === -1;\n\n popper[isHoriz ? 'left' : 'top'] = reference[basePlacement] - (subtractLength ? popper[isHoriz ? 'width' : 'height'] : 0);\n\n data.placement = getOppositePlacement(placement);\n data.offsets.popper = getClientRect(popper);\n\n return data;\n}\n\n/**\n * Modifier function, each modifier can have a function of this type assigned\n * to its `fn` property.
\n * These functions will be called on each update, this means that you must\n * make sure they are performant enough to avoid performance bottlenecks.\n *\n * @function ModifierFn\n * @argument {dataObject} data - The data object generated by `update` method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {dataObject} The data object, properly modified\n */\n\n/**\n * Modifiers are plugins used to alter the behavior of your poppers.
\n * Popper.js uses a set of 9 modifiers to provide all the basic functionalities\n * needed by the library.\n *\n * Usually you don't want to override the `order`, `fn` and `onLoad` props.\n * All the other properties are configurations that could be tweaked.\n * @namespace modifiers\n */\nvar modifiers = {\n /**\n * Modifier used to shift the popper on the start or end of its reference\n * element.
\n * It will read the variation of the `placement` property.
\n * It can be one either `-end` or `-start`.\n * @memberof modifiers\n * @inner\n */\n shift: {\n /** @prop {number} order=100 - Index used to define the order of execution */\n order: 100,\n /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n enabled: true,\n /** @prop {ModifierFn} */\n fn: shift\n },\n\n /**\n * The `offset` modifier can shift your popper on both its axis.\n *\n * It accepts the following units:\n * - `px` or unit-less, interpreted as pixels\n * - `%` or `%r`, percentage relative to the length of the reference element\n * - `%p`, percentage relative to the length of the popper element\n * - `vw`, CSS viewport width unit\n * - `vh`, CSS viewport height unit\n *\n * For length is intended the main axis relative to the placement of the popper.
\n * This means that if the placement is `top` or `bottom`, the length will be the\n * `width`. In case of `left` or `right`, it will be the `height`.\n *\n * You can provide a single value (as `Number` or `String`), or a pair of values\n * as `String` divided by a comma or one (or more) white spaces.
\n * The latter is a deprecated method because it leads to confusion and will be\n * removed in v2.
\n * Additionally, it accepts additions and subtractions between different units.\n * Note that multiplications and divisions aren't supported.\n *\n * Valid examples are:\n * ```\n * 10\n * '10%'\n * '10, 10'\n * '10%, 10'\n * '10 + 10%'\n * '10 - 5vh + 3%'\n * '-10px + 5vh, 5px - 6%'\n * ```\n * > **NB**: If you desire to apply offsets to your poppers in a way that may make them overlap\n * > with their reference element, unfortunately, you will have to disable the `flip` modifier.\n * > You can read more on this at this [issue](https://github.com/FezVrasta/popper.js/issues/373).\n *\n * @memberof modifiers\n * @inner\n */\n offset: {\n /** @prop {number} order=200 - Index used to define the order of execution */\n order: 200,\n /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n enabled: true,\n /** @prop {ModifierFn} */\n fn: offset,\n /** @prop {Number|String} offset=0\n * The offset value as described in the modifier description\n */\n offset: 0\n },\n\n /**\n * Modifier used to prevent the popper from being positioned outside the boundary.\n *\n * A scenario exists where the reference itself is not within the boundaries.
\n * We can say it has \"escaped the boundaries\" โ or just \"escaped\".
\n * In this case we need to decide whether the popper should either:\n *\n * - detach from the reference and remain \"trapped\" in the boundaries, or\n * - if it should ignore the boundary and \"escape with its reference\"\n *\n * When `escapeWithReference` is set to`true` and reference is completely\n * outside its boundaries, the popper will overflow (or completely leave)\n * the boundaries in order to remain attached to the edge of the reference.\n *\n * @memberof modifiers\n * @inner\n */\n preventOverflow: {\n /** @prop {number} order=300 - Index used to define the order of execution */\n order: 300,\n /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n enabled: true,\n /** @prop {ModifierFn} */\n fn: preventOverflow,\n /**\n * @prop {Array} [priority=['left','right','top','bottom']]\n * Popper will try to prevent overflow following these priorities by default,\n * then, it could overflow on the left and on top of the `boundariesElement`\n */\n priority: ['left', 'right', 'top', 'bottom'],\n /**\n * @prop {number} padding=5\n * Amount of pixel used to define a minimum distance between the boundaries\n * and the popper. This makes sure the popper always has a little padding\n * between the edges of its container\n */\n padding: 5,\n /**\n * @prop {String|HTMLElement} boundariesElement='scrollParent'\n * Boundaries used by the modifier. Can be `scrollParent`, `window`,\n * `viewport` or any DOM element.\n */\n boundariesElement: 'scrollParent'\n },\n\n /**\n * Modifier used to make sure the reference and its popper stay near each other\n * without leaving any gap between the two. Especially useful when the arrow is\n * enabled and you want to ensure that it points to its reference element.\n * It cares only about the first axis. You can still have poppers with margin\n * between the popper and its reference element.\n * @memberof modifiers\n * @inner\n */\n keepTogether: {\n /** @prop {number} order=400 - Index used to define the order of execution */\n order: 400,\n /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n enabled: true,\n /** @prop {ModifierFn} */\n fn: keepTogether\n },\n\n /**\n * This modifier is used to move the `arrowElement` of the popper to make\n * sure it is positioned between the reference element and its popper element.\n * It will read the outer size of the `arrowElement` node to detect how many\n * pixels of conjunction are needed.\n *\n * It has no effect if no `arrowElement` is provided.\n * @memberof modifiers\n * @inner\n */\n arrow: {\n /** @prop {number} order=500 - Index used to define the order of execution */\n order: 500,\n /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n enabled: true,\n /** @prop {ModifierFn} */\n fn: arrow,\n /** @prop {String|HTMLElement} element='[x-arrow]' - Selector or node used as arrow */\n element: '[x-arrow]'\n },\n\n /**\n * Modifier used to flip the popper's placement when it starts to overlap its\n * reference element.\n *\n * Requires the `preventOverflow` modifier before it in order to work.\n *\n * **NOTE:** this modifier will interrupt the current update cycle and will\n * restart it if it detects the need to flip the placement.\n * @memberof modifiers\n * @inner\n */\n flip: {\n /** @prop {number} order=600 - Index used to define the order of execution */\n order: 600,\n /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n enabled: true,\n /** @prop {ModifierFn} */\n fn: flip,\n /**\n * @prop {String|Array} behavior='flip'\n * The behavior used to change the popper's placement. It can be one of\n * `flip`, `clockwise`, `counterclockwise` or an array with a list of valid\n * placements (with optional variations)\n */\n behavior: 'flip',\n /**\n * @prop {number} padding=5\n * The popper will flip if it hits the edges of the `boundariesElement`\n */\n padding: 5,\n /**\n * @prop {String|HTMLElement} boundariesElement='viewport'\n * The element which will define the boundaries of the popper position.\n * The popper will never be placed outside of the defined boundaries\n * (except if `keepTogether` is enabled)\n */\n boundariesElement: 'viewport'\n },\n\n /**\n * Modifier used to make the popper flow toward the inner of the reference element.\n * By default, when this modifier is disabled, the popper will be placed outside\n * the reference element.\n * @memberof modifiers\n * @inner\n */\n inner: {\n /** @prop {number} order=700 - Index used to define the order of execution */\n order: 700,\n /** @prop {Boolean} enabled=false - Whether the modifier is enabled or not */\n enabled: false,\n /** @prop {ModifierFn} */\n fn: inner\n },\n\n /**\n * Modifier used to hide the popper when its reference element is outside of the\n * popper boundaries. It will set a `x-out-of-boundaries` attribute which can\n * be used to hide with a CSS selector the popper when its reference is\n * out of boundaries.\n *\n * Requires the `preventOverflow` modifier before it in order to work.\n * @memberof modifiers\n * @inner\n */\n hide: {\n /** @prop {number} order=800 - Index used to define the order of execution */\n order: 800,\n /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n enabled: true,\n /** @prop {ModifierFn} */\n fn: hide\n },\n\n /**\n * Computes the style that will be applied to the popper element to gets\n * properly positioned.\n *\n * Note that this modifier will not touch the DOM, it just prepares the styles\n * so that `applyStyle` modifier can apply it. This separation is useful\n * in case you need to replace `applyStyle` with a custom implementation.\n *\n * This modifier has `850` as `order` value to maintain backward compatibility\n * with previous versions of Popper.js. Expect the modifiers ordering method\n * to change in future major versions of the library.\n *\n * @memberof modifiers\n * @inner\n */\n computeStyle: {\n /** @prop {number} order=850 - Index used to define the order of execution */\n order: 850,\n /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n enabled: true,\n /** @prop {ModifierFn} */\n fn: computeStyle,\n /**\n * @prop {Boolean} gpuAcceleration=true\n * If true, it uses the CSS 3D transformation to position the popper.\n * Otherwise, it will use the `top` and `left` properties\n */\n gpuAcceleration: true,\n /**\n * @prop {string} [x='bottom']\n * Where to anchor the X axis (`bottom` or `top`). AKA X offset origin.\n * Change this if your popper should grow in a direction different from `bottom`\n */\n x: 'bottom',\n /**\n * @prop {string} [x='left']\n * Where to anchor the Y axis (`left` or `right`). AKA Y offset origin.\n * Change this if your popper should grow in a direction different from `right`\n */\n y: 'right'\n },\n\n /**\n * Applies the computed styles to the popper element.\n *\n * All the DOM manipulations are limited to this modifier. This is useful in case\n * you want to integrate Popper.js inside a framework or view library and you\n * want to delegate all the DOM manipulations to it.\n *\n * Note that if you disable this modifier, you must make sure the popper element\n * has its position set to `absolute` before Popper.js can do its work!\n *\n * Just disable this modifier and define your own to achieve the desired effect.\n *\n * @memberof modifiers\n * @inner\n */\n applyStyle: {\n /** @prop {number} order=900 - Index used to define the order of execution */\n order: 900,\n /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n enabled: true,\n /** @prop {ModifierFn} */\n fn: applyStyle,\n /** @prop {Function} */\n onLoad: applyStyleOnLoad,\n /**\n * @deprecated since version 1.10.0, the property moved to `computeStyle` modifier\n * @prop {Boolean} gpuAcceleration=true\n * If true, it uses the CSS 3D transformation to position the popper.\n * Otherwise, it will use the `top` and `left` properties\n */\n gpuAcceleration: undefined\n }\n};\n\n/**\n * The `dataObject` is an object containing all the information used by Popper.js.\n * This object is passed to modifiers and to the `onCreate` and `onUpdate` callbacks.\n * @name dataObject\n * @property {Object} data.instance The Popper.js instance\n * @property {String} data.placement Placement applied to popper\n * @property {String} data.originalPlacement Placement originally defined on init\n * @property {Boolean} data.flipped True if popper has been flipped by flip modifier\n * @property {Boolean} data.hide True if the reference element is out of boundaries, useful to know when to hide the popper\n * @property {HTMLElement} data.arrowElement Node used as arrow by arrow modifier\n * @property {Object} data.styles Any CSS property defined here will be applied to the popper. It expects the JavaScript nomenclature (eg. `marginBottom`)\n * @property {Object} data.arrowStyles Any CSS property defined here will be applied to the popper arrow. It expects the JavaScript nomenclature (eg. `marginBottom`)\n * @property {Object} data.boundaries Offsets of the popper boundaries\n * @property {Object} data.offsets The measurements of popper, reference and arrow elements\n * @property {Object} data.offsets.popper `top`, `left`, `width`, `height` values\n * @property {Object} data.offsets.reference `top`, `left`, `width`, `height` values\n * @property {Object} data.offsets.arrow] `top` and `left` offsets, only one of them will be different from 0\n */\n\n/**\n * Default options provided to Popper.js constructor.
\n * These can be overridden using the `options` argument of Popper.js.
\n * To override an option, simply pass an object with the same\n * structure of the `options` object, as the 3rd argument. For example:\n * ```\n * new Popper(ref, pop, {\n * modifiers: {\n * preventOverflow: { enabled: false }\n * }\n * })\n * ```\n * @type {Object}\n * @static\n * @memberof Popper\n */\nvar Defaults = {\n /**\n * Popper's placement.\n * @prop {Popper.placements} placement='bottom'\n */\n placement: 'bottom',\n\n /**\n * Set this to true if you want popper to position it self in 'fixed' mode\n * @prop {Boolean} positionFixed=false\n */\n positionFixed: false,\n\n /**\n * Whether events (resize, scroll) are initially enabled.\n * @prop {Boolean} eventsEnabled=true\n */\n eventsEnabled: true,\n\n /**\n * Set to true if you want to automatically remove the popper when\n * you call the `destroy` method.\n * @prop {Boolean} removeOnDestroy=false\n */\n removeOnDestroy: false,\n\n /**\n * Callback called when the popper is created.
\n * By default, it is set to no-op.
\n * Access Popper.js instance with `data.instance`.\n * @prop {onCreate}\n */\n onCreate: function onCreate() {},\n\n /**\n * Callback called when the popper is updated. This callback is not called\n * on the initialization/creation of the popper, but only on subsequent\n * updates.
\n * By default, it is set to no-op.
\n * Access Popper.js instance with `data.instance`.\n * @prop {onUpdate}\n */\n onUpdate: function onUpdate() {},\n\n /**\n * List of modifiers used to modify the offsets before they are applied to the popper.\n * They provide most of the functionalities of Popper.js.\n * @prop {modifiers}\n */\n modifiers: modifiers\n};\n\n/**\n * @callback onCreate\n * @param {dataObject} data\n */\n\n/**\n * @callback onUpdate\n * @param {dataObject} data\n */\n\n// Utils\n// Methods\nvar Popper = function () {\n /**\n * Creates a new Popper.js instance.\n * @class Popper\n * @param {HTMLElement|referenceObject} reference - The reference element used to position the popper\n * @param {HTMLElement} popper - The HTML element used as the popper\n * @param {Object} options - Your custom options to override the ones defined in [Defaults](#defaults)\n * @return {Object} instance - The generated Popper.js instance\n */\n function Popper(reference, popper) {\n var _this = this;\n\n var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n classCallCheck(this, Popper);\n\n this.scheduleUpdate = function () {\n return requestAnimationFrame(_this.update);\n };\n\n // make update() debounced, so that it only runs at most once-per-tick\n this.update = debounce(this.update.bind(this));\n\n // with {} we create a new object with the options inside it\n this.options = _extends({}, Popper.Defaults, options);\n\n // init state\n this.state = {\n isDestroyed: false,\n isCreated: false,\n scrollParents: []\n };\n\n // get reference and popper elements (allow jQuery wrappers)\n this.reference = reference && reference.jquery ? reference[0] : reference;\n this.popper = popper && popper.jquery ? popper[0] : popper;\n\n // Deep merge modifiers options\n this.options.modifiers = {};\n Object.keys(_extends({}, Popper.Defaults.modifiers, options.modifiers)).forEach(function (name) {\n _this.options.modifiers[name] = _extends({}, Popper.Defaults.modifiers[name] || {}, options.modifiers ? options.modifiers[name] : {});\n });\n\n // Refactoring modifiers' list (Object => Array)\n this.modifiers = Object.keys(this.options.modifiers).map(function (name) {\n return _extends({\n name: name\n }, _this.options.modifiers[name]);\n })\n // sort the modifiers by order\n .sort(function (a, b) {\n return a.order - b.order;\n });\n\n // modifiers have the ability to execute arbitrary code when Popper.js get inited\n // such code is executed in the same order of its modifier\n // they could add new properties to their options configuration\n // BE AWARE: don't add options to `options.modifiers.name` but to `modifierOptions`!\n this.modifiers.forEach(function (modifierOptions) {\n if (modifierOptions.enabled && isFunction(modifierOptions.onLoad)) {\n modifierOptions.onLoad(_this.reference, _this.popper, _this.options, modifierOptions, _this.state);\n }\n });\n\n // fire the first update to position the popper in the right place\n this.update();\n\n var eventsEnabled = this.options.eventsEnabled;\n if (eventsEnabled) {\n // setup event listeners, they will take care of update the position in specific situations\n this.enableEventListeners();\n }\n\n this.state.eventsEnabled = eventsEnabled;\n }\n\n // We can't use class properties because they don't get listed in the\n // class prototype and break stuff like Sinon stubs\n\n\n createClass(Popper, [{\n key: 'update',\n value: function update$$1() {\n return update.call(this);\n }\n }, {\n key: 'destroy',\n value: function destroy$$1() {\n return destroy.call(this);\n }\n }, {\n key: 'enableEventListeners',\n value: function enableEventListeners$$1() {\n return enableEventListeners.call(this);\n }\n }, {\n key: 'disableEventListeners',\n value: function disableEventListeners$$1() {\n return disableEventListeners.call(this);\n }\n\n /**\n * Schedules an update. It will run on the next UI update available.\n * @method scheduleUpdate\n * @memberof Popper\n */\n\n\n /**\n * Collection of utilities useful when writing custom modifiers.\n * Starting from version 1.7, this method is available only if you\n * include `popper-utils.js` before `popper.js`.\n *\n * **DEPRECATION**: This way to access PopperUtils is deprecated\n * and will be removed in v2! Use the PopperUtils module directly instead.\n * Due to the high instability of the methods contained in Utils, we can't\n * guarantee them to follow semver. Use them at your own risk!\n * @static\n * @private\n * @type {Object}\n * @deprecated since version 1.8\n * @member Utils\n * @memberof Popper\n */\n\n }]);\n return Popper;\n}();\n\n/**\n * The `referenceObject` is an object that provides an interface compatible with Popper.js\n * and lets you use it as replacement of a real DOM node.
\n * You can use this method to position a popper relatively to a set of coordinates\n * in case you don't have a DOM node to use as reference.\n *\n * ```\n * new Popper(referenceObject, popperNode);\n * ```\n *\n * NB: This feature isn't supported in Internet Explorer 10.\n * @name referenceObject\n * @property {Function} data.getBoundingClientRect\n * A function that returns a set of coordinates compatible with the native `getBoundingClientRect` method.\n * @property {number} data.clientWidth\n * An ES6 getter that will return the width of the virtual reference element.\n * @property {number} data.clientHeight\n * An ES6 getter that will return the height of the virtual reference element.\n */\n\n\nPopper.Utils = (typeof window !== 'undefined' ? window : global).PopperUtils;\nPopper.placements = placements;\nPopper.Defaults = Defaults;\n\nexport default Popper;\n//# sourceMappingURL=popper.js.map\n","export let Defaults = {\n a11y: true,\n allowHTML: true,\n animateFill: true,\n animation: 'shift-away',\n appendTo: () => document.body,\n arrow: false,\n arrowTransform: '',\n arrowType: 'sharp',\n content: '',\n delay: [0, 20],\n distance: 10,\n duration: [325, 275],\n flip: true,\n flipBehavior: 'flip',\n followCursor: false,\n hideOnClick: true,\n inertia: false,\n interactive: false,\n interactiveBorder: 2,\n interactiveDebounce: 0,\n lazy: true,\n livePlacement: true,\n maxWidth: '',\n multiple: false,\n offset: 0,\n onHidden() {},\n onHide() {},\n onMount() {},\n onShow() {},\n onShown() {},\n performance: false,\n placement: 'top',\n popperOptions: {},\n shouldPopperHideOnBlur: () => true,\n showOnInit: false,\n size: 'regular',\n sticky: false,\n target: '',\n theme: 'dark',\n touch: true,\n touchHold: false,\n trigger: 'mouseenter focus',\n updateDuration: 200,\n wait: null,\n zIndex: 9999\n}\n\nexport const setDefaults = partialDefaults => {\n Defaults = { ...Defaults, ...partialDefaults }\n}\n\n/**\n * If the set() method encounters one of these, the popperInstance must be\n * recreated\n */\nexport const POPPER_INSTANCE_RELATED_PROPS = [\n 'arrowType',\n 'distance',\n 'flip',\n 'flipBehavior',\n 'offset',\n 'placement',\n 'popperOptions'\n]\n","export const isBrowser = typeof window !== 'undefined'\n\nconst nav = isBrowser ? navigator : {}\nconst win = isBrowser ? window : {}\n\nexport const isBrowserSupported = 'MutationObserver' in win\nexport const isIE = /MSIE |Trident\\//.test(nav.userAgent)\nexport const isIOS = /iPhone|iPad|iPod/.test(nav.platform) && !win.MSStream\nexport const supportsTouch = 'ontouchstart' in win\n","export const Selectors = {\n POPPER: '.tippy-popper',\n TOOLTIP: '.tippy-tooltip',\n CONTENT: '.tippy-content',\n BACKDROP: '.tippy-backdrop',\n ARROW: '.tippy-arrow',\n ROUND_ARROW: '.tippy-roundarrow'\n}\n","import { Selectors } from './selectors'\nimport { Defaults } from './defaults'\nimport { isBrowser, isBrowserSupported } from './browser'\n\n/**\n * Firefox extensions doesn't allow 'innerHTML' to be set but we can trick it\n * + aid for minifiers not to remove the trick\n */\nconst FF_EXTENSION_TRICK = { x: true }\n\n/**\n * Injects a string of CSS styles to the style node in the document head\n */\nexport const injectCSS = css => {\n if (isBrowserSupported) {\n const style = document.createElement('style')\n style.type = 'text/css'\n style.textContent = css\n document.head.insertBefore(style, document.head.firstChild)\n }\n}\n\n/**\n * Ponyfill for Array.from; converts iterable values to an array\n */\nexport const toArray = value => [].slice.call(value)\n\n/**\n * Sets the content of a tooltip\n */\nexport const setContent = (contentEl, props) => {\n if (props.content instanceof Element) {\n setInnerHTML(contentEl, '')\n contentEl.appendChild(props.content)\n } else {\n contentEl[props.allowHTML ? 'innerHTML' : 'textContent'] = props.content\n }\n}\n\n/**\n * Determines if an element can receive focus\n */\nexport const elementCanReceiveFocus = el =>\n el instanceof Element\n ? matches.call(\n el,\n 'a[href],area[href],button,details,input,textarea,select,iframe,[tabindex]'\n ) && !el.hasAttribute('disabled')\n : true\n\n/**\n * Applies a transition duration to a list of elements\n */\nexport const applyTransitionDuration = (els, value) => {\n els.filter(Boolean).forEach(el => {\n el.style.transitionDuration = `${value}ms`\n })\n}\n\n/**\n * Returns the child elements of a popper element\n */\nexport const getChildren = popper => {\n const select = s => popper.querySelector(s)\n return {\n tooltip: select(Selectors.TOOLTIP),\n backdrop: select(Selectors.BACKDROP),\n content: select(Selectors.CONTENT),\n arrow: select(Selectors.ARROW) || select(Selectors.ROUND_ARROW)\n }\n}\n\n/**\n * Determines if a value is a plain object\n */\nexport const isPlainObject = value =>\n ({}.toString.call(value) === '[object Object]')\n\n/**\n * Creates and returns a div element\n */\nexport const div = () => document.createElement('div')\n\n/**\n * Sets the innerHTML of an element while tricking linters & minifiers\n */\nexport const setInnerHTML = (el, html) => {\n el[FF_EXTENSION_TRICK.x && 'innerHTML'] =\n html instanceof Element ? html[FF_EXTENSION_TRICK.x && 'innerHTML'] : html\n}\n\n/**\n * Returns an array of elements based on the value\n */\nexport const getArrayOfElements = value => {\n if (value instanceof Element || isPlainObject(value)) {\n return [value]\n }\n if (value instanceof NodeList) {\n return toArray(value)\n }\n if (Array.isArray(value)) {\n return value\n }\n\n try {\n return toArray(document.querySelectorAll(value))\n } catch (e) {\n return []\n }\n}\n\n/**\n * Determines if a value is numeric\n */\nexport const isNumeric = value => !isNaN(value) && !isNaN(parseFloat(value))\n\n/**\n * Returns a value at a given index depending on if it's an array or number\n */\nexport const getValue = (value, index, defaultValue) => {\n if (Array.isArray(value)) {\n const v = value[index]\n return v == null ? defaultValue : v\n }\n return value\n}\n\n/**\n * Creates an arrow element and returns it\n */\nexport const createArrowElement = arrowType => {\n const arrow = div()\n if (arrowType === 'round') {\n arrow.className = 'tippy-roundarrow'\n setInnerHTML(\n arrow,\n ''\n )\n } else {\n arrow.className = 'tippy-arrow'\n }\n return arrow\n}\n\n/**\n * Creates a backdrop element and returns it\n */\nexport const createBackdropElement = () => {\n const backdrop = div()\n backdrop.className = 'tippy-backdrop'\n backdrop.setAttribute('data-state', 'hidden')\n return backdrop\n}\n\n/**\n * Adds interactive attributes\n */\nexport const addInteractive = (popper, tooltip) => {\n popper.setAttribute('tabindex', '-1')\n tooltip.setAttribute('data-interactive', '')\n}\n\n/**\n * Removes interactive attributes\n */\nexport const removeInteractive = (popper, tooltip) => {\n popper.removeAttribute('tabindex')\n tooltip.removeAttribute('data-interactive')\n}\n\n/**\n * Adds inertia attribute\n */\nexport const addInertia = tooltip => {\n tooltip.setAttribute('data-inertia', '')\n}\n\n/**\n * Removes inertia attribute\n */\nexport const removeInertia = tooltip => {\n tooltip.removeAttribute('data-inertia')\n}\n\n/**\n * Constructs the popper element and returns it\n */\nexport const createPopperElement = (id, props) => {\n const popper = div()\n popper.className = 'tippy-popper'\n popper.setAttribute('role', 'tooltip')\n popper.id = `tippy-${id}`\n popper.style.zIndex = props.zIndex\n\n const tooltip = div()\n tooltip.className = 'tippy-tooltip'\n tooltip.style.maxWidth =\n props.maxWidth + (typeof props.maxWidth === 'number' ? 'px' : '')\n tooltip.setAttribute('data-size', props.size)\n tooltip.setAttribute('data-animation', props.animation)\n tooltip.setAttribute('data-state', 'hidden')\n props.theme.split(' ').forEach(t => {\n tooltip.classList.add(t + '-theme')\n })\n\n const content = div()\n content.className = 'tippy-content'\n content.setAttribute('data-state', 'hidden')\n\n if (props.interactive) {\n addInteractive(popper, tooltip)\n }\n\n if (props.arrow) {\n tooltip.appendChild(createArrowElement(props.arrowType))\n }\n\n if (props.animateFill) {\n tooltip.appendChild(createBackdropElement())\n tooltip.setAttribute('data-animatefill', '')\n }\n\n if (props.inertia) {\n tooltip.setAttribute('data-inertia', '')\n }\n\n setContent(content, props)\n\n tooltip.appendChild(content)\n popper.appendChild(tooltip)\n\n popper.addEventListener('focusout', e => {\n if (\n e.relatedTarget &&\n popper._tippy &&\n !closestCallback(e.relatedTarget, el => el === popper) &&\n e.relatedTarget !== popper._tippy.reference &&\n popper._tippy.props.shouldPopperHideOnBlur(e)\n ) {\n popper._tippy.hide()\n }\n })\n\n return popper\n}\n\n/**\n * Updates the popper element based on the new props\n */\nexport const updatePopperElement = (popper, prevProps, nextProps) => {\n const { tooltip, content, backdrop, arrow } = getChildren(popper)\n\n popper.style.zIndex = nextProps.zIndex\n tooltip.setAttribute('data-size', nextProps.size)\n tooltip.setAttribute('data-animation', nextProps.animation)\n tooltip.style.maxWidth =\n nextProps.maxWidth + (typeof nextProps.maxWidth === 'number' ? 'px' : '')\n\n if (prevProps.content !== nextProps.content) {\n setContent(content, nextProps)\n }\n\n // animateFill\n if (!prevProps.animateFill && nextProps.animateFill) {\n tooltip.appendChild(createBackdropElement())\n tooltip.setAttribute('data-animatefill', '')\n } else if (prevProps.animateFill && !nextProps.animateFill) {\n tooltip.removeChild(backdrop)\n tooltip.removeAttribute('data-animatefill')\n }\n\n // arrow\n if (!prevProps.arrow && nextProps.arrow) {\n tooltip.appendChild(createArrowElement(nextProps.arrowType))\n } else if (prevProps.arrow && !nextProps.arrow) {\n tooltip.removeChild(arrow)\n }\n\n // arrowType\n if (\n prevProps.arrow &&\n nextProps.arrow &&\n prevProps.arrowType !== nextProps.arrowType\n ) {\n tooltip.replaceChild(createArrowElement(nextProps.arrowType), arrow)\n }\n\n // interactive\n if (!prevProps.interactive && nextProps.interactive) {\n addInteractive(popper, tooltip)\n } else if (prevProps.interactive && !nextProps.interactive) {\n removeInteractive(popper, tooltip)\n }\n\n // inertia\n if (!prevProps.inertia && nextProps.inertia) {\n addInertia(tooltip)\n } else if (prevProps.inertia && !nextProps.inertia) {\n removeInertia(tooltip)\n }\n\n // theme\n if (prevProps.theme !== nextProps.theme) {\n prevProps.theme.split(' ').forEach(theme => {\n tooltip.classList.remove(theme + '-theme')\n })\n nextProps.theme.split(' ').forEach(theme => {\n tooltip.classList.add(theme + '-theme')\n })\n }\n}\n\n/**\n * Hides all visible poppers on the document\n */\nexport const hideAllPoppers = excludeTippy => {\n toArray(document.querySelectorAll(Selectors.POPPER)).forEach(popper => {\n const tip = popper._tippy\n if (\n tip &&\n tip.props.hideOnClick === true &&\n (!excludeTippy || popper !== excludeTippy.popper)\n ) {\n tip.hide()\n }\n })\n}\n\n/**\n * Returns an object of optional props from data-tippy-* attributes\n */\nexport const getDataAttributeOptions = reference =>\n Object.keys(Defaults).reduce((acc, key) => {\n const valueAsString = (\n reference.getAttribute(`data-tippy-${key}`) || ''\n ).trim()\n\n if (!valueAsString) {\n return acc\n }\n\n if (key === 'content') {\n acc[key] = valueAsString\n } else if (valueAsString === 'true') {\n acc[key] = true\n } else if (valueAsString === 'false') {\n acc[key] = false\n } else if (isNumeric(valueAsString)) {\n acc[key] = Number(valueAsString)\n } else if (valueAsString[0] === '[' || valueAsString[0] === '{') {\n acc[key] = JSON.parse(valueAsString)\n } else {\n acc[key] = valueAsString\n }\n\n return acc\n }, {})\n\n/**\n * Polyfills the virtual reference (plain object) with needed props\n * Mutating because DOM elements are mutated, adds _tippy property\n */\nexport const polyfillVirtualReferenceProps = virtualReference => {\n const polyfills = {\n isVirtual: true,\n attributes: virtualReference.attributes || {},\n setAttribute(key, value) {\n virtualReference.attributes[key] = value\n },\n getAttribute(key) {\n return virtualReference.attributes[key]\n },\n removeAttribute(key) {\n delete virtualReference.attributes[key]\n },\n hasAttribute(key) {\n return key in virtualReference.attributes\n },\n addEventListener() {},\n removeEventListener() {},\n classList: {\n classNames: {},\n add(key) {\n virtualReference.classList.classNames[key] = true\n },\n remove(key) {\n delete virtualReference.classList.classNames[key]\n },\n contains(key) {\n return key in virtualReference.classList.classNames\n }\n }\n }\n\n for (const key in polyfills) {\n virtualReference[key] = polyfills[key]\n }\n\n return virtualReference\n}\n\n/**\n * Ponyfill for Element.prototype.matches\n */\nexport const matches = (() => {\n if (isBrowser) {\n const e = Element.prototype\n return (\n e.matches ||\n e.matchesSelector ||\n e.webkitMatchesSelector ||\n e.mozMatchesSelector ||\n e.msMatchesSelector\n )\n }\n})()\n\n/**\n * Ponyfill for Element.prototype.closest\n */\nexport const closest = (element, parentSelector) =>\n (\n Element.prototype.closest ||\n function(selector) {\n let el = this\n while (el) {\n if (matches.call(el, selector)) return el\n el = el.parentElement\n }\n }\n ).call(element, parentSelector)\n\n/**\n * Works like Element.prototype.closest, but uses a callback instead\n */\nexport const closestCallback = (element, callback) => {\n while (element) {\n if (callback(element)) return element\n element = element.parentElement\n }\n}\n\n/**\n * Focuses an element while preventing a scroll jump if it's not within the viewport\n */\nexport const focus = el => {\n const x = window.scrollX || window.pageXOffset\n const y = window.scrollY || window.pageYOffset\n el.focus()\n scroll(x, y)\n}\n\n/**\n * Triggers reflow\n */\nexport const reflow = popper => {\n void popper.offsetHeight\n}\n\n/**\n * Transforms the x/y axis ased on the placement\n */\nexport const transformAxisBasedOnPlacement = (axis, isVertical) =>\n (isVertical\n ? axis\n : {\n X: 'Y',\n Y: 'X'\n }[axis]) || ''\n\n/**\n * Transforms the scale/translate numbers based on the placement\n */\nexport const transformNumbersBasedOnPlacement = (\n type,\n numbers,\n isVertical,\n isReverse\n) => {\n /**\n * Avoid destructuring because a large boilerplate function is generated\n * by Babel\n */\n const a = numbers[0]\n const b = numbers[1]\n\n if (!a && !b) {\n return ''\n }\n\n const transforms = {\n scale: (() => {\n if (!b) {\n return `${a}`\n } else {\n return isVertical ? `${a}, ${b}` : `${b}, ${a}`\n }\n })(),\n translate: (() => {\n if (!b) {\n return isReverse ? `${-a}px` : `${a}px`\n } else {\n if (isVertical) {\n return isReverse ? `${a}px, ${-b}px` : `${a}px, ${b}px`\n } else {\n return isReverse ? `${-b}px, ${a}px` : `${b}px, ${a}px`\n }\n }\n })()\n }\n\n return transforms[type]\n}\n\n/**\n * Returns the axis for a CSS function (translate or scale)\n */\nexport const getTransformAxis = (str, cssFunction) => {\n const match = str.match(new RegExp(cssFunction + '([XY])'))\n return match ? match[1] : ''\n}\n\n/**\n * Returns the numbers given to the CSS function\n */\nexport const getTransformNumbers = (str, regex) => {\n const match = str.match(regex)\n return match ? match[1].split(',').map(parseFloat) : []\n}\n\nexport const TRANSFORM_NUMBER_RE = {\n translate: /translateX?Y?\\(([^)]+)\\)/,\n scale: /scaleX?Y?\\(([^)]+)\\)/\n}\n\n/**\n * Computes the arrow's transform so that it is correct for any placement\n */\nexport const computeArrowTransform = (arrow, arrowTransform) => {\n const placement = getPopperPlacement(closest(arrow, Selectors.POPPER))\n const isVertical = placement === 'top' || placement === 'bottom'\n const isReverse = placement === 'right' || placement === 'bottom'\n\n const matches = {\n translate: {\n axis: getTransformAxis(arrowTransform, 'translate'),\n numbers: getTransformNumbers(\n arrowTransform,\n TRANSFORM_NUMBER_RE.translate\n )\n },\n scale: {\n axis: getTransformAxis(arrowTransform, 'scale'),\n numbers: getTransformNumbers(arrowTransform, TRANSFORM_NUMBER_RE.scale)\n }\n }\n\n const computedTransform = arrowTransform\n .replace(\n TRANSFORM_NUMBER_RE.translate,\n `translate${transformAxisBasedOnPlacement(\n matches.translate.axis,\n isVertical\n )}(${transformNumbersBasedOnPlacement(\n 'translate',\n matches.translate.numbers,\n isVertical,\n isReverse\n )})`\n )\n .replace(\n TRANSFORM_NUMBER_RE.scale,\n `scale${transformAxisBasedOnPlacement(\n matches.scale.axis,\n isVertical\n )}(${transformNumbersBasedOnPlacement(\n 'scale',\n matches.scale.numbers,\n isVertical,\n isReverse\n )})`\n )\n\n arrow.style[\n typeof document.body.style.transform !== 'undefined'\n ? 'transform'\n : 'webkitTransform'\n ] = computedTransform\n}\n\n/**\n * Sets the visibility state of a popper so it can begin to transition in or out\n */\nexport const setVisibilityState = (els, type) => {\n els.filter(Boolean).forEach(el => {\n el.setAttribute('data-state', type)\n })\n}\n\n/**\n * Runs the callback after the popper's position has been updated\n * update() is debounced with setTimeout(0) and scheduleUpdate() is\n * update() wrapped in requestAnimationFrame().\n */\nexport const afterPopperPositionUpdates = (popperInstance, callback) => {\n const { popper, options } = popperInstance\n const { onCreate, onUpdate } = options\n\n options.onCreate = options.onUpdate = () => {\n reflow(popper)\n callback()\n onUpdate()\n options.onCreate = onCreate\n options.onUpdate = onUpdate\n }\n}\n\n/**\n * Defers a function's execution until the call stack has cleared\n */\nexport const defer = fn => {\n setTimeout(fn, 1)\n}\n\n/**\n * Determines if the mouse cursor is outside of the popper's interactive border\n * region\n */\nexport const isCursorOutsideInteractiveBorder = (\n popperPlacement,\n popperRect,\n event,\n props\n) => {\n if (!popperPlacement) {\n return true\n }\n\n const { clientX: x, clientY: y } = event\n const { interactiveBorder, distance } = props\n\n const exceedsTop =\n popperRect.top - y >\n (popperPlacement === 'top'\n ? interactiveBorder + distance\n : interactiveBorder)\n\n const exceedsBottom =\n y - popperRect.bottom >\n (popperPlacement === 'bottom'\n ? interactiveBorder + distance\n : interactiveBorder)\n\n const exceedsLeft =\n popperRect.left - x >\n (popperPlacement === 'left'\n ? interactiveBorder + distance\n : interactiveBorder)\n\n const exceedsRight =\n x - popperRect.right >\n (popperPlacement === 'right'\n ? interactiveBorder + distance\n : interactiveBorder)\n\n return exceedsTop || exceedsBottom || exceedsLeft || exceedsRight\n}\n\n/**\n * Returns the distance offset, taking into account the default offset due to\n * the transform: translate() rule in CSS\n */\nexport const getOffsetDistanceInPx = (distance, defaultDistance) =>\n -(distance - defaultDistance) + 'px'\n\n/**\n * Returns the popper's placement, ignoring shifting (top-start, etc)\n */\nexport const getPopperPlacement = popper => {\n const fullPlacement = popper.getAttribute('x-placement')\n return fullPlacement ? fullPlacement.split('-')[0] : ''\n}\n\n/**\n * Evaluates props\n */\nexport const evaluateProps = (reference, props) => {\n const out = {\n ...props,\n ...(props.performance ? {} : getDataAttributeOptions(reference))\n }\n\n if (out.arrow) {\n out.animateFill = false\n }\n\n if (typeof out.appendTo === 'function') {\n out.appendTo = props.appendTo(reference)\n }\n\n if (typeof out.content === 'function') {\n out.content = props.content(reference)\n }\n\n return out\n}\n\n/**\n * Add/remove transitionend listener from tooltip\n */\nexport const toggleTransitionEndListener = (tooltip, action, listener) => {\n tooltip[action + 'EventListener']('transitionend', listener)\n}\n\n/**\n * Debounce utility\n */\nexport const debounce = (fn, ms) => {\n let timeoutId\n return function() {\n clearTimeout(timeoutId)\n timeoutId = setTimeout(() => fn.apply(this, arguments), ms)\n }\n}\n\n/**\n * Validates an object of options with the valid default props object\n */\nexport const validateOptions = (options, props) => {\n for (const option in options || {}) {\n if (!(option in props)) {\n throw Error(`[tippy]: \\`${option}\\` is not a valid option`)\n }\n }\n}\n\nexport const hasOwnProperty = (obj, key) => {\n return {}.hasOwnProperty.call(obj, key)\n}\n","import { Selectors } from './selectors'\nimport { supportsTouch, isIOS } from './browser'\nimport { hideAllPoppers, closest, closestCallback, toArray } from './utils'\n\nexport let isUsingTouch = false\n\nexport const onDocumentTouch = () => {\n if (isUsingTouch) {\n return\n }\n\n isUsingTouch = true\n\n if (isIOS) {\n document.body.classList.add('tippy-iOS')\n }\n\n if (window.performance) {\n document.addEventListener('mousemove', onDocumentMouseMove)\n }\n}\n\nlet lastMouseMoveTime = 0\nexport const onDocumentMouseMove = () => {\n const now = performance.now()\n\n // Chrome 60+ is 1 mousemove per animation frame, use 20ms time difference\n if (now - lastMouseMoveTime < 20) {\n isUsingTouch = false\n document.removeEventListener('mousemove', onDocumentMouseMove)\n if (!isIOS) {\n document.body.classList.remove('tippy-iOS')\n }\n }\n\n lastMouseMoveTime = now\n}\n\nexport const onDocumentClick = ({ target }) => {\n // Simulated events dispatched on the document\n if (!(target instanceof Element)) {\n return hideAllPoppers()\n }\n\n // Clicked on an interactive popper\n const popper = closest(target, Selectors.POPPER)\n if (popper && popper._tippy && popper._tippy.props.interactive) {\n return\n }\n\n // Clicked on a reference\n const reference = closestCallback(\n target,\n el => el._tippy && el._tippy.reference === el\n )\n if (reference) {\n const tip = reference._tippy\n const isClickTrigger = tip.props.trigger.indexOf('click') > -1\n\n if (isUsingTouch || isClickTrigger) {\n return hideAllPoppers(tip)\n }\n\n if (tip.props.hideOnClick !== true || isClickTrigger) {\n return\n }\n\n tip.clearDelayTimeouts()\n }\n\n hideAllPoppers()\n}\n\nexport const onWindowBlur = () => {\n const { activeElement } = document\n if (activeElement && activeElement.blur && activeElement._tippy) {\n activeElement.blur()\n }\n}\n\nexport const onWindowResize = () => {\n toArray(document.querySelectorAll(Selectors.POPPER)).forEach(popper => {\n const tippyInstance = popper._tippy\n if (!tippyInstance.props.livePlacement) {\n tippyInstance.popperInstance.scheduleUpdate()\n }\n })\n}\n\n/**\n * Adds the needed global event listeners\n */\nexport default function bindEventListeners() {\n document.addEventListener('click', onDocumentClick, true)\n // Old browsers will use capture phase but the phase does not matter anyway\n document.addEventListener('touchstart', onDocumentTouch, { passive: true })\n window.addEventListener('blur', onWindowBlur)\n window.addEventListener('resize', onWindowResize)\n\n if (\n !supportsTouch &&\n (navigator.maxTouchPoints || navigator.msMaxTouchPoints)\n ) {\n document.addEventListener('pointerdown', onDocumentTouch)\n }\n}\n","import Popper from 'popper.js'\nimport { Defaults, POPPER_INSTANCE_RELATED_PROPS } from './defaults'\nimport { Selectors } from './selectors'\nimport { isUsingTouch } from './bindGlobalEventListeners'\nimport { supportsTouch, isIE } from './browser'\nimport {\n createPopperElement,\n elementCanReceiveFocus,\n getChildren,\n computeArrowTransform,\n afterPopperPositionUpdates,\n getPopperPlacement,\n getOffsetDistanceInPx,\n getValue,\n closest,\n closestCallback,\n isCursorOutsideInteractiveBorder,\n applyTransitionDuration,\n setVisibilityState,\n updatePopperElement,\n evaluateProps,\n defer,\n toArray,\n focus,\n toggleTransitionEndListener,\n debounce,\n validateOptions,\n hasOwnProperty\n} from './utils'\n\nlet idCounter = 1\n\n/**\n * Creates and returns a Tippy object. We're using a closure pattern instead of\n * a class so that the exposed object API is clean without private members\n * prefixed with `_`.\n */\nexport default function createTippy(reference, collectionProps) {\n const props = evaluateProps(reference, collectionProps)\n\n // If the reference shouldn't have multiple tippys, return null early\n if (!props.multiple && reference._tippy) {\n return null\n }\n\n /* ======================= ๐ Private members ๐ ======================= */\n // The popper element's mutation observer\n let popperMutationObserver = null\n\n // The last trigger event object that caused the tippy to show\n let lastTriggerEvent = {}\n\n // The last mousemove event object created by the document mousemove event\n let lastMouseMoveEvent = null\n\n // Timeout created by the show delay\n let showTimeoutId = 0\n\n // Timeout created by the hide delay\n let hideTimeoutId = 0\n\n // Flag to determine if the tippy is preparing to show due to the show timeout\n let isPreparingToShow = false\n\n // The current `transitionend` callback reference\n let transitionEndListener = () => {}\n\n // Array of event listeners currently attached to the reference element\n let listeners = []\n\n // Flag to determine if the reference was recently programmatically focused\n let referenceJustProgrammaticallyFocused = false\n\n // Private onMouseMove handler reference, debounced or not\n let debouncedOnMouseMove =\n props.interactiveDebounce > 0\n ? debounce(onMouseMove, props.interactiveDebounce)\n : onMouseMove\n\n /* ======================= ๐ Public members ๐ ======================= */\n // id used for the `aria-describedby` attribute\n const id = idCounter++\n\n // Popper element reference\n const popper = createPopperElement(id, props)\n\n // Prevent a tippy with a delay from hiding if the cursor left then returned\n // before it started hiding\n popper.addEventListener('mouseenter', event => {\n if (\n tip.props.interactive &&\n tip.state.isVisible &&\n lastTriggerEvent.type === 'mouseenter'\n ) {\n prepareShow(event)\n }\n })\n popper.addEventListener('mouseleave', event => {\n if (\n tip.props.interactive &&\n lastTriggerEvent.type === 'mouseenter' &&\n tip.props.interactiveDebounce === 0 &&\n isCursorOutsideInteractiveBorder(\n getPopperPlacement(popper),\n popper.getBoundingClientRect(),\n event,\n tip.props\n )\n ) {\n prepareHide()\n }\n })\n\n // Popper element children: { arrow, backdrop, content, tooltip }\n const popperChildren = getChildren(popper)\n\n // The state of the tippy\n const state = {\n // If the tippy is currently enabled\n isEnabled: true,\n // show() invoked, not currently transitioning out\n isVisible: false,\n // If the tippy has been destroyed\n isDestroyed: false,\n // If the tippy is on the DOM (transitioning out or in)\n isMounted: false,\n // show() transition finished\n isShown: false\n }\n\n // Popper.js instance for the tippy is lazily created\n const popperInstance = null\n\n // ๐ tippy instance\n const tip = {\n // properties\n id,\n reference,\n popper,\n popperChildren,\n popperInstance,\n props,\n state,\n // methods\n clearDelayTimeouts,\n set,\n setContent,\n show,\n hide,\n enable,\n disable,\n destroy\n }\n\n addTriggersToReference()\n\n reference.addEventListener('click', onReferenceClick)\n\n if (!props.lazy) {\n tip.popperInstance = createPopperInstance()\n tip.popperInstance.disableEventListeners()\n }\n\n if (props.showOnInit) {\n prepareShow()\n }\n\n // Ensure the reference element can receive focus (and is not a delegate)\n if (props.a11y && !props.target && !elementCanReceiveFocus(reference)) {\n reference.setAttribute('tabindex', '0')\n }\n\n // Install shortcuts\n reference._tippy = tip\n popper._tippy = tip\n\n return tip\n\n /* ======================= ๐ Private methods ๐ ======================= */\n /**\n * If the reference was clicked, it also receives focus\n */\n function onReferenceClick() {\n defer(() => {\n referenceJustProgrammaticallyFocused = false\n })\n }\n\n /**\n * Ensure the popper's position stays correct if its dimensions change. Use\n * update() over .scheduleUpdate() so there is no 1 frame flash due to\n * async update\n */\n function addMutationObserver() {\n popperMutationObserver = new MutationObserver(() => {\n tip.popperInstance.update()\n })\n popperMutationObserver.observe(popper, {\n childList: true,\n subtree: true,\n characterData: true\n })\n }\n\n /**\n * Positions the virtual reference near the mouse cursor\n */\n function positionVirtualReferenceNearCursor(event) {\n const { clientX, clientY } = (lastMouseMoveEvent = event)\n\n if (!tip.popperInstance) {\n return\n }\n\n // Ensure virtual reference is padded by 5px to prevent tooltip from\n // overflowing. Maybe Popper.js issue?\n const placement = getPopperPlacement(tip.popper)\n const padding = tip.popperChildren.arrow ? 20 : 5\n const isVerticalPlacement = placement === 'top' || placement === 'bottom'\n const isHorizontalPlacement = placement === 'left' || placement === 'right'\n\n // Top / left boundary\n let x = isVerticalPlacement ? Math.max(padding, clientX) : clientX\n let y = isHorizontalPlacement ? Math.max(padding, clientY) : clientY\n\n // Bottom / right boundary\n if (isVerticalPlacement && x > padding) {\n x = Math.min(clientX, window.innerWidth - padding)\n }\n if (isHorizontalPlacement && y > padding) {\n y = Math.min(clientY, window.innerHeight - padding)\n }\n\n const rect = tip.reference.getBoundingClientRect()\n const { followCursor } = tip.props\n const isHorizontal = followCursor === 'horizontal'\n const isVertical = followCursor === 'vertical'\n\n tip.popperInstance.reference = {\n getBoundingClientRect: () => ({\n width: 0,\n height: 0,\n top: isHorizontal ? rect.top : y,\n bottom: isHorizontal ? rect.bottom : y,\n left: isVertical ? rect.left : x,\n right: isVertical ? rect.right : x\n }),\n clientWidth: 0,\n clientHeight: 0\n }\n\n tip.popperInstance.scheduleUpdate()\n }\n\n /**\n * Creates the tippy instance for a delegate when it's been triggered\n */\n function createDelegateChildTippy(event) {\n const targetEl = closest(event.target, tip.props.target)\n if (targetEl && !targetEl._tippy) {\n createTippy(targetEl, {\n ...tip.props,\n target: '',\n showOnInit: true\n })\n prepareShow(event)\n }\n }\n\n /**\n * Setup before show() is invoked (delays, etc.)\n */\n function prepareShow(event) {\n clearDelayTimeouts()\n\n if (tip.state.isVisible) {\n return\n }\n\n // Is a delegate, create an instance for the child target\n if (tip.props.target) {\n return createDelegateChildTippy(event)\n }\n\n isPreparingToShow = true\n\n if (tip.props.wait) {\n return tip.props.wait(tip, event)\n }\n\n // If the tooltip has a delay, we need to be listening to the mousemove as\n // soon as the trigger event is fired, so that it's in the correct position\n // upon mount\n if (hasFollowCursorBehavior()) {\n document.addEventListener('mousemove', positionVirtualReferenceNearCursor)\n }\n\n const delay = getValue(tip.props.delay, 0, Defaults.delay)\n\n if (delay) {\n showTimeoutId = setTimeout(() => {\n show()\n }, delay)\n } else {\n show()\n }\n }\n\n /**\n * Setup before hide() is invoked (delays, etc.)\n */\n function prepareHide() {\n clearDelayTimeouts()\n\n if (!tip.state.isVisible) {\n return removeFollowCursorListener()\n }\n\n isPreparingToShow = false\n\n const delay = getValue(tip.props.delay, 1, Defaults.delay)\n\n if (delay) {\n hideTimeoutId = setTimeout(() => {\n if (tip.state.isVisible) {\n hide()\n }\n }, delay)\n } else {\n hide()\n }\n }\n\n /**\n * Removes the follow cursor listener\n */\n function removeFollowCursorListener() {\n document.removeEventListener(\n 'mousemove',\n positionVirtualReferenceNearCursor\n )\n lastMouseMoveEvent = null\n }\n\n /**\n * Cleans up old listeners\n */\n function cleanupOldMouseListeners() {\n document.body.removeEventListener('mouseleave', prepareHide)\n document.removeEventListener('mousemove', debouncedOnMouseMove)\n }\n\n /**\n * Event listener invoked upon trigger\n */\n function onTrigger(event) {\n if (!tip.state.isEnabled || isEventListenerStopped(event)) {\n return\n }\n\n if (!tip.state.isVisible) {\n lastTriggerEvent = event\n }\n\n // Toggle show/hide when clicking click-triggered tooltips\n if (\n event.type === 'click' &&\n tip.props.hideOnClick !== false &&\n tip.state.isVisible\n ) {\n prepareHide()\n } else {\n prepareShow(event)\n }\n }\n\n /**\n * Event listener used for interactive tooltips to detect when they should\n * hide\n */\n function onMouseMove(event) {\n const referenceTheCursorIsOver = closestCallback(\n event.target,\n el => el._tippy\n )\n\n const isCursorOverPopper =\n closest(event.target, Selectors.POPPER) === tip.popper\n const isCursorOverReference = referenceTheCursorIsOver === tip.reference\n\n if (isCursorOverPopper || isCursorOverReference) {\n return\n }\n\n if (\n isCursorOutsideInteractiveBorder(\n getPopperPlacement(tip.popper),\n tip.popper.getBoundingClientRect(),\n event,\n tip.props\n )\n ) {\n cleanupOldMouseListeners()\n prepareHide()\n }\n }\n\n /**\n * Event listener invoked upon mouseleave\n */\n function onMouseLeave(event) {\n if (isEventListenerStopped(event)) {\n return\n }\n\n if (tip.props.interactive) {\n document.body.addEventListener('mouseleave', prepareHide)\n document.addEventListener('mousemove', debouncedOnMouseMove)\n return\n }\n\n prepareHide()\n }\n\n /**\n * Event listener invoked upon blur\n */\n function onBlur(event) {\n if (event.target !== tip.reference) {\n return\n }\n\n if (tip.props.interactive) {\n if (!event.relatedTarget) {\n return\n }\n if (closest(event.relatedTarget, Selectors.POPPER)) {\n return\n }\n }\n\n prepareHide()\n }\n\n /**\n * Event listener invoked when a child target is triggered\n */\n function onDelegateShow(event) {\n if (closest(event.target, tip.props.target)) {\n prepareShow(event)\n }\n }\n\n /**\n * Event listener invoked when a child target should hide\n */\n function onDelegateHide(event) {\n if (closest(event.target, tip.props.target)) {\n prepareHide()\n }\n }\n\n /**\n * Determines if an event listener should stop further execution due to the\n * `touchHold` option\n */\n function isEventListenerStopped(event) {\n const isTouchEvent = event.type.indexOf('touch') > -1\n const caseA =\n supportsTouch && isUsingTouch && tip.props.touchHold && !isTouchEvent\n const caseB = isUsingTouch && !tip.props.touchHold && isTouchEvent\n return caseA || caseB\n }\n\n /**\n * Creates the popper instance for the tip\n */\n function createPopperInstance() {\n const { tooltip } = tip.popperChildren\n const { popperOptions } = tip.props\n\n const arrowSelector =\n Selectors[tip.props.arrowType === 'round' ? 'ROUND_ARROW' : 'ARROW']\n const arrow = tooltip.querySelector(arrowSelector)\n\n const config = {\n placement: tip.props.placement,\n ...(popperOptions || {}),\n modifiers: {\n ...(popperOptions ? popperOptions.modifiers : {}),\n arrow: {\n element: arrowSelector,\n ...(popperOptions && popperOptions.modifiers\n ? popperOptions.modifiers.arrow\n : {})\n },\n flip: {\n enabled: tip.props.flip,\n padding: tip.props.distance + 5 /* 5px from viewport boundary */,\n behavior: tip.props.flipBehavior,\n ...(popperOptions && popperOptions.modifiers\n ? popperOptions.modifiers.flip\n : {})\n },\n offset: {\n offset: tip.props.offset,\n ...(popperOptions && popperOptions.modifiers\n ? popperOptions.modifiers.offset\n : {})\n }\n },\n onCreate() {\n tooltip.style[getPopperPlacement(tip.popper)] = getOffsetDistanceInPx(\n tip.props.distance,\n Defaults.distance\n )\n\n if (arrow && tip.props.arrowTransform) {\n computeArrowTransform(arrow, tip.props.arrowTransform)\n }\n },\n onUpdate() {\n const styles = tooltip.style\n styles.top = ''\n styles.bottom = ''\n styles.left = ''\n styles.right = ''\n styles[getPopperPlacement(tip.popper)] = getOffsetDistanceInPx(\n tip.props.distance,\n Defaults.distance\n )\n\n if (arrow && tip.props.arrowTransform) {\n computeArrowTransform(arrow, tip.props.arrowTransform)\n }\n }\n }\n\n if (!popperMutationObserver) {\n addMutationObserver()\n }\n\n return new Popper(tip.reference, tip.popper, config)\n }\n\n /**\n * Mounts the tooltip to the DOM, callback to show tooltip is run **after**\n * popper's position has updated\n */\n function mount(callback) {\n if (!tip.popperInstance) {\n tip.popperInstance = createPopperInstance()\n if (!tip.props.livePlacement || hasFollowCursorBehavior()) {\n tip.popperInstance.disableEventListeners()\n }\n } else {\n if (!hasFollowCursorBehavior()) {\n tip.popperInstance.scheduleUpdate()\n if (tip.props.livePlacement) {\n tip.popperInstance.enableEventListeners()\n }\n }\n }\n\n // If the instance previously had followCursor behavior, it will be\n // positioned incorrectly if triggered by `focus` afterwards.\n // Update the reference back to the real DOM element\n tip.popperInstance.reference = tip.reference\n const { arrow } = tip.popperChildren\n\n if (hasFollowCursorBehavior()) {\n if (arrow) {\n arrow.style.margin = '0'\n }\n const delay = getValue(tip.props.delay, 0, Defaults.delay)\n if (lastTriggerEvent.type) {\n positionVirtualReferenceNearCursor(\n delay && lastMouseMoveEvent ? lastMouseMoveEvent : lastTriggerEvent\n )\n }\n } else if (arrow) {\n arrow.style.margin = ''\n }\n\n afterPopperPositionUpdates(tip.popperInstance, callback)\n\n if (!tip.props.appendTo.contains(tip.popper)) {\n tip.props.appendTo.appendChild(tip.popper)\n tip.props.onMount(tip)\n tip.state.isMounted = true\n }\n }\n\n /**\n * Determines if the instance is in `followCursor` mode\n */\n function hasFollowCursorBehavior() {\n return (\n tip.props.followCursor &&\n !isUsingTouch &&\n lastTriggerEvent.type !== 'focus'\n )\n }\n\n /**\n * Updates the tooltip's position on each animation frame + timeout\n */\n function makeSticky() {\n applyTransitionDuration([tip.popper], isIE ? 0 : tip.props.updateDuration)\n\n const updatePosition = () => {\n if (tip.popperInstance) {\n tip.popperInstance.scheduleUpdate()\n }\n\n if (tip.state.isMounted) {\n requestAnimationFrame(updatePosition)\n } else {\n applyTransitionDuration([tip.popper], 0)\n }\n }\n\n updatePosition()\n }\n\n /**\n * Invokes a callback once the tooltip has fully transitioned out\n */\n function onTransitionedOut(duration, callback) {\n onTransitionEnd(duration, () => {\n if (!tip.state.isVisible && tip.props.appendTo.contains(tip.popper)) {\n callback()\n }\n })\n }\n\n /**\n * Invokes a callback once the tooltip has fully transitioned in\n */\n function onTransitionedIn(duration, callback) {\n onTransitionEnd(duration, callback)\n }\n\n /**\n * Invokes a callback once the tooltip's CSS transition ends\n */\n function onTransitionEnd(duration, callback) {\n // Make callback synchronous if duration is 0\n if (duration === 0) {\n return callback()\n }\n\n const { tooltip } = tip.popperChildren\n\n const listener = e => {\n if (e.target === tooltip) {\n toggleTransitionEndListener(tooltip, 'remove', listener)\n callback()\n }\n }\n\n toggleTransitionEndListener(tooltip, 'remove', transitionEndListener)\n toggleTransitionEndListener(tooltip, 'add', listener)\n\n transitionEndListener = listener\n }\n\n /**\n * Adds an event listener to the reference\n */\n function on(eventType, handler, acc) {\n tip.reference.addEventListener(eventType, handler)\n acc.push({ eventType, handler })\n }\n\n /**\n * Adds event listeners to the reference based on the `trigger` prop\n */\n function addTriggersToReference() {\n listeners = tip.props.trigger\n .trim()\n .split(' ')\n .reduce((acc, eventType) => {\n if (eventType === 'manual') {\n return acc\n }\n\n if (!tip.props.target) {\n on(eventType, onTrigger, acc)\n\n if (tip.props.touchHold) {\n on('touchstart', onTrigger, acc)\n on('touchend', onMouseLeave, acc)\n }\n\n switch (eventType) {\n case 'mouseenter':\n on('mouseleave', onMouseLeave, acc)\n break\n case 'focus':\n on(isIE ? 'focusout' : 'blur', onBlur, acc)\n break\n }\n } else {\n switch (eventType) {\n case 'mouseenter':\n on('mouseover', onDelegateShow, acc)\n on('mouseout', onDelegateHide, acc)\n break\n case 'focus':\n on('focusin', onDelegateShow, acc)\n on('focusout', onDelegateHide, acc)\n break\n case 'click':\n on(eventType, onDelegateShow, acc)\n break\n }\n }\n\n return acc\n }, [])\n }\n\n /**\n * Removes event listeners from the reference\n */\n function removeTriggersFromReference() {\n listeners.forEach(({ eventType, handler }) => {\n tip.reference.removeEventListener(eventType, handler)\n })\n }\n\n /* ======================= ๐ Public methods ๐ ======================= */\n /**\n * Enables the instance to allow it to show or hide\n */\n function enable() {\n tip.state.isEnabled = true\n }\n\n /**\n * Disables the instance to disallow it to show or hide\n */\n function disable() {\n tip.state.isEnabled = false\n }\n\n /**\n * Clears pending timeouts related to the `delay` prop if any\n */\n function clearDelayTimeouts() {\n clearTimeout(showTimeoutId)\n clearTimeout(hideTimeoutId)\n }\n\n /**\n * Sets new props for the instance and redraws the tooltip\n */\n function set(options = {}) {\n validateOptions(options, Defaults)\n\n const prevProps = tip.props\n const nextProps = evaluateProps(tip.reference, {\n ...tip.props,\n ...options,\n performance: true\n })\n nextProps.performance = hasOwnProperty(options, 'performance')\n ? options.performance\n : prevProps.performance\n tip.props = nextProps\n\n if (\n hasOwnProperty(options, 'trigger') ||\n hasOwnProperty(options, 'touchHold')\n ) {\n removeTriggersFromReference()\n addTriggersToReference()\n }\n\n if (hasOwnProperty(options, 'interactiveDebounce')) {\n cleanupOldMouseListeners()\n debouncedOnMouseMove = debounce(onMouseMove, options.interactiveDebounce)\n }\n\n updatePopperElement(tip.popper, prevProps, nextProps)\n tip.popperChildren = getChildren(tip.popper)\n\n if (\n tip.popperInstance &&\n POPPER_INSTANCE_RELATED_PROPS.some(prop => hasOwnProperty(options, prop))\n ) {\n tip.popperInstance.destroy()\n tip.popperInstance = createPopperInstance()\n if (!tip.state.isVisible) {\n tip.popperInstance.disableEventListeners()\n }\n if (tip.props.followCursor && lastMouseMoveEvent) {\n positionVirtualReferenceNearCursor(lastMouseMoveEvent)\n }\n }\n }\n\n /**\n * Shortcut for .set({ content: newContent })\n */\n function setContent(content) {\n set({ content })\n }\n\n /**\n * Shows the tooltip\n */\n function show(\n duration = getValue(tip.props.duration, 0, Defaults.duration[0])\n ) {\n if (\n tip.state.isDestroyed ||\n !tip.state.isEnabled ||\n (isUsingTouch && !tip.props.touch)\n ) {\n return\n }\n\n // Destroy tooltip if the reference element is no longer on the DOM\n if (\n !tip.reference.isVirtual &&\n !document.documentElement.contains(tip.reference)\n ) {\n return destroy()\n }\n\n // Do not show tooltip if the reference element has a `disabled` attribute\n if (tip.reference.hasAttribute('disabled')) {\n return\n }\n\n // If the reference was just programmatically focused for accessibility\n // reasons\n if (referenceJustProgrammaticallyFocused) {\n referenceJustProgrammaticallyFocused = false\n return\n }\n\n if (tip.props.onShow(tip) === false) {\n return\n }\n\n tip.popper.style.visibility = 'visible'\n tip.state.isVisible = true\n\n // Prevent a transition if the popper is at the opposite placement\n applyTransitionDuration(\n [tip.popper, tip.popperChildren.tooltip, tip.popperChildren.backdrop],\n 0\n )\n\n mount(() => {\n if (!tip.state.isVisible) {\n return\n }\n\n // Arrow will sometimes not be positioned correctly. Force another update\n if (!hasFollowCursorBehavior()) {\n tip.popperInstance.update()\n }\n\n applyTransitionDuration(\n [\n tip.popperChildren.tooltip,\n tip.popperChildren.backdrop,\n tip.popperChildren.content\n ],\n duration\n )\n if (tip.popperChildren.backdrop) {\n tip.popperChildren.content.style.transitionDelay =\n Math.round(duration / 6) + 'ms'\n }\n\n if (tip.props.interactive) {\n tip.reference.classList.add('tippy-active')\n }\n\n if (tip.props.sticky) {\n makeSticky()\n }\n\n setVisibilityState(\n [\n tip.popperChildren.tooltip,\n tip.popperChildren.backdrop,\n tip.popperChildren.content\n ],\n 'visible'\n )\n\n onTransitionedIn(duration, () => {\n if (tip.props.updateDuration === 0) {\n tip.popperChildren.tooltip.classList.add('tippy-notransition')\n }\n\n if (\n tip.props.interactive &&\n ['focus', 'click'].indexOf(lastTriggerEvent.type) > -1\n ) {\n focus(tip.popper)\n }\n\n tip.reference.setAttribute('aria-describedby', tip.popper.id)\n\n tip.props.onShown(tip)\n tip.state.isShown = true\n })\n })\n }\n\n /**\n * Hides the tooltip\n */\n function hide(\n duration = getValue(tip.props.duration, 1, Defaults.duration[1])\n ) {\n if (tip.state.isDestroyed || !tip.state.isEnabled) {\n return\n }\n\n if (tip.props.onHide(tip) === false) {\n return\n }\n\n if (tip.props.updateDuration === 0) {\n tip.popperChildren.tooltip.classList.remove('tippy-notransition')\n }\n\n if (tip.props.interactive) {\n tip.reference.classList.remove('tippy-active')\n }\n\n tip.popper.style.visibility = 'hidden'\n tip.state.isVisible = false\n tip.state.isShown = false\n\n applyTransitionDuration(\n [\n tip.popperChildren.tooltip,\n tip.popperChildren.backdrop,\n tip.popperChildren.content\n ],\n duration\n )\n\n setVisibilityState(\n [\n tip.popperChildren.tooltip,\n tip.popperChildren.backdrop,\n tip.popperChildren.content\n ],\n 'hidden'\n )\n\n if (\n tip.props.interactive &&\n !referenceJustProgrammaticallyFocused &&\n ['focus', 'click'].indexOf(lastTriggerEvent.type) > -1\n ) {\n if (lastTriggerEvent.type === 'focus') {\n referenceJustProgrammaticallyFocused = true\n }\n focus(tip.reference)\n }\n\n onTransitionedOut(duration, () => {\n if (!isPreparingToShow) {\n removeFollowCursorListener()\n }\n\n tip.reference.removeAttribute('aria-describedby')\n\n tip.popperInstance.disableEventListeners()\n\n tip.props.appendTo.removeChild(tip.popper)\n tip.state.isMounted = false\n\n tip.props.onHidden(tip)\n })\n }\n\n /**\n * Destroys the tooltip\n */\n function destroy(destroyTargetInstances) {\n if (tip.state.isDestroyed) {\n return\n }\n\n // If the popper is currently mounted to the DOM, we want to ensure it gets\n // hidden and unmounted instantly upon destruction\n if (tip.state.isMounted) {\n hide(0)\n }\n\n removeTriggersFromReference()\n\n tip.reference.removeEventListener('click', onReferenceClick)\n\n delete tip.reference._tippy\n\n if (tip.props.target && destroyTargetInstances) {\n toArray(tip.reference.querySelectorAll(tip.props.target)).forEach(\n child => child._tippy && child._tippy.destroy()\n )\n }\n\n if (tip.popperInstance) {\n tip.popperInstance.destroy()\n }\n\n if (popperMutationObserver) {\n popperMutationObserver.disconnect()\n }\n\n tip.state.isDestroyed = true\n }\n}\n","import { h, app } from 'hyperapp'\nimport tippy from '../../../dist/tippy.js'\nimport { isBrowser } from '../utils'\n\nconst Tippy = (realProps, [reference]) => {\n const props = {\n ...realProps,\n content: realProps.content || \"I'm a Tippy tooltip\"\n }\n\n if (props.content.constructor === Object && !props.target) {\n const container = isBrowser && document.createElement('div')\n app({}, {}, props.content, container)\n props.content = container\n }\n\n const update = element => {\n setTimeout(() => {\n element._tippy.set(props)\n }, 1)\n }\n\n return (\n !element._tippy && tippy(element, props)}\n onupdate={element => element._tippy && update(element)}\n ondestroy={element => element._tippy && element._tippy.destroy()}\n >\n {reference.children}\n \n )\n}\n\nTippy.secondary = (props, children) => (\n ref.parentNode}\n theme=\"secondary\"\n >\n {children}\n \n)\n\nexport default Tippy\n","import { h } from 'hyperapp'\nimport logo from '../../assets/img/logo.svg'\nimport { version } from '../../../package.json'\nimport Emoji from '../components/Emoji'\nimport Tippy from '../components/Tippy'\n\nexport default () => (\n \n \n \n \n \n Tippy.js\n v{version}\n
\n \n \n A highly customizable vanilla JS tooltip & popover library\n
\n \n \n \n ๐ฆ \n 15 kB\n \n \n \n positioning engine behind the tooltips.\"\n arrow={true}\n theme=\"light\"\n offset=\"0, 2\"\n sticky={true}\n updateDuration={250}\n arrowType=\"round\"\n >\n \n โก \n Powered by Popper.js\n \n \n \n \n \n Go to v2 docs (old)\n \n \n \n \n Star\n \n \n \n \n \n)\n","import { h } from 'hyperapp'\nimport logo from '../../assets/img/logo.svg'\nimport Tippy from '../components/Tippy'\nimport Emoji from '../components/Emoji'\n\nconst ANIMATIONS = [\n 'shift-away',\n 'shift-toward',\n 'perspective',\n 'fade',\n 'scale'\n]\n\nconst printValue = value =>\n Array.isArray(value) ? `[${value.join(', ')}]` : value\n\nconst NO_GPU_ACCELERATION = {\n modifiers: {\n computeStyle: { gpuAcceleration: false }\n }\n}\n\nexport default () => (\n \n Tippy's features
\n \n Default
\n \n The default tippy tooltip looks like this when given no options. It has\n a nifty backdrop filling animation!\n
\n \n \n \n \n\n \n \n โ๏ธ\n \n Placement
\n \n A tooltip can be placed in four different ways in relation to its\n reference element. Additionally, the tooltip can be shifted using the\n suffix -start
or -end
.\n
\n {['top', 'bottom', 'left', 'right', 'top-start', 'top-end'].map(\n placement => (\n \n \n \n )\n )}\n \n\n \n \n โถ๏ธ\n \n Arrows
\n \n Arrows point toward the reference element. There are two different types\n of arrows: sharp and round. You can transform the proportion and scale\n of the arrows any way you like.\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n ๐\n \n Triggers
\n Triggers define the types of events that cause a tooltip to show.
\n \n \n \n \n \n \n \n \n \n \n\n \n \n โ๏ธ\n \n Interactivity
\n \n Tooltips can be interactive, meaning they won't hide when you hover over\n or click on them.\n
\n \n \n \n \n \n \n \n\n \n \n ๐ซ\n \n Animations
\n Tooltips can have different types of animations.
\n {ANIMATIONS.map(animation => (\n \n \n \n ))}\n {ANIMATIONS.filter(animation => animation !== 'fade').map(animation => (\n \n \n \n ))}\n tip.set({ animation: 'scale' })}\n onHide={tip => tip.set({ animation: 'fade' })}\n arrow={true}\n >\n \n \n \n\n \n \n โฑ๏ธ\n \n Duration
\n A tippy can have different transition durations.
\n {[0, 200, 1000, [250, 1000], [1000, 500]].map(duration => (\n \n \n \n ))}\n \n\n \n \n โณ\n \n Delay
\n \n Tooltips can delay showing or{' '}\n \n \n hiding*\n \n {' '}\n after a trigger.\n
\n {[0, 200, 800, [800, 0], [200, 800]].map(delay => (\n \n \n \n ))}\n \n\n \n \n ๐ผ๏ธ\n \n HTML
\n \n Tooltips can contain HTML, allowing you to craft awesome interactive\n popovers.\n
\n el.parentNode}\n interactive={true}\n theme=\"light rounded\"\n arrow={true}\n size=\"large\"\n arrowTransform=\"scale(2)\"\n distance={15}\n interactiveBorder={20}\n content={\n \n \n \n Look! The tippy logo is inside a tippy.\n
\n \n \n }\n >\n \n \n \n\n \n \n ๐๏ธ\n \n Themes
\n \n A tippy can have any kind of theme you want! Creating a custom theme is\n a breeze.\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n ๐\n \n Misc
\n \n Tippy has a ton of{' '}\n \n Missing a feature you need? Submit a{' '}\n \n feature request\n {' '}\n on the GitHub repo!\n
\n }\n >\n \n features\n \n \n , and it's constantly improving.\n \n \n \n \n \n \n \n ref.parentNode}\n animation=\"fade\"\n onHide={tip => {\n const anchor = tip.popper.querySelector('a')\n if (anchor && anchor._tippy && anchor._tippy.state.isVisible) {\n return false\n }\n }}\n trigger=\"click\"\n content={\n \n - \n
ref.parentNode}\n animation=\"fade\"\n popperOptions={NO_GPU_ACCELERATION} // Appears blurry on Safari otherwise\n content={\n \n - \n
{\n return tip.reference.closest('.tippy-popper')._tippy\n .state.isVisible\n }}\n >\n \n \n \n
\n }\n >\n Open submenu >\n \n \n
\n }\n >\n \n \n \n \n \n \n \n \n
\n \n)\n","import { h } from 'hyperapp'\nimport { toKebabCase } from '../utils'\n\nconst Subheading = scope => (props, children) => {\n const id = toKebabCase(\n scope + children.find(child => typeof child === 'string')\n )\n return (\n \n {children}\n
\n )\n}\n\nexport default (scope, children) => {\n if (typeof scope === 'string') {\n return Subheading(scope)\n }\n const id = toKebabCase(children[0])\n const link = {children}\n return (\n \n {link}
\n \n )\n}\n","import { h } from 'hyperapp'\nimport { toKebabCase } from '../utils'\nimport Emoji from './Emoji'\nimport Heading from './Heading'\n\nexport default ({ title, emoji }, children) => (\n \n \n {emoji}\n \n {title} \n {children}\n \n)\n","/**\n * Quick custom Prism fork to enable more tokens for the syntax highlighting\n */\nfunction __addCustomObjectTokens() {\n Prism.languages.insertBefore('javascript', 'keyword', {\n module: {\n pattern: /\\b(?:import|as|export|from|default)\\b/,\n alias: 'keyword'\n }\n })\n Prism.languages.insertBefore('javascript', 'punctuation', {\n definition: {\n pattern: /[a-z]\\w*(?=:)/i,\n lookbehind: true,\n alias: 'property'\n },\n access: {\n pattern: /(\\.\\s*)[a-z_$][\\w$]*/i,\n lookbehind: true,\n alias: 'property'\n },\n 'variable ': {\n pattern: /\\b(?:window|document|navigator|performance|localStorage|Element)\\b/,\n alias: 'dom'\n },\n console: /\\bconsole\\b/\n })\n Prism.languages.insertBefore('javascript', 'operator', {\n spread: {\n pattern: /\\.{3}/,\n alias: 'punctuation'\n },\n arrow: {\n pattern: /=>/,\n alias: 'operator'\n }\n })\n Prism.languages.insertBefore('javascript', 'function', {\n method: {\n pattern: /(\\.\\s*)[a-z_$][\\w$]*(?=(\\())/i,\n lookbehind: true,\n alias: 'function'\n }\n })\n}\n\nfunction __getParameterTokens() {\n return [\n {\n pattern: /(function(?:\\s+[_$a-z\\xA0-\\uFFFF][$\\w\\xA0-\\uFFFF]*)?\\s*\\(\\s*)[^\\s()][^()]*?(?=\\s*\\))/,\n lookbehind: true,\n inside: Prism.languages.javascript\n },\n {\n pattern: /[_$a-z\\xA0-\\uFFFF][$\\w\\xA0-\\uFFFF]*(?=\\s*=>)/,\n inside: Prism.languages.javascript\n },\n {\n pattern: /(\\(\\s*)[^\\s()][^()]*?(?=\\s*\\)\\s*=>)/,\n lookbehind: true,\n inside: Prism.languages.javascript\n },\n {\n pattern: /((?:\\b|\\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|var|void|while|with|yield)(?![$\\w\\xA0-\\uFFFF]))(?:[_$a-z\\xA0-\\uFFFF][$\\w\\xA0-\\uFFFF]*\\s*)\\(\\s*)[^\\s()][^()]*?(?=\\s*\\)\\s*\\{)/,\n lookbehind: true,\n inside: Prism.languages.javascript\n }\n ]\n}\n\n/* **********************************************\n Begin prism-core.js\n********************************************** */\n\nvar _self =\n typeof window !== 'undefined'\n ? window // if in browser\n : typeof WorkerGlobalScope !== 'undefined' &&\n self instanceof WorkerGlobalScope\n ? self // if in worker\n : {} // if in node js\n\n/**\n * Prism: Lightweight, robust, elegant syntax highlighting\n * MIT license http://www.opensource.org/licenses/mit-license.php/\n * @author Lea Verou http://lea.verou.me\n */\n\nvar Prism = (function() {\n // Private helper vars\n var lang = /\\blang(?:uage)?-([\\w-]+)\\b/i\n var uniqueId = 0\n\n var _ = (_self.Prism = {\n manual: _self.Prism && _self.Prism.manual,\n disableWorkerMessageHandler:\n _self.Prism && _self.Prism.disableWorkerMessageHandler,\n util: {\n encode: function(tokens) {\n if (tokens instanceof Token) {\n return new Token(\n tokens.type,\n _.util.encode(tokens.content),\n tokens.alias\n )\n } else if (_.util.type(tokens) === 'Array') {\n return tokens.map(_.util.encode)\n } else {\n return tokens\n .replace(/&/g, '&')\n .replace(/ text.length) {\n // Something went terribly wrong, ABORT, ABORT!\n return\n }\n\n if (str instanceof Token) {\n continue\n }\n\n if (greedy && i != strarr.length - 1) {\n pattern.lastIndex = pos\n var match = pattern.exec(text)\n if (!match) {\n break\n }\n\n var from = match.index + (lookbehind ? match[1].length : 0),\n to = match.index + match[0].length,\n k = i,\n p = pos\n\n for (\n var len = strarr.length;\n k < len &&\n (p < to || (!strarr[k].type && !strarr[k - 1].greedy));\n ++k\n ) {\n p += strarr[k].length\n // Move the index i to the element in strarr that is closest to from\n if (from >= p) {\n ++i\n pos = p\n }\n }\n\n // If strarr[i] is a Token, then the match starts inside another Token, which is invalid\n if (strarr[i] instanceof Token) {\n continue\n }\n\n // Number of tokens to delete and replace with the new match\n delNum = k - i\n str = text.slice(pos, p)\n match.index -= pos\n } else {\n pattern.lastIndex = 0\n\n var match = pattern.exec(str),\n delNum = 1\n }\n\n if (!match) {\n if (oneshot) {\n break\n }\n\n continue\n }\n\n if (lookbehind) {\n lookbehindLength = match[1] ? match[1].length : 0\n }\n\n var from = match.index + lookbehindLength,\n match = match[0].slice(lookbehindLength),\n to = from + match.length,\n before = str.slice(0, from),\n after = str.slice(to)\n\n var args = [i, delNum]\n\n if (before) {\n ++i\n pos += before.length\n args.push(before)\n }\n\n var wrapped = new Token(\n token,\n inside ? _.tokenize(match, inside) : match,\n alias,\n match,\n greedy\n )\n\n args.push(wrapped)\n\n if (after) {\n args.push(after)\n }\n\n Array.prototype.splice.apply(strarr, args)\n\n if (delNum != 1)\n _.matchGrammar(text, strarr, grammar, i, pos, true, token)\n\n if (oneshot) break\n }\n }\n }\n },\n\n tokenize: function(text, grammar, language) {\n var strarr = [text]\n\n var rest = grammar.rest\n\n if (rest) {\n for (var token in rest) {\n grammar[token] = rest[token]\n }\n\n delete grammar.rest\n }\n\n _.matchGrammar(text, strarr, grammar, 0, 0, false)\n\n return strarr\n },\n\n hooks: {\n all: {},\n\n add: function(name, callback) {\n var hooks = _.hooks.all\n\n hooks[name] = hooks[name] || []\n\n hooks[name].push(callback)\n },\n\n run: function(name, env) {\n var callbacks = _.hooks.all[name]\n\n if (!callbacks || !callbacks.length) {\n return\n }\n\n for (var i = 0, callback; (callback = callbacks[i++]); ) {\n callback(env)\n }\n }\n }\n })\n\n var Token = (_.Token = function(type, content, alias, matchedStr, greedy) {\n this.type = type\n this.content = content\n this.alias = alias\n // Copy of the full string this token was created from\n this.length = (matchedStr || '').length | 0\n this.greedy = !!greedy\n })\n\n Token.stringify = function(o, language, parent) {\n if (typeof o == 'string') {\n return o\n }\n\n if (_.util.type(o) === 'Array') {\n return o\n .map(function(element) {\n return Token.stringify(element, language, o)\n })\n .join('')\n }\n\n var env = {\n type: o.type,\n content: Token.stringify(o.content, language, parent),\n tag: 'span',\n classes: ['token', o.type],\n attributes: {},\n language: language,\n parent: parent\n }\n\n if (o.alias) {\n var aliases = _.util.type(o.alias) === 'Array' ? o.alias : [o.alias]\n Array.prototype.push.apply(env.classes, aliases)\n }\n\n _.hooks.run('wrap', env)\n\n var attributes = Object.keys(env.attributes)\n .map(function(name) {\n return (\n name +\n '=\"' +\n (env.attributes[name] || '').replace(/\"/g, '"') +\n '\"'\n )\n })\n .join(' ')\n\n return (\n '<' +\n env.tag +\n ' class=\"' +\n env.classes.join(' ') +\n '\"' +\n (attributes ? ' ' + attributes : '') +\n '>' +\n env.content +\n '' +\n env.tag +\n '>'\n )\n }\n\n if (!_self.document) {\n if (!_self.addEventListener) {\n // in Node.js\n return _self.Prism\n }\n\n if (!_.disableWorkerMessageHandler) {\n // In worker\n _self.addEventListener(\n 'message',\n function(evt) {\n var message = JSON.parse(evt.data),\n lang = message.language,\n code = message.code,\n immediateClose = message.immediateClose\n\n _self.postMessage(_.highlight(code, _.languages[lang], lang))\n if (immediateClose) {\n _self.close()\n }\n },\n false\n )\n }\n\n return _self.Prism\n }\n\n //Get current script and highlight\n var script =\n document.currentScript ||\n [].slice.call(document.getElementsByTagName('script')).pop()\n\n if (script) {\n _.filename = script.src\n\n if (!_.manual && !script.hasAttribute('data-manual')) {\n if (document.readyState !== 'loading') {\n if (window.requestAnimationFrame) {\n window.requestAnimationFrame(_.highlightAll)\n } else {\n window.setTimeout(_.highlightAll, 16)\n }\n } else {\n document.addEventListener('DOMContentLoaded', _.highlightAll)\n }\n }\n }\n\n return _self.Prism\n})()\n\nif (typeof module !== 'undefined' && module.exports) {\n module.exports = Prism\n}\n\n// hack for components to work correctly in node.js\nif (typeof global !== 'undefined') {\n global.Prism = Prism\n}\n\n/* **********************************************\n Begin prism-markup.js\n********************************************** */\n\nPrism.languages.markup = {\n comment: //,\n prolog: /<\\?[\\s\\S]+?\\?>/,\n doctype: //i,\n cdata: //i,\n tag: {\n pattern: /<\\/?(?!\\d)[^\\s>\\/=$<%]+(?:\\s+[^\\s>\\/=]+(?:=(?:(\"|')(?:\\\\[\\s\\S]|(?!\\1)[^\\\\])*\\1|[^\\s'\">=]+))?)*\\s*\\/?>/i,\n greedy: true,\n inside: {\n tag: {\n pattern: /^<\\/?[^\\s>\\/]+/i,\n inside: {\n punctuation: /^<\\/?/,\n namespace: /^[^\\s>\\/:]+:/\n }\n },\n 'attr-value': {\n pattern: /=(?:(\"|')(?:\\\\[\\s\\S]|(?!\\1)[^\\\\])*\\1|[^\\s'\">=]+)/i,\n inside: {\n punctuation: [\n /^=/,\n {\n pattern: /(^|[^\\\\])[\"']/,\n lookbehind: true\n }\n ]\n }\n },\n punctuation: /\\/?>/,\n 'attr-name': {\n pattern: /[^\\s>\\/]+/,\n inside: {\n namespace: /^[^\\s>\\/:]+:/\n }\n }\n }\n },\n entity: /?[\\da-z]{1,8};/i\n}\n\nPrism.languages.markup['tag'].inside['attr-value'].inside['entity'] =\n Prism.languages.markup['entity']\n\n// Plugin to make entity title show the real entity, idea by Roman Komarov\nPrism.hooks.add('wrap', function(env) {\n if (env.type === 'entity') {\n env.attributes['title'] = env.content.replace(/&/, '&')\n }\n})\n\nPrism.languages.xml = Prism.languages.markup\nPrism.languages.html = Prism.languages.markup\nPrism.languages.mathml = Prism.languages.markup\nPrism.languages.svg = Prism.languages.markup\n\n/* **********************************************\n Begin prism-css.js\n********************************************** */\n\nPrism.languages.css = {\n comment: /\\/\\*[\\s\\S]*?\\*\\//,\n atrule: {\n pattern: /@[\\w-]+?.*?(?:;|(?=\\s*\\{))/i,\n inside: {\n rule: /@[\\w-]+/\n // See rest below\n }\n },\n url: /url\\((?:([\"'])(?:\\\\(?:\\r\\n|[\\s\\S])|(?!\\1)[^\\\\\\r\\n])*\\1|.*?)\\)/i,\n selector: /[^{}\\s][^{};]*?(?=\\s*\\{)/,\n string: {\n pattern: /(\"|')(?:\\\\(?:\\r\\n|[\\s\\S])|(?!\\1)[^\\\\\\r\\n])*\\1/,\n greedy: true\n },\n property: /[-_a-z\\xA0-\\uFFFF][-\\w\\xA0-\\uFFFF]*(?=\\s*:)/i,\n important: /\\B!important\\b/i,\n function: /[-a-z0-9]+(?=\\()/i,\n punctuation: /[(){};:]/\n}\n\nPrism.languages.css['atrule'].inside.rest = Prism.languages.css\n\nif (Prism.languages.markup) {\n Prism.languages.insertBefore('markup', 'tag', {\n style: {\n pattern: /(