define("_commonjsHelpers-DA3mUP_w.js",["exports"],(function(t){"use strict";t.getDefaultExportFromCjs=function(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}})),define("npm:navigo/lib/navigo.js",["_commonjsHelpers-DA3mUP_w.js"],(function(t){"use strict";var e,n={exports:{}};var r,o=(e||(e=1,"undefined"!=typeof self&&self,r=function(){return function(){var t={"./src/Q.ts":function(t,e,n){function r(t,e,n){var r=e||{},o=0;!function e(){t[o]?Array.isArray(t[o])?(t.splice.apply(t,[o,1].concat(t[o][0](r)?t[o][1]:t[o][2])),e()):t[o](r,(function(t){void 0===t||!0===t?(o+=1,e()):n&&n(r)})):n&&n(r)}()}n.r(e),n.d(e,{default:function(){return r}}),r.if=function(t,e,n){return Array.isArray(e)||(e=[e]),Array.isArray(n)||(n=[n]),[t,e,n]}},"./src/constants.ts":function(t,e,n){n.r(e),n.d(e,{PARAMETER_REGEXP:function(){return r},REPLACE_VARIABLE_REGEXP:function(){return o},WILDCARD_REGEXP:function(){return i},REPLACE_WILDCARD:function(){return a},NOT_SURE_REGEXP:function(){return s},REPLACE_NOT_SURE:function(){return c},START_BY_SLASH_REGEXP:function(){return u},MATCH_REGEXP_FLAGS:function(){return l}});var r=/([:*])(\w+)/g,o="([^/]+)",i=/\*/g,a="?(?:.*)",s=/\/\?/g,c="/?([^/]+|)",u="(?:/^|^)",l=""},"./src/index.ts":function(t,e,n){n.r(e),n.d(e,{default:function(){return m}});var r=n("./src/utils.ts"),o=n("./src/Q.ts"),i=n("./src/middlewares/setLocationPath.ts"),a=n("./src/middlewares/matchPathToRegisteredRoutes.ts"),s=n("./src/middlewares/checkForDeprecationMethods.ts"),c=n("./src/middlewares/checkForForceOp.ts"),u=n("./src/middlewares/updateBrowserURL.ts"),l=n("./src/middlewares/processMatches.ts"),f=n("./src/middlewares/waitingList.ts"),d=n("./src/lifecycles.ts");function p(){return p=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},p.apply(this,arguments)}var h="[data-navigo]";function m(t,e){var n,m=e||{strategy:"ONE",hash:!1,noMatchWarning:!1,linksSelector:h},g=this,v="/",y=null,E=[],w=!1,T=(0,r.pushStateAvailable)(),_=(0,r.windowAvailable)();function A(t){return t.indexOf("#")>=0&&(t=!0===m.hash?t.split("#")[1]||"/":t.split("#")[0]),t}function b(t){return(0,r.clean)(v+"/"+(0,r.clean)(t))}function R(t,e,n,o){return t=(0,r.isString)(t)?b(t):t,{name:o||(0,r.clean)(String(t)),path:t,handler:e,hooks:(0,r.accumulateHooks)(n)}}function S(t,e){if(!g.__dirty){g.__dirty=!0,t=t?(0,r.clean)(v)+"/"+(0,r.clean)(t):void 0;var n={instance:g,to:t,currentLocationPath:t,navigateOptions:{},resolveOptions:p({},m,e)};return(0,o.default)([i.default,a.default,o.default.if((function(t){var e=t.matches;return e&&e.length>0}),l.default,d.notFoundLifeCycle)],n,f.default),!!n.matches&&n.matches}g.__waiting.push((function(){return g.resolve(t,e)}))}function O(t,e){if(g.__dirty)g.__waiting.push((function(){return g.navigate(t,e)}));else{g.__dirty=!0,t=(0,r.clean)(v)+"/"+(0,r.clean)(t);var n={instance:g,to:t,navigateOptions:e||{},resolveOptions:e&&e.resolveOptions?e.resolveOptions:m,currentLocationPath:A(t)};(0,o.default)([s.default,c.default,a.default,o.default.if((function(t){var e=t.matches;return e&&e.length>0}),l.default,d.notFoundLifeCycle),u.default,f.default],n,f.default)}}function L(){if(_)return(_?[].slice.call(document.querySelectorAll(m.linksSelector||h)):[]).forEach((function(t){"false"!==t.getAttribute("data-navigo")&&"_blank"!==t.getAttribute("target")?t.hasListenerAttached||(t.hasListenerAttached=!0,t.navigoHandler=function(e){if((e.ctrlKey||e.metaKey)&&"a"===e.target.tagName.toLowerCase())return!1;var n=t.getAttribute("href");if(null==n)return!1;if(n.match(/^(http|https)/)&&"undefined"!=typeof URL)try{var o=new URL(n);n=o.pathname+o.search}catch(t){}var i=(0,r.parseNavigateOptions)(t.getAttribute("data-navigo-options"));w||(e.preventDefault(),e.stopPropagation(),g.navigate((0,r.clean)(n),i))},t.addEventListener("click",t.navigoHandler)):t.hasListenerAttached&&t.removeEventListener("click",t.navigoHandler)})),g}function k(t,e,n){var r=E.find((function(e){return e.name===t})),o=null;if(r){if(o=r.path,e)for(var i in e)o=o.replace(":"+i,e[i]);o=o.match(/^\//)?o:"/"+o}return o&&n&&!n.includeRoot&&(o=o.replace(new RegExp("^/"+v),"")),o}function N(t){var e=(0,r.extractGETParameters)((0,r.clean)(t)),o=e[0],i=e[1],a=""===i?null:(0,r.parseQuery)(i);return{url:o,queryString:i,hashString:(0,r.extractHashFromURL)(t),route:R(o,(function(){}),[n],o),data:null,params:a}}function x(t,e,n){return"string"==typeof e&&(e=C(e)),e?(e.hooks[t]||(e.hooks[t]=[]),e.hooks[t].push(n),function(){e.hooks[t]=e.hooks[t].filter((function(t){return t!==n}))}):(console.warn("Route doesn't exists: "+e),function(){})}function C(t){return"string"==typeof t?E.find((function(e){return e.name===b(t)})):E.find((function(e){return e.handler===t}))}t?v=(0,r.clean)(t):console.warn('Navigo requires a root path in its constructor. If not provided will use "/" as default.'),this.root=v,this.routes=E,this.destroyed=w,this.current=y,this.__freezeListening=!1,this.__waiting=[],this.__dirty=!1,this.__markAsClean=function(t){t.instance.__dirty=!1,t.instance.__waiting.length>0&&t.instance.__waiting.shift()()},this.on=function(t,e,r){var o=this;return"object"!=typeof t||t instanceof RegExp?("function"==typeof t&&(r=e,e=t,t=v),E.push(R(t,e,[n,r])),this):(Object.keys(t).forEach((function(e){if("function"==typeof t[e])o.on(e,t[e]);else{var r=t[e],i=r.uses,a=r.as,s=r.hooks;E.push(R(e,i,[n,s],a))}})),this)},this.off=function(t){return this.routes=E=E.filter((function(e){return(0,r.isString)(t)?(0,r.clean)(e.path)!==(0,r.clean)(t):(0,r.isFunction)(t)?t!==e.handler:String(e.path)!==String(t)})),this},this.resolve=S,this.navigate=O,this.navigateByName=function(t,e,n){var r=k(t,e);return null!==r&&(O(r.replace(new RegExp("^/?"+v),""),n),!0)},this.destroy=function(){this.routes=E=[],T&&window.removeEventListener("popstate",this.__popstateListener),this.destroyed=w=!0},this.notFound=function(t,e){return g._notFoundRoute=R("*",t,[n,e],"__NOT_FOUND__"),this},this.updatePageLinks=L,this.link=function(t){return"/"+v+"/"+(0,r.clean)(t)},this.hooks=function(t){return n=t,this},this.extractGETParameters=function(t){return(0,r.extractGETParameters)(A(t))},this.lastResolved=function(){return y},this.generate=k,this.getLinkPath=function(t){return t.getAttribute("href")},this.match=function(t){var e={instance:g,currentLocationPath:t,to:t,navigateOptions:{},resolveOptions:m};return(0,a.default)(e,(function(){})),!!e.matches&&e.matches},this.matchLocation=function(t,e,n){void 0===e||void 0!==n&&!n||(e=b(e));var o={instance:g,to:e,currentLocationPath:e};(0,i.default)(o,(function(){})),"string"==typeof t&&(t=void 0===n||n?b(t):t);var a=(0,r.matchRoute)(o,{name:String(t),path:t,handler:function(){},hooks:{}});return a||!1},this.getCurrentLocation=function(){return N((0,r.clean)((0,r.getCurrentEnvURL)(v)).replace(new RegExp("^"+v),""))},this.addBeforeHook=x.bind(this,"before"),this.addAfterHook=x.bind(this,"after"),this.addAlreadyHook=x.bind(this,"already"),this.addLeaveHook=x.bind(this,"leave"),this.getRoute=C,this._pathToMatchObject=N,this._clean=r.clean,this._checkForAHash=A,this._setCurrent=function(t){return y=g.current=t},function(){T&&(this.__popstateListener=function(){g.__freezeListening||S()},window.addEventListener("popstate",this.__popstateListener))}.call(this),L.call(this)}},"./src/lifecycles.ts":function(t,e,n){n.r(e),n.d(e,{foundLifecycle:function(){return p},notFoundLifeCycle:function(){return h}});var r=n("./src/Q.ts"),o=n("./src/middlewares/checkForLeaveHook.ts"),i=n("./src/middlewares/checkForBeforeHook.ts"),a=n("./src/middlewares/callHandler.ts"),s=n("./src/middlewares/checkForAfterHook.ts"),c=n("./src/middlewares/checkForAlreadyHook.ts"),u=n("./src/middlewares/checkForNotFoundHandler.ts"),l=n("./src/middlewares/errorOut.ts"),f=n("./src/middlewares/flushCurrent.ts"),d=n("./src/middlewares/updateState.ts"),p=[c.default,i.default,a.default,s.default],h=[o.default,u.default,r.default.if((function(t){return t.notFoundHandled}),p.concat([d.default]),[l.default,f.default])]},"./src/middlewares/callHandler.ts":function(t,e,n){n.r(e),n.d(e,{default:function(){return o}});var r=n("./src/utils.ts");function o(t,e){(0,r.undefinedOrTrue)(t.navigateOptions,"callHandler")&&t.match.route.handler(t.match),t.instance.updatePageLinks(),e()}},"./src/middlewares/checkForAfterHook.ts":function(t,e,n){n.r(e),n.d(e,{default:function(){return o}});var r=n("./src/utils.ts");function o(t,e){t.match.route.hooks&&t.match.route.hooks.after&&(0,r.undefinedOrTrue)(t.navigateOptions,"callHooks")&&t.match.route.hooks.after.forEach((function(e){return e(t.match)})),e()}},"./src/middlewares/checkForAlreadyHook.ts":function(t,e,n){n.r(e),n.d(e,{default:function(){return o}});var r=n("./src/utils.ts");function o(t,e){var n=t.instance.lastResolved();if(n&&n[0]&&n[0].route===t.match.route&&n[0].url===t.match.url&&n[0].queryString===t.match.queryString)return n.forEach((function(e){e.route.hooks&&e.route.hooks.already&&(0,r.undefinedOrTrue)(t.navigateOptions,"callHooks")&&e.route.hooks.already.forEach((function(e){return e(t.match)}))})),void e(!1);e()}},"./src/middlewares/checkForBeforeHook.ts":function(t,e,n){n.r(e),n.d(e,{default:function(){return i}});var r=n("./src/Q.ts"),o=n("./src/utils.ts");function i(t,e){t.match.route.hooks&&t.match.route.hooks.before&&(0,o.undefinedOrTrue)(t.navigateOptions,"callHooks")?(0,r.default)(t.match.route.hooks.before.map((function(e){return function(n,r){return e((function(e){!1===e?t.instance.__markAsClean(t):r()}),t.match)}})).concat([function(){return e()}])):e()}},"./src/middlewares/checkForDeprecationMethods.ts":function(t,e,n){function r(t,e){t.navigateOptions&&(void 0!==t.navigateOptions.shouldResolve&&console.warn('"shouldResolve" is deprecated. Please check the documentation.'),void 0!==t.navigateOptions.silent&&console.warn('"silent" is deprecated. Please check the documentation.')),e()}n.r(e),n.d(e,{default:function(){return r}})},"./src/middlewares/checkForForceOp.ts":function(t,e,n){function r(t,e){!0===t.navigateOptions.force?(t.instance._setCurrent([t.instance._pathToMatchObject(t.to)]),e(!1)):e()}n.r(e),n.d(e,{default:function(){return r}})},"./src/middlewares/checkForLeaveHook.ts":function(t,e,n){n.r(e),n.d(e,{default:function(){return i}});var r=n("./src/Q.ts"),o=n("./src/utils.ts");function i(t,e){var n=t.instance;n.lastResolved()?(0,r.default)(n.lastResolved().map((function(e){return function(n,i){if(e.route.hooks&&e.route.hooks.leave){var a=!1,s=t.instance.matchLocation(e.route.path,t.currentLocationPath,!1);a="*"!==e.route.path?!s:!(t.matches&&t.matches.find((function(t){return e.route.path===t.route.path}))),(0,o.undefinedOrTrue)(t.navigateOptions,"callHooks")&&a?(0,r.default)(e.route.hooks.leave.map((function(e){return function(n,r){return e((function(e){!1===e?t.instance.__markAsClean(t):r()}),t.matches&&t.matches.length>0?1===t.matches.length?t.matches[0]:t.matches:void 0)}})).concat([function(){return i()}])):i()}else i()}})),{},(function(){return e()})):e()}},"./src/middlewares/checkForNotFoundHandler.ts":function(t,e,n){n.r(e),n.d(e,{default:function(){return o}});var r=n("./src/utils.ts");function o(t,e){var n=t.instance._notFoundRoute;if(n){t.notFoundHandled=!0;var o=(0,r.extractGETParameters)(t.currentLocationPath),i=o[0],a=o[1],s=(0,r.extractHashFromURL)(t.to);n.path=(0,r.clean)(i);var c={url:n.path,queryString:a,hashString:s,data:null,route:n,params:""!==a?(0,r.parseQuery)(a):null};t.matches=[c],t.match=c}e()}},"./src/middlewares/errorOut.ts":function(t,e,n){function r(t,e){t.resolveOptions&&!1!==t.resolveOptions.noMatchWarning&&void 0!==t.resolveOptions.noMatchWarning||console.warn('Navigo: "'+t.currentLocationPath+"\" didn't match any of the registered routes."),e()}n.r(e),n.d(e,{default:function(){return r}})},"./src/middlewares/flushCurrent.ts":function(t,e,n){function r(t,e){t.instance._setCurrent(null),e()}n.r(e),n.d(e,{default:function(){return r}})},"./src/middlewares/matchPathToRegisteredRoutes.ts":function(t,e,n){n.r(e),n.d(e,{default:function(){return o}});var r=n("./src/utils.ts");function o(t,e){for(var n=0;n<t.instance.routes.length;n++){var o=t.instance.routes[n],i=(0,r.matchRoute)(t,o);if(i&&(t.matches||(t.matches=[]),t.matches.push(i),"ONE"===t.resolveOptions.strategy))return void e()}e()}},"./src/middlewares/processMatches.ts":function(t,e,n){n.r(e),n.d(e,{default:function(){return c}});var r=n("./src/Q.ts"),o=n("./src/lifecycles.ts"),i=n("./src/middlewares/updateState.ts"),a=n("./src/middlewares/checkForLeaveHook.ts");function s(){return s=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},s.apply(this,arguments)}function c(t,e){var n=0;(0,a.default)(t,(function a(){n!==t.matches.length?(0,r.default)(o.foundLifecycle,s({},t,{match:t.matches[n]}),(function(){n+=1,a()})):(0,i.default)(t,e)}))}},"./src/middlewares/setLocationPath.ts":function(t,e,n){n.r(e),n.d(e,{default:function(){return o}});var r=n("./src/utils.ts");function o(t,e){void 0===t.currentLocationPath&&(t.currentLocationPath=t.to=(0,r.getCurrentEnvURL)(t.instance.root)),t.currentLocationPath=t.instance._checkForAHash(t.currentLocationPath),e()}},"./src/middlewares/updateBrowserURL.ts":function(t,e,n){n.r(e),n.d(e,{default:function(){return a}});var r=n("./src/utils.ts"),o=(0,r.windowAvailable)(),i=(0,r.pushStateAvailable)();function a(t,e){if((0,r.undefinedOrTrue)(t.navigateOptions,"updateBrowserURL")){var n=("/"+t.to).replace(/\/\//g,"/"),a=o&&t.resolveOptions&&!0===t.resolveOptions.hash;i?(history[t.navigateOptions.historyAPIMethod||"pushState"](t.navigateOptions.stateObj||{},t.navigateOptions.title||"",a?"#"+n:n),location&&location.hash&&(t.instance.__freezeListening=!0,setTimeout((function(){if(!a){var e=location.hash;location.hash="",location.hash=e}t.instance.__freezeListening=!1}),1))):o&&(window.location.href=t.to)}e()}},"./src/middlewares/updateState.ts":function(t,e,n){n.r(e),n.d(e,{default:function(){return o}});var r=n("./src/utils.ts");function o(t,e){(0,r.undefinedOrTrue)(t.navigateOptions,"updateState")&&t.instance._setCurrent(t.matches),e()}},"./src/middlewares/waitingList.ts":function(t,e,n){function r(t){t.instance.__markAsClean(t)}n.r(e),n.d(e,{default:function(){return r}})},"./src/utils.ts":function(t,e,n){n.r(e),n.d(e,{getCurrentEnvURL:function(){return o},clean:function(){return i},isString:function(){return a},isFunction:function(){return s},extractHashFromURL:function(){return c},regExpResultToParams:function(){return u},extractGETParameters:function(){return l},parseQuery:function(){return f},matchRoute:function(){return d},pushStateAvailable:function(){return p},undefinedOrTrue:function(){return h},parseNavigateOptions:function(){return m},windowAvailable:function(){return g},accumulateHooks:function(){return v}});var r=n("./src/constants.ts");function o(t){return void 0===t&&(t="/"),g()?location.pathname+location.search+location.hash:t}function i(t){return t.replace(/\/+$/,"").replace(/^\/+/,"")}function a(t){return"string"==typeof t}function s(t){return"function"==typeof t}function c(t){return t&&t.indexOf("#")>=0&&t.split("#").pop()||""}function u(t,e){return 0===e.length?null:t?t.slice(1,t.length).reduce((function(t,n,r){return null===t&&(t={}),t[e[r]]=decodeURIComponent(n),t}),null):null}function l(t){var e=i(t).split(/\?(.*)?$/);return[i(e[0]),e.slice(1).join("")]}function f(t){for(var e={},n=t.split("&"),r=0;r<n.length;r++){var o=n[r].split("=");if(""!==o[0]){var i=decodeURIComponent(o[0]);e[i]?(Array.isArray(e[i])||(e[i]=[e[i]]),e[i].push(decodeURIComponent(o[1]||""))):e[i]=decodeURIComponent(o[1]||"")}}return e}function d(t,e){var n,o=l(i(t.currentLocationPath)),s=o[0],d=o[1],p=""===d?null:f(d),h=[];if(a(e.path)){if(n=r.START_BY_SLASH_REGEXP+i(e.path).replace(r.PARAMETER_REGEXP,(function(t,e,n){return h.push(n),r.REPLACE_VARIABLE_REGEXP})).replace(r.WILDCARD_REGEXP,r.REPLACE_WILDCARD).replace(r.NOT_SURE_REGEXP,r.REPLACE_NOT_SURE)+"$",""===i(e.path)&&""===i(s))return{url:s,queryString:d,hashString:c(t.to),route:e,data:null,params:p}}else n=e.path;var m=new RegExp(n,r.MATCH_REGEXP_FLAGS),g=s.match(m);if(g){var v=a(e.path)?u(g,h):g.groups?g.groups:g.slice(1);return{url:i(s.replace(new RegExp("^"+t.instance.root),"")),queryString:d,hashString:c(t.to),route:e,data:v,params:p}}return!1}function p(){return!("undefined"==typeof window||!window.history||!window.history.pushState)}function h(t,e){return void 0===t[e]||!0===t[e]}function m(t){if(!t)return{};var e,n=t.split(","),r={};return n.forEach((function(t){var n=t.split(":").map((function(t){return t.replace(/(^ +| +$)/g,"")}));switch(n[0]){case"historyAPIMethod":r.historyAPIMethod=n[1];break;case"resolveOptionsStrategy":e||(e={}),e.strategy=n[1];break;case"resolveOptionsHash":e||(e={}),e.hash="true"===n[1];break;case"updateBrowserURL":case"callHandler":case"updateState":case"force":r[n[0]]="true"===n[1]}})),e&&(r.resolveOptions=e),r}function g(){return"undefined"!=typeof window}function v(t,e){return void 0===t&&(t=[]),void 0===e&&(e={}),t.filter((function(t){return t})).forEach((function(t){["before","after","already","leave"].forEach((function(n){t[n]&&(e[n]||(e[n]=[]),e[n].push(t[n]))}))})),e}}},e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={exports:{}};return t[r](o,o.exports,n),o.exports}return n.d=function(t,e){for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n("./src/index.ts")}().default},n.exports=r()),n.exports);return t.getDefaultExportFromCjs(o)})),define("npm:dompurify/dist/purify.js",["_commonjsHelpers-DA3mUP_w.js"],(function(t){"use strict";var e,n={exports:{}};var r=(e||(e=1,n.exports=function(){const{entries:t,setPrototypeOf:e,isFrozen:n,getPrototypeOf:r,getOwnPropertyDescriptor:o}=Object;let{freeze:i,seal:a,create:s}=Object,{apply:c,construct:u}="undefined"!=typeof Reflect&&Reflect;i||(i=function(t){return t}),a||(a=function(t){return t}),c||(c=function(t,e,n){return t.apply(e,n)}),u||(u=function(t,e){return new t(...e)});const l=b(Array.prototype.forEach),f=b(Array.prototype.lastIndexOf),d=b(Array.prototype.pop),p=b(Array.prototype.push),h=b(Array.prototype.splice),m=b(String.prototype.toLowerCase),g=b(String.prototype.toString),v=b(String.prototype.match),y=b(String.prototype.replace),E=b(String.prototype.indexOf),w=b(String.prototype.trim),T=b(Object.prototype.hasOwnProperty),_=b(RegExp.prototype.test),A=R(TypeError);function b(t){return function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return c(t,e,r)}}function R(t){return function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return u(t,n)}}function S(t,r){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:m;e&&e(t,null);let i=r.length;for(;i--;){let e=r[i];if("string"==typeof e){const t=o(e);t!==e&&(n(r)||(r[i]=t),e=t)}t[e]=!0}return t}function O(t){for(let e=0;e<t.length;e++)T(t,e)||(t[e]=null);return t}function L(e){const n=s(null);for(const[r,o]of t(e))T(e,r)&&(Array.isArray(o)?n[r]=O(o):o&&"object"==typeof o&&o.constructor===Object?n[r]=L(o):n[r]=o);return n}function k(t,e){for(;null!==t;){const n=o(t,e);if(n){if(n.get)return b(n.get);if("function"==typeof n.value)return b(n.value)}t=r(t)}function n(){return null}return n}const N=i(["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","dialog","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"]),x=i(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","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","view","vkern"]),C=i(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),D=i(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),P=i(["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","mprescripts"]),M=i(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),H=i(["#text"]),I=i(["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","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","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","wrap","xmlns","slot"]),F=i(["accent-height","accumulate","additive","alignment-baseline","amplitude","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","exponent","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","intercept","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","slope","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","tablevalues","targetx","targety","transform","transform-origin","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"]),U=i(["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"]),z=i(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),B=a(/\{\{[\w\W]*|[\w\W]*\}\}/gm),j=a(/<%[\w\W]*|[\w\W]*%>/gm),G=a(/\$\{[\w\W]*/gm),Y=a(/^data-[\-\w.\u00B7-\uFFFF]+$/),W=a(/^aria-[\-\w]+$/),X=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),q=a(/^(?:\w+script|data):/i),K=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),$=a(/^html$/i),Q=a(/^[a-z][.\w]*(-[.\w]+)+$/i);var V=Object.freeze({__proto__:null,ARIA_ATTR:W,ATTR_WHITESPACE:K,CUSTOM_ELEMENT:Q,DATA_ATTR:Y,DOCTYPE_NAME:$,ERB_EXPR:j,IS_ALLOWED_URI:X,IS_SCRIPT_OR_DATA:q,MUSTACHE_EXPR:B,TMPLIT_EXPR:G});const Z={element:1,text:3,progressingInstruction:7,comment:8,document:9},J=function(){return"undefined"==typeof window?null:window},tt=function(t,e){if("object"!=typeof t||"function"!=typeof t.createPolicy)return null;let n=null;const r="data-tt-policy-suffix";e&&e.hasAttribute(r)&&(n=e.getAttribute(r));const o="dompurify"+(n?"#"+n:"");try{return t.createPolicy(o,{createHTML:t=>t,createScriptURL:t=>t})}catch(t){return console.warn("TrustedTypes policy "+o+" could not be created."),null}},et=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function nt(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:J();const n=t=>nt(t);if(n.version="3.2.4",n.removed=[],!e||!e.document||e.document.nodeType!==Z.document||!e.Element)return n.isSupported=!1,n;let{document:r}=e;const o=r,a=o.currentScript,{DocumentFragment:c,HTMLTemplateElement:u,Node:b,Element:R,NodeFilter:O,NamedNodeMap:B=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:j,DOMParser:G,trustedTypes:Y}=e,W=R.prototype,q=k(W,"cloneNode"),K=k(W,"remove"),Q=k(W,"nextSibling"),rt=k(W,"childNodes"),ot=k(W,"parentNode");if("function"==typeof u){const t=r.createElement("template");t.content&&t.content.ownerDocument&&(r=t.content.ownerDocument)}let it,at="";const{implementation:st,createNodeIterator:ct,createDocumentFragment:ut,getElementsByTagName:lt}=r,{importNode:ft}=o;let dt=et();n.isSupported="function"==typeof t&&"function"==typeof ot&&st&&void 0!==st.createHTMLDocument;const{MUSTACHE_EXPR:pt,ERB_EXPR:ht,TMPLIT_EXPR:mt,DATA_ATTR:gt,ARIA_ATTR:vt,IS_SCRIPT_OR_DATA:yt,ATTR_WHITESPACE:Et,CUSTOM_ELEMENT:wt}=V;let{IS_ALLOWED_URI:Tt}=V,_t=null;const At=S({},[...N,...x,...C,...P,...H]);let bt=null;const Rt=S({},[...I,...F,...U,...z]);let St=Object.seal(s(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Ot=null,Lt=null,kt=!0,Nt=!0,xt=!1,Ct=!0,Dt=!1,Pt=!0,Mt=!1,Ht=!1,It=!1,Ft=!1,Ut=!1,zt=!1,Bt=!0,jt=!1;const Gt="user-content-";let Yt=!0,Wt=!1,Xt={},qt=null;const Kt=S({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let $t=null;const Qt=S({},["audio","video","img","source","image","track"]);let Vt=null;const Zt=S({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Jt="http://www.w3.org/1998/Math/MathML",te="http://www.w3.org/2000/svg",ee="http://www.w3.org/1999/xhtml";let ne=ee,re=!1,oe=null;const ie=S({},[Jt,te,ee],g);let ae=S({},["mi","mo","mn","ms","mtext"]),se=S({},["annotation-xml"]);const ce=S({},["title","style","font","a","script"]);let ue=null;const le=["application/xhtml+xml","text/html"],fe="text/html";let de=null,pe=null;const he=r.createElement("form"),me=function(t){return t instanceof RegExp||t instanceof Function},ge=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!pe||pe!==t){if(t&&"object"==typeof t||(t={}),t=L(t),ue=-1===le.indexOf(t.PARSER_MEDIA_TYPE)?fe:t.PARSER_MEDIA_TYPE,de="application/xhtml+xml"===ue?g:m,_t=T(t,"ALLOWED_TAGS")?S({},t.ALLOWED_TAGS,de):At,bt=T(t,"ALLOWED_ATTR")?S({},t.ALLOWED_ATTR,de):Rt,oe=T(t,"ALLOWED_NAMESPACES")?S({},t.ALLOWED_NAMESPACES,g):ie,Vt=T(t,"ADD_URI_SAFE_ATTR")?S(L(Zt),t.ADD_URI_SAFE_ATTR,de):Zt,$t=T(t,"ADD_DATA_URI_TAGS")?S(L(Qt),t.ADD_DATA_URI_TAGS,de):Qt,qt=T(t,"FORBID_CONTENTS")?S({},t.FORBID_CONTENTS,de):Kt,Ot=T(t,"FORBID_TAGS")?S({},t.FORBID_TAGS,de):{},Lt=T(t,"FORBID_ATTR")?S({},t.FORBID_ATTR,de):{},Xt=!!T(t,"USE_PROFILES")&&t.USE_PROFILES,kt=!1!==t.ALLOW_ARIA_ATTR,Nt=!1!==t.ALLOW_DATA_ATTR,xt=t.ALLOW_UNKNOWN_PROTOCOLS||!1,Ct=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,Dt=t.SAFE_FOR_TEMPLATES||!1,Pt=!1!==t.SAFE_FOR_XML,Mt=t.WHOLE_DOCUMENT||!1,Ft=t.RETURN_DOM||!1,Ut=t.RETURN_DOM_FRAGMENT||!1,zt=t.RETURN_TRUSTED_TYPE||!1,It=t.FORCE_BODY||!1,Bt=!1!==t.SANITIZE_DOM,jt=t.SANITIZE_NAMED_PROPS||!1,Yt=!1!==t.KEEP_CONTENT,Wt=t.IN_PLACE||!1,Tt=t.ALLOWED_URI_REGEXP||X,ne=t.NAMESPACE||ee,ae=t.MATHML_TEXT_INTEGRATION_POINTS||ae,se=t.HTML_INTEGRATION_POINTS||se,St=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&&me(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(St.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&me(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(St.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(St.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Dt&&(Nt=!1),Ut&&(Ft=!0),Xt&&(_t=S({},H),bt=[],!0===Xt.html&&(S(_t,N),S(bt,I)),!0===Xt.svg&&(S(_t,x),S(bt,F),S(bt,z)),!0===Xt.svgFilters&&(S(_t,C),S(bt,F),S(bt,z)),!0===Xt.mathMl&&(S(_t,P),S(bt,U),S(bt,z))),t.ADD_TAGS&&(_t===At&&(_t=L(_t)),S(_t,t.ADD_TAGS,de)),t.ADD_ATTR&&(bt===Rt&&(bt=L(bt)),S(bt,t.ADD_ATTR,de)),t.ADD_URI_SAFE_ATTR&&S(Vt,t.ADD_URI_SAFE_ATTR,de),t.FORBID_CONTENTS&&(qt===Kt&&(qt=L(qt)),S(qt,t.FORBID_CONTENTS,de)),Yt&&(_t["#text"]=!0),Mt&&S(_t,["html","head","body"]),_t.table&&(S(_t,["tbody"]),delete Ot.tbody),t.TRUSTED_TYPES_POLICY){if("function"!=typeof t.TRUSTED_TYPES_POLICY.createHTML)throw A('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof t.TRUSTED_TYPES_POLICY.createScriptURL)throw A('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');it=t.TRUSTED_TYPES_POLICY,at=it.createHTML("")}else void 0===it&&(it=tt(Y,a)),null!==it&&"string"==typeof at&&(at=it.createHTML(""));i&&i(t),pe=t}},ve=S({},[...x,...C,...D]),ye=S({},[...P,...M]),Ee=function(t){let e=ot(t);e&&e.tagName||(e={namespaceURI:ne,tagName:"template"});const n=m(t.tagName),r=m(e.tagName);return!!oe[t.namespaceURI]&&(t.namespaceURI===te?e.namespaceURI===ee?"svg"===n:e.namespaceURI===Jt?"svg"===n&&("annotation-xml"===r||ae[r]):Boolean(ve[n]):t.namespaceURI===Jt?e.namespaceURI===ee?"math"===n:e.namespaceURI===te?"math"===n&&se[r]:Boolean(ye[n]):t.namespaceURI===ee?!(e.namespaceURI===te&&!se[r])&&!(e.namespaceURI===Jt&&!ae[r])&&!ye[n]&&(ce[n]||!ve[n]):!("application/xhtml+xml"!==ue||!oe[t.namespaceURI]))},we=function(t){p(n.removed,{element:t});try{ot(t).removeChild(t)}catch(e){K(t)}},Te=function(t,e){try{p(n.removed,{attribute:e.getAttributeNode(t),from:e})}catch(t){p(n.removed,{attribute:null,from:e})}if(e.removeAttribute(t),"is"===t)if(Ft||Ut)try{we(e)}catch(t){}else try{e.setAttribute(t,"")}catch(t){}},_e=function(t){let e=null,n=null;if(It)t="<remove></remove>"+t;else{const e=v(t,/^[\r\n\t ]+/);n=e&&e[0]}"application/xhtml+xml"===ue&&ne===ee&&(t='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+t+"</body></html>");const o=it?it.createHTML(t):t;if(ne===ee)try{e=(new G).parseFromString(o,ue)}catch(t){}if(!e||!e.documentElement){e=st.createDocument(ne,"template",null);try{e.documentElement.innerHTML=re?at:o}catch(t){}}const i=e.body||e.documentElement;return t&&n&&i.insertBefore(r.createTextNode(n),i.childNodes[0]||null),ne===ee?lt.call(e,Mt?"html":"body")[0]:Mt?e.documentElement:i},Ae=function(t){return ct.call(t.ownerDocument||t,t,O.SHOW_ELEMENT|O.SHOW_COMMENT|O.SHOW_TEXT|O.SHOW_PROCESSING_INSTRUCTION|O.SHOW_CDATA_SECTION,null)},be=function(t){return t instanceof j&&("string"!=typeof t.nodeName||"string"!=typeof t.textContent||"function"!=typeof t.removeChild||!(t.attributes instanceof B)||"function"!=typeof t.removeAttribute||"function"!=typeof t.setAttribute||"string"!=typeof t.namespaceURI||"function"!=typeof t.insertBefore||"function"!=typeof t.hasChildNodes)},Re=function(t){return"function"==typeof b&&t instanceof b};function Se(t,e,r){l(t,(t=>{t.call(n,e,r,pe)}))}const Oe=function(t){let e=null;if(Se(dt.beforeSanitizeElements,t,null),be(t))return we(t),!0;const r=de(t.nodeName);if(Se(dt.uponSanitizeElement,t,{tagName:r,allowedTags:_t}),t.hasChildNodes()&&!Re(t.firstElementChild)&&_(/<[/\w]/g,t.innerHTML)&&_(/<[/\w]/g,t.textContent))return we(t),!0;if(t.nodeType===Z.progressingInstruction)return we(t),!0;if(Pt&&t.nodeType===Z.comment&&_(/<[/\w]/g,t.data))return we(t),!0;if(!_t[r]||Ot[r]){if(!Ot[r]&&ke(r)){if(St.tagNameCheck instanceof RegExp&&_(St.tagNameCheck,r))return!1;if(St.tagNameCheck instanceof Function&&St.tagNameCheck(r))return!1}if(Yt&&!qt[r]){const e=ot(t)||t.parentNode,n=rt(t)||t.childNodes;if(n&&e)for(let r=n.length-1;r>=0;--r){const o=q(n[r],!0);o.__removalCount=(t.__removalCount||0)+1,e.insertBefore(o,Q(t))}}return we(t),!0}return t instanceof R&&!Ee(t)?(we(t),!0):"noscript"!==r&&"noembed"!==r&&"noframes"!==r||!_(/<\/no(script|embed|frames)/i,t.innerHTML)?(Dt&&t.nodeType===Z.text&&(e=t.textContent,l([pt,ht,mt],(t=>{e=y(e,t," ")})),t.textContent!==e&&(p(n.removed,{element:t.cloneNode()}),t.textContent=e)),Se(dt.afterSanitizeElements,t,null),!1):(we(t),!0)},Le=function(t,e,n){if(Bt&&("id"===e||"name"===e)&&(n in r||n in he))return!1;if(Nt&&!Lt[e]&&_(gt,e));else if(kt&&_(vt,e));else if(!bt[e]||Lt[e]){if(!(ke(t)&&(St.tagNameCheck instanceof RegExp&&_(St.tagNameCheck,t)||St.tagNameCheck instanceof Function&&St.tagNameCheck(t))&&(St.attributeNameCheck instanceof RegExp&&_(St.attributeNameCheck,e)||St.attributeNameCheck instanceof Function&&St.attributeNameCheck(e))||"is"===e&&St.allowCustomizedBuiltInElements&&(St.tagNameCheck instanceof RegExp&&_(St.tagNameCheck,n)||St.tagNameCheck instanceof Function&&St.tagNameCheck(n))))return!1}else if(Vt[e]);else if(_(Tt,y(n,Et,"")));else if("src"!==e&&"xlink:href"!==e&&"href"!==e||"script"===t||0!==E(n,"data:")||!$t[t])if(xt&&!_(yt,y(n,Et,"")));else if(n)return!1;return!0},ke=function(t){return"annotation-xml"!==t&&v(t,wt)},Ne=function(t){Se(dt.beforeSanitizeAttributes,t,null);const{attributes:e}=t;if(!e||be(t))return;const r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:bt,forceKeepAttr:void 0};let o=e.length;for(;o--;){const i=e[o],{name:a,namespaceURI:s,value:c}=i,u=de(a);let f="value"===a?c:w(c);if(r.attrName=u,r.attrValue=f,r.keepAttr=!0,r.forceKeepAttr=void 0,Se(dt.uponSanitizeAttribute,t,r),f=r.attrValue,!jt||"id"!==u&&"name"!==u||(Te(a,t),f=Gt+f),Pt&&_(/((--!?|])>)|<\/(style|title)/i,f)){Te(a,t);continue}if(r.forceKeepAttr)continue;if(Te(a,t),!r.keepAttr)continue;if(!Ct&&_(/\/>/i,f)){Te(a,t);continue}Dt&&l([pt,ht,mt],(t=>{f=y(f,t," ")}));const p=de(t.nodeName);if(Le(p,u,f)){if(it&&"object"==typeof Y&&"function"==typeof Y.getAttributeType)if(s);else switch(Y.getAttributeType(p,u)){case"TrustedHTML":f=it.createHTML(f);break;case"TrustedScriptURL":f=it.createScriptURL(f)}try{s?t.setAttributeNS(s,a,f):t.setAttribute(a,f),be(t)?we(t):d(n.removed)}catch(t){}}}Se(dt.afterSanitizeAttributes,t,null)},xe=function t(e){let n=null;const r=Ae(e);for(Se(dt.beforeSanitizeShadowDOM,e,null);n=r.nextNode();)Se(dt.uponSanitizeShadowNode,n,null),Oe(n),Ne(n),n.content instanceof c&&t(n.content);Se(dt.afterSanitizeShadowDOM,e,null)};return n.sanitize=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null,i=null,a=null,s=null;if(re=!t,re&&(t="\x3c!--\x3e"),"string"!=typeof t&&!Re(t)){if("function"!=typeof t.toString)throw A("toString is not a function");if("string"!=typeof(t=t.toString()))throw A("dirty is not a string, aborting")}if(!n.isSupported)return t;if(Ht||ge(e),n.removed=[],"string"==typeof t&&(Wt=!1),Wt){if(t.nodeName){const e=de(t.nodeName);if(!_t[e]||Ot[e])throw A("root node is forbidden and cannot be sanitized in-place")}}else if(t instanceof b)r=_e("\x3c!----\x3e"),i=r.ownerDocument.importNode(t,!0),i.nodeType===Z.element&&"BODY"===i.nodeName||"HTML"===i.nodeName?r=i:r.appendChild(i);else{if(!Ft&&!Dt&&!Mt&&-1===t.indexOf("<"))return it&&zt?it.createHTML(t):t;if(r=_e(t),!r)return Ft?null:zt?at:""}r&&It&&we(r.firstChild);const u=Ae(Wt?t:r);for(;a=u.nextNode();)Oe(a),Ne(a),a.content instanceof c&&xe(a.content);if(Wt)return t;if(Ft){if(Ut)for(s=ut.call(r.ownerDocument);r.firstChild;)s.appendChild(r.firstChild);else s=r;return(bt.shadowroot||bt.shadowrootmode)&&(s=ft.call(o,s,!0)),s}let f=Mt?r.outerHTML:r.innerHTML;return Mt&&_t["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&_($,r.ownerDocument.doctype.name)&&(f="<!DOCTYPE "+r.ownerDocument.doctype.name+">\n"+f),Dt&&l([pt,ht,mt],(t=>{f=y(f,t," ")})),it&&zt?it.createHTML(f):f},n.setConfig=function(){ge(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Ht=!0},n.clearConfig=function(){pe=null,Ht=!1},n.isValidAttribute=function(t,e,n){pe||ge({});const r=de(t),o=de(e);return Le(r,o,n)},n.addHook=function(t,e){"function"==typeof e&&p(dt[t],e)},n.removeHook=function(t,e){if(void 0!==e){const n=f(dt[t],e);return-1===n?void 0:h(dt[t],n,1)[0]}return d(dt[t])},n.removeHooks=function(t){dt[t]=[]},n.removeAllHooks=function(){dt=et()},n}var rt=nt();return rt}()),n.exports);return t.getDefaultExportFromCjs(r)})),define("npm:zenscroll/zenscroll.js",["_commonjsHelpers-DA3mUP_w.js"],(function(t){"use strict";var e,n={exports:{}};var r,o,i,a=(e||(e=1,o=n.exports,i=function(){var t=function(t){return t&&"getComputedStyle"in window&&"smooth"===window.getComputedStyle(t)["scroll-behavior"]};if("undefined"==typeof window||!("document"in window))return{};var e=function(e,n,r){var o;n=n||999,r||0===r||(r=9);var i=function(t){o=t},a=function(){clearTimeout(o),i(0)},s=function(t){return Math.max(0,e.getTopOf(t)-r)},c=function(r,o,s){if(a(),0===o||o&&o<0||t(e.body))e.toY(r),s&&s();else{var c=e.getY(),u=Math.max(0,r)-c,l=(new Date).getTime();o=o||Math.min(Math.abs(u),n),function t(){i(setTimeout((function(){var n=Math.min(1,((new Date).getTime()-l)/o),r=Math.max(0,Math.floor(c+u*(n<.5?2*n*n:n*(4-2*n)-1)));e.toY(r),n<1&&e.getHeight()+r<e.body.scrollHeight?t():(setTimeout(a,99),s&&s())}),9))}()}},u=function(t,e,n){c(s(t),e,n)};return{setup:function(t,e){return(0===t||t)&&(n=t),(0===e||e)&&(r=e),{defaultDuration:n,edgeOffset:r}},to:u,toY:c,intoView:function(t,n,o){var i=t.getBoundingClientRect().height,a=e.getTopOf(t)+i,l=e.getHeight(),f=e.getY(),d=f+l;s(t)<f||i+r>l?u(t,n,o):a+r>d?c(a-l+r,n,o):o&&o()},center:function(t,n,r,o){c(Math.max(0,e.getTopOf(t)-e.getHeight()/2+(r||t.getBoundingClientRect().height/2)),n,o)},stop:a,moving:function(){return!!o},getY:e.getY,getTopOf:e.getTopOf}},n=document.documentElement,r=function(){return window.scrollY||n.scrollTop},o=e({body:document.scrollingElement||document.body,toY:function(t){window.scrollTo(0,t)},getY:r,getHeight:function(){return window.innerHeight||n.clientHeight},getTopOf:function(t){return t.getBoundingClientRect().top+r()-n.offsetTop}});if(o.createScroller=function(t,r,o){return e({body:t,toY:function(e){t.scrollTop=e},getY:function(){return t.scrollTop},getHeight:function(){return Math.min(t.clientHeight,window.innerHeight||n.clientHeight)},getTopOf:function(t){return t.offsetTop}},r,o)},"addEventListener"in window&&!window.noZensmooth&&!t(document.body)){var i="history"in window&&"pushState"in history,a=i&&"scrollRestoration"in history;a&&(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&&o.toY(t.state.zenscrollY)}),!1)),window.location.hash&&setTimeout((function(){var t=o.setup().edgeOffset;if(t){var e=document.getElementById(window.location.href.split("#")[1]);if(e){var n=Math.max(0,o.getTopOf(e)-t),r=o.getY()-n;0<=r&&r<9&&window.scrollTo(0,n)}}}),9)}),!1);var s=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=o.getY();try{history.replaceState(n,"")}catch(t){}}var r=e.getAttribute("href")||"";if(0===r.indexOf("#")&&!s.test(e.className)){var c=0,u=document.getElementById(r.substring(1));if("#"!==r){if(!u)return;c=o.getTopOf(u)}t.preventDefault();var l=function(){window.location=r},f=o.setup().edgeOffset;f&&(c=Math.max(0,c-f),i&&(l=function(){history.pushState({},"",r)})),o.toY(c,null,l)}}}),!1)}return o},(r=n).exports?r.exports=i():function t(){document&&document.body?o.zenscroll=i():setTimeout(t,9)}()),n.exports);return t.getDefaultExportFromCjs(a)})),define("npm:tablesort/dist/tablesort.min.js",["_commonjsHelpers-DA3mUP_w.js"],(function(t){"use strict";var e,n={exports:{}};var r,o=(e||(e=1,r=n,function(){function t(e,n){if(!(this instanceof t))return new t(e,n);if(!e||"TABLE"!==e.tagName)throw new Error("Element must be a table");this.init(e,n||{})}function e(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 n(t,e){return t.getAttribute(e.sortAttribute||"data-sort")||t.textContent||t.innerText||""}function o(t,e){return(t=t.trim().toLowerCase())===(e=e.trim().toLowerCase())?0:t<e?1:-1}function i(t,e){return[].slice.call(t).find((function(t){return t.getAttribute("data-sort-column-key")===e}))}function a(t,e){return function(n,r){var o=t(n.td,r.td);return 0===o?e?r.index-n.index:n.index-r.index:o}}var s=[];t.extend=function(t,e,n){if("function"!=typeof e||"function"!=typeof n)throw new Error("Pattern and sort must be a function");s.push({name:t,pattern:e,sort:n})},t.prototype={init:function(t,e){var n,r,o,i=this;if(i.table=t,i.thead=!1,i.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],i.thead=!0}else n=t.rows[0];if(n){function s(){i.current&&i.current!==this&&i.current.removeAttribute("aria-sort"),i.current=this,i.sortTable(this)}for(var a=0;a<n.cells.length;a++)(o=n.cells[a]).setAttribute("role","columnheader"),"none"!==o.getAttribute("data-sort-method")&&(o.tabindex=0,o.addEventListener("click",s,!1),null!==o.getAttribute("data-sort-default")&&(r=o));r&&(i.current=r,i.sortTable(r))}},sortTable:function(t,r){var c=this,u=t.getAttribute("data-sort-column-key"),l=t.cellIndex,f=o,d="",p=[],h=c.thead?0:1,m=t.getAttribute("data-sort-method"),g=t.hasAttribute("data-sort-reverse"),v=t.getAttribute("aria-sort");if(c.table.dispatchEvent(e("beforeSort")),r||(v="ascending"===v||"descending"!==v&&c.options.descending?"descending":"ascending",t.setAttribute("aria-sort",v)),!(c.table.rows.length<2)){if(!m){for(;p.length<3&&h<c.table.tBodies[0].rows.length;)0<(d=(d=(E=u?i(c.table.tBodies[0].rows[h].cells,u):c.table.tBodies[0].rows[h].cells[l])?n(E,c.options):"").trim()).length&&p.push(d),h++;if(!p)return}for(h=0;h<s.length;h++)if(d=s[h],m){if(d.name===m){f=d.sort;break}}else if(p.every(d.pattern)){f=d.sort;break}for(c.col=l,h=0;h<c.table.tBodies.length;h++){var y,E,w=[],T={},_=0,A=0;if(!(c.table.tBodies[h].rows.length<2)){for(y=0;y<c.table.tBodies[h].rows.length;y++)"none"===(d=c.table.tBodies[h].rows[y]).getAttribute("data-sort-method")?T[_]=d:(E=u?i(d.cells,u):d.cells[c.col],w.push({tr:d,td:E?n(E,c.options):"",index:_})),_++;for("descending"===v&&!g||"ascending"===v&&g?w.sort(a(f,!0)):(w.sort(a(f,!1)),w.reverse()),y=0;y<_;y++)T[y]?(d=T[y],A++):d=w[y-A].tr,c.table.tBodies[h].appendChild(d)}}c.table.dispatchEvent(e("afterSort"))}},refresh:function(){void 0!==this.current&&this.sortTable(this.current,!0)}},r.exports?r.exports=t:window.Tablesort=t}()),n.exports);return t.getDefaultExportFromCjs(o)}));