Files

4 lines
65 KiB
JavaScript
Executable File
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

!function(){"use strict";function m(n){let{wait:i="raf",immediate:r=!1}=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};const o="raf"===i;if(o||"number"==typeof i){let c;return function(){let e=this,t=arguments;var a=r&&!c;c&&(o?window.cancelAnimationFrame(c):clearTimeout(c)),c=o?window.requestAnimationFrame(()=>n.apply(e,t)):setTimeout(()=>{c=null,r||n.apply(e,t)},i),a&&n.apply(e,t)}}}var e={exports:{}};function a(){this.listeners={}}t=e,a.prototype={on:function(e,t,a){this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push({fn:t,scope:a||null})},off:function(e,t){if(!this.listeners[e])return!1;t||(this.listeners[e]=[]);for(var a=this.listeners[e].length;a--;)this.listeners[e][a].fn===t&&this.listeners[e].splice(a,1);return this.listeners[e].length||(this.listeners[e]=null),!0},emit:function(e){for(var t=this.listeners[e]||[],a=[].slice.call(arguments,1),c=0;t[c];++c)t[c].fn.apply(t[c].scope,a)}},t.exports=a;var i,r,o,s,l,d,u=e.exports;function c(){return d}function h(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function g(e){return{ev:(e=e.split("."))[0],ns:e[1]||null}}function b(e,t){for(var a=[],c=0;e[c];++c)t(e[c])||a.push(e[c]);return a}i=window,r={},o={},s={},l={},d={on:function(e,t,a){for(var c=e.split(/\s+/),n=0;c[n];++n)"complete"===i.document.readyState&&c[n].match(/^load(\.|$)/)?function(e,t,a){i.requestAnimationFrame(function(){t.call(a||null,{type:e})})}("load",t,a):function(e,t,a){var e=g(e),c=e.ev,e=e.ns;s[c]||(l[c]=function(e){d.notify(c,e)},i.addEventListener(c,l[c],!1),s[c]=!0),o[c]||(o[c]=[]),o[c].push({fn:t,ns:e,scope:a||null})}(c[n],t,a)},off:function(e,t){for(var a=e.split(/\s+/),c=0,n=0;a[n];++n)c+=function(e,t){var e=g(e),a=e.ev,c=e.ns;return!!o[a]&&(o[a]=c&&t?b(o[a],function(e){return e.ns===c&&e.fn===t}):c?b(o[a],function(e){return e.ns===c}):t?b(o[a],function(e){return e.fn===t}):[],0<!o[a].length&&(o[a]=null),!0)}(a[n],t)?1:0;return c},reset:function(){for(var e in s)h(s,e)&&i.removeEventListener(e,l[e],!1);for(e in r)h(r,e)&&r[e]&&i.cancelAnimationFrame(r[e]);o={},r={},s={},l={}},notify:function(c,n){!r[c]&&o[c]&&(r[c]=i.requestAnimationFrame(function(){for(var e=n,t=o[c]||[],a=0;t[a];++a)t[a].fn.call(t[a].scope,e);r[c]=!1}))}};var f=c,y=()=>{var o,s,l="c-reading-companion",r="--active",e=l+"__section-item",x=e+r,g="--stuck",b=l+"__sticky",t="rc-sec-",n="rc-",f="rc-",i="data-tab-target",y="data-component",v="aria-selected",A="aria-controls",m="tabindex",d="data-src",C="data-srcset",E="data-component-mpu",_=!1,u=!1,h=0;function p(e,t){return Array.prototype.slice.call(e.querySelectorAll(t))}function S(e){var t,a;this.html=e.querySelector("a")?(t=e.innerHTML,(a=document.createElement("div")).innerHTML=t,p(a,"a").forEach(function(e){var t=document.createElement("span");-1!==e.href.indexOf("#Fn")&&t.classList.add("u-visually-hidden"),t.innerHTML=e.innerHTML,e.parentNode.replaceChild(t,e)}),a.innerHTML):e.innerHTML,this.text=e.textContent.replace(/[^a-z0-9\s]/gi,""),this.id=e.id}function w(e,t){var a=e.querySelector(".c-article-supplementary__title a");a?(this.id=e.id,this.caption=a.innerHTML,this.link=a.href,this.images=[this.placeholderFor(a,t)]):(this.id=(e.querySelector(".c-article-section__figure-caption")||{id:null}).id,this.caption=(e.querySelector("figcaption > b")||{innerHTML:"Figure"}).innerHTML,this.link=(e.querySelector(".c-article__pill-button")||{href:null}).href,this.images=this.findImages(e,t))}function L(e){var t=e.querySelector(".c-article-references__text");this.id=t.id,this.num=e.parentElement.querySelector(".c-article-references__item").dataset.counter||"",this.citation=t.innerHTML,this.links=this.findLinks(e)}function a(e){this.href=e.href,this.text=e.textContent,this.label=e.getAttribute("data-track-label")||"link",this.action=this.text.trim().toLowerCase()}function k(e){return document.getElementById(t+e)}function D(e,t){var a=l+"--highlighted",c="animationend";t&&(T(e),t.setAttribute(m,"-1"),t.focus(),t.classList.add(a),t.addEventListener(c,function e(){t.classList.remove(a),t.removeEventListener(c,e)}),t.scrollIntoView({block:"start"}))}function T(e,t){var a,c,e=o.querySelector("."+l+"__"+e),n=o.querySelector("."+l+"__panel"+r);e&&n&&(a=e.querySelector("img["+d+"]"),c=o.querySelector("button["+A+"="+e.id+"]"),a&&p(e,"picture").forEach(function(e){var t=e.querySelector("source"),e=e.querySelector("img");t.srcset=t.getAttribute(C),t.removeAttribute(C),e.src=e.getAttribute(d),e.removeAttribute(d)}),n&&((a=o.querySelector("button["+A+"="+n.id+"]")).setAttribute(v,"false"),a.setAttribute(m,"-1"),a.classList.remove(l+"__tab"+r),n.classList.remove(l+"__panel"+r),n.removeAttribute(m)),c.setAttribute(v,"true"),c.removeAttribute(m),c.classList.add(l+"__tab"+r),e.classList.add(l+"__panel"+r),t&&t.focus&&c.focus(),window.requestAnimationFrame(B))}function c(){const e=o.querySelector("."+l+"__panel"+r),t=e.querySelector("."+l+"__scroll-pane");var a=e.querySelector("["+E+"]"),c=a?function(e){var t=e.offsetHeight;const a=window.getComputedStyle(e);return["top","bottom"].map(e=>parseInt(a["margin-".concat(e)],10)).reduce((e,t)=>e+t,t)}(a):0,n=s?h+(s.offsetHeight+8):h,i=t.getBoundingClientRect().top+h+c,n=t.offsetTop+n+c,c=window.innerHeight<=560;return!1===u&&420<=i&&a?"auto":window.innerHeight>i&&300<=window.innerHeight-i||u||c?i:n}function q(){const e=o.querySelector("."+l+"__panel"+r),t=e.querySelector("."+l+"__scroll-pane");var a=c();t.style.maxHeight="auto"!==a?window.innerHeight-a+"px":"none"}function B(){var e=document.querySelector("div["+y+"=article-container]"),t=s?h+(s.offsetHeight+8):h,a=o.parentNode.getBoundingClientRect().top<=t,c=o.offsetHeight,e=e.getBoundingClientRect().bottom-document.documentElement.clientTop-(c+t),c=b+g,n=o.classList,i=(u=n.contains(c),0<o.getBoundingClientRect().width);!u&&a&&i?(n.add(c),u=!0):u&&!a&&i&&(n.remove(c),u=!1),u&&i&&(o.style.width=o.parentNode.getBoundingClientRect().width+"px"),e<=0?o.style.top=e+t+"px":(o.style.top=t+"px",q())}function M(e,t){if(o.querySelector("."+l+"__sections-list")){const r=o.querySelector("."+l+"__sections-list").parentNode;t.on("nav.section",function(e,t){var a,c,n,i,t=t&&k(t),e=e&&k(e);t&&t.classList.remove(x),e&&(e.classList.add(x),t=e,e=r,a=e.clientHeight,c=e.scrollTop+e.offsetTop,n=c+a,a/=4,i=t.offsetTop,t=i+t.clientHeight,i<c?e.scrollTop-=c-i+a:n<t&&(e.scrollTop+=t-n+a))}),t.on("nav.figure",function(e){D("figures",document.getElementById(n+e))}),t.on("nav.reference",function(e,t){var a,c,e=document.getElementById(f+e);t&&(t=t,(c=(a=e).querySelector("."+l+"__return"))&&c.parentNode.removeChild(c),(c=document.createElement("a")).href="#"+t.id,c.appendChild(document.createTextNode("Return to ref "+t.textContent+" in article")),c.className=l+"__return",c.addEventListener("click",function(){c.parentNode.removeChild(c)}),a.appendChild(c)),D("references",e)}),e.on("scroll resize orientationchange",B);t=s?h+(s.offsetHeight+8):h;window.pageYOffset>t&&window.requestAnimationFrame(B);const a=o.querySelector("."+l+"__tabs");a&&(a.addEventListener("keydown",function(e){var t,a=document.activeElement.parentNode;37===e.keyCode?t=a.previousElementSibling||o.querySelector("."+l+"__tabs > li:last-child"):39===e.keyCode&&(t=a.nextElementSibling||o.querySelector("."+l+"__tabs > li:first-child")),t&&T(t.querySelector("["+i+"]").getAttribute(i),{focus:!0})},!1),p(a,"."+l+"__tab").forEach(function(e){e.addEventListener("click",function(e){T(e.target.getAttribute(i),{focus:!0})},!1)}))}}function F(e,t){e.insertAdjacentHTML("beforebegin",t)}function H(){var e=["sections","figures","references"].map(function(e){var t,a=document.querySelector("."+l+"__"+e),c=(n=e,t=p(document,".js-"+l+"-"+e+"-item"),(c={sections:function(e){var t=[];return e.forEach(function(e){t.push(new S(e))}),0<t.length?'<ul class="'+l+'__sections-list">'+t.map(function(e){return e.render()}).join("")+"</ul>":""},figures:function(e){var a=[];return e.forEach(function(e,t){e=new w(e,t+1);e.id&&a.push(e)}),a.length?'<ul class="'+l+'__figures-list">'+a.map(function(e){return e.render()}).join("")+"</ul>":""},references:function(e){var t=[];return e.forEach(function(e){t.push(new L(e))}),t.length?'<ol class="'+l+"__references-list"+(t[0].num?" "+l+"__references-list--numeric":"")+'">'+t.map(function(e){return e.render()}).join("")+"</ol>":""}})[n]?c[n](t):""),n=(t=(n=e).charAt(0).toUpperCase()+e.substring(1),'<li role="presentation"><button '+i+'="'+n+'" role="tab" id="tab-'+n+'" '+A+'="tabpanel-'+n+'" '+v+'="false" '+m+'="-1" class="'+l+'__tab" data-track="click" data-track-action="'+n+' tab" data-track-label="tab">'+t+"</button></li>");return c&&a?(a.setAttribute("aria-labelledby","tab-"+e),a.setAttribute("role","tabpanel"),t='<div class="'+l+'__scroll-pane">'+c+"</div>",a.insertAdjacentHTML("afterbegin",t)):a&&a.parentNode.removeChild(a),!(!c||!a)&&n}).filter(function(e){return Boolean(e)}),t=o.querySelector("."+l+"__panel"),a=e.length;return 1<a?F(t,'<ul class="'+l+'__tabs" role="tablist">'+e.join("")+"</ul>"):1===a&&F(t,'<h3 class="'+l+'__heading u-font-family-sans">Sections</h3>'),a}return S.prototype.render=function(){return'<li id="'+t+this.id+'" class="'+e+'"><a href="#'+this.id+'" data-track="click" data-track-action="section anchor" data-track-label="link:'+this.text.replace(/(^\d+)/g,"")+'">'+this.html+"</a></li>"},w.prototype={findImages:function(e,t){var a=[],c=this;return p(e,"picture > img").forEach(function(e){a.push(c.placeholderFor(e,t))}),a},placeholderFor:function(e,t){var a=e.getAttribute("data-supp-info-image")||e.src,e=e.alt||"extended data figure "+t,t=n+this.id,c=-1===a.indexOf("?")?"?":"&";return["<picture>","<source "+C+'="'+a+c+'">',"<img "+d+'="'+a+'" alt="'+e+'" aria-describedby="'+t+'"/>',"</picture>"].join("")},render:function(){return['<li class="'+l+'__figure-item">',"<figure>",'<figcaption><b class="'+l+'__figure-title u-h4" id="'+n+this.id+'">'+this.caption+"</b></figcaption>",this.images.join(""),this.link||this.id?'<p class="'+l+'__figure-links">':"",this.id&&_?'<a href="#'+this.id+'" data-track="click" data-track-action="figure anchor" data-track-label="link">View in article</a>':"",this.link&&_?'<a href="'+this.link+'" class="'+l+'__figure-full-link" data-track="click" data-track-action="view figure" data-track-label="link" rel="nofollow">Full size image<svg width="16" height="16" class="u-icon"><use href="#icon-chevron-right"/></svg></a>':"",this.link||this.id?"</p>":"","</figure>","</li>"].join("")}},L.prototype.findLinks=function(e){var t=[];return p(e,".c-article-references__links a").forEach(function(e){t.push(new a(e))}),t},L.prototype.render=function(){return['<li class="'+l+'__reference-item">','<p class="'+l+'__reference-citation u-font-family-serif" id="'+f+this.id+'">'+this.citation+"</p>",0<this.links.length?'<p class="'+l+'__reference-links">'+this.links.map(function(e){return e.render()}).join("")+"</p>":"","</li>"].join("")},a.prototype.render=function(){return'<a href="'+this.href+'" data-track="click" data-track-action="'+this.action+' reference" data-track-label="'+this.label+'">'+this.text+"</a>&nbsp;"},{init:function(e,t,a){_=Boolean(e.access),h=e.offset||0;function c(e){i(e),a.emit("rc.display",!e.matches&&n)}var n=!1,i=function(e){n||e.matches||(o=document.querySelector("["+y+"=reading-companion-sticky]"))&&(s=document.querySelector("[data-context-bar]"),0!==(e=H())&&(M(t,a),1<e&&T("sections"),q(),n=!0))},e=window.matchMedia(e.matchMediaQuery||"(max-width: 1023px)");e.addListener(c),c(e)}}};function v(){let e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[];const t=new MutationObserver(()=>{e.forEach(e=>{var t,a=e.querySelector(".mi-big-play-cover");a&&(e=e.getAttribute("video-id"),(t=a).setAttribute("aria-describedby","video-description-".concat(e)),t.setAttribute("aria-label","Play video"),t.setAttribute("role","button"),t.setAttribute("tabIndex","0"),t.addEventListener("keypress",e=>{A(e,t)},!1))})});t.observe(document,{childList:!0,subtree:!0})}const A=(e,t)=>{"Enter"!==e.key&&" "!==e.key||(t&&t.removeAttribute("tabIndex"),e.currentTarget.click(),e.preventDefault())};function C(){var a="data-expandable-label",n="["+a+"]",i="[data-expandable-box]",r="c-article-box--expanded",o="a[href]";function c(e,t){var a=e.querySelector(i),c=e.querySelector(n);e.querySelectorAll(o).forEach(function(e){e.setAttribute("tabIndex","0")}),t&&(a.setAttribute("tabIndex","-1"),a.focus()),a.parentNode.classList.add(r),a.style.height="auto",a.removeAttribute("aria-hidden"),c.parentNode.setAttribute("aria-expanded","true"),c.textContent="Show less",e.isOpen=!0}function s(e,t){var a=e.querySelector(i),c=e.querySelector(n);e.querySelectorAll(o).forEach(function(e){e.setAttribute("tabIndex","-1")}),a.parentNode.classList.remove(r),a.style.height="95px",a.setAttribute("aria-hidden","true"),c.parentNode.setAttribute("aria-expanded","false"),c.textContent="Show more",t&&a.scrollIntoView(),e.isOpen=!1}return{init:function(e){(e||[]).forEach(function(t){var e=['<div class="c-article-box__controls">','<div class="c-article-box__fade"></div>','<button aria-expanded="false" aria-describedby="'+t.querySelector(".js-expandable-title").id+'"><span class="c-article-box__button-text" '+a+"></span></button>","</div>"].join("");t.insertAdjacentHTML("beforeend",e),s(t),t.querySelector("button").addEventListener("click",function(){var e;((e=t).isOpen?s:c)(e,!0)},!1)}),window.addEventListener("hashchange",function(){var e=location.hash?document.querySelector(location.hash):null,e=e&&e.closest(i);e&&c(e.parentNode)})}}}var p,x,E=C;function _(){var r,o=null,s=[],e=null,c=0,l=!1,n=null;function m(){return n?c+(n.offsetHeight+8):c}function d(){p.addEventListener("scroll",function e(){p.removeEventListener("scroll",e),setTimeout(function(){p.scrollBy(0,-1*m())},1)},!1)}function i(){function a(e){return e.getBoundingClientRect().top-t}var c=p.innerHeight,t=x.documentElement.clientTop,n=null,i=m();s.forEach(function(e){var t;a(e)<=i+c/2&&(n?(t=x.getElementById(n),a(t)<=i-t.offsetHeight&&(n=e.id)):n=e.id)}),n!==e&&(o.emit("nav.section",n,e),e=n)}function u(t){function e(e){return t.nodeName.toLowerCase()===e}var a,c,n,i,r;t&&(a=t.hasAttribute("tabindex"),c=e("a")&&t.href,n=e("button"),i=e("input"),r=e("textarea"),!t.getAttribute("disabled")&&(a||c||n||i||r)||t.setAttribute("tabindex","-1"),t.focus())}function h(e){var t=null;if((t=e.target&&e.target.closest?e.target.closest("a"):t)&&t.hash&&(!r||!t.closest(r))&&t.pathname===p.location.pathname){var a=!(!(c=(a=t).hash)||function(e){return Boolean(e.closest(".c-reading-companion"))}(a))&&c.match(/#(Fig|f|sf)\d+/),c=!a&&function(e){e=e.hash;if(!e)return!1;var t=x.querySelector('div[data-container-section="references"]');return t&&Boolean(t.querySelector(e))}(t),n=t.hash.slice(1),i=x.getElementById(n);if(l&&(a||c))return a?o.emit("nav.figure",n,t):c&&o.emit("nav.reference",n,t),void e.preventDefault();o.emit("nav.anchor",n,t),u(i),d()}}return{init:function(e,t,a){n=x.querySelector("[data-context-bar]"),s=x.querySelectorAll(".js-section-title"),c=e.offset||0,r=e.exclude||"js-no-scroll",(o=a).on("rc.display",function(e){l=e}),t.on("scroll resize orientationchange",i),x.body.addEventListener("click",h,!1),p.location.hash&&d()}}}p=window,x=document;var S=_;function w(){function m(e){r=document.querySelector("."+h),g(e).then(function(e){e.url?(r.innerHTML=e.url,l(p),b()):l(t)}).catch(function(){l(t)})}function d(e){s(e,x)}function u(e){var t=window.getSelection();e?t.selectAllChildren(e):t.removeAllRanges()}function e(){o=o?(r.classList.remove(c),!1):(r.classList.add(c),!0)}var h="js-share-url",p="js-share-url-container",t="js-no-share-url-container",a="c-article-share-box",c=a+"__only-read-input--highlighted",n="u-display-none",x="u-display-block",i=null,r=null,o=!1,g=function(c){return new Promise(function(e,t){var a=new XMLHttpRequest;a.addEventListener("load",function(){a.readyState===a.DONE&&(200===a.status?e(JSON.parse(a.responseText)):t())}),a.open("GET",c),a.send()})},s=function(e,t){e=document.querySelector("."+e);e.classList.remove(n),e.classList.add(t),e.removeAttribute("hidden")},l=function(e){i.classList.add(n),i.setAttribute("hidden",""),s(e,"u-display-inline")},b=function(){document.querySelector(".js-copy-share-url").addEventListener("click",function(){u(r),e(),document.execCommand("copy"),setTimeout(e,500)})};return{init:function(e){var t=e&&e.doi?e.doi:"",e=(e&&e.url?e.url:"")+t;""!==e&&((t=document.querySelector('[data-component="share-box"]'))&&d(a),Boolean(t))&&!function(e){(i=document.querySelector(".js-get-share-url")).addEventListener("click",m.bind(this,e))}(e)}}}var L=w;function k(){var r="show all",o="data-text-expanded",a="c-book-show-more-less",s=a+"--collapsed",l="show-button-other-volumes";return{init:function(){var e,i=document.querySelector("."+a);function t(e,t,a){var c=document.createElement("span"),n=(c.textContent=" — ",c.setAttribute("aria-hidden","true"),document.createElement("button"));n.setAttribute("aria-expanded",!1),n.setAttribute("id",a),n.appendChild(document.createTextNode(e)),n.className="u-link-like",t.insertAdjacentElement("beforeend",c),t.insertAdjacentElement("beforeend",n),n.addEventListener("click",function(){var e=a,t="true"===(e=document.querySelector("[id^="+e+"]")).getAttribute("aria-expanded")||!1;e.getAttribute(o)?(e.textContent=r,i.classList.add(s),e.removeAttribute(o,"true"),e.id==l&&e.scrollIntoView({block:"center"})):(e.textContent="show less",i.classList.remove(s),e.setAttribute(o,"true")),e.setAttribute("aria-expanded",!t),e.focus()})}e=document.querySelector('[data-component="data-unique-selling-points"]'),4<document.querySelectorAll('[data-component="data-unique-selling-points"] li').length&&t(r,e,"show-button-usp"),e=document.querySelector('[data-component="data-other-volumes"]'),4<document.querySelectorAll('[data-component="data-other-volumes"] li').length&&t(r,e,l)}}}var D=k,t={exports:{}};{function T(t){for(let e=0;t[e];++e)ee(t[e])}const Q="aria-expanded",ee=function(e){e.querySelectorAll(".u-js-hide").length&&e.insertAdjacentElement("afterend",function(c){const n=c.getAttribute("data-list-type")||"authors",i=document.createElement("button");return i.addEventListener("click",function(){var e="false"===i.getAttribute(Q);const t=i.querySelector("use"),a=i.querySelector("span");i.setAttribute(Q,e?"true":"false"),t&&t.setAttribute("href",e?"#icon-minus":"#icon-plus"),a&&(a.textContent=e?"Show fewer "+n:"Show "+n),c.classList.toggle("c-book-author-list--expanded")},!1),i.setAttribute(Q,"false"),i.className="c-button-author-list",i.innerHTML='<svg aria-hidden="true" width="16" height="16" focusable="false" class="u-icon"><use href="#icon-plus"></use></svg><span>Show '+n+"</span>",i}(e))};t.exports=function(){return{init:T}}}var q=t.exports;function B(){var r="js-cover-image-lightbox--show",o=document.querySelector('[data-component="cover-lightbox"]');return{init:function(){function t(){o.classList.contains(r)?o.classList.remove(r):o.classList.add(r)}var a,c,e,n,i;c=document.querySelector('[data-component="cover-zoom"]'),document.querySelector('[data-component="expand-icon"]').classList.remove("u-hide"),(a=document.createElement("img")).classList.add("c-cover-image-lightbox__image"),a.alt="Book cover",a.height="1200",a.width="800",o.insertAdjacentHTML("afterbegin","<button type='button' aria-label='Close expanded book cover' data-component='close-cover-lightbox' class='js-cover-image-lightbox--close'><span aria-hidden='true'>×</span></button>"),e=c.dataset.imgSrc,n=function(e){var t;e?(e=document.createElement("picture"),t=document.createElement("source"),a.src=c.dataset.imgSrc,t.type="image/webp",t.srcset=c.dataset.imgSrc+"?as=webp",e.appendChild(t),e.appendChild(a),o.appendChild(e)):(t=document.createElement("div"),e=(e=(e=c.dataset.imgSrc).replace("cover-hires","cover")).concat(".jpg"),a.src=e,t.classList.add("c-cover-image-container"),t.insertAdjacentHTML("beforeend","<p class='c-cover-image-default'>No cover available.</p>"),t.appendChild(a),o.appendChild(t))},(i=new Image).onload=function(){n(!0)},i.onerror=function(){n(!1)},i.src=e,c.addEventListener("click",function(){event.preventDefault(),t()}),o.addEventListener("click",function(){t()}),document.addEventListener("keydown",e=>{"Escape"===e.key&&o.classList.contains(r)&&t()})}}}var M=B;function F(){return{init:function(e,t,a){(e||[]).forEach(function(e){this.bindEvents(e,t,a)},this)},bindEvents:function(c,e,t){function a(){var e,t,a;a=(t="c-table-scroll-wrapper__fade")+"--transparent",0<(e=c).scrollWidth-(e.scrollLeft+e.clientWidth)?(e.classList.add(t),e.classList.remove(a)):e.classList.add(a)}t.on("load resize",a),c.addEventListener("scroll",e(a,{wait:100}),!1)}}}var H=F;const O={STICKY_FROM_SELECTOR:".js-context-bar-sticky-point-mobile",STICKY_FROM_DESKTOP_SELECTOR:".js-context-bar-sticky-point-desktop",COMPONENT_SELECTOR:"[data-context-bar]",HIDE_CLASS:"u-hide"},R="c-context-bar--sticky";class j{constructor(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};this._options=Object.assign({},O,t),this._component=document.querySelector(this._options.COMPONENT_SELECTOR),document.querySelector(".app-article-masthead")&&(this._options.STICKY_FROM_SELECTOR=this._options.STICKY_FROM_DESKTOP_SELECTOR=".c-article-header"),e&&this._component&&(this._scheduler=e,this._stickyFrom=document.querySelector(this._options.STICKY_FROM_SELECTOR),this._stickyFromDesktop=document.querySelector(this._options.STICKY_FROM_DESKTOP_SELECTOR),(this._stickyFrom||this._stickyFromDesktop)&&(this._button=this._component.querySelector(".c-pdf-download"),this._stickyPoint=0,this._init(),0<window.pageYOffset&&this._update()))}_init(){this._scheduler.on("scroll orientationchange resize",this._update.bind(this))}_handleButton(){this._button?(this._addGAButtonTracking(),this._button.querySelector("a").setAttribute("tabindex","-1")):this._component.classList.add("c-context-bar--no-button")}_preventDisplayingSmallViewport(){return window.innerWidth<211}_update(){var e=window.matchMedia("(min-width: 1023px)").matches?this._stickyFromDesktop:this._stickyFrom;e&&(this._stickyPoint=e.offsetTop-8-window.pageYOffset,this._stickyPoint<=0&&this._handleButton(),this._toggleBanner())}_addGAButtonTracking(){this._button.querySelector("a").setAttribute("data-track-label","button sticky");var e=this._button.querySelector("a").getAttribute("href").split("?")[0];this._button.querySelector("a").setAttribute("href",e+"?pdf=button%20sticky")}_toggleBanner(){var e=this._preventDisplayingSmallViewport();0<this._stickyPoint&&!e&&window.forceDisplayContextBar?(this._component.classList.remove(this._options.HIDE_CLASS),this._component.classList.add(R),this._component.setAttribute("aria-hidden",!1)):this._stickyPoint<=0&&!e?(this._component.classList.remove(this._options.HIDE_CLASS),this._component.classList.add(R),this._component.setAttribute("aria-hidden",!1),window.forceDisplayContextBar=!1,window.displayContextBar=!0):(this._component.classList.add(this._options.HIDE_CLASS),this._component.classList.remove(R),this._component.setAttribute("aria-hidden",!0),window.displayContextBar=!1)}}function I(){const c="c-pdf-preview__embed";window.addEventListener("load",function(){const t=document.querySelectorAll("."+c)||[];for(let e=0;t[e];++e)(a=t[e].querySelector('[data-fallback-text="true"]'))&&(a.offsetWidth||a.offsetHeight||a.getClientRects().length)&&t[e].classList.remove(c+"--height");var a},!1)}var Y,$,N,n,P=I,W={exports:{}},e={exports:{}},t=(e.exports={defaultConfig:{MathJaxConfig:{extensions:["mml2jax.js","[a11y]/accessibility-menu.js"],jax:["input/TeX","input/MathML","output/HTML-CSS"],displayAlign:"left",menuSettings:{collapsible:!1,autocollapse:!1,explorer:!1,zoom:"Click"},tex2jax:{inlineMath:[["\\(","\\)"]],displayMath:[["$$","$$"],["\\[","\\]"]],preview:"TeX",processEscapes:!0},mml2jax:{preview:["MathML"]},"fast-preview":{disabled:!0},"HTML-CSS":{EqnChunk:500,EqnChunkFactor:1,EqnChunkDelay:1e3,availableFonts:["STIX","TeX"],preferredFont:["STIX"],webFont:["TeX"],imageFont:["TeX"],styles:{".MathJax_Display":{margin:0},"#MathJax_Message":{margin:0}},linebreaks:{automatic:!0,width:"90% container"},scale:97},TeX:{TagSide:"right",Macros:{bgroup:"{\\unicode{x007B}}",egroup:"{\\unicode{x007D}}",enskip:"{\\enspace}",lefteqn:["\\rlap{#1}",1],parbox:["\\mbox{#2}",2],upvarepsilon:"{\\unicode{x03B5}}",ss:"{\\unicode{x1E9E}}",textperthousand:"{\\unicode{x2030}}",textquotedblright:"{\\unicode{x201D}}",textregistered:"{\\unicode{0x00AE}}",textvisiblespace:"{\\unicode{x2423}}",upvartheta:"{\\unicode{x03D1}}",Upvartheta:"{\\unicode{x03F4}}",Upgamma:"{\\unicode[Times]{x0393}}",upgamma:"{\\unicode[Times]{x03B3}}",Updelta:"{\\unicode[Times]{x0394}}",updelta:"{\\unicode[Times]{x03B4}}",Uptheta:"{\\unicode[Times]{x0398}}",uptheta:"{\\unicode[Times]{x03B8}}",Upkappa:"{\\unicode[Times]{x039A}}",upkappa:"{\\unicode[Times]{x03BA}}",Uplambda:"{\\unicode[Times]{x039B}}",uplambda:"{\\unicode[Times]{x03BB}}",Upsigma:"{\\unicode[Times]{x03A3}}",upsigma:"{\\unicode[Times]{x03C3}}",Upmu:"{\\unicode[Times]{x039C}}",upmu:"{\\unicode[Times]{x03BC}}",Upiota:"{\\unicode[Times]{x0399}}",upiota:"{\\unicode[Times]{x03B9}}",Upnu:"{\\unicode[Times]{x039D}}",upnu:"{\\unicode[Times]{x03BD}}",Upxi:"{\\unicode[Times]{x039E}}",upxi:"{\\unicode[Times]{x03BE}}",Upomicron:"{\\unicode[Times]{x039F}}",upomicron:"{\\unicode[Times]{x03BF}}",Uppi:"{\\unicode[Times]{x03A0}}",uppi:"{\\unicode[Times]{x03C0}}",Uprho:"{\\unicode[Times]{x03A1}}",uprho:"{\\unicode[Times]{x03C1}}",Uptau:"{\\unicode[Times]{x03A4}}",uptau:"{\\unicode[Times]{x03C4}}",Upupsilon:"{\\unicode[Times]{x03A5}}",upupsilon:"{\\unicode[Times]{x03C5}}",Upphi:"{\\unicode[Times]{x03A6}}",upphi:"{\\unicode[Times]{x03C6}}",Upchi:"{\\unicode[Times]{x03A7}}",upchi:"{\\unicode[Times]{x03C7}}",Uppsi:"{\\unicode[Times]{x03A8}}",uppsi:"{\\unicode[Times]{x03C8}}",Upomega:"{\\unicode[Times]{x03A9}}",upomega:"{\\unicode[Times]{x03C9}}",upalpha:"{\\unicode[Times]{x03B1}}",upbeta:"{\\unicode[Times]{x03B2}}",upepsilon:"{\\unicode[Times]{x03B5}}",upzeta:"{\\unicode[Times]{x03B6}}",upeta:"{\\unicode[Times]{x03B7}}",permille:"{\\unicode{x2030}}",hfill:"{\\enspace\\enspace}",copyright:"{\\unicode{x00A9}}",dag:"{\\unicode{x2020}}",ddag:"{\\unicode{x2021}}",ointop:"{\\unicode{0x222E}}",P:"{\\unicode{0x00B6}}",lhook:"{\\hookrightarrow}",rhook:"{\\hookleftarrow}",upvarkappa:"{\\unicode{x03F0}}",upvarpi:"{\\unicode{x03D5}}",upvarrho:"{\\unicode{x03F1}}",upvarsigma:"{\\unicode{x03C3}}",upvarphi:"{\\unicode{x03C6}}",varsigma:"{\\unicode{x03C2}}",sigma:"{\\unicode{x03C3}}",Sigma:"{\\unicode{x03A3}}",fint:"{\\unicode{x2A0D}}",varOmega:"{\\unicode{x03A9}}",varDelta:"{\\unicode{x0394}}",varLambda:"{\\unicode{x039B}}",varPhi:"{\\unicode{x03A6}}",varPi:"{\\unicode{x03A0}}",varPsi:"{\\unicode{x03A8}}",varSigma:"{\\unicode{x03A3}}",varTheta:"{\\unicode{x0398}}",varUpsilon:"{\\unicode{x03A5}}",varXi:"{\\unicode{x039E}}",varepsilon:"{\\unicode{x03B5}}",varkappa:"{\\unicode{x03F0}}",varpi:"{\\unicode{x03D6}}",varphi:"{\\unicode{x03C6}}",varrho:"{\\unicode{x03F1}}",vartheta:"{\\unicode{x03D1}}",mathcalligra:["\\mathscr{#1}",1],fancyscript:["{\\scr #1}",1],textsf:["\\sf{#1}",1],texttt:["\\tt{#1}",1],raisebox:["\\raise{#1}{\\text{#2}}",2],varvec:["\\pmb{#1}",1]}},MathMenu:{showFontMenu:!0}}}.MathJaxConfig},{exports:{}});function U(a){setTimeout(function(){var e=document,t=e.getElementsByTagName("script")[0],e=e.createElement("script");a&&(e.onload=a),e.async=!0,e.src="//cdn.jsdelivr.net/npm/mathjax@"+N+"/MathJax.js?config=TeX-AMS-MML_HTMLorMML.js",t.parentNode.insertBefore(e,t)},1)}function J(){MathJax.Hub.Register.StartupHook("TeX Jax Ready",function(){MathJax.InputJax.TeX.prefilterHooks.Add($.prefilterHook);var a=MathJax.ElementJax.mml,e=MathJax.InputJax.TeX;e.Definitions.macros.bfrac="myBevelFraction",e.Parse.Augment({myBevelFraction:function(e){var t=this.ParseArg(e),e=this.ParseArg(e);this.Push(a.mfrac(t,e).With({bevelled:!0}))}})})}function z(){const q="c-recommendations-list",$=q+"-container",N=q+"__item",B=q+"-arrow",P=B+"__previous",U=B+"__next",M=B+"__inactive",J="c-recommendations-sticky",z="[data-component-status-msg]",X="c-context-bar--sticky",Z="u-hide",F="c-recommendations-dots",K="c-recommendations-close",H="c-context-bar-visibility",O="c-recommendations-visibility",R="[data-component-grey-background]",G="slide-arrow-previous",V="slide-arrow-next",j=3;let I=!1,Y=null;function d(h,e,t){const n=document.querySelectorAll(t),i=document.querySelector(".c-context-bar__container"),p=document.querySelector(".c-recommendations__container"),r=document.querySelector("."+q),o=r.querySelectorAll("."+N),a=document.querySelector('[data-title="References"]'),x=o.length,g=document.querySelector(z),c=document.createElement("button"),s=document.createElement("button");let b=!1,l=!1,f=!1,y=0,m=0,d=0,u=[];function v(){return window.matchMedia("(max-width: 539px)").matches}function A(){if(v())f=!1,o.forEach(function(e){e.removeAttribute("aria-hidden"),e.querySelector(".c-card__link").removeAttribute("tabindex")});else{f=!0,o.forEach(function(e){e.setAttribute("aria-hidden","true"),e.querySelector(".c-card__link").setAttribute("tabindex","-1")});for(let e=0;e<3;e++)o[e].removeAttribute("aria-hidden"),o[e].querySelector(".c-card__link").removeAttribute("tabindex");const e=document.querySelectorAll("."+F+" button");e.forEach(function(e){e.removeAttribute("aria-current")}),e[0].setAttribute("aria-current","true")}}function C(e){const t=document.querySelector("#dots-"+e);document.querySelectorAll("."+F+" button").forEach(function(e){e.removeAttribute("aria-current"),e.setAttribute("aria-disabled","false")}),t.setAttribute("aria-current","true"),t.setAttribute("aria-disabled","true")}function E(t){o.forEach(function(e){e.setAttribute("aria-hidden","true"),e.querySelector(".c-card__link").setAttribute("tabindex","-1")});let a;t+3>o.length?t=(a=o.length-1)-2:a=t+2;for(let e=t;e<=a;e++)o[e].removeAttribute("aria-hidden"),o[e].querySelector(".c-card__link").removeAttribute("tabindex")}function _(t){let a="";var c=t+3<=o.length?t+3:o.length;for(let e=t;e<c;e++){var n=o[e].querySelector(".c-card__link").getAttribute("data-track-label")+",";a+=n}return a=a.replace(/,*$/,"")}function S(e,t){var t="scroll recommendations - "+t,a=_(m);window.dataLayer.push({event:"recommendations-interactions",recommendationsInteraction:"interaction-trigger",eventAction:t,eventLabel:a})}function w(e){c.setAttribute("aria-disabled","false"),s.setAttribute("aria-disabled","false");const t=document.getElementsByClassName(M);0<t.length&&t[0].classList.remove(M),0===e&&(c.setAttribute("aria-disabled","true"),document.getElementById(G).classList.add(M)),6===e&&(s.setAttribute("aria-disabled","true"),document.getElementById(V).classList.add(M))}function L(e,t){var a=o[0].clientWidth;let c=a*j;t+3>o.length&&(t=t+3-o.length,c=a*(j-t)),"left"===e?(r.scrollLeft-=c,0<d&&(m-=3,d--)):(r.scrollLeft+=c,d<y-1&&(m+=3,d++)),w(m),E(m),C(d)}function k(){n[0].classList.add("u-display-none"),g.classList.add("u-display-none"),i.style.removeProperty("display"),l=!1,window.displayContextBar||(h.classList.add(Z),h.classList.remove(X),h.setAttribute("aria-hidden","true"),window.forceDisplayContextBar=!1),v()&&(document.querySelector(R).style.setProperty("display","none"),n[0].classList.remove(O),i.classList.remove(H)),I?a.querySelector("a,button").focus():Y&&Y.focus(),document.removeEventListener("keydown",D)}function D(e){"Escape"===e.key?k():"Tab"!==e.key||e.shiftKey?"Tab"===e.key&&e.shiftKey&&document.activeElement===u[0]&&(u[u.length-1].focus(),e.preventDefault()):document.activeElement===u[u.length-1]&&(u[0].focus(),e.preventDefault())}function T(){b=!0;var e=x%j==0?0:1;y=Math.floor(x/j)+e;let n=document.createElement("ul");n.setAttribute("class",F),n.setAttribute("role","group"),n.setAttribute("aria-label","Choose slide to display");for(let c=0;c<y;c++){let e=document.createElement("li"),t=document.createElement("button"),a=(t.setAttribute("id","dots-"+c),t.setAttribute("aria-disabled","false"),0===c&&(t.setAttribute("aria-current","true"),t.setAttribute("aria-disabled","true")),document.createElement("span"));a.setAttribute("class","u-visually-hidden"),a.innerHTML="Go to slide "+(c+1),t.appendChild(a),e.appendChild(t),n.appendChild(e)}const t=document.querySelector("."+$),a=(t.appendChild(n),c.setAttribute("id",G),c.setAttribute("class",B+" "+P+" "+M),c.setAttribute("aria-disabled","true"),c.innerHTML='<svg class="u-icon" width="7" height="12" aria-hidden="true" focusable="false"><use xlink:href="#icon-chevron-right"></use></svg><span class="u-visually-hidden">Previous slide</span>',r.before(c),s.setAttribute("id",V),s.setAttribute("class",B+" "+U),s.setAttribute("aria-disabled","false"),s.innerHTML='<svg class="u-icon" width="7" height="12" aria-hidden="true" focusable="false"><use xlink:href="#icon-chevron-right"></use></svg><span class="u-visually-hidden">Next slide</span>',r.parentNode.insertBefore(s,r.nextSibling),document.querySelectorAll("."+F+" button"));c.addEventListener("click",function(){"true"===c.getAttribute("aria-disabled")||(L("left",m),S(m,"previous button"))}),s.addEventListener("click",function(){"true"===s.getAttribute("aria-disabled")||(L("right",m),S(m,"next button"))}),a.forEach(function(c){c.addEventListener("click",function(e){var t,a;"true"===c.getAttribute("aria-disabled")||(e=e.target.id,t=e,a=o[0].clientWidth,d=parseInt(t.substring(t.indexOf("-")+1)),t=a*(m=3*parseInt(d)),r.scrollTo(t,0),w(m),E(m),C(d),S(m,e))})}),u=[].slice.call(p.querySelectorAll("a,button"),0)}return n[0].classList.add("u-display-none"),e.on("resize",function(){l&&(v()?(A(),document.querySelector(R).style.setProperty("display","block"),n[0].classList.add(O),i.classList.add(H)):(f||A(),document.querySelector(R).style.setProperty("display","none"),n[0].classList.remove(O),i.classList.remove(H)))}),function(e){if(Y=document.activeElement,!l){n[0].classList.remove("u-display-none"),h.setAttribute("aria-hidden",!1),x>j&&!b&&(T(),A());{const c=document.querySelector("."+K);c.focus(),c.addEventListener("click",function(){k()}),document.addEventListener("keydown",D)}var t,a;"refs"===e?(n[0].setAttribute("data-track-component","sticky banner - references trigger"),window.dataLayer.push({event:"display-recommendations",recommendationsTrigger:"refs-trigger",eventLabel:_(m)}),g.classList.add("u-display-none"),p.classList.add(J)):(t="body-chapter-download"===e?"chapter-pdf-trigger":"sticky-pdf-trigger",a="body-chapter-download"===e?"chapter-pdf-trigger":"sticky banner - PDF trigger",n[0].setAttribute("data-track-component",a),window.dataLayer.push({event:"display-recommendations",recommendationsTrigger:t,eventLabel:_(m)}),i.style.setProperty("display","none"),g.classList.remove("u-display-none")),v()&&(document.querySelector(R).style.setProperty("display","block"),n[0].classList.add(O),i.classList.add(H)),l=!0}l&&"sticky-download"===e&&(i.style.setProperty("display","none"),g.classList.remove("u-display-none"),p.classList.remove(J))}}return{init:function(e,t,a){const c=document.querySelector("[data-context-bar]"),n=document.querySelector('[data-title="References" i]');let i=null,r=null;function o(e){i?e():r=e}{var s=c,m=function(){i=d(c,a,t),r&&r()};const l=new XMLHttpRequest;l.onload=function(){const e=document.createElement("div"),t=(e.innerHTML=l.response,e.querySelector("#recommendations")),a=t?t.querySelector(".c-recommendations__container"):null;if(a){const c=t.querySelector("script"),n=document.createElement("script");n.text=c.textContent,document.head.appendChild(n),c.parentNode.removeChild(c),a.classList.remove("u-display-none"),s.insertAdjacentElement("beforeend",t),-1===t.textContent.indexOf("$$")&&!t.querySelector("math")||W.exports.loadMathJaxForDeferredContent(t),m()}},l.open("GET","/platform/recommendations/"+e),l.send()}document.querySelectorAll(".c-context-bar .c-pdf-download__link").forEach(function(e){e.addEventListener("click",function(){o(function(){i("sticky-download")})})}),document.querySelectorAll("article .c-pdf-download__link, .c-pdf-button__container .c-pdf-download__link, .c-article-extras .c-pdf-download__link").forEach(function(t){t.addEventListener("click",function(){o(function(){c.classList.remove(Z),c.classList.add(X),c.setAttribute("aria-hidden","false"),window.forceDisplayContextBar=!0;var e="js-body-chapter-download"===t.id?"body-chapter-download":"body-download";i(e)})})}),n&&setTimeout(function(){const e=new IntersectionObserver(function(e){!0!==e[0].isIntersecting||I||o(function(){i("refs"),I=!0})},{threshold:[0]});e.observe(n)},2e4)}}}t.exports={prefilterHook:{MathJaxPrefilterHook:function(e){e.math=e.math.replace(/\\(text|mbox|hbox)\s*{\s*\\AA\s*}/g,"\\unicode{x00C5}"),e.math=e.math.replace(/\\AA/g,"\\unicode{x00C5}"),e.math=e.math.replace(/\\(text|mbox)\s*{\s*\\aa\s*}/g,"\\unicode{x00E5}"),e.math=e.math.replace(/\\aa/g,"\\unicode{x00E5}"),e.math=e.math.replace(/\\(text|mbox)\s*{\s*\\AE\s*}/g,"\\unicode{x00C6}"),e.math=e.math.replace(/\\AE(?![a-zA-Z])/g,"\\unicode{x00C6}"),e.math=e.math.replace(/\\(text|mbox)\s*{\s*\\ae\s*}/g,"\\unicode{x00E6}"),e.math=e.math.replace(/\\ae(?![a-zA-Z])/g,"\\unicode{x00E6}"),e.math=e.math.replace(/\\(text|mbox)\s*{\s*\\OE\s*}/g,"\\unicode{x0152}"),e.math=e.math.replace(/\\OE(?![a-zA-Z])/g,"\\unicode{x0152}"),e.math=e.math.replace(/\\(text|mbox)\s*{\s*\\oe\s*}/g,"\\unicode{x00153}"),e.math=e.math.replace(/\\oe(?![a-zA-Z])/g,"\\unicode{x0153}"),e.math=e.math.replace(/\\(text|mbox)\s*{\s*\\NG\s*}/g,"\\unicode{x014A}"),e.math=e.math.replace(/\\NG/g,"\\unicode{x014A}"),e.math=e.math.replace(/\\(text|mbox)\s*{\s*\\ng\s*}/g,"\\unicode{x014B}"),e.math=e.math.replace(/\\ng/g,"\\unicode{x014B}"),e.math=e.math.replace(/\\(text|mbox)\s*{\s*\\L\s*}/g,"\\unicode{x0141}"),e.math=e.math.replace(/\\L(?![a-zA-Z])/g,"\\unicode{x0141}"),e.math=e.math.replace(/\\(text|mbox)\s*{\s*\\l\s*}/g,"\\unicode{x0142}"),e.math=e.math.replace(/\\l(?![a-zA-Z])/g,"\\unicode{x0142}"),e.math=e.math.replace(/\\(text|mbox)\s*{\s*\\O\s*}/g,"\\unicode{x00D8}"),e.math=e.math.replace(/\\O(?![a-zA-Z])/g,"\\unicode{x00D8}"),e.math=e.math.replace(/\\(text|mbox)\s*{\s*\\o\s*}/g,"\\unicode{x00F8}"),e.math=e.math.replace(/\\o(?![a-zA-Z])/g,"\\unicode{x00F8}"),e.math=e.math.replace(/\\(text|mbox)\s*{\s*\\\^A\s*}/g,"\\unicode{x00C2}"),e.math=e.math.replace(/\\\^A/g,"\\unicode{x00C2}"),e.math=e.math.replace(/\\(text|mbox)\s*{\s*\\\^a\s*}/g,"\\unicode{x00E2}"),e.math=e.math.replace(/\\\^a/g,"\\unicode{x00E2}"),e.math=e.math.replace(/\\(text|mbox)\s*{\s*\\\^U\s*}/g,"\\unicode{x00DB}"),e.math=e.math.replace(/\\\^U/g,"\\unicode{x00DB}"),e.math=e.math.replace(/\\(text|mbox)\s*{\s*\\\^u\s*}/g,"\\unicode{x00FB}"),e.math=e.math.replace(/\\\^u/g,"\\unicode{x00FB}"),e.math=e.math.replace(/\\text{\\textregistered}/g,"\\unicode{x00AE}"),e.math=e.math.replace(/\\text{\\textvisiblespace}/g,"\\unicode{x2423}"),e.math=e.math.replace(/\\lowercase\s*\{([A-Z])\}/g,function(e,t){return[t.toLowerCase()]}),e.math=e.math.replace(/\\uppercase\s*\{([a-z])\}/g,function(e,t){return[t.toUpperCase()]}),e.math=e.math.replace(/\\lowercase\s*\{(.*?)\}/g,"$1"),e.math=e.math.replace(/\\uppercase\s*\{(.*?)\}/g,"$1"),e.math=e.math.replace(/\\textendash/g,"{-}"),e.math=e.math.replace(/\\selectfont/g,""),e.math=e.math.replace(/\\textup/g,"\\text"),e.math=e.math.replace(/\\hdots/g,"\\ldots"),e.math=e.math.replace(/\\nicefrac/g,"\\bfrac"),e.math=e.math.replace(/\\noalign/g,""),e.math=e.math.replace(/\\medskip/g,""),e.math=e.math.replace(/\\!/g,""),e.math=e.math.replace(/\\thinmuskip/g,"mu"),e.math=e.math.replace(/\\mathbb[m]?(ss|tt)?\s*\{a\}/g,"\\unicode{x1D552}"),e.math=e.math.replace(/\\mathbb[m]?(ss|tt)?\s*\{b\}/g,"\\unicode{x1D553}"),e.math=e.math.replace(/\\mathbb[m]?(ss|tt)?\s*\{c\}/g,"\\unicode{x1D554}"),e.math=e.math.replace(/\\mathbb[m]?(ss|tt)?\s*\{d\}/g,"\\unicode{x1D555}"),e.math=e.math.replace(/\\mathbb[m]?(ss|tt)?\s*\{e\}/g,"\\unicode{x1D556}"),e.math=e.math.replace(/\\mathbb[m]?(ss|tt)?\s*\{f\}/g,"\\unicode{x1D557}"),e.math=e.math.replace(/\\mathbb[m]?(ss|tt)?\s*\{g\}/g,"\\unicode{x1D558}"),e.math=e.math.replace(/\\mathbb[m]?(ss|tt)?\s*\{h\}/g,"\\unicode{x1D559}"),e.math=e.math.replace(/\\mathbb[m]?(ss|tt)?\s*\{i\}/g,"\\unicode{x1D55A}"),e.math=e.math.replace(/\\mathbb[m]?(ss|tt)?\s*\{j\}/g,"\\unicode{x1D55B}"),e.math=e.math.replace(/\\mathbb[m]?(ss|tt)?\s*\{k\}/g,"\\unicode{x1D55C}"),e.math=e.math.replace(/\\mathbb[m]?(ss|tt)?\s*\{l\}/g,"\\unicode{x1D55D}"),e.math=e.math.replace(/\\mathbb[m]?(ss|tt)?\s*\{m\}/g,"\\unicode{x1D55E}"),e.math=e.math.replace(/\\mathbb[m]?(ss|tt)?\s*\{n\}/g,"\\unicode{x1D55F}"),e.math=e.math.replace(/\\mathbb[m]?(ss|tt)?\s*\{o\}/g,"\\unicode{x1D560}"),e.math=e.math.replace(/\\mathbb[m]?(ss|tt)?\s*\{p\}/g,"\\unicode{x1D561}"),e.math=e.math.replace(/\\mathbb[m]?(ss|tt)?\s*\{q\}/g,"\\unicode{x1D562}"),e.math=e.math.replace(/\\mathbb[m]?(ss|tt)?\s*\{r\}/g,"\\unicode{x1D563}"),e.math=e.math.replace(/\\mathbb[m]?(ss|tt)?\s*\{s\}/g,"\\unicode{x1D564}"),e.math=e.math.replace(/\\mathbb[m]?(ss|tt)?\s*\{t\}/g,"\\unicode{x1D565}"),e.math=e.math.replace(/\\mathbb[m]?(ss|tt)?\s*\{u\}/g,"\\unicode{x1D566}"),e.math=e.math.replace(/\\mathbb[m]?(ss|tt)?\s*\{v\}/g,"\\unicode{x1D567}"),e.math=e.math.replace(/\\mathbb[m]?(ss|tt)?\s*\{w\}/g,"\\unicode{x1D568}"),e.math=e.math.replace(/\\mathbb[m]?(ss|tt)?\s*\{x\}/g,"\\unicode{x1D569}"),e.math=e.math.replace(/\\mathbb[m]?(ss|tt)?\s*\{y\}/g,"\\unicode{x1D56A}"),e.math=e.math.replace(/\\mathbb[m]?(ss|tt)?\s*\{z\}/g,"\\unicode{x1D56B}"),e.math=e.math.replace(/\\mathbb[m]?(ss|tt)?\s*\{0\}/g,"\\unicode{x1D7D8}"),e.math=e.math.replace(/\\mathbb[m]?(ss|tt)?\s*\{1\}/g,"\\unicode{x1D7D9}"),e.math=e.math.replace(/\\mathbb[m]?(ss|tt)?\s*\{2\}/g,"\\unicode{x1D7DA}"),e.math=e.math.replace(/\\mathbb[m]?(ss|tt)?\s*\{3\}/g,"\\unicode{x1D7DB}"),e.math=e.math.replace(/\\mathbb[m]?(ss|tt)?\s*\{4\}/g,"\\unicode{x1D7DC}"),e.math=e.math.replace(/\\mathbb[m]?(ss|tt)?\s*\{5\}/g,"\\unicode{x1D7DD}"),e.math=e.math.replace(/\\mathbb[m]?(ss|tt)?\s*\{6\}/g,"\\unicode{x1D7DE}"),e.math=e.math.replace(/\\mathbb[m]?(ss|tt)?\s*\{7\}/g,"\\unicode{x1D7DF}"),e.math=e.math.replace(/\\mathbb[m]?(ss|tt)?\s*\{8\}/g,"\\unicode{x1D7E0}"),e.math=e.math.replace(/\\mathbb[m]?(ss|tt)?\s*\{9\}/g,"\\unicode{x1D7E1}"),e.math=e.math.replace(/\\mathbbm(ss|tt)?\s*\{([A-Z]+)\}/g,"\\mathbb{$2}"),e.math=e.math.replace(/\\math(cal|scr|calligra)\s*\{a\}/g,"\\unicode{x1D4B6}"),e.math=e.math.replace(/\\math(cal|scr|calligra)\s*\{b\}/g,"\\unicode{x1D4B7}"),e.math=e.math.replace(/\\math(cal|scr|calligra)\s*\{c\}/g,"\\unicode{x1D4B8}"),e.math=e.math.replace(/\\math(cal|scr|calligra)\s*\{d\}/g,"\\unicode{x1D4B9}"),e.math=e.math.replace(/\\math(cal|scr|calligra)\s*\{e\}/g,"\\unicode{x212F}"),e.math=e.math.replace(/\\math(cal|scr|calligra)\s*\{f\}/g,"\\unicode{x1D4BB}"),e.math=e.math.replace(/\\math(cal|scr|calligra)\s*\{g\}/g,"\\unicode{x210A}"),e.math=e.math.replace(/\\math(cal|scr|calligra)\s*\{h\}/g,"\\unicode{x1D4BD}"),e.math=e.math.replace(/\\math(cal|scr|calligra)\s*\{i\}/g,"\\unicode{x1D4BE}"),e.math=e.math.replace(/\\math(cal|scr|calligra)\s*\{j\}/g,"\\unicode{x1D4BF}"),e.math=e.math.replace(/\\math(cal|scr|calligra)\s*\{k\}/g,"\\unicode{x1D4C0}"),e.math=e.math.replace(/\\math(cal|scr|calligra)\s*\{l\}/g,"\\unicode{x1D4C1}"),e.math=e.math.replace(/\\math(cal|scr|calligra)\s*\{m\}/g,"\\unicode{x1D4C2}"),e.math=e.math.replace(/\\math(cal|scr|calligra)\s*\{n\}/g,"\\unicode{x1D4C3}"),e.math=e.math.replace(/\\math(cal|scr|calligra)\s*\{o\}/g,"\\unicode{x2134}"),e.math=e.math.replace(/\\math(cal|scr|calligra)\s*\{p\}/g,"\\unicode{x1D4C5}"),e.math=e.math.replace(/\\math(cal|scr|calligra)\s*\{q\}/g,"\\unicode{x1D4C6}"),e.math=e.math.replace(/\\math(cal|scr|calligra)\s*\{r\}/g,"\\unicode{x1D4C7}"),e.math=e.math.replace(/\\math(cal|scr|calligra)\s*\{s\}/g,"\\unicode{x1D4C8}"),e.math=e.math.replace(/\\math(cal|scr|calligra)\s*\{t\}/g,"\\unicode{x1D4C9}"),e.math=e.math.replace(/\\math(cal|scr|calligra)\s*\{u\}/g,"\\unicode{x1D4CA}"),e.math=e.math.replace(/\\math(cal|scr|calligra)\s*\{v\}/g,"\\unicode{x1D4CB}"),e.math=e.math.replace(/\\math(cal|scr|calligra)\s*\{w\}/g,"\\unicode{x1D4CC}"),e.math=e.math.replace(/\\math(cal|scr|calligra)\s*\{x\}/g,"\\unicode{x1D4CD}"),e.math=e.math.replace(/\\math(cal|scr|calligra)\s*\{y\}/g,"\\unicode{x1D4CE}"),e.math=e.math.replace(/\\math(cal|scr|calligra)\s*\{z\}/g,"\\unicode{x1D4CF}"),e.math=e.math.replace(/\\coloneq/g,":="),e.math=e.math.replace(/\\kern *-\\nulldelimiterspace/g,""),e.math=e.math.replace(/\\user2/g,"\\pmb"),e.math=e.math.replace(/\\mapstochar/g,"\\mapsto"),e.math=e.math.replace(/\s*<!\[CDATA\[\s*(.*)\s*\]\]>\s*/gm,"$1"),e.math=e.math.replace(/\\parbox(\[\w\])?{(.*?)}{(.*?)\\\\ (.*?)}/g,"\\parbox{$2}{$3 $4}"),e.math=e.math.replace(/\\vspace\*?{[^}]+}/g,""),e.math=e.math.replace(/\\vspace\s*\*\{([^\{\}]+)\}/g,""),e.math=e.math.replace(/\\vspace\*?{[^}]+}/g,""),e.math=e.math.replace(/\\text{\\small{([^}]+)}}/g,"\\scriptstyle{\\text{$1}}"),e.math=e.math.replace(/\\text{\\footnotesize{([^}]+)}}/g,"\\scriptstyle{\\text{$1}}"),e.math=e.math.replace(/\\text{\\scriptsize{([^}]+)}}/g,"\\scriptscriptstyle{\\text{$1}}"),e.math=e.math.replace(/\\text{\\tiny{([^}]+)}}/g,"\\scriptscriptstyle{\\text{$1}}"),e.math=e.math.replace(/\\text\{\\bf\{([^\{\}]+)\}\}/g,"\\textbf{$1}"),e.math=e.math.replace(/\\text\{\\mathbf\{([^\{\}]+)\}\}/g,"\\textbf{$1}"),e.math=e.math.replace(/\\textrm/g,"\\mathrm"),e.math=e.math.replace(/\\bf{/g,"\\mathbf{"),e.math=e.math.replace(/\\text\\EUR/g,"€"),e.math=e.math.replace(/\\mathop ([^{]+?)\\limits/g,"\\mathop{$1}\\limits"),e.math=e.math.replace(/\\user1/g,"\\mathcal"),e.math=e.math.replace(/\\(big|Big|bigg|Bigg) *{([^}]+)}/g,"\\$1$2"),e.math=e.math.replace(/\\textnormal{\\textsc{([^}]+)}}/g,"\\textsc {$1}"),e.math=e.math.replace(/\\textsc *{([^}]+)}/g,"{\\rm ~#~$1~#~}"),e.math=e.math.replace(/\\vline/g,"\\vert"),e.math=e.math.replace(/\\left\s*\\llbracket/g,"\\unicode{x27E6}"),e.math=e.math.replace(/\\right\s*\\rrbracket/g,"\\unicode{x27E7}"),e.math=e.math.replace(/\\llbracket/g,"\\unicode{x27E6}"),e.math=e.math.replace(/\\rrbracket/g,"\\unicode{x27E7}"),e.math=e.math.replace(/\\llfloor/g,"\\lfloor\\hspace{-2pt}\\lfloor"),e.math=e.math.replace(/\\rrfloor/g,"\\rfloor\\hspace{-2pt}\\rfloor"),e.math=e.math.replace(/\\llceil/g,"\\lceil\\hspace{-2pt}\\lceil"),e.math=e.math.replace(/\\rrceil/g,"\\rceil\\hspace{-2pt}\\rceil"),e.math=e.math.replace(/\\pounds/g,"£"),e.math=e.math.replace(/\\raisebox *{-[^}]+}{\$(.+?)\$}/g,"_{$1}"),e.math=e.math.replace(/\\raisebox *{[^}]+}{\$(.+?)\$}/g,"^{$1}"),e.math=e.math.replace(/\\CIRCLE/g,"{\\large\\unicode[.55,0.05]{x25CF}}"),e.math=e.math.replace(/\\LEFTcircle/g,"{\\large\\unicode[.55,0.05]{x25D1}}"),e.math=e.math.replace(/\\RIGHTcircle/g,"{\\large\\unicode[.55,0.05]{x25D0}}"),e.math=e.math.replace(/\\fontencoding{U}\Sfontfamily{wasy}\Sselectfont\Schar104/g,"‰"),e.math=e.math.replace(/\\Dot/g,"\\dot"),e.math=e.math.replace(/\\MakeLowercase\s*\{([A-Z])\}/g,function(e,t){return[t.toLowerCase()]}),e.math=e.math.replace(/\\MakeUppercase\s*\{([a-z])\}/g,function(e,t){return[t.toUpperCase()]}),e.math=e.math.replace(/\\MakeLowercase\s*\{(.*?)\}/g,"$1"),e.math=e.math.replace(/\\MakeUppercase\s*\{(.*?)\}/g,"$1"),e.math=e.math.replace(/\\textit\s*\{\\textbf\s*\{([^\{\}]+)\}\}/g,"\\boldsymbol{$1}"),e.math=e.math.replace(/\\textbf\s*\{\\textit\s*\{([^\{\}]+)\}\}/g,"\\boldsymbol{$1}"),e.math=e.math.replace(/\\textsf\s*\{\\textbf\s*\{([^\{\}]+)\}\}/g,"\\textsf{$1}"),e.math=e.math.replace(/\\textbf\s*\{\\textsf\s*\{([^\{\}]+)\}\}/g,"\\textsf{$1}"),e.math=e.math.replace(/\\texttt{\\small{([^}]+)}}/g,"\\small{\\texttt{$1}}"),e.math=e.math.replace(/\\texttt{\\footnotesize{([^}]+)}}/g,"\\scriptstyle{\\texttt{$1}}"),e.math=e.math.replace(/\\texttt{\\scriptstyle{([^}]+)}}/g,"\\scriptstyle{\\texttt{$1}}"),e.math=e.math.replace(/\\footnotesize/g,"\\scriptstyle "),e.math=e.math.replace(/\\text{\\TH}/g,"\\unicode{xDE}"),e.math=e.math.replace(/\\text{\\th}/g,"\\unicode{xFE}"),e.math=e.math.replace(/\\textit{\\TH}/g,"\\it{\\unicode{xDE}}"),e.math=e.math.replace(/\\textit{\\th}/g,"\\it{\\unicode{xFE}}"),e.math=e.math.replace(/\\texttt\{\\textit\{([^\{\}]+)\}\}/g,"\\texttt{$1}"),e.math=e.math.replace(/\\fbox\{\\hbox\{(.+)\}\}/g,"\\fbox{$1}"),e.math.match(/(\\text\s*\{.*?\}\\hspace\s*\{.*?\}\\text\s*\{.*?\})/)||(e.math=e.math.replace(/\\text\s*\{(.*?)\\hspace\s*\{(.*?)\}(.*?)\}/g,"\\text{$1}\\hspace{$2}\\text{$3}")),e.math=e.math.replace(/\\text\s*\{\\,(.*?)\}/g,"\\,\\text{$1}"),e.math.match(/(\\text\s*\{.*?\})/)?(e.math=e.math.replace(/\\"a|{\\"a}|\\"{a}/g,"}\\unicode{x00E4}\\text{"),e.math=e.math.replace(/\\"o|{\\"o}|\\"{o}/g,"}\\unicode{x00F6}\\text{"),e.math=e.math.replace(/\\"u|{\\"u}|\\"{u}/g,"}\\unicode{x00FC}\\text{"),e.math=e.math.replace(/\\"A|{\\"A}|\\"{A}/g,"}\\unicode{x00C4}\\text{"),e.math=e.math.replace(/\\"O|{\\"O}|\\"{O}/g,"}\\unicode{x00D6}\\text{"),e.math=e.math.replace(/\\"U|{\\"U}|\\"{U}/g,"}\\unicode{x00DC}\\text{"),e.math=e.math.replace(/{?\\ss}?/g,"}\\unicode{x00DF}\\text{"),e.math=e.math.replace(/\\`e|{\\`e}|\\`{e}/g,"}\\unicode{x00E8}\\text{"),e.math=e.math.replace(/\\'e|{\\'e}|\\'{e}/g,"}\\unicode{x00E9}\\text{"),e.math=e.math.replace(/\\`E|{\\`E}|\\`{E}/g,"}\\unicode{x00C8}\\text{"),e.math=e.math.replace(/\\'E|{\\'E}|\\'{E}/g,"}\\unicode{x00C9}\\text{"),e.math=e.math.replace(/\\`a|{\\`a}|\\`{a}/g,"}\\unicode{x00E0}\\text{"),e.math=e.math.replace(/\\'a|{\\'a}|\\'{a}/g,"}\\unicode{x00E1}\\text{"),e.math=e.math.replace(/\\`A|{\\`A}|\\`{A}/g,"}\\unicode{x00C0}\\text{"),e.math=e.math.replace(/\\'A|{\\'A}|\\'{A}/g,"}\\unicode{x00C1}\\text{"),e.math=e.math.replace(/\\`o|{\\`o}|\\`{o}/g,"}\\unicode{x00F3}\\text{"),e.math=e.math.replace(/\\'o|{\\'o}|\\'{o}/g,"}\\unicode{x00F4}\\text{"),e.math=e.math.replace(/\\`O|{\\`O}|\\`{O}/g,"}\\unicode{x00D3}\\text{"),e.math=e.math.replace(/\\'O|{\\'O}|\\'{O}/g,"}\\unicode{x00D4}\\text{"),e.math=e.math.replace(/\\c\s*{s}/g,"}\\unicode{x015F}\\text{"),e.math=e.math.replace(/\\c\s*{S}/g,"}\\unicode{x015E}\\text{")):(e.math=e.math.replace(/\\"a|{\\"a}|\\"{a}/g,"\\unicode{x00E4}"),e.math=e.math.replace(/\\"o|{\\"o}|\\"{o}/g,"\\unicode{x00F6}"),e.math=e.math.replace(/\\"u|{\\"u}|\\"{u}/g,"\\unicode{x00FC}"),e.math=e.math.replace(/\\"A|{\\"A}|\\"{A}/g,"\\unicode{x00C4}"),e.math=e.math.replace(/\\"O|{\\"O}|\\"{O}/g,"\\unicode{x00D6}"),e.math=e.math.replace(/\\"U|{\\"U}|\\"{U}/g,"\\unicode{x00DC}"),e.math=e.math.replace(/{?\\ss}?/g,"\\unicode{x00DF}"),e.math=e.math.replace(/\\`e|{\\`e}|\\`{e}/g,"\\unicode{x00E8}"),e.math=e.math.replace(/\\'e|{\\'e}|\\'{e}/g,"\\unicode{x00E9}"),e.math=e.math.replace(/\\`E|{\\`E}|\\`{E}/g,"\\unicode{x00C8}"),e.math=e.math.replace(/\\'E|{\\'E}|\\'{E}/g,"\\unicode{x00C9}"),e.math=e.math.replace(/\\`a|{\\`a}|\\`{a}/g,"\\unicode{x00E0}"),e.math=e.math.replace(/\\'a|{\\'a}|\\'{a}/g,"\\unicode{x00E1}"),e.math=e.math.replace(/\\`A|{\\`A}|\\`{A}/g,"\\unicode{x00C0}"),e.math=e.math.replace(/\\'A|{\\'A}|\\'{A}/g,"\\unicode{x00C1}"),e.math=e.math.replace(/\\`o|{\\`o}|\\`{o}/g,"\\unicode{x00F3}"),e.math=e.math.replace(/\\'o|{\\'o}|\\'{o}/g,"\\unicode{x00F4}"),e.math=e.math.replace(/\\`O|{\\`O}|\\`{O}/g,"\\unicode{x00D3}"),e.math=e.math.replace(/\\'O|{\\'O}|\\'{O}/g,"\\unicode{x00D4}"),e.math=e.math.replace(/\\c\s*{s}/g,"\\unicode{x015F}"),e.math=e.math.replace(/\\c\s*{S}/g,"\\unicode{x015E}")),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\CYRA\}/g,"\\unicode{x0410}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\CYRB\}/g,"\\unicode{x0411}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\CYRV\}/g,"\\unicode{x0412}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\CYRG\}/g,"\\unicode{x0413}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\CYRD\}/g,"\\unicode{x0414}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\CYRE\}/g,"\\unicode{x0415}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\CYRZH\}/g,"\\unicode{x0416}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\CYRZ\}/g,"\\unicode{x0417}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\CYRI\}/g,"\\unicode{x0418}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\CYRISHRT\}/g,"\\unicode{x0419}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\CYRK\}/g,"\\unicode{x041A}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\CYRL\}/g,"\\unicode{x041B}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\CYRM\}/g,"\\unicode{x041C}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\CYRN\}/g,"\\unicode{x041D}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\CYRO\}/g,"\\unicode{x041E}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\CYRP\}/g,"\\unicode{x041F}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\CYRR\}/g,"\\unicode{x0420}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\CYRS\}/g,"\\unicode{x0421}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\CYRT\}/g,"\\unicode{x0422}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\CYRU\}/g,"\\unicode{x0423}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\CYRF\}/g,"\\unicode{x0424}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\CYRH\}/g,"\\unicode{x0425}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\CYRC\}/g,"\\unicode{x0426}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\CYRCH\}/g,"\\unicode{x0427}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\CYRSH\}/g,"\\unicode{x0428}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\CYRSHCH\}/g,"\\unicode{x0429}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\CYRHRDSN\}/g,"\\unicode{x042A}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\CYRERY\}/g,"\\unicode{x042B}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\CYRSFTSN\}/g,"\\unicode{x042C}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\CYREREV\}/g,"\\unicode{x042D}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\CYRYU\}/g,"\\unicode{x042E}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\CYRYA\}/g,"\\unicode{x042F}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\cyra\}/g,"\\unicode{x0430}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\cyrb\}/g,"\\unicode{x0431}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\cyrv\}/g,"\\unicode{x0432}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\cyrg\}/g,"\\unicode{x0433}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\cyrd\}/g,"\\unicode{x0434}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\cyre\}/g,"\\unicode{x0435}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\cyrzh\}/g,"\\unicode{x0436}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\cyrz\}/g,"\\unicode{x0437}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\cyri\}/g,"\\unicode{x0438}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\cyrishrt\}/g,"\\unicode{x0439}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\cyrk\}/g,"\\unicode{x043A}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\cyrl\}/g,"\\unicode{x043B}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\cyrm\}/g,"\\unicode{x043C}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\cyrn\}/g,"\\unicode{x043D}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\cyro\}/g,"\\unicode{x043E}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\cyrp\}/g,"\\unicode{x043F}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\cyrr\}/g,"\\unicode{x0440}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\cyrs\}/g,"\\unicode{x0441}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\cyrt\}/g,"\\unicode{x0442}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\cyru\}/g,"\\unicode{x0443}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\cyrf\}/g,"\\unicode{x0444}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\cyrh\}/g,"\\unicode{x0445}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\cyrc\}/g,"\\unicode{x0446}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\cyrch\}/g,"\\unicode{x0447}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\cyrsh\}/g,"\\unicode{x0448}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\cyrshch\}/g,"\\unicode{x0449}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\cyrhrdsn\}/g,"\\unicode{x044A}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\cyrery\}/g,"\\unicode{x044B}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\cyrsftsn\}/g,"\\unicode{x044C}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\cyrerev\}/g,"\\unicode{x044D}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\cyryu\}/g,"\\unicode{x044E}"),e.math=e.math.replace(/(\\text(bf|it)?|\\boldsymbol)\s*\{\\cyrya\}/g,"\\unicode{x044F}"),e.math=e.math.replace(/\\textcircled\s*\{0\}/g,"\\unicode{x24EA}"),e.math=e.math.replace(/\\textcircled\s*\{1\}/g,"\\unicode{x2460}"),e.math=e.math.replace(/\\textcircled\s*\{2\}/g,"\\unicode{x2461}"),e.math=e.math.replace(/\\textcircled\s*\{3\}/g,"\\unicode{x2462}"),e.math=e.math.replace(/\\textcircled\s*\{4\}/g,"\\unicode{x2463}"),e.math=e.math.replace(/\\textcircled\s*\{5\}/g,"\\unicode{x2464}"),e.math=e.math.replace(/\\textcircled\s*\{6\}/g,"\\unicode{x2465}"),e.math=e.math.replace(/\\textcircled\s*\{7\}/g,"\\unicode{x2466}"),e.math=e.math.replace(/\\textcircled\s*\{8\}/g,"\\unicode{x2467}"),e.math=e.math.replace(/\\textcircled\s*\{9\}/g,"\\unicode{x2468}"),e.math=e.math.replace(/\\textcircled\s*\{10\}/g,"\\unicode{x2469}"),e.math=e.math.replace(/\\textcircled\s*\{11\}/g,"\\unicode{x246A}"),e.math=e.math.replace(/\\textcircled\s*\{12\}/g,"\\unicode{x246B}"),e.math=e.math.replace(/\\textcircled\s*\{13\}/g,"\\unicode{x246C}"),e.math=e.math.replace(/\\textcircled\s*\{14\}/g,"\\unicode{x246D}"),e.math=e.math.replace(/\\textcircled\s*\{15\}/g,"\\unicode{x246E}"),e.math=e.math.replace(/\\textcircled\s*\{16\}/g,"\\unicode{x246F}"),e.math=e.math.replace(/\\textcircled\s*\{17\}/g,"\\unicode{x2470}"),e.math=e.math.replace(/\\textcircled\s*\{18\}/g,"\\unicode{x2471}"),e.math=e.math.replace(/\\textcircled\s*\{19\}/g,"\\unicode{x2472}"),e.math=e.math.replace(/\\textcircled\s*\{20\}/g,"\\unicode{x2473}"),e.math=e.math.replace(/\\textcircled\s*\{a\}/g,"\\unicode{x24D0}"),e.math=e.math.replace(/\\textcircled\s*\{b\}/g,"\\unicode{x24D1}"),e.math=e.math.replace(/\\textcircled\s*\{c\}/g,"\\unicode{x24D2}"),e.math=e.math.replace(/\\textcircled\s*\{d\}/g,"\\unicode{x24D3}"),e.math=e.math.replace(/\\textcircled\s*\{e\}/g,"\\unicode{x24D4}"),e.math=e.math.replace(/\\textcircled\s*\{f\}/g,"\\unicode{x24D5}"),e.math=e.math.replace(/\\textcircled\s*\{g\}/g,"\\unicode{x24D6}"),e.math=e.math.replace(/\\textcircled\s*\{h\}/g,"\\unicode{x24D7}"),e.math=e.math.replace(/\\textcircled\s*\{i\}/g,"\\unicode{x24D8}"),e.math=e.math.replace(/\\textcircled\s*\{j\}/g,"\\unicode{x24D9}"),e.math=e.math.replace(/\\textcircled\s*\{k\}/g,"\\unicode{x24DA}"),e.math=e.math.replace(/\\textcircled\s*\{l\}/g,"\\unicode{x24DB}"),e.math=e.math.replace(/\\textcircled\s*\{m\}/g,"\\unicode{x24DC}"),e.math=e.math.replace(/\\textcircled\s*\{n\}/g,"\\unicode{x24DD}"),e.math=e.math.replace(/\\textcircled\s*\{o\}/g,"\\unicode{x24DE}"),e.math=e.math.replace(/\\textcircled\s*\{p\}/g,"\\unicode{x24DF}"),e.math=e.math.replace(/\\textcircled\s*\{q\}/g,"\\unicode{x24E0}"),e.math=e.math.replace(/\\textcircled\s*\{r\}/g,"\\unicode{x24E1}"),e.math=e.math.replace(/\\textcircled\s*\{s\}/g,"\\unicode{x24E2}"),e.math=e.math.replace(/\\textcircled\s*\{t\}/g,"\\unicode{x24E3}"),e.math=e.math.replace(/\\textcircled\s*\{u\}/g,"\\unicode{x24E4}"),e.math=e.math.replace(/\\textcircled\s*\{v\}/g,"\\unicode{x24E5}"),e.math=e.math.replace(/\\textcircled\s*\{w\}/g,"\\unicode{x24E6}"),e.math=e.math.replace(/\\textcircled\s*\{x\}/g,"\\unicode{x24E7}"),e.math=e.math.replace(/\\textcircled\s*\{y\}/g,"\\unicode{x24E8}"),e.math=e.math.replace(/\\textcircled\s*\{z\}/g,"\\unicode{x24E9}"),e.math=e.math.replace(/\\textcircled\s*\{A\}/g,"\\unicode{x24B6}"),e.math=e.math.replace(/\\textcircled\s*\{B\}/g,"\\unicode{x24B7}"),e.math=e.math.replace(/\\textcircled\s*\{C\}/g,"\\unicode{x24B8}"),e.math=e.math.replace(/\\textcircled\s*\{D\}/g,"\\unicode{x24B9}"),e.math=e.math.replace(/\\textcircled\s*\{E\}/g,"\\unicode{x24BA}"),e.math=e.math.replace(/\\textcircled\s*\{F\}/g,"\\unicode{x24BB}"),e.math=e.math.replace(/\\textcircled\s*\{G\}/g,"\\unicode{x24BC}"),e.math=e.math.replace(/\\textcircled\s*\{H\}/g,"\\unicode{x24BD}"),e.math=e.math.replace(/\\textcircled\s*\{I\}/g,"\\unicode{x24BE}"),e.math=e.math.replace(/\\textcircled\s*\{J\}/g,"\\unicode{x24BF}"),e.math=e.math.replace(/\\textcircled\s*\{K\}/g,"\\unicode{x24C0}"),e.math=e.math.replace(/\\textcircled\s*\{L\}/g,"\\unicode{x24C1}"),e.math=e.math.replace(/\\textcircled\s*\{M\}/g,"\\unicode{x24C2}"),e.math=e.math.replace(/\\textcircled\s*\{N\}/g,"\\unicode{x24C3}"),e.math=e.math.replace(/\\textcircled\s*\{O\}/g,"\\unicode{x24C4}"),e.math=e.math.replace(/\\textcircled\s*\{P\}/g,"\\unicode{x24C5}"),e.math=e.math.replace(/\\textcircled\s*\{Q\}/g,"\\unicode{x24C6}"),e.math=e.math.replace(/\\textcircled\s*\{R\}/g,"\\unicode{x24C7}"),e.math=e.math.replace(/\\textcircled\s*\{S\}/g,"\\unicode{x24C8}"),e.math=e.math.replace(/\\textcircled\s*\{T\}/g,"\\unicode{x24C9}"),e.math=e.math.replace(/\\textcircled\s*\{U\}/g,"\\unicode{x24CA}"),e.math=e.math.replace(/\\textcircled\s*\{V\}/g,"\\unicode{x24CB}"),e.math=e.math.replace(/\\textcircled\s*\{W\}/g,"\\unicode{x24CC}"),e.math=e.math.replace(/\\textcircled\s*\{X\}/g,"\\unicode{x24CD}"),e.math=e.math.replace(/\\textcircled\s*\{Y\}/g,"\\unicode{x24CE}"),e.math=e.math.replace(/\\textcircled\s*\{Z\}/g,"\\unicode{x24CF}");for(var t,a=new RegExp("~#~(.*?)~#~","g");t=a.exec(e.math);){for(var c="",n=0;n!=t[1].length;n++){var i=t[1].substr(n,1);i.match(/[a-z]/)?c+="{\\small "+i.toUpperCase()+"}":c+=i}e.math=e.math.replace(/~#~.*?~#~/,c)}}}.MathJaxPrefilterHook},Y=e.exports.defaultConfig,$=t.exports,N="2.7.5",n=function(e,t){for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=t[a]||{},null!==e[a]&&"object"==typeof e[a]?t[a]=n(e[a],t[a]):t[a]=e[a]);return t},W.exports={loadMathJaxAsync:function(e){e=n(e||{},Y);e.AuthorInit=J,window.MathJax=e,U()},lazyLoadMathJaxAsync:function(e,c){e=n(e||{},Y);e.AuthorInit=J,e.skipStartupTypeset=!0,window.MathJax=e,U(function(){if(window.IntersectionObserver)for(var e=document.querySelectorAll(c),a=new IntersectionObserver(function(e){for(var t=0;e[t];++t)if(e[t].isIntersecting){MathJax.Hub.Queue(["Typeset",MathJax.Hub]),a.disconnect();break}},{rootMargin:"200px 0px 200px 0px",threshold:0}),t=0;e[t];++t)a.observe(e[t]);else MathJax.Hub.Queue(["Typeset",MathJax.Hub])})},loadMathJaxForDeferredContent:function(e,t){window.MathJax?MathJax.Hub.Queue(["Typeset",MathJax.Hub,e]):((t=n(t||{},Y)).AuthorInit=J,window.MathJax=t,U(function(){MathJax.Hub.Queue(["Typeset",MathJax.Hub,e])}))}};function X(){var t="c-article-survey";return{init:function(){var e;(e=document.querySelector(".c-article-survey--close"))&&e.addEventListener("click",function(){document.querySelector("."+t).classList.add("c-article-survey--hide")})}}}var Z=X;function K(){return{init:function(e){const t=document.createElement("script");t.setAttribute("async",!0),t.setAttribute("src","https://www.youtube.com/iframe_api"),t.onload=function(){window.YT.ready(function(){e.forEach(function(e){var a=e.getAttribute("data-youtube-id");new window.YT.Player("player-"+a,{height:"390",width:"640",videoId:a,playerVars:{autoplay:0},events:{onStateChange:function(e){var t=a;e.data==YT.PlayerState.ENDED&&window.dataLayer.push({event:"youtube-api-video",eventAction:"complete video",eventLabel:t}),e.data==YT.PlayerState.PLAYING&&window.dataLayer.push({event:"youtube-api-video",eventAction:"play video",eventLabel:t}),e.data==YT.PlayerState.PAUSED&&window.dataLayer.push({event:"youtube-api-video",eventAction:"pause video",eventLabel:t})}}})})})},document.head.appendChild(t)}}}var G=K;const V={init:()=>{var e,t={EventEmitter:u,ShareBox:L,InternalNavigation:S,Scheduler:f,ScrollWrapper:H,BookShowMore:D,ZoomCover:M,Survey:Z,Contributors:q,Boxes:E,YouTubeVideos:G};for(e in Component=Component||{},t)Object.prototype.hasOwnProperty.call(t,e)&&(Component[e]=new t[e]);function a(){var e=document.querySelector('meta[name="DOI"]');return e?e.getAttribute("content"):""}NodeList.prototype.forEach||(NodeList.prototype.forEach=Array.prototype.forEach),Component.ContextBar=new j(Component.Scheduler),c=Component.EventEmitter,n={offset:32,exclude:"js-no-scroll",access:!0},Component.InternalNavigation.init(n,Component.Scheduler,c),Component.EventEmitter.on("rc.display",()=>{const e=document.querySelector("[data-component-mpu]");e&&(e.classList.remove("u-hide"),e.classList.add("u-show"))}),y().init({offset:32,exclude:"js-no-scroll",access:!0},Component.Scheduler,Component.EventEmitter),(n=document.querySelector('meta[name="access"]'))&&n.getAttribute("content")&&"yes"===n.getAttribute("content").toLowerCase()&&!window.suppressShareButton&&(i=a())&&Component.ShareBox.init({url:"/article/"+i+"/share"}),Component.ScrollWrapper.init(document.querySelectorAll("[data-component-scroll-wrapper]"),m,Component.Scheduler),Component.Boxes.init(document.querySelectorAll("div[data-expandable-box-container]")),Component.Contributors.init(document.querySelectorAll('[data-component="book-contributor-list"]'));document.querySelector('[data-component="article-survey"]')&&Component.Survey.init();var c=Array.prototype.slice.call(document.querySelectorAll('[mi24-video-player="true"]'),0),n=(0<c.length&&v(c),document.querySelector('[data-component="cover-zoom"]')),i=(n&&Component.ZoomCover.init(),document.querySelectorAll('[data-component="data-unique-selling-points"] li')),c=document.querySelectorAll('[data-component="data-other-volumes"] li'),n=((i&&4<i.length||c&&4<c.length)&&Component.BookShowMore.init(),P(),a());if(n&&document.querySelector("div[data-context-bar-with-recommendations]")){const r=new z;r.init(n,"[data-component-recommendations]",Component.Scheduler)}i=document.querySelectorAll("[data-component-youtube-video]");if(0<i.length){const o=new G;o.init(i)}}};"loading"===document.readyState?document.addEventListener&&document.addEventListener("DOMContentLoaded",function(){V.init()},!1):V.init()}();
//# sourceMappingURL=global-article-es5-bundle-989671962d.js.map