Changeset 115983 in spip-zone


Ignore:
Timestamp:
Jul 17, 2019, 7:22:46 AM (4 months ago)
Author:
bruno@…
Message:

version 1.1.1 : deux bugs pour le prix d'un

  • maj de la lib littlefoot en version 2.0.3 qui permet de résoudre un bug d'afficahge du contenu des notes longues au scroll sous FF
  • éviter d'initialiser le script deux fois lors des events ajaxload cf https://contrib.spip.net/bigfoot#comment501749
Location:
_plugins_/bigfoot
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/bigfoot/bigfoot_pipelines.php

    r115607 r115983  
    2727(function($) {
    2828        var bigfoot_init = function() {
     29                if (jQuery('div.notes').is(':hidden')) {
     30                        return true; // pas a faire ou deja fait.
     31                }
    2932                littlefoot.default({
    3033                        anchorPattern: /(nb\d+(-\d+)?(footnote|appendix))/gi,
  • _plugins_/bigfoot/css/littlefoot.css

    r115607 r115983  
    1 .littlefoot-footnote__button{-webkit-font-smoothing:antialiased;backface-visibility:hidden;background-color:rgba(110,110,110,0.2);border-radius:.5em;border:0;box-sizing:border-box;color:rgba(110,110,110,0.5);cursor:pointer;display:inline-block;font-size:.9em;font-weight:bold;height:1em;line-height:1;margin:0 .1em 0 .2em;min-width:1.5em;padding:0 .5em;position:relative;text-decoration:none;top:-.1em;transition-duration:.25s;transition-property:background-color color;transition-timing-function:ease;vertical-align:middle;z-index:5}.littlefoot-footnote__button:hover,.littlefoot-footnote__button:focus{background-color:rgba(110,110,110,0.5);color:white}.littlefoot-footnote__button:active{background-color:rgba(110,110,110,0.5);color:white}.littlefoot-footnote__button.is-active{background-color:#6e6e6e;color:white;transition-delay:.1s}.littlefoot-footnote__button::after{clear:both;content:'';display:table}.littlefoot-footnote__button__ellipsis{padding:.35em .5em}.littlefoot-footnote__button__ellipsis svg{float:left;height:.3em}.littlefoot-footnote__button__number::after{color:rgba(110,110,110,0.5);content:attr(data-footnote-number);display:block;font-size:.9em;font-weight:bold;left:50%;padding:.35em .5em;position:absolute;top:50%;transform:translate(-50%, -50%);transition-duration:.25s;transition-property:background-color color;transition-timing-function:ease}.littlefoot-footnote__button__number:hover::after,.littlefoot-footnote__button__number.is-active::after{color:white}.littlefoot-footnote__button__number svg{display:none}.littlefoot-footnote__host{display:inline-block;position:relative;text-indent:0}@media not print{.footnote-print-only{display:none !important}}@media print{.littlefoot-footnote,.littlefoot-footnote__button{display:none !important}}.littlefoot-footnote{background:#fafafa;border-radius:.5em;border:1px solid #c3c3c3;box-shadow:0 0 8px rgba(0,0,0,0.3);box-sizing:border-box;display:inline-block;left:0;line-height:0;margin:2.01924em 0;max-width:90%;opacity:0;position:absolute;top:0;transform-origin:50% 0;transform:scale(0.1) translateZ(0);transition-duration:.25s;transition-property:opacity,transform;transition-timing-function:ease;z-index:10}.littlefoot-footnote.is-positioned-top{bottom:0;top:auto}.littlefoot-footnote.is-active{opacity:.97;transform:scale(1) translateZ(0)}.littlefoot-footnote.is-scrollable::after{content:'';position:absolute;bottom:.3375em;left:.3375em;z-index:14;display:block;height:.78125em;width:.625em;background-image:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTJweCIgaGVpZ2h0PSIxNXB4IiB2aWV3Qm94PSIwIDAgMTIgMTUiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgcHJlc2VydmVBc3BlY3RSYXRpbz0ieE1pbllNaW4iPgogICAgPGcgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPGcgaWQ9IkFycm93IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxLjAwMDAwMCwgMS4wMDAwMDApIiBzdHJva2U9ImJsYWNrIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJzcXVhcmUiPgogICAgICAgICAgICA8cGF0aCBkPSJNNSwwIEw1LDExLjUiIGlkPSJMaW5lIj48L3BhdGg+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik0wLjUsNy41IEw1LjAyNzY5Mjc5LDEyLjAyNzY5MjgiIGlkPSJMaW5lIj48L3BhdGg+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik00LjUsNy41IEw5LjAyNzY5Mjc5LDEyLjAyNzY5MjgiIGlkPSJMaW5lLTIiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDcuMDAwMDAwLCAxMC4wMDAwMDApIHNjYWxlKC0xLCAxKSB0cmFuc2xhdGUoLTcuMDAwMDAwLCAtMTAuMDAwMDAwKSAiPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPgo=");background-size:cover;opacity:.1;transition-property:opacity;transition-duration:.25s;transition-timing-function:ease}.littlefoot-footnote.is-scrollable .littlefoot-footnote__wrapper::before,.littlefoot-footnote.is-scrollable .littlefoot-footnote__wrapper::after{content:'';left:0;position:absolute;width:100%;z-index:12}.littlefoot-footnote.is-scrollable .littlefoot-footnote__wrapper::before{background-image:linear-gradient(to bottom, #fafafa 50%, rgba(250,250,250,0) 100%);border-radius:.5em .5em 0 0;height:1.1em;top:-1px}.littlefoot-footnote.is-scrollable .littlefoot-footnote__wrapper::after{background-image:linear-gradient(to top, #fafafa 50%, rgba(250,250,250,0) 100%);border-radius:0 0 .5em .5em;bottom:-1px;height:1.2em}.littlefoot-footnote.is-scrollable ::-webkit-scrollbar{display:none}.littlefoot-footnote.is-fully-scrolled::after,.littlefoot-footnote.is-fully-scrolled::before{opacity:0;transition-delay:0}@media (max-width: 720px){.littlefoot-footnote{border-radius:0;border-width:1px 0 0;bottom:0;left:0 !important;margin:0;opacity:1;position:fixed;right:auto;top:auto;transform:translateY(100%);transition:transform 0.3s ease;width:100%}.littlefoot-footnote.is-active{transform:translateY(0)}.littlefoot-footnote .littlefoot-footnote__wrapper{margin:0;max-width:100% !important;transform:none;width:100%}.littlefoot-footnote .littlefoot-footnote__wrapper,.littlefoot-footnote .littlefoot-footnote__content{border-radius:0}.littlefoot-footnote .littlefoot-footnote__tooltip{display:none}}.littlefoot-footnote__wrapper{background-color:#fafafa;border-radius:.5em;box-sizing:inherit;display:inline-block;line-height:0;margin:0;overflow:hidden;position:relative;width:22em;z-index:14}.littlefoot-footnote__content{-webkit-font-smoothing:subpixel-antialiased;-webkit-overflow-scrolling:touch;background:#fafafa;border-radius:.5em;box-sizing:inherit;display:inline-block;line-height:normal;font-size:initial;font-weight:initial;max-height:15em;overflow:auto;padding:1.1em 1.3em 1.2em;position:relative;z-index:8}.littlefoot-footnote__content img{max-width:100%}.littlefoot-footnote__content *:first-child{margin-top:0}.littlefoot-footnote__content *:last-child{margin-bottom:0}.littlefoot-footnote__tooltip{background:#fafafa;border-top-left-radius:0;border:1px solid #c3c3c3;box-shadow:0 0 8px rgba(0,0,0,0.3);box-sizing:border-box;height:1.3em;margin-left:-0.65em;position:absolute;transform:rotate(45deg);width:1.3em;z-index:12}.is-positioned-bottom .littlefoot-footnote__tooltip{top:-0.65em}.is-positioned-top .littlefoot-footnote__tooltip{bottom:-0.65em}
     1.littlefoot-footnote__button{-webkit-font-smoothing:antialiased;backface-visibility:hidden;background-color:rgba(110,110,110,0.2);border-radius:.5em;border:0;box-sizing:border-box;color:rgba(110,110,110,0.5);cursor:pointer;display:inline-block;font-size:.9em;font-weight:bold;height:1em;line-height:1;margin:0 .1em 0 .2em;min-width:1.5em;padding:0 .5em;position:relative;text-decoration:none;top:-.1em;transition-duration:.25s;transition-property:background-color color;transition-timing-function:ease;vertical-align:middle;z-index:5}.littlefoot-footnote__button:hover,.littlefoot-footnote__button:focus{background-color:rgba(110,110,110,0.5);color:white}.littlefoot-footnote__button:active{background-color:rgba(110,110,110,0.5);color:white}.littlefoot-footnote__button.is-active{background-color:#6e6e6e;color:white;transition-delay:.1s}.littlefoot-footnote__button::after{clear:both;content:'';display:table}.littlefoot-footnote__button__ellipsis{padding:.35em .5em}.littlefoot-footnote__button__ellipsis svg{float:left;height:.3em}.littlefoot-footnote__button__number::after{color:rgba(110,110,110,0.5);content:attr(data-footnote-number);display:block;font-size:.9em;font-weight:bold;left:50%;padding:.35em .5em;position:absolute;top:50%;transform:translate(-50%, -50%);transition-duration:.25s;transition-property:background-color color;transition-timing-function:ease}.littlefoot-footnote__button__number:hover::after,.littlefoot-footnote__button__number.is-active::after{color:white}.littlefoot-footnote__button__number svg{display:none}.littlefoot-footnote__host{display:inline-block;position:relative;text-indent:0}@media not print{.footnote-print-only{display:none !important}}@media print{.littlefoot-footnote,.littlefoot-footnote__button{display:none !important}}.littlefoot-footnote{background:#fafafa;border-radius:.5em;border:1px solid #c3c3c3;box-shadow:0 0 8px rgba(0,0,0,0.3);box-sizing:border-box;display:inline-block;left:0;line-height:0;margin:2.01924em 0;max-width:90%;opacity:0;position:absolute;top:0;transform-origin:50% 0;transform:scale(0.1) translateZ(0);transition-duration:.25s;transition-property:opacity,transform;transition-timing-function:ease;z-index:10}.littlefoot-footnote.is-positioned-top{bottom:0;top:auto}.littlefoot-footnote.is-active{opacity:.97;transform:scale(1) translateZ(0)}.littlefoot-footnote.is-scrollable::after{content:'';position:absolute;bottom:.3375em;left:.3375em;z-index:14;display:block;height:.78125em;width:.625em;background-image:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTJweCIgaGVpZ2h0PSIxNXB4IiB2aWV3Qm94PSIwIDAgMTIgMTUiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgcHJlc2VydmVBc3BlY3RSYXRpbz0ieE1pbllNaW4iPgogICAgPGcgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPGcgaWQ9IkFycm93IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxLjAwMDAwMCwgMS4wMDAwMDApIiBzdHJva2U9ImJsYWNrIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJzcXVhcmUiPgogICAgICAgICAgICA8cGF0aCBkPSJNNSwwIEw1LDExLjUiIGlkPSJMaW5lIj48L3BhdGg+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik0wLjUsNy41IEw1LjAyNzY5Mjc5LDEyLjAyNzY5MjgiIGlkPSJMaW5lIj48L3BhdGg+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik00LjUsNy41IEw5LjAyNzY5Mjc5LDEyLjAyNzY5MjgiIGlkPSJMaW5lLTIiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDcuMDAwMDAwLCAxMC4wMDAwMDApIHNjYWxlKC0xLCAxKSB0cmFuc2xhdGUoLTcuMDAwMDAwLCAtMTAuMDAwMDAwKSAiPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPgo=");background-size:cover;opacity:.1;transition-property:opacity;transition-duration:.25s;transition-timing-function:ease}.littlefoot-footnote.is-scrollable .littlefoot-footnote__wrapper::before,.littlefoot-footnote.is-scrollable .littlefoot-footnote__wrapper::after{content:'';left:0;position:absolute;width:100%;z-index:12}.littlefoot-footnote.is-scrollable .littlefoot-footnote__wrapper::before{background-image:linear-gradient(to bottom, #fafafa 50%, rgba(250,250,250,0) 100%);border-radius:.5em .5em 0 0;height:1.1em;top:-1px}.littlefoot-footnote.is-scrollable .littlefoot-footnote__wrapper::after{background-image:linear-gradient(to top, #fafafa 50%, rgba(250,250,250,0) 100%);border-radius:0 0 .5em .5em;bottom:-1px;height:1.2em}.littlefoot-footnote.is-scrollable ::-webkit-scrollbar{display:none}.littlefoot-footnote.is-fully-scrolled::after,.littlefoot-footnote.is-fully-scrolled::before{opacity:0;transition-delay:0}@media (max-width: 720px){.littlefoot-footnote{border-radius:0;border-width:1px 0 0;bottom:0;left:0 !important;margin:0;opacity:1;position:fixed;right:auto;top:auto;transform:translateY(100%);transition:transform 0.3s ease;width:100%}.littlefoot-footnote.is-active{transform:translateY(0)}.littlefoot-footnote .littlefoot-footnote__wrapper{margin:0;max-width:100% !important;transform:none;width:100%}.littlefoot-footnote .littlefoot-footnote__wrapper,.littlefoot-footnote .littlefoot-footnote__content{border-radius:0}.littlefoot-footnote .littlefoot-footnote__tooltip{display:none}}.littlefoot-footnote__wrapper{background-color:#fafafa;border-radius:.5em;box-sizing:inherit;display:inline-block;line-height:0;margin:0;overflow:hidden;position:relative;width:22em;z-index:14}.littlefoot-footnote__content{-webkit-font-smoothing:subpixel-antialiased;-webkit-overflow-scrolling:touch;background:#fafafa;border-radius:.5em;box-sizing:inherit;display:inline-block;line-height:normal;font-size:initial;font-weight:initial;max-height:15em;overflow:auto;padding:1.1em 1.3em 1.2em;position:relative;z-index:8}.littlefoot-footnote__content img{max-width:100%}.littlefoot-footnote__content *:first-child{margin-top:0}.littlefoot-footnote__content *:last-child{margin-bottom:0}.is-scrollable .littlefoot-footnote__content{padding-bottom:0}.is-scrollable .littlefoot-footnote__content *:last-child{margin-bottom:1.2em}.littlefoot-footnote__tooltip{background:#fafafa;border-top-left-radius:0;border:1px solid #c3c3c3;box-shadow:0 0 8px rgba(0,0,0,0.3);box-sizing:border-box;height:1.3em;margin-left:-0.65em;position:absolute;transform:rotate(45deg);width:1.3em;z-index:12}.is-positioned-bottom .littlefoot-footnote__tooltip{top:-0.65em}.is-positioned-top .littlefoot-footnote__tooltip{bottom:-0.65em}
    22
    33/* persos */
  • _plugins_/bigfoot/javascript/littlefoot.js

    r115607 r115983  
    1 !function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).littlefoot=e()}}(function(){var e=function(e){return e&&e.__esModule?e:{default:e}},t=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},n={};Object.defineProperty(n,"__esModule",{value:!0}),n.createCore=function(e,t){var n=function(e,t){return function(n){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t.activateDelay,r=t.activateCallback;n.isChanging()||(n.startChanging(),n.activate(r),e.forEachFootnote(function(e){e.reposition(),e.resize()}),setTimeout(function(){n.ready(),n.stopChanging()},o))}}(e,t),o=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.dismissDelay;t.isChanging()||(t.startChanging(),t.dismiss(),setTimeout(function(){t.remove(),t.stopChanging()},n))}}(t);return{findFootnote:e.findFootnote,unmount:e.unmount,activate:n,dismiss:o,dismissAll:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t.dismissDelay;e.forEachFootnote(function(e){return o(e,n)})},repositionAll:function(){e.forEachFootnote(function(e){return e.reposition()})},resizeAll:function(){e.forEachFootnote(function(e){return e.resize()})},toggle:function(r){var i=t.allowMultiple;r.isActive()?o(r):(i||e.forEachFootnoteExcept(o,r),n(r))},hover:function(r){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t.hoverDelay,a=t.activateOnHover,u=t.allowMultiple;r.startHovering(),a&&!r.isActive()&&(u||e.forEachFootnoteExcept(o,r),n(r,i))},unhover:function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t.hoverDelay,i=t.dismissOnUnhover;n.stopHovering(),i&&setTimeout(function(){e.hasHoveredFootnotes()||e.forEachFootnote(o)},r)}}};var o={};Object.defineProperty(o,"__esModule",{value:!0}),o.getStyle=function(e,t){var n=(e.ownerDocument&&e.ownerDocument.defaultView||window).getComputedStyle(e);return n.getPropertyValue(t)||n[t]};var r={};Object.defineProperty(r,"__esModule",{value:!0});function i(e){return e?o.getStyle(e,"fontSize")||i(e.parentElement):o.getStyle(window.document.documentElement,"fontSize")}r.pixels=function e(t,n){var o=n&&n.ownerDocument&&n.ownerDocument.defaultView||window,r=o.document.documentElement||o.document.body,a=function(e){var t=e||"0",n=parseFloat(t),o=t.match(/[\d-.]+(\w+)$/);return[n,(o&&o.length>1?o[1]:"").toLowerCase()]}(t),u=a[0];switch(a[1]){case"rem":return u*e(i(window.document.documentElement));case"em":return u*e(i(n),n&&n.parentElement);case"in":return 96*u;case"q":return 96*u/25.4/4;case"mm":return 96*u/25.4;case"cm":return 96*u*10/25.4;case"pt":return 96*u/72;case"pc":return 96*u/6;case"vh":return(u*o.innerHeight||r.clientWidth)/100;case"vw":return(u*o.innerWidth||r.clientHeight)/100;case"vmin":return u*Math.min(o.innerWidth||r.clientWidth,o.innerHeight||r.clientHeight)/100;case"vmax":return u*Math.max(o.innerWidth||r.clientWidth,o.innerHeight||r.clientHeight)/100;default:return u}};var a={};(function(e){var t="Expected a function",n=NaN,o="[object Symbol]",r=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,c=/^0o[0-7]+$/i,l=parseInt,s="object"==typeof e&&e&&e.Object===Object&&e,f="object"==typeof self&&self&&self.Object===Object&&self,d=s||f||Function("return this")(),p=Object.prototype.toString,v=Math.max,h=Math.min,g=function(){return d.Date.now()};function m(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function y(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&p.call(e)==o}(e))return n;if(m(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=m(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(r,"");var a=u.test(e);return a||c.test(e)?l(e.slice(2),a?2:8):i.test(e)?n:+e}a=function(e,n,o){var r=!0,i=!0;if("function"!=typeof e)throw new TypeError(t);return m(o)&&(r="leading"in o?!!o.leading:r,i="trailing"in o?!!o.trailing:i),function(e,n,o){var r,i,a,u,c,l,s=0,f=!1,d=!1,p=!0;if("function"!=typeof e)throw new TypeError(t);function b(t){var n=r,o=i;return r=i=void 0,s=t,u=e.apply(o,n)}function w(e){var t=e-l;return void 0===l||t>=n||t<0||d&&e-s>=a}function S(){var e=g();if(w(e))return _(e);c=setTimeout(S,function(e){var t=n-(e-l);return d?h(t,a-(e-s)):t}(e))}function _(e){return c=void 0,p&&r?b(e):(r=i=void 0,u)}function O(){var e=g(),t=w(e);if(r=arguments,i=this,l=e,t){if(void 0===c)return function(e){return s=e,c=setTimeout(S,n),f?b(e):u}(l);if(d)return c=setTimeout(S,n),b(l)}return void 0===c&&(c=setTimeout(S,n)),u}return n=y(n)||0,m(o)&&(f=!!o.leading,a=(d="maxWait"in o)?v(y(o.maxWait)||0,n):a,p="trailing"in o?!!o.trailing:p),O.cancel=function(){void 0!==c&&clearTimeout(c),s=0,r=l=i=c=void 0},O.flush=function(){return void 0===c?u:_(g())},O}(e,n,{leading:r,maxWait:n,trailing:i})}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{});var u,c={};u=function(){"use strict";function e(){if(!(this instanceof e))return new e;this.size=0,this.uid=0,this.selectors=[],this.indexes=Object.create(this.indexes),this.activeIndexes=[]}var t=window.document.documentElement,n=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.msMatchesSelector;e.prototype.matchesSelector=function(e,t){return n.call(e,t)},e.prototype.querySelectorAll=function(e,t){return t.querySelectorAll(e)},e.prototype.indexes=[];var o=/^#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/g;e.prototype.indexes.push({name:"ID",selector:function(e){var t;if(t=e.match(o))return t[0].slice(1)},element:function(e){if(e.id)return[e.id]}});var r=/^\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/g;e.prototype.indexes.push({name:"CLASS",selector:function(e){var t;if(t=e.match(r))return t[0].slice(1)},element:function(e){var t=e.className;if(t){if("string"==typeof t)return t.split(/\s/);if("object"==typeof t&&"baseVal"in t)return t.baseVal.split(/\s/)}}});var i,a=/^((?:[\w\u00c0-\uFFFF\-]|\\.)+)/g;e.prototype.indexes.push({name:"TAG",selector:function(e){var t;if(t=e.match(a))return t[0].toUpperCase()},element:function(e){return[e.nodeName.toUpperCase()]}}),e.prototype.indexes.default={name:"UNIVERSAL",selector:function(){return!0},element:function(){return[!0]}},i="function"==typeof window.Map?window.Map:function(){function e(){this.map={}}return e.prototype.get=function(e){return this.map[e+" "]},e.prototype.set=function(e,t){this.map[e+" "]=t},e}();var u=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g;function c(e,t){var n,o,r,i,a,c,l=(e=e.slice(0).concat(e.default)).length,s=t,f=[];do{if(u.exec(""),(r=u.exec(s))&&(s=r[3],r[2]||!s))for(n=0;n<l;n++)if(a=(c=e[n]).selector(r[1])){for(o=f.length,i=!1;o--;)if(f[o].index===c&&f[o].key===a){i=!0;break}i||f.push({index:c,key:a});break}}while(r);return f}function l(e,t){var n,o,r;for(n=0,o=e.length;n<o;n++)if(r=e[n],t.isPrototypeOf(r))return r}function s(e,t){return e.id-t.id}return e.prototype.logDefaultIndexUsed=function(){},e.prototype.add=function(e,t){var n,o,r,a,u,s,f,d,p=this.activeIndexes,v=this.selectors;if("string"==typeof e){for(n={id:this.uid++,selector:e,data:t},f=c(this.indexes,e),o=0;o<f.length;o++)a=(d=f[o]).key,(u=l(p,r=d.index))||((u=Object.create(r)).map=new i,p.push(u)),r===this.indexes.default&&this.logDefaultIndexUsed(n),(s=u.map.get(a))||(s=[],u.map.set(a,s)),s.push(n);this.size++,v.push(e)}},e.prototype.remove=function(e,t){if("string"==typeof e){var n,o,r,i,a,u,l,s,f=this.activeIndexes,d={},p=1===arguments.length;for(n=c(this.indexes,e),r=0;r<n.length;r++)for(o=n[r],i=f.length;i--;)if(u=f[i],o.index.isPrototypeOf(u)){if(l=u.map.get(o.key))for(a=l.length;a--;)(s=l[a]).selector!==e||!p&&s.data!==t||(l.splice(a,1),d[s.id]=!0);break}this.size-=Object.keys(d).length}},e.prototype.queryAll=function(e){if(!this.selectors.length)return[];var t,n,o,r,i,a,u,c,l={},f=[],d=this.querySelectorAll(this.selectors.join(", "),e);for(t=0,o=d.length;t<o;t++)for(i=d[t],n=0,r=(a=this.matches(i)).length;n<r;n++)l[(c=a[n]).id]?u=l[c.id]:(u={id:c.id,selector:c.selector,data:c.data,elements:[]},l[c.id]=u,f.push(u)),u.elements.push(i);return f.sort(s)},e.prototype.matches=function(e){if(!e)return[];var t,n,o,r,i,a,u,c,l,f,d,p=this.activeIndexes,v={},h=[];for(t=0,r=p.length;t<r;t++)if(c=(u=p[t]).element(e))for(n=0,i=c.length;n<i;n++)if(l=u.map.get(c[n]))for(o=0,a=l.length;o<a;o++)!v[d=(f=l[o]).id]&&this.matchesSelector(e,f.selector)&&(v[d]=!0,h.push(f));return h.sort(s)},e},"object"==typeof c?c=u():this.SelectorSet=u();var l,s={exports:{}};l=function(e,t){"use strict";t=t&&t.hasOwnProperty("default")?t.default:t;var n={},o={},r=new WeakMap,i=new WeakMap,a=new WeakMap,u=Object.getOwnPropertyDescriptor(Event.prototype,"currentTarget");function c(e,t,n){var o=e[t];return e[t]=function(){return n.apply(e,arguments),o.apply(e,arguments)},e}function l(){r.set(this,!0)}function s(){r.set(this,!0),i.set(this,!0)}function f(){return a.get(this)||null}function d(e,t){u&&Object.defineProperty(e,"currentTarget",{configurable:!0,enumerable:!0,get:t||u.get})}function p(e){var t=(1===e.eventPhase?o:n)[e.type];if(t){var u=function(e,t,n){var o=[],r=t;do{if(1!==r.nodeType)break;var i=e.matches(r);if(i.length){var a={node:r,observers:i};n?o.unshift(a):o.push(a)}}while(r=r.parentElement);return o}(t,e.target,1===e.eventPhase);if(u.length){c(e,"stopPropagation",l),c(e,"stopImmediatePropagation",s),d(e,f);for(var p=0,v=u.length;p<v&&!r.get(e);p++){var h=u[p];a.set(e,h.node);for(var g=0,m=h.observers.length;g<m&&!i.get(e);g++)h.observers[g].data.call(h.node,e)}a.delete(e),d(e)}}}e.on=function(e,r,i){var a=!!(arguments.length>3&&void 0!==arguments[3]?arguments[3]:{}).capture,u=a?o:n,c=u[e];c||(c=new t,u[e]=c,document.addEventListener(e,p,a)),c.add(r,i)},e.off=function(e,t,r){var i=!!(arguments.length>3&&void 0!==arguments[3]?arguments[3]:{}).capture,a=i?o:n,u=a[e];u&&(u.remove(t,r),u.size||(delete a[e],document.removeEventListener(e,p,i)))},Object.defineProperty(e,"__esModule",{value:!0})},"object"==typeof s.exports?l(s.exports,c):l(this["delegated-events"]={},this.SelectorSet),s=s.exports;var f={};Object.defineProperty(f,"__esModule",{value:!0}),f.bindContentScrollHandler=function(e){var t=(0,d.default)(m);e.addEventListener("mousewheel",t),e.addEventListener("wheel",t)},f.addEventListeners=function(e){var t,n=e.dismissAll,o=e.findFootnote,r=e.hover,i=e.repositionAll,a=e.resizeAll,u=e.toggle,c=e.unhover,l=function(e,t,n){return function(o){var r,i=(r=o.target.closest("[data-footnote-button]"))&&r.dataset.footnoteId,a=i&&e(i);a?t(a):h(o.target)||n()}}(o,u,n),f=(t=n,function(e){return"27"===e.key&&t()}),v=(0,d.default)(i),m=(0,d.default)(a),y=g(o,r),b=g(o,c);return document.addEventListener("touchend",l),document.addEventListener("click",l),document.addEventListener("keyup",f),document.addEventListener("gestureend",v),window.addEventListener("scroll",v),window.addEventListener("resize",m),(0,s.on)("mouseover",p,y),(0,s.on)("mouseout",p,b),function(){document.removeEventListener("touchend",l),document.removeEventListener("click",l),document.removeEventListener("keyup",f),document.removeEventListener("gestureend",v),window.removeEventListener("scroll",v),window.removeEventListener("resize",m),(0,s.off)("mouseover",p,y),(0,s.off)("mouseout",p,b)}},f.FOOTNOTE_SELECTOR=void 0;var d=e(a),p="[data-footnote-id]";f.FOOTNOTE_SELECTOR=p;var v="is-fully-scrolled";function h(e){return e.closest("[data-footnote-popover]")}function g(e,t){return function(n){n.preventDefault();var o,r=(o=n.target.closest(p))&&o.dataset.footnoteId,i=r&&e(r);i&&t(i)}}function m(e){var t=e.currentTarget,n=-e.deltaY,o=t.clientHeight,r=h(t);if(r&&n<=0&&n<o+t.scrollTop-t.scrollHeight)return r.classList.add(v),t.scrollTop=t.scrollHeight,void e.preventDefault();r&&n>0&&(r.classList.remove(v),t.scrollTop<n&&(t.scrollTop=0,e.preventDefault()))}var y={};Object.defineProperty(y,"__esModule",{value:!0}),y.getAvailableRoom=function(e){var t=parseFloat((0,o.getStyle)(e,"marginLeft")),n=e.offsetWidth-t,r=e.offsetHeight,i=e.getBoundingClientRect(),a=i.left+n/2,u=i.top+r/2;return{top:u,bottom:window.innerHeight-u,leftRelative:a/window.innerWidth}},y.getAvailableHeight=function(e,t){var n=O(e,t),r=parseInt((0,o.getStyle)(e,"marginTop"),10);return t[n?_:S]-r-15},y.repositionPopover=function(e,t){var n=O(e,t),o=e.dataset.footnotePosition,r=n?_:S;o!==r&&(e.dataset.footnotePosition=r,e.classList.remove("".concat(w).concat(o)),e.classList.add("".concat(w).concat(r)),e.style.transformOrigin="".concat(100*t.leftRelative,"% ").concat(n?"100%":"0"))},y.repositionTooltip=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.5,n=e.querySelector("."+b);n&&(n.style.left=100*t+"%")},y.CLASS_WRAPPER=y.CLASS_TOOLTIP=y.CLASS_CONTENT=void 0,y.CLASS_CONTENT="littlefoot-footnote__content";var b="littlefoot-footnote__tooltip";y.CLASS_TOOLTIP=b,y.CLASS_WRAPPER="littlefoot-footnote__wrapper";var w="is-positioned-",S="bottom",_="top";function O(e,t){var n=2*parseInt((0,o.getStyle)(e,"marginTop"),10)+e.offsetHeight;return t.bottom<n&&t.bottom<t.top}var E={};Object.defineProperty(E,"__esModule",{value:!0}),E.createFootnote=function(e){return{getId:function(){return e.id},activate:function(t){e.button.blur(),e.button.setAttribute("aria-expanded","true"),e.button.classList.add(j),e.button.insertAdjacentHTML("afterend",e.content),e.popover=e.button.nextElementSibling,e.popover.dataset.footnotePopover="",e.popover.dataset.footnoteId=e.id;var n=L(e.popover);e.popover.style.maxWidth="".concat(document.body.clientWidth,"px"),(0,f.bindContentScrollHandler)(n);var i=(0,o.getStyle)(n,"maxHeight");e.maxHeight=Math.round((0,r.pixels)(i,n)),"function"==typeof t&&t(e.popover,e.button)},dismiss:function(){e.button.blur(),e.button.setAttribute("aria-expanded","false"),e.button.classList.remove(j)},isActive:function(){return e.button.classList.contains(j)},isChanging:function(){return e.button.classList.contains(x)},isHovered:function(){return e.isHovered},ready:function(){e.popover&&e.popover.classList.add(j)},remove:function(){e.popover&&(e.popover.parentNode.removeChild(e.popover),delete e.popover)},reposition:function(){if(e.popover){var t=(0,y.getAvailableRoom)(e.button),n=L(e.popover),o=Math.min(e.maxHeight,(0,y.getAvailableHeight)(e.popover,t));n.style.maxHeight=o+"px",(0,y.repositionPopover)(e.popover,t),e.popover.offsetHeight<=n.scrollHeight&&e.popover.classList.add(A)}},resize:function(){if(e.popover){var t=(0,y.getAvailableRoom)(e.button),n=L(e.popover).offsetWidth,r=parseInt((0,o.getStyle)(e.button,"marginLeft"),10),i=-t.leftRelative*n+r+e.button.offsetWidth/2,a=e.popover.querySelector("."+y.CLASS_WRAPPER);e.popover.style.left=i+"px",a&&(a.style.maxWidth=n+"px"),(0,y.repositionTooltip)(e.popover,t.leftRelative)}},startChanging:function(){e.button.classList.add(x)},stopChanging:function(){e.button.classList.remove(x)},startHovering:function(){e.isHovered=!0},stopHovering:function(){e.isHovered=!1},unmount:function(){e.host.parentNode.removeChild(e.host)}}};var j="is-active",x="is-changing",A="is-scrollable";function L(e){return e.querySelector("."+y.CLASS_CONTENT)}var T=/<%=([\s\S]+?)%>/g,F={};(function(e){var t,n=/[&<>"'`]/g,o=RegExp(n.source),r="object"==typeof e&&e&&e.Object===Object&&e,i="object"==typeof self&&self&&self.Object===Object&&self,a=r||i||Function("return this")(),u=(t={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","`":"&#96;"},function(e){return null==t?void 0:t[e]}),c=Object.prototype.toString,l=a.Symbol,s=l?l.prototype:void 0,f=s?s.toString:void 0;F={escape:/<%-([\s\S]+?)%>/g,evaluate:/<%([\s\S]+?)%>/g,interpolate:T,variable:"",imports:{_:{escape:function(e){return(e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==c.call(e)}(e))return f?f.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(t))&&o.test(e)?e.replace(n,u):e;var t}}}}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{});var P={};(function(e){var t=1/0,n=9007199254740991,o="[object Arguments]",r="[object Error]",i="[object Function]",a="[object GeneratorFunction]",u="[object Symbol]",c=/\b__p \+= '';/g,l=/\b(__p \+=) '' \+/g,s=/(__e\(.*?\)|\b__t\)) \+\n'';/g,f=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,d=/^(?:0|[1-9]\d*)$/,p=/($^)/,v=/['\n\r\u2028\u2029\\]/g,h={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},g="object"==typeof e&&e&&e.Object===Object&&e,m="object"==typeof self&&self&&self.Object===Object&&self,y=g||m||Function("return this")();function b(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function w(e){return"\\"+h[e]}var S,_,O=Object.prototype,E=O.hasOwnProperty,j=O.toString,x=y.Symbol,A=O.propertyIsEnumerable,L=(S=Object.keys,_=Object,function(e){return S(_(e))}),C=Math.max,H=x?x.prototype:void 0,M=H?H.toString:void 0;function R(e,t){var n=$(e)||function(e){return function(e){return G(e)&&U(e)}(e)&&E.call(e,"callee")&&(!A.call(e,"callee")||j.call(e)==o)}(e)?function(e,t){for(var n=-1,o=Array(e);++n<e;)o[n]=t(n);return o}(e.length,String):[],r=n.length,i=!!r;for(var a in e)!t&&!E.call(e,a)||i&&("length"==a||k(a,r))||n.push(a);return n}function I(e,t,n,o){return void 0===e||q(e,O[n])&&!E.call(o,n)?t:e}function D(e,t,n){var o=e[t];E.call(e,t)&&q(o,n)&&(void 0!==n||t in e)||(e[t]=n)}function W(e,t){return t=C(void 0===t?e.length-1:t,0),function(){for(var n=arguments,o=-1,r=C(n.length-t,0),i=Array(r);++o<r;)i[o]=n[t+o];o=-1;for(var a=Array(t+1);++o<t;)a[o]=n[o];return a[t]=i,b(e,this,a)}}function k(e,t){return!!(t=null==t?n:t)&&("number"==typeof e||d.test(e))&&e>-1&&e%1==0&&e<t}function N(e,t,n){if(!B(n))return!1;var o=typeof t;return!!("number"==o?U(n)&&k(t,n.length):"string"==o&&t in n)&&q(n[t],e)}function z(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||O)}function q(e,t){return e===t||e!=e&&t!=t}var $=Array.isArray;function U(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=n}(e.length)&&!function(e){var t=B(e)?j.call(e):"";return t==i||t==a}(e)}function V(e){return!!G(e)&&(j.call(e)==r||"string"==typeof e.message&&"string"==typeof e.name)}function B(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function G(e){return!!e&&"object"==typeof e}var Y,J=(Y=function(e,t,n,o){!function(e,t,n,o){n||(n={});for(var r=-1,i=t.length;++r<i;){var a=t[r],u=o?o(n[a],e[a],a,n,e):void 0;D(n,a,void 0===u?e[a]:u)}}(t,function(e){return U(e)?R(e,!0):function(e){if(!B(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=z(e),n=[];for(var o in e)("constructor"!=o||!t&&E.call(e,o))&&n.push(o);return n}(e)}(t),e,o)},W(function(e,t){var n=-1,o=t.length,r=o>1?t[o-1]:void 0,i=o>2?t[2]:void 0;for(r=Y.length>3&&"function"==typeof r?(o--,r):void 0,i&&N(t[0],t[1],i)&&(r=o<3?void 0:r,o=1),e=Object(e);++n<o;){var a=t[n];a&&Y(e,a,0,r)}return e}));var K=W(function(e,t){try{return b(e,void 0,t)}catch(n){return V(n)?n:new Error(n)}});P=function(e,n,o){var r,i=F.imports._.templateSettings||F;o&&N(e,n,o)&&(n=void 0),e=null==(r=e)?"":function(e){if("string"==typeof e)return e;if(function(e){return"symbol"==typeof e||G(e)&&j.call(e)==u}(e))return M?M.call(e):"";var n=e+"";return"0"==n&&1/e==-t?"-0":n}(r),n=J({},n,i,I);var a,d,h,g=J({},n.imports,i.imports,I),m=U(h=g)?R(h):function(e){if(!z(e))return L(e);var t=[];for(var n in Object(e))E.call(e,n)&&"constructor"!=n&&t.push(n);return t}(h),y=function(e,t){return function(t,n){for(var o=-1,r=t?t.length:0,i=Array(r);++o<r;)i[o]=(a=t[o],e[a]);var a;return i}(t)}(g,m),b=0,S=n.interpolate||p,_="__p += '",O=RegExp((n.escape||p).source+"|"+S.source+"|"+(S===T?f:p).source+"|"+(n.evaluate||p).source+"|$","g"),x="sourceURL"in n?"//# sourceURL="+n.sourceURL+"\n":"";e.replace(O,function(t,n,o,r,i,u){return o||(o=r),_+=e.slice(b,u).replace(v,w),n&&(a=!0,_+="' +\n__e("+n+") +\n'"),i&&(d=!0,_+="';\n"+i+";\n__p += '"),o&&(_+="' +\n((__t = ("+o+")) == null ? '' : __t) +\n'"),b=u+t.length,t}),_+="';\n";var A=n.variable;A||(_="with (obj) {\n"+_+"\n}\n"),_=(d?_.replace(c,""):_).replace(l,"$1").replace(s,"$1;"),_="function("+(A||"obj")+") {\n"+(A?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(a?", __e = _.escape":"")+(d?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+_+"return __p\n}";var P=K(function(){return Function(m,x+"return "+_).apply(void 0,y)});if(P.source=_,V(P))throw P;return P}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{});var C={};Object.defineProperty(C,"__esModule",{value:!0}),C.restoreOriginalFootnotes=function(){Array.from(document.querySelectorAll("."+R)).forEach(function(e){return e.classList.remove(R)})},C.createDocumentFootnotes=function(e){var t,n,o,r,i,a,u,c,l,s,d,p=e.buttonTemplate,v=e.contentTemplate,h=e.numberResetSelector,g=(n=(t=document.querySelectorAll(f.FOOTNOTE_SELECTOR)).length?t[t.length-1].dataset.footnoteId:"0",1+parseInt(n,10));return(c=e,l=c.anchorPattern,s=c.scope,d=void 0===s?"":s,Array.from(document.querySelectorAll(d+' a[href^="#"]')).filter(function(e){return(e.href+e.rel).match(l)})).map((o=e,r=o.allowDuplicates,i=o.anchorParentSelector,a=o.footnoteSelector,u=[],function(e){var t=e.href.split("#"),n=(0,H.default)(t,2),o="#"+(n[0],n[1]).replace(/[:.+~*[\]]/g,"\\$&"),c=Array.from(document.querySelectorAll(o)).find(function(e){return r||!u.includes(e)}),l=c&&c.closest(a);if(l)return u.push(l),[e.closest(i)||e,l]})).filter(W).map(q).map(z(g)).map(h?N(h):function(e){return e}).map(function(e,t){var n=(0,M.default)(e),o=(0,M.default)(t);return function(e,t){var r=(0,H.default)(e,3),i=r[0],a=r[1],u=r[2],c="".concat(t+1),l={number:u,id:c,content:k(a.innerHTML,i.id),reference:i.id},s=o(l);i.insertAdjacentHTML("beforebegin",'<span class="'.concat(I,'">').concat(n(l),"</span>"));var f=i.previousElementSibling,d=f.firstElementChild;return d.dataset.footnoteButton="",d.dataset.footnoteId=c,d.dataset.footnoteNumber="".concat(u),{id:c,button:d,host:f,content:s,isHovered:!1,maxHeight:0}}}(p,v))};var H=e(function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],o=!0,r=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(o=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);o=!0);}catch(c){r=!0,i=c}finally{try{o||null==u.return||u.return()}finally{if(r)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}),M=e(P),R="footnote-print-only",I="littlefoot-footnote__host",D=function(e){return e.classList.add(R)};function W(e){return void 0!==e}function k(e,t){var n=t.trim().replace(/\s+/g,"|"),o=new RegExp("(\\s|&nbsp;)*<\\s*a[^#<]*#("+n+")[^>]*>(.*?)<\\s*/\\s*a>","g"),r=e.trim().replace(o,"").replace("[]","");return r.startsWith("<")?r:"<p>"+r+"</p>"}var N=function(e){return function(t,n,o){var r=(0,H.default)(t,3),i=r[0],a=r[1],u=r[2],c=u?o[u-1][2]:0;return[i,a,i.closest(e)?1:c+1]}},z=function(e){return function(t,n){var o=(0,H.default)(t,2);return[o[0],o[1],e+n]}};function q(e){var t=(0,H.default)(e,2),n=t[0],o=t[1];return D(n),D(o),function e(t){var n,o,r=(n=t,o=":not(.".concat(R,")"),Array.from(n.children).filter(function(e){return 8!==e.nodeType&&(!o||e.matches(o))})),i=r.filter(function(e){return"HR"===e.tagName});r.length===i.length&&(i.concat(t).forEach(D),e(t.parentNode))}(o.parentElement),[n,o]}var $={};Object.defineProperty($,"__esModule",{value:!0}),$.createAdapter=function(e){var t=(0,C.createDocumentFootnotes)(e).map(E.createFootnote);return{findFootnote:function(e){return t.find(function(t){return t.getId()===e})},forEachFootnote:function(e){t.forEach(e)},forEachFootnoteExcept:function(e,n){var o=n.getId();t.filter(function(e){return e.getId()!==o}).forEach(e)},hasHoveredFootnotes:function(){return t.some(function(e){return e.isHovered()})},unmount:function(){t.forEach(function(e){return e.unmount()}),(0,C.restoreOriginalFootnotes)()}}};var U={};Object.defineProperty(U,"__esModule",{value:!0}),U.littlefoot=G,U.default=void 0;var V=e(function(e){for(var n=1;n<arguments.length;n++){var o=null!=arguments[n]?arguments[n]:{},r=Object.keys(o);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(o).filter(function(e){return Object.getOwnPropertyDescriptor(o,e).enumerable}))),r.forEach(function(n){t(e,n,o[n])})}return e}),B={activateDelay:100,activateOnHover:!1,allowDuplicates:!0,allowMultiple:!1,anchorParentSelector:"sup",anchorPattern:/(fn|footnote|note)[:\-_\d]/gi,dismissDelay:100,dismissOnUnhover:!1,footnoteSelector:"li",hoverDelay:250,contentTemplate:'<aside class="littlefoot-footnote" id="fncontent:<%= id %>" alt="Footnote <%= number %>" aria-live="polite"><div class="'.concat(y.CLASS_WRAPPER,'"><div class="').concat(y.CLASS_CONTENT,'" tabindex="0"><%= content %></div></div><div class="').concat(y.CLASS_TOOLTIP,'"></div></aside>'),buttonTemplate:'<button class="littlefoot-footnote__button littlefoot-footnote__button__ellipsis" id="<%= reference %>" title="See Footnote <%= number %>" aria-controls="fncontent:<%= id %>" aria-expanded="false" aria-label="Footnote <%= number %>" rel="footnote"><svg viewbox="0 0 31 6" preserveAspectRatio="xMidYMid"><circle r="3" cx="3" cy="3" fill="white"></circle><circle r="3" cx="15" cy="3" fill="white"></circle><circle r="3" cx="27" cy="3" fill="white"></circle></svg></button>'};function G(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,V.default)({},B,e),o=(0,$.createAdapter)(t),r=(0,n.createCore)(o,t),i=(0,f.addEventListeners)(r);return{activate:function(e){var t=r.findFootnote(e);t&&r.activate(t)},dismiss:function(e,t){var n=e&&r.findFootnote(e);n?r.dismiss(n,t):r.dismissAll(t)},unmount:function(){i(),r.unmount()},getSetting:function(e){return t[e]},updateSetting:function(e,n){t[e]=n}}}var Y=G;return U.default=Y,U});
     1!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).littlefoot=e()}}(function(){var e=function(e){return e&&e.__esModule?e:{default:e}},t={};Object.defineProperty(t,"__esModule",{value:!0}),t.createCore=function(e,t){var n=function(e,t){return function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t.activateDelay,o=t.activateCallback;n.isChanging()||(n.startChanging(),n.activate(o),e.footnotes().forEach(function(e){e.reposition(),e.resize()}),setTimeout(function(){n.ready(),n.stopChanging()},r))}}(e,t),r=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.dismissDelay;t.isChanging()||(t.startChanging(),t.dismiss(),setTimeout(function(){t.remove(),t.stopChanging()},n))}}(t);return{activate:n,dismiss:r,findById:function(t){return e.footnotes().find(function(e){return e.getId()===t})},unmount:e.unmount,dismissAll:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t.dismissDelay;e.footnotes().forEach(function(e){return r(e,n)})},repositionAll:function(){e.footnotes().forEach(function(e){return e.reposition()})},resizeAll:function(){e.footnotes().forEach(function(e){return e.resize()})},toggle:function(o){var i=t.allowMultiple;o.isActive()?r(o):(i||e.footnotes().filter(function(e){return e.getId()!==o.getId()}).forEach(r),n(o))},hover:function(o){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t.hoverDelay,a=t.activateOnHover,u=t.allowMultiple;o.startHovering(),a&&!o.isActive()&&(u||e.footnotes().filter(function(e){return e.getId()!==o.getId()}).forEach(r),n(o,i))},unhover:function(n){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t.hoverDelay,i=t.dismissOnUnhover;n.stopHovering(),i&&setTimeout(function(){e.footnotes().some(function(e){return e.isHovered()})||e.footnotes().forEach(r)},o)}}};var n={};Object.defineProperty(n,"__esModule",{value:!0}),n.getStyle=function(e,t){var n=(e.ownerDocument&&e.ownerDocument.defaultView||window).getComputedStyle(e);return n.getPropertyValue(t)||n[t]};var r={};Object.defineProperty(r,"__esModule",{value:!0});function o(e){return e?n.getStyle(e,"fontSize")||o(e.parentElement):n.getStyle(window.document.documentElement,"fontSize")}r.pixels=function e(t,n){var r=n&&n.ownerDocument&&n.ownerDocument.defaultView||window,i=r.document.documentElement||r.document.body,a=function(e){var t=e||"0",n=parseFloat(t),r=t.match(/[\d-.]+(\w+)$/);return[n,(r&&r.length>1?r[1]:"").toLowerCase()]}(t),u=a[0];switch(a[1]){case"rem":return u*e(o(window.document.documentElement));case"em":return u*e(o(n),n&&n.parentElement);case"in":return 96*u;case"q":return 96*u/25.4/4;case"mm":return 96*u/25.4;case"cm":return 96*u*10/25.4;case"pt":return 96*u/72;case"pc":return 96*u/6;case"vh":return(u*r.innerHeight||i.clientWidth)/100;case"vw":return(u*r.innerWidth||i.clientHeight)/100;case"vmin":return u*Math.min(r.innerWidth||i.clientWidth,r.innerHeight||i.clientHeight)/100;case"vmax":return u*Math.max(r.innerWidth||i.clientWidth,r.innerHeight||i.clientHeight)/100;default:return u}};var i={};(function(e){var t="Expected a function",n=NaN,r="[object Symbol]",o=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,c=/^0o[0-7]+$/i,l=parseInt,f="object"==typeof e&&e&&e.Object===Object&&e,s="object"==typeof self&&self&&self.Object===Object&&self,d=f||s||Function("return this")(),p=Object.prototype.toString,v=Math.max,h=Math.min,g=function(){return d.Date.now()};function y(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function b(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&p.call(e)==r}(e))return n;if(y(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=y(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(o,"");var i=u.test(e);return i||c.test(e)?l(e.slice(2),i?2:8):a.test(e)?n:+e}i=function(e,n,r){var o=!0,i=!0;if("function"!=typeof e)throw new TypeError(t);return y(r)&&(o="leading"in r?!!r.leading:o,i="trailing"in r?!!r.trailing:i),function(e,n,r){var o,i,a,u,c,l,f=0,s=!1,d=!1,p=!0;if("function"!=typeof e)throw new TypeError(t);function m(t){var n=o,r=i;return o=i=void 0,f=t,u=e.apply(r,n)}function j(e){var t=e-l;return void 0===l||t>=n||t<0||d&&e-f>=a}function w(){var e=g();if(j(e))return O(e);c=setTimeout(w,function(e){var t=n-(e-l);return d?h(t,a-(e-f)):t}(e))}function O(e){return c=void 0,p&&o?m(e):(o=i=void 0,u)}function _(){var e=g(),t=j(e);if(o=arguments,i=this,l=e,t){if(void 0===c)return function(e){return f=e,c=setTimeout(w,n),s?m(e):u}(l);if(d)return c=setTimeout(w,n),m(l)}return void 0===c&&(c=setTimeout(w,n)),u}return n=b(n)||0,y(r)&&(s=!!r.leading,a=(d="maxWait"in r)?v(b(r.maxWait)||0,n):a,p="trailing"in r?!!r.trailing:p),_.cancel=function(){void 0!==c&&clearTimeout(c),f=0,o=l=i=c=void 0},_.flush=function(){return void 0===c?u:O(g())},_}(e,n,{leading:o,maxWait:n,trailing:i})}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{});var a,u={};a=function(){"use strict";function e(){if(!(this instanceof e))return new e;this.size=0,this.uid=0,this.selectors=[],this.indexes=Object.create(this.indexes),this.activeIndexes=[]}var t=window.document.documentElement,n=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.msMatchesSelector;e.prototype.matchesSelector=function(e,t){return n.call(e,t)},e.prototype.querySelectorAll=function(e,t){return t.querySelectorAll(e)},e.prototype.indexes=[];var r=/^#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/g;e.prototype.indexes.push({name:"ID",selector:function(e){var t;if(t=e.match(r))return t[0].slice(1)},element:function(e){if(e.id)return[e.id]}});var o=/^\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/g;e.prototype.indexes.push({name:"CLASS",selector:function(e){var t;if(t=e.match(o))return t[0].slice(1)},element:function(e){var t=e.className;if(t){if("string"==typeof t)return t.split(/\s/);if("object"==typeof t&&"baseVal"in t)return t.baseVal.split(/\s/)}}});var i,a=/^((?:[\w\u00c0-\uFFFF\-]|\\.)+)/g;e.prototype.indexes.push({name:"TAG",selector:function(e){var t;if(t=e.match(a))return t[0].toUpperCase()},element:function(e){return[e.nodeName.toUpperCase()]}}),e.prototype.indexes.default={name:"UNIVERSAL",selector:function(){return!0},element:function(){return[!0]}},i="function"==typeof window.Map?window.Map:function(){function e(){this.map={}}return e.prototype.get=function(e){return this.map[e+" "]},e.prototype.set=function(e,t){this.map[e+" "]=t},e}();var u=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g;function c(e,t){var n,r,o,i,a,c,l=(e=e.slice(0).concat(e.default)).length,f=t,s=[];do{if(u.exec(""),(o=u.exec(f))&&(f=o[3],o[2]||!f))for(n=0;n<l;n++)if(a=(c=e[n]).selector(o[1])){for(r=s.length,i=!1;r--;)if(s[r].index===c&&s[r].key===a){i=!0;break}i||s.push({index:c,key:a});break}}while(o);return s}function l(e,t){var n,r,o;for(n=0,r=e.length;n<r;n++)if(o=e[n],t.isPrototypeOf(o))return o}function f(e,t){return e.id-t.id}return e.prototype.logDefaultIndexUsed=function(){},e.prototype.add=function(e,t){var n,r,o,a,u,f,s,d,p=this.activeIndexes,v=this.selectors;if("string"==typeof e){for(n={id:this.uid++,selector:e,data:t},s=c(this.indexes,e),r=0;r<s.length;r++)a=(d=s[r]).key,(u=l(p,o=d.index))||((u=Object.create(o)).map=new i,p.push(u)),o===this.indexes.default&&this.logDefaultIndexUsed(n),(f=u.map.get(a))||(f=[],u.map.set(a,f)),f.push(n);this.size++,v.push(e)}},e.prototype.remove=function(e,t){if("string"==typeof e){var n,r,o,i,a,u,l,f,s=this.activeIndexes,d={},p=1===arguments.length;for(n=c(this.indexes,e),o=0;o<n.length;o++)for(r=n[o],i=s.length;i--;)if(u=s[i],r.index.isPrototypeOf(u)){if(l=u.map.get(r.key))for(a=l.length;a--;)(f=l[a]).selector!==e||!p&&f.data!==t||(l.splice(a,1),d[f.id]=!0);break}this.size-=Object.keys(d).length}},e.prototype.queryAll=function(e){if(!this.selectors.length)return[];var t,n,r,o,i,a,u,c,l={},s=[],d=this.querySelectorAll(this.selectors.join(", "),e);for(t=0,r=d.length;t<r;t++)for(i=d[t],n=0,o=(a=this.matches(i)).length;n<o;n++)l[(c=a[n]).id]?u=l[c.id]:(u={id:c.id,selector:c.selector,data:c.data,elements:[]},l[c.id]=u,s.push(u)),u.elements.push(i);return s.sort(f)},e.prototype.matches=function(e){if(!e)return[];var t,n,r,o,i,a,u,c,l,s,d,p=this.activeIndexes,v={},h=[];for(t=0,o=p.length;t<o;t++)if(c=(u=p[t]).element(e))for(n=0,i=c.length;n<i;n++)if(l=u.map.get(c[n]))for(r=0,a=l.length;r<a;r++)!v[d=(s=l[r]).id]&&this.matchesSelector(e,s.selector)&&(v[d]=!0,h.push(s));return h.sort(f)},e},"object"==typeof u?u=a():this.SelectorSet=a();var c,l,f={exports:{}};c=this,l=function(e,t){"use strict";t=t&&t.hasOwnProperty("default")?t.default:t;var n={},r={},o=new WeakMap,i=new WeakMap,a=new WeakMap,u=Object.getOwnPropertyDescriptor(Event.prototype,"currentTarget");function c(e,t,n){var r=e[t];return e[t]=function(){return n.apply(e,arguments),r.apply(e,arguments)},e}function l(){o.set(this,!0)}function f(){o.set(this,!0),i.set(this,!0)}function s(){return a.get(this)||null}function d(e,t){u&&Object.defineProperty(e,"currentTarget",{configurable:!0,enumerable:!0,get:t||u.get})}function p(e){var t=(1===e.eventPhase?r:n)[e.type];if(t){var u=function(e,t,n){var r=[],o=t;do{if(1!==o.nodeType)break;var i=e.matches(o);if(i.length){var a={node:o,observers:i};n?r.unshift(a):r.push(a)}}while(o=o.parentElement);return r}(t,e.target,1===e.eventPhase);if(u.length){c(e,"stopPropagation",l),c(e,"stopImmediatePropagation",f),d(e,s);for(var p=0,v=u.length;p<v&&!o.get(e);p++){var h=u[p];a.set(e,h.node);for(var g=0,y=h.observers.length;g<y&&!i.get(e);g++)h.observers[g].data.call(h.node,e)}a.delete(e),d(e)}}}e.off=function(e,t,o){var i=!!(arguments.length>3&&void 0!==arguments[3]?arguments[3]:{}).capture,a=i?r:n,u=a[e];u&&(u.remove(t,o),u.size||(delete a[e],document.removeEventListener(e,p,i)))},e.on=function(e,o,i){var a=!!(arguments.length>3&&void 0!==arguments[3]?arguments[3]:{}).capture,u=a?r:n,c=u[e];c||(c=new t,u[e]=c,document.addEventListener(e,p,a)),c.add(o,i)},Object.defineProperty(e,"__esModule",{value:!0})},"object"==typeof f.exports?l(f.exports,u):l((c=c||self)["delegated-events"]={},c.SelectorSet),f=f.exports;var s={};Object.defineProperty(s,"__esModule",{value:!0}),s.bindContentScrollHandler=function(e){var t=(0,d.default)(y);e.addEventListener("mousewheel",t),e.addEventListener("wheel",t)},s.addEventListeners=function(e){var t,n=e.dismissAll,r=e.findById,o=e.hover,i=e.repositionAll,a=e.resizeAll,u=e.toggle,c=e.unhover,l=function(e,t,n){return function(r){var o,i=(o=r.target.closest("[data-footnote-button]"))&&o.dataset.footnoteId,a=i&&e(i);a?t(a):h(r.target)||n()}}(r,u,n),s=(t=n,function(e){return 27===e.keyCode&&t()}),v=(0,d.default)(i),y=(0,d.default)(a),b=g(r,o),m=g(r,c);return document.addEventListener("touchend",l),document.addEventListener("click",l),document.addEventListener("keyup",s),document.addEventListener("gestureend",v),window.addEventListener("scroll",v),window.addEventListener("resize",y),(0,f.on)("mouseover",p,b),(0,f.on)("mouseout",p,m),function(){document.removeEventListener("touchend",l),document.removeEventListener("click",l),document.removeEventListener("keyup",s),document.removeEventListener("gestureend",v),window.removeEventListener("scroll",v),window.removeEventListener("resize",y),(0,f.off)("mouseover",p,b),(0,f.off)("mouseout",p,m)}},s.FOOTNOTE_SELECTOR=void 0;var d=e(i),p="[data-footnote-id]";s.FOOTNOTE_SELECTOR=p;var v="is-fully-scrolled";function h(e){return e.closest("[data-footnote-popover]")}function g(e,t){return function(n){n.preventDefault();var r,o=(r=n.target.closest(p))&&r.dataset.footnoteId,i=o&&e(o);i&&t(i)}}function y(e){var t=e.currentTarget,n=-e.deltaY,r=t.clientHeight,o=h(t);if(o&&n<=0&&n<r+t.scrollTop-t.scrollHeight)return o.classList.add(v),t.scrollTop=t.scrollHeight,void e.preventDefault();o&&n>0&&(o.classList.remove(v),t.scrollTop<n&&(t.scrollTop=0,e.preventDefault()))}var b={};Object.defineProperty(b,"__esModule",{value:!0}),b.getAvailableRoom=function(e){var t=parseFloat((0,n.getStyle)(e,"marginLeft")),r=e.offsetWidth-t,o=e.offsetHeight,i=e.getBoundingClientRect(),a=i.left+r/2,u=i.top+o/2;return{top:u,bottom:window.innerHeight-u,leftRelative:a/window.innerWidth}},b.getAvailableHeight=function(e,t){var r=_(e,t),o=parseInt((0,n.getStyle)(e,"marginTop"),10);return t[r?O:w]-o-15},b.repositionPopover=function(e,t){var n=_(e,t),r=e.dataset.footnotePosition,o=n?O:w;r!==o&&(e.dataset.footnotePosition=o,e.classList.remove("".concat(j).concat(r)),e.classList.add("".concat(j).concat(o)),e.style.transformOrigin="".concat(100*t.leftRelative,"% ").concat(n?"100%":"0"))},b.repositionTooltip=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.5,n=e.querySelector("."+m);n&&(n.style.left=100*t+"%")},b.CLASS_WRAPPER=b.CLASS_TOOLTIP=b.CLASS_CONTENT=void 0,b.CLASS_CONTENT="littlefoot-footnote__content";var m="littlefoot-footnote__tooltip";b.CLASS_TOOLTIP=m,b.CLASS_WRAPPER="littlefoot-footnote__wrapper";var j="is-positioned-",w="bottom",O="top";function _(e,t){var r=2*parseInt((0,n.getStyle)(e,"marginTop"),10)+e.offsetHeight;return t.bottom<r&&t.bottom<t.top}var S={};Object.defineProperty(S,"__esModule",{value:!0}),S.createFootnote=function(e){return{getId:function(){return e.id},activate:function(t){e.button.blur(),e.button.setAttribute("aria-expanded","true"),e.button.classList.add(A),e.button.insertAdjacentHTML("afterend",e.content),e.popover=e.button.nextElementSibling,e.popover.dataset.footnotePopover="",e.popover.dataset.footnoteId=e.id;var o=L(e.popover);e.popover.style.maxWidth="".concat(document.body.clientWidth,"px"),(0,s.bindContentScrollHandler)(o);var i=(0,n.getStyle)(o,"maxHeight");e.maxHeight=Math.round((0,r.pixels)(i,o)),"function"==typeof t&&t(e.popover,e.button)},dismiss:function(){e.button.blur(),e.button.setAttribute("aria-expanded","false"),e.button.classList.remove(A)},isActive:function(){return e.button.classList.contains(A)},isChanging:function(){return e.button.classList.contains(x)},isHovered:function(){return e.isHovered},ready:function(){e.popover&&e.popover.classList.add(A)},remove:function(){e.popover&&(e.popover.parentNode.removeChild(e.popover),delete e.popover)},reposition:function(){if(e.popover){var t=(0,b.getAvailableRoom)(e.button),n=L(e.popover),r=Math.min(e.maxHeight,(0,b.getAvailableHeight)(e.popover,t));n.style.maxHeight=r+"px",(0,b.repositionPopover)(e.popover,t),e.popover.offsetHeight<=n.scrollHeight&&e.popover.classList.add(E)}},resize:function(){if(e.popover){var t=(0,b.getAvailableRoom)(e.button),r=L(e.popover).offsetWidth,o=parseInt((0,n.getStyle)(e.button,"marginLeft"),10),i=-t.leftRelative*r+o+e.button.offsetWidth/2,a=e.popover.querySelector("."+b.CLASS_WRAPPER);e.popover.style.left=i+"px",a&&(a.style.maxWidth=r+"px"),(0,b.repositionTooltip)(e.popover,t.leftRelative)}},startChanging:function(){e.button.classList.add(x)},stopChanging:function(){e.button.classList.remove(x)},startHovering:function(){e.isHovered=!0},stopHovering:function(){e.isHovered=!1},unmount:function(){e.host.parentNode.removeChild(e.host)}}};var A="is-active",x="is-changing",E="is-scrollable";function L(e){return e.querySelector("."+b.CLASS_CONTENT)}var T=/<%=([\s\S]+?)%>/g,P={};(function(e){var t,n=1/0,r="[object Null]",o="[object Symbol]",i="[object Undefined]",a=/[&<>"']/g,u=RegExp(a.source),c="object"==typeof e&&e&&e.Object===Object&&e,l="object"==typeof self&&self&&self.Object===Object&&self,f=c||l||Function("return this")(),s=(t={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},function(e){return null==t?void 0:t[e]}),d=Object.prototype,p=d.hasOwnProperty,v=d.toString,h=f.Symbol,g=h?h.toStringTag:void 0,y=h?h.prototype:void 0,b=y?y.toString:void 0,m={escape:/<%-([\s\S]+?)%>/g,evaluate:/<%([\s\S]+?)%>/g,interpolate:T,variable:"",imports:{_:{escape:function(e){return(e=null==(t=e)?"":j(t))&&u.test(e)?e.replace(a,s):e;var t}}}};function j(e){if("string"==typeof e)return e;if(w(e))return function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}(e,j)+"";if(function(e){return"symbol"==typeof e||function(e){return null!=e&&"object"==typeof e}(e)&&function(e){return null==e?void 0===e?i:r:g&&g in Object(e)?function(e){var t=p.call(e,g),n=e[g];try{e[g]=void 0;var r=!0}catch(i){}var o=v.call(e);return r&&(t?e[g]=n:delete e[g]),o}(e):function(e){return v.call(e)}(e)}(e)==o}(e))return b?b.call(e):"";var t=e+"";return"0"==t&&1/e==-n?"-0":t}var w=Array.isArray;P=m}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{});var C={exports:{}};(function(e){var t=1/0,n=9007199254740991,r="[object Arguments]",o="[object AsyncFunction]",i="[object DOMException]",a="[object Error]",u="[object Function]",c="[object GeneratorFunction]",l="[object Null]",f="[object Object]",s="[object Proxy]",d="[object Symbol]",p="[object Undefined]",v=/\b__p \+= '';/g,h=/\b(__p \+=) '' \+/g,g=/(__e\(.*?\)|\b__t\)) \+\n'';/g,y=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,b=/^\[object .+?Constructor\]$/,m=/^(?:0|[1-9]\d*)$/,j=/($^)/,w=/['\n\r\u2028\u2029\\]/g,O={};O["[object Float32Array]"]=O["[object Float64Array]"]=O["[object Int8Array]"]=O["[object Int16Array]"]=O["[object Int32Array]"]=O["[object Uint8Array]"]=O["[object Uint8ClampedArray]"]=O["[object Uint16Array]"]=O["[object Uint32Array]"]=!0,O[r]=O["[object Array]"]=O["[object ArrayBuffer]"]=O["[object Boolean]"]=O["[object DataView]"]=O["[object Date]"]=O[a]=O[u]=O["[object Map]"]=O["[object Number]"]=O[f]=O["[object RegExp]"]=O["[object Set]"]=O["[object String]"]=O["[object WeakMap]"]=!1;var _={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},S="object"==typeof e&&e&&e.Object===Object&&e,A="object"==typeof self&&self&&self.Object===Object&&self,x=S||A||Function("return this")(),E="object"==typeof C.exports&&C.exports&&!C.exports.nodeType&&C.exports,L=E&&C&&!C.nodeType&&C,H=L&&L.exports===E,I=H&&S.process,M=function(){try{return L&&L.require&&L.require("util").types||I&&I.binding&&I.binding("util")}catch(e){}}(),F=M&&M.isTypedArray;function D(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function R(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}function W(e){return"\\"+_[e]}function k(e,t){return function(n){return e(t(n))}}var N,$=Function.prototype,U=Object.prototype,q=x["__core-js_shared__"],z=$.toString,B=U.hasOwnProperty,V=(N=/[^.]+$/.exec(q&&q.keys&&q.keys.IE_PROTO||""))?"Symbol(src)_1."+N:"",G=U.toString,Y=z.call(Object),J=RegExp("^"+z.call(B).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),K=H?x.Buffer:void 0,Q=x.Symbol,X=k(Object.getPrototypeOf,Object),Z=U.propertyIsEnumerable,ee=Q?Q.toStringTag:void 0,te=function(){try{var e=function(e){return!(!Ce(e)||(t=e,V&&V in t))&&(Te(e)?J:b).test(function(e){if(null!=e){try{return z.call(e)}catch(t){}try{return e+""}catch(t){}}return""}(e));var t}(t=function(e,t){return null==e?void 0:e.defineProperty}(Object))?t:void 0;return e({},"",{}),e}catch(n){}var t}(),ne=K?K.isBuffer:void 0,re=k(Object.keys,Object),oe=Math.max,ie=Date.now,ae=Q?Q.prototype:void 0,ue=ae?ae.toString:void 0;function ce(e,t){var n=Ae(e),r=!n&&Se(e),o=!n&&!r&&Ee(e),i=!n&&!r&&!o&&Me(e),a=n||r||o||i,u=a?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],c=u.length;for(var l in e)!t&&!B.call(e,l)||a&&("length"==l||o&&("offset"==l||"parent"==l)||i&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||ge(l,c))||u.push(l);return u}function le(e,t,n){var r=e[t];B.call(e,t)&&_e(r,n)&&(void 0!==n||t in e)||fe(e,t,n)}function fe(e,t,n){"__proto__"==t&&te?te(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function se(e){return null==e?void 0===e?p:l:ee&&ee in Object(e)?function(e){var t=B.call(e,ee),n=e[ee];try{e[ee]=void 0;var r=!0}catch(i){}var o=G.call(e);return r&&(t?e[ee]=n:delete e[ee]),o}(e):function(e){return G.call(e)}(e)}function de(e){return He(e)&&se(e)==r}function pe(e,t){return Oe(function(e,t,n){return t=oe(void 0===t?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=oe(r.length-t,0),a=Array(i);++o<i;)a[o]=r[t+o];o=-1;for(var u=Array(t+1);++o<t;)u[o]=r[o];return u[t]=n(a),D(e,this,u)}}(e,t,Re),e+"")}function ve(e){if("string"==typeof e)return e;if(Ae(e))return R(e,ve)+"";if(function(e){return"symbol"==typeof e||He(e)&&se(e)==d}(e))return ue?ue.call(e):"";var n=e+"";return"0"==n&&1/e==-t?"-0":n}function he(e,t,n,r){return void 0===e||_e(e,U[n])&&!B.call(r,n)?t:e}function ge(e,t){var r=typeof e;return!!(t=null==t?n:t)&&("number"==r||"symbol"!=r&&m.test(e))&&e>-1&&e%1==0&&e<t}function ye(e,t,n){if(!Ce(n))return!1;var r=typeof t;return!!("number"==r?xe(n)&&ge(t,n.length):"string"==r&&t in n)&&_e(n[t],e)}function be(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||U)}var me,je,we,Oe=(me=te?function(e,t){return te(e,"toString",{configurable:!0,enumerable:!1,value:(n=t,function(){return n}),writable:!0});var n}:Re,je=0,we=0,function(){var e=ie(),t=16-(e-we);if(we=e,t>0){if(++je>=800)return arguments[0]}else je=0;return me.apply(void 0,arguments)});function _e(e,t){return e===t||e!=e&&t!=t}var Se=de(function(){return arguments}())?de:function(e){return He(e)&&B.call(e,"callee")&&!Z.call(e,"callee")},Ae=Array.isArray;function xe(e){return null!=e&&Pe(e.length)&&!Te(e)}var Ee=ne||function(){return!1};function Le(e){if(!He(e))return!1;var t=se(e);return t==a||t==i||"string"==typeof e.message&&"string"==typeof e.name&&!function(e){if(!He(e)||se(e)!=f)return!1;var t=X(e);if(null===t)return!0;var n=B.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&z.call(n)==Y}(e)}function Te(e){if(!Ce(e))return!1;var t=se(e);return t==u||t==c||t==o||t==s}function Pe(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=n}function Ce(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function He(e){return null!=e&&"object"==typeof e}var Ie,Me=F?function(e){return function(t){return e(t)}}(F):function(e){return He(e)&&Pe(e.length)&&!!O[se(e)]},Fe=(Ie=function(e,t,n,r){!function(e,t,n,r){var o=!n;n||(n={});for(var i=-1,a=t.length;++i<a;){var u=t[i],c=r?r(n[u],e[u],u,n,e):void 0;void 0===c&&(c=e[u]),o?fe(n,u,c):le(n,u,c)}}(t,function(e){return xe(e)?ce(e,!0):function(e){if(!Ce(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=be(e),n=[];for(var r in e)("constructor"!=r||!t&&B.call(e,r))&&n.push(r);return n}(e)}(t),e,r)},pe(function(e,t){var n=-1,r=t.length,o=r>1?t[r-1]:void 0,i=r>2?t[2]:void 0;for(o=Ie.length>3&&"function"==typeof o?(r--,o):void 0,i&&ye(t[0],t[1],i)&&(o=r<3?void 0:o,r=1),e=Object(e);++n<r;){var a=t[n];a&&Ie(e,a,0,o)}return e}));var De=pe(function(e,t){try{return D(e,void 0,t)}catch(n){return Le(n)?n:new Error(n)}});function Re(e){return e}C.exports=function(e,t,n){var r,o=P.imports._.templateSettings||P;n&&ye(e,t,n)&&(t=void 0),e=null==(r=e)?"":ve(r),t=Fe({},t,o,he);var i,a,u,c=Fe({},t.imports,o.imports,he),l=function(e){return xe(e)?ce(e):function(e){if(!be(e))return re(e);var t=[];for(var n in Object(e))B.call(e,n)&&"constructor"!=n&&t.push(n);return t}(e)}(c),f=(i=c,R(l,function(e){return i[e]})),s=0,d=t.interpolate||j,p="__p += '",b=RegExp((t.escape||j).source+"|"+d.source+"|"+(d===T?y:j).source+"|"+(t.evaluate||j).source+"|$","g"),m=B.call(t,"sourceURL")?"//# sourceURL="+(t.sourceURL+"").replace(/[\r\n]/g," ")+"\n":"";e.replace(b,function(t,n,r,o,i,c){return r||(r=o),p+=e.slice(s,c).replace(w,W),n&&(a=!0,p+="' +\n__e("+n+") +\n'"),i&&(u=!0,p+="';\n"+i+";\n__p += '"),r&&(p+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),s=c+t.length,t}),p+="';\n";var O=B.call(t,"variable")&&t.variable;O||(p="with (obj) {\n"+p+"\n}\n"),p=(u?p.replace(v,""):p).replace(h,"$1").replace(g,"$1;"),p="function("+(O||"obj")+") {\n"+(O?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(a?", __e = _.escape":"")+(u?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+p+"return __p\n}";var _=De(function(){return Function(l,m+"return "+p).apply(void 0,f)});if(_.source=p,Le(_))throw _;return _}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{}),C=C.exports;var H={};Object.defineProperty(H,"__esModule",{value:!0}),H.restoreOriginalFootnotes=function(){Array.from(document.querySelectorAll("."+F)).forEach(function(e){return e.classList.remove(F)})},H.createDocumentFootnotes=function(e){var t,n,r,o,i,a,u,c,l,f,d,p=e.buttonTemplate,v=e.contentTemplate,h=e.numberResetSelector,g=(n=(t=document.querySelectorAll(s.FOOTNOTE_SELECTOR)).length?t[t.length-1].dataset.footnoteId:"0",1+parseInt(n,10));return(c=e,l=c.anchorPattern,f=c.scope,d=void 0===f?"":f,Array.from(document.querySelectorAll(d+' a[href^="#"]')).filter(function(e){return(e.href+e.rel).match(l)})).map((r=e,o=r.allowDuplicates,i=r.anchorParentSelector,a=r.footnoteSelector,u=[],function(e){var t="#"+e.href.split("#")[1].replace(/[:.+~*[\]]/g,"\\$&"),n=Array.from(document.querySelectorAll(t)).find(function(e){return o||!u.includes(e)}),r=n&&n.closest(a);if(r)return u.push(r),[e.closest(i)||e,r]})).filter(W).map(U).map($(g)).map(h?N(h):function(e){return e}).map(function(e,t){var n=(0,M.default)(e),r=(0,M.default)(t);return function(e,t){var o=(0,I.default)(e,3),i=o[0],a=o[1],u=o[2],c="".concat(t+1),l={number:u,id:c,content:k(a.innerHTML,i.id),reference:i.id},f=r(l);i.insertAdjacentHTML("beforebegin",'<span class="'.concat(D,'">').concat(n(l),"</span>"));var s=i.previousElementSibling,d=s.firstElementChild;return d.dataset.footnoteButton="",d.dataset.footnoteId=c,d.dataset.footnoteNumber="".concat(u),{id:c,button:d,host:s,content:f,isHovered:!1,maxHeight:0}}}(p,v))};var I=e(function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(c){o=!0,i=c}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}),M=e(C),F="footnote-print-only",D="littlefoot-footnote__host",R=function(e){return e.classList.add(F)};function W(e){return void 0!==e}function k(e,t){var n=t.trim().replace(/\s+/g,"|"),r=new RegExp("(\\s|&nbsp;)*<\\s*a[^#<]*#("+n+")[^>]*>(.*?)<\\s*/\\s*a>","g"),o=e.trim().replace(r,"").replace("[]","");return o.startsWith("<")?o:"<p>"+o+"</p>"}var N=function(e){return function(t,n,r){var o=(0,I.default)(t,3),i=o[0],a=o[1],u=o[2],c=u?r[u-1][2]:0;return[i,a,i.closest(e)?1:c+1]}},$=function(e){return function(t,n){var r=(0,I.default)(t,2);return[r[0],r[1],e+n]}};function U(e){var t=(0,I.default)(e,2),n=t[0],r=t[1];return R(n),R(r),function e(t){var n,r,o=(n=t,r=":not(.".concat(F,")"),Array.from(n.children).filter(function(e){return 8!==e.nodeType&&(!r||e.matches(r))})),i=o.filter(function(e){return"HR"===e.tagName});o.length===i.length&&(i.concat(t).forEach(R),e(t.parentNode))}(r.parentElement),[n,r]}var q={};Object.defineProperty(q,"__esModule",{value:!0}),q.createAdapter=function(e){var t=(0,H.createDocumentFootnotes)(e).map(S.createFootnote);return{footnotes:function(){return t},unmount:function(){t.forEach(function(e){return e.unmount()}),(0,H.restoreOriginalFootnotes)()}}};var z={};Object.defineProperty(z,"__esModule",{value:!0}),z.littlefoot=Y,z.default=void 0;var B=e(function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e});function V(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n}var G={activateDelay:100,activateOnHover:!1,allowDuplicates:!0,allowMultiple:!1,anchorParentSelector:"sup",anchorPattern:/(fn|footnote|note)[:\-_\d]/gi,dismissDelay:100,dismissOnUnhover:!1,footnoteSelector:"li",hoverDelay:250,contentTemplate:'<aside class="littlefoot-footnote" id="fncontent:<%= id %>" alt="Footnote <%= number %>" aria-live="polite"><div class="'.concat(b.CLASS_WRAPPER,'"><div class="').concat(b.CLASS_CONTENT,'" tabindex="0"><%= content %></div></div><div class="').concat(b.CLASS_TOOLTIP,'"></div></aside>'),buttonTemplate:'<button class="littlefoot-footnote__button littlefoot-footnote__button__ellipsis" id="<%= reference %>" title="See Footnote <%= number %>" aria-controls="fncontent:<%= id %>" aria-expanded="false" aria-label="Footnote <%= number %>" rel="footnote"><svg viewbox="0 0 31 6" preserveAspectRatio="xMidYMid"><circle r="3" cx="3" cy="3" fill="white"></circle><circle r="3" cx="15" cy="3" fill="white"></circle><circle r="3" cx="27" cy="3" fill="white"></circle></svg></button>'};function Y(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?V(n,!0).forEach(function(t){(0,B.default)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):V(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},G,{},e),r=(0,q.createAdapter)(n),o=(0,t.createCore)(r,n),i=(0,s.addEventListeners)(o);return{activate:function(e){var t=o.findById(e);t&&o.activate(t)},dismiss:function(e,t){var n=e&&o.findById(e);n?o.dismiss(n,t):o.dismissAll(t)},unmount:function(){i(),o.unmount()},getSetting:function(e){return n[e]},updateSetting:function(e,t){n[e]=t}}}var J=Y;return z.default=J,z});
  • _plugins_/bigfoot/javascript/littlefoot.min.js

    r115607 r115983  
    1 !function(e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).littlefoot=e()}(function(){var e=function(e){return e&&e.__esModule?e:{default:e}},r=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},i={};Object.defineProperty(i,"__esModule",{value:!0}),i.createCore=function(r,i){var a=(o=r,u=i,function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:u.activateDelay,n=u.activateCallback;e.isChanging()||(e.startChanging(),e.activate(n),o.forEachFootnote(function(e){e.reposition(),e.resize()}),setTimeout(function(){e.ready(),e.stopChanging()},t))}),c=(n=i,function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:n.dismissDelay;e.isChanging()||(e.startChanging(),e.dismiss(),setTimeout(function(){e.remove(),e.stopChanging()},t))}),n,o,u;return{findFootnote:r.findFootnote,unmount:r.unmount,activate:a,dismiss:c,dismissAll:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:i.dismissDelay;r.forEachFootnote(function(e){return c(e,t)})},repositionAll:function(){r.forEachFootnote(function(e){return e.reposition()})},resizeAll:function(){r.forEachFootnote(function(e){return e.resize()})},toggle:function(e){var t=i.allowMultiple;e.isActive()?c(e):(t||r.forEachFootnoteExcept(c,e),a(e))},hover:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:i.hoverDelay,n=i.activateOnHover,o=i.allowMultiple;e.startHovering(),n&&!e.isActive()&&(o||r.forEachFootnoteExcept(c,e),a(e,t))},unhover:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:i.hoverDelay,n=i.dismissOnUnhover;e.stopHovering(),n&&setTimeout(function(){r.hasHoveredFootnotes()||r.forEachFootnote(c)},t)}}};var c={};Object.defineProperty(c,"__esModule",{value:!0}),c.getStyle=function(e,t){var n=(e.ownerDocument&&e.ownerDocument.defaultView||window).getComputedStyle(e);return n.getPropertyValue(t)||n[t]};var o={};function f(e){return e?c.getStyle(e,"fontSize")||f(e.parentElement):c.getStyle(window.document.documentElement,"fontSize")}Object.defineProperty(o,"__esModule",{value:!0}),o.pixels=function e(t,n){var o=n&&n.ownerDocument&&n.ownerDocument.defaultView||window,r=o.document.documentElement||o.document.body,i=(u=(c=t)||"0",l=parseFloat(u),s=u.match(/[\d-.]+(\w+)$/),[l,(s&&1<s.length?s[1]:"").toLowerCase()]),a=i[0],c,u,l,s;switch(i[1]){case"rem":return a*e(f(window.document.documentElement));case"em":return a*e(f(n),n&&n.parentElement);case"in":return 96*a;case"q":return 96*a/25.4/4;case"mm":return 96*a/25.4;case"cm":return 96*a*10/25.4;case"pt":return 96*a/72;case"pc":return 96*a/6;case"vh":return(a*o.innerHeight||r.clientWidth)/100;case"vw":return(a*o.innerWidth||r.clientHeight)/100;case"vmin":return a*Math.min(o.innerWidth||r.clientWidth,o.innerHeight||r.clientHeight)/100;case"vmax":return a*Math.max(o.innerWidth||r.clientWidth,o.innerHeight||r.clientHeight)/100;default:return a}};var p={};(function(e){var y="Expected a function",i=NaN,a="[object Symbol]",c=/^\s+|\s+$/g,u=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,s=/^0o[0-7]+$/i,f=parseInt,t="object"==typeof e&&e&&e.Object===Object&&e,n="object"==typeof self&&self&&self.Object===Object&&self,o=t||n||Function("return this")(),d=Object.prototype.toString,b=Math.max,w=Math.min,S=function(){return o.Date.now()};function _(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function O(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||(n=t)&&"object"==typeof n&&d.call(t)==a)return i;var t,n;if(_(e)){var o="function"==typeof e.valueOf?e.valueOf():e;e=_(o)?o+"":o}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(c,"");var r=l.test(e);return r||s.test(e)?f(e.slice(2),r?2:8):u.test(e)?i:+e}p=function(e,t,n){var o=!0,r=!0;if("function"!=typeof e)throw new TypeError(y);return _(n)&&(o="leading"in n?!!n.leading:o,r="trailing"in n?!!n.trailing:r),function(o,r,e){var i,a,c,u,l,s,f=0,d=!1,p=!1,t=!0;if("function"!=typeof o)throw new TypeError(y);function v(e){var t=i,n=a;return i=a=void 0,f=e,u=o.apply(n,t)}function h(e){var t=e-s;return void 0===s||r<=t||t<0||p&&c<=e-f}function g(){var e=S(),t,n;if(h(e))return m(e);l=setTimeout(g,(n=r-((t=e)-s),p?w(n,c-(t-f)):n))}function m(e){return l=void 0,t&&i?v(e):(i=a=void 0,u)}function n(){var e=S(),t=h(e),n;if(i=arguments,a=this,s=e,t){if(void 0===l)return f=n=s,l=setTimeout(g,r),d?v(n):u;if(p)return l=setTimeout(g,r),v(s)}return void 0===l&&(l=setTimeout(g,r)),u}return r=O(r)||0,_(e)&&(d=!!e.leading,c=(p="maxWait"in e)?b(O(e.maxWait)||0,r):c,t="trailing"in e?!!e.trailing:t),n.cancel=function(){void 0!==l&&clearTimeout(l),i=s=a=l=void(f=0)},n.flush=function(){return void 0===l?u:m(S())},n}(e,t,{leading:o,maxWait:t,trailing:r})}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{});var t,n={};t=function(){"use strict";function e(){if(!(this instanceof e))return new e;this.size=0,this.uid=0,this.selectors=[],this.indexes=Object.create(this.indexes),this.activeIndexes=[]}var t=window.document.documentElement,n=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.msMatchesSelector;e.prototype.matchesSelector=function(e,t){return n.call(e,t)},e.prototype.querySelectorAll=function(e,t){return t.querySelectorAll(e)};var o=/^#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/g;(e.prototype.indexes=[]).push({name:"ID",selector:function(e){var t;if(t=e.match(o))return t[0].slice(1)},element:function(e){if(e.id)return[e.id]}});var r=/^\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/g;e.prototype.indexes.push({name:"CLASS",selector:function(e){var t;if(t=e.match(r))return t[0].slice(1)},element:function(e){var t=e.className;if(t){if("string"==typeof t)return t.split(/\s/);if("object"==typeof t&&"baseVal"in t)return t.baseVal.split(/\s/)}}});var d,i=/^((?:[\w\u00c0-\uFFFF\-]|\\.)+)/g;function a(){this.map={}}e.prototype.indexes.push({name:"TAG",selector:function(e){var t;if(t=e.match(i))return t[0].toUpperCase()},element:function(e){return[e.nodeName.toUpperCase()]}}),e.prototype.indexes.default={name:"UNIVERSAL",selector:function(){return!0},element:function(){return[!0]}},d="function"==typeof window.Map?window.Map:(a.prototype.get=function(e){return this.map[e+" "]},a.prototype.set=function(e,t){this.map[e+" "]=t},a);var f=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g;function p(e,t){var n,o,r,i,a,c,u=(e=e.slice(0).concat(e.default)).length,l=t,s=[];do{if(f.exec(""),(r=f.exec(l))&&(l=r[3],r[2]||!l))for(n=0;n<u;n++)if(a=(c=e[n]).selector(r[1])){for(o=s.length,i=!1;o--;)if(s[o].index===c&&s[o].key===a){i=!0;break}i||s.push({index:c,key:a});break}}while(r);return s}function v(e,t){var n,o,r;for(n=0,o=e.length;n<o;n++)if(r=e[n],t.isPrototypeOf(r))return r}function h(e,t){return e.id-t.id}return e.prototype.logDefaultIndexUsed=function(){},e.prototype.add=function(e,t){var n,o,r,i,a,c,u,l,s=this.activeIndexes,f=this.selectors;if("string"==typeof e){for(n={id:this.uid++,selector:e,data:t},u=p(this.indexes,e),o=0;o<u.length;o++)i=(l=u[o]).key,(a=v(s,r=l.index))||((a=Object.create(r)).map=new d,s.push(a)),r===this.indexes.default&&this.logDefaultIndexUsed(n),(c=a.map.get(i))||(c=[],a.map.set(i,c)),c.push(n);this.size++,f.push(e)}},e.prototype.remove=function(e,t){if("string"==typeof e){var n,o,r,i,a,c,u,l,s=this.activeIndexes,f={},d=1===arguments.length;for(n=p(this.indexes,e),r=0;r<n.length;r++)for(o=n[r],i=s.length;i--;)if(c=s[i],o.index.isPrototypeOf(c)){if(u=c.map.get(o.key))for(a=u.length;a--;)(l=u[a]).selector!==e||!d&&l.data!==t||(u.splice(a,1),f[l.id]=!0);break}this.size-=Object.keys(f).length}},e.prototype.queryAll=function(e){if(!this.selectors.length)return[];var t,n,o,r,i,a,c,u,l={},s=[],f=this.querySelectorAll(this.selectors.join(", "),e);for(t=0,o=f.length;t<o;t++)for(i=f[t],n=0,r=(a=this.matches(i)).length;n<r;n++)l[(u=a[n]).id]?c=l[u.id]:(c={id:u.id,selector:u.selector,data:u.data,elements:[]},l[u.id]=c,s.push(c)),c.elements.push(i);return s.sort(h)},e.prototype.matches=function(e){if(!e)return[];var t,n,o,r,i,a,c,u,l,s,f,d=this.activeIndexes,p={},v=[];for(t=0,r=d.length;t<r;t++)if(u=(c=d[t]).element(e))for(n=0,i=u.length;n<i;n++)if(l=c.map.get(u[n]))for(o=0,a=l.length;o<a;o++)!p[f=(s=l[o]).id]&&this.matchesSelector(e,s.selector)&&(p[f]=!0,v.push(s));return v.sort(h)},e},"object"==typeof n?n=t():this.SelectorSet=t();var a,y={exports:{}};a=function(e,a){"use strict";a=a&&a.hasOwnProperty("default")?a.default:a;var u={},l={},s=new WeakMap,f=new WeakMap,d=new WeakMap,n=Object.getOwnPropertyDescriptor(Event.prototype,"currentTarget");function p(e,t,n){var o=e[t];return e[t]=function(){return n.apply(e,arguments),o.apply(e,arguments)},e}function v(){s.set(this,!0)}function h(){s.set(this,!0),f.set(this,!0)}function g(){return d.get(this)||null}function m(e,t){n&&Object.defineProperty(e,"currentTarget",{configurable:!0,enumerable:!0,get:t||n.get})}function c(e){var t=(1===e.eventPhase?l:u)[e.type];if(t){var n=function(e,t,n){var o=[],r=t;do{if(1!==r.nodeType)break;var i=e.matches(r);if(i.length){var a={node:r,observers:i};n?o.unshift(a):o.push(a)}}while(r=r.parentElement);return o}(t,e.target,1===e.eventPhase);if(n.length){p(e,"stopPropagation",v),p(e,"stopImmediatePropagation",h),m(e,g);for(var o=0,r=n.length;o<r&&!s.get(e);o++){var i=n[o];d.set(e,i.node);for(var a=0,c=i.observers.length;a<c&&!f.get(e);a++)i.observers[a].data.call(i.node,e)}d.delete(e),m(e)}}}e.on=function(e,t,n){var o=!!(3<arguments.length&&void 0!==arguments[3]?arguments[3]:{}).capture,r=o?l:u,i=r[e];i||(i=new a,r[e]=i,document.addEventListener(e,c,o)),i.add(t,n)},e.off=function(e,t,n){var o=!!(3<arguments.length&&void 0!==arguments[3]?arguments[3]:{}).capture,r=o?l:u,i=r[e];i&&(i.remove(t,n),i.size||(delete r[e],document.removeEventListener(e,c,o)))},Object.defineProperty(e,"__esModule",{value:!0})},"object"==typeof y.exports?a(y.exports,n):a(this["delegated-events"]={},this.SelectorSet),y=y.exports;var w={};Object.defineProperty(w,"__esModule",{value:!0}),w.bindContentScrollHandler=function(e){var t=(0,b.default)(l);e.addEventListener("mousewheel",t),e.addEventListener("wheel",t)},w.addEventListeners=function(e){var t,n=e.dismissAll,o=e.findFootnote,r=e.hover,i=e.repositionAll,a=e.resizeAll,c=e.toggle,u=e.unhover,l=(h=o,g=c,m=n,function(e){var t,n=(t=e.target.closest("[data-footnote-button]"))&&t.dataset.footnoteId,o=n&&h(n);o?g(o):_(e.target)||m()}),s=(t=n,function(e){return"27"===e.key&&t()}),f=(0,b.default)(i),d=(0,b.default)(a),p=O(o,r),v=O(o,u),h,g,m;return document.addEventListener("touchend",l),document.addEventListener("click",l),document.addEventListener("keyup",s),document.addEventListener("gestureend",f),window.addEventListener("scroll",f),window.addEventListener("resize",d),(0,y.on)("mouseover",S,p),(0,y.on)("mouseout",S,v),function(){document.removeEventListener("touchend",l),document.removeEventListener("click",l),document.removeEventListener("keyup",s),document.removeEventListener("gestureend",f),window.removeEventListener("scroll",f),window.removeEventListener("resize",d),(0,y.off)("mouseover",S,p),(0,y.off)("mouseout",S,v)}},w.FOOTNOTE_SELECTOR=void 0;var b=e(p),S="[data-footnote-id]";w.FOOTNOTE_SELECTOR=S;var u="is-fully-scrolled";function _(e){return e.closest("[data-footnote-popover]")}function O(r,i){return function(e){e.preventDefault();var t,n=(t=e.target.closest(S))&&t.dataset.footnoteId,o=n&&r(n);o&&i(o)}}function l(e){var t=e.currentTarget,n=-e.deltaY,o=t.clientHeight,r=_(t);if(r&&n<=0&&n<o+t.scrollTop-t.scrollHeight)return r.classList.add(u),t.scrollTop=t.scrollHeight,void e.preventDefault();r&&0<n&&(r.classList.remove(u),t.scrollTop<n&&(t.scrollTop=0,e.preventDefault()))}var s={};Object.defineProperty(s,"__esModule",{value:!0}),s.getAvailableRoom=function(e){var t=parseFloat((0,c.getStyle)(e,"marginLeft")),n=e.offsetWidth-t,o=e.offsetHeight,r=e.getBoundingClientRect(),i=r.left+n/2,a=r.top+o/2;return{top:a,bottom:window.innerHeight-a,leftRelative:i/window.innerWidth}},s.getAvailableHeight=function(e,t){var n=m(e,t),o=parseInt((0,c.getStyle)(e,"marginTop"),10);return t[n?g:h]-o-15},s.repositionPopover=function(e,t){var n=m(e,t),o=e.dataset.footnotePosition,r=n?g:h;o!==r&&(e.dataset.footnotePosition=r,e.classList.remove("".concat(v).concat(o)),e.classList.add("".concat(v).concat(r)),e.style.transformOrigin="".concat(100*t.leftRelative,"% ").concat(n?"100%":"0"))},s.repositionTooltip=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:.5,n=e.querySelector("."+d);n&&(n.style.left=100*t+"%")},s.CLASS_WRAPPER=s.CLASS_TOOLTIP=s.CLASS_CONTENT=void 0,s.CLASS_CONTENT="littlefoot-footnote__content";var d="littlefoot-footnote__tooltip";s.CLASS_TOOLTIP=d,s.CLASS_WRAPPER="littlefoot-footnote__wrapper";var v="is-positioned-",h="bottom",g="top";function m(e,t){var n=2*parseInt((0,c.getStyle)(e,"marginTop"),10)+e.offsetHeight;return t.bottom<n&&t.bottom<t.top}var E={};Object.defineProperty(E,"__esModule",{value:!0}),E.createFootnote=function(i){return{getId:function(){return i.id},activate:function(e){i.button.blur(),i.button.setAttribute("aria-expanded","true"),i.button.classList.add(j),i.button.insertAdjacentHTML("afterend",i.content),i.popover=i.button.nextElementSibling,i.popover.dataset.footnotePopover="",i.popover.dataset.footnoteId=i.id;var t=L(i.popover);i.popover.style.maxWidth="".concat(document.body.clientWidth,"px"),(0,w.bindContentScrollHandler)(t);var n=(0,c.getStyle)(t,"maxHeight");i.maxHeight=Math.round((0,o.pixels)(n,t)),"function"==typeof e&&e(i.popover,i.button)},dismiss:function(){i.button.blur(),i.button.setAttribute("aria-expanded","false"),i.button.classList.remove(j)},isActive:function(){return i.button.classList.contains(j)},isChanging:function(){return i.button.classList.contains(x)},isHovered:function(){return i.isHovered},ready:function(){i.popover&&i.popover.classList.add(j)},remove:function(){i.popover&&(i.popover.parentNode.removeChild(i.popover),delete i.popover)},reposition:function(){if(i.popover){var e=(0,s.getAvailableRoom)(i.button),t=L(i.popover),n=Math.min(i.maxHeight,(0,s.getAvailableHeight)(i.popover,e));t.style.maxHeight=n+"px",(0,s.repositionPopover)(i.popover,e),i.popover.offsetHeight<=t.scrollHeight&&i.popover.classList.add(A)}},resize:function(){if(i.popover){var e=(0,s.getAvailableRoom)(i.button),t=L(i.popover).offsetWidth,n=parseInt((0,c.getStyle)(i.button,"marginLeft"),10),o=-e.leftRelative*t+n+i.button.offsetWidth/2,r=i.popover.querySelector("."+s.CLASS_WRAPPER);i.popover.style.left=o+"px",r&&(r.style.maxWidth=t+"px"),(0,s.repositionTooltip)(i.popover,e.leftRelative)}},startChanging:function(){i.button.classList.add(x)},stopChanging:function(){i.button.classList.remove(x)},startHovering:function(){i.isHovered=!0},stopHovering:function(){i.isHovered=!1},unmount:function(){i.host.parentNode.removeChild(i.host)}}};var j="is-active",x="is-changing",A="is-scrollable";function L(e){return e.querySelector("."+s.CLASS_CONTENT)}var Y=/<%=([\s\S]+?)%>/g,J={};(function(e){var t,n=/[&<>"'`]/g,o=RegExp(n.source),r="object"==typeof e&&e&&e.Object===Object&&e,i="object"==typeof self&&self&&self.Object===Object&&self,a=r||i||Function("return this")(),c=(t={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","`":"&#96;"},function(e){return null==t?void 0:t[e]}),u=Object.prototype.toString,l=a.Symbol,s=l?l.prototype:void 0,f=s?s.toString:void 0;J={escape:/<%-([\s\S]+?)%>/g,evaluate:/<%([\s\S]+?)%>/g,interpolate:Y,variable:"",imports:{_:{escape:function(e){return(e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if("symbol"==typeof(t=e)||(n=t)&&"object"==typeof n&&"[object Symbol]"==u.call(t))return f?f.call(e):"";var t,n,o=e+"";return"0"==o&&1/e==-1/0?"-0":o}(t))&&o.test(e)?e.replace(n,c):e;var t}}}}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{});var K={};(function(e){var w=1/0,r=9007199254740991,u="[object Arguments]",t="[object Error]",i="[object Function]",a="[object GeneratorFunction]",S="[object Symbol]",_=/\b__p \+= '';/g,O=/\b(__p \+=) '' \+/g,E=/(__e\(.*?\)|\b__t\)) \+\n'';/g,j=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,n=/^(?:0|[1-9]\d*)$/,x=/($^)/,A=/['\n\r\u2028\u2029\\]/g,o={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},c="object"==typeof e&&e&&e.Object===Object&&e,l="object"==typeof self&&self&&self.Object===Object&&self,s=c||l||Function("return this")();function f(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function L(e){return"\\"+o[e]}var d,p,v=Object.prototype,T=v.hasOwnProperty,F=v.toString,h=s.Symbol,g=v.propertyIsEnumerable,P=(d=Object.keys,p=Object,function(e){return d(p(e))}),m=Math.max,y=h?h.prototype:void 0,C=y?y.toString:void 0;function H(e,t){var n=N(e)||U(a=i=e)&&z(a)&&T.call(i,"callee")&&(!g.call(i,"callee")||F.call(i)==u)?function(e,t){for(var n=-1,o=Array(e);++n<e;)o[n]=t(n);return o}(e.length,String):[],o=n.length,r=!!o,i,a;for(var c in e)!t&&!T.call(e,c)||r&&("length"==c||I(c,o))||n.push(c);return n}function M(e,t,n,o){return void 0===e||k(e,v[n])&&!T.call(o,n)?t:e}function b(e,t,n){var o=e[t];T.call(e,t)&&k(o,n)&&(void 0!==n||t in e)||(e[t]=n)}function R(i,a){return a=m(void 0===a?i.length-1:a,0),function(){for(var e=arguments,t=-1,n=m(e.length-a,0),o=Array(n);++t<n;)o[t]=e[a+t];t=-1;for(var r=Array(a+1);++t<a;)r[t]=e[t];return r[a]=o,f(i,this,r)}}function I(e,t){return!!(t=null==t?r:t)&&("number"==typeof e||n.test(e))&&-1<e&&e%1==0&&e<t}function D(e,t,n){if(!$(n))return!1;var o=typeof t;return!!("number"==o?z(n)&&I(t,n.length):"string"==o&&t in n)&&k(n[t],e)}function W(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||v)}function k(e,t){return e===t||e!=e&&t!=t}var N=Array.isArray;function z(e){return null!=e&&("number"==typeof(o=e.length)&&-1<o&&o%1==0&&o<=r)&&!((n=$(t=e)?F.call(t):"")==i||n==a);var t,n,o}function q(e){return!!U(e)&&(F.call(e)==t||"string"==typeof e.message&&"string"==typeof e.name)}function $(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function U(e){return!!e&&"object"==typeof e}var V,B=(V=function(e,t,n,o){var r;!function(e,t,n,o){n=n||{};for(var r=-1,i=t.length;++r<i;){var a=t[r],c=o?o(n[a],e[a],a,n,e):void 0;b(n,a,void 0===c?e[a]:c)}}(t,z(r=t)?H(r,!0):function(e){if(!$(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=W(e),n=[];for(var o in e)("constructor"!=o||!t&&T.call(e,o))&&n.push(o);return n}(r),e,o)},R(function(e,t){var n=-1,o=t.length,r=1<o?t[o-1]:void 0,i=2<o?t[2]:void 0;for(r=3<V.length&&"function"==typeof r?(o--,r):void 0,i&&D(t[0],t[1],i)&&(r=o<3?void 0:r,o=1),e=Object(e);++n<o;){var a=t[n];a&&V(e,a,0,r)}return e})),G=R(function(e,t){try{return f(e,void 0,t)}catch(e){return q(e)?e:new Error(e)}});K=function(a,e,t){var n,o=J.imports._.templateSettings||J;t&&D(a,e,t)&&(e=void 0),a=null==(n=a)?"":function(e){if("string"==typeof e)return e;if("symbol"==typeof(t=e)||U(t)&&F.call(t)==S)return C?C.call(e):"";var t,n=e+"";return"0"==n&&1/e==-w?"-0":n}(n),e=B({},e,o,M);var c,u,r,i=B({},e.imports,o.imports,M),l=z(r=i)?H(r):function(e){if(!W(e))return P(e);var t=[];for(var n in Object(e))T.call(e,n)&&"constructor"!=n&&t.push(n);return t}(r),s=(g=i,function(e,t){for(var n=-1,o=e?e.length:0,r=Array(o);++n<o;)r[n]=(i=e[n],g[i]);var i;return r}(m=l)),f=0,d=e.interpolate||x,p="__p += '",v=RegExp((e.escape||x).source+"|"+d.source+"|"+(d===Y?j:x).source+"|"+(e.evaluate||x).source+"|$","g"),h="sourceURL"in e?"//# sourceURL="+e.sourceURL+"\n":"",g,m;a.replace(v,function(e,t,n,o,r,i){return n=n||o,p+=a.slice(f,i).replace(A,L),t&&(c=!0,p+="' +\n__e("+t+") +\n'"),r&&(u=!0,p+="';\n"+r+";\n__p += '"),n&&(p+="' +\n((__t = ("+n+")) == null ? '' : __t) +\n'"),f=i+e.length,e}),p+="';\n";var y=e.variable;y||(p="with (obj) {\n"+p+"\n}\n"),p=(u?p.replace(_,""):p).replace(O,"$1").replace(E,"$1;"),p="function("+(y||"obj")+") {\n"+(y?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(c?", __e = _.escape":"")+(u?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+p+"return __p\n}";var b=G(function(){return Function(l,h+"return "+p).apply(void 0,s)});if(b.source=p,q(b))throw b;return b}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{});var T={};Object.defineProperty(T,"__esModule",{value:!0}),T.restoreOriginalFootnotes=function(){Array.from(document.querySelectorAll("."+C)).forEach(function(e){return e.classList.remove(C)})},T.createDocumentFootnotes=function(e){var t,n,o,a,c,u,l,r,i,s,f,d=e.buttonTemplate,p=e.contentTemplate,v=e.numberResetSelector,h=(n=(t=document.querySelectorAll(w.FOOTNOTE_SELECTOR)).length?t[t.length-1].dataset.footnoteId:"0",1+parseInt(n,10)),g,m,y,b;return(i=(r=e).anchorPattern,f=void 0===(s=r.scope)?"":s,Array.from(document.querySelectorAll(f+' a[href^="#"]')).filter(function(e){return(e.href+e.rel).match(i)})).map((a=(o=e).allowDuplicates,c=o.anchorParentSelector,u=o.footnoteSelector,l=[],function(e){var t=e.href.split("#"),n=(0,F.default)(t,2),o="#"+(n[0],n[1]).replace(/[:.+~*[\]]/g,"\\$&"),r=Array.from(document.querySelectorAll(o)).find(function(e){return a||!l.includes(e)}),i=r&&r.closest(u);if(i)return l.push(i),[e.closest(c)||e,i]})).filter(R).map(k).map(W(h)).map(v?D(v):function(e){return e}).map((g=d,m=p,y=(0,P.default)(g),b=(0,P.default)(m),function(e,t){var n=(0,F.default)(e,3),o=n[0],r=n[1],i=n[2],a="".concat(t+1),c={number:i,id:a,content:I(r.innerHTML,o.id),reference:o.id},u=b(c);o.insertAdjacentHTML("beforebegin",'<span class="'.concat(H,'">').concat(y(c),"</span>"));var l=o.previousElementSibling,s=l.firstElementChild;return s.dataset.footnoteButton="",s.dataset.footnoteId=a,s.dataset.footnoteNumber="".concat(i),{id:a,button:s,host:l,content:u,isHovered:!1,maxHeight:0}}))};var F=e(function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],o=!0,r=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(o=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);o=!0);}catch(e){r=!0,i=e}finally{try{o||null==c.return||c.return()}finally{if(r)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}),P=e(K),C="footnote-print-only",H="littlefoot-footnote__host",M=function(e){return e.classList.add(C)};function R(e){return void 0!==e}function I(e,t){var n=t.trim().replace(/\s+/g,"|"),o=new RegExp("(\\s|&nbsp;)*<\\s*a[^#<]*#("+n+")[^>]*>(.*?)<\\s*/\\s*a>","g"),r=e.trim().replace(o,"").replace("[]","");return r.startsWith("<")?r:"<p>"+r+"</p>"}var D=function(u){return function(e,t,n){var o=(0,F.default)(e,3),r=o[0],i=o[1],a=o[2],c=a?n[a-1][2]:0;return[r,i,r.closest(u)?1:c+1]}},W=function(o){return function(e,t){var n=(0,F.default)(e,2);return[n[0],n[1],o+t]}};function k(e){var t=(0,F.default)(e,2),n=t[0],o=t[1];return M(n),M(o),function e(t){var n,o,r=(n=t,o=":not(.".concat(C,")"),Array.from(n.children).filter(function(e){return 8!==e.nodeType&&(!o||e.matches(o))})),i=r.filter(function(e){return"HR"===e.tagName});r.length===i.length&&(i.concat(t).forEach(M),e(t.parentNode))}(o.parentElement),[n,o]}var N={};Object.defineProperty(N,"__esModule",{value:!0}),N.createAdapter=function(e){var o=(0,T.createDocumentFootnotes)(e).map(E.createFootnote);return{findFootnote:function(t){return o.find(function(e){return e.getId()===t})},forEachFootnote:function(e){o.forEach(e)},forEachFootnoteExcept:function(e,t){var n=t.getId();o.filter(function(e){return e.getId()!==n}).forEach(e)},hasHoveredFootnotes:function(){return o.some(function(e){return e.isHovered()})},unmount:function(){o.forEach(function(e){return e.unmount()}),(0,T.restoreOriginalFootnotes)()}}};var z={};Object.defineProperty(z,"__esModule",{value:!0}),z.littlefoot=U,z.default=void 0;var q=e(function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),o.forEach(function(e){r(t,e,n[e])})}return t}),$={activateDelay:100,activateOnHover:!1,allowDuplicates:!0,allowMultiple:!1,anchorParentSelector:"sup",anchorPattern:/(fn|footnote|note)[:\-_\d]/gi,dismissDelay:100,dismissOnUnhover:!1,footnoteSelector:"li",hoverDelay:250,contentTemplate:'<aside class="littlefoot-footnote" id="fncontent:<%= id %>" alt="Footnote <%= number %>" aria-live="polite"><div class="'.concat(s.CLASS_WRAPPER,'"><div class="').concat(s.CLASS_CONTENT,'" tabindex="0"><%= content %></div></div><div class="').concat(s.CLASS_TOOLTIP,'"></div></aside>'),buttonTemplate:'<button class="littlefoot-footnote__button littlefoot-footnote__button__ellipsis" id="<%= reference %>" title="See Footnote <%= number %>" aria-controls="fncontent:<%= id %>" aria-expanded="false" aria-label="Footnote <%= number %>" rel="footnote"><svg viewbox="0 0 31 6" preserveAspectRatio="xMidYMid"><circle r="3" cx="3" cy="3" fill="white"></circle><circle r="3" cx="15" cy="3" fill="white"></circle><circle r="3" cx="27" cy="3" fill="white"></circle></svg></button>'};function U(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},n=(0,q.default)({},$,e),t=(0,N.createAdapter)(n),o=(0,i.createCore)(t,n),r=(0,w.addEventListeners)(o);return{activate:function(e){var t=o.findFootnote(e);t&&o.activate(t)},dismiss:function(e,t){var n=e&&o.findFootnote(e);n?o.dismiss(n,t):o.dismissAll(t)},unmount:function(){r(),o.unmount()},getSetting:function(e){return n[e]},updateSetting:function(e,t){n[e]=t}}}var V=U;return z.default=V,z});
     1!function(e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).littlefoot=e()}(function(){var e=function(e){return e&&e.__esModule?e:{default:e}},i={};Object.defineProperty(i,"__esModule",{value:!0}),i.createCore=function(o,i){var a=(r=o,u=i,function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:u.activateDelay,n=u.activateCallback;e.isChanging()||(e.startChanging(),e.activate(n),r.footnotes().forEach(function(e){e.reposition(),e.resize()}),setTimeout(function(){e.ready(),e.stopChanging()},t))}),c=(n=i,function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:n.dismissDelay;e.isChanging()||(e.startChanging(),e.dismiss(),setTimeout(function(){e.remove(),e.stopChanging()},t))}),n,r,u;return{activate:a,dismiss:c,findById:function(t){return o.footnotes().find(function(e){return e.getId()===t})},unmount:o.unmount,dismissAll:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:i.dismissDelay;o.footnotes().forEach(function(e){return c(e,t)})},repositionAll:function(){o.footnotes().forEach(function(e){return e.reposition()})},resizeAll:function(){o.footnotes().forEach(function(e){return e.resize()})},toggle:function(t){var e=i.allowMultiple;t.isActive()?c(t):(e||o.footnotes().filter(function(e){return e.getId()!==t.getId()}).forEach(c),a(t))},hover:function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:i.hoverDelay,n=i.activateOnHover,r=i.allowMultiple;t.startHovering(),n&&!t.isActive()&&(r||o.footnotes().filter(function(e){return e.getId()!==t.getId()}).forEach(c),a(t,e))},unhover:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:i.hoverDelay,n=i.dismissOnUnhover;e.stopHovering(),n&&setTimeout(function(){o.footnotes().some(function(e){return e.isHovered()})||o.footnotes().forEach(c)},t)}}};var c={};Object.defineProperty(c,"__esModule",{value:!0}),c.getStyle=function(e,t){var n=(e.ownerDocument&&e.ownerDocument.defaultView||window).getComputedStyle(e);return n.getPropertyValue(t)||n[t]};var r={};function f(e){return e?c.getStyle(e,"fontSize")||f(e.parentElement):c.getStyle(window.document.documentElement,"fontSize")}Object.defineProperty(r,"__esModule",{value:!0}),r.pixels=function e(t,n){var r=n&&n.ownerDocument&&n.ownerDocument.defaultView||window,o=r.document.documentElement||r.document.body,i=(u=(c=t)||"0",l=parseFloat(u),s=u.match(/[\d-.]+(\w+)$/),[l,(s&&1<s.length?s[1]:"").toLowerCase()]),a=i[0],c,u,l,s;switch(i[1]){case"rem":return a*e(f(window.document.documentElement));case"em":return a*e(f(n),n&&n.parentElement);case"in":return 96*a;case"q":return 96*a/25.4/4;case"mm":return 96*a/25.4;case"cm":return 96*a*10/25.4;case"pt":return 96*a/72;case"pc":return 96*a/6;case"vh":return(a*r.innerHeight||o.clientWidth)/100;case"vw":return(a*r.innerWidth||o.clientHeight)/100;case"vmin":return a*Math.min(r.innerWidth||o.clientWidth,r.innerHeight||o.clientHeight)/100;case"vmax":return a*Math.max(r.innerWidth||o.clientWidth,r.innerHeight||o.clientHeight)/100;default:return a}};var o={};(function(e){var b="Expected a function",i=NaN,a="[object Symbol]",c=/^\s+|\s+$/g,u=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,s=/^0o[0-7]+$/i,f=parseInt,t="object"==typeof e&&e&&e.Object===Object&&e,n="object"==typeof self&&self&&self.Object===Object&&self,r=t||n||Function("return this")(),d=Object.prototype.toString,m=Math.max,j=Math.min,w=function(){return r.Date.now()};function O(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function _(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||(n=t)&&"object"==typeof n&&d.call(t)==a)return i;var t,n;if(O(e)){var r="function"==typeof e.valueOf?e.valueOf():e;e=O(r)?r+"":r}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(c,"");var o=l.test(e);return o||s.test(e)?f(e.slice(2),o?2:8):u.test(e)?i:+e}o=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new TypeError(b);return O(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),function(r,o,e){var i,a,c,u,l,s,f=0,d=!1,p=!1,t=!0;if("function"!=typeof r)throw new TypeError(b);function v(e){var t=i,n=a;return i=a=void 0,f=e,u=r.apply(n,t)}function h(e){var t=e-s;return void 0===s||o<=t||t<0||p&&c<=e-f}function g(){var e=w(),t,n;if(h(e))return y(e);l=setTimeout(g,(n=o-((t=e)-s),p?j(n,c-(t-f)):n))}function y(e){return l=void 0,t&&i?v(e):(i=a=void 0,u)}function n(){var e=w(),t=h(e),n;if(i=arguments,a=this,s=e,t){if(void 0===l)return f=n=s,l=setTimeout(g,o),d?v(n):u;if(p)return l=setTimeout(g,o),v(s)}return void 0===l&&(l=setTimeout(g,o)),u}return o=_(o)||0,O(e)&&(d=!!e.leading,c=(p="maxWait"in e)?m(_(e.maxWait)||0,o):c,t="trailing"in e?!!e.trailing:t),n.cancel=function(){void 0!==l&&clearTimeout(l),i=s=a=l=void(f=0)},n.flush=function(){return void 0===l?u:y(w())},n}(e,t,{leading:r,maxWait:t,trailing:o})}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{});var t,n={};t=function(){"use strict";function e(){if(!(this instanceof e))return new e;this.size=0,this.uid=0,this.selectors=[],this.indexes=Object.create(this.indexes),this.activeIndexes=[]}var t=window.document.documentElement,n=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.msMatchesSelector;e.prototype.matchesSelector=function(e,t){return n.call(e,t)},e.prototype.querySelectorAll=function(e,t){return t.querySelectorAll(e)};var r=/^#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/g;(e.prototype.indexes=[]).push({name:"ID",selector:function(e){var t;if(t=e.match(r))return t[0].slice(1)},element:function(e){if(e.id)return[e.id]}});var o=/^\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/g;e.prototype.indexes.push({name:"CLASS",selector:function(e){var t;if(t=e.match(o))return t[0].slice(1)},element:function(e){var t=e.className;if(t){if("string"==typeof t)return t.split(/\s/);if("object"==typeof t&&"baseVal"in t)return t.baseVal.split(/\s/)}}});var d,i=/^((?:[\w\u00c0-\uFFFF\-]|\\.)+)/g;function a(){this.map={}}e.prototype.indexes.push({name:"TAG",selector:function(e){var t;if(t=e.match(i))return t[0].toUpperCase()},element:function(e){return[e.nodeName.toUpperCase()]}}),e.prototype.indexes.default={name:"UNIVERSAL",selector:function(){return!0},element:function(){return[!0]}},d="function"==typeof window.Map?window.Map:(a.prototype.get=function(e){return this.map[e+" "]},a.prototype.set=function(e,t){this.map[e+" "]=t},a);var f=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g;function p(e,t){var n,r,o,i,a,c,u=(e=e.slice(0).concat(e.default)).length,l=t,s=[];do{if(f.exec(""),(o=f.exec(l))&&(l=o[3],o[2]||!l))for(n=0;n<u;n++)if(a=(c=e[n]).selector(o[1])){for(r=s.length,i=!1;r--;)if(s[r].index===c&&s[r].key===a){i=!0;break}i||s.push({index:c,key:a});break}}while(o);return s}function v(e,t){var n,r,o;for(n=0,r=e.length;n<r;n++)if(o=e[n],t.isPrototypeOf(o))return o}function h(e,t){return e.id-t.id}return e.prototype.logDefaultIndexUsed=function(){},e.prototype.add=function(e,t){var n,r,o,i,a,c,u,l,s=this.activeIndexes,f=this.selectors;if("string"==typeof e){for(n={id:this.uid++,selector:e,data:t},u=p(this.indexes,e),r=0;r<u.length;r++)i=(l=u[r]).key,(a=v(s,o=l.index))||((a=Object.create(o)).map=new d,s.push(a)),o===this.indexes.default&&this.logDefaultIndexUsed(n),(c=a.map.get(i))||(c=[],a.map.set(i,c)),c.push(n);this.size++,f.push(e)}},e.prototype.remove=function(e,t){if("string"==typeof e){var n,r,o,i,a,c,u,l,s=this.activeIndexes,f={},d=1===arguments.length;for(n=p(this.indexes,e),o=0;o<n.length;o++)for(r=n[o],i=s.length;i--;)if(c=s[i],r.index.isPrototypeOf(c)){if(u=c.map.get(r.key))for(a=u.length;a--;)(l=u[a]).selector!==e||!d&&l.data!==t||(u.splice(a,1),f[l.id]=!0);break}this.size-=Object.keys(f).length}},e.prototype.queryAll=function(e){if(!this.selectors.length)return[];var t,n,r,o,i,a,c,u,l={},s=[],f=this.querySelectorAll(this.selectors.join(", "),e);for(t=0,r=f.length;t<r;t++)for(i=f[t],n=0,o=(a=this.matches(i)).length;n<o;n++)l[(u=a[n]).id]?c=l[u.id]:(c={id:u.id,selector:u.selector,data:u.data,elements:[]},l[u.id]=c,s.push(c)),c.elements.push(i);return s.sort(h)},e.prototype.matches=function(e){if(!e)return[];var t,n,r,o,i,a,c,u,l,s,f,d=this.activeIndexes,p={},v=[];for(t=0,o=d.length;t<o;t++)if(u=(c=d[t]).element(e))for(n=0,i=u.length;n<i;n++)if(l=c.map.get(u[n]))for(r=0,a=l.length;r<a;r++)!p[f=(s=l[r]).id]&&this.matchesSelector(e,s.selector)&&(p[f]=!0,v.push(s));return v.sort(h)},e},"object"==typeof n?n=t():this.SelectorSet=t();var a,u,b={exports:{}};a=this,u=function(e,a){"use strict";a=a&&a.hasOwnProperty("default")?a.default:a;var u={},l={},s=new WeakMap,f=new WeakMap,d=new WeakMap,n=Object.getOwnPropertyDescriptor(Event.prototype,"currentTarget");function p(e,t,n){var r=e[t];return e[t]=function(){return n.apply(e,arguments),r.apply(e,arguments)},e}function v(){s.set(this,!0)}function h(){s.set(this,!0),f.set(this,!0)}function g(){return d.get(this)||null}function y(e,t){n&&Object.defineProperty(e,"currentTarget",{configurable:!0,enumerable:!0,get:t||n.get})}function c(e){var t=(1===e.eventPhase?l:u)[e.type];if(t){var n=function(e,t,n){var r=[],o=t;do{if(1!==o.nodeType)break;var i=e.matches(o);if(i.length){var a={node:o,observers:i};n?r.unshift(a):r.push(a)}}while(o=o.parentElement);return r}(t,e.target,1===e.eventPhase);if(n.length){p(e,"stopPropagation",v),p(e,"stopImmediatePropagation",h),y(e,g);for(var r=0,o=n.length;r<o&&!s.get(e);r++){var i=n[r];d.set(e,i.node);for(var a=0,c=i.observers.length;a<c&&!f.get(e);a++)i.observers[a].data.call(i.node,e)}d.delete(e),y(e)}}}e.off=function(e,t,n){var r=!!(3<arguments.length&&void 0!==arguments[3]?arguments[3]:{}).capture,o=r?l:u,i=o[e];i&&(i.remove(t,n),i.size||(delete o[e],document.removeEventListener(e,c,r)))},e.on=function(e,t,n){var r=!!(3<arguments.length&&void 0!==arguments[3]?arguments[3]:{}).capture,o=r?l:u,i=o[e];i||(i=new a,o[e]=i,document.addEventListener(e,c,r)),i.add(t,n)},Object.defineProperty(e,"__esModule",{value:!0})},"object"==typeof b.exports?u(b.exports,n):u((a=a||self)["delegated-events"]={},a.SelectorSet),b=b.exports;var j={};Object.defineProperty(j,"__esModule",{value:!0}),j.bindContentScrollHandler=function(e){var t=(0,m.default)(s);e.addEventListener("mousewheel",t),e.addEventListener("wheel",t)},j.addEventListeners=function(e){var t,n=e.dismissAll,r=e.findById,o=e.hover,i=e.repositionAll,a=e.resizeAll,c=e.toggle,u=e.unhover,l=(h=r,g=c,y=n,function(e){var t,n=(t=e.target.closest("[data-footnote-button]"))&&t.dataset.footnoteId,r=n&&h(n);r?g(r):O(e.target)||y()}),s=(t=n,function(e){return 27===e.keyCode&&t()}),f=(0,m.default)(i),d=(0,m.default)(a),p=_(r,o),v=_(r,u),h,g,y;return document.addEventListener("touchend",l),document.addEventListener("click",l),document.addEventListener("keyup",s),document.addEventListener("gestureend",f),window.addEventListener("scroll",f),window.addEventListener("resize",d),(0,b.on)("mouseover",w,p),(0,b.on)("mouseout",w,v),function(){document.removeEventListener("touchend",l),document.removeEventListener("click",l),document.removeEventListener("keyup",s),document.removeEventListener("gestureend",f),window.removeEventListener("scroll",f),window.removeEventListener("resize",d),(0,b.off)("mouseover",w,p),(0,b.off)("mouseout",w,v)}},j.FOOTNOTE_SELECTOR=void 0;var m=e(o),w="[data-footnote-id]";j.FOOTNOTE_SELECTOR=w;var l="is-fully-scrolled";function O(e){return e.closest("[data-footnote-popover]")}function _(o,i){return function(e){e.preventDefault();var t,n=(t=e.target.closest(w))&&t.dataset.footnoteId,r=n&&o(n);r&&i(r)}}function s(e){var t=e.currentTarget,n=-e.deltaY,r=t.clientHeight,o=O(t);if(o&&n<=0&&n<r+t.scrollTop-t.scrollHeight)return o.classList.add(l),t.scrollTop=t.scrollHeight,void e.preventDefault();o&&0<n&&(o.classList.remove(l),t.scrollTop<n&&(t.scrollTop=0,e.preventDefault()))}var d={};Object.defineProperty(d,"__esModule",{value:!0}),d.getAvailableRoom=function(e){var t=parseFloat((0,c.getStyle)(e,"marginLeft")),n=e.offsetWidth-t,r=e.offsetHeight,o=e.getBoundingClientRect(),i=o.left+n/2,a=o.top+r/2;return{top:a,bottom:window.innerHeight-a,leftRelative:i/window.innerWidth}},d.getAvailableHeight=function(e,t){var n=y(e,t),r=parseInt((0,c.getStyle)(e,"marginTop"),10);return t[n?g:h]-r-15},d.repositionPopover=function(e,t){var n=y(e,t),r=e.dataset.footnotePosition,o=n?g:h;r!==o&&(e.dataset.footnotePosition=o,e.classList.remove("".concat(v).concat(r)),e.classList.add("".concat(v).concat(o)),e.style.transformOrigin="".concat(100*t.leftRelative,"% ").concat(n?"100%":"0"))},d.repositionTooltip=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:.5,n=e.querySelector("."+p);n&&(n.style.left=100*t+"%")},d.CLASS_WRAPPER=d.CLASS_TOOLTIP=d.CLASS_CONTENT=void 0,d.CLASS_CONTENT="littlefoot-footnote__content";var p="littlefoot-footnote__tooltip";d.CLASS_TOOLTIP=p,d.CLASS_WRAPPER="littlefoot-footnote__wrapper";var v="is-positioned-",h="bottom",g="top";function y(e,t){var n=2*parseInt((0,c.getStyle)(e,"marginTop"),10)+e.offsetHeight;return t.bottom<n&&t.bottom<t.top}var S={};Object.defineProperty(S,"__esModule",{value:!0}),S.createFootnote=function(i){return{getId:function(){return i.id},activate:function(e){i.button.blur(),i.button.setAttribute("aria-expanded","true"),i.button.classList.add(A),i.button.insertAdjacentHTML("afterend",i.content),i.popover=i.button.nextElementSibling,i.popover.dataset.footnotePopover="",i.popover.dataset.footnoteId=i.id;var t=L(i.popover);i.popover.style.maxWidth="".concat(document.body.clientWidth,"px"),(0,j.bindContentScrollHandler)(t);var n=(0,c.getStyle)(t,"maxHeight");i.maxHeight=Math.round((0,r.pixels)(n,t)),"function"==typeof e&&e(i.popover,i.button)},dismiss:function(){i.button.blur(),i.button.setAttribute("aria-expanded","false"),i.button.classList.remove(A)},isActive:function(){return i.button.classList.contains(A)},isChanging:function(){return i.button.classList.contains(x)},isHovered:function(){return i.isHovered},ready:function(){i.popover&&i.popover.classList.add(A)},remove:function(){i.popover&&(i.popover.parentNode.removeChild(i.popover),delete i.popover)},reposition:function(){if(i.popover){var e=(0,d.getAvailableRoom)(i.button),t=L(i.popover),n=Math.min(i.maxHeight,(0,d.getAvailableHeight)(i.popover,e));t.style.maxHeight=n+"px",(0,d.repositionPopover)(i.popover,e),i.popover.offsetHeight<=t.scrollHeight&&i.popover.classList.add(E)}},resize:function(){if(i.popover){var e=(0,d.getAvailableRoom)(i.button),t=L(i.popover).offsetWidth,n=parseInt((0,c.getStyle)(i.button,"marginLeft"),10),r=-e.leftRelative*t+n+i.button.offsetWidth/2,o=i.popover.querySelector("."+d.CLASS_WRAPPER);i.popover.style.left=r+"px",o&&(o.style.maxWidth=t+"px"),(0,d.repositionTooltip)(i.popover,e.leftRelative)}},startChanging:function(){i.button.classList.add(x)},stopChanging:function(){i.button.classList.remove(x)},startHovering:function(){i.isHovered=!0},stopHovering:function(){i.isHovered=!1},unmount:function(){i.host.parentNode.removeChild(i.host)}}};var A="is-active",x="is-changing",E="is-scrollable";function L(e){return e.querySelector("."+d.CLASS_CONTENT)}var De=/<%=([\s\S]+?)%>/g,Re={};(function(e){var t,a=1/0,c="[object Null]",u="[object Symbol]",l="[object Undefined]",n=/[&<>"']/g,r=RegExp(n.source),o="object"==typeof e&&e&&e.Object===Object&&e,i="object"==typeof self&&self&&self.Object===Object&&self,s=o||i||Function("return this")(),f=(t={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},function(e){return null==t?void 0:t[e]}),d=Object.prototype,p=d.hasOwnProperty,v=d.toString,h=s.Symbol,g=h?h.toStringTag:void 0,y=h?h.prototype:void 0,b=y?y.toString:void 0,m={escape:/<%-([\s\S]+?)%>/g,evaluate:/<%([\s\S]+?)%>/g,interpolate:De,variable:"",imports:{_:{escape:function(e){return(e=null==(t=e)?"":j(t))&&r.test(e)?e.replace(n,f):e;var t}}}};function j(e){if("string"==typeof e)return e;if(w(e))return function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}(e,j)+"";if("symbol"==typeof(t=e)||null!=(o=t)&&"object"==typeof o&&(null==(n=t)?void 0===n?l:c:g&&g in Object(n)?function(e){var t=p.call(e,g),n=e[g];try{var r=!(e[g]=void 0)}catch(e){}var o=v.call(e);return r&&(t?e[g]=n:delete e[g]),o}(n):(r=n,v.call(r)))==u)return b?b.call(e):"";var t,n,r,o,i=e+"";return"0"==i&&1/e==-a?"-0":i}var w=Array.isArray;Re=m}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{});var We={exports:{}};(function(e){var r=1/0,o=9007199254740991,t="[object Arguments]",n="[object AsyncFunction]",i="[object DOMException]",a="[object Error]",c="[object Function]",u="[object GeneratorFunction]",l="[object Null]",s="[object Object]",f="[object Proxy]",d="[object Symbol]",p="[object Undefined]",m=/\b__p \+= '';/g,j=/\b(__p \+=) '' \+/g,w=/(__e\(.*?\)|\b__t\)) \+\n'';/g,O=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,v=/^\[object .+?Constructor\]$/,h=/^(?:0|[1-9]\d*)$/,_=/($^)/,S=/['\n\r\u2028\u2029\\]/g,g={};g["[object Float32Array]"]=g["[object Float64Array]"]=g["[object Int8Array]"]=g["[object Int16Array]"]=g["[object Int32Array]"]=g["[object Uint8Array]"]=g["[object Uint8ClampedArray]"]=g["[object Uint16Array]"]=g["[object Uint32Array]"]=!0,g[t]=g["[object Array]"]=g["[object ArrayBuffer]"]=g["[object Boolean]"]=g["[object DataView]"]=g["[object Date]"]=g[a]=g[c]=g["[object Map]"]=g["[object Number]"]=g[s]=g["[object RegExp]"]=g["[object Set]"]=g["[object String]"]=g["[object WeakMap]"]=!1;var y={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},b="object"==typeof e&&e&&e.Object===Object&&e,A="object"==typeof self&&self&&self.Object===Object&&self,x=b||A||Function("return this")(),E="object"==typeof We.exports&&We.exports&&!We.exports.nodeType&&We.exports,L=E&&We&&!We.nodeType&&We,T=L&&L.exports===E,P=T&&b.process,C=function(){try{return L&&L.require&&L.require("util").types||P&&P.binding&&P.binding("util")}catch(e){}}(),H=C&&C.isTypedArray;function I(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function M(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}function F(e){return"\\"+y[e]}function D(t,n){return function(e){return t(n(e))}}var R,W=Function.prototype,k=Object.prototype,N=x["__core-js_shared__"],$=W.toString,U=k.hasOwnProperty,q=(R=/[^.]+$/.exec(N&&N.keys&&N.keys.IE_PROTO||""))?"Symbol(src)_1."+R:"",z=k.toString,B=$.call(Object),V=RegExp("^"+$.call(U).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),G=T?x.Buffer:void 0,Y=x.Symbol,J=D(Object.getPrototypeOf,Object),K=k.propertyIsEnumerable,Q=Y?Y.toStringTag:void 0,X=function(){try{var e=(r=Object,!Le(t=i=null==r?void 0:r.defineProperty)||q&&q in(n=t)||!(xe(t)?V:v).test(function(e){if(null!=e){try{return $.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(t))?void 0:i);return e({},"",{}),e}catch(e){}var t,n,r,o,i}(),Z=G?G.isBuffer:void 0,ee=D(Object.keys,Object),te=Math.max,ne=Date.now,re=Y?Y.prototype:void 0,oe=re?re.toString:void 0;function ie(e,t){var n=Oe(e),r=!n&&we(e),o=!n&&!r&&Se(e),i=!n&&!r&&!o&&Ce(e),a=n||r||o||i,c=a?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],u=c.length;for(var l in e)!t&&!U.call(e,l)||a&&("length"==l||o&&("offset"==l||"parent"==l)||i&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||pe(l,u))||c.push(l);return c}function ae(e,t,n){var r=e[t];U.call(e,t)&&je(r,n)&&(void 0!==n||t in e)||ce(e,t,n)}function ce(e,t,n){"__proto__"==t&&X?X(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function ue(e){return null==e?void 0===e?p:l:Q&&Q in Object(e)?function(e){var t=U.call(e,Q),n=e[Q];try{var r=!(e[Q]=void 0)}catch(e){}var o=z.call(e);return r&&(t?e[Q]=n:delete e[Q]),o}(e):(t=e,z.call(t));var t}function le(e){return Te(e)&&ue(e)==t}function se(e,t){return me((i=e,c=Fe,a=te(void 0===(a=t)?i.length-1:a,0),function(){for(var e=arguments,t=-1,n=te(e.length-a,0),r=Array(n);++t<n;)r[t]=e[a+t];t=-1;for(var o=Array(a+1);++t<a;)o[t]=e[t];return o[a]=c(r),I(i,this,o)}),e+"");var i,a,c}function fe(e){if("string"==typeof e)return e;if(Oe(e))return M(e,fe)+"";if("symbol"==typeof(t=e)||Te(t)&&ue(t)==d)return oe?oe.call(e):"";var t,n=e+"";return"0"==n&&1/e==-r?"-0":n}function de(e,t,n,r){return void 0===e||je(e,k[n])&&!U.call(r,n)?t:e}function pe(e,t){var n=typeof e;return!!(t=null==t?o:t)&&("number"==n||"symbol"!=n&&h.test(e))&&-1<e&&e%1==0&&e<t}function ve(e,t,n){if(!Le(n))return!1;var r=typeof t;return!!("number"==r?_e(n)&&pe(t,n.length):"string"==r&&t in n)&&je(n[t],e)}function he(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||k)}var ge,ye,be,me=(ge=X?function(e,t){return X(e,"toString",{configurable:!0,enumerable:!1,value:(n=t,function(){return n}),writable:!0});var n}:Fe,be=ye=0,function(){var e=ne(),t=16-(e-be);if(be=e,0<t){if(800<=++ye)return arguments[0]}else ye=0;return ge.apply(void 0,arguments)});function je(e,t){return e===t||e!=e&&t!=t}var we=le(function(){return arguments}())?le:function(e){return Te(e)&&U.call(e,"callee")&&!K.call(e,"callee")},Oe=Array.isArray;function _e(e){return null!=e&&Ee(e.length)&&!xe(e)}var Se=Z||function(){return!1};function Ae(e){if(!Te(e))return!1;var t=ue(e);return t==a||t==i||"string"==typeof e.message&&"string"==typeof e.name&&!function(e){if(!Te(e)||ue(e)!=s)return!1;var t=J(e);if(null===t)return!0;var n=U.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&$.call(n)==B}(e)}function xe(e){if(!Le(e))return!1;var t=ue(e);return t==c||t==u||t==n||t==f}function Ee(e){return"number"==typeof e&&-1<e&&e%1==0&&e<=o}function Le(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Te(e){return null!=e&&"object"==typeof e}var Pe,Ce=H?(Ie=H,function(e){return Ie(e)}):function(e){return Te(e)&&Ee(e.length)&&!!g[ue(e)]},He=(Pe=function(e,t,n,r){var o;!function(e,t,n,r){var o=!n;n=n||{};for(var i=-1,a=t.length;++i<a;){var c=t[i],u=r?r(n[c],e[c],c,n,e):void 0;void 0===u&&(u=e[c]),o?ce(n,c,u):ae(n,c,u)}}(t,_e(o=t)?ie(o,!0):function(e){if(!Le(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=he(e),n=[];for(var r in e)("constructor"!=r||!t&&U.call(e,r))&&n.push(r);return n}(o),e,r)},se(function(e,t){var n=-1,r=t.length,o=1<r?t[r-1]:void 0,i=2<r?t[2]:void 0;for(o=3<Pe.length&&"function"==typeof o?(r--,o):void 0,i&&ve(t[0],t[1],i)&&(o=r<3?void 0:o,r=1),e=Object(e);++n<r;){var a=t[n];a&&Pe(e,a,0,o)}return e})),Ie,Me=se(function(e,t){try{return I(e,void 0,t)}catch(e){return Ae(e)?e:new Error(e)}});function Fe(e){return e}We.exports=function(a,e,t){var n,r=Re.imports._.templateSettings||Re;t&&ve(a,e,t)&&(e=void 0),a=null==(n=a)?"":fe(n),e=He({},e,r,de);var o,c,u,i=He({},e.imports,r.imports,de),l=_e(g=i)?ie(g):function(e){if(!he(e))return ee(e);var t=[];for(var n in Object(e))U.call(e,n)&&"constructor"!=n&&t.push(n);return t}(g),s=(o=i,M(l,function(e){return o[e]})),f=0,d=e.interpolate||_,p="__p += '",v=RegExp((e.escape||_).source+"|"+d.source+"|"+(d===De?O:_).source+"|"+(e.evaluate||_).source+"|$","g"),h=U.call(e,"sourceURL")?"//# sourceURL="+(e.sourceURL+"").replace(/[\r\n]/g," ")+"\n":"",g;a.replace(v,function(e,t,n,r,o,i){return n=n||r,p+=a.slice(f,i).replace(S,F),t&&(c=!0,p+="' +\n__e("+t+") +\n'"),o&&(u=!0,p+="';\n"+o+";\n__p += '"),n&&(p+="' +\n((__t = ("+n+")) == null ? '' : __t) +\n'"),f=i+e.length,e}),p+="';\n";var y=U.call(e,"variable")&&e.variable;y||(p="with (obj) {\n"+p+"\n}\n"),p=(u?p.replace(m,""):p).replace(j,"$1").replace(w,"$1;"),p="function("+(y||"obj")+") {\n"+(y?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(c?", __e = _.escape":"")+(u?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+p+"return __p\n}";var b=Me(function(){return Function(l,h+"return "+p).apply(void 0,s)});if(b.source=p,Ae(b))throw b;return b}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{}),We=We.exports;var T={};Object.defineProperty(T,"__esModule",{value:!0}),T.restoreOriginalFootnotes=function(){Array.from(document.querySelectorAll("."+H)).forEach(function(e){return e.classList.remove(H)})},T.createDocumentFootnotes=function(e){var t,n,r,o,i,a,c,u,l,s,f,d=e.buttonTemplate,p=e.contentTemplate,v=e.numberResetSelector,h=(n=(t=document.querySelectorAll(j.FOOTNOTE_SELECTOR)).length?t[t.length-1].dataset.footnoteId:"0",1+parseInt(n,10)),g,y,b,m;return(l=(u=e).anchorPattern,f=void 0===(s=u.scope)?"":s,Array.from(document.querySelectorAll(f+' a[href^="#"]')).filter(function(e){return(e.href+e.rel).match(l)})).map((o=(r=e).allowDuplicates,i=r.anchorParentSelector,a=r.footnoteSelector,c=[],function(e){var t="#"+e.href.split("#")[1].replace(/[:.+~*[\]]/g,"\\$&"),n=Array.from(document.querySelectorAll(t)).find(function(e){return o||!c.includes(e)}),r=n&&n.closest(a);if(r)return c.push(r),[e.closest(i)||e,r]})).filter(F).map(k).map(W(h)).map(v?R(v):function(e){return e}).map((g=d,y=p,b=(0,C.default)(g),m=(0,C.default)(y),function(e,t){var n=(0,P.default)(e,3),r=n[0],o=n[1],i=n[2],a="".concat(t+1),c={number:i,id:a,content:D(o.innerHTML,r.id),reference:r.id},u=m(c);r.insertAdjacentHTML("beforebegin",'<span class="'.concat(I,'">').concat(b(c),"</span>"));var l=r.previousElementSibling,s=l.firstElementChild;return s.dataset.footnoteButton="",s.dataset.footnoteId=a,s.dataset.footnoteNumber="".concat(i),{id:a,button:s,host:l,content:u,isHovered:!1,maxHeight:0}}))};var P=e(function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}),C=e(We),H="footnote-print-only",I="littlefoot-footnote__host",M=function(e){return e.classList.add(H)};function F(e){return void 0!==e}function D(e,t){var n=t.trim().replace(/\s+/g,"|"),r=new RegExp("(\\s|&nbsp;)*<\\s*a[^#<]*#("+n+")[^>]*>(.*?)<\\s*/\\s*a>","g"),o=e.trim().replace(r,"").replace("[]","");return o.startsWith("<")?o:"<p>"+o+"</p>"}var R=function(u){return function(e,t,n){var r=(0,P.default)(e,3),o=r[0],i=r[1],a=r[2],c=a?n[a-1][2]:0;return[o,i,o.closest(u)?1:c+1]}},W=function(r){return function(e,t){var n=(0,P.default)(e,2);return[n[0],n[1],r+t]}};function k(e){var t=(0,P.default)(e,2),n=t[0],r=t[1];return M(n),M(r),function e(t){var n,r,o=(n=t,r=":not(.".concat(H,")"),Array.from(n.children).filter(function(e){return 8!==e.nodeType&&(!r||e.matches(r))})),i=o.filter(function(e){return"HR"===e.tagName});o.length===i.length&&(i.concat(t).forEach(M),e(t.parentNode))}(r.parentElement),[n,r]}var N={};Object.defineProperty(N,"__esModule",{value:!0}),N.createAdapter=function(e){var t=(0,T.createDocumentFootnotes)(e).map(S.createFootnote);return{footnotes:function(){return t},unmount:function(){t.forEach(function(e){return e.unmount()}),(0,T.restoreOriginalFootnotes)()}}};var $={};Object.defineProperty($,"__esModule",{value:!0}),$.littlefoot=B,$.default=void 0;var U=e(function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e});function q(t,e){var n=Object.keys(t);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(t)),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n}var z={activateDelay:100,activateOnHover:!1,allowDuplicates:!0,allowMultiple:!1,anchorParentSelector:"sup",anchorPattern:/(fn|footnote|note)[:\-_\d]/gi,dismissDelay:100,dismissOnUnhover:!1,footnoteSelector:"li",hoverDelay:250,contentTemplate:'<aside class="littlefoot-footnote" id="fncontent:<%= id %>" alt="Footnote <%= number %>" aria-live="polite"><div class="'.concat(d.CLASS_WRAPPER,'"><div class="').concat(d.CLASS_CONTENT,'" tabindex="0"><%= content %></div></div><div class="').concat(d.CLASS_TOOLTIP,'"></div></aside>'),buttonTemplate:'<button class="littlefoot-footnote__button littlefoot-footnote__button__ellipsis" id="<%= reference %>" title="See Footnote <%= number %>" aria-controls="fncontent:<%= id %>" aria-expanded="false" aria-label="Footnote <%= number %>" rel="footnote"><svg viewbox="0 0 31 6" preserveAspectRatio="xMidYMid"><circle r="3" cx="3" cy="3" fill="white"></circle><circle r="3" cx="15" cy="3" fill="white"></circle><circle r="3" cx="27" cy="3" fill="white"></circle></svg></button>'};function B(){var e,n=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?q(n,!0).forEach(function(e){(0,U.default)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):q(n).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({},z,{},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}),t=(0,N.createAdapter)(n),r=(0,i.createCore)(t,n),o=(0,j.addEventListeners)(r);return{activate:function(e){var t=r.findById(e);t&&r.activate(t)},dismiss:function(e,t){var n=e&&r.findById(e);n?r.dismiss(n,t):r.dismissAll(t)},unmount:function(){o(),r.unmount()},getSetting:function(e){return n[e]},updateSetting:function(e,t){n[e]=t}}}var V=B;return $.default=V,$});
  • _plugins_/bigfoot/paquet.xml

    r115608 r115983  
    22        prefix="bigfoot"
    33        categorie="divers"
    4         version="1.1.0"
     4        version="1.1.1"
    55        etat="stable"
    66        compatibilite="[3.0.0;3.2.*]"
Note: See TracChangeset for help on using the changeset viewer.