"bundle";!function(i){System.registerDynamic("npm:body-scroll-lock/lib/bodyScrollLock.js",[],!1,function(t,e,n){return i.call(e,e)})}(function(t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e,n=!1;"undefined"!=typeof window&&(window.addEventListener("testPassive",null,e={get passive(){n=!0}}),window.removeEventListener("testPassive",null,e));function r(e){return a.some(function(t){return!(!t.options.allowTouchMove||!t.options.allowTouchMove(e))})}function o(t){return t=t||window.event,!!r(t.target)||(1<t.touches.length||(t.preventDefault&&t.preventDefault(),!1))}function i(){void 0!==h&&(document.body.style.paddingRight=h,h=void 0),void 0!==l&&(document.body.style.overflow=l,l=void 0)}var s="undefined"!=typeof window&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||"MacIntel"===window.navigator.platform&&1<window.navigator.maxTouchPoints),a=[],c=!1,u=-1,l=void 0,h=void 0;t.disableBodyScroll=function(i,t){var e;i?a.some(function(t){return t.targetElement===i})||(e={targetElement:i,options:t||{}},a=[].concat(function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}(a),[e]),s?(i.ontouchstart=function(t){1===t.targetTouches.length&&(u=t.targetTouches[0].clientY)},i.ontouchmove=function(t){var e,n;1===t.targetTouches.length&&(n=i,t=(e=t).targetTouches[0].clientY-u,r(e.target)||(n&&0===n.scrollTop&&0<t||!!(n=n)&&n.scrollHeight-n.scrollTop<=n.clientHeight&&t<0?o(e):e.stopPropagation()))},c||(document.addEventListener("touchmove",o,n?{passive:!1}:void 0),c=!0)):(e=t,void 0===h&&(t=!!e&&!0===e.reserveScrollBarGap,e=window.innerWidth-document.documentElement.clientWidth,t&&0<e&&(h=document.body.style.paddingRight,document.body.style.paddingRight=e+"px")),void 0===l&&(l=document.body.style.overflow,document.body.style.overflow="hidden"))):console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.")},t.clearAllBodyScrollLocks=function(){s?(a.forEach(function(t){t.targetElement.ontouchstart=null,t.targetElement.ontouchmove=null}),c&&(document.removeEventListener("touchmove",o,n?{passive:!1}:void 0),c=!1),u=-1):i(),a=[]},t.enableBodyScroll=function(e){e?(a=a.filter(function(t){return t.targetElement!==e}),s?(e.ontouchstart=null,e.ontouchmove=null,c&&0===a.length&&(document.removeEventListener("touchmove",o,n?{passive:!1}:void 0),c=!1)):a.length||i()):console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.")}}),function(i){"object"==typeof exports&&"undefined"!=typeof module?module.exports=i():System.registerDynamic("npm:dompurify/dist/purify.js",[],!1,function(t,e,n){return i.call(this)})}(function(){"use strict";var i,r=Object.hasOwnProperty,o=Object.setPrototypeOf,s=Object.isFrozen,mt=Object.freeze,t=Object.seal,a=Object.create,e="undefined"!=typeof Reflect&&Reflect,c=(c=e.apply)||function(t,e,n){return t.apply(e,n)},mt=mt||function(t){return t},t=t||function(t){return t},u=(u=e.construct)||function(t,e){return new(Function.prototype.bind.apply(t,[null].concat(function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}(e))))},gt=n(Array.prototype.forEach),vt=n(Array.prototype.pop),yt=n(Array.prototype.push),Tt=n(String.prototype.toLowerCase),bt=n(String.prototype.match),wt=n(String.prototype.replace),Et=n(String.prototype.indexOf),At=n(String.prototype.trim),St=n(RegExp.prototype.test),xt=(i=TypeError,function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return u(i,e)});function n(r){return function(t){for(var e=arguments.length,n=Array(1<e?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];return c(r,t,n)}}function _t(t,e){o&&o(t,null);for(var n=e.length;n--;){var i,r=e[n];"string"!=typeof r||(i=Tt(r))!==r&&(s(e)||(e[n]=i),r=i),t[r]=!0}return t}function Dt(t){var e=a(null),n=void 0;for(n in t)c(r,t,[n])&&(e[n]=t[n]);return e}var Mt=mt(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Ot=mt(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","audio","canvas","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","video","view","vkern"]),Rt=mt(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Ct=mt(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),Lt=mt(["#text"]),kt=mt(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns"]),Nt=mt(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),It=mt(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Ht=mt(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Pt=t(/\{\{[\s\S]*|[\s\S]*\}\}/gm),zt=t(/<%[\s\S]*|[\s\S]*%>/gm),Ft=t(/^data-[\-\w.\u00B7-\uFFFF]/),Yt=t(/^aria-[\-\w]+$/),jt=t(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Bt=t(/^(?:\w+script|data):/i),Wt=t(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Ut="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};function Xt(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}var qt=function(){return"undefined"==typeof window?null:window},Gt=function(t,e){if("object"!==(void 0===t?"undefined":Ut(t))||"function"!=typeof t.createPolicy)return null;var n=null,i="data-tt-policy-suffix";e.currentScript&&e.currentScript.hasAttribute(i)&&(n=e.currentScript.getAttribute(i));var r="dompurify"+(n?"#"+n:"");try{return t.createPolicy(r,{createHTML:function(t){return t}})}catch(t){return console.warn("TrustedTypes policy "+r+" could not be created."),null}};return function e(t){function u(t){return e(t)}var a=0<arguments.length&&void 0!==t?t:qt();if(u.version="2.1.1",u.removed=[],!a||!a.document||9!==a.document.nodeType)return u.isSupported=!1,u;var c=a.document,o=a.document,l=a.DocumentFragment,n=a.HTMLTemplateElement,h=a.Node,i=a.NodeFilter,t=a.NamedNodeMap,r=void 0===t?a.NamedNodeMap||a.MozNamedAttrMap:t,s=a.Text,p=a.Comment,f=a.DOMParser,t=a.trustedTypes;"function"!=typeof n||(n=o.createElement("template")).content&&n.content.ownerDocument&&(o=n.content.ownerDocument);var d=Gt(t,c),m=d&&rt?d.createHTML(""):"",g=o.implementation,v=o.createNodeIterator,y=o.getElementsByTagName,T=o.createDocumentFragment,b=c.importNode,w={};try{w=Dt(o).documentMode?o.documentMode:{}}catch(t){}var E={};u.isSupported=g&&void 0!==g.createHTMLDocument&&9!==w;function A(t){ft&&ft===t||(t&&"object"===(void 0===t?"undefined":Ut(t))||(t={}),t=Dt(t),B="ALLOWED_TAGS"in t?_t({},t.ALLOWED_TAGS):W,U="ALLOWED_ATTR"in t?_t({},t.ALLOWED_ATTR):X,ht="ADD_URI_SAFE_ATTR"in t?_t(Dt(pt),t.ADD_URI_SAFE_ATTR):pt,ut="ADD_DATA_URI_TAGS"in t?_t(Dt(lt),t.ADD_DATA_URI_TAGS):lt,q="FORBID_TAGS"in t?_t({},t.FORBID_TAGS):{},G="FORBID_ATTR"in t?_t({},t.FORBID_ATTR):{},N="USE_PROFILES"in t&&t.USE_PROFILES,V=!1!==t.ALLOW_ARIA_ATTR,K=!1!==t.ALLOW_DATA_ATTR,Z=t.ALLOW_UNKNOWN_PROTOCOLS||!1,$=t.SAFE_FOR_TEMPLATES||!1,J=t.WHOLE_DOCUMENT||!1,et=t.RETURN_DOM||!1,nt=t.RETURN_DOM_FRAGMENT||!1,it=t.RETURN_DOM_IMPORT||!1,rt=t.RETURN_TRUSTED_TYPE||!1,tt=t.FORCE_BODY||!1,ot=!1!==t.SANITIZE_DOM,st=!1!==t.KEEP_CONTENT,at=t.IN_PLACE||!1,j=t.ALLOWED_URI_REGEXP||j,$&&(K=!1),nt&&(et=!0),N&&(B=_t({},[].concat(Xt(Lt))),U=[],!0===N.html&&(_t(B,Mt),_t(U,kt)),!0===N.svg&&(_t(B,Ot),_t(U,Nt),_t(U,Ht)),!0===N.svgFilters&&(_t(B,Rt),_t(U,Nt),_t(U,Ht)),!0===N.mathMl&&(_t(B,Ct),_t(U,It),_t(U,Ht))),t.ADD_TAGS&&(B===W&&(B=Dt(B)),_t(B,t.ADD_TAGS)),t.ADD_ATTR&&(U===X&&(U=Dt(U)),_t(U,t.ADD_ATTR)),t.ADD_URI_SAFE_ATTR&&_t(ht,t.ADD_URI_SAFE_ATTR),st&&(B["#text"]=!0),J&&_t(B,["html","head","body"]),B.table&&(_t(B,["tbody"]),delete q.tbody),mt&&mt(t),ft=t)}function S(e){yt(u.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){e.outerHTML=m}}function x(t,e){try{yt(u.removed,{attribute:e.getAttributeNode(t),from:e})}catch(t){yt(u.removed,{attribute:null,from:e})}e.removeAttribute(t)}function _(t){var e=void 0,n=void 0;tt?t="<remove></remove>"+t:n=(i=bt(t,/^[\r\n\t ]+/))&&i[0];var i,r=d?d.createHTML(t):t;try{e=(new f).parseFromString(r,"text/html")}catch(t){}return e&&e.documentElement||((i=(e=g.createHTMLDocument("")).body).parentNode.removeChild(i.parentNode.firstElementChild),i.outerHTML=r),t&&n&&e.body.insertBefore(o.createTextNode(n),e.body.childNodes[0]||null),y.call(e,J?"html":"body")[0]}function D(t){return v.call(t.ownerDocument||t,t,i.SHOW_ELEMENT|i.SHOW_COMMENT|i.SHOW_TEXT,function(){return i.FILTER_ACCEPT},!1)}function M(t){return"object"===(void 0===h?"undefined":Ut(h))?t instanceof h:t&&"object"===(void 0===t?"undefined":Ut(t))&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName}function O(t,e,n){E[t]&&gt(E[t],function(t){t.call(u,e,n,ft)})}function R(t){var e;if(O("beforeSanitizeElements",t,null),!((n=t)instanceof s||n instanceof p||"string"==typeof n.nodeName&&"string"==typeof n.textContent&&"function"==typeof n.removeChild&&n.attributes instanceof r&&"function"==typeof n.removeAttribute&&"function"==typeof n.setAttribute&&"string"==typeof n.namespaceURI))return S(t),1;if(bt(t.nodeName,/[\u0080-\uFFFF]/))return S(t),1;var n=Tt(t.nodeName);if(O("uponSanitizeElement",t,{tagName:n,allowedTags:B}),("svg"===n||"math"===n)&&0!==t.querySelectorAll("p, br").length)return S(t),1;if(!M(t.firstElementChild)&&(!M(t.content)||!M(t.content.firstElementChild))&&St(/<[!/\w]/g,t.innerHTML)&&St(/<[!/\w]/g,t.textContent))return S(t),1;if(B[n]&&!q[n])return"noscript"!==n&&"noembed"!==n||!St(/<\/no(script|embed)/i,t.innerHTML)?($&&3===t.nodeType&&(e=t.textContent,e=wt(e,I," "),e=wt(e,H," "),t.textContent!==e&&(yt(u.removed,{element:t.cloneNode()}),t.textContent=e)),O("afterSanitizeElements",t,null),0):(S(t),1);if(st&&!ct[n]&&"function"==typeof t.insertAdjacentHTML)try{var i=t.innerHTML;t.insertAdjacentHTML("AfterEnd",d?d.createHTML(i):i)}catch(t){}return S(t),1}function C(t,e,n){if(ot&&("id"===e||"name"===e)&&(n in o||n in dt))return!1;if(!(K&&St(P,e)||V&&St(z,e))){if(!U[e]||G[e])return!1;if(!ht[e]&&!St(j,wt(n,Y,""))&&("src"!==e&&"xlink:href"!==e&&"href"!==e||"script"===t||0!==Et(n,"data:")||!ut[t])&&(!Z||St(F,wt(n,Y,"")))&&n)return!1}return!0}function L(t){var e=void 0,n=void 0;O("beforeSanitizeAttributes",t,null);var i=t.attributes;if(i){for(var r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:U},n=i.length;n--;){var o=(c=i[n]).name,s=c.namespaceURI,e=At(c.value),a=Tt(o);if(r.attrName=a,r.attrValue=e,r.keepAttr=!0,r.forceKeepAttr=void 0,O("uponSanitizeAttribute",t,r),e=r.attrValue,!r.forceKeepAttr&&(x(o,t),r.keepAttr))if(St(/\/>/i,e))x(o,t);else{$&&(e=wt(e,I," "),e=wt(e,H," "));var c=t.nodeName.toLowerCase();if(C(c,a,e))try{s?t.setAttributeNS(s,o,e):t.setAttribute(o,e),vt(u.removed)}catch(t){}}}O("afterSanitizeAttributes",t,null)}}function k(t){var e,n=D(t);for(O("beforeSanitizeShadowDOM",t,null);e=n.nextNode();)O("uponSanitizeShadowNode",e,null),R(e)||(e.content instanceof l&&k(e.content),L(e));O("afterSanitizeShadowDOM",t,null)}var N,I=Pt,H=zt,P=Ft,z=Yt,F=Bt,Y=Wt,j=jt,B=null,W=_t({},[].concat(Xt(Mt),Xt(Ot),Xt(Rt),Xt(Ct),Xt(Lt))),U=null,X=_t({},[].concat(Xt(kt),Xt(Nt),Xt(It),Xt(Ht))),q=null,G=null,V=!0,K=!0,Z=!1,$=!1,J=!1,Q=!1,tt=!1,et=!1,nt=!1,it=!1,rt=!1,ot=!0,st=!0,at=!1,ct=_t({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","plaintext","script","style","svg","template","thead","title","video","xmp"]),ut=null,lt=_t({},["audio","video","img","source","image","track"]),ht=null,pt=_t({},["alt","class","for","id","label","name","pattern","placeholder","summary","title","value","style","xmlns"]),ft=null,dt=o.createElement("form");return u.sanitize=function(t,e){var n,i=void 0,r=void 0,o=void 0;if("string"!=typeof(t=t||"\x3c!--\x3e")&&!M(t)){if("function"!=typeof t.toString)throw xt("toString is not a function");if("string"!=typeof(t=t.toString()))throw xt("dirty is not a string, aborting")}if(!u.isSupported){if("object"===Ut(a.toStaticHTML)||"function"==typeof a.toStaticHTML){if("string"==typeof t)return a.toStaticHTML(t);if(M(t))return a.toStaticHTML(t.outerHTML)}return t}if(Q||A(e),u.removed=[],"string"==typeof t&&(at=!1),!at)if(t instanceof h)1===(e=(i=_("\x3c!----\x3e")).ownerDocument.importNode(t,!0)).nodeType&&"BODY"===e.nodeName||"HTML"===e.nodeName?i=e:i.appendChild(e);else{if(!et&&!$&&!J&&-1===t.indexOf("<"))return d&&rt?d.createHTML(t):t;if(!(i=_(t)))return et?null:m}i&&tt&&S(i.firstChild);for(var s=D(at?t:i);n=s.nextNode();)3===n.nodeType&&n===r||R(n)||(n.content instanceof l&&k(n.content),L(n),r=n);if(r=null,at)return t;if(et){if(nt)for(o=T.call(i.ownerDocument);i.firstChild;)o.appendChild(i.firstChild);else o=i;return it&&(o=b.call(c,o,!0)),o}return t=J?i.outerHTML:i.innerHTML,$&&(t=wt(t,I," "),t=wt(t,H," ")),d&&rt?d.createHTML(t):t},u.setConfig=function(t){A(t),Q=!0},u.clearConfig=function(){ft=null,Q=!1},u.isValidAttribute=function(t,e,n){return ft||A({}),t=Tt(t),e=Tt(e),C(t,e,n)},u.addHook=function(t,e){"function"==typeof e&&(E[t]=E[t]||[],yt(E[t],e))},u.removeHook=function(t){E[t]&&vt(E[t])},u.removeHooks=function(t){E[t]&&(E[t]=[])},u.removeAllHooks=function(){E={}},u}()}),function(r,a,u){"use strict";var o,s=["","webkit","Moz","MS","ms","o"],t=a.createElement("div"),n="function",c=Math.round,l=Math.abs,h=Date.now;function p(t,e,n){return setTimeout(v(t,n),e)}function i(t,e,n){return Array.isArray(t)&&(f(t,n[e],n),1)}function f(t,e,n){if(t)if(t.forEach)t.forEach(e,n);else if(t.length!==u)for(i=0;i<t.length;)e.call(n,t[i],i,t),i++;else for(var i in t)t.hasOwnProperty(i)&&e.call(n,t[i],i,t)}function e(n,t,e){var i="DEPRECATED METHOD: "+t+"\n"+e+" AT \n";return function(){var t=new Error("get-stack-trace"),e=t&&t.stack?t.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",t=r.console&&(r.console.warn||r.console.log);return t&&t.call(r.console,i,e),n.apply(this,arguments)}}o="function"!=typeof Object.assign?function(t){if(t===u||null===t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),n=1;n<arguments.length;n++){var i=arguments[n];if(i!==u&&null!==i)for(var r in i)i.hasOwnProperty(r)&&(e[r]=i[r])}return e}:Object.assign;var d=e(function(t,e,n){for(var i=Object.keys(e),r=0;r<i.length;)(!n||n&&t[i[r]]===u)&&(t[i[r]]=e[i[r]]),r++;return t},"extend","Use `assign`."),m=e(function(t,e){return d(t,e,!0)},"merge","Use `assign`.");function g(t,e,n){var i=e.prototype,e=t.prototype=Object.create(i);e.constructor=t,e._super=i,n&&o(e,n)}function v(t,e){return function(){return t.apply(e,arguments)}}function y(t,e){return typeof t==n?t.apply(e&&e[0]||u,e):t}function T(t,e){return t===u?e:t}function b(e,t,n){f(S(t),function(t){e.addEventListener(t,n,!1)})}function w(e,t,n){f(S(t),function(t){e.removeEventListener(t,n,!1)})}function E(t,e){for(;t;){if(t==e)return!0;t=t.parentNode}return!1}function A(t,e){return-1<t.indexOf(e)}function S(t){return t.trim().split(/\s+/g)}function x(t,e,n){if(t.indexOf&&!n)return t.indexOf(e);for(var i=0;i<t.length;){if(n&&t[i][n]==e||!n&&t[i]===e)return i;i++}return-1}function _(t){return Array.prototype.slice.call(t,0)}function D(t,n,e){for(var i=[],r=[],o=0;o<t.length;){var s=n?t[o][n]:t[o];x(r,s)<0&&i.push(t[o]),r[o]=s,o++}return e&&(i=n?i.sort(function(t,e){return t[n]>e[n]}):i.sort()),i}function M(t,e){for(var n,i=e[0].toUpperCase()+e.slice(1),r=0;r<s.length;){if((n=(n=s[r])?n+i:e)in t)return n;r++}return u}var O=1;function R(t){t=t.ownerDocument||t;return t.defaultView||t.parentWindow||r}var C="ontouchstart"in r,L=M(r,"PointerEvent")!==u,k=C&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),N="touch",I="mouse",H=25,P=1,z=4,F=8,Y=1,j=2,B=4,W=8,U=16,X=j|B,q=W|U,G=X|q,V=["x","y"],K=["clientX","clientY"];function Z(e,t){var n=this;this.manager=e,this.callback=t,this.element=e.element,this.target=e.options.inputTarget,this.domHandler=function(t){y(e.options.enable,[e])&&n.handler(t)},this.init()}function $(t,e,n){var i=n.pointers.length,r=n.changedPointers.length,o=e&P&&i-r==0,r=e&(z|F)&&i-r==0;n.isFirst=!!o,n.isFinal=!!r,o&&(t.session={}),n.eventType=e,function(t,e){var n=t.session,i=e.pointers,r=i.length;n.firstInput||(n.firstInput=J(e));1<r&&!n.firstMultiple?n.firstMultiple=J(e):1===r&&(n.firstMultiple=!1);var o=n.firstInput,s=n.firstMultiple,a=(s||o).center,r=e.center=Q(i);e.timeStamp=h(),e.deltaTime=e.timeStamp-o.timeStamp,e.angle=it(a,r),e.distance=nt(a,r),function(t,e){var n=e.center,i=t.offsetDelta||{},r=t.prevDelta||{},o=t.prevInput||{};e.eventType!==P&&o.eventType!==z||(r=t.prevDelta={x:o.deltaX||0,y:o.deltaY||0},i=t.offsetDelta={x:n.x,y:n.y});e.deltaX=r.x+(n.x-i.x),e.deltaY=r.y+(n.y-i.y)}(n,e),e.offsetDirection=et(e.deltaX,e.deltaY);r=tt(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=r.x,e.overallVelocityY=r.y,e.overallVelocity=l(r.x)>l(r.y)?r.x:r.y,e.scale=s?function(t,e){return nt(e[0],e[1],K)/nt(t[0],t[1],K)}(s.pointers,i):1,e.rotation=s?function(t,e){return it(e[1],e[0],K)+it(t[1],t[0],K)}(s.pointers,i):0,e.maxPointers=!n.prevInput||e.pointers.length>n.prevInput.maxPointers?e.pointers.length:n.prevInput.maxPointers,function(t,e){var n,i,r=t.lastInterval||e,o=e.timeStamp-r.timeStamp;{var s,a,c;e.eventType!=F&&(H<o||r.velocity===u)?(s=e.deltaX-r.deltaX,a=e.deltaY-r.deltaY,c=tt(o,s,a),n=c.x,i=c.y,c=l(c.x)>l(c.y)?c.x:c.y,a=et(s,a),t.lastInterval=e):(c=r.velocity,n=r.velocityX,i=r.velocityY,a=r.direction)}e.velocity=c,e.velocityX=n,e.velocityY=i,e.direction=a}(n,e);t=t.element;E(e.srcEvent.target,t)&&(t=e.srcEvent.target);e.target=t}(t,n),t.emit("hammer.input",n),t.recognize(n),t.session.prevInput=n}function J(t){for(var e=[],n=0;n<t.pointers.length;)e[n]={clientX:c(t.pointers[n].clientX),clientY:c(t.pointers[n].clientY)},n++;return{timeStamp:h(),pointers:e,center:Q(e),deltaX:t.deltaX,deltaY:t.deltaY}}function Q(t){var e=t.length;if(1===e)return{x:c(t[0].clientX),y:c(t[0].clientY)};for(var n=0,i=0,r=0;r<e;)n+=t[r].clientX,i+=t[r].clientY,r++;return{x:c(n/e),y:c(i/e)}}function tt(t,e,n){return{x:e/t||0,y:n/t||0}}function et(t,e){return t===e?Y:l(t)>=l(e)?t<0?j:B:e<0?W:U}function nt(t,e,n){var i=e[(n=n||V)[0]]-t[n[0]],n=e[n[1]]-t[n[1]];return Math.sqrt(i*i+n*n)}function it(t,e,n){var i=e[(n=n||V)[0]]-t[n[0]],n=e[n[1]]-t[n[1]];return 180*Math.atan2(n,i)/Math.PI}Z.prototype={handler:function(){},init:function(){this.evEl&&b(this.element,this.evEl,this.domHandler),this.evTarget&&b(this.target,this.evTarget,this.domHandler),this.evWin&&b(R(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&w(this.element,this.evEl,this.domHandler),this.evTarget&&w(this.target,this.evTarget,this.domHandler),this.evWin&&w(R(this.element),this.evWin,this.domHandler)}};var rt={mousedown:P,mousemove:2,mouseup:z},ot="mousedown",st="mousemove mouseup";function at(){this.evEl=ot,this.evWin=st,this.pressed=!1,Z.apply(this,arguments)}g(at,Z,{handler:function(t){var e=rt[t.type];e&P&&0===t.button&&(this.pressed=!0),2&e&&1!==t.which&&(e=z),this.pressed&&(e&z&&(this.pressed=!1),this.callback(this.manager,e,{pointers:[t],changedPointers:[t],pointerType:I,srcEvent:t}))}});var ct={pointerdown:P,pointermove:2,pointerup:z,pointercancel:F,pointerout:F},ut={2:N,3:"pen",4:I,5:"kinect"},lt="pointerdown",ht="pointermove pointerup pointercancel";function pt(){this.evEl=lt,this.evWin=ht,Z.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}r.MSPointerEvent&&!r.PointerEvent&&(lt="MSPointerDown",ht="MSPointerMove MSPointerUp MSPointerCancel"),g(pt,Z,{handler:function(t){var e=this.store,n=!1,i=t.type.toLowerCase().replace("ms",""),r=ct[i],o=ut[t.pointerType]||t.pointerType,s=o==N,i=x(e,t.pointerId,"pointerId");r&P&&(0===t.button||s)?i<0&&(e.push(t),i=e.length-1):r&(z|F)&&(n=!0),i<0||(e[i]=t,this.callback(this.manager,r,{pointers:e,changedPointers:[t],pointerType:o,srcEvent:t}),n&&e.splice(i,1))}});var ft={touchstart:P,touchmove:2,touchend:z,touchcancel:F};function dt(){this.evTarget="touchstart",this.evWin="touchstart touchmove touchend touchcancel",this.started=!1,Z.apply(this,arguments)}g(dt,Z,{handler:function(t){var e,n=ft[t.type];n===P&&(this.started=!0),this.started&&(e=function(t,e){var n=_(t.touches),t=_(t.changedTouches);e&(z|F)&&(n=D(n.concat(t),"identifier",!0));return[n,t]}.call(this,t,n),n&(z|F)&&e[0].length-e[1].length==0&&(this.started=!1),this.callback(this.manager,n,{pointers:e[0],changedPointers:e[1],pointerType:N,srcEvent:t}))}});var mt={touchstart:P,touchmove:2,touchend:z,touchcancel:F},gt="touchstart touchmove touchend touchcancel";function vt(){this.evTarget=gt,this.targetIds={},Z.apply(this,arguments)}g(vt,Z,{handler:function(t){var e=mt[t.type],n=function(t,e){var n=_(t.touches),i=this.targetIds;if(e&(2|P)&&1===n.length)return i[n[0].identifier]=!0,[n,n];var r,o,s=_(t.changedTouches),a=[],c=this.target;if(o=n.filter(function(t){return E(t.target,c)}),e===P)for(r=0;r<o.length;)i[o[r].identifier]=!0,r++;r=0;for(;r<s.length;)i[s[r].identifier]&&a.push(s[r]),e&(z|F)&&delete i[s[r].identifier],r++;return a.length?[D(o.concat(a),"identifier",!0),a]:void 0}.call(this,t,e);n&&this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:N,srcEvent:t})}});var yt=2500;function Tt(){Z.apply(this,arguments);var t=v(this.handler,this);this.touch=new vt(this.manager,t),this.mouse=new at(this.manager,t),this.primaryTouch=null,this.lastTouches=[]}function bt(t){var e,n,t=t.changedPointers[0];t.identifier===this.primaryTouch&&(e={x:t.clientX,y:t.clientY},this.lastTouches.push(e),n=this.lastTouches,setTimeout(function(){var t=n.indexOf(e);-1<t&&n.splice(t,1)},yt))}g(Tt,Z,{handler:function(t,e,n){var i=n.pointerType==N,r=n.pointerType==I;if(!(r&&n.sourceCapabilities&&n.sourceCapabilities.firesTouchEvents)){if(i)(function(t,e){t&P?(this.primaryTouch=e.changedPointers[0].identifier,bt.call(this,e)):t&(z|F)&&bt.call(this,e)}).call(this,e,n);else if(r&&function(t){for(var e=t.srcEvent.clientX,n=t.srcEvent.clientY,i=0;i<this.lastTouches.length;i++){var r=this.lastTouches[i],o=Math.abs(e-r.x),r=Math.abs(n-r.y);if(o<=25&&r<=25)return!0}return!1}.call(this,n))return;this.callback(t,e,n)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var wt=M(t.style,"touchAction"),Et=wt!==u,At="compute",St="manipulation",xt="none",_t="pan-x",Dt="pan-y",Mt=function(){if(!Et)return!1;var e={},n=r.CSS&&r.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach(function(t){e[t]=!n||r.CSS.supports("touch-action",t)}),e}();function Ot(t,e){this.manager=t,this.set(e)}Ot.prototype={set:function(t){t==At&&(t=this.compute()),Et&&this.manager.element.style&&Mt[t]&&(this.manager.element.style[wt]=t),this.actions=t.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var e=[];return f(this.manager.recognizers,function(t){y(t.options.enable,[t])&&(e=e.concat(t.getTouchAction()))}),function(t){if(A(t,xt))return xt;var e=A(t,_t),n=A(t,Dt);if(e&&n)return xt;if(e||n)return e?_t:Dt;if(A(t,St))return St;return"auto"}(e.join(" "))},preventDefaults:function(t){var e=t.srcEvent,n=t.offsetDirection;if(this.manager.session.prevented)e.preventDefault();else{var i=this.actions,r=A(i,xt)&&!Mt[xt],o=A(i,Dt)&&!Mt[Dt],s=A(i,_t)&&!Mt[_t];if(r){var a=1===t.pointers.length,i=t.distance<2,t=t.deltaTime<250;if(a&&i&&t)return}if(!s||!o)return r||o&&n&X||s&&n&q?this.preventSrc(e):void 0}},preventSrc:function(t){this.manager.session.prevented=!0,t.preventDefault()}};var Rt=1;function Ct(t){this.options=o({},this.defaults,t||{}),this.id=O++,this.manager=null,this.options.enable=T(this.options.enable,!0),this.state=Rt,this.simultaneous={},this.requireFail=[]}function Lt(t){return 16&t?"cancel":8&t?"end":4&t?"move":2&t?"start":""}function kt(t){return t==U?"down":t==W?"up":t==j?"left":t==B?"right":""}function Nt(t,e){e=e.manager;return e?e.get(t):t}function It(){Ct.apply(this,arguments)}function Ht(){It.apply(this,arguments),this.pX=null,this.pY=null}function Pt(){It.apply(this,arguments)}function zt(){Ct.apply(this,arguments),this._timer=null,this._input=null}function Ft(){It.apply(this,arguments)}function Yt(){It.apply(this,arguments)}function jt(){Ct.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function Bt(t,e){return(e=e||{}).recognizers=T(e.recognizers,Bt.defaults.preset),new Wt(t,e)}Ct.prototype={defaults:{},set:function(t){return o(this.options,t),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(t){if(i(t,"recognizeWith",this))return this;var e=this.simultaneous;return e[(t=Nt(t,this)).id]||(e[t.id]=t).recognizeWith(this),this},dropRecognizeWith:function(t){return i(t,"dropRecognizeWith",this)||(t=Nt(t,this),delete this.simultaneous[t.id]),this},requireFailure:function(t){if(i(t,"requireFailure",this))return this;var e=this.requireFail;return-1===x(e,t=Nt(t,this))&&(e.push(t),t.requireFailure(this)),this},dropRequireFailure:function(t){if(i(t,"dropRequireFailure",this))return this;t=Nt(t,this);t=x(this.requireFail,t);return-1<t&&this.requireFail.splice(t,1),this},hasRequireFailures:function(){return 0<this.requireFail.length},canRecognizeWith:function(t){return!!this.simultaneous[t.id]},emit:function(e){var n=this,t=this.state;function i(t){n.manager.emit(t,e)}t<8&&i(n.options.event+Lt(t)),i(n.options.event),e.additionalEvent&&i(e.additionalEvent),8<=t&&i(n.options.event+Lt(t))},tryEmit:function(t){if(this.canEmit())return this.emit(t);this.state=32},canEmit:function(){for(var t=0;t<this.requireFail.length;){if(!(this.requireFail[t].state&(32|Rt)))return!1;t++}return!0},recognize:function(t){t=o({},t);if(!y(this.options.enable,[this,t]))return this.reset(),void(this.state=32);56&this.state&&(this.state=Rt),this.state=this.process(t),30&this.state&&this.tryEmit(t)},process:function(t){},getTouchAction:function(){},reset:function(){}},g(It,Ct,{defaults:{pointers:1},attrTest:function(t){var e=this.options.pointers;return 0===e||t.pointers.length===e},process:function(t){var e=this.state,n=t.eventType,i=6&e,t=this.attrTest(t);return i&&(n&F||!t)?16|e:i||t?n&z?8|e:2&e?4|e:2:32}}),g(Ht,It,{defaults:{event:"pan",threshold:10,pointers:1,direction:G},getTouchAction:function(){var t=this.options.direction,e=[];return t&X&&e.push(Dt),t&q&&e.push(_t),e},directionTest:function(t){var e=this.options,n=!0,i=t.distance,r=t.direction,o=t.deltaX,s=t.deltaY;return r&e.direction||(i=e.direction&X?(r=0===o?Y:o<0?j:B,n=o!=this.pX,Math.abs(t.deltaX)):(r=0===s?Y:s<0?W:U,n=s!=this.pY,Math.abs(t.deltaY))),t.direction=r,n&&i>e.threshold&&r&e.direction},attrTest:function(t){return It.prototype.attrTest.call(this,t)&&(2&this.state||!(2&this.state)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX,this.pY=t.deltaY;var e=kt(t.direction);e&&(t.additionalEvent=this.options.event+e),this._super.emit.call(this,t)}}),g(Pt,It,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[xt]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||2&this.state)},emit:function(t){var e;1!==t.scale&&(e=t.scale<1?"in":"out",t.additionalEvent=this.options.event+e),this._super.emit.call(this,t)}}),g(zt,Ct,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return["auto"]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,i=t.distance<e.threshold,r=t.deltaTime>e.time;if(this._input=t,!i||!n||t.eventType&(z|F)&&!r)this.reset();else if(t.eventType&P)this.reset(),this._timer=p(function(){this.state=8,this.tryEmit()},e.time,this);else if(t.eventType&z)return 8;return 32},reset:function(){clearTimeout(this._timer)},emit:function(t){8===this.state&&(t&&t.eventType&z?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=h(),this.manager.emit(this.options.event,this._input)))}}),g(Ft,It,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[xt]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||2&this.state)}}),g(Yt,It,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:X|q,pointers:1},getTouchAction:function(){return Ht.prototype.getTouchAction.call(this)},attrTest:function(t){var e,n=this.options.direction;return n&(X|q)?e=t.overallVelocity:n&X?e=t.overallVelocityX:n&q&&(e=t.overallVelocityY),this._super.attrTest.call(this,t)&&n&t.offsetDirection&&t.distance>this.options.threshold&&t.maxPointers==this.options.pointers&&l(e)>this.options.velocity&&t.eventType&z},emit:function(t){var e=kt(t.offsetDirection);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)}}),g(jt,Ct,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[St]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,i=t.distance<e.threshold,r=t.deltaTime<e.time;if(this.reset(),t.eventType&P&&0===this.count)return this.failTimeout();if(i&&r&&n){if(t.eventType!=z)return this.failTimeout();r=!this.pTime||t.timeStamp-this.pTime<e.interval,n=!this.pCenter||nt(this.pCenter,t.center)<e.posThreshold;if(this.pTime=t.timeStamp,this.pCenter=t.center,n&&r?this.count+=1:this.count=1,this._input=t,0==this.count%e.taps)return this.hasRequireFailures()?(this._timer=p(function(){this.state=8,this.tryEmit()},e.interval,this),2):8}return 32},failTimeout:function(){return this._timer=p(function(){this.state=32},this.options.interval,this),32},reset:function(){clearTimeout(this._timer)},emit:function(){8==this.state&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),Bt.VERSION="2.0.7",Bt.defaults={domEvents:!1,touchAction:At,enable:!0,inputTarget:null,inputClass:null,preset:[[Ft,{enable:!1}],[Pt,{enable:!1},["rotate"]],[Yt,{direction:X}],[Ht,{direction:X},["swipe"]],[jt],[jt,{event:"doubletap",taps:2},["tap"]],[zt]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};function Wt(t,e){this.options=o({},Bt.defaults,e||{}),this.options.inputTarget=this.options.inputTarget||t,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=t,this.input=new((t=this).options.inputClass||(L?pt:k?vt:C?Tt:at))(t,$),this.touchAction=new Ot(this,this.options.touchAction),Ut(this,!0),f(this.options.recognizers,function(t){var e=this.add(new t[0](t[1]));t[2]&&e.recognizeWith(t[2]),t[3]&&e.requireFailure(t[3])},this)}function Ut(n,i){var r,o=n.element;o.style&&(f(n.options.cssProps,function(t,e){r=M(o.style,e),i?(n.oldCssProps[r]=o.style[r],o.style[r]=t):o.style[r]=n.oldCssProps[r]||""}),i||(n.oldCssProps={}))}Wt.prototype={set:function(t){return o(this.options,t),t.touchAction&&this.touchAction.update(),t.inputTarget&&(this.input.destroy(),this.input.target=t.inputTarget,this.input.init()),this},stop:function(t){this.session.stopped=t?2:1},recognize:function(t){var e,n=this.session;if(!n.stopped){this.touchAction.preventDefaults(t);var i=this.recognizers,r=n.curRecognizer;(!r||r&&8&r.state)&&(r=n.curRecognizer=null);for(var o=0;o<i.length;)e=i[o],2===n.stopped||r&&e!=r&&!e.canRecognizeWith(r)?e.reset():e.recognize(t),!r&&14&e.state&&(r=n.curRecognizer=e),o++}},get:function(t){if(t instanceof Ct)return t;for(var e=this.recognizers,n=0;n<e.length;n++)if(e[n].options.event==t)return e[n];return null},add:function(t){if(i(t,"add",this))return this;var e=this.get(t.options.event);return e&&this.remove(e),this.recognizers.push(t),(t.manager=this).touchAction.update(),t},remove:function(t){return i(t,"remove",this)||!(t=this.get(t))||-1!==(t=x(e=this.recognizers,t))&&(e.splice(t,1),this.touchAction.update()),this;var e},on:function(t,e){if(t!==u&&e!==u){var n=this.handlers;return f(S(t),function(t){n[t]=n[t]||[],n[t].push(e)}),this}},off:function(t,e){if(t!==u){var n=this.handlers;return f(S(t),function(t){e?n[t]&&n[t].splice(x(n[t],e),1):delete n[t]}),this}},emit:function(t,e){var n,i,r;this.options.domEvents&&(n=t,i=e,(r=a.createEvent("Event")).initEvent(n,!0,!0),(r.gesture=i).target.dispatchEvent(r));var o=this.handlers[t]&&this.handlers[t].slice();if(o&&o.length){e.type=t,e.preventDefault=function(){e.srcEvent.preventDefault()};for(var s=0;s<o.length;)o[s](e),s++}},destroy:function(){this.element&&Ut(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},o(Bt,{INPUT_START:P,INPUT_MOVE:2,INPUT_END:z,INPUT_CANCEL:F,STATE_POSSIBLE:Rt,STATE_BEGAN:2,STATE_CHANGED:4,STATE_ENDED:8,STATE_RECOGNIZED:8,STATE_CANCELLED:16,STATE_FAILED:32,DIRECTION_NONE:Y,DIRECTION_LEFT:j,DIRECTION_RIGHT:B,DIRECTION_UP:W,DIRECTION_DOWN:U,DIRECTION_HORIZONTAL:X,DIRECTION_VERTICAL:q,DIRECTION_ALL:G,Manager:Wt,Input:Z,TouchAction:Ot,TouchInput:vt,MouseInput:at,PointerEventInput:pt,TouchMouseInput:Tt,SingleTouchInput:dt,Recognizer:Ct,AttrRecognizer:It,Tap:jt,Pan:Ht,Swipe:Yt,Pinch:Pt,Rotate:Ft,Press:zt,on:b,off:w,each:f,merge:m,extend:d,assign:o,inherit:g,bindFn:v,prefixed:M}),(void 0!==r?r:"undefined"!=typeof self?self:{}).Hammer=Bt,System.registerDynamic("npm:hammerjs/hammer.js",[],!1,function(t,e,n){return function(){return Bt}.call(this)})}(window,document),function(i){System.registerDynamic("npm:propagating-hammerjs/propagating.js",[],!1,function(t,e,n){return i.call(this)})}(function(){var l=null;return function i(r,t){var o=t||{preventDefault:!1};if(r.Manager){var s=r,e=function(t,e){var n=Object.create(o);return e&&s.assign(n,e),i(new s(t,n),n)};return s.assign(e,s),e.Manager=function(t,e){var n=Object.create(o);return e&&s.assign(n,e),i(new s.Manager(t,n),n)},e}var a=Object.create(r),e=r.element;function c(t){return t.match(/[^ ]+/g)}function u(t){if("hammer.input"!==t.type){if(t.srcEvent._handled||(t.srcEvent._handled={}),t.srcEvent._handled[t.type])return;t.srcEvent._handled[t.type]=!0}var e=!1;t.stopPropagation=function(){e=!0};var n=t.srcEvent.stopPropagation.bind(t.srcEvent);"function"==typeof n&&(t.srcEvent.stopPropagation=function(){n(),t.stopPropagation()});for(var i=t.firstTarget=l;i&&!e;){var r=i.hammer;if(r)for(var o,s=0;s<r.length;s++)if(o=r[s]._handlers[t.type])for(var a=0;a<o.length&&!e;a++)o[a](t);i=i.parentNode}}return e.hammer||(e.hammer=[]),e.hammer.push(a),r.on("hammer.input",function(t){!0!==o.preventDefault&&o.preventDefault!==t.pointerType||t.preventDefault(),t.isFirst&&(l=t.target)}),a._handlers={},a.on=function(t,n){return c(t).forEach(function(t){var e=a._handlers[t];e||(a._handlers[t]=e=[],r.on(t,u)),e.push(n)}),a},a.off=function(t,n){return c(t).forEach(function(t){var e=a._handlers[t];e&&(0<(e=n?e.filter(function(t){return t!==n}):[]).length?a._handlers[t]=e:(r.off(t,u),delete a._handlers[t]))}),a},a.emit=function(t,e){l=e.target,r.emit(t,e)},a.destroy=function(){var t=r.element.hammer,e=t.indexOf(a);-1!==e&&t.splice(e,1),t.length||delete r.element.hammer,a._handlers={},r.destroy()},a}}),System.registerDynamic("npm:tablesort/dist/tablesort.min.js",[],!0,function(t,e,n){var v;this||self;function i(t,e){if(!(this instanceof i))return new i(t,e);if(!t||"TABLE"!==t.tagName)throw new Error("Element must be a table");this.init(t,e||{})}function y(t){var e;return window.CustomEvent&&"function"==typeof window.CustomEvent?e=new CustomEvent(t):(e=document.createEvent("CustomEvent")).initCustomEvent(t,!1,!1,void 0),e}function T(t){return t.getAttribute("data-sort")||t.textContent||t.innerText||""}function b(t,e){return(t=t.trim().toLowerCase())===(e=e.trim().toLowerCase())?0:t<e?1:-1}function w(t,e){return[].slice.call(t).find(function(t){return t.getAttribute("data-sort-column-key")===e})}function E(i,r){return function(t,e){var n=i(t.td,e.td);return 0===n?r?e.index-t.index:t.index-e.index:n}}v=[],i.extend=function(t,e,n){if("function"!=typeof e||"function"!=typeof n)throw new Error("Pattern and sort must be a function");v.push({name:t,pattern:e,sort:n})},i.prototype={init:function(t,e){var n,i,r,o=this;if(o.table=t,o.thead=!1,o.options=e,t.rows&&0<t.rows.length)if(t.tHead&&0<t.tHead.rows.length){for(a=0;a<t.tHead.rows.length;a++)if("thead"===t.tHead.rows[a].getAttribute("data-sort-method")){n=t.tHead.rows[a];break}n=n||t.tHead.rows[t.tHead.rows.length-1],o.thead=!0}else n=t.rows[0];if(n){function s(){o.current&&o.current!==this&&o.current.removeAttribute("aria-sort"),o.current=this,o.sortTable(this)}for(var a=0;a<n.cells.length;a++)(r=n.cells[a]).setAttribute("role","columnheader"),"none"!==r.getAttribute("data-sort-method")&&(r.tabindex=0,r.addEventListener("click",s,!1),null!==r.getAttribute("data-sort-default")&&(i=r));i&&(o.current=i,o.sortTable(i))}},sortTable:function(t,e){var n=this,i=t.getAttribute("data-sort-column-key"),r=t.cellIndex,o=b,s="",a=[],c=n.thead?0:1,u=t.getAttribute("data-sort-method"),l=t.getAttribute("aria-sort");if(n.table.dispatchEvent(y("beforeSort")),e||(l="ascending"===l||"descending"!==l&&n.options.descending?"descending":"ascending",t.setAttribute("aria-sort",l)),!(n.table.rows.length<2)){if(!u){for(;a.length<3&&c<n.table.tBodies[0].rows.length;)0<(s=(s=(p=i?w(n.table.tBodies[0].rows[c].cells,i):n.table.tBodies[0].rows[c].cells[r])?T(p):"").trim()).length&&a.push(s),c++;if(!a)return}for(c=0;c<v.length;c++)if(s=v[c],u){if(s.name===u){o=s.sort;break}}else if(a.every(s.pattern)){o=s.sort;break}for(n.col=r,c=0;c<n.table.tBodies.length;c++){var h,p,f=[],d={},m=0,g=0;if(!(n.table.tBodies[c].rows.length<2)){for(h=0;h<n.table.tBodies[c].rows.length;h++){"none"===(s=n.table.tBodies[c].rows[h]).getAttribute("data-sort-method")?d[m]=s:(p=i?w(s.cells,i):s.cells[n.col],f.push({tr:s,td:p?T(p):"",index:m})),m++}for("descending"===l?f.sort(E(o,!0)):(f.sort(E(o,!1)),f.reverse()),h=0;h<m;h++)d[h]?(s=d[h],g++):s=f[h-g].tr,n.table.tBodies[c].appendChild(s)}}n.table.dispatchEvent(y("afterSort"))}},refresh:function(){void 0!==this.current&&this.sortTable(this.current,!0)}},void 0!==n&&n.exports?n.exports=i:window.Tablesort=i}),function(r){System.registerDynamic("npm:zenscroll/zenscroll.js",[],!1,function(t,e,n){var i=r();return"function"==typeof i?i.call(this):i})}(function(){"use strict";function m(t){return t&&"getComputedStyle"in window&&"smooth"===window.getComputedStyle(t)["scroll-behavior"]}if("undefined"==typeof window||!("document"in window))return{};function i(c,n,u){var e;function l(t){e=t}function h(){clearTimeout(e),l(0)}function p(t){return Math.max(0,c.getTopOf(t)-u)}function f(t,i,r){var o,s,a;h(),0===i||i&&i<0||m(c.body)?(c.toY(t),r&&r()):(o=c.getY(),s=Math.max(0,t)-o,a=(new Date).getTime(),i=i||Math.min(Math.abs(s),n),function n(){l(setTimeout(function(){var t=Math.min(1,((new Date).getTime()-a)/i),e=Math.max(0,Math.floor(o+s*(t<.5?2*t*t:t*(4-2*t)-1)));c.toY(e),t<1&&c.getHeight()+e<c.body.scrollHeight?n():(setTimeout(h,99),r&&r())},9))}())}function d(t,e,n){f(p(t),e,n)}return n=n||999,u||0===u||(u=9),{setup:function(t,e){return 0!==t&&!t||(n=t),0!==e&&!e||(u=e),{defaultDuration:n,edgeOffset:u}},to:d,toY:f,intoView:function(t,e,n){var i=t.getBoundingClientRect().height,r=c.getTopOf(t)+i,o=c.getHeight(),s=c.getY(),a=s+o;p(t)<s||o<i+u?d(t,e,n):a<r+u?f(r-o+u,e,n):n&&n()},center:function(t,e,n,i){f(Math.max(0,c.getTopOf(t)-c.getHeight()/2+(n||t.getBoundingClientRect().height/2)),e,i)},stop:h,moving:function(){return!!e},getY:c.getY,getTopOf:c.getTopOf}}function e(){return window.scrollY||r.scrollTop}var s,a,c,r=document.documentElement,u=i({body:document.scrollingElement||document.body,toY:function(t){window.scrollTo(0,t)},getY:e,getHeight:function(){return window.innerHeight||r.clientHeight},getTopOf:function(t){return t.getBoundingClientRect().top+e()-r.offsetTop}});return u.createScroller=function(e,t,n){return i({body:e,toY:function(t){e.scrollTop=t},getY:function(){return e.scrollTop},getHeight:function(){return Math.min(e.clientHeight,window.innerHeight||r.clientHeight)},getTopOf:function(t){return t.offsetTop}},t,n)},"addEventListener"in window&&!window.noZensmooth&&!m(document.body)&&(s="history"in window&&"pushState"in history,(a=s&&"scrollRestoration"in history)&&(history.scrollRestoration="auto"),window.addEventListener("load",function(){a&&(setTimeout(function(){history.scrollRestoration="manual"},9),window.addEventListener("popstate",function(t){t.state&&"zenscrollY"in t.state&&u.toY(t.state.zenscrollY)},!1)),window.location.hash&&setTimeout(function(){var t,e=u.setup().edgeOffset;!e||(t=document.getElementById(window.location.href.split("#")[1]))&&(t=Math.max(0,u.getTopOf(t)-e),0<=(e=u.getY()-t)&&e<9&&window.scrollTo(0,t))},9)},!1),c=new RegExp("(^|\\s)noZensmooth(\\s|$)"),window.addEventListener("click",function(t){for(var e=t.target;e&&"A"!==e.tagName;)e=e.parentNode;if(!(!e||1!==t.which||t.shiftKey||t.metaKey||t.ctrlKey||t.altKey)){if(a){var n=history.state&&"object"==typeof history.state?history.state:{};n.zenscrollY=u.getY();try{history.replaceState(n,"")}catch(t){}}var i=e.getAttribute("href")||"";if(0===i.indexOf("#")&&!c.test(e.className)){var r=0,o=document.getElementById(i.substring(1));if("#"!==i){if(!o)return;r=u.getTopOf(o)}t.preventDefault();o=function(){window.location=i},t=u.setup().edgeOffset;t&&(r=Math.max(0,r-t),s&&(o=function(){history.pushState({},"",i)})),u.toY(r,null,o)}}},!1)),u});