define("_commonjsHelpers-82bc86b9.js",["exports"],(function(t){"use strict";var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};t.commonjsGlobal=e,t.getDefaultExportFromCjs=function(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}})),define("npm:navigo/lib/navigo.js",["_commonjsHelpers-82bc86b9.js"],(function(t){"use strict";var e,n,r={};return e={get exports(){return r},set exports(t){r=t}},"undefined"!=typeof self?self:t.commonjsGlobal,n=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,b=[],w=!1,E=(0,r.pushStateAvailable)(),A=(0,r.windowAvailable)();function T(t){return t.indexOf("#")>=0&&(t=!0===m.hash?t.split("#")[1]||"/":t.split("#")[0]),t}function _(t){return(0,r.clean)(v+"/"+(0,r.clean)(t))}function k(t,e,n,o){return t=(0,r.isString)(t)?_(t):t,{name:o||(0,r.clean)(String(t)),path:t,handler:e,hooks:(0,r.accumulateHooks)(n)}}function O(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 R(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:T(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(A)return(A?[].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 S(t,e,n){var r=b.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 x(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:k(o,(function(){}),[n],o),data:null,params:a}}function N(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?b.find((function(e){return e.name===_(t)})):b.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=b,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),b.push(k(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;b.push(k(e,i,[n,s],a))}})),this)},this.off=function(t){return this.routes=b=b.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=O,this.navigate=R,this.navigateByName=function(t,e,n){var r=S(t,e);return null!==r&&(R(r.replace(new RegExp("^/?"+v),""),n),!0)},this.destroy=function(){this.routes=b=[],E&&window.removeEventListener("popstate",this.__popstateListener),this.destroyed=w=!0},this.notFound=function(t,e){return g._notFoundRoute=k("*",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)(T(t))},this.lastResolved=function(){return y},this.generate=S,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=_(e));var o={instance:g,to:e,currentLocationPath:e};(0,i.default)(o,(function(){})),"string"==typeof t&&(t=void 0===n||n?_(t):t);var a=(0,r.matchRoute)(o,{name:String(t),path:t,handler:function(){},hooks:{}});return a||!1},this.getCurrentLocation=function(){return x((0,r.clean)((0,r.getCurrentEnvURL)(v)).replace(new RegExp("^"+v),""))},this.addBeforeHook=N.bind(this,"before"),this.addAfterHook=N.bind(this,"after"),this.addAlreadyHook=N.bind(this,"already"),this.addLeaveHook=N.bind(this,"leave"),this.getRoute=C,this._pathToMatchObject=x,this._clean=r.clean,this._checkForAHash=T,this._setCurrent=function(t){return y=g.current=t},function(){E&&(this.__popstateListener=function(){g.__freezeListening||O()},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},e.exports=n(),t.getDefaultExportFromCjs(r)})),define("npm:dompurify/dist/purify.js",["_commonjsHelpers-82bc86b9.js"],(function(t){"use strict";var e,n={};return e={get exports(){return n},set exports(t){n=t}},t.commonjsGlobal,e.exports=function(){function t(e){return t="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},t(e)}function e(t,n){return e=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},e(t,n)}function n(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function r(t,o,i){return r=n()?Reflect.construct:function(t,n,r){var o=[null];o.push.apply(o,n);var i=new(Function.bind.apply(t,o));return r&&e(i,r.prototype),i},r.apply(null,arguments)}function o(t,e){return s(t)||u(t,e)||l(t,e)||p()}function i(t){return a(t)||c(t)||l(t)||d()}function a(t){if(Array.isArray(t))return f(t)}function s(t){if(Array.isArray(t))return t}function c(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function u(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(i.push(r.value),!e||i.length!==e);a=!0);}catch(t){s=!0,o=t}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}function l(t,e){if(t){if("string"==typeof t)return f(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?f(t,e):void 0}}function f(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function d(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function p(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function h(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=l(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,i=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}var m=Object.entries,g=Object.setPrototypeOf,v=Object.isFrozen,y=Object.getPrototypeOf,b=Object.getOwnPropertyDescriptor,w=Object.freeze,E=Object.seal,A=Object.create,T="undefined"!=typeof Reflect&&Reflect,_=T.apply,k=T.construct;_||(_=function(t,e,n){return t.apply(e,n)}),w||(w=function(t){return t}),E||(E=function(t){return t}),k||(k=function(t,e){return r(t,i(e))});var O=F(Array.prototype.forEach),R=F(Array.prototype.pop),L=F(Array.prototype.push),S=F(String.prototype.toLowerCase),x=F(String.prototype.toString),N=F(String.prototype.match),C=F(String.prototype.replace),M=F(String.prototype.indexOf),D=F(String.prototype.trim),H=F(RegExp.prototype.test),P=I(TypeError);function F(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 _(t,e,r)}}function I(t){return function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return k(t,n)}}function U(t,e,n){n=n||S,g&&g(t,null);for(var r=e.length;r--;){var o=e[r];if("string"==typeof o){var i=n(o);i!==o&&(v(e)||(e[r]=i),o=i)}t[o]=!0}return t}function j(t){var e,n=A(null),r=h(m(t));try{for(r.s();!(e=r.n()).done;){var i=o(e.value,2),a=i[0],s=i[1];n[a]=s}}catch(t){r.e(t)}finally{r.f()}return n}function B(t,e){for(;null!==t;){var n=b(t,e);if(n){if(n.get)return F(n.get);if("function"==typeof n.value)return F(n.value)}t=y(t)}function r(t){return console.warn("fallback value for",t),null}return r}var z=w(["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"]),G=w(["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"]),W=w(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Y=w(["animate","color-profile","cursor","discard","fedropshadow","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"]),q=w(["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"]),X=w(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),K=w(["#text"]),$=w(["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","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","slot"]),Q=w(["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","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"]),V=w(["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=w(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),J=E(/\{\{[\w\W]*|[\w\W]*\}\}/gm),tt=E(/<%[\w\W]*|[\w\W]*%>/gm),et=E(/\${[\w\W]*}/gm),nt=E(/^data-[\-\w.\u00B7-\uFFFF]/),rt=E(/^aria-[\-\w]+$/),ot=E(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),it=E(/^(?:\w+script|data):/i),at=E(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),st=E(/^html$/i),ct=function(){return"undefined"==typeof window?null:window},ut=function(e,n){if("object"!==t(e)||"function"!=typeof e.createPolicy)return null;var r=null,o="data-tt-policy-suffix";n.currentScript&&n.currentScript.hasAttribute(o)&&(r=n.currentScript.getAttribute(o));var i="dompurify"+(r?"#"+r:"");try{return e.createPolicy(i,{createHTML:function(t){return t},createScriptURL:function(t){return t}})}catch(t){return console.warn("TrustedTypes policy "+i+" could not be created."),null}};function lt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ct(),n=function(t){return lt(t)};if(n.version="3.0.1",n.removed=[],!e||!e.document||9!==e.document.nodeType)return n.isSupported=!1,n;var r=e.document,o=e.document,a=e.DocumentFragment,s=e.HTMLTemplateElement,c=e.Node,u=e.Element,l=e.NodeFilter,f=e.NamedNodeMap,d=void 0===f?e.NamedNodeMap||e.MozNamedAttrMap:f,p=e.HTMLFormElement,h=e.DOMParser,g=e.trustedTypes,v=u.prototype,y=B(v,"cloneNode"),b=B(v,"nextSibling"),E=B(v,"childNodes"),A=B(v,"parentNode");if("function"==typeof s){var T=o.createElement("template");T.content&&T.content.ownerDocument&&(o=T.content.ownerDocument)}var _=ut(g,r),k=_?_.createHTML(""):"",F=o,I=F.implementation,ft=F.createNodeIterator,dt=F.createDocumentFragment,pt=F.getElementsByTagName,ht=r.importNode,mt={};n.isSupported="function"==typeof m&&"function"==typeof A&&I&&void 0!==I.createHTMLDocument;var gt,vt,yt=J,bt=tt,wt=et,Et=nt,At=rt,Tt=it,_t=at,kt=ot,Ot=null,Rt=U({},[].concat(i(z),i(G),i(W),i(q),i(K))),Lt=null,St=U({},[].concat(i($),i(Q),i(V),i(Z))),xt=Object.seal(Object.create(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}})),Nt=null,Ct=null,Mt=!0,Dt=!0,Ht=!1,Pt=!0,Ft=!1,It=!1,Ut=!1,jt=!1,Bt=!1,zt=!1,Gt=!1,Wt=!0,Yt=!1,qt="user-content-",Xt=!0,Kt=!1,$t={},Qt=null,Vt=U({},["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"]),Zt=null,Jt=U({},["audio","video","img","source","image","track"]),te=null,ee=U({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ne="http://www.w3.org/1998/Math/MathML",re="http://www.w3.org/2000/svg",oe="http://www.w3.org/1999/xhtml",ie=oe,ae=!1,se=null,ce=U({},[ne,re,oe],x),ue=["application/xhtml+xml","text/html"],le="text/html",fe=null,de=o.createElement("form"),pe=function(t){return t instanceof RegExp||t instanceof Function},he=function(e){fe&&fe===e||(e&&"object"===t(e)||(e={}),e=j(e),gt=gt=-1===ue.indexOf(e.PARSER_MEDIA_TYPE)?le:e.PARSER_MEDIA_TYPE,vt="application/xhtml+xml"===gt?x:S,Ot="ALLOWED_TAGS"in e?U({},e.ALLOWED_TAGS,vt):Rt,Lt="ALLOWED_ATTR"in e?U({},e.ALLOWED_ATTR,vt):St,se="ALLOWED_NAMESPACES"in e?U({},e.ALLOWED_NAMESPACES,x):ce,te="ADD_URI_SAFE_ATTR"in e?U(j(ee),e.ADD_URI_SAFE_ATTR,vt):ee,Zt="ADD_DATA_URI_TAGS"in e?U(j(Jt),e.ADD_DATA_URI_TAGS,vt):Jt,Qt="FORBID_CONTENTS"in e?U({},e.FORBID_CONTENTS,vt):Vt,Nt="FORBID_TAGS"in e?U({},e.FORBID_TAGS,vt):{},Ct="FORBID_ATTR"in e?U({},e.FORBID_ATTR,vt):{},$t="USE_PROFILES"in e&&e.USE_PROFILES,Mt=!1!==e.ALLOW_ARIA_ATTR,Dt=!1!==e.ALLOW_DATA_ATTR,Ht=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Pt=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,Ft=e.SAFE_FOR_TEMPLATES||!1,It=e.WHOLE_DOCUMENT||!1,Bt=e.RETURN_DOM||!1,zt=e.RETURN_DOM_FRAGMENT||!1,Gt=e.RETURN_TRUSTED_TYPE||!1,jt=e.FORCE_BODY||!1,Wt=!1!==e.SANITIZE_DOM,Yt=e.SANITIZE_NAMED_PROPS||!1,Xt=!1!==e.KEEP_CONTENT,Kt=e.IN_PLACE||!1,kt=e.ALLOWED_URI_REGEXP||kt,ie=e.NAMESPACE||oe,xt=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&pe(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(xt.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&pe(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(xt.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(xt.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Ft&&(Dt=!1),zt&&(Bt=!0),$t&&(Ot=U({},i(K)),Lt=[],!0===$t.html&&(U(Ot,z),U(Lt,$)),!0===$t.svg&&(U(Ot,G),U(Lt,Q),U(Lt,Z)),!0===$t.svgFilters&&(U(Ot,W),U(Lt,Q),U(Lt,Z)),!0===$t.mathMl&&(U(Ot,q),U(Lt,V),U(Lt,Z))),e.ADD_TAGS&&(Ot===Rt&&(Ot=j(Ot)),U(Ot,e.ADD_TAGS,vt)),e.ADD_ATTR&&(Lt===St&&(Lt=j(Lt)),U(Lt,e.ADD_ATTR,vt)),e.ADD_URI_SAFE_ATTR&&U(te,e.ADD_URI_SAFE_ATTR,vt),e.FORBID_CONTENTS&&(Qt===Vt&&(Qt=j(Qt)),U(Qt,e.FORBID_CONTENTS,vt)),Xt&&(Ot["#text"]=!0),It&&U(Ot,["html","head","body"]),Ot.table&&(U(Ot,["tbody"]),delete Nt.tbody),w&&w(e),fe=e)},me=U({},["mi","mo","mn","ms","mtext"]),ge=U({},["foreignobject","desc","title","annotation-xml"]),ve=U({},["title","style","font","a","script"]),ye=U({},G);U(ye,W),U(ye,Y);var be=U({},q);U(be,X);var we=function(t){var e=A(t);e&&e.tagName||(e={namespaceURI:ie,tagName:"template"});var n=S(t.tagName),r=S(e.tagName);return!!se[t.namespaceURI]&&(t.namespaceURI===re?e.namespaceURI===oe?"svg"===n:e.namespaceURI===ne?"svg"===n&&("annotation-xml"===r||me[r]):Boolean(ye[n]):t.namespaceURI===ne?e.namespaceURI===oe?"math"===n:e.namespaceURI===re?"math"===n&&ge[r]:Boolean(be[n]):t.namespaceURI===oe?!(e.namespaceURI===re&&!ge[r])&&!(e.namespaceURI===ne&&!me[r])&&!be[n]&&(ve[n]||!ye[n]):!("application/xhtml+xml"!==gt||!se[t.namespaceURI]))},Ee=function(t){L(n.removed,{element:t});try{t.parentNode.removeChild(t)}catch(e){t.remove()}},Ae=function(t,e){try{L(n.removed,{attribute:e.getAttributeNode(t),from:e})}catch(t){L(n.removed,{attribute:null,from:e})}if(e.removeAttribute(t),"is"===t&&!Lt[t])if(Bt||zt)try{Ee(e)}catch(t){}else try{e.setAttribute(t,"")}catch(t){}},Te=function(t){var e,n;if(jt)t="<remove></remove>"+t;else{var r=N(t,/^[\r\n\t ]+/);n=r&&r[0]}"application/xhtml+xml"===gt&&ie===oe&&(t='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+t+"</body></html>");var i=_?_.createHTML(t):t;if(ie===oe)try{e=(new h).parseFromString(i,gt)}catch(t){}if(!e||!e.documentElement){e=I.createDocument(ie,"template",null);try{e.documentElement.innerHTML=ae?k:i}catch(t){}}var a=e.body||e.documentElement;return t&&n&&a.insertBefore(o.createTextNode(n),a.childNodes[0]||null),ie===oe?pt.call(e,It?"html":"body")[0]:It?e.documentElement:a},_e=function(t){return ft.call(t.ownerDocument||t,t,l.SHOW_ELEMENT|l.SHOW_COMMENT|l.SHOW_TEXT,null,!1)},ke=function(t){return t instanceof p&&("string"!=typeof t.nodeName||"string"!=typeof t.textContent||"function"!=typeof t.removeChild||!(t.attributes instanceof d)||"function"!=typeof t.removeAttribute||"function"!=typeof t.setAttribute||"string"!=typeof t.namespaceURI||"function"!=typeof t.insertBefore||"function"!=typeof t.hasChildNodes)},Oe=function(e){return"object"===t(c)?e instanceof c:e&&"object"===t(e)&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName},Re=function(t,e,r){mt[t]&&O(mt[t],(function(t){t.call(n,e,r,fe)}))},Le=function(t){var e;if(Re("beforeSanitizeElements",t,null),ke(t))return Ee(t),!0;var r=vt(t.nodeName);if(Re("uponSanitizeElement",t,{tagName:r,allowedTags:Ot}),t.hasChildNodes()&&!Oe(t.firstElementChild)&&(!Oe(t.content)||!Oe(t.content.firstElementChild))&&H(/<[/\w]/g,t.innerHTML)&&H(/<[/\w]/g,t.textContent))return Ee(t),!0;if(!Ot[r]||Nt[r]){if(!Nt[r]&&xe(r)){if(xt.tagNameCheck instanceof RegExp&&H(xt.tagNameCheck,r))return!1;if(xt.tagNameCheck instanceof Function&&xt.tagNameCheck(r))return!1}if(Xt&&!Qt[r]){var o=A(t)||t.parentNode,i=E(t)||t.childNodes;if(i&&o)for(var a=i.length-1;a>=0;--a)o.insertBefore(y(i[a],!0),b(t))}return Ee(t),!0}return t instanceof u&&!we(t)?(Ee(t),!0):"noscript"!==r&&"noembed"!==r||!H(/<\/no(script|embed)/i,t.innerHTML)?(Ft&&3===t.nodeType&&(e=t.textContent,e=C(e,yt," "),e=C(e,bt," "),e=C(e,wt," "),t.textContent!==e&&(L(n.removed,{element:t.cloneNode()}),t.textContent=e)),Re("afterSanitizeElements",t,null),!1):(Ee(t),!0)},Se=function(t,e,n){if(Wt&&("id"===e||"name"===e)&&(n in o||n in de))return!1;if(Dt&&!Ct[e]&&H(Et,e));else if(Mt&&H(At,e));else if(!Lt[e]||Ct[e]){if(!(xe(t)&&(xt.tagNameCheck instanceof RegExp&&H(xt.tagNameCheck,t)||xt.tagNameCheck instanceof Function&&xt.tagNameCheck(t))&&(xt.attributeNameCheck instanceof RegExp&&H(xt.attributeNameCheck,e)||xt.attributeNameCheck instanceof Function&&xt.attributeNameCheck(e))||"is"===e&&xt.allowCustomizedBuiltInElements&&(xt.tagNameCheck instanceof RegExp&&H(xt.tagNameCheck,n)||xt.tagNameCheck instanceof Function&&xt.tagNameCheck(n))))return!1}else if(te[e]);else if(H(kt,C(n,_t,"")));else if("src"!==e&&"xlink:href"!==e&&"href"!==e||"script"===t||0!==M(n,"data:")||!Zt[t])if(Ht&&!H(Tt,C(n,_t,"")));else if(n)return!1;return!0},xe=function(t){return t.indexOf("-")>0},Ne=function(e){var r,o,i,a;Re("beforeSanitizeAttributes",e,null);var s=e.attributes;if(s){var c={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Lt};for(a=s.length;a--;){var u=r=s[a],l=u.name,f=u.namespaceURI;if(o="value"===l?r.value:D(r.value),i=vt(l),c.attrName=i,c.attrValue=o,c.keepAttr=!0,c.forceKeepAttr=void 0,Re("uponSanitizeAttribute",e,c),o=c.attrValue,!c.forceKeepAttr&&(Ae(l,e),c.keepAttr))if(Pt||!H(/\/>/i,o)){Ft&&(o=C(o,yt," "),o=C(o,bt," "),o=C(o,wt," "));var d=vt(e.nodeName);if(Se(d,i,o)){if(!Yt||"id"!==i&&"name"!==i||(Ae(l,e),o=qt+o),_&&"object"===t(g)&&"function"==typeof g.getAttributeType)if(f);else switch(g.getAttributeType(d,i)){case"TrustedHTML":o=_.createHTML(o);break;case"TrustedScriptURL":o=_.createScriptURL(o)}try{f?e.setAttributeNS(f,l,o):e.setAttribute(l,o),R(n.removed)}catch(t){}}}else Ae(l,e)}Re("afterSanitizeAttributes",e,null)}},Ce=function t(e){var n,r=_e(e);for(Re("beforeSanitizeShadowDOM",e,null);n=r.nextNode();)Re("uponSanitizeShadowNode",n,null),Le(n)||(n.content instanceof a&&t(n.content),Ne(n));Re("afterSanitizeShadowDOM",e,null)};return n.sanitize=function(t){var e,o,i,s,u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if((ae=!t)&&(t="\x3c!--\x3e"),"string"!=typeof t&&!Oe(t)){if("function"!=typeof t.toString)throw P("toString is not a function");if("string"!=typeof(t=t.toString()))throw P("dirty is not a string, aborting")}if(!n.isSupported)return t;if(Ut||he(u),n.removed=[],"string"==typeof t&&(Kt=!1),Kt){if(t.nodeName){var l=vt(t.nodeName);if(!Ot[l]||Nt[l])throw P("root node is forbidden and cannot be sanitized in-place")}}else if(t instanceof c)1===(o=(e=Te("\x3c!----\x3e")).ownerDocument.importNode(t,!0)).nodeType&&"BODY"===o.nodeName||"HTML"===o.nodeName?e=o:e.appendChild(o);else{if(!Bt&&!Ft&&!It&&-1===t.indexOf("<"))return _&&Gt?_.createHTML(t):t;if(!(e=Te(t)))return Bt?null:Gt?k:""}e&&jt&&Ee(e.firstChild);for(var f=_e(Kt?t:e);i=f.nextNode();)Le(i)||(i.content instanceof a&&Ce(i.content),Ne(i));if(Kt)return t;if(Bt){if(zt)for(s=dt.call(e.ownerDocument);e.firstChild;)s.appendChild(e.firstChild);else s=e;return(Lt.shadowroot||Lt.shadowrootmod)&&(s=ht.call(r,s,!0)),s}var d=It?e.outerHTML:e.innerHTML;return It&&Ot["!doctype"]&&e.ownerDocument&&e.ownerDocument.doctype&&e.ownerDocument.doctype.name&&H(st,e.ownerDocument.doctype.name)&&(d="<!DOCTYPE "+e.ownerDocument.doctype.name+">\n"+d),Ft&&(d=C(d,yt," "),d=C(d,bt," "),d=C(d,wt," ")),_&&Gt?_.createHTML(d):d},n.setConfig=function(t){he(t),Ut=!0},n.clearConfig=function(){fe=null,Ut=!1},n.isValidAttribute=function(t,e,n){fe||he({});var r=vt(t),o=vt(e);return Se(r,o,n)},n.addHook=function(t,e){"function"==typeof e&&(mt[t]=mt[t]||[],L(mt[t],e))},n.removeHook=function(t){if(mt[t])return R(mt[t])},n.removeHooks=function(t){mt[t]&&(mt[t]=[])},n.removeAllHooks=function(){mt={}},n}var ft=lt();return ft}(),n})),define("npm:zenscroll/zenscroll.js",["_commonjsHelpers-82bc86b9.js"],(function(t){"use strict";var e,n,r,o={};return e={get exports(){return o},set exports(t){o=t}},n=t.commonjsGlobal,r=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},e.exports?e.exports=r():function t(){document&&document.body?n.zenscroll=r():setTimeout(t,9)}(),o})),define("npm:tablesort/dist/tablesort.min.js",(function(){"use strict";var t,e={};return t={get exports(){return e},set exports(t){e=t}},function(){function e(t,n){if(!(this instanceof e))return new e(t,n);if(!t||"TABLE"!==t.tagName)throw new Error("Element must be a table");this.init(t,n||{})}var n=[],r=function(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},o=function(t,e){return t.getAttribute(e.sortAttribute||"data-sort")||t.textContent||t.innerText||""},i=function(t,e){return(t=t.trim().toLowerCase())===(e=e.trim().toLowerCase())?0:t<e?1:-1},a=function(t,e){return[].slice.call(t).find((function(t){return t.getAttribute("data-sort-column-key")===e}))},s=function(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}};e.extend=function(t,e,r){if("function"!=typeof e||"function"!=typeof r)throw new Error("Pattern and sort must be a function");n.push({name:t,pattern:e,sort:r})},e.prototype={init:function(t,e){var n,r,o,i,a=this;if(a.table=t,a.thead=!1,a.options=e,t.rows&&t.rows.length>0)if(t.tHead&&t.tHead.rows.length>0){for(o=0;o<t.tHead.rows.length;o++)if("thead"===t.tHead.rows[o].getAttribute("data-sort-method")){n=t.tHead.rows[o];break}n||(n=t.tHead.rows[t.tHead.rows.length-1]),a.thead=!0}else n=t.rows[0];if(n){var s=function(){a.current&&a.current!==this&&a.current.removeAttribute("aria-sort"),a.current=this,a.sortTable(this)};for(o=0;o<n.cells.length;o++)(i=n.cells[o]).setAttribute("role","columnheader"),"none"!==i.getAttribute("data-sort-method")&&(i.tabindex=0,i.addEventListener("click",s,!1),null!==i.getAttribute("data-sort-default")&&(r=i));r&&(a.current=r,a.sortTable(r))}},sortTable:function(t,e){var c=this,u=t.getAttribute("data-sort-column-key"),l=t.cellIndex,f=i,d="",p=[],h=c.thead?0:1,m=t.getAttribute("data-sort-method"),g=t.getAttribute("aria-sort");if(c.table.dispatchEvent(r("beforeSort")),e||(g="ascending"===g?"descending":"descending"===g?"ascending":c.options.descending?"descending":"ascending",t.setAttribute("aria-sort",g)),!(c.table.rows.length<2)){if(!m){for(;p.length<3&&h<c.table.tBodies[0].rows.length;)(d=(d=(A=u?a(c.table.tBodies[0].rows[h].cells,u):c.table.tBodies[0].rows[h].cells[l])?o(A,c.options):"").trim()).length>0&&p.push(d),h++;if(!p)return}for(h=0;h<n.length;h++)if(d=n[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 v,y=[],b={},w=0,E=0;if(!(c.table.tBodies[h].rows.length<2)){for(v=0;v<c.table.tBodies[h].rows.length;v++){var A;"none"===(d=c.table.tBodies[h].rows[v]).getAttribute("data-sort-method")?b[w]=d:(A=u?a(d.cells,u):d.cells[c.col],y.push({tr:d,td:A?o(A,c.options):"",index:w})),w++}for("descending"===g?y.sort(s(f,!0)):(y.sort(s(f,!1)),y.reverse()),v=0;v<w;v++)b[v]?(d=b[v],E++):d=y[v-E].tr,c.table.tBodies[h].appendChild(d)}}c.table.dispatchEvent(r("afterSort"))}},refresh:function(){void 0!==this.current&&this.sortTable(this.current,!0)}},t.exports?t.exports=e:window.Tablesort=e}(),e}));