From 7dc783e890865e27da357c5d64da9d5f46fa2bbd Mon Sep 17 00:00:00 2001 From: Arthur Date: Wed, 14 Sep 2022 17:34:42 -0300 Subject: [PATCH] version 2.0.3 --- .npmignore | 1 + CHANGELOG.md | 13 ++ .../{index.f8be593b.js => index.78d33a13.js} | 124 +++++------ ....f8be593b.js.map => index.78d33a13.js.map} | 2 +- docs/index.html | 2 +- docsproj/src/App.svelte | 3 +- docsproj/src/js/routes/v1.js | 1 + docsproj/src/js/routes/v2.js | 1 + .../src/pages/v2/SCR_TestRegexPath.svelte | 2 +- package-lock.json | 75 ++++++- package.json | 11 +- pwTests/helpers.js | 3 + pwTests/testV1Flow.spec.js | 209 ++++++++++++++++++ pwTests/testV2Flow.spec.js | 199 +++++++++++++++++ src/core/routerFunctions.js | 12 +- 15 files changed, 583 insertions(+), 75 deletions(-) rename docs/assets/{index.f8be593b.js => index.78d33a13.js} (91%) rename docs/assets/{index.f8be593b.js.map => index.78d33a13.js.map} (98%) create mode 100644 pwTests/helpers.js create mode 100644 pwTests/testV1Flow.spec.js create mode 100644 pwTests/testV2Flow.spec.js diff --git a/.npmignore b/.npmignore index 0a776ab..f19d8a9 100644 --- a/.npmignore +++ b/.npmignore @@ -4,6 +4,7 @@ /public/ /coverage/ /tests/ +/pwTests/ eng.traineddata .DS_Store .idea diff --git a/CHANGELOG.md b/CHANGELOG.md index a4e4e4b..15fde15 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,13 +1,26 @@ # Svelte Client Router Changelog +## 2.0.2 + +- Fixed bug on hash routing +- Added tests with playwright + +## 2.0.1 + +- Improved NPM package exporting +- ## 2.0.1 + - Improved NPM package exporting +- ## 2.0.0 + - New version design from the ground - 100% unit tested - Several performance enhancements ## 1.3.10 + - Several bug fixing ## 1.3.1 diff --git a/docs/assets/index.f8be593b.js b/docs/assets/index.78d33a13.js similarity index 91% rename from docs/assets/index.f8be593b.js rename to docs/assets/index.78d33a13.js index f00d0d1..caa2c5f 100644 --- a/docs/assets/index.f8be593b.js +++ b/docs/assets/index.78d33a13.js @@ -1,8 +1,8 @@ (function(){"use strict";var ue=document.createElement("style");ue.innerHTML=`:root{font-family:Helvetica,Arial,sans-serif;font-size:16px;line-height:24px;font-weight:400;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-text-size-adjust:100%;color-scheme:light dark;height:100%;--main-color: #fca728;--input-color: #000000;--input-background: #ffffff}a{font-weight:500;color:var(--main-color);text-decoration:inherit;transition:all .2s ease-in-out}a:hover{color:#a06a19}html #app{height:100%}body{margin:0;height:100%;position:relative}.scr-h4{color:var(--main-color);margin:0 0 1rem;font-size:1.5rem}.scr-h5{margin:1rem 0 0;font-size:1.25rem}.scr-theme-dark{color:#ffffffde;background-color:#242424;--input-color: #ffffff;--input-background: #2b2b2b}.scr-page{display:grid;grid-template-columns:1fr;margin:1rem auto;justify-content:center;align-content:start;width:95%;min-height:85vh;padding:.5rem}.scr-pre{font:.875rem/1.5 Consolas,monaco,monospace;-moz-tab-size:4;tab-size:4;overflow:auto;padding:.625rem;border:1px solid orangered;border-radius:.5rem}.scr-small{font-weight:bolder}.scr-center{margin-top:1rem;padding-top:1rem;text-decoration:underline}.scr-hr{color:#ff4500;width:100%;margin-bottom:1.5rem}.scr-b{color:#005c00}.scr-test{display:grid;grid-template-columns:1fr;justify-content:center;align-content:center;width:80%;margin:0 auto 1rem}.scr-btn{cursor:pointer;padding:.5rem;text-align:center;border:1px solid;border-radius:.5rem;background-color:transparent;color:#ff4500;transition:all .3s ease-in-out;min-width:10rem;font-size:1rem;width:100%}.scr-btn:hover{box-shadow:0 20px 20px #ff45001a;background-color:#ff450054}.scr-pre{font:.875rem/1.5 Consolas,monaco,monospace;-moz-tab-size:4;tab-size:4;overflow:auto;padding:.625rem;border:1px solid orangered;border-radius:.5rem;background-color:#d4390005}input{display:block;font-weight:400;line-height:1.1;color:var(--input-color);background-color:var(--input-background);background-clip:padding-box;border:1px solid #ced4da;-webkit-appearance:none;-moz-appearance:none;appearance:none;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;min-height:calc(1.1em + .5rem + 2px);padding:.25rem .5rem;font-size:.875rem;border-radius:.25rem;margin-bottom:.5rem;width:100%}input:focus{border-color:var(--main-color);outline:0;box-shadow:0 0 0 .25rem #fca72840}@media (max-width: 500px){.scr-test{max-width:100%}input,.scr-btn{width:90%}}.scr-center.svelte-j2ovi.svelte-j2ovi{position:relative;height:100vh;display:grid;grid-template-columns:1fr;justify-content:center;align-content:center;text-align:center}.scr-h1.svelte-j2ovi.svelte-j2ovi,.scr-h3.svelte-j2ovi.svelte-j2ovi{color:#579c34;animation:svelte-j2ovi-loading-text 1.5s linear infinite}.scr-lds-spinner.svelte-j2ovi.svelte-j2ovi{color:official;display:inline-block;position:relative;width:80px;height:80px;margin:0 auto}.scr-lds-spinner.svelte-j2ovi div.svelte-j2ovi{transform-origin:40px 40px;animation:svelte-j2ovi-lds-spinner 1.2s linear infinite}.scr-lds-spinner.svelte-j2ovi div.svelte-j2ovi:after{content:" ";display:block;position:absolute;top:3px;left:37px;width:6px;height:18px;border-radius:20%;background:#579c34}.scr-lds-spinner.svelte-j2ovi div.svelte-j2ovi:nth-child(1){transform:rotate(0);animation-delay:-1.1s}.scr-lds-spinner.svelte-j2ovi div.svelte-j2ovi:nth-child(2){transform:rotate(30deg);animation-delay:-1s}.scr-lds-spinner.svelte-j2ovi div.svelte-j2ovi:nth-child(3){transform:rotate(60deg);animation-delay:-.9s}.scr-lds-spinner.svelte-j2ovi div.svelte-j2ovi:nth-child(4){transform:rotate(90deg);animation-delay:-.8s}.scr-lds-spinner.svelte-j2ovi div.svelte-j2ovi:nth-child(5){transform:rotate(120deg);animation-delay:-.7s}.scr-lds-spinner.svelte-j2ovi div.svelte-j2ovi:nth-child(6){transform:rotate(150deg);animation-delay:-.6s}.scr-lds-spinner.svelte-j2ovi div.svelte-j2ovi:nth-child(7){transform:rotate(180deg);animation-delay:-.5s}.scr-lds-spinner.svelte-j2ovi div.svelte-j2ovi:nth-child(8){transform:rotate(210deg);animation-delay:-.4s}.scr-lds-spinner.svelte-j2ovi div.svelte-j2ovi:nth-child(9){transform:rotate(240deg);animation-delay:-.3s}.scr-lds-spinner.svelte-j2ovi div.svelte-j2ovi:nth-child(10){transform:rotate(270deg);animation-delay:-.2s}.scr-lds-spinner.svelte-j2ovi div.svelte-j2ovi:nth-child(11){transform:rotate(300deg);animation-delay:-.1s}.scr-lds-spinner.svelte-j2ovi div.svelte-j2ovi:nth-child(12){transform:rotate(330deg);animation-delay:0s}@keyframes svelte-j2ovi-lds-spinner{0%{opacity:1}to{opacity:0}}@keyframes svelte-j2ovi-loading-text{0%{opacity:1}50%{opacity:0}to{opacity:1}}h4.svelte-2tv2qh{text-align:center;margin:.5rem 0}.scr-menu.svelte-2tv2qh{position:relative;display:grid;grid-template-columns:1fr;justify-content:center;align-content:start;height:100%;width:25vw;z-index:101;padding:0;text-align:center;min-width:100px}.scr-menu-btn.svelte-2tv2qh{display:grid;grid-template-columns:1fr;justify-content:left;align-content:center;width:80%;background-color:#ff440009;border-radius:.5rem;transition:all .3s ease-in-out;text-align:center;color:#a82d00;margin:0 auto .5rem;padding:.5rem}.scr-menu-btn.svelte-2tv2qh:hover{background-color:#ff440018;cursor:pointer;font-weight:bolder;color:#d43900}.scr-menu-h4.svelte-2tv2qh{font-size:1.35rem;margin:.5rem 0 1rem 2rem;color:#d43900;text-align:left}.scr-menu-active.svelte-2tv2qh{border:1px solid #a82d00;font-weight:bolder;color:#d43900;background-color:#ff440018}.scr-menu-active.svelte-2tv2qh:hover{border:1px solid #a82d00;font-weight:bolder;color:#d43900;background-color:#ff44002f}@media (max-width: 500px){.scr-menu.svelte-2tv2qh{font-size:.7rem}.scr-menu-h4.svelte-2tv2qh{font-size:1rem;text-align:center;margin:0}}b.svelte-1tc58v8{cursor:pointer}.scr-header.svelte-1tc58v8{position:relative;display:grid;align-items:center;justify-content:center;padding:2rem 0;font-size:2rem;text-align:center;color:var(--main-color);border-bottom:1px solid var(--main-color)}.scr-menu.svelte-1tc58v8{position:absolute;top:0;left:0;padding:2rem;cursor:pointer;will-change:filter;transition:all .3s ease-in-out}.scr-theme.svelte-1tc58v8{position:absolute;top:0;right:0;padding:2rem;cursor:pointer;will-change:filter;transition:all .3s ease-in-out}.scr-theme.svelte-1tc58v8:hover,.scr-menu.svelte-1tc58v8:hover{filter:drop-shadow(0 0 2rem #ff3e00aa)}.scr-close-menu.svelte-1tc58v8{display:inline-block;min-width:2rem}@media (max-width: 500px){.scr-header.svelte-1tc58v8{font-size:1.5rem}}.scr-footer.svelte-8f7vx5{position:absolute;bottom:0;display:grid;grid-template-columns:3fr 7fr;padding:.5rem;overflow-y:hidden;justify-content:center;align-content:center;width:100%;min-height:10vh;text-align:center;border-top:1px solid var(--main-color)}.scr-layout.svelte-17vzbm3{display:grid;grid-template-columns:1fr;justify-content:center;align-content:start;height:88vh;min-width:350px}.scr-layout-page.svelte-17vzbm3{position:relative;display:grid;grid-template-columns:25% 75%;justify-content:center;min-height:78.5vh}.scr-layout-menu.svelte-17vzbm3{overflow-y:auto;overflow-x:hidden}.scr-layout-container.svelte-17vzbm3{position:relative;min-height:100%;max-width:100%;padding:0;overflow-y:auto;overflow-x:hidden;text-align:justify}.scr-layout-container__span.svelte-17vzbm3{grid-column:2 span}@media (max-width: 500px){.scr-layout.svelte-17vzbm3{height:78vh}.scr-layout-page.svelte-17vzbm3{min-height:67.6vh}.scr-layout-container.svelte-17vzbm3{word-break:break-all}}.scr-app.svelte-kxsa5g{position:relative;min-height:100vh;transition:all .3s ease-in-out;overflow:hidden}.scr-loading.svelte-kxsa5g{display:grid;grid-template-columns:1fr;justify-content:center;align-content:center;text-align:center;padding:1rem}.scr-p.svelte-fknj6d{color:#ff3e00;text-transform:uppercase;font-size:4rem;font-weight:100}.scr-p-small.svelte-fknj6d{color:#ff3e00;text-transform:uppercase;font-size:2rem;font-weight:100}.scr-btn.svelte-fknj6d{cursor:pointer;padding:.5rem;text-align:center;border:1px solid;border-radius:.5rem;background-color:transparent;color:#ff4500;transition:all .3s ease-in-out;min-width:10rem;font-size:1rem;width:75%}.scr-btn.svelte-fknj6d:hover{box-shadow:0 20px 20px #ff45001a;background-color:#ff450054}.scr-page-actions.svelte-1ysve6x{display:grid;grid-template-columns:1fr 1fr;justify-content:center;align-content:center;text-align:center;padding:1rem 0}.scr-page-btn.svelte-1ysve6x{cursor:pointer;padding:1rem 1.5rem;border:1px solid;border-radius:.5rem;background-color:transparent;color:#ff4500;transition:all .3s ease-in-out;min-width:10rem;font-size:1rem}.scr-page-btn.svelte-1ysve6x:hover{box-shadow:0 20px 20px #ff45001a;background-color:#ff450054;font-weight:700}@media (max-width: 500px){.scr-page-actions.svelte-1ysve6x{grid-template-columns:1fr;row-gap:1rem}}.scr-home.svelte-196okmf.svelte-196okmf{text-align:center}.scr-versions.svelte-196okmf.svelte-196okmf{display:grid;grid-template-columns:1fr 1fr;justify-content:center;align-content:center}.scr-version.svelte-196okmf.svelte-196okmf{display:grid;justify-content:center;align-content:center;padding:.5rem;border:1px solid var(--main-color);border-radius:.5rem;margin:1rem;transition:all .3s ease-in-out;cursor:pointer;height:100%}.scr-version.svelte-196okmf h2.svelte-196okmf{color:var(--main-color)}.scr-version.svelte-196okmf.svelte-196okmf:hover{box-shadow:0 20px 20px #f0bf5561;background-color:#f0bf5554}@media (max-width: 500px){.scr-versions.svelte-196okmf.svelte-196okmf{display:grid;grid-template-columns:1fr;row-gap:2rem}}.scr-li.svelte-1kf261k{position:relative;text-transform:capitalize} -`,document.head.appendChild(ue);function E1(){}const fe=c=>c;function j4(c,e){for(const r in e)c[r]=e[r];return c}function o5(c){return c&&typeof c=="object"&&typeof c.then=="function"}function he(c){return c()}function ve(){return Object.create(null)}function H0(c){c.forEach(he)}function f6(c){return typeof c=="function"}function X1(c,e){return c!=c?e==e:c!==e||c&&typeof c=="object"||typeof c=="function"}function n5(c){return Object.keys(c).length===0}function a5(c,...e){if(c==null)return E1;const r=c.subscribe(...e);return r.unsubscribe?()=>r.unsubscribe():r}function Q0(c,e,r){c.$$.on_destroy.push(a5(e,r))}function h6(c,e,r,t){if(c){const o=pe(c,e,r,t);return c[0](o)}}function pe(c,e,r,t){return c[1]&&t?j4(r.ctx.slice(),c[1](t(e))):r.ctx}function v6(c,e,r,t){if(c[2]&&t){const o=c[2](t(r));if(e.dirty===void 0)return o;if(typeof o=="object"){const n=[],b=Math.max(e.dirty.length,o.length);for(let v=0;v32){const e=[],r=c.ctx.length/32;for(let t=0;twindow.performance.now():()=>Date.now(),d6=me?c=>requestAnimationFrame(c):E1;const m4=new Set;function be(c){m4.forEach(e=>{e.c(c)||(m4.delete(e),e.f())}),m4.size!==0&&d6(be)}function xe(c){let e;return m4.size===0&&d6(be),{promise:new Promise(r=>{m4.add(e={c,f:r})}),abort(){m4.delete(e)}}}function i(c,e){c.appendChild(e)}function ge(c){if(!c)return document;const e=c.getRootNode?c.getRootNode():c.ownerDocument;return e&&e.host?e:c.ownerDocument}function s5(c){const e=C("style");return i5(ge(c),e),e.sheet}function i5(c,e){i(c.head||c,e)}function Y(c,e,r){c.insertBefore(e,r||null)}function Z(c){c.parentNode.removeChild(c)}function C(c){return document.createElement(c)}function M1(c){return document.createTextNode(c)}function k(){return M1(" ")}function S4(){return M1("")}function s0(c,e,r,t){return c.addEventListener(e,r,t),()=>c.removeEventListener(e,r,t)}function T(c,e,r){r==null?c.removeAttribute(e):c.getAttribute(e)!==r&&c.setAttribute(e,r)}function _e(c,e){const r=Object.getOwnPropertyDescriptors(c.__proto__);for(const t in e)e[t]==null?c.removeAttribute(t):t==="style"?c.style.cssText=e[t]:t==="__value"?c.value=c[t]=e[t]:r[t]&&r[t].set?c[t]=e[t]:T(c,t,e[t])}function l5(c){return Array.from(c.childNodes)}function D2(c,e){e=""+e,c.wholeText!==e&&(c.data=e)}function V2(c,e){c.value=e==null?"":e}function z0(c,e,r,t){r===null?c.style.removeProperty(e):c.style.setProperty(e,r,t?"important":"")}function q1(c,e,r){c.classList[r?"add":"remove"](e)}function u5(c,e,{bubbles:r=!1,cancelable:t=!1}={}){const o=document.createEvent("CustomEvent");return o.initCustomEvent(c,r,t,e),o}const F4=new Map;let N4=0;function f5(c){let e=5381,r=c.length;for(;r--;)e=(e<<5)-e^c.charCodeAt(r);return e>>>0}function h5(c,e){const r={stylesheet:s5(e),rules:{}};return F4.set(c,r),r}function ze(c,e,r,t,o,n,b,v=0){const h=16.666/t;let a=`{ +`,document.head.appendChild(ue);function E1(){}const fe=c=>c;function j4(c,e){for(const r in e)c[r]=e[r];return c}function o5(c){return c&&typeof c=="object"&&typeof c.then=="function"}function he(c){return c()}function ve(){return Object.create(null)}function H0(c){c.forEach(he)}function f6(c){return typeof c=="function"}function X1(c,e){return c!=c?e==e:c!==e||c&&typeof c=="object"||typeof c=="function"}function n5(c){return Object.keys(c).length===0}function a5(c,...e){if(c==null)return E1;const r=c.subscribe(...e);return r.unsubscribe?()=>r.unsubscribe():r}function Q0(c,e,r){c.$$.on_destroy.push(a5(e,r))}function h6(c,e,r,t){if(c){const o=pe(c,e,r,t);return c[0](o)}}function pe(c,e,r,t){return c[1]&&t?j4(r.ctx.slice(),c[1](t(e))):r.ctx}function v6(c,e,r,t){if(c[2]&&t){const o=c[2](t(r));if(e.dirty===void 0)return o;if(typeof o=="object"){const n=[],b=Math.max(e.dirty.length,o.length);for(let v=0;v32){const e=[],r=c.ctx.length/32;for(let t=0;twindow.performance.now():()=>Date.now(),d6=me?c=>requestAnimationFrame(c):E1;const m4=new Set;function be(c){m4.forEach(e=>{e.c(c)||(m4.delete(e),e.f())}),m4.size!==0&&d6(be)}function xe(c){let e;return m4.size===0&&d6(be),{promise:new Promise(r=>{m4.add(e={c,f:r})}),abort(){m4.delete(e)}}}function i(c,e){c.appendChild(e)}function ge(c){if(!c)return document;const e=c.getRootNode?c.getRootNode():c.ownerDocument;return e&&e.host?e:c.ownerDocument}function s5(c){const e=C("style");return i5(ge(c),e),e.sheet}function i5(c,e){i(c.head||c,e)}function Y(c,e,r){c.insertBefore(e,r||null)}function Z(c){c.parentNode.removeChild(c)}function C(c){return document.createElement(c)}function M1(c){return document.createTextNode(c)}function k(){return M1(" ")}function S4(){return M1("")}function i0(c,e,r,t){return c.addEventListener(e,r,t),()=>c.removeEventListener(e,r,t)}function A(c,e,r){r==null?c.removeAttribute(e):c.getAttribute(e)!==r&&c.setAttribute(e,r)}function _e(c,e){const r=Object.getOwnPropertyDescriptors(c.__proto__);for(const t in e)e[t]==null?c.removeAttribute(t):t==="style"?c.style.cssText=e[t]:t==="__value"?c.value=c[t]=e[t]:r[t]&&r[t].set?c[t]=e[t]:A(c,t,e[t])}function l5(c){return Array.from(c.childNodes)}function D2(c,e){e=""+e,c.wholeText!==e&&(c.data=e)}function V2(c,e){c.value=e==null?"":e}function z0(c,e,r,t){r===null?c.style.removeProperty(e):c.style.setProperty(e,r,t?"important":"")}function q1(c,e,r){c.classList[r?"add":"remove"](e)}function u5(c,e,{bubbles:r=!1,cancelable:t=!1}={}){const o=document.createEvent("CustomEvent");return o.initCustomEvent(c,r,t,e),o}const F4=new Map;let N4=0;function f5(c){let e=5381,r=c.length;for(;r--;)e=(e<<5)-e^c.charCodeAt(r);return e>>>0}function h5(c,e){const r={stylesheet:s5(e),rules:{}};return F4.set(c,r),r}function ze(c,e,r,t,o,n,b,v=0){const h=16.666/t;let a=`{ `;for(let y=0;y<=1;y+=h){const S=e+(r-e)*n(y);a+=y*100+`%{${b(S,1-S)}} `}const s=a+`100% {${b(r,1-r)}} -}`,f=`__svelte_${f5(s)}_${v}`,l=ge(c),{stylesheet:m,rules:d}=F4.get(l)||h5(l,c);d[f]||(d[f]=!0,m.insertRule(`@keyframes ${f} ${s}`,m.cssRules.length));const z=c.style.animation||"";return c.style.animation=`${z?`${z}, `:""}${f} ${t}ms linear ${o}ms 1 both`,N4+=1,f}function b6(c,e){const r=(c.style.animation||"").split(", "),t=r.filter(e?n=>n.indexOf(e)<0:n=>n.indexOf("__svelte")===-1),o=r.length-t.length;o&&(c.style.animation=t.join(", "),N4-=o,N4||v5())}function v5(){d6(()=>{N4||(F4.forEach(c=>{const{stylesheet:e}=c;let r=e.cssRules.length;for(;r--;)e.deleteRule(r);c.rules={}}),F4.clear())})}let w4;function J0(c){w4=c}function Ce(){if(!w4)throw new Error("Function called outside component initialization");return w4}function p5(c){Ce().$$.on_mount.push(c)}const $4=[],ye=[],D4=[],Le=[],m5=Promise.resolve();let x6=!1;function d5(){x6||(x6=!0,m5.then(_6))}function n4(c){D4.push(c)}const g6=new Set;let W4=0;function _6(){const c=w4;do{for(;W4<$4.length;){const e=$4[W4];W4++,J0(e),b5(e.$$)}for(J0(null),$4.length=0,W4=0;ye.length;)ye.pop()();for(let e=0;e{V4=null})),V4}function G4(c,e,r){c.dispatchEvent(u5(`${e?"intro":"outro"}${r}`))}const U4=new Set;let a4;function l4(){a4={r:0,c:[],p:a4}}function u4(){a4.r||H0(a4.c),a4=a4.p}function m1(c,e){c&&c.i&&(U4.delete(c),c.i(e))}function d1(c,e,r,t){if(c&&c.o){if(U4.has(c))return;U4.add(c),a4.c.push(()=>{U4.delete(c),t&&(r&&c.d(1),t())}),c.o(e)}else t&&t()}const Me={duration:0};function z6(c,e,r){let t=e(c,r),o=!1,n,b,v=0;function h(){n&&b6(c,n)}function a(){const{delay:f=0,duration:l=300,easing:m=fe,tick:d=E1,css:z}=t||Me;z&&(n=ze(c,0,1,l,f,m,z,v++)),d(0,1);const y=de()+f,S=y+l;b&&b.abort(),o=!0,n4(()=>G4(c,!0,"start")),b=xe(x=>{if(o){if(x>=S)return d(1,0),G4(c,!0,"end"),h(),o=!1;if(x>=y){const _=m((x-y)/l);d(_,1-_)}}return o})}let s=!1;return{start(){s||(s=!0,b6(c),f6(t)?(t=t(),He().then(a)):a())},invalidate(){s=!1},end(){o&&(h(),o=!1)}}}function C6(c,e,r){let t=e(c,r),o=!0,n;const b=a4;b.r+=1;function v(){const{delay:h=0,duration:a=300,easing:s=fe,tick:f=E1,css:l}=t||Me;l&&(n=ze(c,1,0,a,h,s,l));const m=de()+h,d=m+a;n4(()=>G4(c,!1,"start")),xe(z=>{if(o){if(z>=d)return f(0,1),G4(c,!1,"end"),--b.r||H0(b.c),!1;if(z>=m){const y=s((z-m)/a);f(1-y,y)}}return o})}return f6(t)?He().then(()=>{t=t(),v()}):v(),{end(h){h&&t.tick&&t.tick(1,0),o&&(n&&b6(c,n),o=!1)}}}function y6(c,e){const r=e.token={};function t(o,n,b,v){if(e.token!==r)return;e.resolved=v;let h=e.ctx;b!==void 0&&(h=h.slice(),h[b]=v);const a=o&&(e.current=o)(h);let s=!1;e.block&&(e.blocks?e.blocks.forEach((f,l)=>{l!==n&&f&&(l4(),d1(f,1,1,()=>{e.blocks[l]===f&&(e.blocks[l]=null)}),u4())}):e.block.d(1),a.c(),m1(a,1),a.m(e.mount(),e.anchor),s=!0),e.block=a,e.blocks&&(e.blocks[n]=a),s&&_6()}if(o5(c)){const o=Ce();if(c.then(n=>{J0(o),t(e.then,1,e.value,n),J0(null)},n=>{if(J0(o),t(e.catch,2,e.error,n),J0(null),!e.hasCatch)throw n}),e.current!==e.pending)return t(e.pending,0),!0}else{if(e.current!==e.then)return t(e.then,1,e.value,c),!0;e.resolved=c}}function Re(c,e,r){const t=e.slice(),{resolved:o}=c;c.current===c.then&&(t[c.value]=o),c.current===c.catch&&(t[c.error]=o),c.block.p(t,r)}function L6(c,e){const r={},t={},o={$$scope:1};let n=c.length;for(;n--;){const b=c[n],v=e[n];if(v){for(const h in b)h in v||(t[h]=1);for(const h in v)o[h]||(r[h]=v[h],o[h]=1);c[n]=v}else for(const h in b)o[h]=1}for(const b in t)b in r||(r[b]=void 0);return r}function Se(c){return typeof c=="object"&&c!==null?c:{}}function H1(c){c&&c.c()}function C1(c,e,r,t){const{fragment:o,on_mount:n,on_destroy:b,after_update:v}=c.$$;o&&o.m(e,r),t||n4(()=>{const h=n.map(he).filter(f6);b?b.push(...h):H0(h),c.$$.on_mount=[]}),v.forEach(n4)}function y1(c,e){const r=c.$$;r.fragment!==null&&(H0(r.on_destroy),r.fragment&&r.fragment.d(e),r.on_destroy=r.fragment=null,r.ctx=[])}function x5(c,e){c.$$.dirty[0]===-1&&($4.push(c),d5(),c.$$.dirty.fill(0)),c.$$.dirty[e/31|0]|=1<{const d=m.length?m[0]:l;return a.ctx&&o(a.ctx[f],a.ctx[f]=d)&&(!a.skip_bound&&a.bound[f]&&a.bound[f](d),s&&x5(c,f)),l}):[],a.update(),s=!0,H0(a.before_update),a.fragment=t?t(a.ctx):!1,e.target){if(e.hydrate){const f=l5(e.target);a.fragment&&a.fragment.l(f),f.forEach(Z)}else a.fragment&&a.fragment.c();e.intro&&m1(c.$$.fragment),C1(c,e.target,e.anchor,e.customElement),_6()}J0(h)}class e2{$destroy(){y1(this,1),this.$destroy=E1}$on(e,r){const t=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return t.push(r),()=>{const o=t.indexOf(r);o!==-1&&t.splice(o,1)}}$set(e){this.$$set&&!n5(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}var T1=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function g5(c){var e=c.default;if(typeof e=="function"){var r=function(){return e.apply(this,arguments)};r.prototype=e.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(c).forEach(function(t){var o=Object.getOwnPropertyDescriptor(c,t);Object.defineProperty(r,t,o.get?o:{enumerable:!0,get:function(){return c[t]}})}),r}var we={exports:{}};function B0(c){throw new Error('Could not dynamically require "'+c+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var H6={exports:{}};const $e=g5(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var Ve;function g2(){return Ve||(Ve=1,function(c,e){(function(r,t){c.exports=t()})(T1,function(){var r=r||function(t,o){var n;if(typeof window<"u"&&window.crypto&&(n=window.crypto),typeof self<"u"&&self.crypto&&(n=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(n=globalThis.crypto),!n&&typeof window<"u"&&window.msCrypto&&(n=window.msCrypto),!n&&typeof T1<"u"&&T1.crypto&&(n=T1.crypto),!n&&typeof B0=="function")try{n=$e}catch{}var b=function(){if(n){if(typeof n.getRandomValues=="function")try{return n.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof n.randomBytes=="function")try{return n.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},v=Object.create||function(){function x(){}return function(_){var H;return x.prototype=_,H=new x,x.prototype=null,H}}(),h={},a=h.lib={},s=a.Base=function(){return{extend:function(x){var _=v(this);return x&&_.mixIn(x),(!_.hasOwnProperty("init")||this.init===_.init)&&(_.init=function(){_.$super.init.apply(this,arguments)}),_.init.prototype=_,_.$super=this,_},create:function(){var x=this.extend();return x.init.apply(x,arguments),x},init:function(){},mixIn:function(x){for(var _ in x)x.hasOwnProperty(_)&&(this[_]=x[_]);x.hasOwnProperty("toString")&&(this.toString=x.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),f=a.WordArray=s.extend({init:function(x,_){x=this.words=x||[],_!=o?this.sigBytes=_:this.sigBytes=x.length*4},toString:function(x){return(x||m).stringify(this)},concat:function(x){var _=this.words,H=x.words,L=this.sigBytes,w=x.sigBytes;if(this.clamp(),L%4)for(var $=0;$>>2]>>>24-$%4*8&255;_[L+$>>>2]|=E<<24-(L+$)%4*8}else for(var F=0;F>>2]=H[F>>>2];return this.sigBytes+=w,this},clamp:function(){var x=this.words,_=this.sigBytes;x[_>>>2]&=4294967295<<32-_%4*8,x.length=t.ceil(_/4)},clone:function(){var x=s.clone.call(this);return x.words=this.words.slice(0),x},random:function(x){for(var _=[],H=0;H>>2]>>>24-w%4*8&255;L.push(($>>>4).toString(16)),L.push(($&15).toString(16))}return L.join("")},parse:function(x){for(var _=x.length,H=[],L=0;L<_;L+=2)H[L>>>3]|=parseInt(x.substr(L,2),16)<<24-L%8*4;return new f.init(H,_/2)}},d=l.Latin1={stringify:function(x){for(var _=x.words,H=x.sigBytes,L=[],w=0;w>>2]>>>24-w%4*8&255;L.push(String.fromCharCode($))}return L.join("")},parse:function(x){for(var _=x.length,H=[],L=0;L<_;L++)H[L>>>2]|=(x.charCodeAt(L)&255)<<24-L%4*8;return new f.init(H,_)}},z=l.Utf8={stringify:function(x){try{return decodeURIComponent(escape(d.stringify(x)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(x){return d.parse(unescape(encodeURIComponent(x)))}},y=a.BufferedBlockAlgorithm=s.extend({reset:function(){this._data=new f.init,this._nDataBytes=0},_append:function(x){typeof x=="string"&&(x=z.parse(x)),this._data.concat(x),this._nDataBytes+=x.sigBytes},_process:function(x){var _,H=this._data,L=H.words,w=H.sigBytes,$=this.blockSize,E=$*4,F=w/E;x?F=t.ceil(F):F=t.max((F|0)-this._minBufferSize,0);var M=F*$,V=t.min(M*4,w);if(M){for(var I=0;I>>2]|=h[f]<<24-f%4*8;b.call(this,s,a)}else b.apply(this,arguments)};v.prototype=n}}(),r.lib.WordArray})}(R6)),R6.exports}var S6={exports:{}},Ae;function z5(){return Ae||(Ae=1,function(c,e){(function(r,t){c.exports=t(g2())})(T1,function(r){return function(){var t=r,o=t.lib,n=o.WordArray,b=t.enc;b.Utf16=b.Utf16BE={stringify:function(h){for(var a=h.words,s=h.sigBytes,f=[],l=0;l>>2]>>>16-l%4*8&65535;f.push(String.fromCharCode(m))}return f.join("")},parse:function(h){for(var a=h.length,s=[],f=0;f>>1]|=h.charCodeAt(f)<<16-f%2*16;return n.create(s,a*2)}},b.Utf16LE={stringify:function(h){for(var a=h.words,s=h.sigBytes,f=[],l=0;l>>2]>>>16-l%4*8&65535);f.push(String.fromCharCode(m))}return f.join("")},parse:function(h){for(var a=h.length,s=[],f=0;f>>1]|=v(h.charCodeAt(f)<<16-f%2*16);return n.create(s,a*2)}};function v(h){return h<<8&4278255360|h>>>8&16711935}}(),r.enc.Utf16})}(S6)),S6.exports}var w6={exports:{}},qe;function d4(){return qe||(qe=1,function(c,e){(function(r,t){c.exports=t(g2())})(T1,function(r){return function(){var t=r,o=t.lib,n=o.WordArray,b=t.enc;b.Base64={stringify:function(h){var a=h.words,s=h.sigBytes,f=this._map;h.clamp();for(var l=[],m=0;m>>2]>>>24-m%4*8&255,z=a[m+1>>>2]>>>24-(m+1)%4*8&255,y=a[m+2>>>2]>>>24-(m+2)%4*8&255,S=d<<16|z<<8|y,x=0;x<4&&m+x*.75>>6*(3-x)&63));var _=f.charAt(64);if(_)for(;l.length%4;)l.push(_);return l.join("")},parse:function(h){var a=h.length,s=this._map,f=this._reverseMap;if(!f){f=this._reverseMap=[];for(var l=0;l>>6-m%4*2,y=d|z;f[l>>>2]|=y<<24-l%4*8,l++}return n.create(f,l)}}(),r.enc.Base64})}(w6)),w6.exports}var $6={exports:{}},Pe;function C5(){return Pe||(Pe=1,function(c,e){(function(r,t){c.exports=t(g2())})(T1,function(r){return function(){var t=r,o=t.lib,n=o.WordArray,b=t.enc;b.Base64url={stringify:function(h,a=!0){var s=h.words,f=h.sigBytes,l=a?this._safe_map:this._map;h.clamp();for(var m=[],d=0;d>>2]>>>24-d%4*8&255,y=s[d+1>>>2]>>>24-(d+1)%4*8&255,S=s[d+2>>>2]>>>24-(d+2)%4*8&255,x=z<<16|y<<8|S,_=0;_<4&&d+_*.75>>6*(3-_)&63));var H=l.charAt(64);if(H)for(;m.length%4;)m.push(H);return m.join("")},parse:function(h,a=!0){var s=h.length,f=a?this._safe_map:this._map,l=this._reverseMap;if(!l){l=this._reverseMap=[];for(var m=0;m>>6-m%4*2,y=d|z;f[l>>>2]|=y<<24-l%4*8,l++}return n.create(f,l)}}(),r.enc.Base64url})}($6)),$6.exports}var V6={exports:{}},ke;function b4(){return ke||(ke=1,function(c,e){(function(r,t){c.exports=t(g2())})(T1,function(r){return function(t){var o=r,n=o.lib,b=n.WordArray,v=n.Hasher,h=o.algo,a=[];(function(){for(var z=0;z<64;z++)a[z]=t.abs(t.sin(z+1))*4294967296|0})();var s=h.MD5=v.extend({_doReset:function(){this._hash=new b.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(z,y){for(var S=0;S<16;S++){var x=y+S,_=z[x];z[x]=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360}var H=this._hash.words,L=z[y+0],w=z[y+1],$=z[y+2],E=z[y+3],F=z[y+4],M=z[y+5],V=z[y+6],I=z[y+7],B=z[y+8],t1=z[y+9],e1=z[y+10],h1=z[y+11],u1=z[y+12],i1=z[y+13],p1=z[y+14],o1=z[y+15],N=H[0],G=H[1],D=H[2],W=H[3];N=f(N,G,D,W,L,7,a[0]),W=f(W,N,G,D,w,12,a[1]),D=f(D,W,N,G,$,17,a[2]),G=f(G,D,W,N,E,22,a[3]),N=f(N,G,D,W,F,7,a[4]),W=f(W,N,G,D,M,12,a[5]),D=f(D,W,N,G,V,17,a[6]),G=f(G,D,W,N,I,22,a[7]),N=f(N,G,D,W,B,7,a[8]),W=f(W,N,G,D,t1,12,a[9]),D=f(D,W,N,G,e1,17,a[10]),G=f(G,D,W,N,h1,22,a[11]),N=f(N,G,D,W,u1,7,a[12]),W=f(W,N,G,D,i1,12,a[13]),D=f(D,W,N,G,p1,17,a[14]),G=f(G,D,W,N,o1,22,a[15]),N=l(N,G,D,W,w,5,a[16]),W=l(W,N,G,D,V,9,a[17]),D=l(D,W,N,G,h1,14,a[18]),G=l(G,D,W,N,L,20,a[19]),N=l(N,G,D,W,M,5,a[20]),W=l(W,N,G,D,e1,9,a[21]),D=l(D,W,N,G,o1,14,a[22]),G=l(G,D,W,N,F,20,a[23]),N=l(N,G,D,W,t1,5,a[24]),W=l(W,N,G,D,p1,9,a[25]),D=l(D,W,N,G,E,14,a[26]),G=l(G,D,W,N,B,20,a[27]),N=l(N,G,D,W,i1,5,a[28]),W=l(W,N,G,D,$,9,a[29]),D=l(D,W,N,G,I,14,a[30]),G=l(G,D,W,N,u1,20,a[31]),N=m(N,G,D,W,M,4,a[32]),W=m(W,N,G,D,B,11,a[33]),D=m(D,W,N,G,h1,16,a[34]),G=m(G,D,W,N,p1,23,a[35]),N=m(N,G,D,W,w,4,a[36]),W=m(W,N,G,D,F,11,a[37]),D=m(D,W,N,G,I,16,a[38]),G=m(G,D,W,N,e1,23,a[39]),N=m(N,G,D,W,i1,4,a[40]),W=m(W,N,G,D,L,11,a[41]),D=m(D,W,N,G,E,16,a[42]),G=m(G,D,W,N,V,23,a[43]),N=m(N,G,D,W,t1,4,a[44]),W=m(W,N,G,D,u1,11,a[45]),D=m(D,W,N,G,o1,16,a[46]),G=m(G,D,W,N,$,23,a[47]),N=d(N,G,D,W,L,6,a[48]),W=d(W,N,G,D,I,10,a[49]),D=d(D,W,N,G,p1,15,a[50]),G=d(G,D,W,N,M,21,a[51]),N=d(N,G,D,W,u1,6,a[52]),W=d(W,N,G,D,E,10,a[53]),D=d(D,W,N,G,e1,15,a[54]),G=d(G,D,W,N,w,21,a[55]),N=d(N,G,D,W,B,6,a[56]),W=d(W,N,G,D,o1,10,a[57]),D=d(D,W,N,G,V,15,a[58]),G=d(G,D,W,N,i1,21,a[59]),N=d(N,G,D,W,F,6,a[60]),W=d(W,N,G,D,h1,10,a[61]),D=d(D,W,N,G,$,15,a[62]),G=d(G,D,W,N,t1,21,a[63]),H[0]=H[0]+N|0,H[1]=H[1]+G|0,H[2]=H[2]+D|0,H[3]=H[3]+W|0},_doFinalize:function(){var z=this._data,y=z.words,S=this._nDataBytes*8,x=z.sigBytes*8;y[x>>>5]|=128<<24-x%32;var _=t.floor(S/4294967296),H=S;y[(x+64>>>9<<4)+15]=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360,y[(x+64>>>9<<4)+14]=(H<<8|H>>>24)&16711935|(H<<24|H>>>8)&4278255360,z.sigBytes=(y.length+1)*4,this._process();for(var L=this._hash,w=L.words,$=0;$<4;$++){var E=w[$];w[$]=(E<<8|E>>>24)&16711935|(E<<24|E>>>8)&4278255360}return L},clone:function(){var z=v.clone.call(this);return z._hash=this._hash.clone(),z}});function f(z,y,S,x,_,H,L){var w=z+(y&S|~y&x)+_+L;return(w<>>32-H)+y}function l(z,y,S,x,_,H,L){var w=z+(y&x|S&~x)+_+L;return(w<>>32-H)+y}function m(z,y,S,x,_,H,L){var w=z+(y^S^x)+_+L;return(w<>>32-H)+y}function d(z,y,S,x,_,H,L){var w=z+(S^(y|~x))+_+L;return(w<>>32-H)+y}o.MD5=v._createHelper(s),o.HmacMD5=v._createHmacHelper(s)}(Math),r.MD5})}(V6)),V6.exports}var E6={exports:{}},Oe;function T6(){return Oe||(Oe=1,function(c,e){(function(r,t){c.exports=t(g2())})(T1,function(r){return function(){var t=r,o=t.lib,n=o.WordArray,b=o.Hasher,v=t.algo,h=[],a=v.SHA1=b.extend({_doReset:function(){this._hash=new n.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(s,f){for(var l=this._hash.words,m=l[0],d=l[1],z=l[2],y=l[3],S=l[4],x=0;x<80;x++){if(x<16)h[x]=s[f+x]|0;else{var _=h[x-3]^h[x-8]^h[x-14]^h[x-16];h[x]=_<<1|_>>>31}var H=(m<<5|m>>>27)+S+h[x];x<20?H+=(d&z|~d&y)+1518500249:x<40?H+=(d^z^y)+1859775393:x<60?H+=(d&z|d&y|z&y)-1894007588:H+=(d^z^y)-899497514,S=y,y=z,z=d<<30|d>>>2,d=m,m=H}l[0]=l[0]+m|0,l[1]=l[1]+d|0,l[2]=l[2]+z|0,l[3]=l[3]+y|0,l[4]=l[4]+S|0},_doFinalize:function(){var s=this._data,f=s.words,l=this._nDataBytes*8,m=s.sigBytes*8;return f[m>>>5]|=128<<24-m%32,f[(m+64>>>9<<4)+14]=Math.floor(l/4294967296),f[(m+64>>>9<<4)+15]=l,s.sigBytes=f.length*4,this._process(),this._hash},clone:function(){var s=b.clone.call(this);return s._hash=this._hash.clone(),s}});t.SHA1=b._createHelper(a),t.HmacSHA1=b._createHmacHelper(a)}(),r.SHA1})}(E6)),E6.exports}var A6={exports:{}},Be;function Ie(){return Be||(Be=1,function(c,e){(function(r,t){c.exports=t(g2())})(T1,function(r){return function(t){var o=r,n=o.lib,b=n.WordArray,v=n.Hasher,h=o.algo,a=[],s=[];(function(){function m(S){for(var x=t.sqrt(S),_=2;_<=x;_++)if(!(S%_))return!1;return!0}function d(S){return(S-(S|0))*4294967296|0}for(var z=2,y=0;y<64;)m(z)&&(y<8&&(a[y]=d(t.pow(z,1/2))),s[y]=d(t.pow(z,1/3)),y++),z++})();var f=[],l=h.SHA256=v.extend({_doReset:function(){this._hash=new b.init(a.slice(0))},_doProcessBlock:function(m,d){for(var z=this._hash.words,y=z[0],S=z[1],x=z[2],_=z[3],H=z[4],L=z[5],w=z[6],$=z[7],E=0;E<64;E++){if(E<16)f[E]=m[d+E]|0;else{var F=f[E-15],M=(F<<25|F>>>7)^(F<<14|F>>>18)^F>>>3,V=f[E-2],I=(V<<15|V>>>17)^(V<<13|V>>>19)^V>>>10;f[E]=M+f[E-7]+I+f[E-16]}var B=H&L^~H&w,t1=y&S^y&x^S&x,e1=(y<<30|y>>>2)^(y<<19|y>>>13)^(y<<10|y>>>22),h1=(H<<26|H>>>6)^(H<<21|H>>>11)^(H<<7|H>>>25),u1=$+h1+B+s[E]+f[E],i1=e1+t1;$=w,w=L,L=H,H=_+u1|0,_=x,x=S,S=y,y=u1+i1|0}z[0]=z[0]+y|0,z[1]=z[1]+S|0,z[2]=z[2]+x|0,z[3]=z[3]+_|0,z[4]=z[4]+H|0,z[5]=z[5]+L|0,z[6]=z[6]+w|0,z[7]=z[7]+$|0},_doFinalize:function(){var m=this._data,d=m.words,z=this._nDataBytes*8,y=m.sigBytes*8;return d[y>>>5]|=128<<24-y%32,d[(y+64>>>9<<4)+14]=t.floor(z/4294967296),d[(y+64>>>9<<4)+15]=z,m.sigBytes=d.length*4,this._process(),this._hash},clone:function(){var m=v.clone.call(this);return m._hash=this._hash.clone(),m}});o.SHA256=v._createHelper(l),o.HmacSHA256=v._createHmacHelper(l)}(Math),r.SHA256})}(A6)),A6.exports}var q6={exports:{}},je;function y5(){return je||(je=1,function(c,e){(function(r,t,o){c.exports=t(g2(),Ie())})(T1,function(r){return function(){var t=r,o=t.lib,n=o.WordArray,b=t.algo,v=b.SHA256,h=b.SHA224=v.extend({_doReset:function(){this._hash=new n.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var a=v._doFinalize.call(this);return a.sigBytes-=4,a}});t.SHA224=v._createHelper(h),t.HmacSHA224=v._createHmacHelper(h)}(),r.SHA224})}(q6)),q6.exports}var P6={exports:{}},Fe;function Ne(){return Fe||(Fe=1,function(c,e){(function(r,t,o){c.exports=t(g2(),Z4())})(T1,function(r){return function(){var t=r,o=t.lib,n=o.Hasher,b=t.x64,v=b.Word,h=b.WordArray,a=t.algo;function s(){return v.create.apply(v,arguments)}var f=[s(1116352408,3609767458),s(1899447441,602891725),s(3049323471,3964484399),s(3921009573,2173295548),s(961987163,4081628472),s(1508970993,3053834265),s(2453635748,2937671579),s(2870763221,3664609560),s(3624381080,2734883394),s(310598401,1164996542),s(607225278,1323610764),s(1426881987,3590304994),s(1925078388,4068182383),s(2162078206,991336113),s(2614888103,633803317),s(3248222580,3479774868),s(3835390401,2666613458),s(4022224774,944711139),s(264347078,2341262773),s(604807628,2007800933),s(770255983,1495990901),s(1249150122,1856431235),s(1555081692,3175218132),s(1996064986,2198950837),s(2554220882,3999719339),s(2821834349,766784016),s(2952996808,2566594879),s(3210313671,3203337956),s(3336571891,1034457026),s(3584528711,2466948901),s(113926993,3758326383),s(338241895,168717936),s(666307205,1188179964),s(773529912,1546045734),s(1294757372,1522805485),s(1396182291,2643833823),s(1695183700,2343527390),s(1986661051,1014477480),s(2177026350,1206759142),s(2456956037,344077627),s(2730485921,1290863460),s(2820302411,3158454273),s(3259730800,3505952657),s(3345764771,106217008),s(3516065817,3606008344),s(3600352804,1432725776),s(4094571909,1467031594),s(275423344,851169720),s(430227734,3100823752),s(506948616,1363258195),s(659060556,3750685593),s(883997877,3785050280),s(958139571,3318307427),s(1322822218,3812723403),s(1537002063,2003034995),s(1747873779,3602036899),s(1955562222,1575990012),s(2024104815,1125592928),s(2227730452,2716904306),s(2361852424,442776044),s(2428436474,593698344),s(2756734187,3733110249),s(3204031479,2999351573),s(3329325298,3815920427),s(3391569614,3928383900),s(3515267271,566280711),s(3940187606,3454069534),s(4118630271,4000239992),s(116418474,1914138554),s(174292421,2731055270),s(289380356,3203993006),s(460393269,320620315),s(685471733,587496836),s(852142971,1086792851),s(1017036298,365543100),s(1126000580,2618297676),s(1288033470,3409855158),s(1501505948,4234509866),s(1607167915,987167468),s(1816402316,1246189591)],l=[];(function(){for(var d=0;d<80;d++)l[d]=s()})();var m=a.SHA512=n.extend({_doReset:function(){this._hash=new h.init([new v.init(1779033703,4089235720),new v.init(3144134277,2227873595),new v.init(1013904242,4271175723),new v.init(2773480762,1595750129),new v.init(1359893119,2917565137),new v.init(2600822924,725511199),new v.init(528734635,4215389547),new v.init(1541459225,327033209)])},_doProcessBlock:function(d,z){for(var y=this._hash.words,S=y[0],x=y[1],_=y[2],H=y[3],L=y[4],w=y[5],$=y[6],E=y[7],F=S.high,M=S.low,V=x.high,I=x.low,B=_.high,t1=_.low,e1=H.high,h1=H.low,u1=L.high,i1=L.low,p1=w.high,o1=w.low,N=$.high,G=$.low,D=E.high,W=E.low,z1=F,_1=M,S1=V,s1=I,w1=B,R1=t1,B1=e1,P1=h1,O1=u1,I1=i1,N1=p1,s2=o1,t2=N,i2=G,l2=D,a2=W,U1=0;U1<80;U1++){var W1,Y1,r2=l[U1];if(U1<16)Y1=r2.high=d[z+U1*2]|0,W1=r2.low=d[z+U1*2+1]|0;else{var J=l[U1-15],b1=J.high,Q=J.low,g1=(b1>>>1|Q<<31)^(b1>>>8|Q<<24)^b1>>>7,m2=(Q>>>1|b1<<31)^(Q>>>8|b1<<24)^(Q>>>7|b1<<25),S2=l[U1-2],z2=S2.high,w2=S2.low,U2=(z2>>>19|w2<<13)^(z2<<3|w2>>>29)^z2>>>6,d2=(w2>>>19|z2<<13)^(w2<<3|z2>>>29)^(w2>>>6|z2<<26),H2=l[U1-7],A2=H2.high,x2=H2.low,L2=l[U1-16],O2=L2.high,h2=L2.low;W1=m2+x2,Y1=g1+A2+(W1>>>0>>0?1:0),W1=W1+d2,Y1=Y1+U2+(W1>>>0>>0?1:0),W1=W1+h2,Y1=Y1+O2+(W1>>>0

>>0?1:0),r2.high=Y1,r2.low=W1}var E2=O1&N1^~O1&t2,M2=I1&s2^~I1&i2,Z2=z1&S1^z1&w1^S1&w1,t0=_1&s1^_1&R1^s1&R1,F2=(z1>>>28|_1<<4)^(z1<<30|_1>>>2)^(z1<<25|_1>>>7),B2=(_1>>>28|z1<<4)^(_1<<30|z1>>>2)^(_1<<25|z1>>>7),r0=(O1>>>14|I1<<18)^(O1>>>18|I1<<14)^(O1<<23|I1>>>9),c0=(I1>>>14|O1<<18)^(I1>>>18|O1<<14)^(I1<<23|O1>>>9),Y2=f[U1],R2=Y2.high,b0=Y2.low,b2=a2+c0,$2=l2+r0+(b2>>>0>>0?1:0),b2=b2+M2,$2=$2+E2+(b2>>>0>>0?1:0),b2=b2+b0,$2=$2+R2+(b2>>>0>>0?1:0),b2=b2+W1,$2=$2+Y1+(b2>>>0>>0?1:0),K2=B2+t0,y0=F2+Z2+(K2>>>0>>0?1:0);l2=t2,a2=i2,t2=N1,i2=s2,N1=O1,s2=I1,I1=P1+b2|0,O1=B1+$2+(I1>>>0>>0?1:0)|0,B1=w1,P1=R1,w1=S1,R1=s1,S1=z1,s1=_1,_1=b2+K2|0,z1=$2+y0+(_1>>>0>>0?1:0)|0}M=S.low=M+_1,S.high=F+z1+(M>>>0<_1>>>0?1:0),I=x.low=I+s1,x.high=V+S1+(I>>>0>>0?1:0),t1=_.low=t1+R1,_.high=B+w1+(t1>>>0>>0?1:0),h1=H.low=h1+P1,H.high=e1+B1+(h1>>>0>>0?1:0),i1=L.low=i1+I1,L.high=u1+O1+(i1>>>0>>0?1:0),o1=w.low=o1+s2,w.high=p1+N1+(o1>>>0>>0?1:0),G=$.low=G+i2,$.high=N+t2+(G>>>0>>0?1:0),W=E.low=W+a2,E.high=D+l2+(W>>>0>>0?1:0)},_doFinalize:function(){var d=this._data,z=d.words,y=this._nDataBytes*8,S=d.sigBytes*8;z[S>>>5]|=128<<24-S%32,z[(S+128>>>10<<5)+30]=Math.floor(y/4294967296),z[(S+128>>>10<<5)+31]=y,d.sigBytes=z.length*4,this._process();var x=this._hash.toX32();return x},clone:function(){var d=n.clone.call(this);return d._hash=this._hash.clone(),d},blockSize:1024/32});t.SHA512=n._createHelper(m),t.HmacSHA512=n._createHmacHelper(m)}(),r.SHA512})}(P6)),P6.exports}var k6={exports:{}},De;function L5(){return De||(De=1,function(c,e){(function(r,t,o){c.exports=t(g2(),Z4(),Ne())})(T1,function(r){return function(){var t=r,o=t.x64,n=o.Word,b=o.WordArray,v=t.algo,h=v.SHA512,a=v.SHA384=h.extend({_doReset:function(){this._hash=new b.init([new n.init(3418070365,3238371032),new n.init(1654270250,914150663),new n.init(2438529370,812702999),new n.init(355462360,4144912697),new n.init(1731405415,4290775857),new n.init(2394180231,1750603025),new n.init(3675008525,1694076839),new n.init(1203062813,3204075428)])},_doFinalize:function(){var s=h._doFinalize.call(this);return s.sigBytes-=16,s}});t.SHA384=h._createHelper(a),t.HmacSHA384=h._createHmacHelper(a)}(),r.SHA384})}(k6)),k6.exports}var O6={exports:{}},We;function H5(){return We||(We=1,function(c,e){(function(r,t,o){c.exports=t(g2(),Z4())})(T1,function(r){return function(t){var o=r,n=o.lib,b=n.WordArray,v=n.Hasher,h=o.x64,a=h.Word,s=o.algo,f=[],l=[],m=[];(function(){for(var y=1,S=0,x=0;x<24;x++){f[y+5*S]=(x+1)*(x+2)/2%64;var _=S%5,H=(2*y+3*S)%5;y=_,S=H}for(var y=0;y<5;y++)for(var S=0;S<5;S++)l[y+5*S]=S+(2*y+3*S)%5*5;for(var L=1,w=0;w<24;w++){for(var $=0,E=0,F=0;F<7;F++){if(L&1){var M=(1<>>24)&16711935|(L<<24|L>>>8)&4278255360,w=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360;var $=x[H];$.high^=w,$.low^=L}for(var E=0;E<24;E++){for(var F=0;F<5;F++){for(var M=0,V=0,I=0;I<5;I++){var $=x[F+5*I];M^=$.high,V^=$.low}var B=d[F];B.high=M,B.low=V}for(var F=0;F<5;F++)for(var t1=d[(F+4)%5],e1=d[(F+1)%5],h1=e1.high,u1=e1.low,M=t1.high^(h1<<1|u1>>>31),V=t1.low^(u1<<1|h1>>>31),I=0;I<5;I++){var $=x[F+5*I];$.high^=M,$.low^=V}for(var i1=1;i1<25;i1++){var M,V,$=x[i1],p1=$.high,o1=$.low,N=f[i1];N<32?(M=p1<>>32-N,V=o1<>>32-N):(M=o1<>>64-N,V=p1<>>64-N);var G=d[l[i1]];G.high=M,G.low=V}var D=d[0],W=x[0];D.high=W.high,D.low=W.low;for(var F=0;F<5;F++)for(var I=0;I<5;I++){var i1=F+5*I,$=x[i1],z1=d[i1],_1=d[(F+1)%5+5*I],S1=d[(F+2)%5+5*I];$.high=z1.high^~_1.high&S1.high,$.low=z1.low^~_1.low&S1.low}var $=x[0],s1=m[E];$.high^=s1.high,$.low^=s1.low}},_doFinalize:function(){var y=this._data,S=y.words;this._nDataBytes*8;var x=y.sigBytes*8,_=this.blockSize*32;S[x>>>5]|=1<<24-x%32,S[(t.ceil((x+1)/_)*_>>>5)-1]|=128,y.sigBytes=S.length*4,this._process();for(var H=this._state,L=this.cfg.outputLength/8,w=L/8,$=[],E=0;E>>24)&16711935|(M<<24|M>>>8)&4278255360,V=(V<<8|V>>>24)&16711935|(V<<24|V>>>8)&4278255360,$.push(V),$.push(M)}return new b.init($,L)},clone:function(){for(var y=v.clone.call(this),S=y._state=this._state.slice(0),x=0;x<25;x++)S[x]=S[x].clone();return y}});o.SHA3=v._createHelper(z),o.HmacSHA3=v._createHmacHelper(z)}(Math),r.SHA3})}(O6)),O6.exports}var B6={exports:{}},Ge;function M5(){return Ge||(Ge=1,function(c,e){(function(r,t){c.exports=t(g2())})(T1,function(r){/** @preserve +}`,f=`__svelte_${f5(s)}_${v}`,l=ge(c),{stylesheet:m,rules:d}=F4.get(l)||h5(l,c);d[f]||(d[f]=!0,m.insertRule(`@keyframes ${f} ${s}`,m.cssRules.length));const z=c.style.animation||"";return c.style.animation=`${z?`${z}, `:""}${f} ${t}ms linear ${o}ms 1 both`,N4+=1,f}function b6(c,e){const r=(c.style.animation||"").split(", "),t=r.filter(e?n=>n.indexOf(e)<0:n=>n.indexOf("__svelte")===-1),o=r.length-t.length;o&&(c.style.animation=t.join(", "),N4-=o,N4||v5())}function v5(){d6(()=>{N4||(F4.forEach(c=>{const{stylesheet:e}=c;let r=e.cssRules.length;for(;r--;)e.deleteRule(r);c.rules={}}),F4.clear())})}let w4;function J0(c){w4=c}function Ce(){if(!w4)throw new Error("Function called outside component initialization");return w4}function p5(c){Ce().$$.on_mount.push(c)}const $4=[],ye=[],D4=[],Le=[],m5=Promise.resolve();let x6=!1;function d5(){x6||(x6=!0,m5.then(_6))}function n4(c){D4.push(c)}const g6=new Set;let W4=0;function _6(){const c=w4;do{for(;W4<$4.length;){const e=$4[W4];W4++,J0(e),b5(e.$$)}for(J0(null),$4.length=0,W4=0;ye.length;)ye.pop()();for(let e=0;e{V4=null})),V4}function G4(c,e,r){c.dispatchEvent(u5(`${e?"intro":"outro"}${r}`))}const U4=new Set;let a4;function l4(){a4={r:0,c:[],p:a4}}function u4(){a4.r||H0(a4.c),a4=a4.p}function m1(c,e){c&&c.i&&(U4.delete(c),c.i(e))}function d1(c,e,r,t){if(c&&c.o){if(U4.has(c))return;U4.add(c),a4.c.push(()=>{U4.delete(c),t&&(r&&c.d(1),t())}),c.o(e)}else t&&t()}const Me={duration:0};function z6(c,e,r){let t=e(c,r),o=!1,n,b,v=0;function h(){n&&b6(c,n)}function a(){const{delay:f=0,duration:l=300,easing:m=fe,tick:d=E1,css:z}=t||Me;z&&(n=ze(c,0,1,l,f,m,z,v++)),d(0,1);const y=de()+f,S=y+l;b&&b.abort(),o=!0,n4(()=>G4(c,!0,"start")),b=xe(x=>{if(o){if(x>=S)return d(1,0),G4(c,!0,"end"),h(),o=!1;if(x>=y){const _=m((x-y)/l);d(_,1-_)}}return o})}let s=!1;return{start(){s||(s=!0,b6(c),f6(t)?(t=t(),He().then(a)):a())},invalidate(){s=!1},end(){o&&(h(),o=!1)}}}function C6(c,e,r){let t=e(c,r),o=!0,n;const b=a4;b.r+=1;function v(){const{delay:h=0,duration:a=300,easing:s=fe,tick:f=E1,css:l}=t||Me;l&&(n=ze(c,1,0,a,h,s,l));const m=de()+h,d=m+a;n4(()=>G4(c,!1,"start")),xe(z=>{if(o){if(z>=d)return f(0,1),G4(c,!1,"end"),--b.r||H0(b.c),!1;if(z>=m){const y=s((z-m)/a);f(1-y,y)}}return o})}return f6(t)?He().then(()=>{t=t(),v()}):v(),{end(h){h&&t.tick&&t.tick(1,0),o&&(n&&b6(c,n),o=!1)}}}function y6(c,e){const r=e.token={};function t(o,n,b,v){if(e.token!==r)return;e.resolved=v;let h=e.ctx;b!==void 0&&(h=h.slice(),h[b]=v);const a=o&&(e.current=o)(h);let s=!1;e.block&&(e.blocks?e.blocks.forEach((f,l)=>{l!==n&&f&&(l4(),d1(f,1,1,()=>{e.blocks[l]===f&&(e.blocks[l]=null)}),u4())}):e.block.d(1),a.c(),m1(a,1),a.m(e.mount(),e.anchor),s=!0),e.block=a,e.blocks&&(e.blocks[n]=a),s&&_6()}if(o5(c)){const o=Ce();if(c.then(n=>{J0(o),t(e.then,1,e.value,n),J0(null)},n=>{if(J0(o),t(e.catch,2,e.error,n),J0(null),!e.hasCatch)throw n}),e.current!==e.pending)return t(e.pending,0),!0}else{if(e.current!==e.then)return t(e.then,1,e.value,c),!0;e.resolved=c}}function Re(c,e,r){const t=e.slice(),{resolved:o}=c;c.current===c.then&&(t[c.value]=o),c.current===c.catch&&(t[c.error]=o),c.block.p(t,r)}function L6(c,e){const r={},t={},o={$$scope:1};let n=c.length;for(;n--;){const b=c[n],v=e[n];if(v){for(const h in b)h in v||(t[h]=1);for(const h in v)o[h]||(r[h]=v[h],o[h]=1);c[n]=v}else for(const h in b)o[h]=1}for(const b in t)b in r||(r[b]=void 0);return r}function Se(c){return typeof c=="object"&&c!==null?c:{}}function H1(c){c&&c.c()}function C1(c,e,r,t){const{fragment:o,on_mount:n,on_destroy:b,after_update:v}=c.$$;o&&o.m(e,r),t||n4(()=>{const h=n.map(he).filter(f6);b?b.push(...h):H0(h),c.$$.on_mount=[]}),v.forEach(n4)}function y1(c,e){const r=c.$$;r.fragment!==null&&(H0(r.on_destroy),r.fragment&&r.fragment.d(e),r.on_destroy=r.fragment=null,r.ctx=[])}function x5(c,e){c.$$.dirty[0]===-1&&($4.push(c),d5(),c.$$.dirty.fill(0)),c.$$.dirty[e/31|0]|=1<{const d=m.length?m[0]:l;return a.ctx&&o(a.ctx[f],a.ctx[f]=d)&&(!a.skip_bound&&a.bound[f]&&a.bound[f](d),s&&x5(c,f)),l}):[],a.update(),s=!0,H0(a.before_update),a.fragment=t?t(a.ctx):!1,e.target){if(e.hydrate){const f=l5(e.target);a.fragment&&a.fragment.l(f),f.forEach(Z)}else a.fragment&&a.fragment.c();e.intro&&m1(c.$$.fragment),C1(c,e.target,e.anchor,e.customElement),_6()}J0(h)}class e2{$destroy(){y1(this,1),this.$destroy=E1}$on(e,r){const t=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return t.push(r),()=>{const o=t.indexOf(r);o!==-1&&t.splice(o,1)}}$set(e){this.$$set&&!n5(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}var A1=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function g5(c){var e=c.default;if(typeof e=="function"){var r=function(){return e.apply(this,arguments)};r.prototype=e.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(c).forEach(function(t){var o=Object.getOwnPropertyDescriptor(c,t);Object.defineProperty(r,t,o.get?o:{enumerable:!0,get:function(){return c[t]}})}),r}var we={exports:{}};function B0(c){throw new Error('Could not dynamically require "'+c+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var H6={exports:{}};const $e=g5(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var Ve;function g2(){return Ve||(Ve=1,function(c,e){(function(r,t){c.exports=t()})(A1,function(){var r=r||function(t,o){var n;if(typeof window<"u"&&window.crypto&&(n=window.crypto),typeof self<"u"&&self.crypto&&(n=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(n=globalThis.crypto),!n&&typeof window<"u"&&window.msCrypto&&(n=window.msCrypto),!n&&typeof A1<"u"&&A1.crypto&&(n=A1.crypto),!n&&typeof B0=="function")try{n=$e}catch{}var b=function(){if(n){if(typeof n.getRandomValues=="function")try{return n.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof n.randomBytes=="function")try{return n.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},v=Object.create||function(){function x(){}return function(_){var H;return x.prototype=_,H=new x,x.prototype=null,H}}(),h={},a=h.lib={},s=a.Base=function(){return{extend:function(x){var _=v(this);return x&&_.mixIn(x),(!_.hasOwnProperty("init")||this.init===_.init)&&(_.init=function(){_.$super.init.apply(this,arguments)}),_.init.prototype=_,_.$super=this,_},create:function(){var x=this.extend();return x.init.apply(x,arguments),x},init:function(){},mixIn:function(x){for(var _ in x)x.hasOwnProperty(_)&&(this[_]=x[_]);x.hasOwnProperty("toString")&&(this.toString=x.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),f=a.WordArray=s.extend({init:function(x,_){x=this.words=x||[],_!=o?this.sigBytes=_:this.sigBytes=x.length*4},toString:function(x){return(x||m).stringify(this)},concat:function(x){var _=this.words,H=x.words,L=this.sigBytes,w=x.sigBytes;if(this.clamp(),L%4)for(var $=0;$>>2]>>>24-$%4*8&255;_[L+$>>>2]|=E<<24-(L+$)%4*8}else for(var F=0;F>>2]=H[F>>>2];return this.sigBytes+=w,this},clamp:function(){var x=this.words,_=this.sigBytes;x[_>>>2]&=4294967295<<32-_%4*8,x.length=t.ceil(_/4)},clone:function(){var x=s.clone.call(this);return x.words=this.words.slice(0),x},random:function(x){for(var _=[],H=0;H>>2]>>>24-w%4*8&255;L.push(($>>>4).toString(16)),L.push(($&15).toString(16))}return L.join("")},parse:function(x){for(var _=x.length,H=[],L=0;L<_;L+=2)H[L>>>3]|=parseInt(x.substr(L,2),16)<<24-L%8*4;return new f.init(H,_/2)}},d=l.Latin1={stringify:function(x){for(var _=x.words,H=x.sigBytes,L=[],w=0;w>>2]>>>24-w%4*8&255;L.push(String.fromCharCode($))}return L.join("")},parse:function(x){for(var _=x.length,H=[],L=0;L<_;L++)H[L>>>2]|=(x.charCodeAt(L)&255)<<24-L%4*8;return new f.init(H,_)}},z=l.Utf8={stringify:function(x){try{return decodeURIComponent(escape(d.stringify(x)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(x){return d.parse(unescape(encodeURIComponent(x)))}},y=a.BufferedBlockAlgorithm=s.extend({reset:function(){this._data=new f.init,this._nDataBytes=0},_append:function(x){typeof x=="string"&&(x=z.parse(x)),this._data.concat(x),this._nDataBytes+=x.sigBytes},_process:function(x){var _,H=this._data,L=H.words,w=H.sigBytes,$=this.blockSize,E=$*4,F=w/E;x?F=t.ceil(F):F=t.max((F|0)-this._minBufferSize,0);var M=F*$,V=t.min(M*4,w);if(M){for(var I=0;I>>2]|=h[f]<<24-f%4*8;b.call(this,s,a)}else b.apply(this,arguments)};v.prototype=n}}(),r.lib.WordArray})}(R6)),R6.exports}var S6={exports:{}},Te;function z5(){return Te||(Te=1,function(c,e){(function(r,t){c.exports=t(g2())})(A1,function(r){return function(){var t=r,o=t.lib,n=o.WordArray,b=t.enc;b.Utf16=b.Utf16BE={stringify:function(h){for(var a=h.words,s=h.sigBytes,f=[],l=0;l>>2]>>>16-l%4*8&65535;f.push(String.fromCharCode(m))}return f.join("")},parse:function(h){for(var a=h.length,s=[],f=0;f>>1]|=h.charCodeAt(f)<<16-f%2*16;return n.create(s,a*2)}},b.Utf16LE={stringify:function(h){for(var a=h.words,s=h.sigBytes,f=[],l=0;l>>2]>>>16-l%4*8&65535);f.push(String.fromCharCode(m))}return f.join("")},parse:function(h){for(var a=h.length,s=[],f=0;f>>1]|=v(h.charCodeAt(f)<<16-f%2*16);return n.create(s,a*2)}};function v(h){return h<<8&4278255360|h>>>8&16711935}}(),r.enc.Utf16})}(S6)),S6.exports}var w6={exports:{}},qe;function d4(){return qe||(qe=1,function(c,e){(function(r,t){c.exports=t(g2())})(A1,function(r){return function(){var t=r,o=t.lib,n=o.WordArray,b=t.enc;b.Base64={stringify:function(h){var a=h.words,s=h.sigBytes,f=this._map;h.clamp();for(var l=[],m=0;m>>2]>>>24-m%4*8&255,z=a[m+1>>>2]>>>24-(m+1)%4*8&255,y=a[m+2>>>2]>>>24-(m+2)%4*8&255,S=d<<16|z<<8|y,x=0;x<4&&m+x*.75>>6*(3-x)&63));var _=f.charAt(64);if(_)for(;l.length%4;)l.push(_);return l.join("")},parse:function(h){var a=h.length,s=this._map,f=this._reverseMap;if(!f){f=this._reverseMap=[];for(var l=0;l>>6-m%4*2,y=d|z;f[l>>>2]|=y<<24-l%4*8,l++}return n.create(f,l)}}(),r.enc.Base64})}(w6)),w6.exports}var $6={exports:{}},Pe;function C5(){return Pe||(Pe=1,function(c,e){(function(r,t){c.exports=t(g2())})(A1,function(r){return function(){var t=r,o=t.lib,n=o.WordArray,b=t.enc;b.Base64url={stringify:function(h,a=!0){var s=h.words,f=h.sigBytes,l=a?this._safe_map:this._map;h.clamp();for(var m=[],d=0;d>>2]>>>24-d%4*8&255,y=s[d+1>>>2]>>>24-(d+1)%4*8&255,S=s[d+2>>>2]>>>24-(d+2)%4*8&255,x=z<<16|y<<8|S,_=0;_<4&&d+_*.75>>6*(3-_)&63));var H=l.charAt(64);if(H)for(;m.length%4;)m.push(H);return m.join("")},parse:function(h,a=!0){var s=h.length,f=a?this._safe_map:this._map,l=this._reverseMap;if(!l){l=this._reverseMap=[];for(var m=0;m>>6-m%4*2,y=d|z;f[l>>>2]|=y<<24-l%4*8,l++}return n.create(f,l)}}(),r.enc.Base64url})}($6)),$6.exports}var V6={exports:{}},ke;function b4(){return ke||(ke=1,function(c,e){(function(r,t){c.exports=t(g2())})(A1,function(r){return function(t){var o=r,n=o.lib,b=n.WordArray,v=n.Hasher,h=o.algo,a=[];(function(){for(var z=0;z<64;z++)a[z]=t.abs(t.sin(z+1))*4294967296|0})();var s=h.MD5=v.extend({_doReset:function(){this._hash=new b.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(z,y){for(var S=0;S<16;S++){var x=y+S,_=z[x];z[x]=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360}var H=this._hash.words,L=z[y+0],w=z[y+1],$=z[y+2],E=z[y+3],F=z[y+4],M=z[y+5],V=z[y+6],I=z[y+7],B=z[y+8],t1=z[y+9],e1=z[y+10],h1=z[y+11],u1=z[y+12],i1=z[y+13],p1=z[y+14],o1=z[y+15],N=H[0],G=H[1],D=H[2],W=H[3];N=f(N,G,D,W,L,7,a[0]),W=f(W,N,G,D,w,12,a[1]),D=f(D,W,N,G,$,17,a[2]),G=f(G,D,W,N,E,22,a[3]),N=f(N,G,D,W,F,7,a[4]),W=f(W,N,G,D,M,12,a[5]),D=f(D,W,N,G,V,17,a[6]),G=f(G,D,W,N,I,22,a[7]),N=f(N,G,D,W,B,7,a[8]),W=f(W,N,G,D,t1,12,a[9]),D=f(D,W,N,G,e1,17,a[10]),G=f(G,D,W,N,h1,22,a[11]),N=f(N,G,D,W,u1,7,a[12]),W=f(W,N,G,D,i1,12,a[13]),D=f(D,W,N,G,p1,17,a[14]),G=f(G,D,W,N,o1,22,a[15]),N=l(N,G,D,W,w,5,a[16]),W=l(W,N,G,D,V,9,a[17]),D=l(D,W,N,G,h1,14,a[18]),G=l(G,D,W,N,L,20,a[19]),N=l(N,G,D,W,M,5,a[20]),W=l(W,N,G,D,e1,9,a[21]),D=l(D,W,N,G,o1,14,a[22]),G=l(G,D,W,N,F,20,a[23]),N=l(N,G,D,W,t1,5,a[24]),W=l(W,N,G,D,p1,9,a[25]),D=l(D,W,N,G,E,14,a[26]),G=l(G,D,W,N,B,20,a[27]),N=l(N,G,D,W,i1,5,a[28]),W=l(W,N,G,D,$,9,a[29]),D=l(D,W,N,G,I,14,a[30]),G=l(G,D,W,N,u1,20,a[31]),N=m(N,G,D,W,M,4,a[32]),W=m(W,N,G,D,B,11,a[33]),D=m(D,W,N,G,h1,16,a[34]),G=m(G,D,W,N,p1,23,a[35]),N=m(N,G,D,W,w,4,a[36]),W=m(W,N,G,D,F,11,a[37]),D=m(D,W,N,G,I,16,a[38]),G=m(G,D,W,N,e1,23,a[39]),N=m(N,G,D,W,i1,4,a[40]),W=m(W,N,G,D,L,11,a[41]),D=m(D,W,N,G,E,16,a[42]),G=m(G,D,W,N,V,23,a[43]),N=m(N,G,D,W,t1,4,a[44]),W=m(W,N,G,D,u1,11,a[45]),D=m(D,W,N,G,o1,16,a[46]),G=m(G,D,W,N,$,23,a[47]),N=d(N,G,D,W,L,6,a[48]),W=d(W,N,G,D,I,10,a[49]),D=d(D,W,N,G,p1,15,a[50]),G=d(G,D,W,N,M,21,a[51]),N=d(N,G,D,W,u1,6,a[52]),W=d(W,N,G,D,E,10,a[53]),D=d(D,W,N,G,e1,15,a[54]),G=d(G,D,W,N,w,21,a[55]),N=d(N,G,D,W,B,6,a[56]),W=d(W,N,G,D,o1,10,a[57]),D=d(D,W,N,G,V,15,a[58]),G=d(G,D,W,N,i1,21,a[59]),N=d(N,G,D,W,F,6,a[60]),W=d(W,N,G,D,h1,10,a[61]),D=d(D,W,N,G,$,15,a[62]),G=d(G,D,W,N,t1,21,a[63]),H[0]=H[0]+N|0,H[1]=H[1]+G|0,H[2]=H[2]+D|0,H[3]=H[3]+W|0},_doFinalize:function(){var z=this._data,y=z.words,S=this._nDataBytes*8,x=z.sigBytes*8;y[x>>>5]|=128<<24-x%32;var _=t.floor(S/4294967296),H=S;y[(x+64>>>9<<4)+15]=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360,y[(x+64>>>9<<4)+14]=(H<<8|H>>>24)&16711935|(H<<24|H>>>8)&4278255360,z.sigBytes=(y.length+1)*4,this._process();for(var L=this._hash,w=L.words,$=0;$<4;$++){var E=w[$];w[$]=(E<<8|E>>>24)&16711935|(E<<24|E>>>8)&4278255360}return L},clone:function(){var z=v.clone.call(this);return z._hash=this._hash.clone(),z}});function f(z,y,S,x,_,H,L){var w=z+(y&S|~y&x)+_+L;return(w<>>32-H)+y}function l(z,y,S,x,_,H,L){var w=z+(y&x|S&~x)+_+L;return(w<>>32-H)+y}function m(z,y,S,x,_,H,L){var w=z+(y^S^x)+_+L;return(w<>>32-H)+y}function d(z,y,S,x,_,H,L){var w=z+(S^(y|~x))+_+L;return(w<>>32-H)+y}o.MD5=v._createHelper(s),o.HmacMD5=v._createHmacHelper(s)}(Math),r.MD5})}(V6)),V6.exports}var E6={exports:{}},Oe;function A6(){return Oe||(Oe=1,function(c,e){(function(r,t){c.exports=t(g2())})(A1,function(r){return function(){var t=r,o=t.lib,n=o.WordArray,b=o.Hasher,v=t.algo,h=[],a=v.SHA1=b.extend({_doReset:function(){this._hash=new n.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(s,f){for(var l=this._hash.words,m=l[0],d=l[1],z=l[2],y=l[3],S=l[4],x=0;x<80;x++){if(x<16)h[x]=s[f+x]|0;else{var _=h[x-3]^h[x-8]^h[x-14]^h[x-16];h[x]=_<<1|_>>>31}var H=(m<<5|m>>>27)+S+h[x];x<20?H+=(d&z|~d&y)+1518500249:x<40?H+=(d^z^y)+1859775393:x<60?H+=(d&z|d&y|z&y)-1894007588:H+=(d^z^y)-899497514,S=y,y=z,z=d<<30|d>>>2,d=m,m=H}l[0]=l[0]+m|0,l[1]=l[1]+d|0,l[2]=l[2]+z|0,l[3]=l[3]+y|0,l[4]=l[4]+S|0},_doFinalize:function(){var s=this._data,f=s.words,l=this._nDataBytes*8,m=s.sigBytes*8;return f[m>>>5]|=128<<24-m%32,f[(m+64>>>9<<4)+14]=Math.floor(l/4294967296),f[(m+64>>>9<<4)+15]=l,s.sigBytes=f.length*4,this._process(),this._hash},clone:function(){var s=b.clone.call(this);return s._hash=this._hash.clone(),s}});t.SHA1=b._createHelper(a),t.HmacSHA1=b._createHmacHelper(a)}(),r.SHA1})}(E6)),E6.exports}var T6={exports:{}},Be;function Ie(){return Be||(Be=1,function(c,e){(function(r,t){c.exports=t(g2())})(A1,function(r){return function(t){var o=r,n=o.lib,b=n.WordArray,v=n.Hasher,h=o.algo,a=[],s=[];(function(){function m(S){for(var x=t.sqrt(S),_=2;_<=x;_++)if(!(S%_))return!1;return!0}function d(S){return(S-(S|0))*4294967296|0}for(var z=2,y=0;y<64;)m(z)&&(y<8&&(a[y]=d(t.pow(z,1/2))),s[y]=d(t.pow(z,1/3)),y++),z++})();var f=[],l=h.SHA256=v.extend({_doReset:function(){this._hash=new b.init(a.slice(0))},_doProcessBlock:function(m,d){for(var z=this._hash.words,y=z[0],S=z[1],x=z[2],_=z[3],H=z[4],L=z[5],w=z[6],$=z[7],E=0;E<64;E++){if(E<16)f[E]=m[d+E]|0;else{var F=f[E-15],M=(F<<25|F>>>7)^(F<<14|F>>>18)^F>>>3,V=f[E-2],I=(V<<15|V>>>17)^(V<<13|V>>>19)^V>>>10;f[E]=M+f[E-7]+I+f[E-16]}var B=H&L^~H&w,t1=y&S^y&x^S&x,e1=(y<<30|y>>>2)^(y<<19|y>>>13)^(y<<10|y>>>22),h1=(H<<26|H>>>6)^(H<<21|H>>>11)^(H<<7|H>>>25),u1=$+h1+B+s[E]+f[E],i1=e1+t1;$=w,w=L,L=H,H=_+u1|0,_=x,x=S,S=y,y=u1+i1|0}z[0]=z[0]+y|0,z[1]=z[1]+S|0,z[2]=z[2]+x|0,z[3]=z[3]+_|0,z[4]=z[4]+H|0,z[5]=z[5]+L|0,z[6]=z[6]+w|0,z[7]=z[7]+$|0},_doFinalize:function(){var m=this._data,d=m.words,z=this._nDataBytes*8,y=m.sigBytes*8;return d[y>>>5]|=128<<24-y%32,d[(y+64>>>9<<4)+14]=t.floor(z/4294967296),d[(y+64>>>9<<4)+15]=z,m.sigBytes=d.length*4,this._process(),this._hash},clone:function(){var m=v.clone.call(this);return m._hash=this._hash.clone(),m}});o.SHA256=v._createHelper(l),o.HmacSHA256=v._createHmacHelper(l)}(Math),r.SHA256})}(T6)),T6.exports}var q6={exports:{}},je;function y5(){return je||(je=1,function(c,e){(function(r,t,o){c.exports=t(g2(),Ie())})(A1,function(r){return function(){var t=r,o=t.lib,n=o.WordArray,b=t.algo,v=b.SHA256,h=b.SHA224=v.extend({_doReset:function(){this._hash=new n.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var a=v._doFinalize.call(this);return a.sigBytes-=4,a}});t.SHA224=v._createHelper(h),t.HmacSHA224=v._createHmacHelper(h)}(),r.SHA224})}(q6)),q6.exports}var P6={exports:{}},Fe;function Ne(){return Fe||(Fe=1,function(c,e){(function(r,t,o){c.exports=t(g2(),Z4())})(A1,function(r){return function(){var t=r,o=t.lib,n=o.Hasher,b=t.x64,v=b.Word,h=b.WordArray,a=t.algo;function s(){return v.create.apply(v,arguments)}var f=[s(1116352408,3609767458),s(1899447441,602891725),s(3049323471,3964484399),s(3921009573,2173295548),s(961987163,4081628472),s(1508970993,3053834265),s(2453635748,2937671579),s(2870763221,3664609560),s(3624381080,2734883394),s(310598401,1164996542),s(607225278,1323610764),s(1426881987,3590304994),s(1925078388,4068182383),s(2162078206,991336113),s(2614888103,633803317),s(3248222580,3479774868),s(3835390401,2666613458),s(4022224774,944711139),s(264347078,2341262773),s(604807628,2007800933),s(770255983,1495990901),s(1249150122,1856431235),s(1555081692,3175218132),s(1996064986,2198950837),s(2554220882,3999719339),s(2821834349,766784016),s(2952996808,2566594879),s(3210313671,3203337956),s(3336571891,1034457026),s(3584528711,2466948901),s(113926993,3758326383),s(338241895,168717936),s(666307205,1188179964),s(773529912,1546045734),s(1294757372,1522805485),s(1396182291,2643833823),s(1695183700,2343527390),s(1986661051,1014477480),s(2177026350,1206759142),s(2456956037,344077627),s(2730485921,1290863460),s(2820302411,3158454273),s(3259730800,3505952657),s(3345764771,106217008),s(3516065817,3606008344),s(3600352804,1432725776),s(4094571909,1467031594),s(275423344,851169720),s(430227734,3100823752),s(506948616,1363258195),s(659060556,3750685593),s(883997877,3785050280),s(958139571,3318307427),s(1322822218,3812723403),s(1537002063,2003034995),s(1747873779,3602036899),s(1955562222,1575990012),s(2024104815,1125592928),s(2227730452,2716904306),s(2361852424,442776044),s(2428436474,593698344),s(2756734187,3733110249),s(3204031479,2999351573),s(3329325298,3815920427),s(3391569614,3928383900),s(3515267271,566280711),s(3940187606,3454069534),s(4118630271,4000239992),s(116418474,1914138554),s(174292421,2731055270),s(289380356,3203993006),s(460393269,320620315),s(685471733,587496836),s(852142971,1086792851),s(1017036298,365543100),s(1126000580,2618297676),s(1288033470,3409855158),s(1501505948,4234509866),s(1607167915,987167468),s(1816402316,1246189591)],l=[];(function(){for(var d=0;d<80;d++)l[d]=s()})();var m=a.SHA512=n.extend({_doReset:function(){this._hash=new h.init([new v.init(1779033703,4089235720),new v.init(3144134277,2227873595),new v.init(1013904242,4271175723),new v.init(2773480762,1595750129),new v.init(1359893119,2917565137),new v.init(2600822924,725511199),new v.init(528734635,4215389547),new v.init(1541459225,327033209)])},_doProcessBlock:function(d,z){for(var y=this._hash.words,S=y[0],x=y[1],_=y[2],H=y[3],L=y[4],w=y[5],$=y[6],E=y[7],F=S.high,M=S.low,V=x.high,I=x.low,B=_.high,t1=_.low,e1=H.high,h1=H.low,u1=L.high,i1=L.low,p1=w.high,o1=w.low,N=$.high,G=$.low,D=E.high,W=E.low,z1=F,_1=M,S1=V,s1=I,w1=B,R1=t1,B1=e1,P1=h1,O1=u1,I1=i1,N1=p1,s2=o1,t2=N,i2=G,l2=D,a2=W,U1=0;U1<80;U1++){var W1,Y1,r2=l[U1];if(U1<16)Y1=r2.high=d[z+U1*2]|0,W1=r2.low=d[z+U1*2+1]|0;else{var J=l[U1-15],b1=J.high,Q=J.low,g1=(b1>>>1|Q<<31)^(b1>>>8|Q<<24)^b1>>>7,m2=(Q>>>1|b1<<31)^(Q>>>8|b1<<24)^(Q>>>7|b1<<25),S2=l[U1-2],z2=S2.high,w2=S2.low,U2=(z2>>>19|w2<<13)^(z2<<3|w2>>>29)^z2>>>6,d2=(w2>>>19|z2<<13)^(w2<<3|z2>>>29)^(w2>>>6|z2<<26),H2=l[U1-7],T2=H2.high,x2=H2.low,L2=l[U1-16],O2=L2.high,h2=L2.low;W1=m2+x2,Y1=g1+T2+(W1>>>0>>0?1:0),W1=W1+d2,Y1=Y1+U2+(W1>>>0>>0?1:0),W1=W1+h2,Y1=Y1+O2+(W1>>>0

>>0?1:0),r2.high=Y1,r2.low=W1}var E2=O1&N1^~O1&t2,M2=I1&s2^~I1&i2,Z2=z1&S1^z1&w1^S1&w1,r0=_1&s1^_1&R1^s1&R1,F2=(z1>>>28|_1<<4)^(z1<<30|_1>>>2)^(z1<<25|_1>>>7),B2=(_1>>>28|z1<<4)^(_1<<30|z1>>>2)^(_1<<25|z1>>>7),c0=(O1>>>14|I1<<18)^(O1>>>18|I1<<14)^(O1<<23|I1>>>9),o0=(I1>>>14|O1<<18)^(I1>>>18|O1<<14)^(I1<<23|O1>>>9),Y2=f[U1],R2=Y2.high,b0=Y2.low,b2=a2+o0,$2=l2+c0+(b2>>>0>>0?1:0),b2=b2+M2,$2=$2+E2+(b2>>>0>>0?1:0),b2=b2+b0,$2=$2+R2+(b2>>>0>>0?1:0),b2=b2+W1,$2=$2+Y1+(b2>>>0>>0?1:0),K2=B2+r0,y0=F2+Z2+(K2>>>0>>0?1:0);l2=t2,a2=i2,t2=N1,i2=s2,N1=O1,s2=I1,I1=P1+b2|0,O1=B1+$2+(I1>>>0>>0?1:0)|0,B1=w1,P1=R1,w1=S1,R1=s1,S1=z1,s1=_1,_1=b2+K2|0,z1=$2+y0+(_1>>>0>>0?1:0)|0}M=S.low=M+_1,S.high=F+z1+(M>>>0<_1>>>0?1:0),I=x.low=I+s1,x.high=V+S1+(I>>>0>>0?1:0),t1=_.low=t1+R1,_.high=B+w1+(t1>>>0>>0?1:0),h1=H.low=h1+P1,H.high=e1+B1+(h1>>>0>>0?1:0),i1=L.low=i1+I1,L.high=u1+O1+(i1>>>0>>0?1:0),o1=w.low=o1+s2,w.high=p1+N1+(o1>>>0>>0?1:0),G=$.low=G+i2,$.high=N+t2+(G>>>0>>0?1:0),W=E.low=W+a2,E.high=D+l2+(W>>>0>>0?1:0)},_doFinalize:function(){var d=this._data,z=d.words,y=this._nDataBytes*8,S=d.sigBytes*8;z[S>>>5]|=128<<24-S%32,z[(S+128>>>10<<5)+30]=Math.floor(y/4294967296),z[(S+128>>>10<<5)+31]=y,d.sigBytes=z.length*4,this._process();var x=this._hash.toX32();return x},clone:function(){var d=n.clone.call(this);return d._hash=this._hash.clone(),d},blockSize:1024/32});t.SHA512=n._createHelper(m),t.HmacSHA512=n._createHmacHelper(m)}(),r.SHA512})}(P6)),P6.exports}var k6={exports:{}},De;function L5(){return De||(De=1,function(c,e){(function(r,t,o){c.exports=t(g2(),Z4(),Ne())})(A1,function(r){return function(){var t=r,o=t.x64,n=o.Word,b=o.WordArray,v=t.algo,h=v.SHA512,a=v.SHA384=h.extend({_doReset:function(){this._hash=new b.init([new n.init(3418070365,3238371032),new n.init(1654270250,914150663),new n.init(2438529370,812702999),new n.init(355462360,4144912697),new n.init(1731405415,4290775857),new n.init(2394180231,1750603025),new n.init(3675008525,1694076839),new n.init(1203062813,3204075428)])},_doFinalize:function(){var s=h._doFinalize.call(this);return s.sigBytes-=16,s}});t.SHA384=h._createHelper(a),t.HmacSHA384=h._createHmacHelper(a)}(),r.SHA384})}(k6)),k6.exports}var O6={exports:{}},We;function H5(){return We||(We=1,function(c,e){(function(r,t,o){c.exports=t(g2(),Z4())})(A1,function(r){return function(t){var o=r,n=o.lib,b=n.WordArray,v=n.Hasher,h=o.x64,a=h.Word,s=o.algo,f=[],l=[],m=[];(function(){for(var y=1,S=0,x=0;x<24;x++){f[y+5*S]=(x+1)*(x+2)/2%64;var _=S%5,H=(2*y+3*S)%5;y=_,S=H}for(var y=0;y<5;y++)for(var S=0;S<5;S++)l[y+5*S]=S+(2*y+3*S)%5*5;for(var L=1,w=0;w<24;w++){for(var $=0,E=0,F=0;F<7;F++){if(L&1){var M=(1<>>24)&16711935|(L<<24|L>>>8)&4278255360,w=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360;var $=x[H];$.high^=w,$.low^=L}for(var E=0;E<24;E++){for(var F=0;F<5;F++){for(var M=0,V=0,I=0;I<5;I++){var $=x[F+5*I];M^=$.high,V^=$.low}var B=d[F];B.high=M,B.low=V}for(var F=0;F<5;F++)for(var t1=d[(F+4)%5],e1=d[(F+1)%5],h1=e1.high,u1=e1.low,M=t1.high^(h1<<1|u1>>>31),V=t1.low^(u1<<1|h1>>>31),I=0;I<5;I++){var $=x[F+5*I];$.high^=M,$.low^=V}for(var i1=1;i1<25;i1++){var M,V,$=x[i1],p1=$.high,o1=$.low,N=f[i1];N<32?(M=p1<>>32-N,V=o1<>>32-N):(M=o1<>>64-N,V=p1<>>64-N);var G=d[l[i1]];G.high=M,G.low=V}var D=d[0],W=x[0];D.high=W.high,D.low=W.low;for(var F=0;F<5;F++)for(var I=0;I<5;I++){var i1=F+5*I,$=x[i1],z1=d[i1],_1=d[(F+1)%5+5*I],S1=d[(F+2)%5+5*I];$.high=z1.high^~_1.high&S1.high,$.low=z1.low^~_1.low&S1.low}var $=x[0],s1=m[E];$.high^=s1.high,$.low^=s1.low}},_doFinalize:function(){var y=this._data,S=y.words;this._nDataBytes*8;var x=y.sigBytes*8,_=this.blockSize*32;S[x>>>5]|=1<<24-x%32,S[(t.ceil((x+1)/_)*_>>>5)-1]|=128,y.sigBytes=S.length*4,this._process();for(var H=this._state,L=this.cfg.outputLength/8,w=L/8,$=[],E=0;E>>24)&16711935|(M<<24|M>>>8)&4278255360,V=(V<<8|V>>>24)&16711935|(V<<24|V>>>8)&4278255360,$.push(V),$.push(M)}return new b.init($,L)},clone:function(){for(var y=v.clone.call(this),S=y._state=this._state.slice(0),x=0;x<25;x++)S[x]=S[x].clone();return y}});o.SHA3=v._createHelper(z),o.HmacSHA3=v._createHmacHelper(z)}(Math),r.SHA3})}(O6)),O6.exports}var B6={exports:{}},Ge;function M5(){return Ge||(Ge=1,function(c,e){(function(r,t){c.exports=t(g2())})(A1,function(r){/** @preserve (c) 2012 by Cédric Mesnil. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -11,16 +11,16 @@ - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */return function(t){var o=r,n=o.lib,b=n.WordArray,v=n.Hasher,h=o.algo,a=b.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),s=b.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),f=b.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),l=b.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),m=b.create([0,1518500249,1859775393,2400959708,2840853838]),d=b.create([1352829926,1548603684,1836072691,2053994217,0]),z=h.RIPEMD160=v.extend({_doReset:function(){this._hash=b.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(w,$){for(var E=0;E<16;E++){var F=$+E,M=w[F];w[F]=(M<<8|M>>>24)&16711935|(M<<24|M>>>8)&4278255360}var V=this._hash.words,I=m.words,B=d.words,t1=a.words,e1=s.words,h1=f.words,u1=l.words,i1,p1,o1,N,G,D,W,z1,_1,S1;D=i1=V[0],W=p1=V[1],z1=o1=V[2],_1=N=V[3],S1=G=V[4];for(var s1,E=0;E<80;E+=1)s1=i1+w[$+t1[E]]|0,E<16?s1+=y(p1,o1,N)+I[0]:E<32?s1+=S(p1,o1,N)+I[1]:E<48?s1+=x(p1,o1,N)+I[2]:E<64?s1+=_(p1,o1,N)+I[3]:s1+=H(p1,o1,N)+I[4],s1=s1|0,s1=L(s1,h1[E]),s1=s1+G|0,i1=G,G=N,N=L(o1,10),o1=p1,p1=s1,s1=D+w[$+e1[E]]|0,E<16?s1+=H(W,z1,_1)+B[0]:E<32?s1+=_(W,z1,_1)+B[1]:E<48?s1+=x(W,z1,_1)+B[2]:E<64?s1+=S(W,z1,_1)+B[3]:s1+=y(W,z1,_1)+B[4],s1=s1|0,s1=L(s1,u1[E]),s1=s1+S1|0,D=S1,S1=_1,_1=L(z1,10),z1=W,W=s1;s1=V[1]+o1+_1|0,V[1]=V[2]+N+S1|0,V[2]=V[3]+G+D|0,V[3]=V[4]+i1+W|0,V[4]=V[0]+p1+z1|0,V[0]=s1},_doFinalize:function(){var w=this._data,$=w.words,E=this._nDataBytes*8,F=w.sigBytes*8;$[F>>>5]|=128<<24-F%32,$[(F+64>>>9<<4)+14]=(E<<8|E>>>24)&16711935|(E<<24|E>>>8)&4278255360,w.sigBytes=($.length+1)*4,this._process();for(var M=this._hash,V=M.words,I=0;I<5;I++){var B=V[I];V[I]=(B<<8|B>>>24)&16711935|(B<<24|B>>>8)&4278255360}return M},clone:function(){var w=v.clone.call(this);return w._hash=this._hash.clone(),w}});function y(w,$,E){return w^$^E}function S(w,$,E){return w&$|~w&E}function x(w,$,E){return(w|~$)^E}function _(w,$,E){return w&E|$&~E}function H(w,$,E){return w^($|~E)}function L(w,$){return w<<$|w>>>32-$}o.RIPEMD160=v._createHelper(z),o.HmacRIPEMD160=v._createHmacHelper(z)}(),r.RIPEMD160})}(B6)),B6.exports}var I6={exports:{}},Ue;function j6(){return Ue||(Ue=1,function(c,e){(function(r,t){c.exports=t(g2())})(T1,function(r){(function(){var t=r,o=t.lib,n=o.Base,b=t.enc,v=b.Utf8,h=t.algo;h.HMAC=n.extend({init:function(a,s){a=this._hasher=new a.init,typeof s=="string"&&(s=v.parse(s));var f=a.blockSize,l=f*4;s.sigBytes>l&&(s=a.finalize(s)),s.clamp();for(var m=this._oKey=s.clone(),d=this._iKey=s.clone(),z=m.words,y=d.words,S=0;S>>2]&255;M.sigBytes-=V}};n.BlockCipher=m.extend({cfg:m.cfg.extend({mode:y,padding:x}),reset:function(){var M;m.reset.call(this);var V=this.cfg,I=V.iv,B=V.mode;this._xformMode==this._ENC_XFORM_MODE?M=B.createEncryptor:(M=B.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==M?this._mode.init(this,I&&I.words):(this._mode=M.call(B,this,I&&I.words),this._mode.__creator=M)},_doProcessBlock:function(M,V){this._mode.processBlock(M,V)},_doFinalize:function(){var M,V=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(V.pad(this._data,this.blockSize),M=this._process(!0)):(M=this._process(!0),V.unpad(M)),M},blockSize:128/32});var _=n.CipherParams=b.extend({init:function(M){this.mixIn(M)},toString:function(M){return(M||this.formatter).stringify(this)}}),H=o.format={},L=H.OpenSSL={stringify:function(M){var V,I=M.ciphertext,B=M.salt;return B?V=v.create([1398893684,1701076831]).concat(B).concat(I):V=I,V.toString(s)},parse:function(M){var V,I=s.parse(M),B=I.words;return B[0]==1398893684&&B[1]==1701076831&&(V=v.create(B.slice(2,4)),B.splice(0,4),I.sigBytes-=16),_.create({ciphertext:I,salt:V})}},w=n.SerializableCipher=b.extend({cfg:b.extend({format:L}),encrypt:function(M,V,I,B){B=this.cfg.extend(B);var t1=M.createEncryptor(I,B),e1=t1.finalize(V),h1=t1.cfg;return _.create({ciphertext:e1,key:I,iv:h1.iv,algorithm:M,mode:h1.mode,padding:h1.padding,blockSize:M.blockSize,formatter:B.format})},decrypt:function(M,V,I,B){B=this.cfg.extend(B),V=this._parse(V,B.format);var t1=M.createDecryptor(I,B).finalize(V.ciphertext);return t1},_parse:function(M,V){return typeof M=="string"?V.parse(M,this):M}}),$=o.kdf={},E=$.OpenSSL={execute:function(M,V,I,B){B||(B=v.random(64/8));var t1=l.create({keySize:V+I}).compute(M,B),e1=v.create(t1.words.slice(V),I*4);return t1.sigBytes=V*4,_.create({key:t1,iv:e1,salt:B})}},F=n.PasswordBasedCipher=w.extend({cfg:w.cfg.extend({kdf:E}),encrypt:function(M,V,I,B){B=this.cfg.extend(B);var t1=B.kdf.execute(I,M.keySize,M.ivSize);B.iv=t1.iv;var e1=w.encrypt.call(this,M,V,t1.key,B);return e1.mixIn(t1),e1},decrypt:function(M,V,I,B){B=this.cfg.extend(B),V=this._parse(V,B.format);var t1=B.kdf.execute(I,M.keySize,M.ivSize,V.salt);B.iv=t1.iv;var e1=w.decrypt.call(this,M,V,t1.key,B);return e1}})}()})}(D6)),D6.exports}var W6={exports:{}},Xe;function S5(){return Xe||(Xe=1,function(c,e){(function(r,t,o){c.exports=t(g2(),u0())})(T1,function(r){return r.mode.CFB=function(){var t=r.lib.BlockCipherMode.extend();t.Encryptor=t.extend({processBlock:function(n,b){var v=this._cipher,h=v.blockSize;o.call(this,n,b,h,v),this._prevBlock=n.slice(b,b+h)}}),t.Decryptor=t.extend({processBlock:function(n,b){var v=this._cipher,h=v.blockSize,a=n.slice(b,b+h);o.call(this,n,b,h,v),this._prevBlock=a}});function o(n,b,v,h){var a,s=this._iv;s?(a=s.slice(0),this._iv=void 0):a=this._prevBlock,h.encryptBlock(a,0);for(var f=0;f>>24)&16711935|(M<<24|M>>>8)&4278255360}var V=this._hash.words,I=m.words,B=d.words,t1=a.words,e1=s.words,h1=f.words,u1=l.words,i1,p1,o1,N,G,D,W,z1,_1,S1;D=i1=V[0],W=p1=V[1],z1=o1=V[2],_1=N=V[3],S1=G=V[4];for(var s1,E=0;E<80;E+=1)s1=i1+w[$+t1[E]]|0,E<16?s1+=y(p1,o1,N)+I[0]:E<32?s1+=S(p1,o1,N)+I[1]:E<48?s1+=x(p1,o1,N)+I[2]:E<64?s1+=_(p1,o1,N)+I[3]:s1+=H(p1,o1,N)+I[4],s1=s1|0,s1=L(s1,h1[E]),s1=s1+G|0,i1=G,G=N,N=L(o1,10),o1=p1,p1=s1,s1=D+w[$+e1[E]]|0,E<16?s1+=H(W,z1,_1)+B[0]:E<32?s1+=_(W,z1,_1)+B[1]:E<48?s1+=x(W,z1,_1)+B[2]:E<64?s1+=S(W,z1,_1)+B[3]:s1+=y(W,z1,_1)+B[4],s1=s1|0,s1=L(s1,u1[E]),s1=s1+S1|0,D=S1,S1=_1,_1=L(z1,10),z1=W,W=s1;s1=V[1]+o1+_1|0,V[1]=V[2]+N+S1|0,V[2]=V[3]+G+D|0,V[3]=V[4]+i1+W|0,V[4]=V[0]+p1+z1|0,V[0]=s1},_doFinalize:function(){var w=this._data,$=w.words,E=this._nDataBytes*8,F=w.sigBytes*8;$[F>>>5]|=128<<24-F%32,$[(F+64>>>9<<4)+14]=(E<<8|E>>>24)&16711935|(E<<24|E>>>8)&4278255360,w.sigBytes=($.length+1)*4,this._process();for(var M=this._hash,V=M.words,I=0;I<5;I++){var B=V[I];V[I]=(B<<8|B>>>24)&16711935|(B<<24|B>>>8)&4278255360}return M},clone:function(){var w=v.clone.call(this);return w._hash=this._hash.clone(),w}});function y(w,$,E){return w^$^E}function S(w,$,E){return w&$|~w&E}function x(w,$,E){return(w|~$)^E}function _(w,$,E){return w&E|$&~E}function H(w,$,E){return w^($|~E)}function L(w,$){return w<<$|w>>>32-$}o.RIPEMD160=v._createHelper(z),o.HmacRIPEMD160=v._createHmacHelper(z)}(),r.RIPEMD160})}(B6)),B6.exports}var I6={exports:{}},Ue;function j6(){return Ue||(Ue=1,function(c,e){(function(r,t){c.exports=t(g2())})(A1,function(r){(function(){var t=r,o=t.lib,n=o.Base,b=t.enc,v=b.Utf8,h=t.algo;h.HMAC=n.extend({init:function(a,s){a=this._hasher=new a.init,typeof s=="string"&&(s=v.parse(s));var f=a.blockSize,l=f*4;s.sigBytes>l&&(s=a.finalize(s)),s.clamp();for(var m=this._oKey=s.clone(),d=this._iKey=s.clone(),z=m.words,y=d.words,S=0;S>>2]&255;M.sigBytes-=V}};n.BlockCipher=m.extend({cfg:m.cfg.extend({mode:y,padding:x}),reset:function(){var M;m.reset.call(this);var V=this.cfg,I=V.iv,B=V.mode;this._xformMode==this._ENC_XFORM_MODE?M=B.createEncryptor:(M=B.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==M?this._mode.init(this,I&&I.words):(this._mode=M.call(B,this,I&&I.words),this._mode.__creator=M)},_doProcessBlock:function(M,V){this._mode.processBlock(M,V)},_doFinalize:function(){var M,V=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(V.pad(this._data,this.blockSize),M=this._process(!0)):(M=this._process(!0),V.unpad(M)),M},blockSize:128/32});var _=n.CipherParams=b.extend({init:function(M){this.mixIn(M)},toString:function(M){return(M||this.formatter).stringify(this)}}),H=o.format={},L=H.OpenSSL={stringify:function(M){var V,I=M.ciphertext,B=M.salt;return B?V=v.create([1398893684,1701076831]).concat(B).concat(I):V=I,V.toString(s)},parse:function(M){var V,I=s.parse(M),B=I.words;return B[0]==1398893684&&B[1]==1701076831&&(V=v.create(B.slice(2,4)),B.splice(0,4),I.sigBytes-=16),_.create({ciphertext:I,salt:V})}},w=n.SerializableCipher=b.extend({cfg:b.extend({format:L}),encrypt:function(M,V,I,B){B=this.cfg.extend(B);var t1=M.createEncryptor(I,B),e1=t1.finalize(V),h1=t1.cfg;return _.create({ciphertext:e1,key:I,iv:h1.iv,algorithm:M,mode:h1.mode,padding:h1.padding,blockSize:M.blockSize,formatter:B.format})},decrypt:function(M,V,I,B){B=this.cfg.extend(B),V=this._parse(V,B.format);var t1=M.createDecryptor(I,B).finalize(V.ciphertext);return t1},_parse:function(M,V){return typeof M=="string"?V.parse(M,this):M}}),$=o.kdf={},E=$.OpenSSL={execute:function(M,V,I,B){B||(B=v.random(64/8));var t1=l.create({keySize:V+I}).compute(M,B),e1=v.create(t1.words.slice(V),I*4);return t1.sigBytes=V*4,_.create({key:t1,iv:e1,salt:B})}},F=n.PasswordBasedCipher=w.extend({cfg:w.cfg.extend({kdf:E}),encrypt:function(M,V,I,B){B=this.cfg.extend(B);var t1=B.kdf.execute(I,M.keySize,M.ivSize);B.iv=t1.iv;var e1=w.encrypt.call(this,M,V,t1.key,B);return e1.mixIn(t1),e1},decrypt:function(M,V,I,B){B=this.cfg.extend(B),V=this._parse(V,B.format);var t1=B.kdf.execute(I,M.keySize,M.ivSize,V.salt);B.iv=t1.iv;var e1=w.decrypt.call(this,M,V,t1.key,B);return e1}})}()})}(D6)),D6.exports}var W6={exports:{}},Xe;function S5(){return Xe||(Xe=1,function(c,e){(function(r,t,o){c.exports=t(g2(),u0())})(A1,function(r){return r.mode.CFB=function(){var t=r.lib.BlockCipherMode.extend();t.Encryptor=t.extend({processBlock:function(n,b){var v=this._cipher,h=v.blockSize;o.call(this,n,b,h,v),this._prevBlock=n.slice(b,b+h)}}),t.Decryptor=t.extend({processBlock:function(n,b){var v=this._cipher,h=v.blockSize,a=n.slice(b,b+h);o.call(this,n,b,h,v),this._prevBlock=a}});function o(n,b,v,h){var a,s=this._iv;s?(a=s.slice(0),this._iv=void 0):a=this._prevBlock,h.encryptBlock(a,0);for(var f=0;f>24&255)===255){var h=v>>16&255,a=v>>8&255,s=v&255;h===255?(h=0,a===255?(a=0,s===255?s=0:++s):++a):++h,v=0,v+=h<<16,v+=a<<8,v+=s}else v+=1<<24;return v}function n(v){return(v[0]=o(v[0]))===0&&(v[1]=o(v[1])),v}var b=t.Encryptor=t.extend({processBlock:function(v,h){var a=this._cipher,s=a.blockSize,f=this._iv,l=this._counter;f&&(l=this._counter=f.slice(0),this._iv=void 0),n(l);var m=l.slice(0);a.encryptBlock(m,0);for(var d=0;d>>2]|=v<<24-h%4*8,t.sigBytes+=v},unpad:function(t){var o=t.words[t.sigBytes-1>>>2]&255;t.sigBytes-=o}},r.pad.Ansix923})}(K6)),K6.exports}var X6={exports:{}},c8;function A5(){return c8||(c8=1,function(c,e){(function(r,t,o){c.exports=t(g2(),u0())})(T1,function(r){return r.pad.Iso10126={pad:function(t,o){var n=o*4,b=n-t.sigBytes%n;t.concat(r.lib.WordArray.random(b-1)).concat(r.lib.WordArray.create([b<<24],1))},unpad:function(t){var o=t.words[t.sigBytes-1>>>2]&255;t.sigBytes-=o}},r.pad.Iso10126})}(X6)),X6.exports}var Q6={exports:{}},o8;function q5(){return o8||(o8=1,function(c,e){(function(r,t,o){c.exports=t(g2(),u0())})(T1,function(r){return r.pad.Iso97971={pad:function(t,o){t.concat(r.lib.WordArray.create([2147483648],1)),r.pad.ZeroPadding.pad(t,o)},unpad:function(t){r.pad.ZeroPadding.unpad(t),t.sigBytes--}},r.pad.Iso97971})}(Q6)),Q6.exports}var J6={exports:{}},n8;function P5(){return n8||(n8=1,function(c,e){(function(r,t,o){c.exports=t(g2(),u0())})(T1,function(r){return r.pad.ZeroPadding={pad:function(t,o){var n=o*4;t.clamp(),t.sigBytes+=n-(t.sigBytes%n||n)},unpad:function(t){for(var o=t.words,n=t.sigBytes-1,n=t.sigBytes-1;n>=0;n--)if(o[n>>>2]>>>24-n%4*8&255){t.sigBytes=n+1;break}}},r.pad.ZeroPadding})}(J6)),J6.exports}var e3={exports:{}},a8;function k5(){return a8||(a8=1,function(c,e){(function(r,t,o){c.exports=t(g2(),u0())})(T1,function(r){return r.pad.NoPadding={pad:function(){},unpad:function(){}},r.pad.NoPadding})}(e3)),e3.exports}var t3={exports:{}},s8;function O5(){return s8||(s8=1,function(c,e){(function(r,t,o){c.exports=t(g2(),u0())})(T1,function(r){return function(t){var o=r,n=o.lib,b=n.CipherParams,v=o.enc,h=v.Hex,a=o.format;a.Hex={stringify:function(s){return s.ciphertext.toString(h)},parse:function(s){var f=h.parse(s);return b.create({ciphertext:f})}}}(),r.format.Hex})}(t3)),t3.exports}var r3={exports:{}},i8;function B5(){return i8||(i8=1,function(c,e){(function(r,t,o){c.exports=t(g2(),d4(),b4(),f4(),u0())})(T1,function(r){return function(){var t=r,o=t.lib,n=o.BlockCipher,b=t.algo,v=[],h=[],a=[],s=[],f=[],l=[],m=[],d=[],z=[],y=[];(function(){for(var _=[],H=0;H<256;H++)H<128?_[H]=H<<1:_[H]=H<<1^283;for(var L=0,w=0,H=0;H<256;H++){var $=w^w<<1^w<<2^w<<3^w<<4;$=$>>>8^$&255^99,v[L]=$,h[$]=L;var E=_[L],F=_[E],M=_[F],V=_[$]*257^$*16843008;a[L]=V<<24|V>>>8,s[L]=V<<16|V>>>16,f[L]=V<<8|V>>>24,l[L]=V;var V=M*16843009^F*65537^E*257^L*16843008;m[$]=V<<24|V>>>8,d[$]=V<<16|V>>>16,z[$]=V<<8|V>>>24,y[$]=V,L?(L=E^_[_[_[M^E]]],w^=_[_[w]]):L=w=1}})();var S=[0,1,2,4,8,16,32,64,128,27,54],x=b.AES=n.extend({_doReset:function(){var _;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var H=this._keyPriorReset=this._key,L=H.words,w=H.sigBytes/4,$=this._nRounds=w+6,E=($+1)*4,F=this._keySchedule=[],M=0;M6&&M%w==4&&(_=v[_>>>24]<<24|v[_>>>16&255]<<16|v[_>>>8&255]<<8|v[_&255]):(_=_<<8|_>>>24,_=v[_>>>24]<<24|v[_>>>16&255]<<16|v[_>>>8&255]<<8|v[_&255],_^=S[M/w|0]<<24),F[M]=F[M-w]^_);for(var V=this._invKeySchedule=[],I=0;I>>24]]^d[v[_>>>16&255]]^z[v[_>>>8&255]]^y[v[_&255]]}}},encryptBlock:function(_,H){this._doCryptBlock(_,H,this._keySchedule,a,s,f,l,v)},decryptBlock:function(_,H){var L=_[H+1];_[H+1]=_[H+3],_[H+3]=L,this._doCryptBlock(_,H,this._invKeySchedule,m,d,z,y,h);var L=_[H+1];_[H+1]=_[H+3],_[H+3]=L},_doCryptBlock:function(_,H,L,w,$,E,F,M){for(var V=this._nRounds,I=_[H]^L[0],B=_[H+1]^L[1],t1=_[H+2]^L[2],e1=_[H+3]^L[3],h1=4,u1=1;u1>>24]^$[B>>>16&255]^E[t1>>>8&255]^F[e1&255]^L[h1++],p1=w[B>>>24]^$[t1>>>16&255]^E[e1>>>8&255]^F[I&255]^L[h1++],o1=w[t1>>>24]^$[e1>>>16&255]^E[I>>>8&255]^F[B&255]^L[h1++],N=w[e1>>>24]^$[I>>>16&255]^E[B>>>8&255]^F[t1&255]^L[h1++];I=i1,B=p1,t1=o1,e1=N}var i1=(M[I>>>24]<<24|M[B>>>16&255]<<16|M[t1>>>8&255]<<8|M[e1&255])^L[h1++],p1=(M[B>>>24]<<24|M[t1>>>16&255]<<16|M[e1>>>8&255]<<8|M[I&255])^L[h1++],o1=(M[t1>>>24]<<24|M[e1>>>16&255]<<16|M[I>>>8&255]<<8|M[B&255])^L[h1++],N=(M[e1>>>24]<<24|M[I>>>16&255]<<16|M[B>>>8&255]<<8|M[t1&255])^L[h1++];_[H]=i1,_[H+1]=p1,_[H+2]=o1,_[H+3]=N},keySize:256/32});t.AES=n._createHelper(x)}(),r.AES})}(r3)),r3.exports}var c3={exports:{}},l8;function I5(){return l8||(l8=1,function(c,e){(function(r,t,o){c.exports=t(g2(),d4(),b4(),f4(),u0())})(T1,function(r){return function(){var t=r,o=t.lib,n=o.WordArray,b=o.BlockCipher,v=t.algo,h=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],a=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],s=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],f=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],l=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],m=v.DES=b.extend({_doReset:function(){for(var S=this._key,x=S.words,_=[],H=0;H<56;H++){var L=h[H]-1;_[H]=x[L>>>5]>>>31-L%32&1}for(var w=this._subKeys=[],$=0;$<16;$++){for(var E=w[$]=[],F=s[$],H=0;H<24;H++)E[H/6|0]|=_[(a[H]-1+F)%28]<<31-H%6,E[4+(H/6|0)]|=_[28+(a[H+24]-1+F)%28]<<31-H%6;E[0]=E[0]<<1|E[0]>>>31;for(var H=1;H<7;H++)E[H]=E[H]>>>(H-1)*4+3;E[7]=E[7]<<5|E[7]>>>27}for(var M=this._invSubKeys=[],H=0;H<16;H++)M[H]=w[15-H]},encryptBlock:function(S,x){this._doCryptBlock(S,x,this._subKeys)},decryptBlock:function(S,x){this._doCryptBlock(S,x,this._invSubKeys)},_doCryptBlock:function(S,x,_){this._lBlock=S[x],this._rBlock=S[x+1],d.call(this,4,252645135),d.call(this,16,65535),z.call(this,2,858993459),z.call(this,8,16711935),d.call(this,1,1431655765);for(var H=0;H<16;H++){for(var L=_[H],w=this._lBlock,$=this._rBlock,E=0,F=0;F<8;F++)E|=f[F][(($^L[F])&l[F])>>>0];this._lBlock=$,this._rBlock=w^E}var M=this._lBlock;this._lBlock=this._rBlock,this._rBlock=M,d.call(this,1,1431655765),z.call(this,8,16711935),z.call(this,2,858993459),d.call(this,16,65535),d.call(this,4,252645135),S[x]=this._lBlock,S[x+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function d(S,x){var _=(this._lBlock>>>S^this._rBlock)&x;this._rBlock^=_,this._lBlock^=_<>>S^this._lBlock)&x;this._lBlock^=_,this._rBlock^=_<192.");var _=x.slice(0,2),H=x.length<4?x.slice(0,2):x.slice(2,4),L=x.length<6?x.slice(0,2):x.slice(4,6);this._des1=m.createEncryptor(n.create(_)),this._des2=m.createEncryptor(n.create(H)),this._des3=m.createEncryptor(n.create(L))},encryptBlock:function(S,x){this._des1.encryptBlock(S,x),this._des2.decryptBlock(S,x),this._des3.encryptBlock(S,x)},decryptBlock:function(S,x){this._des3.decryptBlock(S,x),this._des2.encryptBlock(S,x),this._des1.decryptBlock(S,x)},keySize:192/32,ivSize:64/32,blockSize:64/32});t.TripleDES=b._createHelper(y)}(),r.TripleDES})}(c3)),c3.exports}var o3={exports:{}},u8;function j5(){return u8||(u8=1,function(c,e){(function(r,t,o){c.exports=t(g2(),d4(),b4(),f4(),u0())})(T1,function(r){return function(){var t=r,o=t.lib,n=o.StreamCipher,b=t.algo,v=b.RC4=n.extend({_doReset:function(){for(var s=this._key,f=s.words,l=s.sigBytes,m=this._S=[],d=0;d<256;d++)m[d]=d;for(var d=0,z=0;d<256;d++){var y=d%l,S=f[y>>>2]>>>24-y%4*8&255;z=(z+m[d]+S)%256;var x=m[d];m[d]=m[z],m[z]=x}this._i=this._j=0},_doProcessBlock:function(s,f){s[f]^=h.call(this)},keySize:256/32,ivSize:0});function h(){for(var s=this._S,f=this._i,l=this._j,m=0,d=0;d<4;d++){f=(f+1)%256,l=(l+s[f])%256;var z=s[f];s[f]=s[l],s[l]=z,m|=s[(s[f]+s[l])%256]<<24-d*8}return this._i=f,this._j=l,m}t.RC4=n._createHelper(v);var a=b.RC4Drop=v.extend({cfg:v.cfg.extend({drop:192}),_doReset:function(){v._doReset.call(this);for(var s=this.cfg.drop;s>0;s--)h.call(this)}});t.RC4Drop=n._createHelper(a)}(),r.RC4})}(o3)),o3.exports}var n3={exports:{}},f8;function F5(){return f8||(f8=1,function(c,e){(function(r,t,o){c.exports=t(g2(),d4(),b4(),f4(),u0())})(T1,function(r){return function(){var t=r,o=t.lib,n=o.StreamCipher,b=t.algo,v=[],h=[],a=[],s=b.Rabbit=n.extend({_doReset:function(){for(var l=this._key.words,m=this.cfg.iv,d=0;d<4;d++)l[d]=(l[d]<<8|l[d]>>>24)&16711935|(l[d]<<24|l[d]>>>8)&4278255360;var z=this._X=[l[0],l[3]<<16|l[2]>>>16,l[1],l[0]<<16|l[3]>>>16,l[2],l[1]<<16|l[0]>>>16,l[3],l[2]<<16|l[1]>>>16],y=this._C=[l[2]<<16|l[2]>>>16,l[0]&4294901760|l[1]&65535,l[3]<<16|l[3]>>>16,l[1]&4294901760|l[2]&65535,l[0]<<16|l[0]>>>16,l[2]&4294901760|l[3]&65535,l[1]<<16|l[1]>>>16,l[3]&4294901760|l[0]&65535];this._b=0;for(var d=0;d<4;d++)f.call(this);for(var d=0;d<8;d++)y[d]^=z[d+4&7];if(m){var S=m.words,x=S[0],_=S[1],H=(x<<8|x>>>24)&16711935|(x<<24|x>>>8)&4278255360,L=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360,w=H>>>16|L&4294901760,$=L<<16|H&65535;y[0]^=H,y[1]^=w,y[2]^=L,y[3]^=$,y[4]^=H,y[5]^=w,y[6]^=L,y[7]^=$;for(var d=0;d<4;d++)f.call(this)}},_doProcessBlock:function(l,m){var d=this._X;f.call(this),v[0]=d[0]^d[5]>>>16^d[3]<<16,v[1]=d[2]^d[7]>>>16^d[5]<<16,v[2]=d[4]^d[1]>>>16^d[7]<<16,v[3]=d[6]^d[3]>>>16^d[1]<<16;for(var z=0;z<4;z++)v[z]=(v[z]<<8|v[z]>>>24)&16711935|(v[z]<<24|v[z]>>>8)&4278255360,l[m+z]^=v[z]},blockSize:128/32,ivSize:64/32});function f(){for(var l=this._X,m=this._C,d=0;d<8;d++)h[d]=m[d];m[0]=m[0]+1295307597+this._b|0,m[1]=m[1]+3545052371+(m[0]>>>0>>0?1:0)|0,m[2]=m[2]+886263092+(m[1]>>>0>>0?1:0)|0,m[3]=m[3]+1295307597+(m[2]>>>0>>0?1:0)|0,m[4]=m[4]+3545052371+(m[3]>>>0>>0?1:0)|0,m[5]=m[5]+886263092+(m[4]>>>0>>0?1:0)|0,m[6]=m[6]+1295307597+(m[5]>>>0>>0?1:0)|0,m[7]=m[7]+3545052371+(m[6]>>>0>>0?1:0)|0,this._b=m[7]>>>0>>0?1:0;for(var d=0;d<8;d++){var z=l[d]+m[d],y=z&65535,S=z>>>16,x=((y*y>>>17)+y*S>>>15)+S*S,_=((z&4294901760)*z|0)+((z&65535)*z|0);a[d]=x^_}l[0]=a[0]+(a[7]<<16|a[7]>>>16)+(a[6]<<16|a[6]>>>16)|0,l[1]=a[1]+(a[0]<<8|a[0]>>>24)+a[7]|0,l[2]=a[2]+(a[1]<<16|a[1]>>>16)+(a[0]<<16|a[0]>>>16)|0,l[3]=a[3]+(a[2]<<8|a[2]>>>24)+a[1]|0,l[4]=a[4]+(a[3]<<16|a[3]>>>16)+(a[2]<<16|a[2]>>>16)|0,l[5]=a[5]+(a[4]<<8|a[4]>>>24)+a[3]|0,l[6]=a[6]+(a[5]<<16|a[5]>>>16)+(a[4]<<16|a[4]>>>16)|0,l[7]=a[7]+(a[6]<<8|a[6]>>>24)+a[5]|0}t.Rabbit=n._createHelper(s)}(),r.Rabbit})}(n3)),n3.exports}var a3={exports:{}},h8;function N5(){return h8||(h8=1,function(c,e){(function(r,t,o){c.exports=t(g2(),d4(),b4(),f4(),u0())})(T1,function(r){return function(){var t=r,o=t.lib,n=o.StreamCipher,b=t.algo,v=[],h=[],a=[],s=b.RabbitLegacy=n.extend({_doReset:function(){var l=this._key.words,m=this.cfg.iv,d=this._X=[l[0],l[3]<<16|l[2]>>>16,l[1],l[0]<<16|l[3]>>>16,l[2],l[1]<<16|l[0]>>>16,l[3],l[2]<<16|l[1]>>>16],z=this._C=[l[2]<<16|l[2]>>>16,l[0]&4294901760|l[1]&65535,l[3]<<16|l[3]>>>16,l[1]&4294901760|l[2]&65535,l[0]<<16|l[0]>>>16,l[2]&4294901760|l[3]&65535,l[1]<<16|l[1]>>>16,l[3]&4294901760|l[0]&65535];this._b=0;for(var y=0;y<4;y++)f.call(this);for(var y=0;y<8;y++)z[y]^=d[y+4&7];if(m){var S=m.words,x=S[0],_=S[1],H=(x<<8|x>>>24)&16711935|(x<<24|x>>>8)&4278255360,L=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360,w=H>>>16|L&4294901760,$=L<<16|H&65535;z[0]^=H,z[1]^=w,z[2]^=L,z[3]^=$,z[4]^=H,z[5]^=w,z[6]^=L,z[7]^=$;for(var y=0;y<4;y++)f.call(this)}},_doProcessBlock:function(l,m){var d=this._X;f.call(this),v[0]=d[0]^d[5]>>>16^d[3]<<16,v[1]=d[2]^d[7]>>>16^d[5]<<16,v[2]=d[4]^d[1]>>>16^d[7]<<16,v[3]=d[6]^d[3]>>>16^d[1]<<16;for(var z=0;z<4;z++)v[z]=(v[z]<<8|v[z]>>>24)&16711935|(v[z]<<24|v[z]>>>8)&4278255360,l[m+z]^=v[z]},blockSize:128/32,ivSize:64/32});function f(){for(var l=this._X,m=this._C,d=0;d<8;d++)h[d]=m[d];m[0]=m[0]+1295307597+this._b|0,m[1]=m[1]+3545052371+(m[0]>>>0>>0?1:0)|0,m[2]=m[2]+886263092+(m[1]>>>0>>0?1:0)|0,m[3]=m[3]+1295307597+(m[2]>>>0>>0?1:0)|0,m[4]=m[4]+3545052371+(m[3]>>>0>>0?1:0)|0,m[5]=m[5]+886263092+(m[4]>>>0>>0?1:0)|0,m[6]=m[6]+1295307597+(m[5]>>>0>>0?1:0)|0,m[7]=m[7]+3545052371+(m[6]>>>0>>0?1:0)|0,this._b=m[7]>>>0>>0?1:0;for(var d=0;d<8;d++){var z=l[d]+m[d],y=z&65535,S=z>>>16,x=((y*y>>>17)+y*S>>>15)+S*S,_=((z&4294901760)*z|0)+((z&65535)*z|0);a[d]=x^_}l[0]=a[0]+(a[7]<<16|a[7]>>>16)+(a[6]<<16|a[6]>>>16)|0,l[1]=a[1]+(a[0]<<8|a[0]>>>24)+a[7]|0,l[2]=a[2]+(a[1]<<16|a[1]>>>16)+(a[0]<<16|a[0]>>>16)|0,l[3]=a[3]+(a[2]<<8|a[2]>>>24)+a[1]|0,l[4]=a[4]+(a[3]<<16|a[3]>>>16)+(a[2]<<16|a[2]>>>16)|0,l[5]=a[5]+(a[4]<<8|a[4]>>>24)+a[3]|0,l[6]=a[6]+(a[5]<<16|a[5]>>>16)+(a[4]<<16|a[4]>>>16)|0,l[7]=a[7]+(a[6]<<8|a[6]>>>24)+a[5]|0}t.RabbitLegacy=n._createHelper(s)}(),r.RabbitLegacy})}(a3)),a3.exports}(function(c,e){(function(r,t,o){c.exports=t(g2(),Z4(),_5(),z5(),d4(),C5(),b4(),T6(),Ie(),y5(),Ne(),L5(),H5(),M5(),j6(),R5(),f4(),u0(),S5(),w5(),$5(),V5(),E5(),T5(),A5(),q5(),P5(),k5(),O5(),B5(),I5(),j5(),F5(),N5())})(T1,function(r){return r})})(we);const s3=we.exports;function Y4(c){try{return typeof c=="object"||Array.isArray(c)?JSON.stringify(c):c}catch(e){throw e}}function K4(c){if(!(!c||typeof c!="string"||c.length===0))try{return JSON.parse(c)}catch{return c}}function D5(c,e){try{return!c||!e?e:s3.AES.encrypt(e,c).toString()}catch(r){throw r}}function W5(c,e){try{if(!c||!e)return e;const t=s3.AES.decrypt(e,c).toString(s3.enc.Utf8).trim();return!t||t.length==0?!1:t}catch(r){throw console.error(r),r}}var v8={exports:{}};/*! + */return r.mode.CTRGladman=function(){var t=r.lib.BlockCipherMode.extend();function o(v){if((v>>24&255)===255){var h=v>>16&255,a=v>>8&255,s=v&255;h===255?(h=0,a===255?(a=0,s===255?s=0:++s):++a):++h,v=0,v+=h<<16,v+=a<<8,v+=s}else v+=1<<24;return v}function n(v){return(v[0]=o(v[0]))===0&&(v[1]=o(v[1])),v}var b=t.Encryptor=t.extend({processBlock:function(v,h){var a=this._cipher,s=a.blockSize,f=this._iv,l=this._counter;f&&(l=this._counter=f.slice(0),this._iv=void 0),n(l);var m=l.slice(0);a.encryptBlock(m,0);for(var d=0;d>>2]|=v<<24-h%4*8,t.sigBytes+=v},unpad:function(t){var o=t.words[t.sigBytes-1>>>2]&255;t.sigBytes-=o}},r.pad.Ansix923})}(K6)),K6.exports}var X6={exports:{}},c8;function T5(){return c8||(c8=1,function(c,e){(function(r,t,o){c.exports=t(g2(),u0())})(A1,function(r){return r.pad.Iso10126={pad:function(t,o){var n=o*4,b=n-t.sigBytes%n;t.concat(r.lib.WordArray.random(b-1)).concat(r.lib.WordArray.create([b<<24],1))},unpad:function(t){var o=t.words[t.sigBytes-1>>>2]&255;t.sigBytes-=o}},r.pad.Iso10126})}(X6)),X6.exports}var Q6={exports:{}},o8;function q5(){return o8||(o8=1,function(c,e){(function(r,t,o){c.exports=t(g2(),u0())})(A1,function(r){return r.pad.Iso97971={pad:function(t,o){t.concat(r.lib.WordArray.create([2147483648],1)),r.pad.ZeroPadding.pad(t,o)},unpad:function(t){r.pad.ZeroPadding.unpad(t),t.sigBytes--}},r.pad.Iso97971})}(Q6)),Q6.exports}var J6={exports:{}},n8;function P5(){return n8||(n8=1,function(c,e){(function(r,t,o){c.exports=t(g2(),u0())})(A1,function(r){return r.pad.ZeroPadding={pad:function(t,o){var n=o*4;t.clamp(),t.sigBytes+=n-(t.sigBytes%n||n)},unpad:function(t){for(var o=t.words,n=t.sigBytes-1,n=t.sigBytes-1;n>=0;n--)if(o[n>>>2]>>>24-n%4*8&255){t.sigBytes=n+1;break}}},r.pad.ZeroPadding})}(J6)),J6.exports}var e3={exports:{}},a8;function k5(){return a8||(a8=1,function(c,e){(function(r,t,o){c.exports=t(g2(),u0())})(A1,function(r){return r.pad.NoPadding={pad:function(){},unpad:function(){}},r.pad.NoPadding})}(e3)),e3.exports}var t3={exports:{}},s8;function O5(){return s8||(s8=1,function(c,e){(function(r,t,o){c.exports=t(g2(),u0())})(A1,function(r){return function(t){var o=r,n=o.lib,b=n.CipherParams,v=o.enc,h=v.Hex,a=o.format;a.Hex={stringify:function(s){return s.ciphertext.toString(h)},parse:function(s){var f=h.parse(s);return b.create({ciphertext:f})}}}(),r.format.Hex})}(t3)),t3.exports}var r3={exports:{}},i8;function B5(){return i8||(i8=1,function(c,e){(function(r,t,o){c.exports=t(g2(),d4(),b4(),f4(),u0())})(A1,function(r){return function(){var t=r,o=t.lib,n=o.BlockCipher,b=t.algo,v=[],h=[],a=[],s=[],f=[],l=[],m=[],d=[],z=[],y=[];(function(){for(var _=[],H=0;H<256;H++)H<128?_[H]=H<<1:_[H]=H<<1^283;for(var L=0,w=0,H=0;H<256;H++){var $=w^w<<1^w<<2^w<<3^w<<4;$=$>>>8^$&255^99,v[L]=$,h[$]=L;var E=_[L],F=_[E],M=_[F],V=_[$]*257^$*16843008;a[L]=V<<24|V>>>8,s[L]=V<<16|V>>>16,f[L]=V<<8|V>>>24,l[L]=V;var V=M*16843009^F*65537^E*257^L*16843008;m[$]=V<<24|V>>>8,d[$]=V<<16|V>>>16,z[$]=V<<8|V>>>24,y[$]=V,L?(L=E^_[_[_[M^E]]],w^=_[_[w]]):L=w=1}})();var S=[0,1,2,4,8,16,32,64,128,27,54],x=b.AES=n.extend({_doReset:function(){var _;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var H=this._keyPriorReset=this._key,L=H.words,w=H.sigBytes/4,$=this._nRounds=w+6,E=($+1)*4,F=this._keySchedule=[],M=0;M6&&M%w==4&&(_=v[_>>>24]<<24|v[_>>>16&255]<<16|v[_>>>8&255]<<8|v[_&255]):(_=_<<8|_>>>24,_=v[_>>>24]<<24|v[_>>>16&255]<<16|v[_>>>8&255]<<8|v[_&255],_^=S[M/w|0]<<24),F[M]=F[M-w]^_);for(var V=this._invKeySchedule=[],I=0;I>>24]]^d[v[_>>>16&255]]^z[v[_>>>8&255]]^y[v[_&255]]}}},encryptBlock:function(_,H){this._doCryptBlock(_,H,this._keySchedule,a,s,f,l,v)},decryptBlock:function(_,H){var L=_[H+1];_[H+1]=_[H+3],_[H+3]=L,this._doCryptBlock(_,H,this._invKeySchedule,m,d,z,y,h);var L=_[H+1];_[H+1]=_[H+3],_[H+3]=L},_doCryptBlock:function(_,H,L,w,$,E,F,M){for(var V=this._nRounds,I=_[H]^L[0],B=_[H+1]^L[1],t1=_[H+2]^L[2],e1=_[H+3]^L[3],h1=4,u1=1;u1>>24]^$[B>>>16&255]^E[t1>>>8&255]^F[e1&255]^L[h1++],p1=w[B>>>24]^$[t1>>>16&255]^E[e1>>>8&255]^F[I&255]^L[h1++],o1=w[t1>>>24]^$[e1>>>16&255]^E[I>>>8&255]^F[B&255]^L[h1++],N=w[e1>>>24]^$[I>>>16&255]^E[B>>>8&255]^F[t1&255]^L[h1++];I=i1,B=p1,t1=o1,e1=N}var i1=(M[I>>>24]<<24|M[B>>>16&255]<<16|M[t1>>>8&255]<<8|M[e1&255])^L[h1++],p1=(M[B>>>24]<<24|M[t1>>>16&255]<<16|M[e1>>>8&255]<<8|M[I&255])^L[h1++],o1=(M[t1>>>24]<<24|M[e1>>>16&255]<<16|M[I>>>8&255]<<8|M[B&255])^L[h1++],N=(M[e1>>>24]<<24|M[I>>>16&255]<<16|M[B>>>8&255]<<8|M[t1&255])^L[h1++];_[H]=i1,_[H+1]=p1,_[H+2]=o1,_[H+3]=N},keySize:256/32});t.AES=n._createHelper(x)}(),r.AES})}(r3)),r3.exports}var c3={exports:{}},l8;function I5(){return l8||(l8=1,function(c,e){(function(r,t,o){c.exports=t(g2(),d4(),b4(),f4(),u0())})(A1,function(r){return function(){var t=r,o=t.lib,n=o.WordArray,b=o.BlockCipher,v=t.algo,h=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],a=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],s=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],f=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],l=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],m=v.DES=b.extend({_doReset:function(){for(var S=this._key,x=S.words,_=[],H=0;H<56;H++){var L=h[H]-1;_[H]=x[L>>>5]>>>31-L%32&1}for(var w=this._subKeys=[],$=0;$<16;$++){for(var E=w[$]=[],F=s[$],H=0;H<24;H++)E[H/6|0]|=_[(a[H]-1+F)%28]<<31-H%6,E[4+(H/6|0)]|=_[28+(a[H+24]-1+F)%28]<<31-H%6;E[0]=E[0]<<1|E[0]>>>31;for(var H=1;H<7;H++)E[H]=E[H]>>>(H-1)*4+3;E[7]=E[7]<<5|E[7]>>>27}for(var M=this._invSubKeys=[],H=0;H<16;H++)M[H]=w[15-H]},encryptBlock:function(S,x){this._doCryptBlock(S,x,this._subKeys)},decryptBlock:function(S,x){this._doCryptBlock(S,x,this._invSubKeys)},_doCryptBlock:function(S,x,_){this._lBlock=S[x],this._rBlock=S[x+1],d.call(this,4,252645135),d.call(this,16,65535),z.call(this,2,858993459),z.call(this,8,16711935),d.call(this,1,1431655765);for(var H=0;H<16;H++){for(var L=_[H],w=this._lBlock,$=this._rBlock,E=0,F=0;F<8;F++)E|=f[F][(($^L[F])&l[F])>>>0];this._lBlock=$,this._rBlock=w^E}var M=this._lBlock;this._lBlock=this._rBlock,this._rBlock=M,d.call(this,1,1431655765),z.call(this,8,16711935),z.call(this,2,858993459),d.call(this,16,65535),d.call(this,4,252645135),S[x]=this._lBlock,S[x+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function d(S,x){var _=(this._lBlock>>>S^this._rBlock)&x;this._rBlock^=_,this._lBlock^=_<>>S^this._lBlock)&x;this._lBlock^=_,this._rBlock^=_<192.");var _=x.slice(0,2),H=x.length<4?x.slice(0,2):x.slice(2,4),L=x.length<6?x.slice(0,2):x.slice(4,6);this._des1=m.createEncryptor(n.create(_)),this._des2=m.createEncryptor(n.create(H)),this._des3=m.createEncryptor(n.create(L))},encryptBlock:function(S,x){this._des1.encryptBlock(S,x),this._des2.decryptBlock(S,x),this._des3.encryptBlock(S,x)},decryptBlock:function(S,x){this._des3.decryptBlock(S,x),this._des2.encryptBlock(S,x),this._des1.decryptBlock(S,x)},keySize:192/32,ivSize:64/32,blockSize:64/32});t.TripleDES=b._createHelper(y)}(),r.TripleDES})}(c3)),c3.exports}var o3={exports:{}},u8;function j5(){return u8||(u8=1,function(c,e){(function(r,t,o){c.exports=t(g2(),d4(),b4(),f4(),u0())})(A1,function(r){return function(){var t=r,o=t.lib,n=o.StreamCipher,b=t.algo,v=b.RC4=n.extend({_doReset:function(){for(var s=this._key,f=s.words,l=s.sigBytes,m=this._S=[],d=0;d<256;d++)m[d]=d;for(var d=0,z=0;d<256;d++){var y=d%l,S=f[y>>>2]>>>24-y%4*8&255;z=(z+m[d]+S)%256;var x=m[d];m[d]=m[z],m[z]=x}this._i=this._j=0},_doProcessBlock:function(s,f){s[f]^=h.call(this)},keySize:256/32,ivSize:0});function h(){for(var s=this._S,f=this._i,l=this._j,m=0,d=0;d<4;d++){f=(f+1)%256,l=(l+s[f])%256;var z=s[f];s[f]=s[l],s[l]=z,m|=s[(s[f]+s[l])%256]<<24-d*8}return this._i=f,this._j=l,m}t.RC4=n._createHelper(v);var a=b.RC4Drop=v.extend({cfg:v.cfg.extend({drop:192}),_doReset:function(){v._doReset.call(this);for(var s=this.cfg.drop;s>0;s--)h.call(this)}});t.RC4Drop=n._createHelper(a)}(),r.RC4})}(o3)),o3.exports}var n3={exports:{}},f8;function F5(){return f8||(f8=1,function(c,e){(function(r,t,o){c.exports=t(g2(),d4(),b4(),f4(),u0())})(A1,function(r){return function(){var t=r,o=t.lib,n=o.StreamCipher,b=t.algo,v=[],h=[],a=[],s=b.Rabbit=n.extend({_doReset:function(){for(var l=this._key.words,m=this.cfg.iv,d=0;d<4;d++)l[d]=(l[d]<<8|l[d]>>>24)&16711935|(l[d]<<24|l[d]>>>8)&4278255360;var z=this._X=[l[0],l[3]<<16|l[2]>>>16,l[1],l[0]<<16|l[3]>>>16,l[2],l[1]<<16|l[0]>>>16,l[3],l[2]<<16|l[1]>>>16],y=this._C=[l[2]<<16|l[2]>>>16,l[0]&4294901760|l[1]&65535,l[3]<<16|l[3]>>>16,l[1]&4294901760|l[2]&65535,l[0]<<16|l[0]>>>16,l[2]&4294901760|l[3]&65535,l[1]<<16|l[1]>>>16,l[3]&4294901760|l[0]&65535];this._b=0;for(var d=0;d<4;d++)f.call(this);for(var d=0;d<8;d++)y[d]^=z[d+4&7];if(m){var S=m.words,x=S[0],_=S[1],H=(x<<8|x>>>24)&16711935|(x<<24|x>>>8)&4278255360,L=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360,w=H>>>16|L&4294901760,$=L<<16|H&65535;y[0]^=H,y[1]^=w,y[2]^=L,y[3]^=$,y[4]^=H,y[5]^=w,y[6]^=L,y[7]^=$;for(var d=0;d<4;d++)f.call(this)}},_doProcessBlock:function(l,m){var d=this._X;f.call(this),v[0]=d[0]^d[5]>>>16^d[3]<<16,v[1]=d[2]^d[7]>>>16^d[5]<<16,v[2]=d[4]^d[1]>>>16^d[7]<<16,v[3]=d[6]^d[3]>>>16^d[1]<<16;for(var z=0;z<4;z++)v[z]=(v[z]<<8|v[z]>>>24)&16711935|(v[z]<<24|v[z]>>>8)&4278255360,l[m+z]^=v[z]},blockSize:128/32,ivSize:64/32});function f(){for(var l=this._X,m=this._C,d=0;d<8;d++)h[d]=m[d];m[0]=m[0]+1295307597+this._b|0,m[1]=m[1]+3545052371+(m[0]>>>0>>0?1:0)|0,m[2]=m[2]+886263092+(m[1]>>>0>>0?1:0)|0,m[3]=m[3]+1295307597+(m[2]>>>0>>0?1:0)|0,m[4]=m[4]+3545052371+(m[3]>>>0>>0?1:0)|0,m[5]=m[5]+886263092+(m[4]>>>0>>0?1:0)|0,m[6]=m[6]+1295307597+(m[5]>>>0>>0?1:0)|0,m[7]=m[7]+3545052371+(m[6]>>>0>>0?1:0)|0,this._b=m[7]>>>0>>0?1:0;for(var d=0;d<8;d++){var z=l[d]+m[d],y=z&65535,S=z>>>16,x=((y*y>>>17)+y*S>>>15)+S*S,_=((z&4294901760)*z|0)+((z&65535)*z|0);a[d]=x^_}l[0]=a[0]+(a[7]<<16|a[7]>>>16)+(a[6]<<16|a[6]>>>16)|0,l[1]=a[1]+(a[0]<<8|a[0]>>>24)+a[7]|0,l[2]=a[2]+(a[1]<<16|a[1]>>>16)+(a[0]<<16|a[0]>>>16)|0,l[3]=a[3]+(a[2]<<8|a[2]>>>24)+a[1]|0,l[4]=a[4]+(a[3]<<16|a[3]>>>16)+(a[2]<<16|a[2]>>>16)|0,l[5]=a[5]+(a[4]<<8|a[4]>>>24)+a[3]|0,l[6]=a[6]+(a[5]<<16|a[5]>>>16)+(a[4]<<16|a[4]>>>16)|0,l[7]=a[7]+(a[6]<<8|a[6]>>>24)+a[5]|0}t.Rabbit=n._createHelper(s)}(),r.Rabbit})}(n3)),n3.exports}var a3={exports:{}},h8;function N5(){return h8||(h8=1,function(c,e){(function(r,t,o){c.exports=t(g2(),d4(),b4(),f4(),u0())})(A1,function(r){return function(){var t=r,o=t.lib,n=o.StreamCipher,b=t.algo,v=[],h=[],a=[],s=b.RabbitLegacy=n.extend({_doReset:function(){var l=this._key.words,m=this.cfg.iv,d=this._X=[l[0],l[3]<<16|l[2]>>>16,l[1],l[0]<<16|l[3]>>>16,l[2],l[1]<<16|l[0]>>>16,l[3],l[2]<<16|l[1]>>>16],z=this._C=[l[2]<<16|l[2]>>>16,l[0]&4294901760|l[1]&65535,l[3]<<16|l[3]>>>16,l[1]&4294901760|l[2]&65535,l[0]<<16|l[0]>>>16,l[2]&4294901760|l[3]&65535,l[1]<<16|l[1]>>>16,l[3]&4294901760|l[0]&65535];this._b=0;for(var y=0;y<4;y++)f.call(this);for(var y=0;y<8;y++)z[y]^=d[y+4&7];if(m){var S=m.words,x=S[0],_=S[1],H=(x<<8|x>>>24)&16711935|(x<<24|x>>>8)&4278255360,L=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360,w=H>>>16|L&4294901760,$=L<<16|H&65535;z[0]^=H,z[1]^=w,z[2]^=L,z[3]^=$,z[4]^=H,z[5]^=w,z[6]^=L,z[7]^=$;for(var y=0;y<4;y++)f.call(this)}},_doProcessBlock:function(l,m){var d=this._X;f.call(this),v[0]=d[0]^d[5]>>>16^d[3]<<16,v[1]=d[2]^d[7]>>>16^d[5]<<16,v[2]=d[4]^d[1]>>>16^d[7]<<16,v[3]=d[6]^d[3]>>>16^d[1]<<16;for(var z=0;z<4;z++)v[z]=(v[z]<<8|v[z]>>>24)&16711935|(v[z]<<24|v[z]>>>8)&4278255360,l[m+z]^=v[z]},blockSize:128/32,ivSize:64/32});function f(){for(var l=this._X,m=this._C,d=0;d<8;d++)h[d]=m[d];m[0]=m[0]+1295307597+this._b|0,m[1]=m[1]+3545052371+(m[0]>>>0>>0?1:0)|0,m[2]=m[2]+886263092+(m[1]>>>0>>0?1:0)|0,m[3]=m[3]+1295307597+(m[2]>>>0>>0?1:0)|0,m[4]=m[4]+3545052371+(m[3]>>>0>>0?1:0)|0,m[5]=m[5]+886263092+(m[4]>>>0>>0?1:0)|0,m[6]=m[6]+1295307597+(m[5]>>>0>>0?1:0)|0,m[7]=m[7]+3545052371+(m[6]>>>0>>0?1:0)|0,this._b=m[7]>>>0>>0?1:0;for(var d=0;d<8;d++){var z=l[d]+m[d],y=z&65535,S=z>>>16,x=((y*y>>>17)+y*S>>>15)+S*S,_=((z&4294901760)*z|0)+((z&65535)*z|0);a[d]=x^_}l[0]=a[0]+(a[7]<<16|a[7]>>>16)+(a[6]<<16|a[6]>>>16)|0,l[1]=a[1]+(a[0]<<8|a[0]>>>24)+a[7]|0,l[2]=a[2]+(a[1]<<16|a[1]>>>16)+(a[0]<<16|a[0]>>>16)|0,l[3]=a[3]+(a[2]<<8|a[2]>>>24)+a[1]|0,l[4]=a[4]+(a[3]<<16|a[3]>>>16)+(a[2]<<16|a[2]>>>16)|0,l[5]=a[5]+(a[4]<<8|a[4]>>>24)+a[3]|0,l[6]=a[6]+(a[5]<<16|a[5]>>>16)+(a[4]<<16|a[4]>>>16)|0,l[7]=a[7]+(a[6]<<8|a[6]>>>24)+a[5]|0}t.RabbitLegacy=n._createHelper(s)}(),r.RabbitLegacy})}(a3)),a3.exports}(function(c,e){(function(r,t,o){c.exports=t(g2(),Z4(),_5(),z5(),d4(),C5(),b4(),A6(),Ie(),y5(),Ne(),L5(),H5(),M5(),j6(),R5(),f4(),u0(),S5(),w5(),$5(),V5(),E5(),A5(),T5(),q5(),P5(),k5(),O5(),B5(),I5(),j5(),F5(),N5())})(A1,function(r){return r})})(we);const s3=we.exports;function Y4(c){try{return typeof c=="object"||Array.isArray(c)?JSON.stringify(c):c}catch(e){throw e}}function K4(c){if(!(!c||typeof c!="string"||c.length===0))try{return JSON.parse(c)}catch{return c}}function D5(c,e){try{return!c||!e?e:s3.AES.encrypt(e,c).toString()}catch(r){throw r}}function W5(c,e){try{if(!c||!e)return e;const t=s3.AES.decrypt(e,c).toString(s3.enc.Utf8).trim();return!t||t.length==0?!1:t}catch(r){throw console.error(r),r}}var v8={exports:{}};/*! localForage -- Offline Storage, Improved Version 1.10.0 https://localforage.github.io/localForage (c) 2013-2017 Mozilla, Apache License 2.0 -*/(function(c,e){(function(r){c.exports=r()})(function(){return function r(t,o,n){function b(a,s){if(!o[a]){if(!t[a]){var f=typeof B0=="function"&&B0;if(!s&&f)return f(a,!0);if(v)return v(a,!0);var l=new Error("Cannot find module '"+a+"'");throw l.code="MODULE_NOT_FOUND",l}var m=o[a]={exports:{}};t[a][0].call(m.exports,function(d){var z=t[a][1][d];return b(z||d)},m,m.exports,r,t,o,n)}return o[a].exports}for(var v=typeof B0=="function"&&B0,h=0;h"u"&&r(3);var f=Promise;function l(u,R){R&&u.then(function(g){R(null,g)},function(g){R(g)})}function m(u,R,g){typeof R=="function"&&u.then(R),typeof g=="function"&&u.catch(g)}function d(u){return typeof u!="string"&&(console.warn(u+" used as a key, but it is not a string."),u=String(u)),u}function z(){if(arguments.length&&typeof arguments[arguments.length-1]=="function")return arguments[arguments.length-1]}var y="local-forage-detect-blob-support",S=void 0,x={},_=Object.prototype.toString,H="readonly",L="readwrite";function w(u){for(var R=u.length,g=new ArrayBuffer(R),q=new Uint8Array(g),P=0;P=43)}}).catch(function(){return!1})}function E(u){return typeof S=="boolean"?f.resolve(S):$(u).then(function(R){return S=R,S})}function F(u){var R=x[u.name],g={};g.promise=new f(function(q,P){g.resolve=q,g.reject=P}),R.deferredOperations.push(g),R.dbReady?R.dbReady=R.dbReady.then(function(){return g.promise}):R.dbReady=g.promise}function M(u){var R=x[u.name],g=R.deferredOperations.pop();if(g)return g.resolve(),g.promise}function V(u,R){var g=x[u.name],q=g.deferredOperations.pop();if(q)return q.reject(R),q.promise}function I(u,R){return new f(function(g,q){if(x[u.name]=x[u.name]||G(),u.db)if(R)F(u),u.db.close();else return g(u.db);var P=[u.name];R&&P.push(u.version);var A=h.open.apply(h,P);R&&(A.onupgradeneeded=function(K){var c1=A.result;try{c1.createObjectStore(u.storeName),K.oldVersion<=1&&c1.createObjectStore(y)}catch(n1){if(n1.name==="ConstraintError")console.warn('The database "'+u.name+'" has been upgraded from version '+K.oldVersion+" to version "+K.newVersion+', but the storage "'+u.storeName+'" already exists.');else throw n1}}),A.onerror=function(K){K.preventDefault(),q(A.error)},A.onsuccess=function(){var K=A.result;K.onversionchange=function(c1){c1.target.close()},g(K),M(u)}})}function B(u){return I(u,!1)}function t1(u){return I(u,!0)}function e1(u,R){if(!u.db)return!0;var g=!u.db.objectStoreNames.contains(u.storeName),q=u.versionu.db.version;if(q&&(u.version!==R&&console.warn('The database "'+u.name+`" can't be downgraded from version `+u.db.version+" to version "+u.version+"."),u.version=u.db.version),P||g){if(g){var A=u.db.version+1;A>u.version&&(u.version=A)}return!0}return!1}function h1(u){return new f(function(R,g){var q=new FileReader;q.onerror=g,q.onloadend=function(P){var A=btoa(P.target.result||"");R({__local_forage_encoded_blob:!0,data:A,type:u.type})},q.readAsBinaryString(u)})}function u1(u){var R=w(atob(u.data));return s([R],{type:u.type})}function i1(u){return u&&u.__local_forage_encoded_blob}function p1(u){var R=this,g=R._initReady().then(function(){var q=x[R._dbInfo.name];if(q&&q.dbReady)return q.dbReady});return m(g,u,u),g}function o1(u){F(u);for(var R=x[u.name],g=R.forages,q=0;q0&&(!u.db||A.name==="InvalidStateError"||A.name==="NotFoundError"))return f.resolve().then(function(){if(!u.db||A.name==="NotFoundError"&&!u.db.objectStoreNames.contains(u.storeName)&&u.version<=u.db.version)return u.db&&(u.version=u.db.version+1),t1(u)}).then(function(){return o1(u).then(function(){N(u,R,g,q-1)})}).catch(g);g(A)}}function G(){return{forages:[],db:null,dbReady:null,deferredOperations:[]}}function D(u){var R=this,g={db:null};if(u)for(var q in u)g[q]=u[q];var P=x[g.name];P||(P=G(),x[g.name]=P),P.forages.push(R),R._initReady||(R._initReady=R.ready,R.ready=p1);var A=[];function K(){return f.resolve()}for(var c1=0;c1>4,l1[P++]=(K&15)<<4|c1>>2,l1[P++]=(c1&3)<<6|n1&63;return a1}function d2(u){var R=new Uint8Array(u),g="",q;for(q=0;q>2],g+=N1[(R[q]&3)<<4|R[q+1]>>4],g+=N1[(R[q+1]&15)<<2|R[q+2]>>6],g+=N1[R[q+2]&63];return R.length%3===2?g=g.substring(0,g.length-1)+"=":R.length%3===1&&(g=g.substring(0,g.length-2)+"=="),g}function H2(u,R){var g="";if(u&&(g=w2.call(u)),u&&(g==="[object ArrayBuffer]"||u.buffer&&w2.call(u.buffer)==="[object ArrayBuffer]")){var q,P=i2;u instanceof ArrayBuffer?(q=u,P+=a2):(q=u.buffer,g==="[object Int8Array]"?P+=W1:g==="[object Uint8Array]"?P+=Y1:g==="[object Uint8ClampedArray]"?P+=r2:g==="[object Int16Array]"?P+=J:g==="[object Uint16Array]"?P+=Q:g==="[object Int32Array]"?P+=b1:g==="[object Uint32Array]"?P+=g1:g==="[object Float32Array]"?P+=m2:g==="[object Float64Array]"?P+=S2:R(new Error("Failed to get type for BinaryArray"))),R(P+d2(q))}else if(g==="[object Blob]"){var A=new FileReader;A.onload=function(){var K=s2+u.type+"~"+d2(this.result);R(i2+U1+K)},A.readAsArrayBuffer(u)}else try{R(JSON.stringify(u))}catch(K){console.error("Couldn't convert value into a JSON string: ",u),R(null,K)}}function A2(u){if(u.substring(0,l2)!==i2)return JSON.parse(u);var R=u.substring(z2),g=u.substring(l2,z2),q;if(g===U1&&t2.test(R)){var P=R.match(t2);q=P[1],R=R.substring(P[0].length)}var A=U2(R);switch(g){case a2:return A;case U1:return s([A],{type:q});case W1:return new Int8Array(A);case Y1:return new Uint8Array(A);case r2:return new Uint8ClampedArray(A);case J:return new Int16Array(A);case Q:return new Uint16Array(A);case b1:return new Int32Array(A);case g1:return new Uint32Array(A);case m2:return new Float32Array(A);case S2:return new Float64Array(A);default:throw new Error("Unkown type: "+g)}}var x2={serialize:H2,deserialize:A2,stringToBuffer:U2,bufferToString:d2};function L2(u,R,g,q){u.executeSql("CREATE TABLE IF NOT EXISTS "+R.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],g,q)}function O2(u){var R=this,g={db:null};if(u)for(var q in u)g[q]=typeof u[q]!="string"?u[q].toString():u[q];var P=new f(function(A,K){try{g.db=openDatabase(g.name,String(g.version),g.description,g.size)}catch(c1){return K(c1)}g.db.transaction(function(c1){L2(c1,g,function(){R._dbInfo=g,A()},function(n1,a1){K(a1)})},K)});return g.serializer=x2,P}function h2(u,R,g,q,P,A){u.executeSql(g,q,P,function(K,c1){c1.code===c1.SYNTAX_ERR?K.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[R.storeName],function(n1,a1){a1.rows.length?A(n1,c1):L2(n1,R,function(){n1.executeSql(g,q,P,A)},A)},A):A(K,c1)},A)}function E2(u,R){var g=this;u=d(u);var q=new f(function(P,A){g.ready().then(function(){var K=g._dbInfo;K.db.transaction(function(c1){h2(c1,K,"SELECT * FROM "+K.storeName+" WHERE key = ? LIMIT 1",[u],function(n1,a1){var l1=a1.rows.length?a1.rows.item(0).value:null;l1&&(l1=K.serializer.deserialize(l1)),P(l1)},function(n1,a1){A(a1)})})}).catch(A)});return l(q,R),q}function M2(u,R){var g=this,q=new f(function(P,A){g.ready().then(function(){var K=g._dbInfo;K.db.transaction(function(c1){h2(c1,K,"SELECT * FROM "+K.storeName,[],function(n1,a1){for(var l1=a1.rows,L1=l1.length,k1=0;k10){K(Z2.apply(P,[u,n1,g,q-1]));return}c1(k1)}})})}).catch(c1)});return l(A,g),A}function t0(u,R,g){return Z2.apply(this,[u,R,g,1])}function F2(u,R){var g=this;u=d(u);var q=new f(function(P,A){g.ready().then(function(){var K=g._dbInfo;K.db.transaction(function(c1){h2(c1,K,"DELETE FROM "+K.storeName+" WHERE key = ?",[u],function(){P()},function(n1,a1){A(a1)})})}).catch(A)});return l(q,R),q}function B2(u){var R=this,g=new f(function(q,P){R.ready().then(function(){var A=R._dbInfo;A.db.transaction(function(K){h2(K,A,"DELETE FROM "+A.storeName,[],function(){q()},function(c1,n1){P(n1)})})}).catch(P)});return l(g,u),g}function r0(u){var R=this,g=new f(function(q,P){R.ready().then(function(){var A=R._dbInfo;A.db.transaction(function(K){h2(K,A,"SELECT COUNT(key) as c FROM "+A.storeName,[],function(c1,n1){var a1=n1.rows.item(0).c;q(a1)},function(c1,n1){P(n1)})})}).catch(P)});return l(g,u),g}function c0(u,R){var g=this,q=new f(function(P,A){g.ready().then(function(){var K=g._dbInfo;K.db.transaction(function(c1){h2(c1,K,"SELECT key FROM "+K.storeName+" WHERE id = ? LIMIT 1",[u+1],function(n1,a1){var l1=a1.rows.length?a1.rows.item(0).key:null;P(l1)},function(n1,a1){A(a1)})})}).catch(A)});return l(q,R),q}function Y2(u){var R=this,g=new f(function(q,P){R.ready().then(function(){var A=R._dbInfo;A.db.transaction(function(K){h2(K,A,"SELECT key FROM "+A.storeName,[],function(c1,n1){for(var a1=[],l1=0;l1 '__WebKitDatabaseInfoTable__'",[],function(P,A){for(var K=[],c1=0;c10}function k0(u){var R=this,g={};if(u)for(var q in u)g[q]=u[q];return g.keyPrefix=K2(u,R._defaultConfig),T2()?(R._dbInfo=g,g.serializer=x2,f.resolve()):f.reject()}function F0(u){var R=this,g=R.ready().then(function(){for(var q=R._dbInfo.keyPrefix,P=localStorage.length-1;P>=0;P--){var A=localStorage.key(P);A.indexOf(q)===0&&localStorage.removeItem(A)}});return l(g,u),g}function N0(u,R){var g=this;u=d(u);var q=g.ready().then(function(){var P=g._dbInfo,A=localStorage.getItem(P.keyPrefix+u);return A&&(A=P.serializer.deserialize(A)),A});return l(q,R),q}function t4(u,R){var g=this,q=g.ready().then(function(){for(var P=g._dbInfo,A=P.keyPrefix,K=A.length,c1=localStorage.length,n1=1,a1=0;a1=0;K--){var c1=localStorage.key(K);c1.indexOf(A)===0&&localStorage.removeItem(c1)}}):P=f.reject("Invalid arguments"),l(P,R),P}var O0={_driver:"localStorageWrapper",_initStorage:k0,_support:$2(),iterate:t4,getItem:N0,setItem:G0,removeItem:E0,clear:F0,length:W0,key:D0,keys:o0,dropInstance:r4},X2=function(R,g){return R===g||typeof R=="number"&&typeof g=="number"&&isNaN(R)&&isNaN(g)},U0=function(R,g){for(var q=R.length,P=0;P"u"?"undefined":n(g))==="object"){if(this._ready)return new Error("Can't call config() after localforage has been used.");for(var q in g){if(q==="storeName"&&(g[q]=g[q].replace(/\W/g,"_")),q==="version"&&typeof g[q]!="number")return new Error("Database version must be a number.");this._config[q]=g[q]}return"driver"in g&&g.driver?this.setDriver(this._config.driver):!0}else return typeof g=="string"?this._config[g]:this._config},u.prototype.defineDriver=function(g,q,P){var A=new f(function(K,c1){try{var n1=g._driver,a1=new Error("Custom driver not compliant; see https://mozilla.github.io/localForage/#definedriver");if(!g._driver){c1(a1);return}for(var l1=Q2.concat("_initStorage"),L1=0,k1=l1.length;L1{Q4()},l3)),!0}catch(r){throw r}}async function Y5(c){try{if(!c)return!1;await Q4();const e=await W2.getItem(c);return e?K4(J4(c,e)):!1}catch(e){throw e}}async function K5(c,e,r){try{return c==null||c.trim()===""?!1:(c=c.trim(),await Q4(),e==null?(await W2.removeItem(c),!1):(r?await Q5(c,r):await X5(c,!1),await W2.setItem(c,e6(c,Y4(e))),!0))}catch(t){throw t}}async function Q4(){try{m8();let c=K4(J4(f0,await W2.getItem(f0)));if(!c||c.length===0)return await W2.removeItem(f0),[];let e=[];return c=await c.filter(async r=>await W2.getItem(r.key)?new Date().getTime()>r.liveUntil?(await W2.removeItem(r.key),e.push(r.key),!1):!0:!1),c.length>0?await W2.setItem(f0,e6(f0,Y4(c))):await W2.removeItem(f0),e}catch(c){throw c}}async function X5(c,e=!0){try{await Q4();let r=K4(J4(f0,await W2.getItem(f0)));return e||await W2.removeItem(c),!r||r.length===0||(r=r.filter(t=>t.key!==c),r&&r.length>0?await W2.setItem(f0,e6(f0,Y4(r))):await W2.removeItem(f0)),!0}catch(r){throw r}}function J4(c,e){return i3?W5(c,e):e}function e6(c,e){return i3?D5(c,e):e}function m8(){if(!W2||typeof W2!="object")throw new Error("SPA Storage: Storage is not configured correctly")}async function Q5(c,e){try{if(!J5(e))return!1;const r=new Date().getTime()+e;let t=K4(J4(f0,await W2.getItem(f0)));t?(t=t.filter(o=>o.key!==c),t.push({key:c,liveUntil:r})):t=[{key:c,liveUntil:r}],await W2.setItem(f0,e6(f0,Y4(t)))}catch(r){throw r}}function J5(c){return!(!c||!Number.isSafeInteger(c)||!Number.isInteger(c)||c<=0)}function er(c={}){if(typeof W2.keys=="function"){W2.config({driver:W2.INDEXEDDB,name:c.name||X4.name,version:c.version||X4.version,storeName:c.storeName||X4.storeName,description:c.description||X4.description});return}}var u3={exports:{}};(function(c,e){var r=200,t="__lodash_hash_undefined__",o=9007199254740991,n="[object Arguments]",b="[object Array]",v="[object Boolean]",h="[object Date]",a="[object Error]",s="[object Function]",f="[object GeneratorFunction]",l="[object Map]",m="[object Number]",d="[object Object]",z="[object Promise]",y="[object RegExp]",S="[object Set]",x="[object String]",_="[object Symbol]",H="[object WeakMap]",L="[object ArrayBuffer]",w="[object DataView]",$="[object Float32Array]",E="[object Float64Array]",F="[object Int8Array]",M="[object Int16Array]",V="[object Int32Array]",I="[object Uint8Array]",B="[object Uint8ClampedArray]",t1="[object Uint16Array]",e1="[object Uint32Array]",h1=/[\\^$.*+?()[\]{}|]/g,u1=/\w*$/,i1=/^\[object .+?Constructor\]$/,p1=/^(?:0|[1-9]\d*)$/,o1={};o1[n]=o1[b]=o1[L]=o1[w]=o1[v]=o1[h]=o1[$]=o1[E]=o1[F]=o1[M]=o1[V]=o1[l]=o1[m]=o1[d]=o1[y]=o1[S]=o1[x]=o1[_]=o1[I]=o1[B]=o1[t1]=o1[e1]=!0,o1[a]=o1[s]=o1[H]=!1;var N=typeof T1=="object"&&T1&&T1.Object===Object&&T1,G=typeof self=="object"&&self&&self.Object===Object&&self,D=N||G||Function("return this")(),W=e&&!e.nodeType&&e,z1=W&&!0&&c&&!c.nodeType&&c,_1=z1&&z1.exports===W;function S1(p,O){return p.set(O[0],O[1]),p}function s1(p,O){return p.add(O),p}function w1(p,O){for(var U=-1,v1=p?p.length:0;++U-1}function D0(p,O){var U=this.__data__,v1=Q2(U,p);return v1<0?U.push([p,O]):U[v1][1]=O,this}T2.prototype.clear=k0,T2.prototype.delete=F0,T2.prototype.get=N0,T2.prototype.has=t4,T2.prototype.set=D0;function o0(p){var O=-1,U=p?p.length:0;for(this.clear();++O-1&&p%1==0&&p-1&&p%1==0&&p<=o}function $1(p){var O=typeof p;return!!p&&(O=="object"||O=="function")}function V1(p){return!!p&&typeof p=="object"}function A1(p){return j(p)?Z0(p):R(p)}function o2(){return[]}function f2(){return!1}c.exports=P4})(u3,u3.exports);const x4=u3.exports,d8=c=>{try{v3(c);let e;return c.subscribe(t=>{if(typeof t=="object"||Array.isArray(t)){e=x4(t);return}e=t})(),e}catch(e){throw e}},f3=(c,e,r)=>{try{const t=d8(c);return t&&t[e]!==void 0?t[e]:r}catch(t){throw t}},h3=(c,e,r)=>{try{v3(c),c.update(t=>Object.assign(x4(r||t),x4(e)))}catch(t){throw t}};async function tr(c,e,r={}){try{const t=d8(c);for(let o of r.ignoreKeys||[])t[o]=void 0;return await K5(e,t,r.timeout)}catch(t){throw t}}async function rr(c,e){try{v3(c);const r=await Y5(e);return r?(c.update(()=>Object.assign({},x4(r))),!0):void 0}catch(r){throw r}}function v3(c){if(!c||!c.subscribe||!c.update)throw new Error("SPA Storage: Store provided is not defined")}U5(void 0,{name:"SCR",storeName:"SCR_STORE"});const g4=[];function E4(c,e=E1){let r;const t=new Set;function o(v){if(X1(c,v)&&(c=v,r)){const h=!g4.length;for(const a of t)a[1](),g4.push(a,c);if(h){for(let a=0;a{t.delete(a),t.size===0&&(r(),r=null)}}return{set:o,update:n,subscribe:b}}function cr(c,e){return Object.assign(x4(b8(c)),x4(b8(e)))}function b8(c){return typeof c=="object"||Array.isArray(c)?c:{}}const x8="SCR_APP_STORE",I0=E4(cr({},{themeDark:!1,menuOpened:!0,version:0}));async function or(c){h3(I0,{themeDark:c}),await tr(I0,x8)}function nr(){return f3(I0,"themeDark")}function ar(c){h3(I0,{menuOpened:c})}function sr(){return f3(I0,"menuOpened")}function ir(c){h3(I0,{version:c})}function lr(){return f3(I0,"version")}const V0={STORAGE_KEY:x8,store:I0,subscribe:I0.subscribe,update:I0.update,setThemeDark:or,getThemeDark:nr,setMenuOpened:ar,getMenuOpened:sr,setVersion:ir,getVersion:lr};let g8=!1;async function ur(){if(g8)return!0;try{return await rr(V0.store,V0.STORAGE_KEY),g8=!0,!0}catch(c){throw console.error(c),c}}var fr={exports:{}},p3={exports:{}},_8;function _2(){return _8||(_8=1,function(c,e){(function(r,t){c.exports=t()})(T1,function(){var r=r||function(t,o){var n;if(typeof window<"u"&&window.crypto&&(n=window.crypto),typeof self<"u"&&self.crypto&&(n=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(n=globalThis.crypto),!n&&typeof window<"u"&&window.msCrypto&&(n=window.msCrypto),!n&&typeof T1<"u"&&T1.crypto&&(n=T1.crypto),!n&&typeof B0=="function")try{n=$e}catch{}var b=function(){if(n){if(typeof n.getRandomValues=="function")try{return n.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof n.randomBytes=="function")try{return n.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},v=Object.create||function(){function x(){}return function(_){var H;return x.prototype=_,H=new x,x.prototype=null,H}}(),h={},a=h.lib={},s=a.Base=function(){return{extend:function(x){var _=v(this);return x&&_.mixIn(x),(!_.hasOwnProperty("init")||this.init===_.init)&&(_.init=function(){_.$super.init.apply(this,arguments)}),_.init.prototype=_,_.$super=this,_},create:function(){var x=this.extend();return x.init.apply(x,arguments),x},init:function(){},mixIn:function(x){for(var _ in x)x.hasOwnProperty(_)&&(this[_]=x[_]);x.hasOwnProperty("toString")&&(this.toString=x.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),f=a.WordArray=s.extend({init:function(x,_){x=this.words=x||[],_!=o?this.sigBytes=_:this.sigBytes=x.length*4},toString:function(x){return(x||m).stringify(this)},concat:function(x){var _=this.words,H=x.words,L=this.sigBytes,w=x.sigBytes;if(this.clamp(),L%4)for(var $=0;$>>2]>>>24-$%4*8&255;_[L+$>>>2]|=E<<24-(L+$)%4*8}else for(var F=0;F>>2]=H[F>>>2];return this.sigBytes+=w,this},clamp:function(){var x=this.words,_=this.sigBytes;x[_>>>2]&=4294967295<<32-_%4*8,x.length=t.ceil(_/4)},clone:function(){var x=s.clone.call(this);return x.words=this.words.slice(0),x},random:function(x){for(var _=[],H=0;H>>2]>>>24-w%4*8&255;L.push(($>>>4).toString(16)),L.push(($&15).toString(16))}return L.join("")},parse:function(x){for(var _=x.length,H=[],L=0;L<_;L+=2)H[L>>>3]|=parseInt(x.substr(L,2),16)<<24-L%8*4;return new f.init(H,_/2)}},d=l.Latin1={stringify:function(x){for(var _=x.words,H=x.sigBytes,L=[],w=0;w>>2]>>>24-w%4*8&255;L.push(String.fromCharCode($))}return L.join("")},parse:function(x){for(var _=x.length,H=[],L=0;L<_;L++)H[L>>>2]|=(x.charCodeAt(L)&255)<<24-L%4*8;return new f.init(H,_)}},z=l.Utf8={stringify:function(x){try{return decodeURIComponent(escape(d.stringify(x)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(x){return d.parse(unescape(encodeURIComponent(x)))}},y=a.BufferedBlockAlgorithm=s.extend({reset:function(){this._data=new f.init,this._nDataBytes=0},_append:function(x){typeof x=="string"&&(x=z.parse(x)),this._data.concat(x),this._nDataBytes+=x.sigBytes},_process:function(x){var _,H=this._data,L=H.words,w=H.sigBytes,$=this.blockSize,E=$*4,F=w/E;x?F=t.ceil(F):F=t.max((F|0)-this._minBufferSize,0);var M=F*$,V=t.min(M*4,w);if(M){for(var I=0;I>>2]|=h[f]<<24-f%4*8;b.call(this,s,a)}else b.apply(this,arguments)};v.prototype=n}}(),r.lib.WordArray})}(d3)),d3.exports}var b3={exports:{}},y8;function vr(){return y8||(y8=1,function(c,e){(function(r,t){c.exports=t(_2())})(T1,function(r){return function(){var t=r,o=t.lib,n=o.WordArray,b=t.enc;b.Utf16=b.Utf16BE={stringify:function(h){for(var a=h.words,s=h.sigBytes,f=[],l=0;l>>2]>>>16-l%4*8&65535;f.push(String.fromCharCode(m))}return f.join("")},parse:function(h){for(var a=h.length,s=[],f=0;f>>1]|=h.charCodeAt(f)<<16-f%2*16;return n.create(s,a*2)}},b.Utf16LE={stringify:function(h){for(var a=h.words,s=h.sigBytes,f=[],l=0;l>>2]>>>16-l%4*8&65535);f.push(String.fromCharCode(m))}return f.join("")},parse:function(h){for(var a=h.length,s=[],f=0;f>>1]|=v(h.charCodeAt(f)<<16-f%2*16);return n.create(s,a*2)}};function v(h){return h<<8&4278255360|h>>>8&16711935}}(),r.enc.Utf16})}(b3)),b3.exports}var x3={exports:{}},L8;function _4(){return L8||(L8=1,function(c,e){(function(r,t){c.exports=t(_2())})(T1,function(r){return function(){var t=r,o=t.lib,n=o.WordArray,b=t.enc;b.Base64={stringify:function(h){var a=h.words,s=h.sigBytes,f=this._map;h.clamp();for(var l=[],m=0;m>>2]>>>24-m%4*8&255,z=a[m+1>>>2]>>>24-(m+1)%4*8&255,y=a[m+2>>>2]>>>24-(m+2)%4*8&255,S=d<<16|z<<8|y,x=0;x<4&&m+x*.75>>6*(3-x)&63));var _=f.charAt(64);if(_)for(;l.length%4;)l.push(_);return l.join("")},parse:function(h){var a=h.length,s=this._map,f=this._reverseMap;if(!f){f=this._reverseMap=[];for(var l=0;l>>6-m%4*2,y=d|z;f[l>>>2]|=y<<24-l%4*8,l++}return n.create(f,l)}}(),r.enc.Base64})}(x3)),x3.exports}var g3={exports:{}},H8;function pr(){return H8||(H8=1,function(c,e){(function(r,t){c.exports=t(_2())})(T1,function(r){return function(){var t=r,o=t.lib,n=o.WordArray,b=t.enc;b.Base64url={stringify:function(h,a=!0){var s=h.words,f=h.sigBytes,l=a?this._safe_map:this._map;h.clamp();for(var m=[],d=0;d>>2]>>>24-d%4*8&255,y=s[d+1>>>2]>>>24-(d+1)%4*8&255,S=s[d+2>>>2]>>>24-(d+2)%4*8&255,x=z<<16|y<<8|S,_=0;_<4&&d+_*.75>>6*(3-_)&63));var H=l.charAt(64);if(H)for(;m.length%4;)m.push(H);return m.join("")},parse:function(h,a=!0){var s=h.length,f=a?this._safe_map:this._map,l=this._reverseMap;if(!l){l=this._reverseMap=[];for(var m=0;m>>6-m%4*2,y=d|z;f[l>>>2]|=y<<24-l%4*8,l++}return n.create(f,l)}}(),r.enc.Base64url})}(g3)),g3.exports}var _3={exports:{}},M8;function z4(){return M8||(M8=1,function(c,e){(function(r,t){c.exports=t(_2())})(T1,function(r){return function(t){var o=r,n=o.lib,b=n.WordArray,v=n.Hasher,h=o.algo,a=[];(function(){for(var z=0;z<64;z++)a[z]=t.abs(t.sin(z+1))*4294967296|0})();var s=h.MD5=v.extend({_doReset:function(){this._hash=new b.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(z,y){for(var S=0;S<16;S++){var x=y+S,_=z[x];z[x]=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360}var H=this._hash.words,L=z[y+0],w=z[y+1],$=z[y+2],E=z[y+3],F=z[y+4],M=z[y+5],V=z[y+6],I=z[y+7],B=z[y+8],t1=z[y+9],e1=z[y+10],h1=z[y+11],u1=z[y+12],i1=z[y+13],p1=z[y+14],o1=z[y+15],N=H[0],G=H[1],D=H[2],W=H[3];N=f(N,G,D,W,L,7,a[0]),W=f(W,N,G,D,w,12,a[1]),D=f(D,W,N,G,$,17,a[2]),G=f(G,D,W,N,E,22,a[3]),N=f(N,G,D,W,F,7,a[4]),W=f(W,N,G,D,M,12,a[5]),D=f(D,W,N,G,V,17,a[6]),G=f(G,D,W,N,I,22,a[7]),N=f(N,G,D,W,B,7,a[8]),W=f(W,N,G,D,t1,12,a[9]),D=f(D,W,N,G,e1,17,a[10]),G=f(G,D,W,N,h1,22,a[11]),N=f(N,G,D,W,u1,7,a[12]),W=f(W,N,G,D,i1,12,a[13]),D=f(D,W,N,G,p1,17,a[14]),G=f(G,D,W,N,o1,22,a[15]),N=l(N,G,D,W,w,5,a[16]),W=l(W,N,G,D,V,9,a[17]),D=l(D,W,N,G,h1,14,a[18]),G=l(G,D,W,N,L,20,a[19]),N=l(N,G,D,W,M,5,a[20]),W=l(W,N,G,D,e1,9,a[21]),D=l(D,W,N,G,o1,14,a[22]),G=l(G,D,W,N,F,20,a[23]),N=l(N,G,D,W,t1,5,a[24]),W=l(W,N,G,D,p1,9,a[25]),D=l(D,W,N,G,E,14,a[26]),G=l(G,D,W,N,B,20,a[27]),N=l(N,G,D,W,i1,5,a[28]),W=l(W,N,G,D,$,9,a[29]),D=l(D,W,N,G,I,14,a[30]),G=l(G,D,W,N,u1,20,a[31]),N=m(N,G,D,W,M,4,a[32]),W=m(W,N,G,D,B,11,a[33]),D=m(D,W,N,G,h1,16,a[34]),G=m(G,D,W,N,p1,23,a[35]),N=m(N,G,D,W,w,4,a[36]),W=m(W,N,G,D,F,11,a[37]),D=m(D,W,N,G,I,16,a[38]),G=m(G,D,W,N,e1,23,a[39]),N=m(N,G,D,W,i1,4,a[40]),W=m(W,N,G,D,L,11,a[41]),D=m(D,W,N,G,E,16,a[42]),G=m(G,D,W,N,V,23,a[43]),N=m(N,G,D,W,t1,4,a[44]),W=m(W,N,G,D,u1,11,a[45]),D=m(D,W,N,G,o1,16,a[46]),G=m(G,D,W,N,$,23,a[47]),N=d(N,G,D,W,L,6,a[48]),W=d(W,N,G,D,I,10,a[49]),D=d(D,W,N,G,p1,15,a[50]),G=d(G,D,W,N,M,21,a[51]),N=d(N,G,D,W,u1,6,a[52]),W=d(W,N,G,D,E,10,a[53]),D=d(D,W,N,G,e1,15,a[54]),G=d(G,D,W,N,w,21,a[55]),N=d(N,G,D,W,B,6,a[56]),W=d(W,N,G,D,o1,10,a[57]),D=d(D,W,N,G,V,15,a[58]),G=d(G,D,W,N,i1,21,a[59]),N=d(N,G,D,W,F,6,a[60]),W=d(W,N,G,D,h1,10,a[61]),D=d(D,W,N,G,$,15,a[62]),G=d(G,D,W,N,t1,21,a[63]),H[0]=H[0]+N|0,H[1]=H[1]+G|0,H[2]=H[2]+D|0,H[3]=H[3]+W|0},_doFinalize:function(){var z=this._data,y=z.words,S=this._nDataBytes*8,x=z.sigBytes*8;y[x>>>5]|=128<<24-x%32;var _=t.floor(S/4294967296),H=S;y[(x+64>>>9<<4)+15]=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360,y[(x+64>>>9<<4)+14]=(H<<8|H>>>24)&16711935|(H<<24|H>>>8)&4278255360,z.sigBytes=(y.length+1)*4,this._process();for(var L=this._hash,w=L.words,$=0;$<4;$++){var E=w[$];w[$]=(E<<8|E>>>24)&16711935|(E<<24|E>>>8)&4278255360}return L},clone:function(){var z=v.clone.call(this);return z._hash=this._hash.clone(),z}});function f(z,y,S,x,_,H,L){var w=z+(y&S|~y&x)+_+L;return(w<>>32-H)+y}function l(z,y,S,x,_,H,L){var w=z+(y&x|S&~x)+_+L;return(w<>>32-H)+y}function m(z,y,S,x,_,H,L){var w=z+(y^S^x)+_+L;return(w<>>32-H)+y}function d(z,y,S,x,_,H,L){var w=z+(S^(y|~x))+_+L;return(w<>>32-H)+y}o.MD5=v._createHelper(s),o.HmacMD5=v._createHmacHelper(s)}(Math),r.MD5})}(_3)),_3.exports}var z3={exports:{}},R8;function C3(){return R8||(R8=1,function(c,e){(function(r,t){c.exports=t(_2())})(T1,function(r){return function(){var t=r,o=t.lib,n=o.WordArray,b=o.Hasher,v=t.algo,h=[],a=v.SHA1=b.extend({_doReset:function(){this._hash=new n.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(s,f){for(var l=this._hash.words,m=l[0],d=l[1],z=l[2],y=l[3],S=l[4],x=0;x<80;x++){if(x<16)h[x]=s[f+x]|0;else{var _=h[x-3]^h[x-8]^h[x-14]^h[x-16];h[x]=_<<1|_>>>31}var H=(m<<5|m>>>27)+S+h[x];x<20?H+=(d&z|~d&y)+1518500249:x<40?H+=(d^z^y)+1859775393:x<60?H+=(d&z|d&y|z&y)-1894007588:H+=(d^z^y)-899497514,S=y,y=z,z=d<<30|d>>>2,d=m,m=H}l[0]=l[0]+m|0,l[1]=l[1]+d|0,l[2]=l[2]+z|0,l[3]=l[3]+y|0,l[4]=l[4]+S|0},_doFinalize:function(){var s=this._data,f=s.words,l=this._nDataBytes*8,m=s.sigBytes*8;return f[m>>>5]|=128<<24-m%32,f[(m+64>>>9<<4)+14]=Math.floor(l/4294967296),f[(m+64>>>9<<4)+15]=l,s.sigBytes=f.length*4,this._process(),this._hash},clone:function(){var s=b.clone.call(this);return s._hash=this._hash.clone(),s}});t.SHA1=b._createHelper(a),t.HmacSHA1=b._createHmacHelper(a)}(),r.SHA1})}(z3)),z3.exports}var y3={exports:{}},S8;function w8(){return S8||(S8=1,function(c,e){(function(r,t){c.exports=t(_2())})(T1,function(r){return function(t){var o=r,n=o.lib,b=n.WordArray,v=n.Hasher,h=o.algo,a=[],s=[];(function(){function m(S){for(var x=t.sqrt(S),_=2;_<=x;_++)if(!(S%_))return!1;return!0}function d(S){return(S-(S|0))*4294967296|0}for(var z=2,y=0;y<64;)m(z)&&(y<8&&(a[y]=d(t.pow(z,1/2))),s[y]=d(t.pow(z,1/3)),y++),z++})();var f=[],l=h.SHA256=v.extend({_doReset:function(){this._hash=new b.init(a.slice(0))},_doProcessBlock:function(m,d){for(var z=this._hash.words,y=z[0],S=z[1],x=z[2],_=z[3],H=z[4],L=z[5],w=z[6],$=z[7],E=0;E<64;E++){if(E<16)f[E]=m[d+E]|0;else{var F=f[E-15],M=(F<<25|F>>>7)^(F<<14|F>>>18)^F>>>3,V=f[E-2],I=(V<<15|V>>>17)^(V<<13|V>>>19)^V>>>10;f[E]=M+f[E-7]+I+f[E-16]}var B=H&L^~H&w,t1=y&S^y&x^S&x,e1=(y<<30|y>>>2)^(y<<19|y>>>13)^(y<<10|y>>>22),h1=(H<<26|H>>>6)^(H<<21|H>>>11)^(H<<7|H>>>25),u1=$+h1+B+s[E]+f[E],i1=e1+t1;$=w,w=L,L=H,H=_+u1|0,_=x,x=S,S=y,y=u1+i1|0}z[0]=z[0]+y|0,z[1]=z[1]+S|0,z[2]=z[2]+x|0,z[3]=z[3]+_|0,z[4]=z[4]+H|0,z[5]=z[5]+L|0,z[6]=z[6]+w|0,z[7]=z[7]+$|0},_doFinalize:function(){var m=this._data,d=m.words,z=this._nDataBytes*8,y=m.sigBytes*8;return d[y>>>5]|=128<<24-y%32,d[(y+64>>>9<<4)+14]=t.floor(z/4294967296),d[(y+64>>>9<<4)+15]=z,m.sigBytes=d.length*4,this._process(),this._hash},clone:function(){var m=v.clone.call(this);return m._hash=this._hash.clone(),m}});o.SHA256=v._createHelper(l),o.HmacSHA256=v._createHmacHelper(l)}(Math),r.SHA256})}(y3)),y3.exports}var L3={exports:{}},$8;function mr(){return $8||($8=1,function(c,e){(function(r,t,o){c.exports=t(_2(),w8())})(T1,function(r){return function(){var t=r,o=t.lib,n=o.WordArray,b=t.algo,v=b.SHA256,h=b.SHA224=v.extend({_doReset:function(){this._hash=new n.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var a=v._doFinalize.call(this);return a.sigBytes-=4,a}});t.SHA224=v._createHelper(h),t.HmacSHA224=v._createHmacHelper(h)}(),r.SHA224})}(L3)),L3.exports}var H3={exports:{}},V8;function E8(){return V8||(V8=1,function(c,e){(function(r,t,o){c.exports=t(_2(),t6())})(T1,function(r){return function(){var t=r,o=t.lib,n=o.Hasher,b=t.x64,v=b.Word,h=b.WordArray,a=t.algo;function s(){return v.create.apply(v,arguments)}var f=[s(1116352408,3609767458),s(1899447441,602891725),s(3049323471,3964484399),s(3921009573,2173295548),s(961987163,4081628472),s(1508970993,3053834265),s(2453635748,2937671579),s(2870763221,3664609560),s(3624381080,2734883394),s(310598401,1164996542),s(607225278,1323610764),s(1426881987,3590304994),s(1925078388,4068182383),s(2162078206,991336113),s(2614888103,633803317),s(3248222580,3479774868),s(3835390401,2666613458),s(4022224774,944711139),s(264347078,2341262773),s(604807628,2007800933),s(770255983,1495990901),s(1249150122,1856431235),s(1555081692,3175218132),s(1996064986,2198950837),s(2554220882,3999719339),s(2821834349,766784016),s(2952996808,2566594879),s(3210313671,3203337956),s(3336571891,1034457026),s(3584528711,2466948901),s(113926993,3758326383),s(338241895,168717936),s(666307205,1188179964),s(773529912,1546045734),s(1294757372,1522805485),s(1396182291,2643833823),s(1695183700,2343527390),s(1986661051,1014477480),s(2177026350,1206759142),s(2456956037,344077627),s(2730485921,1290863460),s(2820302411,3158454273),s(3259730800,3505952657),s(3345764771,106217008),s(3516065817,3606008344),s(3600352804,1432725776),s(4094571909,1467031594),s(275423344,851169720),s(430227734,3100823752),s(506948616,1363258195),s(659060556,3750685593),s(883997877,3785050280),s(958139571,3318307427),s(1322822218,3812723403),s(1537002063,2003034995),s(1747873779,3602036899),s(1955562222,1575990012),s(2024104815,1125592928),s(2227730452,2716904306),s(2361852424,442776044),s(2428436474,593698344),s(2756734187,3733110249),s(3204031479,2999351573),s(3329325298,3815920427),s(3391569614,3928383900),s(3515267271,566280711),s(3940187606,3454069534),s(4118630271,4000239992),s(116418474,1914138554),s(174292421,2731055270),s(289380356,3203993006),s(460393269,320620315),s(685471733,587496836),s(852142971,1086792851),s(1017036298,365543100),s(1126000580,2618297676),s(1288033470,3409855158),s(1501505948,4234509866),s(1607167915,987167468),s(1816402316,1246189591)],l=[];(function(){for(var d=0;d<80;d++)l[d]=s()})();var m=a.SHA512=n.extend({_doReset:function(){this._hash=new h.init([new v.init(1779033703,4089235720),new v.init(3144134277,2227873595),new v.init(1013904242,4271175723),new v.init(2773480762,1595750129),new v.init(1359893119,2917565137),new v.init(2600822924,725511199),new v.init(528734635,4215389547),new v.init(1541459225,327033209)])},_doProcessBlock:function(d,z){for(var y=this._hash.words,S=y[0],x=y[1],_=y[2],H=y[3],L=y[4],w=y[5],$=y[6],E=y[7],F=S.high,M=S.low,V=x.high,I=x.low,B=_.high,t1=_.low,e1=H.high,h1=H.low,u1=L.high,i1=L.low,p1=w.high,o1=w.low,N=$.high,G=$.low,D=E.high,W=E.low,z1=F,_1=M,S1=V,s1=I,w1=B,R1=t1,B1=e1,P1=h1,O1=u1,I1=i1,N1=p1,s2=o1,t2=N,i2=G,l2=D,a2=W,U1=0;U1<80;U1++){var W1,Y1,r2=l[U1];if(U1<16)Y1=r2.high=d[z+U1*2]|0,W1=r2.low=d[z+U1*2+1]|0;else{var J=l[U1-15],b1=J.high,Q=J.low,g1=(b1>>>1|Q<<31)^(b1>>>8|Q<<24)^b1>>>7,m2=(Q>>>1|b1<<31)^(Q>>>8|b1<<24)^(Q>>>7|b1<<25),S2=l[U1-2],z2=S2.high,w2=S2.low,U2=(z2>>>19|w2<<13)^(z2<<3|w2>>>29)^z2>>>6,d2=(w2>>>19|z2<<13)^(w2<<3|z2>>>29)^(w2>>>6|z2<<26),H2=l[U1-7],A2=H2.high,x2=H2.low,L2=l[U1-16],O2=L2.high,h2=L2.low;W1=m2+x2,Y1=g1+A2+(W1>>>0>>0?1:0),W1=W1+d2,Y1=Y1+U2+(W1>>>0>>0?1:0),W1=W1+h2,Y1=Y1+O2+(W1>>>0

>>0?1:0),r2.high=Y1,r2.low=W1}var E2=O1&N1^~O1&t2,M2=I1&s2^~I1&i2,Z2=z1&S1^z1&w1^S1&w1,t0=_1&s1^_1&R1^s1&R1,F2=(z1>>>28|_1<<4)^(z1<<30|_1>>>2)^(z1<<25|_1>>>7),B2=(_1>>>28|z1<<4)^(_1<<30|z1>>>2)^(_1<<25|z1>>>7),r0=(O1>>>14|I1<<18)^(O1>>>18|I1<<14)^(O1<<23|I1>>>9),c0=(I1>>>14|O1<<18)^(I1>>>18|O1<<14)^(I1<<23|O1>>>9),Y2=f[U1],R2=Y2.high,b0=Y2.low,b2=a2+c0,$2=l2+r0+(b2>>>0>>0?1:0),b2=b2+M2,$2=$2+E2+(b2>>>0>>0?1:0),b2=b2+b0,$2=$2+R2+(b2>>>0>>0?1:0),b2=b2+W1,$2=$2+Y1+(b2>>>0>>0?1:0),K2=B2+t0,y0=F2+Z2+(K2>>>0>>0?1:0);l2=t2,a2=i2,t2=N1,i2=s2,N1=O1,s2=I1,I1=P1+b2|0,O1=B1+$2+(I1>>>0>>0?1:0)|0,B1=w1,P1=R1,w1=S1,R1=s1,S1=z1,s1=_1,_1=b2+K2|0,z1=$2+y0+(_1>>>0>>0?1:0)|0}M=S.low=M+_1,S.high=F+z1+(M>>>0<_1>>>0?1:0),I=x.low=I+s1,x.high=V+S1+(I>>>0>>0?1:0),t1=_.low=t1+R1,_.high=B+w1+(t1>>>0>>0?1:0),h1=H.low=h1+P1,H.high=e1+B1+(h1>>>0>>0?1:0),i1=L.low=i1+I1,L.high=u1+O1+(i1>>>0>>0?1:0),o1=w.low=o1+s2,w.high=p1+N1+(o1>>>0>>0?1:0),G=$.low=G+i2,$.high=N+t2+(G>>>0>>0?1:0),W=E.low=W+a2,E.high=D+l2+(W>>>0>>0?1:0)},_doFinalize:function(){var d=this._data,z=d.words,y=this._nDataBytes*8,S=d.sigBytes*8;z[S>>>5]|=128<<24-S%32,z[(S+128>>>10<<5)+30]=Math.floor(y/4294967296),z[(S+128>>>10<<5)+31]=y,d.sigBytes=z.length*4,this._process();var x=this._hash.toX32();return x},clone:function(){var d=n.clone.call(this);return d._hash=this._hash.clone(),d},blockSize:1024/32});t.SHA512=n._createHelper(m),t.HmacSHA512=n._createHmacHelper(m)}(),r.SHA512})}(H3)),H3.exports}var M3={exports:{}},T8;function dr(){return T8||(T8=1,function(c,e){(function(r,t,o){c.exports=t(_2(),t6(),E8())})(T1,function(r){return function(){var t=r,o=t.x64,n=o.Word,b=o.WordArray,v=t.algo,h=v.SHA512,a=v.SHA384=h.extend({_doReset:function(){this._hash=new b.init([new n.init(3418070365,3238371032),new n.init(1654270250,914150663),new n.init(2438529370,812702999),new n.init(355462360,4144912697),new n.init(1731405415,4290775857),new n.init(2394180231,1750603025),new n.init(3675008525,1694076839),new n.init(1203062813,3204075428)])},_doFinalize:function(){var s=h._doFinalize.call(this);return s.sigBytes-=16,s}});t.SHA384=h._createHelper(a),t.HmacSHA384=h._createHmacHelper(a)}(),r.SHA384})}(M3)),M3.exports}var R3={exports:{}},A8;function br(){return A8||(A8=1,function(c,e){(function(r,t,o){c.exports=t(_2(),t6())})(T1,function(r){return function(t){var o=r,n=o.lib,b=n.WordArray,v=n.Hasher,h=o.x64,a=h.Word,s=o.algo,f=[],l=[],m=[];(function(){for(var y=1,S=0,x=0;x<24;x++){f[y+5*S]=(x+1)*(x+2)/2%64;var _=S%5,H=(2*y+3*S)%5;y=_,S=H}for(var y=0;y<5;y++)for(var S=0;S<5;S++)l[y+5*S]=S+(2*y+3*S)%5*5;for(var L=1,w=0;w<24;w++){for(var $=0,E=0,F=0;F<7;F++){if(L&1){var M=(1<>>24)&16711935|(L<<24|L>>>8)&4278255360,w=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360;var $=x[H];$.high^=w,$.low^=L}for(var E=0;E<24;E++){for(var F=0;F<5;F++){for(var M=0,V=0,I=0;I<5;I++){var $=x[F+5*I];M^=$.high,V^=$.low}var B=d[F];B.high=M,B.low=V}for(var F=0;F<5;F++)for(var t1=d[(F+4)%5],e1=d[(F+1)%5],h1=e1.high,u1=e1.low,M=t1.high^(h1<<1|u1>>>31),V=t1.low^(u1<<1|h1>>>31),I=0;I<5;I++){var $=x[F+5*I];$.high^=M,$.low^=V}for(var i1=1;i1<25;i1++){var M,V,$=x[i1],p1=$.high,o1=$.low,N=f[i1];N<32?(M=p1<>>32-N,V=o1<>>32-N):(M=o1<>>64-N,V=p1<>>64-N);var G=d[l[i1]];G.high=M,G.low=V}var D=d[0],W=x[0];D.high=W.high,D.low=W.low;for(var F=0;F<5;F++)for(var I=0;I<5;I++){var i1=F+5*I,$=x[i1],z1=d[i1],_1=d[(F+1)%5+5*I],S1=d[(F+2)%5+5*I];$.high=z1.high^~_1.high&S1.high,$.low=z1.low^~_1.low&S1.low}var $=x[0],s1=m[E];$.high^=s1.high,$.low^=s1.low}},_doFinalize:function(){var y=this._data,S=y.words;this._nDataBytes*8;var x=y.sigBytes*8,_=this.blockSize*32;S[x>>>5]|=1<<24-x%32,S[(t.ceil((x+1)/_)*_>>>5)-1]|=128,y.sigBytes=S.length*4,this._process();for(var H=this._state,L=this.cfg.outputLength/8,w=L/8,$=[],E=0;E>>24)&16711935|(M<<24|M>>>8)&4278255360,V=(V<<8|V>>>24)&16711935|(V<<24|V>>>8)&4278255360,$.push(V),$.push(M)}return new b.init($,L)},clone:function(){for(var y=v.clone.call(this),S=y._state=this._state.slice(0),x=0;x<25;x++)S[x]=S[x].clone();return y}});o.SHA3=v._createHelper(z),o.HmacSHA3=v._createHmacHelper(z)}(Math),r.SHA3})}(R3)),R3.exports}var S3={exports:{}},q8;function xr(){return q8||(q8=1,function(c,e){(function(r,t){c.exports=t(_2())})(T1,function(r){/** @preserve +*/(function(c,e){(function(r){c.exports=r()})(function(){return function r(t,o,n){function b(a,s){if(!o[a]){if(!t[a]){var f=typeof B0=="function"&&B0;if(!s&&f)return f(a,!0);if(v)return v(a,!0);var l=new Error("Cannot find module '"+a+"'");throw l.code="MODULE_NOT_FOUND",l}var m=o[a]={exports:{}};t[a][0].call(m.exports,function(d){var z=t[a][1][d];return b(z||d)},m,m.exports,r,t,o,n)}return o[a].exports}for(var v=typeof B0=="function"&&B0,h=0;h"u"&&r(3);var f=Promise;function l(u,R){R&&u.then(function(g){R(null,g)},function(g){R(g)})}function m(u,R,g){typeof R=="function"&&u.then(R),typeof g=="function"&&u.catch(g)}function d(u){return typeof u!="string"&&(console.warn(u+" used as a key, but it is not a string."),u=String(u)),u}function z(){if(arguments.length&&typeof arguments[arguments.length-1]=="function")return arguments[arguments.length-1]}var y="local-forage-detect-blob-support",S=void 0,x={},_=Object.prototype.toString,H="readonly",L="readwrite";function w(u){for(var R=u.length,g=new ArrayBuffer(R),q=new Uint8Array(g),P=0;P=43)}}).catch(function(){return!1})}function E(u){return typeof S=="boolean"?f.resolve(S):$(u).then(function(R){return S=R,S})}function F(u){var R=x[u.name],g={};g.promise=new f(function(q,P){g.resolve=q,g.reject=P}),R.deferredOperations.push(g),R.dbReady?R.dbReady=R.dbReady.then(function(){return g.promise}):R.dbReady=g.promise}function M(u){var R=x[u.name],g=R.deferredOperations.pop();if(g)return g.resolve(),g.promise}function V(u,R){var g=x[u.name],q=g.deferredOperations.pop();if(q)return q.reject(R),q.promise}function I(u,R){return new f(function(g,q){if(x[u.name]=x[u.name]||G(),u.db)if(R)F(u),u.db.close();else return g(u.db);var P=[u.name];R&&P.push(u.version);var T=h.open.apply(h,P);R&&(T.onupgradeneeded=function(K){var c1=T.result;try{c1.createObjectStore(u.storeName),K.oldVersion<=1&&c1.createObjectStore(y)}catch(n1){if(n1.name==="ConstraintError")console.warn('The database "'+u.name+'" has been upgraded from version '+K.oldVersion+" to version "+K.newVersion+', but the storage "'+u.storeName+'" already exists.');else throw n1}}),T.onerror=function(K){K.preventDefault(),q(T.error)},T.onsuccess=function(){var K=T.result;K.onversionchange=function(c1){c1.target.close()},g(K),M(u)}})}function B(u){return I(u,!1)}function t1(u){return I(u,!0)}function e1(u,R){if(!u.db)return!0;var g=!u.db.objectStoreNames.contains(u.storeName),q=u.versionu.db.version;if(q&&(u.version!==R&&console.warn('The database "'+u.name+`" can't be downgraded from version `+u.db.version+" to version "+u.version+"."),u.version=u.db.version),P||g){if(g){var T=u.db.version+1;T>u.version&&(u.version=T)}return!0}return!1}function h1(u){return new f(function(R,g){var q=new FileReader;q.onerror=g,q.onloadend=function(P){var T=btoa(P.target.result||"");R({__local_forage_encoded_blob:!0,data:T,type:u.type})},q.readAsBinaryString(u)})}function u1(u){var R=w(atob(u.data));return s([R],{type:u.type})}function i1(u){return u&&u.__local_forage_encoded_blob}function p1(u){var R=this,g=R._initReady().then(function(){var q=x[R._dbInfo.name];if(q&&q.dbReady)return q.dbReady});return m(g,u,u),g}function o1(u){F(u);for(var R=x[u.name],g=R.forages,q=0;q0&&(!u.db||T.name==="InvalidStateError"||T.name==="NotFoundError"))return f.resolve().then(function(){if(!u.db||T.name==="NotFoundError"&&!u.db.objectStoreNames.contains(u.storeName)&&u.version<=u.db.version)return u.db&&(u.version=u.db.version+1),t1(u)}).then(function(){return o1(u).then(function(){N(u,R,g,q-1)})}).catch(g);g(T)}}function G(){return{forages:[],db:null,dbReady:null,deferredOperations:[]}}function D(u){var R=this,g={db:null};if(u)for(var q in u)g[q]=u[q];var P=x[g.name];P||(P=G(),x[g.name]=P),P.forages.push(R),R._initReady||(R._initReady=R.ready,R.ready=p1);var T=[];function K(){return f.resolve()}for(var c1=0;c1>4,l1[P++]=(K&15)<<4|c1>>2,l1[P++]=(c1&3)<<6|n1&63;return a1}function d2(u){var R=new Uint8Array(u),g="",q;for(q=0;q>2],g+=N1[(R[q]&3)<<4|R[q+1]>>4],g+=N1[(R[q+1]&15)<<2|R[q+2]>>6],g+=N1[R[q+2]&63];return R.length%3===2?g=g.substring(0,g.length-1)+"=":R.length%3===1&&(g=g.substring(0,g.length-2)+"=="),g}function H2(u,R){var g="";if(u&&(g=w2.call(u)),u&&(g==="[object ArrayBuffer]"||u.buffer&&w2.call(u.buffer)==="[object ArrayBuffer]")){var q,P=i2;u instanceof ArrayBuffer?(q=u,P+=a2):(q=u.buffer,g==="[object Int8Array]"?P+=W1:g==="[object Uint8Array]"?P+=Y1:g==="[object Uint8ClampedArray]"?P+=r2:g==="[object Int16Array]"?P+=J:g==="[object Uint16Array]"?P+=Q:g==="[object Int32Array]"?P+=b1:g==="[object Uint32Array]"?P+=g1:g==="[object Float32Array]"?P+=m2:g==="[object Float64Array]"?P+=S2:R(new Error("Failed to get type for BinaryArray"))),R(P+d2(q))}else if(g==="[object Blob]"){var T=new FileReader;T.onload=function(){var K=s2+u.type+"~"+d2(this.result);R(i2+U1+K)},T.readAsArrayBuffer(u)}else try{R(JSON.stringify(u))}catch(K){console.error("Couldn't convert value into a JSON string: ",u),R(null,K)}}function T2(u){if(u.substring(0,l2)!==i2)return JSON.parse(u);var R=u.substring(z2),g=u.substring(l2,z2),q;if(g===U1&&t2.test(R)){var P=R.match(t2);q=P[1],R=R.substring(P[0].length)}var T=U2(R);switch(g){case a2:return T;case U1:return s([T],{type:q});case W1:return new Int8Array(T);case Y1:return new Uint8Array(T);case r2:return new Uint8ClampedArray(T);case J:return new Int16Array(T);case Q:return new Uint16Array(T);case b1:return new Int32Array(T);case g1:return new Uint32Array(T);case m2:return new Float32Array(T);case S2:return new Float64Array(T);default:throw new Error("Unkown type: "+g)}}var x2={serialize:H2,deserialize:T2,stringToBuffer:U2,bufferToString:d2};function L2(u,R,g,q){u.executeSql("CREATE TABLE IF NOT EXISTS "+R.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],g,q)}function O2(u){var R=this,g={db:null};if(u)for(var q in u)g[q]=typeof u[q]!="string"?u[q].toString():u[q];var P=new f(function(T,K){try{g.db=openDatabase(g.name,String(g.version),g.description,g.size)}catch(c1){return K(c1)}g.db.transaction(function(c1){L2(c1,g,function(){R._dbInfo=g,T()},function(n1,a1){K(a1)})},K)});return g.serializer=x2,P}function h2(u,R,g,q,P,T){u.executeSql(g,q,P,function(K,c1){c1.code===c1.SYNTAX_ERR?K.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[R.storeName],function(n1,a1){a1.rows.length?T(n1,c1):L2(n1,R,function(){n1.executeSql(g,q,P,T)},T)},T):T(K,c1)},T)}function E2(u,R){var g=this;u=d(u);var q=new f(function(P,T){g.ready().then(function(){var K=g._dbInfo;K.db.transaction(function(c1){h2(c1,K,"SELECT * FROM "+K.storeName+" WHERE key = ? LIMIT 1",[u],function(n1,a1){var l1=a1.rows.length?a1.rows.item(0).value:null;l1&&(l1=K.serializer.deserialize(l1)),P(l1)},function(n1,a1){T(a1)})})}).catch(T)});return l(q,R),q}function M2(u,R){var g=this,q=new f(function(P,T){g.ready().then(function(){var K=g._dbInfo;K.db.transaction(function(c1){h2(c1,K,"SELECT * FROM "+K.storeName,[],function(n1,a1){for(var l1=a1.rows,L1=l1.length,k1=0;k10){K(Z2.apply(P,[u,n1,g,q-1]));return}c1(k1)}})})}).catch(c1)});return l(T,g),T}function r0(u,R,g){return Z2.apply(this,[u,R,g,1])}function F2(u,R){var g=this;u=d(u);var q=new f(function(P,T){g.ready().then(function(){var K=g._dbInfo;K.db.transaction(function(c1){h2(c1,K,"DELETE FROM "+K.storeName+" WHERE key = ?",[u],function(){P()},function(n1,a1){T(a1)})})}).catch(T)});return l(q,R),q}function B2(u){var R=this,g=new f(function(q,P){R.ready().then(function(){var T=R._dbInfo;T.db.transaction(function(K){h2(K,T,"DELETE FROM "+T.storeName,[],function(){q()},function(c1,n1){P(n1)})})}).catch(P)});return l(g,u),g}function c0(u){var R=this,g=new f(function(q,P){R.ready().then(function(){var T=R._dbInfo;T.db.transaction(function(K){h2(K,T,"SELECT COUNT(key) as c FROM "+T.storeName,[],function(c1,n1){var a1=n1.rows.item(0).c;q(a1)},function(c1,n1){P(n1)})})}).catch(P)});return l(g,u),g}function o0(u,R){var g=this,q=new f(function(P,T){g.ready().then(function(){var K=g._dbInfo;K.db.transaction(function(c1){h2(c1,K,"SELECT key FROM "+K.storeName+" WHERE id = ? LIMIT 1",[u+1],function(n1,a1){var l1=a1.rows.length?a1.rows.item(0).key:null;P(l1)},function(n1,a1){T(a1)})})}).catch(T)});return l(q,R),q}function Y2(u){var R=this,g=new f(function(q,P){R.ready().then(function(){var T=R._dbInfo;T.db.transaction(function(K){h2(K,T,"SELECT key FROM "+T.storeName,[],function(c1,n1){for(var a1=[],l1=0;l1 '__WebKitDatabaseInfoTable__'",[],function(P,T){for(var K=[],c1=0;c10}function k0(u){var R=this,g={};if(u)for(var q in u)g[q]=u[q];return g.keyPrefix=K2(u,R._defaultConfig),A2()?(R._dbInfo=g,g.serializer=x2,f.resolve()):f.reject()}function F0(u){var R=this,g=R.ready().then(function(){for(var q=R._dbInfo.keyPrefix,P=localStorage.length-1;P>=0;P--){var T=localStorage.key(P);T.indexOf(q)===0&&localStorage.removeItem(T)}});return l(g,u),g}function N0(u,R){var g=this;u=d(u);var q=g.ready().then(function(){var P=g._dbInfo,T=localStorage.getItem(P.keyPrefix+u);return T&&(T=P.serializer.deserialize(T)),T});return l(q,R),q}function t4(u,R){var g=this,q=g.ready().then(function(){for(var P=g._dbInfo,T=P.keyPrefix,K=T.length,c1=localStorage.length,n1=1,a1=0;a1=0;K--){var c1=localStorage.key(K);c1.indexOf(T)===0&&localStorage.removeItem(c1)}}):P=f.reject("Invalid arguments"),l(P,R),P}var O0={_driver:"localStorageWrapper",_initStorage:k0,_support:$2(),iterate:t4,getItem:N0,setItem:G0,removeItem:E0,clear:F0,length:W0,key:D0,keys:n0,dropInstance:r4},X2=function(R,g){return R===g||typeof R=="number"&&typeof g=="number"&&isNaN(R)&&isNaN(g)},U0=function(R,g){for(var q=R.length,P=0;P"u"?"undefined":n(g))==="object"){if(this._ready)return new Error("Can't call config() after localforage has been used.");for(var q in g){if(q==="storeName"&&(g[q]=g[q].replace(/\W/g,"_")),q==="version"&&typeof g[q]!="number")return new Error("Database version must be a number.");this._config[q]=g[q]}return"driver"in g&&g.driver?this.setDriver(this._config.driver):!0}else return typeof g=="string"?this._config[g]:this._config},u.prototype.defineDriver=function(g,q,P){var T=new f(function(K,c1){try{var n1=g._driver,a1=new Error("Custom driver not compliant; see https://mozilla.github.io/localForage/#definedriver");if(!g._driver){c1(a1);return}for(var l1=Q2.concat("_initStorage"),L1=0,k1=l1.length;L1{Q4()},l3)),!0}catch(r){throw r}}async function Y5(c){try{if(!c)return!1;await Q4();const e=await W2.getItem(c);return e?K4(J4(c,e)):!1}catch(e){throw e}}async function K5(c,e,r){try{return c==null||c.trim()===""?!1:(c=c.trim(),await Q4(),e==null?(await W2.removeItem(c),!1):(r?await Q5(c,r):await X5(c,!1),await W2.setItem(c,e6(c,Y4(e))),!0))}catch(t){throw t}}async function Q4(){try{m8();let c=K4(J4(f0,await W2.getItem(f0)));if(!c||c.length===0)return await W2.removeItem(f0),[];let e=[];return c=await c.filter(async r=>await W2.getItem(r.key)?new Date().getTime()>r.liveUntil?(await W2.removeItem(r.key),e.push(r.key),!1):!0:!1),c.length>0?await W2.setItem(f0,e6(f0,Y4(c))):await W2.removeItem(f0),e}catch(c){throw c}}async function X5(c,e=!0){try{await Q4();let r=K4(J4(f0,await W2.getItem(f0)));return e||await W2.removeItem(c),!r||r.length===0||(r=r.filter(t=>t.key!==c),r&&r.length>0?await W2.setItem(f0,e6(f0,Y4(r))):await W2.removeItem(f0)),!0}catch(r){throw r}}function J4(c,e){return i3?W5(c,e):e}function e6(c,e){return i3?D5(c,e):e}function m8(){if(!W2||typeof W2!="object")throw new Error("SPA Storage: Storage is not configured correctly")}async function Q5(c,e){try{if(!J5(e))return!1;const r=new Date().getTime()+e;let t=K4(J4(f0,await W2.getItem(f0)));t?(t=t.filter(o=>o.key!==c),t.push({key:c,liveUntil:r})):t=[{key:c,liveUntil:r}],await W2.setItem(f0,e6(f0,Y4(t)))}catch(r){throw r}}function J5(c){return!(!c||!Number.isSafeInteger(c)||!Number.isInteger(c)||c<=0)}function er(c={}){if(typeof W2.keys=="function"){W2.config({driver:W2.INDEXEDDB,name:c.name||X4.name,version:c.version||X4.version,storeName:c.storeName||X4.storeName,description:c.description||X4.description});return}}var u3={exports:{}};(function(c,e){var r=200,t="__lodash_hash_undefined__",o=9007199254740991,n="[object Arguments]",b="[object Array]",v="[object Boolean]",h="[object Date]",a="[object Error]",s="[object Function]",f="[object GeneratorFunction]",l="[object Map]",m="[object Number]",d="[object Object]",z="[object Promise]",y="[object RegExp]",S="[object Set]",x="[object String]",_="[object Symbol]",H="[object WeakMap]",L="[object ArrayBuffer]",w="[object DataView]",$="[object Float32Array]",E="[object Float64Array]",F="[object Int8Array]",M="[object Int16Array]",V="[object Int32Array]",I="[object Uint8Array]",B="[object Uint8ClampedArray]",t1="[object Uint16Array]",e1="[object Uint32Array]",h1=/[\\^$.*+?()[\]{}|]/g,u1=/\w*$/,i1=/^\[object .+?Constructor\]$/,p1=/^(?:0|[1-9]\d*)$/,o1={};o1[n]=o1[b]=o1[L]=o1[w]=o1[v]=o1[h]=o1[$]=o1[E]=o1[F]=o1[M]=o1[V]=o1[l]=o1[m]=o1[d]=o1[y]=o1[S]=o1[x]=o1[_]=o1[I]=o1[B]=o1[t1]=o1[e1]=!0,o1[a]=o1[s]=o1[H]=!1;var N=typeof A1=="object"&&A1&&A1.Object===Object&&A1,G=typeof self=="object"&&self&&self.Object===Object&&self,D=N||G||Function("return this")(),W=e&&!e.nodeType&&e,z1=W&&!0&&c&&!c.nodeType&&c,_1=z1&&z1.exports===W;function S1(p,O){return p.set(O[0],O[1]),p}function s1(p,O){return p.add(O),p}function w1(p,O){for(var U=-1,v1=p?p.length:0;++U-1}function D0(p,O){var U=this.__data__,v1=Q2(U,p);return v1<0?U.push([p,O]):U[v1][1]=O,this}A2.prototype.clear=k0,A2.prototype.delete=F0,A2.prototype.get=N0,A2.prototype.has=t4,A2.prototype.set=D0;function n0(p){var O=-1,U=p?p.length:0;for(this.clear();++O-1&&p%1==0&&p-1&&p%1==0&&p<=o}function $1(p){var O=typeof p;return!!p&&(O=="object"||O=="function")}function V1(p){return!!p&&typeof p=="object"}function T1(p){return j(p)?Z0(p):R(p)}function o2(){return[]}function f2(){return!1}c.exports=P4})(u3,u3.exports);const x4=u3.exports,d8=c=>{try{v3(c);let e;return c.subscribe(t=>{if(typeof t=="object"||Array.isArray(t)){e=x4(t);return}e=t})(),e}catch(e){throw e}},f3=(c,e,r)=>{try{const t=d8(c);return t&&t[e]!==void 0?t[e]:r}catch(t){throw t}},h3=(c,e,r)=>{try{v3(c),c.update(t=>Object.assign(x4(r||t),x4(e)))}catch(t){throw t}};async function tr(c,e,r={}){try{const t=d8(c);for(let o of r.ignoreKeys||[])t[o]=void 0;return await K5(e,t,r.timeout)}catch(t){throw t}}async function rr(c,e){try{v3(c);const r=await Y5(e);return r?(c.update(()=>Object.assign({},x4(r))),!0):void 0}catch(r){throw r}}function v3(c){if(!c||!c.subscribe||!c.update)throw new Error("SPA Storage: Store provided is not defined")}U5(void 0,{name:"SCR",storeName:"SCR_STORE"});const g4=[];function E4(c,e=E1){let r;const t=new Set;function o(v){if(X1(c,v)&&(c=v,r)){const h=!g4.length;for(const a of t)a[1](),g4.push(a,c);if(h){for(let a=0;a{t.delete(a),t.size===0&&(r(),r=null)}}return{set:o,update:n,subscribe:b}}function cr(c,e){return Object.assign(x4(b8(c)),x4(b8(e)))}function b8(c){return typeof c=="object"||Array.isArray(c)?c:{}}const x8="SCR_APP_STORE",I0=E4(cr({},{themeDark:!1,menuOpened:!0,version:0}));async function or(c){h3(I0,{themeDark:c}),await tr(I0,x8)}function nr(){return f3(I0,"themeDark")}function ar(c){h3(I0,{menuOpened:c})}function sr(){return f3(I0,"menuOpened")}function ir(c){h3(I0,{version:c})}function lr(){return f3(I0,"version")}const V0={STORAGE_KEY:x8,store:I0,subscribe:I0.subscribe,update:I0.update,setThemeDark:or,getThemeDark:nr,setMenuOpened:ar,getMenuOpened:sr,setVersion:ir,getVersion:lr};let g8=!1;async function ur(){if(g8)return!0;try{return await rr(V0.store,V0.STORAGE_KEY),g8=!0,!0}catch(c){throw console.error(c),c}}var fr={exports:{}},p3={exports:{}},_8;function _2(){return _8||(_8=1,function(c,e){(function(r,t){c.exports=t()})(A1,function(){var r=r||function(t,o){var n;if(typeof window<"u"&&window.crypto&&(n=window.crypto),typeof self<"u"&&self.crypto&&(n=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(n=globalThis.crypto),!n&&typeof window<"u"&&window.msCrypto&&(n=window.msCrypto),!n&&typeof A1<"u"&&A1.crypto&&(n=A1.crypto),!n&&typeof B0=="function")try{n=$e}catch{}var b=function(){if(n){if(typeof n.getRandomValues=="function")try{return n.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof n.randomBytes=="function")try{return n.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},v=Object.create||function(){function x(){}return function(_){var H;return x.prototype=_,H=new x,x.prototype=null,H}}(),h={},a=h.lib={},s=a.Base=function(){return{extend:function(x){var _=v(this);return x&&_.mixIn(x),(!_.hasOwnProperty("init")||this.init===_.init)&&(_.init=function(){_.$super.init.apply(this,arguments)}),_.init.prototype=_,_.$super=this,_},create:function(){var x=this.extend();return x.init.apply(x,arguments),x},init:function(){},mixIn:function(x){for(var _ in x)x.hasOwnProperty(_)&&(this[_]=x[_]);x.hasOwnProperty("toString")&&(this.toString=x.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),f=a.WordArray=s.extend({init:function(x,_){x=this.words=x||[],_!=o?this.sigBytes=_:this.sigBytes=x.length*4},toString:function(x){return(x||m).stringify(this)},concat:function(x){var _=this.words,H=x.words,L=this.sigBytes,w=x.sigBytes;if(this.clamp(),L%4)for(var $=0;$>>2]>>>24-$%4*8&255;_[L+$>>>2]|=E<<24-(L+$)%4*8}else for(var F=0;F>>2]=H[F>>>2];return this.sigBytes+=w,this},clamp:function(){var x=this.words,_=this.sigBytes;x[_>>>2]&=4294967295<<32-_%4*8,x.length=t.ceil(_/4)},clone:function(){var x=s.clone.call(this);return x.words=this.words.slice(0),x},random:function(x){for(var _=[],H=0;H>>2]>>>24-w%4*8&255;L.push(($>>>4).toString(16)),L.push(($&15).toString(16))}return L.join("")},parse:function(x){for(var _=x.length,H=[],L=0;L<_;L+=2)H[L>>>3]|=parseInt(x.substr(L,2),16)<<24-L%8*4;return new f.init(H,_/2)}},d=l.Latin1={stringify:function(x){for(var _=x.words,H=x.sigBytes,L=[],w=0;w>>2]>>>24-w%4*8&255;L.push(String.fromCharCode($))}return L.join("")},parse:function(x){for(var _=x.length,H=[],L=0;L<_;L++)H[L>>>2]|=(x.charCodeAt(L)&255)<<24-L%4*8;return new f.init(H,_)}},z=l.Utf8={stringify:function(x){try{return decodeURIComponent(escape(d.stringify(x)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(x){return d.parse(unescape(encodeURIComponent(x)))}},y=a.BufferedBlockAlgorithm=s.extend({reset:function(){this._data=new f.init,this._nDataBytes=0},_append:function(x){typeof x=="string"&&(x=z.parse(x)),this._data.concat(x),this._nDataBytes+=x.sigBytes},_process:function(x){var _,H=this._data,L=H.words,w=H.sigBytes,$=this.blockSize,E=$*4,F=w/E;x?F=t.ceil(F):F=t.max((F|0)-this._minBufferSize,0);var M=F*$,V=t.min(M*4,w);if(M){for(var I=0;I>>2]|=h[f]<<24-f%4*8;b.call(this,s,a)}else b.apply(this,arguments)};v.prototype=n}}(),r.lib.WordArray})}(d3)),d3.exports}var b3={exports:{}},y8;function vr(){return y8||(y8=1,function(c,e){(function(r,t){c.exports=t(_2())})(A1,function(r){return function(){var t=r,o=t.lib,n=o.WordArray,b=t.enc;b.Utf16=b.Utf16BE={stringify:function(h){for(var a=h.words,s=h.sigBytes,f=[],l=0;l>>2]>>>16-l%4*8&65535;f.push(String.fromCharCode(m))}return f.join("")},parse:function(h){for(var a=h.length,s=[],f=0;f>>1]|=h.charCodeAt(f)<<16-f%2*16;return n.create(s,a*2)}},b.Utf16LE={stringify:function(h){for(var a=h.words,s=h.sigBytes,f=[],l=0;l>>2]>>>16-l%4*8&65535);f.push(String.fromCharCode(m))}return f.join("")},parse:function(h){for(var a=h.length,s=[],f=0;f>>1]|=v(h.charCodeAt(f)<<16-f%2*16);return n.create(s,a*2)}};function v(h){return h<<8&4278255360|h>>>8&16711935}}(),r.enc.Utf16})}(b3)),b3.exports}var x3={exports:{}},L8;function _4(){return L8||(L8=1,function(c,e){(function(r,t){c.exports=t(_2())})(A1,function(r){return function(){var t=r,o=t.lib,n=o.WordArray,b=t.enc;b.Base64={stringify:function(h){var a=h.words,s=h.sigBytes,f=this._map;h.clamp();for(var l=[],m=0;m>>2]>>>24-m%4*8&255,z=a[m+1>>>2]>>>24-(m+1)%4*8&255,y=a[m+2>>>2]>>>24-(m+2)%4*8&255,S=d<<16|z<<8|y,x=0;x<4&&m+x*.75>>6*(3-x)&63));var _=f.charAt(64);if(_)for(;l.length%4;)l.push(_);return l.join("")},parse:function(h){var a=h.length,s=this._map,f=this._reverseMap;if(!f){f=this._reverseMap=[];for(var l=0;l>>6-m%4*2,y=d|z;f[l>>>2]|=y<<24-l%4*8,l++}return n.create(f,l)}}(),r.enc.Base64})}(x3)),x3.exports}var g3={exports:{}},H8;function pr(){return H8||(H8=1,function(c,e){(function(r,t){c.exports=t(_2())})(A1,function(r){return function(){var t=r,o=t.lib,n=o.WordArray,b=t.enc;b.Base64url={stringify:function(h,a=!0){var s=h.words,f=h.sigBytes,l=a?this._safe_map:this._map;h.clamp();for(var m=[],d=0;d>>2]>>>24-d%4*8&255,y=s[d+1>>>2]>>>24-(d+1)%4*8&255,S=s[d+2>>>2]>>>24-(d+2)%4*8&255,x=z<<16|y<<8|S,_=0;_<4&&d+_*.75>>6*(3-_)&63));var H=l.charAt(64);if(H)for(;m.length%4;)m.push(H);return m.join("")},parse:function(h,a=!0){var s=h.length,f=a?this._safe_map:this._map,l=this._reverseMap;if(!l){l=this._reverseMap=[];for(var m=0;m>>6-m%4*2,y=d|z;f[l>>>2]|=y<<24-l%4*8,l++}return n.create(f,l)}}(),r.enc.Base64url})}(g3)),g3.exports}var _3={exports:{}},M8;function z4(){return M8||(M8=1,function(c,e){(function(r,t){c.exports=t(_2())})(A1,function(r){return function(t){var o=r,n=o.lib,b=n.WordArray,v=n.Hasher,h=o.algo,a=[];(function(){for(var z=0;z<64;z++)a[z]=t.abs(t.sin(z+1))*4294967296|0})();var s=h.MD5=v.extend({_doReset:function(){this._hash=new b.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(z,y){for(var S=0;S<16;S++){var x=y+S,_=z[x];z[x]=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360}var H=this._hash.words,L=z[y+0],w=z[y+1],$=z[y+2],E=z[y+3],F=z[y+4],M=z[y+5],V=z[y+6],I=z[y+7],B=z[y+8],t1=z[y+9],e1=z[y+10],h1=z[y+11],u1=z[y+12],i1=z[y+13],p1=z[y+14],o1=z[y+15],N=H[0],G=H[1],D=H[2],W=H[3];N=f(N,G,D,W,L,7,a[0]),W=f(W,N,G,D,w,12,a[1]),D=f(D,W,N,G,$,17,a[2]),G=f(G,D,W,N,E,22,a[3]),N=f(N,G,D,W,F,7,a[4]),W=f(W,N,G,D,M,12,a[5]),D=f(D,W,N,G,V,17,a[6]),G=f(G,D,W,N,I,22,a[7]),N=f(N,G,D,W,B,7,a[8]),W=f(W,N,G,D,t1,12,a[9]),D=f(D,W,N,G,e1,17,a[10]),G=f(G,D,W,N,h1,22,a[11]),N=f(N,G,D,W,u1,7,a[12]),W=f(W,N,G,D,i1,12,a[13]),D=f(D,W,N,G,p1,17,a[14]),G=f(G,D,W,N,o1,22,a[15]),N=l(N,G,D,W,w,5,a[16]),W=l(W,N,G,D,V,9,a[17]),D=l(D,W,N,G,h1,14,a[18]),G=l(G,D,W,N,L,20,a[19]),N=l(N,G,D,W,M,5,a[20]),W=l(W,N,G,D,e1,9,a[21]),D=l(D,W,N,G,o1,14,a[22]),G=l(G,D,W,N,F,20,a[23]),N=l(N,G,D,W,t1,5,a[24]),W=l(W,N,G,D,p1,9,a[25]),D=l(D,W,N,G,E,14,a[26]),G=l(G,D,W,N,B,20,a[27]),N=l(N,G,D,W,i1,5,a[28]),W=l(W,N,G,D,$,9,a[29]),D=l(D,W,N,G,I,14,a[30]),G=l(G,D,W,N,u1,20,a[31]),N=m(N,G,D,W,M,4,a[32]),W=m(W,N,G,D,B,11,a[33]),D=m(D,W,N,G,h1,16,a[34]),G=m(G,D,W,N,p1,23,a[35]),N=m(N,G,D,W,w,4,a[36]),W=m(W,N,G,D,F,11,a[37]),D=m(D,W,N,G,I,16,a[38]),G=m(G,D,W,N,e1,23,a[39]),N=m(N,G,D,W,i1,4,a[40]),W=m(W,N,G,D,L,11,a[41]),D=m(D,W,N,G,E,16,a[42]),G=m(G,D,W,N,V,23,a[43]),N=m(N,G,D,W,t1,4,a[44]),W=m(W,N,G,D,u1,11,a[45]),D=m(D,W,N,G,o1,16,a[46]),G=m(G,D,W,N,$,23,a[47]),N=d(N,G,D,W,L,6,a[48]),W=d(W,N,G,D,I,10,a[49]),D=d(D,W,N,G,p1,15,a[50]),G=d(G,D,W,N,M,21,a[51]),N=d(N,G,D,W,u1,6,a[52]),W=d(W,N,G,D,E,10,a[53]),D=d(D,W,N,G,e1,15,a[54]),G=d(G,D,W,N,w,21,a[55]),N=d(N,G,D,W,B,6,a[56]),W=d(W,N,G,D,o1,10,a[57]),D=d(D,W,N,G,V,15,a[58]),G=d(G,D,W,N,i1,21,a[59]),N=d(N,G,D,W,F,6,a[60]),W=d(W,N,G,D,h1,10,a[61]),D=d(D,W,N,G,$,15,a[62]),G=d(G,D,W,N,t1,21,a[63]),H[0]=H[0]+N|0,H[1]=H[1]+G|0,H[2]=H[2]+D|0,H[3]=H[3]+W|0},_doFinalize:function(){var z=this._data,y=z.words,S=this._nDataBytes*8,x=z.sigBytes*8;y[x>>>5]|=128<<24-x%32;var _=t.floor(S/4294967296),H=S;y[(x+64>>>9<<4)+15]=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360,y[(x+64>>>9<<4)+14]=(H<<8|H>>>24)&16711935|(H<<24|H>>>8)&4278255360,z.sigBytes=(y.length+1)*4,this._process();for(var L=this._hash,w=L.words,$=0;$<4;$++){var E=w[$];w[$]=(E<<8|E>>>24)&16711935|(E<<24|E>>>8)&4278255360}return L},clone:function(){var z=v.clone.call(this);return z._hash=this._hash.clone(),z}});function f(z,y,S,x,_,H,L){var w=z+(y&S|~y&x)+_+L;return(w<>>32-H)+y}function l(z,y,S,x,_,H,L){var w=z+(y&x|S&~x)+_+L;return(w<>>32-H)+y}function m(z,y,S,x,_,H,L){var w=z+(y^S^x)+_+L;return(w<>>32-H)+y}function d(z,y,S,x,_,H,L){var w=z+(S^(y|~x))+_+L;return(w<>>32-H)+y}o.MD5=v._createHelper(s),o.HmacMD5=v._createHmacHelper(s)}(Math),r.MD5})}(_3)),_3.exports}var z3={exports:{}},R8;function C3(){return R8||(R8=1,function(c,e){(function(r,t){c.exports=t(_2())})(A1,function(r){return function(){var t=r,o=t.lib,n=o.WordArray,b=o.Hasher,v=t.algo,h=[],a=v.SHA1=b.extend({_doReset:function(){this._hash=new n.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(s,f){for(var l=this._hash.words,m=l[0],d=l[1],z=l[2],y=l[3],S=l[4],x=0;x<80;x++){if(x<16)h[x]=s[f+x]|0;else{var _=h[x-3]^h[x-8]^h[x-14]^h[x-16];h[x]=_<<1|_>>>31}var H=(m<<5|m>>>27)+S+h[x];x<20?H+=(d&z|~d&y)+1518500249:x<40?H+=(d^z^y)+1859775393:x<60?H+=(d&z|d&y|z&y)-1894007588:H+=(d^z^y)-899497514,S=y,y=z,z=d<<30|d>>>2,d=m,m=H}l[0]=l[0]+m|0,l[1]=l[1]+d|0,l[2]=l[2]+z|0,l[3]=l[3]+y|0,l[4]=l[4]+S|0},_doFinalize:function(){var s=this._data,f=s.words,l=this._nDataBytes*8,m=s.sigBytes*8;return f[m>>>5]|=128<<24-m%32,f[(m+64>>>9<<4)+14]=Math.floor(l/4294967296),f[(m+64>>>9<<4)+15]=l,s.sigBytes=f.length*4,this._process(),this._hash},clone:function(){var s=b.clone.call(this);return s._hash=this._hash.clone(),s}});t.SHA1=b._createHelper(a),t.HmacSHA1=b._createHmacHelper(a)}(),r.SHA1})}(z3)),z3.exports}var y3={exports:{}},S8;function w8(){return S8||(S8=1,function(c,e){(function(r,t){c.exports=t(_2())})(A1,function(r){return function(t){var o=r,n=o.lib,b=n.WordArray,v=n.Hasher,h=o.algo,a=[],s=[];(function(){function m(S){for(var x=t.sqrt(S),_=2;_<=x;_++)if(!(S%_))return!1;return!0}function d(S){return(S-(S|0))*4294967296|0}for(var z=2,y=0;y<64;)m(z)&&(y<8&&(a[y]=d(t.pow(z,1/2))),s[y]=d(t.pow(z,1/3)),y++),z++})();var f=[],l=h.SHA256=v.extend({_doReset:function(){this._hash=new b.init(a.slice(0))},_doProcessBlock:function(m,d){for(var z=this._hash.words,y=z[0],S=z[1],x=z[2],_=z[3],H=z[4],L=z[5],w=z[6],$=z[7],E=0;E<64;E++){if(E<16)f[E]=m[d+E]|0;else{var F=f[E-15],M=(F<<25|F>>>7)^(F<<14|F>>>18)^F>>>3,V=f[E-2],I=(V<<15|V>>>17)^(V<<13|V>>>19)^V>>>10;f[E]=M+f[E-7]+I+f[E-16]}var B=H&L^~H&w,t1=y&S^y&x^S&x,e1=(y<<30|y>>>2)^(y<<19|y>>>13)^(y<<10|y>>>22),h1=(H<<26|H>>>6)^(H<<21|H>>>11)^(H<<7|H>>>25),u1=$+h1+B+s[E]+f[E],i1=e1+t1;$=w,w=L,L=H,H=_+u1|0,_=x,x=S,S=y,y=u1+i1|0}z[0]=z[0]+y|0,z[1]=z[1]+S|0,z[2]=z[2]+x|0,z[3]=z[3]+_|0,z[4]=z[4]+H|0,z[5]=z[5]+L|0,z[6]=z[6]+w|0,z[7]=z[7]+$|0},_doFinalize:function(){var m=this._data,d=m.words,z=this._nDataBytes*8,y=m.sigBytes*8;return d[y>>>5]|=128<<24-y%32,d[(y+64>>>9<<4)+14]=t.floor(z/4294967296),d[(y+64>>>9<<4)+15]=z,m.sigBytes=d.length*4,this._process(),this._hash},clone:function(){var m=v.clone.call(this);return m._hash=this._hash.clone(),m}});o.SHA256=v._createHelper(l),o.HmacSHA256=v._createHmacHelper(l)}(Math),r.SHA256})}(y3)),y3.exports}var L3={exports:{}},$8;function mr(){return $8||($8=1,function(c,e){(function(r,t,o){c.exports=t(_2(),w8())})(A1,function(r){return function(){var t=r,o=t.lib,n=o.WordArray,b=t.algo,v=b.SHA256,h=b.SHA224=v.extend({_doReset:function(){this._hash=new n.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var a=v._doFinalize.call(this);return a.sigBytes-=4,a}});t.SHA224=v._createHelper(h),t.HmacSHA224=v._createHmacHelper(h)}(),r.SHA224})}(L3)),L3.exports}var H3={exports:{}},V8;function E8(){return V8||(V8=1,function(c,e){(function(r,t,o){c.exports=t(_2(),t6())})(A1,function(r){return function(){var t=r,o=t.lib,n=o.Hasher,b=t.x64,v=b.Word,h=b.WordArray,a=t.algo;function s(){return v.create.apply(v,arguments)}var f=[s(1116352408,3609767458),s(1899447441,602891725),s(3049323471,3964484399),s(3921009573,2173295548),s(961987163,4081628472),s(1508970993,3053834265),s(2453635748,2937671579),s(2870763221,3664609560),s(3624381080,2734883394),s(310598401,1164996542),s(607225278,1323610764),s(1426881987,3590304994),s(1925078388,4068182383),s(2162078206,991336113),s(2614888103,633803317),s(3248222580,3479774868),s(3835390401,2666613458),s(4022224774,944711139),s(264347078,2341262773),s(604807628,2007800933),s(770255983,1495990901),s(1249150122,1856431235),s(1555081692,3175218132),s(1996064986,2198950837),s(2554220882,3999719339),s(2821834349,766784016),s(2952996808,2566594879),s(3210313671,3203337956),s(3336571891,1034457026),s(3584528711,2466948901),s(113926993,3758326383),s(338241895,168717936),s(666307205,1188179964),s(773529912,1546045734),s(1294757372,1522805485),s(1396182291,2643833823),s(1695183700,2343527390),s(1986661051,1014477480),s(2177026350,1206759142),s(2456956037,344077627),s(2730485921,1290863460),s(2820302411,3158454273),s(3259730800,3505952657),s(3345764771,106217008),s(3516065817,3606008344),s(3600352804,1432725776),s(4094571909,1467031594),s(275423344,851169720),s(430227734,3100823752),s(506948616,1363258195),s(659060556,3750685593),s(883997877,3785050280),s(958139571,3318307427),s(1322822218,3812723403),s(1537002063,2003034995),s(1747873779,3602036899),s(1955562222,1575990012),s(2024104815,1125592928),s(2227730452,2716904306),s(2361852424,442776044),s(2428436474,593698344),s(2756734187,3733110249),s(3204031479,2999351573),s(3329325298,3815920427),s(3391569614,3928383900),s(3515267271,566280711),s(3940187606,3454069534),s(4118630271,4000239992),s(116418474,1914138554),s(174292421,2731055270),s(289380356,3203993006),s(460393269,320620315),s(685471733,587496836),s(852142971,1086792851),s(1017036298,365543100),s(1126000580,2618297676),s(1288033470,3409855158),s(1501505948,4234509866),s(1607167915,987167468),s(1816402316,1246189591)],l=[];(function(){for(var d=0;d<80;d++)l[d]=s()})();var m=a.SHA512=n.extend({_doReset:function(){this._hash=new h.init([new v.init(1779033703,4089235720),new v.init(3144134277,2227873595),new v.init(1013904242,4271175723),new v.init(2773480762,1595750129),new v.init(1359893119,2917565137),new v.init(2600822924,725511199),new v.init(528734635,4215389547),new v.init(1541459225,327033209)])},_doProcessBlock:function(d,z){for(var y=this._hash.words,S=y[0],x=y[1],_=y[2],H=y[3],L=y[4],w=y[5],$=y[6],E=y[7],F=S.high,M=S.low,V=x.high,I=x.low,B=_.high,t1=_.low,e1=H.high,h1=H.low,u1=L.high,i1=L.low,p1=w.high,o1=w.low,N=$.high,G=$.low,D=E.high,W=E.low,z1=F,_1=M,S1=V,s1=I,w1=B,R1=t1,B1=e1,P1=h1,O1=u1,I1=i1,N1=p1,s2=o1,t2=N,i2=G,l2=D,a2=W,U1=0;U1<80;U1++){var W1,Y1,r2=l[U1];if(U1<16)Y1=r2.high=d[z+U1*2]|0,W1=r2.low=d[z+U1*2+1]|0;else{var J=l[U1-15],b1=J.high,Q=J.low,g1=(b1>>>1|Q<<31)^(b1>>>8|Q<<24)^b1>>>7,m2=(Q>>>1|b1<<31)^(Q>>>8|b1<<24)^(Q>>>7|b1<<25),S2=l[U1-2],z2=S2.high,w2=S2.low,U2=(z2>>>19|w2<<13)^(z2<<3|w2>>>29)^z2>>>6,d2=(w2>>>19|z2<<13)^(w2<<3|z2>>>29)^(w2>>>6|z2<<26),H2=l[U1-7],T2=H2.high,x2=H2.low,L2=l[U1-16],O2=L2.high,h2=L2.low;W1=m2+x2,Y1=g1+T2+(W1>>>0>>0?1:0),W1=W1+d2,Y1=Y1+U2+(W1>>>0>>0?1:0),W1=W1+h2,Y1=Y1+O2+(W1>>>0

>>0?1:0),r2.high=Y1,r2.low=W1}var E2=O1&N1^~O1&t2,M2=I1&s2^~I1&i2,Z2=z1&S1^z1&w1^S1&w1,r0=_1&s1^_1&R1^s1&R1,F2=(z1>>>28|_1<<4)^(z1<<30|_1>>>2)^(z1<<25|_1>>>7),B2=(_1>>>28|z1<<4)^(_1<<30|z1>>>2)^(_1<<25|z1>>>7),c0=(O1>>>14|I1<<18)^(O1>>>18|I1<<14)^(O1<<23|I1>>>9),o0=(I1>>>14|O1<<18)^(I1>>>18|O1<<14)^(I1<<23|O1>>>9),Y2=f[U1],R2=Y2.high,b0=Y2.low,b2=a2+o0,$2=l2+c0+(b2>>>0>>0?1:0),b2=b2+M2,$2=$2+E2+(b2>>>0>>0?1:0),b2=b2+b0,$2=$2+R2+(b2>>>0>>0?1:0),b2=b2+W1,$2=$2+Y1+(b2>>>0>>0?1:0),K2=B2+r0,y0=F2+Z2+(K2>>>0>>0?1:0);l2=t2,a2=i2,t2=N1,i2=s2,N1=O1,s2=I1,I1=P1+b2|0,O1=B1+$2+(I1>>>0>>0?1:0)|0,B1=w1,P1=R1,w1=S1,R1=s1,S1=z1,s1=_1,_1=b2+K2|0,z1=$2+y0+(_1>>>0>>0?1:0)|0}M=S.low=M+_1,S.high=F+z1+(M>>>0<_1>>>0?1:0),I=x.low=I+s1,x.high=V+S1+(I>>>0>>0?1:0),t1=_.low=t1+R1,_.high=B+w1+(t1>>>0>>0?1:0),h1=H.low=h1+P1,H.high=e1+B1+(h1>>>0>>0?1:0),i1=L.low=i1+I1,L.high=u1+O1+(i1>>>0>>0?1:0),o1=w.low=o1+s2,w.high=p1+N1+(o1>>>0>>0?1:0),G=$.low=G+i2,$.high=N+t2+(G>>>0>>0?1:0),W=E.low=W+a2,E.high=D+l2+(W>>>0>>0?1:0)},_doFinalize:function(){var d=this._data,z=d.words,y=this._nDataBytes*8,S=d.sigBytes*8;z[S>>>5]|=128<<24-S%32,z[(S+128>>>10<<5)+30]=Math.floor(y/4294967296),z[(S+128>>>10<<5)+31]=y,d.sigBytes=z.length*4,this._process();var x=this._hash.toX32();return x},clone:function(){var d=n.clone.call(this);return d._hash=this._hash.clone(),d},blockSize:1024/32});t.SHA512=n._createHelper(m),t.HmacSHA512=n._createHmacHelper(m)}(),r.SHA512})}(H3)),H3.exports}var M3={exports:{}},A8;function dr(){return A8||(A8=1,function(c,e){(function(r,t,o){c.exports=t(_2(),t6(),E8())})(A1,function(r){return function(){var t=r,o=t.x64,n=o.Word,b=o.WordArray,v=t.algo,h=v.SHA512,a=v.SHA384=h.extend({_doReset:function(){this._hash=new b.init([new n.init(3418070365,3238371032),new n.init(1654270250,914150663),new n.init(2438529370,812702999),new n.init(355462360,4144912697),new n.init(1731405415,4290775857),new n.init(2394180231,1750603025),new n.init(3675008525,1694076839),new n.init(1203062813,3204075428)])},_doFinalize:function(){var s=h._doFinalize.call(this);return s.sigBytes-=16,s}});t.SHA384=h._createHelper(a),t.HmacSHA384=h._createHmacHelper(a)}(),r.SHA384})}(M3)),M3.exports}var R3={exports:{}},T8;function br(){return T8||(T8=1,function(c,e){(function(r,t,o){c.exports=t(_2(),t6())})(A1,function(r){return function(t){var o=r,n=o.lib,b=n.WordArray,v=n.Hasher,h=o.x64,a=h.Word,s=o.algo,f=[],l=[],m=[];(function(){for(var y=1,S=0,x=0;x<24;x++){f[y+5*S]=(x+1)*(x+2)/2%64;var _=S%5,H=(2*y+3*S)%5;y=_,S=H}for(var y=0;y<5;y++)for(var S=0;S<5;S++)l[y+5*S]=S+(2*y+3*S)%5*5;for(var L=1,w=0;w<24;w++){for(var $=0,E=0,F=0;F<7;F++){if(L&1){var M=(1<>>24)&16711935|(L<<24|L>>>8)&4278255360,w=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360;var $=x[H];$.high^=w,$.low^=L}for(var E=0;E<24;E++){for(var F=0;F<5;F++){for(var M=0,V=0,I=0;I<5;I++){var $=x[F+5*I];M^=$.high,V^=$.low}var B=d[F];B.high=M,B.low=V}for(var F=0;F<5;F++)for(var t1=d[(F+4)%5],e1=d[(F+1)%5],h1=e1.high,u1=e1.low,M=t1.high^(h1<<1|u1>>>31),V=t1.low^(u1<<1|h1>>>31),I=0;I<5;I++){var $=x[F+5*I];$.high^=M,$.low^=V}for(var i1=1;i1<25;i1++){var M,V,$=x[i1],p1=$.high,o1=$.low,N=f[i1];N<32?(M=p1<>>32-N,V=o1<>>32-N):(M=o1<>>64-N,V=p1<>>64-N);var G=d[l[i1]];G.high=M,G.low=V}var D=d[0],W=x[0];D.high=W.high,D.low=W.low;for(var F=0;F<5;F++)for(var I=0;I<5;I++){var i1=F+5*I,$=x[i1],z1=d[i1],_1=d[(F+1)%5+5*I],S1=d[(F+2)%5+5*I];$.high=z1.high^~_1.high&S1.high,$.low=z1.low^~_1.low&S1.low}var $=x[0],s1=m[E];$.high^=s1.high,$.low^=s1.low}},_doFinalize:function(){var y=this._data,S=y.words;this._nDataBytes*8;var x=y.sigBytes*8,_=this.blockSize*32;S[x>>>5]|=1<<24-x%32,S[(t.ceil((x+1)/_)*_>>>5)-1]|=128,y.sigBytes=S.length*4,this._process();for(var H=this._state,L=this.cfg.outputLength/8,w=L/8,$=[],E=0;E>>24)&16711935|(M<<24|M>>>8)&4278255360,V=(V<<8|V>>>24)&16711935|(V<<24|V>>>8)&4278255360,$.push(V),$.push(M)}return new b.init($,L)},clone:function(){for(var y=v.clone.call(this),S=y._state=this._state.slice(0),x=0;x<25;x++)S[x]=S[x].clone();return y}});o.SHA3=v._createHelper(z),o.HmacSHA3=v._createHmacHelper(z)}(Math),r.SHA3})}(R3)),R3.exports}var S3={exports:{}},q8;function xr(){return q8||(q8=1,function(c,e){(function(r,t){c.exports=t(_2())})(A1,function(r){/** @preserve (c) 2012 by Cédric Mesnil. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -29,16 +29,16 @@ - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */return function(t){var o=r,n=o.lib,b=n.WordArray,v=n.Hasher,h=o.algo,a=b.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),s=b.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),f=b.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),l=b.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),m=b.create([0,1518500249,1859775393,2400959708,2840853838]),d=b.create([1352829926,1548603684,1836072691,2053994217,0]),z=h.RIPEMD160=v.extend({_doReset:function(){this._hash=b.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(w,$){for(var E=0;E<16;E++){var F=$+E,M=w[F];w[F]=(M<<8|M>>>24)&16711935|(M<<24|M>>>8)&4278255360}var V=this._hash.words,I=m.words,B=d.words,t1=a.words,e1=s.words,h1=f.words,u1=l.words,i1,p1,o1,N,G,D,W,z1,_1,S1;D=i1=V[0],W=p1=V[1],z1=o1=V[2],_1=N=V[3],S1=G=V[4];for(var s1,E=0;E<80;E+=1)s1=i1+w[$+t1[E]]|0,E<16?s1+=y(p1,o1,N)+I[0]:E<32?s1+=S(p1,o1,N)+I[1]:E<48?s1+=x(p1,o1,N)+I[2]:E<64?s1+=_(p1,o1,N)+I[3]:s1+=H(p1,o1,N)+I[4],s1=s1|0,s1=L(s1,h1[E]),s1=s1+G|0,i1=G,G=N,N=L(o1,10),o1=p1,p1=s1,s1=D+w[$+e1[E]]|0,E<16?s1+=H(W,z1,_1)+B[0]:E<32?s1+=_(W,z1,_1)+B[1]:E<48?s1+=x(W,z1,_1)+B[2]:E<64?s1+=S(W,z1,_1)+B[3]:s1+=y(W,z1,_1)+B[4],s1=s1|0,s1=L(s1,u1[E]),s1=s1+S1|0,D=S1,S1=_1,_1=L(z1,10),z1=W,W=s1;s1=V[1]+o1+_1|0,V[1]=V[2]+N+S1|0,V[2]=V[3]+G+D|0,V[3]=V[4]+i1+W|0,V[4]=V[0]+p1+z1|0,V[0]=s1},_doFinalize:function(){var w=this._data,$=w.words,E=this._nDataBytes*8,F=w.sigBytes*8;$[F>>>5]|=128<<24-F%32,$[(F+64>>>9<<4)+14]=(E<<8|E>>>24)&16711935|(E<<24|E>>>8)&4278255360,w.sigBytes=($.length+1)*4,this._process();for(var M=this._hash,V=M.words,I=0;I<5;I++){var B=V[I];V[I]=(B<<8|B>>>24)&16711935|(B<<24|B>>>8)&4278255360}return M},clone:function(){var w=v.clone.call(this);return w._hash=this._hash.clone(),w}});function y(w,$,E){return w^$^E}function S(w,$,E){return w&$|~w&E}function x(w,$,E){return(w|~$)^E}function _(w,$,E){return w&E|$&~E}function H(w,$,E){return w^($|~E)}function L(w,$){return w<<$|w>>>32-$}o.RIPEMD160=v._createHelper(z),o.HmacRIPEMD160=v._createHmacHelper(z)}(),r.RIPEMD160})}(S3)),S3.exports}var w3={exports:{}},P8;function $3(){return P8||(P8=1,function(c,e){(function(r,t){c.exports=t(_2())})(T1,function(r){(function(){var t=r,o=t.lib,n=o.Base,b=t.enc,v=b.Utf8,h=t.algo;h.HMAC=n.extend({init:function(a,s){a=this._hasher=new a.init,typeof s=="string"&&(s=v.parse(s));var f=a.blockSize,l=f*4;s.sigBytes>l&&(s=a.finalize(s)),s.clamp();for(var m=this._oKey=s.clone(),d=this._iKey=s.clone(),z=m.words,y=d.words,S=0;S>>2]&255;M.sigBytes-=V}};n.BlockCipher=m.extend({cfg:m.cfg.extend({mode:y,padding:x}),reset:function(){var M;m.reset.call(this);var V=this.cfg,I=V.iv,B=V.mode;this._xformMode==this._ENC_XFORM_MODE?M=B.createEncryptor:(M=B.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==M?this._mode.init(this,I&&I.words):(this._mode=M.call(B,this,I&&I.words),this._mode.__creator=M)},_doProcessBlock:function(M,V){this._mode.processBlock(M,V)},_doFinalize:function(){var M,V=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(V.pad(this._data,this.blockSize),M=this._process(!0)):(M=this._process(!0),V.unpad(M)),M},blockSize:128/32});var _=n.CipherParams=b.extend({init:function(M){this.mixIn(M)},toString:function(M){return(M||this.formatter).stringify(this)}}),H=o.format={},L=H.OpenSSL={stringify:function(M){var V,I=M.ciphertext,B=M.salt;return B?V=v.create([1398893684,1701076831]).concat(B).concat(I):V=I,V.toString(s)},parse:function(M){var V,I=s.parse(M),B=I.words;return B[0]==1398893684&&B[1]==1701076831&&(V=v.create(B.slice(2,4)),B.splice(0,4),I.sigBytes-=16),_.create({ciphertext:I,salt:V})}},w=n.SerializableCipher=b.extend({cfg:b.extend({format:L}),encrypt:function(M,V,I,B){B=this.cfg.extend(B);var t1=M.createEncryptor(I,B),e1=t1.finalize(V),h1=t1.cfg;return _.create({ciphertext:e1,key:I,iv:h1.iv,algorithm:M,mode:h1.mode,padding:h1.padding,blockSize:M.blockSize,formatter:B.format})},decrypt:function(M,V,I,B){B=this.cfg.extend(B),V=this._parse(V,B.format);var t1=M.createDecryptor(I,B).finalize(V.ciphertext);return t1},_parse:function(M,V){return typeof M=="string"?V.parse(M,this):M}}),$=o.kdf={},E=$.OpenSSL={execute:function(M,V,I,B){B||(B=v.random(64/8));var t1=l.create({keySize:V+I}).compute(M,B),e1=v.create(t1.words.slice(V),I*4);return t1.sigBytes=V*4,_.create({key:t1,iv:e1,salt:B})}},F=n.PasswordBasedCipher=w.extend({cfg:w.cfg.extend({kdf:E}),encrypt:function(M,V,I,B){B=this.cfg.extend(B);var t1=B.kdf.execute(I,M.keySize,M.ivSize);B.iv=t1.iv;var e1=w.encrypt.call(this,M,V,t1.key,B);return e1.mixIn(t1),e1},decrypt:function(M,V,I,B){B=this.cfg.extend(B),V=this._parse(V,B.format);var t1=B.kdf.execute(I,M.keySize,M.ivSize,V.salt);B.iv=t1.iv;var e1=w.decrypt.call(this,M,V,t1.key,B);return e1}})}()})}(T3)),T3.exports}var A3={exports:{}},I8;function _r(){return I8||(I8=1,function(c,e){(function(r,t,o){c.exports=t(_2(),h0())})(T1,function(r){return r.mode.CFB=function(){var t=r.lib.BlockCipherMode.extend();t.Encryptor=t.extend({processBlock:function(n,b){var v=this._cipher,h=v.blockSize;o.call(this,n,b,h,v),this._prevBlock=n.slice(b,b+h)}}),t.Decryptor=t.extend({processBlock:function(n,b){var v=this._cipher,h=v.blockSize,a=n.slice(b,b+h);o.call(this,n,b,h,v),this._prevBlock=a}});function o(n,b,v,h){var a,s=this._iv;s?(a=s.slice(0),this._iv=void 0):a=this._prevBlock,h.encryptBlock(a,0);for(var f=0;f>>24)&16711935|(M<<24|M>>>8)&4278255360}var V=this._hash.words,I=m.words,B=d.words,t1=a.words,e1=s.words,h1=f.words,u1=l.words,i1,p1,o1,N,G,D,W,z1,_1,S1;D=i1=V[0],W=p1=V[1],z1=o1=V[2],_1=N=V[3],S1=G=V[4];for(var s1,E=0;E<80;E+=1)s1=i1+w[$+t1[E]]|0,E<16?s1+=y(p1,o1,N)+I[0]:E<32?s1+=S(p1,o1,N)+I[1]:E<48?s1+=x(p1,o1,N)+I[2]:E<64?s1+=_(p1,o1,N)+I[3]:s1+=H(p1,o1,N)+I[4],s1=s1|0,s1=L(s1,h1[E]),s1=s1+G|0,i1=G,G=N,N=L(o1,10),o1=p1,p1=s1,s1=D+w[$+e1[E]]|0,E<16?s1+=H(W,z1,_1)+B[0]:E<32?s1+=_(W,z1,_1)+B[1]:E<48?s1+=x(W,z1,_1)+B[2]:E<64?s1+=S(W,z1,_1)+B[3]:s1+=y(W,z1,_1)+B[4],s1=s1|0,s1=L(s1,u1[E]),s1=s1+S1|0,D=S1,S1=_1,_1=L(z1,10),z1=W,W=s1;s1=V[1]+o1+_1|0,V[1]=V[2]+N+S1|0,V[2]=V[3]+G+D|0,V[3]=V[4]+i1+W|0,V[4]=V[0]+p1+z1|0,V[0]=s1},_doFinalize:function(){var w=this._data,$=w.words,E=this._nDataBytes*8,F=w.sigBytes*8;$[F>>>5]|=128<<24-F%32,$[(F+64>>>9<<4)+14]=(E<<8|E>>>24)&16711935|(E<<24|E>>>8)&4278255360,w.sigBytes=($.length+1)*4,this._process();for(var M=this._hash,V=M.words,I=0;I<5;I++){var B=V[I];V[I]=(B<<8|B>>>24)&16711935|(B<<24|B>>>8)&4278255360}return M},clone:function(){var w=v.clone.call(this);return w._hash=this._hash.clone(),w}});function y(w,$,E){return w^$^E}function S(w,$,E){return w&$|~w&E}function x(w,$,E){return(w|~$)^E}function _(w,$,E){return w&E|$&~E}function H(w,$,E){return w^($|~E)}function L(w,$){return w<<$|w>>>32-$}o.RIPEMD160=v._createHelper(z),o.HmacRIPEMD160=v._createHmacHelper(z)}(),r.RIPEMD160})}(S3)),S3.exports}var w3={exports:{}},P8;function $3(){return P8||(P8=1,function(c,e){(function(r,t){c.exports=t(_2())})(A1,function(r){(function(){var t=r,o=t.lib,n=o.Base,b=t.enc,v=b.Utf8,h=t.algo;h.HMAC=n.extend({init:function(a,s){a=this._hasher=new a.init,typeof s=="string"&&(s=v.parse(s));var f=a.blockSize,l=f*4;s.sigBytes>l&&(s=a.finalize(s)),s.clamp();for(var m=this._oKey=s.clone(),d=this._iKey=s.clone(),z=m.words,y=d.words,S=0;S>>2]&255;M.sigBytes-=V}};n.BlockCipher=m.extend({cfg:m.cfg.extend({mode:y,padding:x}),reset:function(){var M;m.reset.call(this);var V=this.cfg,I=V.iv,B=V.mode;this._xformMode==this._ENC_XFORM_MODE?M=B.createEncryptor:(M=B.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==M?this._mode.init(this,I&&I.words):(this._mode=M.call(B,this,I&&I.words),this._mode.__creator=M)},_doProcessBlock:function(M,V){this._mode.processBlock(M,V)},_doFinalize:function(){var M,V=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(V.pad(this._data,this.blockSize),M=this._process(!0)):(M=this._process(!0),V.unpad(M)),M},blockSize:128/32});var _=n.CipherParams=b.extend({init:function(M){this.mixIn(M)},toString:function(M){return(M||this.formatter).stringify(this)}}),H=o.format={},L=H.OpenSSL={stringify:function(M){var V,I=M.ciphertext,B=M.salt;return B?V=v.create([1398893684,1701076831]).concat(B).concat(I):V=I,V.toString(s)},parse:function(M){var V,I=s.parse(M),B=I.words;return B[0]==1398893684&&B[1]==1701076831&&(V=v.create(B.slice(2,4)),B.splice(0,4),I.sigBytes-=16),_.create({ciphertext:I,salt:V})}},w=n.SerializableCipher=b.extend({cfg:b.extend({format:L}),encrypt:function(M,V,I,B){B=this.cfg.extend(B);var t1=M.createEncryptor(I,B),e1=t1.finalize(V),h1=t1.cfg;return _.create({ciphertext:e1,key:I,iv:h1.iv,algorithm:M,mode:h1.mode,padding:h1.padding,blockSize:M.blockSize,formatter:B.format})},decrypt:function(M,V,I,B){B=this.cfg.extend(B),V=this._parse(V,B.format);var t1=M.createDecryptor(I,B).finalize(V.ciphertext);return t1},_parse:function(M,V){return typeof M=="string"?V.parse(M,this):M}}),$=o.kdf={},E=$.OpenSSL={execute:function(M,V,I,B){B||(B=v.random(64/8));var t1=l.create({keySize:V+I}).compute(M,B),e1=v.create(t1.words.slice(V),I*4);return t1.sigBytes=V*4,_.create({key:t1,iv:e1,salt:B})}},F=n.PasswordBasedCipher=w.extend({cfg:w.cfg.extend({kdf:E}),encrypt:function(M,V,I,B){B=this.cfg.extend(B);var t1=B.kdf.execute(I,M.keySize,M.ivSize);B.iv=t1.iv;var e1=w.encrypt.call(this,M,V,t1.key,B);return e1.mixIn(t1),e1},decrypt:function(M,V,I,B){B=this.cfg.extend(B),V=this._parse(V,B.format);var t1=B.kdf.execute(I,M.keySize,M.ivSize,V.salt);B.iv=t1.iv;var e1=w.decrypt.call(this,M,V,t1.key,B);return e1}})}()})}(A3)),A3.exports}var T3={exports:{}},I8;function _r(){return I8||(I8=1,function(c,e){(function(r,t,o){c.exports=t(_2(),h0())})(A1,function(r){return r.mode.CFB=function(){var t=r.lib.BlockCipherMode.extend();t.Encryptor=t.extend({processBlock:function(n,b){var v=this._cipher,h=v.blockSize;o.call(this,n,b,h,v),this._prevBlock=n.slice(b,b+h)}}),t.Decryptor=t.extend({processBlock:function(n,b){var v=this._cipher,h=v.blockSize,a=n.slice(b,b+h);o.call(this,n,b,h,v),this._prevBlock=a}});function o(n,b,v,h){var a,s=this._iv;s?(a=s.slice(0),this._iv=void 0):a=this._prevBlock,h.encryptBlock(a,0);for(var f=0;f>24&255)===255){var h=v>>16&255,a=v>>8&255,s=v&255;h===255?(h=0,a===255?(a=0,s===255?s=0:++s):++a):++h,v=0,v+=h<<16,v+=a<<8,v+=s}else v+=1<<24;return v}function n(v){return(v[0]=o(v[0]))===0&&(v[1]=o(v[1])),v}var b=t.Encryptor=t.extend({processBlock:function(v,h){var a=this._cipher,s=a.blockSize,f=this._iv,l=this._counter;f&&(l=this._counter=f.slice(0),this._iv=void 0),n(l);var m=l.slice(0);a.encryptBlock(m,0);for(var d=0;d>>2]|=v<<24-h%4*8,t.sigBytes+=v},unpad:function(t){var o=t.words[t.sigBytes-1>>>2]&255;t.sigBytes-=o}},r.pad.Ansix923})}(B3)),B3.exports}var I3={exports:{}},G8;function Mr(){return G8||(G8=1,function(c,e){(function(r,t,o){c.exports=t(_2(),h0())})(T1,function(r){return r.pad.Iso10126={pad:function(t,o){var n=o*4,b=n-t.sigBytes%n;t.concat(r.lib.WordArray.random(b-1)).concat(r.lib.WordArray.create([b<<24],1))},unpad:function(t){var o=t.words[t.sigBytes-1>>>2]&255;t.sigBytes-=o}},r.pad.Iso10126})}(I3)),I3.exports}var j3={exports:{}},U8;function Rr(){return U8||(U8=1,function(c,e){(function(r,t,o){c.exports=t(_2(),h0())})(T1,function(r){return r.pad.Iso97971={pad:function(t,o){t.concat(r.lib.WordArray.create([2147483648],1)),r.pad.ZeroPadding.pad(t,o)},unpad:function(t){r.pad.ZeroPadding.unpad(t),t.sigBytes--}},r.pad.Iso97971})}(j3)),j3.exports}var F3={exports:{}},Z8;function Sr(){return Z8||(Z8=1,function(c,e){(function(r,t,o){c.exports=t(_2(),h0())})(T1,function(r){return r.pad.ZeroPadding={pad:function(t,o){var n=o*4;t.clamp(),t.sigBytes+=n-(t.sigBytes%n||n)},unpad:function(t){for(var o=t.words,n=t.sigBytes-1,n=t.sigBytes-1;n>=0;n--)if(o[n>>>2]>>>24-n%4*8&255){t.sigBytes=n+1;break}}},r.pad.ZeroPadding})}(F3)),F3.exports}var N3={exports:{}},Y8;function wr(){return Y8||(Y8=1,function(c,e){(function(r,t,o){c.exports=t(_2(),h0())})(T1,function(r){return r.pad.NoPadding={pad:function(){},unpad:function(){}},r.pad.NoPadding})}(N3)),N3.exports}var D3={exports:{}},K8;function $r(){return K8||(K8=1,function(c,e){(function(r,t,o){c.exports=t(_2(),h0())})(T1,function(r){return function(t){var o=r,n=o.lib,b=n.CipherParams,v=o.enc,h=v.Hex,a=o.format;a.Hex={stringify:function(s){return s.ciphertext.toString(h)},parse:function(s){var f=h.parse(s);return b.create({ciphertext:f})}}}(),r.format.Hex})}(D3)),D3.exports}var W3={exports:{}},X8;function Vr(){return X8||(X8=1,function(c,e){(function(r,t,o){c.exports=t(_2(),_4(),z4(),h4(),h0())})(T1,function(r){return function(){var t=r,o=t.lib,n=o.BlockCipher,b=t.algo,v=[],h=[],a=[],s=[],f=[],l=[],m=[],d=[],z=[],y=[];(function(){for(var _=[],H=0;H<256;H++)H<128?_[H]=H<<1:_[H]=H<<1^283;for(var L=0,w=0,H=0;H<256;H++){var $=w^w<<1^w<<2^w<<3^w<<4;$=$>>>8^$&255^99,v[L]=$,h[$]=L;var E=_[L],F=_[E],M=_[F],V=_[$]*257^$*16843008;a[L]=V<<24|V>>>8,s[L]=V<<16|V>>>16,f[L]=V<<8|V>>>24,l[L]=V;var V=M*16843009^F*65537^E*257^L*16843008;m[$]=V<<24|V>>>8,d[$]=V<<16|V>>>16,z[$]=V<<8|V>>>24,y[$]=V,L?(L=E^_[_[_[M^E]]],w^=_[_[w]]):L=w=1}})();var S=[0,1,2,4,8,16,32,64,128,27,54],x=b.AES=n.extend({_doReset:function(){var _;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var H=this._keyPriorReset=this._key,L=H.words,w=H.sigBytes/4,$=this._nRounds=w+6,E=($+1)*4,F=this._keySchedule=[],M=0;M6&&M%w==4&&(_=v[_>>>24]<<24|v[_>>>16&255]<<16|v[_>>>8&255]<<8|v[_&255]):(_=_<<8|_>>>24,_=v[_>>>24]<<24|v[_>>>16&255]<<16|v[_>>>8&255]<<8|v[_&255],_^=S[M/w|0]<<24),F[M]=F[M-w]^_);for(var V=this._invKeySchedule=[],I=0;I>>24]]^d[v[_>>>16&255]]^z[v[_>>>8&255]]^y[v[_&255]]}}},encryptBlock:function(_,H){this._doCryptBlock(_,H,this._keySchedule,a,s,f,l,v)},decryptBlock:function(_,H){var L=_[H+1];_[H+1]=_[H+3],_[H+3]=L,this._doCryptBlock(_,H,this._invKeySchedule,m,d,z,y,h);var L=_[H+1];_[H+1]=_[H+3],_[H+3]=L},_doCryptBlock:function(_,H,L,w,$,E,F,M){for(var V=this._nRounds,I=_[H]^L[0],B=_[H+1]^L[1],t1=_[H+2]^L[2],e1=_[H+3]^L[3],h1=4,u1=1;u1>>24]^$[B>>>16&255]^E[t1>>>8&255]^F[e1&255]^L[h1++],p1=w[B>>>24]^$[t1>>>16&255]^E[e1>>>8&255]^F[I&255]^L[h1++],o1=w[t1>>>24]^$[e1>>>16&255]^E[I>>>8&255]^F[B&255]^L[h1++],N=w[e1>>>24]^$[I>>>16&255]^E[B>>>8&255]^F[t1&255]^L[h1++];I=i1,B=p1,t1=o1,e1=N}var i1=(M[I>>>24]<<24|M[B>>>16&255]<<16|M[t1>>>8&255]<<8|M[e1&255])^L[h1++],p1=(M[B>>>24]<<24|M[t1>>>16&255]<<16|M[e1>>>8&255]<<8|M[I&255])^L[h1++],o1=(M[t1>>>24]<<24|M[e1>>>16&255]<<16|M[I>>>8&255]<<8|M[B&255])^L[h1++],N=(M[e1>>>24]<<24|M[I>>>16&255]<<16|M[B>>>8&255]<<8|M[t1&255])^L[h1++];_[H]=i1,_[H+1]=p1,_[H+2]=o1,_[H+3]=N},keySize:256/32});t.AES=n._createHelper(x)}(),r.AES})}(W3)),W3.exports}var G3={exports:{}},Q8;function Er(){return Q8||(Q8=1,function(c,e){(function(r,t,o){c.exports=t(_2(),_4(),z4(),h4(),h0())})(T1,function(r){return function(){var t=r,o=t.lib,n=o.WordArray,b=o.BlockCipher,v=t.algo,h=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],a=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],s=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],f=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],l=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],m=v.DES=b.extend({_doReset:function(){for(var S=this._key,x=S.words,_=[],H=0;H<56;H++){var L=h[H]-1;_[H]=x[L>>>5]>>>31-L%32&1}for(var w=this._subKeys=[],$=0;$<16;$++){for(var E=w[$]=[],F=s[$],H=0;H<24;H++)E[H/6|0]|=_[(a[H]-1+F)%28]<<31-H%6,E[4+(H/6|0)]|=_[28+(a[H+24]-1+F)%28]<<31-H%6;E[0]=E[0]<<1|E[0]>>>31;for(var H=1;H<7;H++)E[H]=E[H]>>>(H-1)*4+3;E[7]=E[7]<<5|E[7]>>>27}for(var M=this._invSubKeys=[],H=0;H<16;H++)M[H]=w[15-H]},encryptBlock:function(S,x){this._doCryptBlock(S,x,this._subKeys)},decryptBlock:function(S,x){this._doCryptBlock(S,x,this._invSubKeys)},_doCryptBlock:function(S,x,_){this._lBlock=S[x],this._rBlock=S[x+1],d.call(this,4,252645135),d.call(this,16,65535),z.call(this,2,858993459),z.call(this,8,16711935),d.call(this,1,1431655765);for(var H=0;H<16;H++){for(var L=_[H],w=this._lBlock,$=this._rBlock,E=0,F=0;F<8;F++)E|=f[F][(($^L[F])&l[F])>>>0];this._lBlock=$,this._rBlock=w^E}var M=this._lBlock;this._lBlock=this._rBlock,this._rBlock=M,d.call(this,1,1431655765),z.call(this,8,16711935),z.call(this,2,858993459),d.call(this,16,65535),d.call(this,4,252645135),S[x]=this._lBlock,S[x+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function d(S,x){var _=(this._lBlock>>>S^this._rBlock)&x;this._rBlock^=_,this._lBlock^=_<>>S^this._lBlock)&x;this._lBlock^=_,this._rBlock^=_<192.");var _=x.slice(0,2),H=x.length<4?x.slice(0,2):x.slice(2,4),L=x.length<6?x.slice(0,2):x.slice(4,6);this._des1=m.createEncryptor(n.create(_)),this._des2=m.createEncryptor(n.create(H)),this._des3=m.createEncryptor(n.create(L))},encryptBlock:function(S,x){this._des1.encryptBlock(S,x),this._des2.decryptBlock(S,x),this._des3.encryptBlock(S,x)},decryptBlock:function(S,x){this._des3.decryptBlock(S,x),this._des2.encryptBlock(S,x),this._des1.decryptBlock(S,x)},keySize:192/32,ivSize:64/32,blockSize:64/32});t.TripleDES=b._createHelper(y)}(),r.TripleDES})}(G3)),G3.exports}var U3={exports:{}},J8;function Tr(){return J8||(J8=1,function(c,e){(function(r,t,o){c.exports=t(_2(),_4(),z4(),h4(),h0())})(T1,function(r){return function(){var t=r,o=t.lib,n=o.StreamCipher,b=t.algo,v=b.RC4=n.extend({_doReset:function(){for(var s=this._key,f=s.words,l=s.sigBytes,m=this._S=[],d=0;d<256;d++)m[d]=d;for(var d=0,z=0;d<256;d++){var y=d%l,S=f[y>>>2]>>>24-y%4*8&255;z=(z+m[d]+S)%256;var x=m[d];m[d]=m[z],m[z]=x}this._i=this._j=0},_doProcessBlock:function(s,f){s[f]^=h.call(this)},keySize:256/32,ivSize:0});function h(){for(var s=this._S,f=this._i,l=this._j,m=0,d=0;d<4;d++){f=(f+1)%256,l=(l+s[f])%256;var z=s[f];s[f]=s[l],s[l]=z,m|=s[(s[f]+s[l])%256]<<24-d*8}return this._i=f,this._j=l,m}t.RC4=n._createHelper(v);var a=b.RC4Drop=v.extend({cfg:v.cfg.extend({drop:192}),_doReset:function(){v._doReset.call(this);for(var s=this.cfg.drop;s>0;s--)h.call(this)}});t.RC4Drop=n._createHelper(a)}(),r.RC4})}(U3)),U3.exports}var Z3={exports:{}},et;function Ar(){return et||(et=1,function(c,e){(function(r,t,o){c.exports=t(_2(),_4(),z4(),h4(),h0())})(T1,function(r){return function(){var t=r,o=t.lib,n=o.StreamCipher,b=t.algo,v=[],h=[],a=[],s=b.Rabbit=n.extend({_doReset:function(){for(var l=this._key.words,m=this.cfg.iv,d=0;d<4;d++)l[d]=(l[d]<<8|l[d]>>>24)&16711935|(l[d]<<24|l[d]>>>8)&4278255360;var z=this._X=[l[0],l[3]<<16|l[2]>>>16,l[1],l[0]<<16|l[3]>>>16,l[2],l[1]<<16|l[0]>>>16,l[3],l[2]<<16|l[1]>>>16],y=this._C=[l[2]<<16|l[2]>>>16,l[0]&4294901760|l[1]&65535,l[3]<<16|l[3]>>>16,l[1]&4294901760|l[2]&65535,l[0]<<16|l[0]>>>16,l[2]&4294901760|l[3]&65535,l[1]<<16|l[1]>>>16,l[3]&4294901760|l[0]&65535];this._b=0;for(var d=0;d<4;d++)f.call(this);for(var d=0;d<8;d++)y[d]^=z[d+4&7];if(m){var S=m.words,x=S[0],_=S[1],H=(x<<8|x>>>24)&16711935|(x<<24|x>>>8)&4278255360,L=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360,w=H>>>16|L&4294901760,$=L<<16|H&65535;y[0]^=H,y[1]^=w,y[2]^=L,y[3]^=$,y[4]^=H,y[5]^=w,y[6]^=L,y[7]^=$;for(var d=0;d<4;d++)f.call(this)}},_doProcessBlock:function(l,m){var d=this._X;f.call(this),v[0]=d[0]^d[5]>>>16^d[3]<<16,v[1]=d[2]^d[7]>>>16^d[5]<<16,v[2]=d[4]^d[1]>>>16^d[7]<<16,v[3]=d[6]^d[3]>>>16^d[1]<<16;for(var z=0;z<4;z++)v[z]=(v[z]<<8|v[z]>>>24)&16711935|(v[z]<<24|v[z]>>>8)&4278255360,l[m+z]^=v[z]},blockSize:128/32,ivSize:64/32});function f(){for(var l=this._X,m=this._C,d=0;d<8;d++)h[d]=m[d];m[0]=m[0]+1295307597+this._b|0,m[1]=m[1]+3545052371+(m[0]>>>0>>0?1:0)|0,m[2]=m[2]+886263092+(m[1]>>>0>>0?1:0)|0,m[3]=m[3]+1295307597+(m[2]>>>0>>0?1:0)|0,m[4]=m[4]+3545052371+(m[3]>>>0>>0?1:0)|0,m[5]=m[5]+886263092+(m[4]>>>0>>0?1:0)|0,m[6]=m[6]+1295307597+(m[5]>>>0>>0?1:0)|0,m[7]=m[7]+3545052371+(m[6]>>>0>>0?1:0)|0,this._b=m[7]>>>0>>0?1:0;for(var d=0;d<8;d++){var z=l[d]+m[d],y=z&65535,S=z>>>16,x=((y*y>>>17)+y*S>>>15)+S*S,_=((z&4294901760)*z|0)+((z&65535)*z|0);a[d]=x^_}l[0]=a[0]+(a[7]<<16|a[7]>>>16)+(a[6]<<16|a[6]>>>16)|0,l[1]=a[1]+(a[0]<<8|a[0]>>>24)+a[7]|0,l[2]=a[2]+(a[1]<<16|a[1]>>>16)+(a[0]<<16|a[0]>>>16)|0,l[3]=a[3]+(a[2]<<8|a[2]>>>24)+a[1]|0,l[4]=a[4]+(a[3]<<16|a[3]>>>16)+(a[2]<<16|a[2]>>>16)|0,l[5]=a[5]+(a[4]<<8|a[4]>>>24)+a[3]|0,l[6]=a[6]+(a[5]<<16|a[5]>>>16)+(a[4]<<16|a[4]>>>16)|0,l[7]=a[7]+(a[6]<<8|a[6]>>>24)+a[5]|0}t.Rabbit=n._createHelper(s)}(),r.Rabbit})}(Z3)),Z3.exports}var Y3={exports:{}},tt;function qr(){return tt||(tt=1,function(c,e){(function(r,t,o){c.exports=t(_2(),_4(),z4(),h4(),h0())})(T1,function(r){return function(){var t=r,o=t.lib,n=o.StreamCipher,b=t.algo,v=[],h=[],a=[],s=b.RabbitLegacy=n.extend({_doReset:function(){var l=this._key.words,m=this.cfg.iv,d=this._X=[l[0],l[3]<<16|l[2]>>>16,l[1],l[0]<<16|l[3]>>>16,l[2],l[1]<<16|l[0]>>>16,l[3],l[2]<<16|l[1]>>>16],z=this._C=[l[2]<<16|l[2]>>>16,l[0]&4294901760|l[1]&65535,l[3]<<16|l[3]>>>16,l[1]&4294901760|l[2]&65535,l[0]<<16|l[0]>>>16,l[2]&4294901760|l[3]&65535,l[1]<<16|l[1]>>>16,l[3]&4294901760|l[0]&65535];this._b=0;for(var y=0;y<4;y++)f.call(this);for(var y=0;y<8;y++)z[y]^=d[y+4&7];if(m){var S=m.words,x=S[0],_=S[1],H=(x<<8|x>>>24)&16711935|(x<<24|x>>>8)&4278255360,L=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360,w=H>>>16|L&4294901760,$=L<<16|H&65535;z[0]^=H,z[1]^=w,z[2]^=L,z[3]^=$,z[4]^=H,z[5]^=w,z[6]^=L,z[7]^=$;for(var y=0;y<4;y++)f.call(this)}},_doProcessBlock:function(l,m){var d=this._X;f.call(this),v[0]=d[0]^d[5]>>>16^d[3]<<16,v[1]=d[2]^d[7]>>>16^d[5]<<16,v[2]=d[4]^d[1]>>>16^d[7]<<16,v[3]=d[6]^d[3]>>>16^d[1]<<16;for(var z=0;z<4;z++)v[z]=(v[z]<<8|v[z]>>>24)&16711935|(v[z]<<24|v[z]>>>8)&4278255360,l[m+z]^=v[z]},blockSize:128/32,ivSize:64/32});function f(){for(var l=this._X,m=this._C,d=0;d<8;d++)h[d]=m[d];m[0]=m[0]+1295307597+this._b|0,m[1]=m[1]+3545052371+(m[0]>>>0>>0?1:0)|0,m[2]=m[2]+886263092+(m[1]>>>0>>0?1:0)|0,m[3]=m[3]+1295307597+(m[2]>>>0>>0?1:0)|0,m[4]=m[4]+3545052371+(m[3]>>>0>>0?1:0)|0,m[5]=m[5]+886263092+(m[4]>>>0>>0?1:0)|0,m[6]=m[6]+1295307597+(m[5]>>>0>>0?1:0)|0,m[7]=m[7]+3545052371+(m[6]>>>0>>0?1:0)|0,this._b=m[7]>>>0>>0?1:0;for(var d=0;d<8;d++){var z=l[d]+m[d],y=z&65535,S=z>>>16,x=((y*y>>>17)+y*S>>>15)+S*S,_=((z&4294901760)*z|0)+((z&65535)*z|0);a[d]=x^_}l[0]=a[0]+(a[7]<<16|a[7]>>>16)+(a[6]<<16|a[6]>>>16)|0,l[1]=a[1]+(a[0]<<8|a[0]>>>24)+a[7]|0,l[2]=a[2]+(a[1]<<16|a[1]>>>16)+(a[0]<<16|a[0]>>>16)|0,l[3]=a[3]+(a[2]<<8|a[2]>>>24)+a[1]|0,l[4]=a[4]+(a[3]<<16|a[3]>>>16)+(a[2]<<16|a[2]>>>16)|0,l[5]=a[5]+(a[4]<<8|a[4]>>>24)+a[3]|0,l[6]=a[6]+(a[5]<<16|a[5]>>>16)+(a[4]<<16|a[4]>>>16)|0,l[7]=a[7]+(a[6]<<8|a[6]>>>24)+a[5]|0}t.RabbitLegacy=n._createHelper(s)}(),r.RabbitLegacy})}(Y3)),Y3.exports}(function(c,e){(function(r,t,o){c.exports=t(_2(),t6(),hr(),vr(),_4(),pr(),z4(),C3(),w8(),mr(),E8(),dr(),br(),xr(),$3(),gr(),h4(),h0(),_r(),zr(),Cr(),yr(),Lr(),Hr(),Mr(),Rr(),Sr(),wr(),$r(),Vr(),Er(),Tr(),Ar(),qr())})(T1,function(r){return r})})(fr);var Pr={exports:{}};/*! + */return r.mode.CTRGladman=function(){var t=r.lib.BlockCipherMode.extend();function o(v){if((v>>24&255)===255){var h=v>>16&255,a=v>>8&255,s=v&255;h===255?(h=0,a===255?(a=0,s===255?s=0:++s):++a):++h,v=0,v+=h<<16,v+=a<<8,v+=s}else v+=1<<24;return v}function n(v){return(v[0]=o(v[0]))===0&&(v[1]=o(v[1])),v}var b=t.Encryptor=t.extend({processBlock:function(v,h){var a=this._cipher,s=a.blockSize,f=this._iv,l=this._counter;f&&(l=this._counter=f.slice(0),this._iv=void 0),n(l);var m=l.slice(0);a.encryptBlock(m,0);for(var d=0;d>>2]|=v<<24-h%4*8,t.sigBytes+=v},unpad:function(t){var o=t.words[t.sigBytes-1>>>2]&255;t.sigBytes-=o}},r.pad.Ansix923})}(B3)),B3.exports}var I3={exports:{}},G8;function Mr(){return G8||(G8=1,function(c,e){(function(r,t,o){c.exports=t(_2(),h0())})(A1,function(r){return r.pad.Iso10126={pad:function(t,o){var n=o*4,b=n-t.sigBytes%n;t.concat(r.lib.WordArray.random(b-1)).concat(r.lib.WordArray.create([b<<24],1))},unpad:function(t){var o=t.words[t.sigBytes-1>>>2]&255;t.sigBytes-=o}},r.pad.Iso10126})}(I3)),I3.exports}var j3={exports:{}},U8;function Rr(){return U8||(U8=1,function(c,e){(function(r,t,o){c.exports=t(_2(),h0())})(A1,function(r){return r.pad.Iso97971={pad:function(t,o){t.concat(r.lib.WordArray.create([2147483648],1)),r.pad.ZeroPadding.pad(t,o)},unpad:function(t){r.pad.ZeroPadding.unpad(t),t.sigBytes--}},r.pad.Iso97971})}(j3)),j3.exports}var F3={exports:{}},Z8;function Sr(){return Z8||(Z8=1,function(c,e){(function(r,t,o){c.exports=t(_2(),h0())})(A1,function(r){return r.pad.ZeroPadding={pad:function(t,o){var n=o*4;t.clamp(),t.sigBytes+=n-(t.sigBytes%n||n)},unpad:function(t){for(var o=t.words,n=t.sigBytes-1,n=t.sigBytes-1;n>=0;n--)if(o[n>>>2]>>>24-n%4*8&255){t.sigBytes=n+1;break}}},r.pad.ZeroPadding})}(F3)),F3.exports}var N3={exports:{}},Y8;function wr(){return Y8||(Y8=1,function(c,e){(function(r,t,o){c.exports=t(_2(),h0())})(A1,function(r){return r.pad.NoPadding={pad:function(){},unpad:function(){}},r.pad.NoPadding})}(N3)),N3.exports}var D3={exports:{}},K8;function $r(){return K8||(K8=1,function(c,e){(function(r,t,o){c.exports=t(_2(),h0())})(A1,function(r){return function(t){var o=r,n=o.lib,b=n.CipherParams,v=o.enc,h=v.Hex,a=o.format;a.Hex={stringify:function(s){return s.ciphertext.toString(h)},parse:function(s){var f=h.parse(s);return b.create({ciphertext:f})}}}(),r.format.Hex})}(D3)),D3.exports}var W3={exports:{}},X8;function Vr(){return X8||(X8=1,function(c,e){(function(r,t,o){c.exports=t(_2(),_4(),z4(),h4(),h0())})(A1,function(r){return function(){var t=r,o=t.lib,n=o.BlockCipher,b=t.algo,v=[],h=[],a=[],s=[],f=[],l=[],m=[],d=[],z=[],y=[];(function(){for(var _=[],H=0;H<256;H++)H<128?_[H]=H<<1:_[H]=H<<1^283;for(var L=0,w=0,H=0;H<256;H++){var $=w^w<<1^w<<2^w<<3^w<<4;$=$>>>8^$&255^99,v[L]=$,h[$]=L;var E=_[L],F=_[E],M=_[F],V=_[$]*257^$*16843008;a[L]=V<<24|V>>>8,s[L]=V<<16|V>>>16,f[L]=V<<8|V>>>24,l[L]=V;var V=M*16843009^F*65537^E*257^L*16843008;m[$]=V<<24|V>>>8,d[$]=V<<16|V>>>16,z[$]=V<<8|V>>>24,y[$]=V,L?(L=E^_[_[_[M^E]]],w^=_[_[w]]):L=w=1}})();var S=[0,1,2,4,8,16,32,64,128,27,54],x=b.AES=n.extend({_doReset:function(){var _;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var H=this._keyPriorReset=this._key,L=H.words,w=H.sigBytes/4,$=this._nRounds=w+6,E=($+1)*4,F=this._keySchedule=[],M=0;M6&&M%w==4&&(_=v[_>>>24]<<24|v[_>>>16&255]<<16|v[_>>>8&255]<<8|v[_&255]):(_=_<<8|_>>>24,_=v[_>>>24]<<24|v[_>>>16&255]<<16|v[_>>>8&255]<<8|v[_&255],_^=S[M/w|0]<<24),F[M]=F[M-w]^_);for(var V=this._invKeySchedule=[],I=0;I>>24]]^d[v[_>>>16&255]]^z[v[_>>>8&255]]^y[v[_&255]]}}},encryptBlock:function(_,H){this._doCryptBlock(_,H,this._keySchedule,a,s,f,l,v)},decryptBlock:function(_,H){var L=_[H+1];_[H+1]=_[H+3],_[H+3]=L,this._doCryptBlock(_,H,this._invKeySchedule,m,d,z,y,h);var L=_[H+1];_[H+1]=_[H+3],_[H+3]=L},_doCryptBlock:function(_,H,L,w,$,E,F,M){for(var V=this._nRounds,I=_[H]^L[0],B=_[H+1]^L[1],t1=_[H+2]^L[2],e1=_[H+3]^L[3],h1=4,u1=1;u1>>24]^$[B>>>16&255]^E[t1>>>8&255]^F[e1&255]^L[h1++],p1=w[B>>>24]^$[t1>>>16&255]^E[e1>>>8&255]^F[I&255]^L[h1++],o1=w[t1>>>24]^$[e1>>>16&255]^E[I>>>8&255]^F[B&255]^L[h1++],N=w[e1>>>24]^$[I>>>16&255]^E[B>>>8&255]^F[t1&255]^L[h1++];I=i1,B=p1,t1=o1,e1=N}var i1=(M[I>>>24]<<24|M[B>>>16&255]<<16|M[t1>>>8&255]<<8|M[e1&255])^L[h1++],p1=(M[B>>>24]<<24|M[t1>>>16&255]<<16|M[e1>>>8&255]<<8|M[I&255])^L[h1++],o1=(M[t1>>>24]<<24|M[e1>>>16&255]<<16|M[I>>>8&255]<<8|M[B&255])^L[h1++],N=(M[e1>>>24]<<24|M[I>>>16&255]<<16|M[B>>>8&255]<<8|M[t1&255])^L[h1++];_[H]=i1,_[H+1]=p1,_[H+2]=o1,_[H+3]=N},keySize:256/32});t.AES=n._createHelper(x)}(),r.AES})}(W3)),W3.exports}var G3={exports:{}},Q8;function Er(){return Q8||(Q8=1,function(c,e){(function(r,t,o){c.exports=t(_2(),_4(),z4(),h4(),h0())})(A1,function(r){return function(){var t=r,o=t.lib,n=o.WordArray,b=o.BlockCipher,v=t.algo,h=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],a=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],s=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],f=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],l=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],m=v.DES=b.extend({_doReset:function(){for(var S=this._key,x=S.words,_=[],H=0;H<56;H++){var L=h[H]-1;_[H]=x[L>>>5]>>>31-L%32&1}for(var w=this._subKeys=[],$=0;$<16;$++){for(var E=w[$]=[],F=s[$],H=0;H<24;H++)E[H/6|0]|=_[(a[H]-1+F)%28]<<31-H%6,E[4+(H/6|0)]|=_[28+(a[H+24]-1+F)%28]<<31-H%6;E[0]=E[0]<<1|E[0]>>>31;for(var H=1;H<7;H++)E[H]=E[H]>>>(H-1)*4+3;E[7]=E[7]<<5|E[7]>>>27}for(var M=this._invSubKeys=[],H=0;H<16;H++)M[H]=w[15-H]},encryptBlock:function(S,x){this._doCryptBlock(S,x,this._subKeys)},decryptBlock:function(S,x){this._doCryptBlock(S,x,this._invSubKeys)},_doCryptBlock:function(S,x,_){this._lBlock=S[x],this._rBlock=S[x+1],d.call(this,4,252645135),d.call(this,16,65535),z.call(this,2,858993459),z.call(this,8,16711935),d.call(this,1,1431655765);for(var H=0;H<16;H++){for(var L=_[H],w=this._lBlock,$=this._rBlock,E=0,F=0;F<8;F++)E|=f[F][(($^L[F])&l[F])>>>0];this._lBlock=$,this._rBlock=w^E}var M=this._lBlock;this._lBlock=this._rBlock,this._rBlock=M,d.call(this,1,1431655765),z.call(this,8,16711935),z.call(this,2,858993459),d.call(this,16,65535),d.call(this,4,252645135),S[x]=this._lBlock,S[x+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function d(S,x){var _=(this._lBlock>>>S^this._rBlock)&x;this._rBlock^=_,this._lBlock^=_<>>S^this._lBlock)&x;this._lBlock^=_,this._rBlock^=_<192.");var _=x.slice(0,2),H=x.length<4?x.slice(0,2):x.slice(2,4),L=x.length<6?x.slice(0,2):x.slice(4,6);this._des1=m.createEncryptor(n.create(_)),this._des2=m.createEncryptor(n.create(H)),this._des3=m.createEncryptor(n.create(L))},encryptBlock:function(S,x){this._des1.encryptBlock(S,x),this._des2.decryptBlock(S,x),this._des3.encryptBlock(S,x)},decryptBlock:function(S,x){this._des3.decryptBlock(S,x),this._des2.encryptBlock(S,x),this._des1.decryptBlock(S,x)},keySize:192/32,ivSize:64/32,blockSize:64/32});t.TripleDES=b._createHelper(y)}(),r.TripleDES})}(G3)),G3.exports}var U3={exports:{}},J8;function Ar(){return J8||(J8=1,function(c,e){(function(r,t,o){c.exports=t(_2(),_4(),z4(),h4(),h0())})(A1,function(r){return function(){var t=r,o=t.lib,n=o.StreamCipher,b=t.algo,v=b.RC4=n.extend({_doReset:function(){for(var s=this._key,f=s.words,l=s.sigBytes,m=this._S=[],d=0;d<256;d++)m[d]=d;for(var d=0,z=0;d<256;d++){var y=d%l,S=f[y>>>2]>>>24-y%4*8&255;z=(z+m[d]+S)%256;var x=m[d];m[d]=m[z],m[z]=x}this._i=this._j=0},_doProcessBlock:function(s,f){s[f]^=h.call(this)},keySize:256/32,ivSize:0});function h(){for(var s=this._S,f=this._i,l=this._j,m=0,d=0;d<4;d++){f=(f+1)%256,l=(l+s[f])%256;var z=s[f];s[f]=s[l],s[l]=z,m|=s[(s[f]+s[l])%256]<<24-d*8}return this._i=f,this._j=l,m}t.RC4=n._createHelper(v);var a=b.RC4Drop=v.extend({cfg:v.cfg.extend({drop:192}),_doReset:function(){v._doReset.call(this);for(var s=this.cfg.drop;s>0;s--)h.call(this)}});t.RC4Drop=n._createHelper(a)}(),r.RC4})}(U3)),U3.exports}var Z3={exports:{}},et;function Tr(){return et||(et=1,function(c,e){(function(r,t,o){c.exports=t(_2(),_4(),z4(),h4(),h0())})(A1,function(r){return function(){var t=r,o=t.lib,n=o.StreamCipher,b=t.algo,v=[],h=[],a=[],s=b.Rabbit=n.extend({_doReset:function(){for(var l=this._key.words,m=this.cfg.iv,d=0;d<4;d++)l[d]=(l[d]<<8|l[d]>>>24)&16711935|(l[d]<<24|l[d]>>>8)&4278255360;var z=this._X=[l[0],l[3]<<16|l[2]>>>16,l[1],l[0]<<16|l[3]>>>16,l[2],l[1]<<16|l[0]>>>16,l[3],l[2]<<16|l[1]>>>16],y=this._C=[l[2]<<16|l[2]>>>16,l[0]&4294901760|l[1]&65535,l[3]<<16|l[3]>>>16,l[1]&4294901760|l[2]&65535,l[0]<<16|l[0]>>>16,l[2]&4294901760|l[3]&65535,l[1]<<16|l[1]>>>16,l[3]&4294901760|l[0]&65535];this._b=0;for(var d=0;d<4;d++)f.call(this);for(var d=0;d<8;d++)y[d]^=z[d+4&7];if(m){var S=m.words,x=S[0],_=S[1],H=(x<<8|x>>>24)&16711935|(x<<24|x>>>8)&4278255360,L=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360,w=H>>>16|L&4294901760,$=L<<16|H&65535;y[0]^=H,y[1]^=w,y[2]^=L,y[3]^=$,y[4]^=H,y[5]^=w,y[6]^=L,y[7]^=$;for(var d=0;d<4;d++)f.call(this)}},_doProcessBlock:function(l,m){var d=this._X;f.call(this),v[0]=d[0]^d[5]>>>16^d[3]<<16,v[1]=d[2]^d[7]>>>16^d[5]<<16,v[2]=d[4]^d[1]>>>16^d[7]<<16,v[3]=d[6]^d[3]>>>16^d[1]<<16;for(var z=0;z<4;z++)v[z]=(v[z]<<8|v[z]>>>24)&16711935|(v[z]<<24|v[z]>>>8)&4278255360,l[m+z]^=v[z]},blockSize:128/32,ivSize:64/32});function f(){for(var l=this._X,m=this._C,d=0;d<8;d++)h[d]=m[d];m[0]=m[0]+1295307597+this._b|0,m[1]=m[1]+3545052371+(m[0]>>>0>>0?1:0)|0,m[2]=m[2]+886263092+(m[1]>>>0>>0?1:0)|0,m[3]=m[3]+1295307597+(m[2]>>>0>>0?1:0)|0,m[4]=m[4]+3545052371+(m[3]>>>0>>0?1:0)|0,m[5]=m[5]+886263092+(m[4]>>>0>>0?1:0)|0,m[6]=m[6]+1295307597+(m[5]>>>0>>0?1:0)|0,m[7]=m[7]+3545052371+(m[6]>>>0>>0?1:0)|0,this._b=m[7]>>>0>>0?1:0;for(var d=0;d<8;d++){var z=l[d]+m[d],y=z&65535,S=z>>>16,x=((y*y>>>17)+y*S>>>15)+S*S,_=((z&4294901760)*z|0)+((z&65535)*z|0);a[d]=x^_}l[0]=a[0]+(a[7]<<16|a[7]>>>16)+(a[6]<<16|a[6]>>>16)|0,l[1]=a[1]+(a[0]<<8|a[0]>>>24)+a[7]|0,l[2]=a[2]+(a[1]<<16|a[1]>>>16)+(a[0]<<16|a[0]>>>16)|0,l[3]=a[3]+(a[2]<<8|a[2]>>>24)+a[1]|0,l[4]=a[4]+(a[3]<<16|a[3]>>>16)+(a[2]<<16|a[2]>>>16)|0,l[5]=a[5]+(a[4]<<8|a[4]>>>24)+a[3]|0,l[6]=a[6]+(a[5]<<16|a[5]>>>16)+(a[4]<<16|a[4]>>>16)|0,l[7]=a[7]+(a[6]<<8|a[6]>>>24)+a[5]|0}t.Rabbit=n._createHelper(s)}(),r.Rabbit})}(Z3)),Z3.exports}var Y3={exports:{}},tt;function qr(){return tt||(tt=1,function(c,e){(function(r,t,o){c.exports=t(_2(),_4(),z4(),h4(),h0())})(A1,function(r){return function(){var t=r,o=t.lib,n=o.StreamCipher,b=t.algo,v=[],h=[],a=[],s=b.RabbitLegacy=n.extend({_doReset:function(){var l=this._key.words,m=this.cfg.iv,d=this._X=[l[0],l[3]<<16|l[2]>>>16,l[1],l[0]<<16|l[3]>>>16,l[2],l[1]<<16|l[0]>>>16,l[3],l[2]<<16|l[1]>>>16],z=this._C=[l[2]<<16|l[2]>>>16,l[0]&4294901760|l[1]&65535,l[3]<<16|l[3]>>>16,l[1]&4294901760|l[2]&65535,l[0]<<16|l[0]>>>16,l[2]&4294901760|l[3]&65535,l[1]<<16|l[1]>>>16,l[3]&4294901760|l[0]&65535];this._b=0;for(var y=0;y<4;y++)f.call(this);for(var y=0;y<8;y++)z[y]^=d[y+4&7];if(m){var S=m.words,x=S[0],_=S[1],H=(x<<8|x>>>24)&16711935|(x<<24|x>>>8)&4278255360,L=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360,w=H>>>16|L&4294901760,$=L<<16|H&65535;z[0]^=H,z[1]^=w,z[2]^=L,z[3]^=$,z[4]^=H,z[5]^=w,z[6]^=L,z[7]^=$;for(var y=0;y<4;y++)f.call(this)}},_doProcessBlock:function(l,m){var d=this._X;f.call(this),v[0]=d[0]^d[5]>>>16^d[3]<<16,v[1]=d[2]^d[7]>>>16^d[5]<<16,v[2]=d[4]^d[1]>>>16^d[7]<<16,v[3]=d[6]^d[3]>>>16^d[1]<<16;for(var z=0;z<4;z++)v[z]=(v[z]<<8|v[z]>>>24)&16711935|(v[z]<<24|v[z]>>>8)&4278255360,l[m+z]^=v[z]},blockSize:128/32,ivSize:64/32});function f(){for(var l=this._X,m=this._C,d=0;d<8;d++)h[d]=m[d];m[0]=m[0]+1295307597+this._b|0,m[1]=m[1]+3545052371+(m[0]>>>0>>0?1:0)|0,m[2]=m[2]+886263092+(m[1]>>>0>>0?1:0)|0,m[3]=m[3]+1295307597+(m[2]>>>0>>0?1:0)|0,m[4]=m[4]+3545052371+(m[3]>>>0>>0?1:0)|0,m[5]=m[5]+886263092+(m[4]>>>0>>0?1:0)|0,m[6]=m[6]+1295307597+(m[5]>>>0>>0?1:0)|0,m[7]=m[7]+3545052371+(m[6]>>>0>>0?1:0)|0,this._b=m[7]>>>0>>0?1:0;for(var d=0;d<8;d++){var z=l[d]+m[d],y=z&65535,S=z>>>16,x=((y*y>>>17)+y*S>>>15)+S*S,_=((z&4294901760)*z|0)+((z&65535)*z|0);a[d]=x^_}l[0]=a[0]+(a[7]<<16|a[7]>>>16)+(a[6]<<16|a[6]>>>16)|0,l[1]=a[1]+(a[0]<<8|a[0]>>>24)+a[7]|0,l[2]=a[2]+(a[1]<<16|a[1]>>>16)+(a[0]<<16|a[0]>>>16)|0,l[3]=a[3]+(a[2]<<8|a[2]>>>24)+a[1]|0,l[4]=a[4]+(a[3]<<16|a[3]>>>16)+(a[2]<<16|a[2]>>>16)|0,l[5]=a[5]+(a[4]<<8|a[4]>>>24)+a[3]|0,l[6]=a[6]+(a[5]<<16|a[5]>>>16)+(a[4]<<16|a[4]>>>16)|0,l[7]=a[7]+(a[6]<<8|a[6]>>>24)+a[5]|0}t.RabbitLegacy=n._createHelper(s)}(),r.RabbitLegacy})}(Y3)),Y3.exports}(function(c,e){(function(r,t,o){c.exports=t(_2(),t6(),hr(),vr(),_4(),pr(),z4(),C3(),w8(),mr(),E8(),dr(),br(),xr(),$3(),gr(),h4(),h0(),_r(),zr(),Cr(),yr(),Lr(),Hr(),Mr(),Rr(),Sr(),wr(),$r(),Vr(),Er(),Ar(),Tr(),qr())})(A1,function(r){return r})})(fr);var Pr={exports:{}};/*! localForage -- Offline Storage, Improved Version 1.10.0 https://localforage.github.io/localForage (c) 2013-2017 Mozilla, Apache License 2.0 -*/(function(c,e){(function(r){c.exports=r()})(function(){return function r(t,o,n){function b(a,s){if(!o[a]){if(!t[a]){var f=typeof B0=="function"&&B0;if(!s&&f)return f(a,!0);if(v)return v(a,!0);var l=new Error("Cannot find module '"+a+"'");throw l.code="MODULE_NOT_FOUND",l}var m=o[a]={exports:{}};t[a][0].call(m.exports,function(d){var z=t[a][1][d];return b(z||d)},m,m.exports,r,t,o,n)}return o[a].exports}for(var v=typeof B0=="function"&&B0,h=0;h"u"&&r(3);var f=Promise;function l(u,R){R&&u.then(function(g){R(null,g)},function(g){R(g)})}function m(u,R,g){typeof R=="function"&&u.then(R),typeof g=="function"&&u.catch(g)}function d(u){return typeof u!="string"&&(console.warn(u+" used as a key, but it is not a string."),u=String(u)),u}function z(){if(arguments.length&&typeof arguments[arguments.length-1]=="function")return arguments[arguments.length-1]}var y="local-forage-detect-blob-support",S=void 0,x={},_=Object.prototype.toString,H="readonly",L="readwrite";function w(u){for(var R=u.length,g=new ArrayBuffer(R),q=new Uint8Array(g),P=0;P=43)}}).catch(function(){return!1})}function E(u){return typeof S=="boolean"?f.resolve(S):$(u).then(function(R){return S=R,S})}function F(u){var R=x[u.name],g={};g.promise=new f(function(q,P){g.resolve=q,g.reject=P}),R.deferredOperations.push(g),R.dbReady?R.dbReady=R.dbReady.then(function(){return g.promise}):R.dbReady=g.promise}function M(u){var R=x[u.name],g=R.deferredOperations.pop();if(g)return g.resolve(),g.promise}function V(u,R){var g=x[u.name],q=g.deferredOperations.pop();if(q)return q.reject(R),q.promise}function I(u,R){return new f(function(g,q){if(x[u.name]=x[u.name]||G(),u.db)if(R)F(u),u.db.close();else return g(u.db);var P=[u.name];R&&P.push(u.version);var A=h.open.apply(h,P);R&&(A.onupgradeneeded=function(K){var c1=A.result;try{c1.createObjectStore(u.storeName),K.oldVersion<=1&&c1.createObjectStore(y)}catch(n1){if(n1.name==="ConstraintError")console.warn('The database "'+u.name+'" has been upgraded from version '+K.oldVersion+" to version "+K.newVersion+', but the storage "'+u.storeName+'" already exists.');else throw n1}}),A.onerror=function(K){K.preventDefault(),q(A.error)},A.onsuccess=function(){var K=A.result;K.onversionchange=function(c1){c1.target.close()},g(K),M(u)}})}function B(u){return I(u,!1)}function t1(u){return I(u,!0)}function e1(u,R){if(!u.db)return!0;var g=!u.db.objectStoreNames.contains(u.storeName),q=u.versionu.db.version;if(q&&(u.version!==R&&console.warn('The database "'+u.name+`" can't be downgraded from version `+u.db.version+" to version "+u.version+"."),u.version=u.db.version),P||g){if(g){var A=u.db.version+1;A>u.version&&(u.version=A)}return!0}return!1}function h1(u){return new f(function(R,g){var q=new FileReader;q.onerror=g,q.onloadend=function(P){var A=btoa(P.target.result||"");R({__local_forage_encoded_blob:!0,data:A,type:u.type})},q.readAsBinaryString(u)})}function u1(u){var R=w(atob(u.data));return s([R],{type:u.type})}function i1(u){return u&&u.__local_forage_encoded_blob}function p1(u){var R=this,g=R._initReady().then(function(){var q=x[R._dbInfo.name];if(q&&q.dbReady)return q.dbReady});return m(g,u,u),g}function o1(u){F(u);for(var R=x[u.name],g=R.forages,q=0;q0&&(!u.db||A.name==="InvalidStateError"||A.name==="NotFoundError"))return f.resolve().then(function(){if(!u.db||A.name==="NotFoundError"&&!u.db.objectStoreNames.contains(u.storeName)&&u.version<=u.db.version)return u.db&&(u.version=u.db.version+1),t1(u)}).then(function(){return o1(u).then(function(){N(u,R,g,q-1)})}).catch(g);g(A)}}function G(){return{forages:[],db:null,dbReady:null,deferredOperations:[]}}function D(u){var R=this,g={db:null};if(u)for(var q in u)g[q]=u[q];var P=x[g.name];P||(P=G(),x[g.name]=P),P.forages.push(R),R._initReady||(R._initReady=R.ready,R.ready=p1);var A=[];function K(){return f.resolve()}for(var c1=0;c1>4,l1[P++]=(K&15)<<4|c1>>2,l1[P++]=(c1&3)<<6|n1&63;return a1}function d2(u){var R=new Uint8Array(u),g="",q;for(q=0;q>2],g+=N1[(R[q]&3)<<4|R[q+1]>>4],g+=N1[(R[q+1]&15)<<2|R[q+2]>>6],g+=N1[R[q+2]&63];return R.length%3===2?g=g.substring(0,g.length-1)+"=":R.length%3===1&&(g=g.substring(0,g.length-2)+"=="),g}function H2(u,R){var g="";if(u&&(g=w2.call(u)),u&&(g==="[object ArrayBuffer]"||u.buffer&&w2.call(u.buffer)==="[object ArrayBuffer]")){var q,P=i2;u instanceof ArrayBuffer?(q=u,P+=a2):(q=u.buffer,g==="[object Int8Array]"?P+=W1:g==="[object Uint8Array]"?P+=Y1:g==="[object Uint8ClampedArray]"?P+=r2:g==="[object Int16Array]"?P+=J:g==="[object Uint16Array]"?P+=Q:g==="[object Int32Array]"?P+=b1:g==="[object Uint32Array]"?P+=g1:g==="[object Float32Array]"?P+=m2:g==="[object Float64Array]"?P+=S2:R(new Error("Failed to get type for BinaryArray"))),R(P+d2(q))}else if(g==="[object Blob]"){var A=new FileReader;A.onload=function(){var K=s2+u.type+"~"+d2(this.result);R(i2+U1+K)},A.readAsArrayBuffer(u)}else try{R(JSON.stringify(u))}catch(K){console.error("Couldn't convert value into a JSON string: ",u),R(null,K)}}function A2(u){if(u.substring(0,l2)!==i2)return JSON.parse(u);var R=u.substring(z2),g=u.substring(l2,z2),q;if(g===U1&&t2.test(R)){var P=R.match(t2);q=P[1],R=R.substring(P[0].length)}var A=U2(R);switch(g){case a2:return A;case U1:return s([A],{type:q});case W1:return new Int8Array(A);case Y1:return new Uint8Array(A);case r2:return new Uint8ClampedArray(A);case J:return new Int16Array(A);case Q:return new Uint16Array(A);case b1:return new Int32Array(A);case g1:return new Uint32Array(A);case m2:return new Float32Array(A);case S2:return new Float64Array(A);default:throw new Error("Unkown type: "+g)}}var x2={serialize:H2,deserialize:A2,stringToBuffer:U2,bufferToString:d2};function L2(u,R,g,q){u.executeSql("CREATE TABLE IF NOT EXISTS "+R.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],g,q)}function O2(u){var R=this,g={db:null};if(u)for(var q in u)g[q]=typeof u[q]!="string"?u[q].toString():u[q];var P=new f(function(A,K){try{g.db=openDatabase(g.name,String(g.version),g.description,g.size)}catch(c1){return K(c1)}g.db.transaction(function(c1){L2(c1,g,function(){R._dbInfo=g,A()},function(n1,a1){K(a1)})},K)});return g.serializer=x2,P}function h2(u,R,g,q,P,A){u.executeSql(g,q,P,function(K,c1){c1.code===c1.SYNTAX_ERR?K.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[R.storeName],function(n1,a1){a1.rows.length?A(n1,c1):L2(n1,R,function(){n1.executeSql(g,q,P,A)},A)},A):A(K,c1)},A)}function E2(u,R){var g=this;u=d(u);var q=new f(function(P,A){g.ready().then(function(){var K=g._dbInfo;K.db.transaction(function(c1){h2(c1,K,"SELECT * FROM "+K.storeName+" WHERE key = ? LIMIT 1",[u],function(n1,a1){var l1=a1.rows.length?a1.rows.item(0).value:null;l1&&(l1=K.serializer.deserialize(l1)),P(l1)},function(n1,a1){A(a1)})})}).catch(A)});return l(q,R),q}function M2(u,R){var g=this,q=new f(function(P,A){g.ready().then(function(){var K=g._dbInfo;K.db.transaction(function(c1){h2(c1,K,"SELECT * FROM "+K.storeName,[],function(n1,a1){for(var l1=a1.rows,L1=l1.length,k1=0;k10){K(Z2.apply(P,[u,n1,g,q-1]));return}c1(k1)}})})}).catch(c1)});return l(A,g),A}function t0(u,R,g){return Z2.apply(this,[u,R,g,1])}function F2(u,R){var g=this;u=d(u);var q=new f(function(P,A){g.ready().then(function(){var K=g._dbInfo;K.db.transaction(function(c1){h2(c1,K,"DELETE FROM "+K.storeName+" WHERE key = ?",[u],function(){P()},function(n1,a1){A(a1)})})}).catch(A)});return l(q,R),q}function B2(u){var R=this,g=new f(function(q,P){R.ready().then(function(){var A=R._dbInfo;A.db.transaction(function(K){h2(K,A,"DELETE FROM "+A.storeName,[],function(){q()},function(c1,n1){P(n1)})})}).catch(P)});return l(g,u),g}function r0(u){var R=this,g=new f(function(q,P){R.ready().then(function(){var A=R._dbInfo;A.db.transaction(function(K){h2(K,A,"SELECT COUNT(key) as c FROM "+A.storeName,[],function(c1,n1){var a1=n1.rows.item(0).c;q(a1)},function(c1,n1){P(n1)})})}).catch(P)});return l(g,u),g}function c0(u,R){var g=this,q=new f(function(P,A){g.ready().then(function(){var K=g._dbInfo;K.db.transaction(function(c1){h2(c1,K,"SELECT key FROM "+K.storeName+" WHERE id = ? LIMIT 1",[u+1],function(n1,a1){var l1=a1.rows.length?a1.rows.item(0).key:null;P(l1)},function(n1,a1){A(a1)})})}).catch(A)});return l(q,R),q}function Y2(u){var R=this,g=new f(function(q,P){R.ready().then(function(){var A=R._dbInfo;A.db.transaction(function(K){h2(K,A,"SELECT key FROM "+A.storeName,[],function(c1,n1){for(var a1=[],l1=0;l1 '__WebKitDatabaseInfoTable__'",[],function(P,A){for(var K=[],c1=0;c10}function k0(u){var R=this,g={};if(u)for(var q in u)g[q]=u[q];return g.keyPrefix=K2(u,R._defaultConfig),T2()?(R._dbInfo=g,g.serializer=x2,f.resolve()):f.reject()}function F0(u){var R=this,g=R.ready().then(function(){for(var q=R._dbInfo.keyPrefix,P=localStorage.length-1;P>=0;P--){var A=localStorage.key(P);A.indexOf(q)===0&&localStorage.removeItem(A)}});return l(g,u),g}function N0(u,R){var g=this;u=d(u);var q=g.ready().then(function(){var P=g._dbInfo,A=localStorage.getItem(P.keyPrefix+u);return A&&(A=P.serializer.deserialize(A)),A});return l(q,R),q}function t4(u,R){var g=this,q=g.ready().then(function(){for(var P=g._dbInfo,A=P.keyPrefix,K=A.length,c1=localStorage.length,n1=1,a1=0;a1=0;K--){var c1=localStorage.key(K);c1.indexOf(A)===0&&localStorage.removeItem(c1)}}):P=f.reject("Invalid arguments"),l(P,R),P}var O0={_driver:"localStorageWrapper",_initStorage:k0,_support:$2(),iterate:t4,getItem:N0,setItem:G0,removeItem:E0,clear:F0,length:W0,key:D0,keys:o0,dropInstance:r4},X2=function(R,g){return R===g||typeof R=="number"&&typeof g=="number"&&isNaN(R)&&isNaN(g)},U0=function(R,g){for(var q=R.length,P=0;P"u"?"undefined":n(g))==="object"){if(this._ready)return new Error("Can't call config() after localforage has been used.");for(var q in g){if(q==="storeName"&&(g[q]=g[q].replace(/\W/g,"_")),q==="version"&&typeof g[q]!="number")return new Error("Database version must be a number.");this._config[q]=g[q]}return"driver"in g&&g.driver?this.setDriver(this._config.driver):!0}else return typeof g=="string"?this._config[g]:this._config},u.prototype.defineDriver=function(g,q,P){var A=new f(function(K,c1){try{var n1=g._driver,a1=new Error("Custom driver not compliant; see https://mozilla.github.io/localForage/#definedriver");if(!g._driver){c1(a1);return}for(var l1=Q2.concat("_initStorage"),L1=0,k1=l1.length;L1-1}function D0(p,O){var U=this.__data__,v1=Q2(U,p);return v1<0?U.push([p,O]):U[v1][1]=O,this}T2.prototype.clear=k0,T2.prototype.delete=F0,T2.prototype.get=N0,T2.prototype.has=t4,T2.prototype.set=D0;function o0(p){var O=-1,U=p?p.length:0;for(this.clear();++O-1&&p%1==0&&p-1&&p%1==0&&p<=o}function $1(p){var O=typeof p;return!!p&&(O=="object"||O=="function")}function V1(p){return!!p&&typeof p=="object"}function A1(p){return j(p)?Z0(p):R(p)}function o2(){return[]}function f2(){return!1}c.exports=P4})(K3,K3.exports);const T4=K3.exports,rt=c=>{try{ct(c);let e;return c.subscribe(t=>{if(typeof t=="object"||Array.isArray(t)){e=T4(t);return}e=t})(),e}catch(e){throw e}},G2=(c,e,r)=>{try{const t=rt(c);return t&&t[e]!==void 0?t[e]:r}catch(t){throw t}},P2=(c,e,r)=>{try{ct(c),c.update(t=>Object.assign(T4(r||t),T4(e)))}catch(t){throw t}};function ct(c){if(!c||!c.subscribe||!c.update)throw new Error("SPA Storage: Store provided is not defined")}function k2(c,e){return Object.assign(T4(ot(c)),T4(ot(e)))}function ot(c){return typeof c=="object"||Array.isArray(c)?c:{}}const j2=E4(k2({},{hashMode:!1,navigationHistoryLimit:200,notFoundRoute:"/notFound",consoleLogErrorMessages:!0,consoleLogStores:!1,considerTrailingSlashOnMatchingRoute:!0,maxRedirectBeforeEnter:30,useScroll:!1,scrollProps:{target:!1,top:0,left:0,behavior:"smooth",timeout:10}}));let nt=c=>console.error(c),A4=[];function kr(c){at(c.hashMode),st(c.navigationHistoryLimit),it(c.notFoundRoute),lt(c.consoleLogErrorMessages),ut(c.consoleLogStores),ft(c.considerTrailingSlashOnMatchingRoute),mt(c.onError),dt(c.beforeEnter),ht(c.scrollProps),pt(c.useScroll),bt(c.maxRedirectBeforeEnter)}function Or(){return rt(j2)}function at(c){typeof c=="boolean"&&P2(j2,{hashMode:c})}function Br(){return G2(j2,"hashMode")}function st(c){if(typeof c!="number")return!1;c<=0&&(c=1),P2(j2,{navigationHistoryLimit:c})}function Ir(){return G2(j2,"navigationHistoryLimit")}function it(c){typeof c=="string"&&c.includes("/")&&P2(j2,{notFoundRoute:c})}function jr(){return G2(j2,"notFoundRoute")}function lt(c){typeof c=="boolean"&&P2(j2,{consoleLogErrorMessages:c})}function Fr(){return G2(j2,"consoleLogErrorMessages")}function ut(c){typeof c=="boolean"&&P2(j2,{consoleLogStores:c})}function Nr(){return G2(j2,"consoleLogStores")}function ft(c){typeof c=="boolean"&&P2(j2,{considerTrailingSlashOnMachingRoute:c})}function Dr(){return G2(j2,"considerTrailingSlashOnMachingRoute")}function ht(c){const e=vt();typeof c=="object"&&(c.top=typeof c.top=="number"?c.top:e.top,c.left=typeof c.left=="number"?c.left:e.left,c.timeout=typeof c.timeout=="number"?c.timeout:e.timeout,c.behavior=c.behavior||e.behavior,c.target=(c.target,c.target),P2(j2,{scrollProps:c}))}function vt(){return G2(j2,"scrollProps")}function pt(c){typeof c=="boolean"&&P2(j2,{useScroll:c})}function Wr(){return G2(j2,"useScroll")}function mt(c){!c||typeof c!="function"||(nt=c)}function Gr(){return nt}function dt(c){if(typeof c=="function"){A4=[c];return}Array.isArray(c)&&(A4=c.filter(e=>typeof e=="function"),A4.length>0)||(A4=[])}function Ur(){return A4}function bt(c=30){typeof c=="number"&&(c=c>-1?c:0,P2(j2,{maxRedirectBeforeEnter:c}))}function Zr(){return G2(j2,"maxRedirectBeforeEnter")}const J2={store:j2,subscribe:j2.subscribe,update:j2.update,setConfig:kr,getConfig:Or,setHashMode:at,getHashMode:Br,setNavigationHistoryLimit:st,getNavigationHistoryLimit:Ir,setNotFoundRoute:it,getNotFoundRoute:jr,setConsoleLogErrorMessages:lt,getConsoleLogErrorMessages:Fr,setConsoleLogStores:ut,getConsoleLogStores:Nr,setConsiderTrailingSlashOnMatchingRoute:ft,getConsiderTrailingSlashOnMatchingRoute:Dr,setScrollProps:ht,getScrollProps:vt,setUseScroll:pt,getUseScroll:Wr,setOnError:mt,getOnError:Gr,setBeforeEnter:dt,getBeforeEnter:Ur,setMaxRedirectBeforeEnter:bt,getMaxRedirectBeforeEnter:Zr},r6={routeId:void 0,name:void 0,path:void 0,pathname:void 0,fullPath:void 0,queryParams:{},pathParams:{},params:{},host:void 0,protocol:void 0,port:void 0,origin:void 0,hash:void 0,routeObj:{},redirected:void 0},Yr={routes:[],currentRoute:k2({},r6),lastRoute:k2({},r6),navigationHistory:[]},M0=E4(k2({},Yr));function Kr(c){if(!Array.isArray(c)||c.length==0||typeof c[0]!="object")throw new Error("SCR: Routes must be an array of objects.");for(let e of c){if(!e.name||!e.path&&e.path!==""||e.name=="")throw new Error(`SCR: Routes must have at least (name and path) properties. Set name: (${e.name}) - path:(${e.path})`);if(typeof e.name!="string"||typeof e.path!="string")throw new Error("SCR: Routes properties (name and path) must be a string.")}P2(M0,{routes:c})}function Xr(){return G2(M0,"routes")}function Qr(){P2(M0,{routes:[]})}function Jr(c=k2({},r6)){P2(M0,{currentRoute:c})}function e7(){return G2(M0,"currentRoute")}function t7(c=k2({},r6)){P2(M0,{lastRoute:c})}function r7(){return G2(M0,"lastRoute")}function c7(){return{name:"SCR_NOT_FOUND_ROUTE",path:J2.getNotFoundRoute()}}function o7(c){if(!Array.isArray(c))return!1;let e=J2.getNavigationHistoryLimit()-c.length;e<0&&(e*=-1,c=c.slice(e,0)),P2(M0,{navigationHistory:c})}function n7(c){if(typeof c!="object")return!1;let e=xt()||[];e.push(c),P2(M0,{navigationHistory:e})}function xt(){return G2(M0,"navigationHistory")}const R0={store:M0,subscribe:M0.subscribe,update:M0.update,setRoutes:Kr,getRoutes:Xr,resetRoutes:Qr,setCurrentRoute:Jr,getCurrentRoute:e7,setLastRoute:t7,getLastRoute:r7,getNotFoundRoute:c7,pushNavigationHistory:n7,setNavigationHistory:o7,getNavigationHistory:xt};class a7{constructor(){this.waitList=[]}finishWait(e,r=!0,t=!0){if(!this.waitList[e])return!1;try{return this.waitList[e]?r?this.waitList[e].resolve(t||r):this.waitList[e].reject(t||r):void 0}catch{}finally{this.waitList[e]&&(this.waitList[e]=void 0)}}startWait(e){if(!this.waitList[e])return this.waitList[e]={},this.waitList[e].promise=new Promise((r,t)=>{this.waitList[e].resolve=r,this.waitList[e].reject=t}),this.waitList[e].promise}finishAll(e,r){for(let t of this.waitList)this.finishWait(t,e,r)}}const gt=new a7;let c6=!1;const S0=E4(k2({},{isLoading:!1,currentParams:{},routeParams:{},loadingParams:{},defaultLoadingParams:{}}));let X3,Q3,_t;function s7(c){typeof c=="boolean"&&(c?zt():Ct(),P2(S0,{isLoading:c}))}function i7(){return G2(S0,"isLoading")}function l7(c={}){if(typeof c!="object"){P2(S0,{currentParams:{}});return}P2(S0,{currentParams:c})}function u7(){return G2(S0,"currentParams")}function f7(c={}){if(typeof c!="object"){P2(S0,{loadingParams:{}});return}P2(S0,{loadingParams:c})}function h7(){return G2(S0,"loadingParams")}function v7(c={}){if(typeof c!="object")return!1;P2(S0,{defaultLoadingParams:c})}function p7(){return G2(S0,"defaultLoadingParams")}function zt(){c6=gt.startWait("SCR_LOADING")}function Ct(c){gt.finishWait("SCR_LOADING",c),c6=!1}function m7(){return c6}function d7(c){X3=c}function b7(){return X3}function x7(c){Q3=c}function g7(){return Q3}function _7(c){_t=c}function z7(){return _t}const e0={store:S0,subscribe:S0.subscribe,update:S0.update,setIsLoading:s7,getIsLoading:i7,setCurrentParams:l7,getCurrentParams:u7,setLoadingParams:f7,getLoadingParams:h7,setDefaultLoadingParams:v7,getDefaultLoadingParams:p7,startWaiting:zt,stopWaiting:Ct,getWaiting:m7,setLoadingComponent:d7,getLoadingComponent:b7,setCurrentComponent:x7,getCurrentComponent:g7,setDefaultLoadingComponent:_7,getDefaultLoadingComponent:z7,waiting:c6,loadingComponent:X3,currentComponent:Q3},j0=E4(k2({},{isConsuming:!1,name:!1,path:!1,params:{}}));let yt=c=>console.error(c);function o6(c){typeof c!="boolean"&&typeof c!="string"||(c||(n6(!1),J3(!1),s6({}),a6(e=>console.error(e))),P2(j0,{isConsuming:c}))}function C7(){return G2(j0,"isConsuming")}function J3(c){c!==!1&&typeof c!="string"||P2(j0,{name:c})}function y7(){return G2(j0,"name")}function n6(c){c!==!1&&typeof c!="string"||P2(j0,{path:c})}function L7(){return G2(j0,"path")}function a6(c){typeof c=="function"&&(yt=c)}function H7(){return yt}function s6(c){typeof c=="object"&&P2(j0,{params:c})}function M7(){return G2(j0,"params")}function R7(c){try{if(!c){J2.getConsoleLogErrorMessages()&&console.error("SCR: Push Route didn't received any parameters");return}if(s6(!1),a6(e=>console.error(e)),typeof c=="object")if(a6(c.onError),s6(c.params),c.name){J3(c.name),o6("NAME");return}else if(c.path){n6(c.path),o6("PATH");return}else J2.getConsoleLogErrorMessages()&&console.error("SCR: Push Route didn't received expected path ou name parameters");else if(typeof c=="string")n6(c),o6("PATH");else{J2.getConsoleLogErrorMessages()&&console.error("SCR: Push Route didn't received any parameters");return}}catch(e){throw e}}function S7(c){(typeof c!="number"||c>=0)&&(c=-1),window.history.go(c)}const e4={subscribe:j0.subscribe,update:j0.update,setIsConsuming:o6,getIsConsuming:C7,setName:J3,getName:y7,setPath:n6,getPath:L7,setOnError:a6,getOnError:H7,setParams:s6,getParams:M7,pushRoute:R7,backRoute:S7},w7="modulepreload",$7=function(c){return"/"+c},Lt={},v2=function(e,r,t){return e()};function V7(c){try{if(!c||typeof c!="string")return{};let e={};return c.replace(/[?&]+([^=&]+)=([^&]*)/gi,(r,t,o)=>{e[t]=o}),e}catch(e){throw e}}function Ht(c,e){try{if((!c||typeof c!="string")&&(c="/"),(!e||typeof e!="object")&&(e={}),Object.keys(e).length==0)return c;let r=[];for(let t in e)r.push(`${t}=${e[t].toString().trim()}`);return r.length>0&&(c+=`?${r.join("&")}`),c}catch(r){throw r}}function Mt(c){try{return!c||typeof c!="string"||!c.includes("/")||(c=c.split("?"),c=c[0],c.charAt(c.length-1)!=="/"&&J2.getConsiderTrailingSlashOnMatchingRoute()&&(c+="/")),c}catch(e){throw e}}function E7(c){try{if(!c||typeof c!="string"||!c.includes("#"))return"";let e=c.split("#");return"#"+e[1]}catch(e){throw e}}function T7(c){try{return!c||typeof c!="string"?"/":(c.includes(":/")?c=c.split("/").slice(3):c=c.split("/").slice(1),c.length==1?c[0]==""?"/":`/${c[0]}`:`/${c.join("/")}`)}catch(e){throw e}}function Rt(c){try{let e=location.protocol.replace(":",""),r=location.host,t=location.port,o=location.origin;if(!c||typeof c!="string"||!c.includes(":"))return{protocol:e,host:r,port:t,origin:o};const n=c.split(":");e=["http","https"].includes(n[0])?n[0]:e;const b=n[1].split("/");return r=b[2]?b[2]:r,n[2]&&(t=`:${n[2].split("/")[0]}`,r+=t),e!=""&&r!=""&&(o=`${e}://${r}`),{protocol:e,host:r,port:t,origin:o}}catch(e){throw e}}function A7(c,e){try{if(!e||typeof e!="object")return c;for(let r in e)c=c.replace(r,e[r].toString().trim());return c}catch(r){throw r}}function q7(c,e){try{if(!e||!Array.isArray(e))return c;for(let r of e)!r.find||!r.replacement||(c=c.replace(r.find,r.replacement.toString().trim()));return c}catch(r){throw r}}async function ee(c,e){try{if(!Array.isArray(c))return e;for(let r of c){if(typeof r!="function")continue;const t=await r();if(t&&t.default)return t.default}return e}catch(r){throw r}}const P7="/:",q4="*";let C4={},y4,te="NEW";async function k7(c={}){try{R0.setRoutes(c.routes),c.defaultLoadingComponent&&typeof c.defaultLoadingComponent=="function"&&(e0.setDefaultLoadingComponent(c.defaultLoadingComponent),e0.setDefaultLoadingParams(c.defaultLoadingParams)),await re(i6(location.href))}catch(e){await ce(e)}}async function re(c,e="NEW"){try{if(te=e,Y7(c))return;const r=Z7(),t=await ee([c.definition.lazyLoadLoadingComponent,c.definition.loadingComponent],e0.getDefaultLoadingComponent());e0.setLoadingComponent(t),e0.setLoadingParams(k2({},{...e0.getDefaultLoadingParams(),toRoute:c,fromRoute:r,queryParams:c.queryParams,pathParams:c.pathParams,params:c.params,loadingParams:c.definition.loadingParams})),e0.setIsLoading(!0),c=await O7(c,r),await B7(c,r)}catch(r){if(c&&c.definition&&c.definition.onError&&typeof c.definition.onError=="function")return c.definition.onError(r);throw r}finally{te="NEW",e0.setIsLoading(!1)}}async function O7(c,e){try{let r=!0,t=J2.getMaxRedirectBeforeEnter();for(C4={};r&&c.name!="SCR_NOT_FOUND_ROUTE";){if(t--<0)throw r=!1,new Error(`SCR: Max redirects achieved ${J2.getMaxRedirectBeforeEnter()} - too many redirects on before enter function. See configuration MaxRedirectBeforeEnter for more info.`);const o=await N7(c,e);if(!o.isToContinue)return!1;if(o.isToRedirect){const n=c;o.name?c=wt(o):(o.path||o.redirect)&&(c=i6(o.path||o.redirect)),c.redirected=n;continue}r=!1}return c}catch(r){throw r}}async function B7(c,e){try{const r={toRoute:c,fromRoute:e,payload:C4};c.definition.afterEnter&&typeof c.definition.afterEnter=="function"&&await c.definition.afterEnter(k2({},r));const t=G7(c.name);c.routeId=t,R0.setCurrentRoute(c),R0.setLastRoute(e);let o;if(c.name!=="SCR_NOT_FOUND_ROUTE"?o=await ee([c.definition.lazyLoadComponent,c.definition.component],!1):o=await ee([()=>v2(()=>Promise.resolve().then(()=>k9),void 0)],!1),e0.setCurrentParams({toRoute:c,fromRoute:e,queryParams:c.queryParams,pathParams:c.pathParams,params:c.params,notFound:y4||void 0}),e0.setCurrentComponent(o),e0.setIsLoading(!1),c.definition.title&&(document.title=c.definition.title),J2.getUseScroll()&&!c.definition.ignoreScroll){let n=J2.getScrollProps();c.definition.scrollProps&&(n.top=c.definition.scrollProps.top,n.left=c.definition.scrollProps.left,n.behavior=c.definition.scrollProps.behavior,n.timeout=c.definition.scrollProps.timeout),setTimeout(()=>{let b;n.target&&(b=document.getElementById(n.target)),b?b.scrollTo(n):window.scrollTo(n)},n.timeout)}R0.pushNavigationHistory(c),U7(c,e)}catch(r){throw r}}function I7(c,e,r){try{if(!c||typeof c!="string"||c===""||!e||typeof e!="string"||e==="")return!1;const t=c.split("/"),o=e.split("/");if(t.length!==o.length)return!1;let n=1;for(let b=0;b0&&(t=await St(c,r.first,e)),r.then.length>0&&(t=await St(c,r.then,e)),t}catch(r){throw r}}async function St(c,e,r){try{for(let t of e){(!C4||typeof C4!="object")&&(C4={},J2.getConsoleLogErrorMessages()&&console.error("SCR_ROUTER: Payload property was redefined in before enter function."));const o=await new Promise(async function(n,b){try{await t({resolve:n,reject:b,routeTo:k2({},c),routeFrom:k2({},r)},C4)}catch(v){n({SCR_ROUTE_ERROR:!0,error:v})}});if(o!==!0){if(!o)return{isToContinue:!1};if(o.SCR_ROUTE_ERROR)throw o.error||new Error("SCR_ROUTER: An error has occurred on before function execution.");if(o&&(o.path||o.redirect))return{isToContinue:!0,isToRedirect:!0,path:o.path||o.redirect};if(o&&o.name)return{isToContinue:!0,isToRedirect:!0,name:o.name,pathParams:k2({},o.pathParams||{}),queryParams:k2({},o.queryParams||{}),anyRouteParam:k2({},o.anyRouteParam||[])}}}return{isToContinue:!0}}catch(t){throw t}}function D7(c){try{return Array.isArray(c)?c.filter(e=>typeof e=="function"):typeof c=="function"?[c]:[]}catch(e){throw e}}function W7(c){try{let e=[],r=J2.getBeforeEnter(),t=!0;return c&&typeof c=="object"&&c.definition&&(e=D7(c.definition.beforeEnter),c.definition.ignoreGlobalBeforeFunction&&(r=[]),c.definition.executeRouteBEFBeforeGlobalBEF&&(t=!1)),t?k2({},{first:r,then:e}):k2({},{first:e,then:r})}catch(e){throw e}}function i6(c){try{(!c||typeof c!="string")&&(c="/");const e=E7(c);J2.getHashMode()&&(c=e.replace("/#",""),c=c.replace("#",""));let r={};c.includes("?")&&(r=V7(c),c=c.split("?"),c=c[0]),c=T7(c);const t=F7(c);y4=void 0,t.name==="SCR_NOT_FOUND_ROUTE"&&(y4={path:c},c=t.path);const{protocol:o,host:n,port:b,origin:v}=Rt(c);return{fullPath:Ht(c,r),path:c,pathname:location.pathname,queryParams:r,host:n,protocol:o,port:b,origin:v,hash:e,name:t.name,pathParams:k2({},t.pathParams),params:k2({},t.params),definition:k2({},t)}}catch(e){throw e}}function wt(c){try{let e="/";(!c||typeof c!="object")&&(c={});const{protocol:r,host:t,port:o,origin:n}=Rt(e),b=j7(c.name||"SCR_NOT_FOUND_ROUTE");return y4=void 0,b.name=="SCR_NOT_FOUND_ROUTE"?(y4={name:c.name||"Route name not informed"},{fullPath:J2.getNotFoundRoute(),path:J2.getNotFoundRoute(),pathname:location.pathname,queryParams:c.queryParams||{},host:t,protocol:r,port:o,origin:n,hash:"",name:b.name,pathParams:c.pathParams||{},params:b.params||{},definition:b}):(e=b.path,b.path.includes(P7)&&(e=A7(e,c.pathParams)),b.path.includes(q4)&&(e=q7(e,c.anyRouteParams)),{fullPath:Ht(e,c.queryParams||{}),path:e,pathname:location.pathname,queryParams:c.queryParams||{},host:t,protocol:r,port:o,origin:n,hash:"",name:b.name,pathParams:k2({},b.pathParams),params:k2({},b.params),definition:k2({},b)})}catch(e){throw e}}async function ce(c){try{await J2.getOnError()(c)}catch(e){J2.getConsoleLogErrorMessages()&&(console.error(c),console.error(e))}}function G7(c="scr"){return`${new Date().getTime()}_${c}_${Math.pow(10,17)*Math.random()}`}function U7(c,e){try{const t=(J2.getHashMode()?`${location.pathname}#/`:"/")+c.fullPath.slice(1);te=="NEW"?history.pushState({currentRoute:{fullPath:c.fullPath,routeId:c.routeId},fromRoute:{fullPath:e.fullPath,routeId:e.routeId}},null,t):history.replaceState({currentRoute:{fullPath:c.fullPath,routeId:c.routeId},fromRoute:{fullPath:e.fullPath,routeId:e.routeId}},null,t)}catch(r){throw r}}window.addEventListener("popstate",async c=>{const e=c&&c.state&&c.state.currentRoute?c.state:!1;let r=location.href;e&&(r=c.state.currentRoute.fullPath);try{await re(i6(r),"POPEVENT")}catch(t){ce(t)}});function Z7(){try{let c=R0.getCurrentRoute();return c.name||(c=R0.getLastRoute(),c.name)?c:!1}catch(c){throw c}}function Y7(c){try{if(!c||!c.definition||c.definition.forceReload)return!1;let e=R0.getCurrentRoute();return!(!e||!e.fullPath||e.fullPath!=c.fullPath)}catch(e){throw e}}function K7(c){let e=c[3](c[14])+"",r;return{c(){r=M1(e)},m(t,o){Y(t,r,o)},p(t,o){o&1&&e!==(e=t[3](t[14])+"")&&D2(r,e)},i:E1,o:E1,d(t){t&&Z(r)}}}function X7(c){let e,r,t;const o=[e0.getCurrentParams()];var n=c[2];function b(v){let h={};for(let a=0;a{y1(s,1)}),u4()}n?(e=new n(b()),H1(e.$$.fragment),m1(e.$$.fragment,1),C1(e,r.parentNode,r)):e=null}else n&&e.$set(a)},i(v){t||(e&&m1(e.$$.fragment,v),t=!0)},o(v){e&&d1(e.$$.fragment,v),t=!1},d(v){v&&Z(r),e&&y1(e,v)}}}function Q7(c){let e=e0.getLoadingComponent(),r,t,o=e&&J7(c);return{c(){o&&o.c(),r=S4()},m(n,b){o&&o.m(n,b),Y(n,r,b),t=!0},p(n,b){e&&o.p(n,b)},i(n){t||(m1(o),t=!0)},o(n){d1(o),t=!1},d(n){o&&o.d(n),n&&Z(r)}}}function J7(c){let e,r,t;const o=[e0.getLoadingParams()];var n=c[1];function b(v){let h={};for(let a=0;a{y1(s,1)}),u4()}n?(e=new n(b()),H1(e.$$.fragment),m1(e.$$.fragment,1),C1(e,r.parentNode,r)):e=null}else n&&e.$set(a)},i(v){t||(e&&m1(e.$$.fragment,v),t=!0)},o(v){e&&d1(e.$$.fragment,v),t=!1},d(v){v&&Z(r),e&&y1(e,v)}}}function ec(c){let e,r,t,o={ctx:c,current:null,token:null,hasCatch:!0,pending:Q7,then:X7,catch:K7,value:13,error:14,blocks:[,,,]};return y6(r=c[0],o),{c(){e=S4(),o.block.c()},m(n,b){Y(n,e,b),o.block.m(n,o.anchor=b),o.mount=()=>e.parentNode,o.anchor=e,t=!0},p(n,[b]){c=n,o.ctx=c,b&1&&r!==(r=c[0])&&y6(r,o)||Re(o,c,b)},i(n){t||(m1(o.block),t=!0)},o(n){for(let b=0;b<3;b+=1){const v=o.blocks[b];d1(v)}t=!1},d(n){n&&Z(e),o.block.d(n),o.token=null,o=null}}}function tc(c,e,r){let t,o,n,b;Q0(c,e4,y=>r(8,t=y)),Q0(c,J2,y=>r(9,o=y)),Q0(c,R0,y=>r(10,n=y)),Q0(c,e0,y=>r(11,b=y));let{routes:v}=e,{defaultLoadingComponent:h}=e,{defaultLoadingParams:a}=e,s,f=!1,l=null,m=null;async function d(){try{if(f)return;let y;t.isConsuming=="PATH"?y=i6(t.path):t.isConsuming=="NAME"&&(y=wt({name:t.name})),t.params&&(y.params={...y.params,...e4.getParams()}),await re(y),e4.setIsConsuming(!1),r(7,f=!1)}catch(y){e4.setIsConsuming(!1),r(7,f=!1);try{if(e4.getOnError)return await e4.getOnError()(y);throw y}catch(S){ce(S)}}}function z(y){return o.consoleLogErrorMessages&&console.log(y),""}return p5(k7.bind(void 0,{routes:v,defaultLoadingComponent:h,defaultLoadingParams:a})),c.$$set=y=>{"routes"in y&&r(4,v=y.routes),"defaultLoadingComponent"in y&&r(5,h=y.defaultLoadingComponent),"defaultLoadingParams"in y&&r(6,a=y.defaultLoadingParams)},c.$$.update=()=>{c.$$.dirty&2048&&(b.isLoading?(r(0,s=e0.getWaiting()),r(1,l=e0.getLoadingComponent())):(r(2,m=e0.getCurrentComponent()),r(0,s=!1))),c.$$.dirty&1536&&o.consoleLogStores&&n&&(console.log(" ----- SCR - Router Store ------------ "),console.log(n),console.log(" ------------------------------------- ")),c.$$.dirty&512&&o.consoleLogStores&&o&&(console.log(" ----- SCR - Configuration Store ----- "),console.log(o),console.log(" ------------------------------------- ")),c.$$.dirty&384&&t.isConsuming&&!f&&d()},[s,l,m,z,v,h,a,f,t,o,n,b]}class rc extends e2{constructor(e){super(),J1(this,e,tc,ec,X1,{routes:4,defaultLoadingComponent:5,defaultLoadingParams:6})}}function cc(c){let e,r,t,o;const n=c[5].default,b=h6(n,c,c[4],null);let v=[c[0]],h={};for(let a=0;a{"params"in a&&r(2,n=a.params),"onError"in a&&r(3,b=a.onError),"elementProps"in a&&r(0,v=a.elementProps),"$$scope"in a&&r(4,o=a.$$scope)},[v,h,n,b,o,t]}class F1 extends e2{constructor(e){super(),J1(this,e,oc,cc,X1,{params:2,onError:3,elementProps:0})}}e4.pushRoute,e4.backRoute;const s4=J2,nc=R0;function ac(c){let e,r,t,o,n,b,v,h;return{c(){e=C("center"),r=C("div"),r.innerHTML=`
+*/(function(c,e){(function(r){c.exports=r()})(function(){return function r(t,o,n){function b(a,s){if(!o[a]){if(!t[a]){var f=typeof B0=="function"&&B0;if(!s&&f)return f(a,!0);if(v)return v(a,!0);var l=new Error("Cannot find module '"+a+"'");throw l.code="MODULE_NOT_FOUND",l}var m=o[a]={exports:{}};t[a][0].call(m.exports,function(d){var z=t[a][1][d];return b(z||d)},m,m.exports,r,t,o,n)}return o[a].exports}for(var v=typeof B0=="function"&&B0,h=0;h"u"&&r(3);var f=Promise;function l(u,R){R&&u.then(function(g){R(null,g)},function(g){R(g)})}function m(u,R,g){typeof R=="function"&&u.then(R),typeof g=="function"&&u.catch(g)}function d(u){return typeof u!="string"&&(console.warn(u+" used as a key, but it is not a string."),u=String(u)),u}function z(){if(arguments.length&&typeof arguments[arguments.length-1]=="function")return arguments[arguments.length-1]}var y="local-forage-detect-blob-support",S=void 0,x={},_=Object.prototype.toString,H="readonly",L="readwrite";function w(u){for(var R=u.length,g=new ArrayBuffer(R),q=new Uint8Array(g),P=0;P=43)}}).catch(function(){return!1})}function E(u){return typeof S=="boolean"?f.resolve(S):$(u).then(function(R){return S=R,S})}function F(u){var R=x[u.name],g={};g.promise=new f(function(q,P){g.resolve=q,g.reject=P}),R.deferredOperations.push(g),R.dbReady?R.dbReady=R.dbReady.then(function(){return g.promise}):R.dbReady=g.promise}function M(u){var R=x[u.name],g=R.deferredOperations.pop();if(g)return g.resolve(),g.promise}function V(u,R){var g=x[u.name],q=g.deferredOperations.pop();if(q)return q.reject(R),q.promise}function I(u,R){return new f(function(g,q){if(x[u.name]=x[u.name]||G(),u.db)if(R)F(u),u.db.close();else return g(u.db);var P=[u.name];R&&P.push(u.version);var T=h.open.apply(h,P);R&&(T.onupgradeneeded=function(K){var c1=T.result;try{c1.createObjectStore(u.storeName),K.oldVersion<=1&&c1.createObjectStore(y)}catch(n1){if(n1.name==="ConstraintError")console.warn('The database "'+u.name+'" has been upgraded from version '+K.oldVersion+" to version "+K.newVersion+', but the storage "'+u.storeName+'" already exists.');else throw n1}}),T.onerror=function(K){K.preventDefault(),q(T.error)},T.onsuccess=function(){var K=T.result;K.onversionchange=function(c1){c1.target.close()},g(K),M(u)}})}function B(u){return I(u,!1)}function t1(u){return I(u,!0)}function e1(u,R){if(!u.db)return!0;var g=!u.db.objectStoreNames.contains(u.storeName),q=u.versionu.db.version;if(q&&(u.version!==R&&console.warn('The database "'+u.name+`" can't be downgraded from version `+u.db.version+" to version "+u.version+"."),u.version=u.db.version),P||g){if(g){var T=u.db.version+1;T>u.version&&(u.version=T)}return!0}return!1}function h1(u){return new f(function(R,g){var q=new FileReader;q.onerror=g,q.onloadend=function(P){var T=btoa(P.target.result||"");R({__local_forage_encoded_blob:!0,data:T,type:u.type})},q.readAsBinaryString(u)})}function u1(u){var R=w(atob(u.data));return s([R],{type:u.type})}function i1(u){return u&&u.__local_forage_encoded_blob}function p1(u){var R=this,g=R._initReady().then(function(){var q=x[R._dbInfo.name];if(q&&q.dbReady)return q.dbReady});return m(g,u,u),g}function o1(u){F(u);for(var R=x[u.name],g=R.forages,q=0;q0&&(!u.db||T.name==="InvalidStateError"||T.name==="NotFoundError"))return f.resolve().then(function(){if(!u.db||T.name==="NotFoundError"&&!u.db.objectStoreNames.contains(u.storeName)&&u.version<=u.db.version)return u.db&&(u.version=u.db.version+1),t1(u)}).then(function(){return o1(u).then(function(){N(u,R,g,q-1)})}).catch(g);g(T)}}function G(){return{forages:[],db:null,dbReady:null,deferredOperations:[]}}function D(u){var R=this,g={db:null};if(u)for(var q in u)g[q]=u[q];var P=x[g.name];P||(P=G(),x[g.name]=P),P.forages.push(R),R._initReady||(R._initReady=R.ready,R.ready=p1);var T=[];function K(){return f.resolve()}for(var c1=0;c1>4,l1[P++]=(K&15)<<4|c1>>2,l1[P++]=(c1&3)<<6|n1&63;return a1}function d2(u){var R=new Uint8Array(u),g="",q;for(q=0;q>2],g+=N1[(R[q]&3)<<4|R[q+1]>>4],g+=N1[(R[q+1]&15)<<2|R[q+2]>>6],g+=N1[R[q+2]&63];return R.length%3===2?g=g.substring(0,g.length-1)+"=":R.length%3===1&&(g=g.substring(0,g.length-2)+"=="),g}function H2(u,R){var g="";if(u&&(g=w2.call(u)),u&&(g==="[object ArrayBuffer]"||u.buffer&&w2.call(u.buffer)==="[object ArrayBuffer]")){var q,P=i2;u instanceof ArrayBuffer?(q=u,P+=a2):(q=u.buffer,g==="[object Int8Array]"?P+=W1:g==="[object Uint8Array]"?P+=Y1:g==="[object Uint8ClampedArray]"?P+=r2:g==="[object Int16Array]"?P+=J:g==="[object Uint16Array]"?P+=Q:g==="[object Int32Array]"?P+=b1:g==="[object Uint32Array]"?P+=g1:g==="[object Float32Array]"?P+=m2:g==="[object Float64Array]"?P+=S2:R(new Error("Failed to get type for BinaryArray"))),R(P+d2(q))}else if(g==="[object Blob]"){var T=new FileReader;T.onload=function(){var K=s2+u.type+"~"+d2(this.result);R(i2+U1+K)},T.readAsArrayBuffer(u)}else try{R(JSON.stringify(u))}catch(K){console.error("Couldn't convert value into a JSON string: ",u),R(null,K)}}function T2(u){if(u.substring(0,l2)!==i2)return JSON.parse(u);var R=u.substring(z2),g=u.substring(l2,z2),q;if(g===U1&&t2.test(R)){var P=R.match(t2);q=P[1],R=R.substring(P[0].length)}var T=U2(R);switch(g){case a2:return T;case U1:return s([T],{type:q});case W1:return new Int8Array(T);case Y1:return new Uint8Array(T);case r2:return new Uint8ClampedArray(T);case J:return new Int16Array(T);case Q:return new Uint16Array(T);case b1:return new Int32Array(T);case g1:return new Uint32Array(T);case m2:return new Float32Array(T);case S2:return new Float64Array(T);default:throw new Error("Unkown type: "+g)}}var x2={serialize:H2,deserialize:T2,stringToBuffer:U2,bufferToString:d2};function L2(u,R,g,q){u.executeSql("CREATE TABLE IF NOT EXISTS "+R.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],g,q)}function O2(u){var R=this,g={db:null};if(u)for(var q in u)g[q]=typeof u[q]!="string"?u[q].toString():u[q];var P=new f(function(T,K){try{g.db=openDatabase(g.name,String(g.version),g.description,g.size)}catch(c1){return K(c1)}g.db.transaction(function(c1){L2(c1,g,function(){R._dbInfo=g,T()},function(n1,a1){K(a1)})},K)});return g.serializer=x2,P}function h2(u,R,g,q,P,T){u.executeSql(g,q,P,function(K,c1){c1.code===c1.SYNTAX_ERR?K.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[R.storeName],function(n1,a1){a1.rows.length?T(n1,c1):L2(n1,R,function(){n1.executeSql(g,q,P,T)},T)},T):T(K,c1)},T)}function E2(u,R){var g=this;u=d(u);var q=new f(function(P,T){g.ready().then(function(){var K=g._dbInfo;K.db.transaction(function(c1){h2(c1,K,"SELECT * FROM "+K.storeName+" WHERE key = ? LIMIT 1",[u],function(n1,a1){var l1=a1.rows.length?a1.rows.item(0).value:null;l1&&(l1=K.serializer.deserialize(l1)),P(l1)},function(n1,a1){T(a1)})})}).catch(T)});return l(q,R),q}function M2(u,R){var g=this,q=new f(function(P,T){g.ready().then(function(){var K=g._dbInfo;K.db.transaction(function(c1){h2(c1,K,"SELECT * FROM "+K.storeName,[],function(n1,a1){for(var l1=a1.rows,L1=l1.length,k1=0;k10){K(Z2.apply(P,[u,n1,g,q-1]));return}c1(k1)}})})}).catch(c1)});return l(T,g),T}function r0(u,R,g){return Z2.apply(this,[u,R,g,1])}function F2(u,R){var g=this;u=d(u);var q=new f(function(P,T){g.ready().then(function(){var K=g._dbInfo;K.db.transaction(function(c1){h2(c1,K,"DELETE FROM "+K.storeName+" WHERE key = ?",[u],function(){P()},function(n1,a1){T(a1)})})}).catch(T)});return l(q,R),q}function B2(u){var R=this,g=new f(function(q,P){R.ready().then(function(){var T=R._dbInfo;T.db.transaction(function(K){h2(K,T,"DELETE FROM "+T.storeName,[],function(){q()},function(c1,n1){P(n1)})})}).catch(P)});return l(g,u),g}function c0(u){var R=this,g=new f(function(q,P){R.ready().then(function(){var T=R._dbInfo;T.db.transaction(function(K){h2(K,T,"SELECT COUNT(key) as c FROM "+T.storeName,[],function(c1,n1){var a1=n1.rows.item(0).c;q(a1)},function(c1,n1){P(n1)})})}).catch(P)});return l(g,u),g}function o0(u,R){var g=this,q=new f(function(P,T){g.ready().then(function(){var K=g._dbInfo;K.db.transaction(function(c1){h2(c1,K,"SELECT key FROM "+K.storeName+" WHERE id = ? LIMIT 1",[u+1],function(n1,a1){var l1=a1.rows.length?a1.rows.item(0).key:null;P(l1)},function(n1,a1){T(a1)})})}).catch(T)});return l(q,R),q}function Y2(u){var R=this,g=new f(function(q,P){R.ready().then(function(){var T=R._dbInfo;T.db.transaction(function(K){h2(K,T,"SELECT key FROM "+T.storeName,[],function(c1,n1){for(var a1=[],l1=0;l1 '__WebKitDatabaseInfoTable__'",[],function(P,T){for(var K=[],c1=0;c10}function k0(u){var R=this,g={};if(u)for(var q in u)g[q]=u[q];return g.keyPrefix=K2(u,R._defaultConfig),A2()?(R._dbInfo=g,g.serializer=x2,f.resolve()):f.reject()}function F0(u){var R=this,g=R.ready().then(function(){for(var q=R._dbInfo.keyPrefix,P=localStorage.length-1;P>=0;P--){var T=localStorage.key(P);T.indexOf(q)===0&&localStorage.removeItem(T)}});return l(g,u),g}function N0(u,R){var g=this;u=d(u);var q=g.ready().then(function(){var P=g._dbInfo,T=localStorage.getItem(P.keyPrefix+u);return T&&(T=P.serializer.deserialize(T)),T});return l(q,R),q}function t4(u,R){var g=this,q=g.ready().then(function(){for(var P=g._dbInfo,T=P.keyPrefix,K=T.length,c1=localStorage.length,n1=1,a1=0;a1=0;K--){var c1=localStorage.key(K);c1.indexOf(T)===0&&localStorage.removeItem(c1)}}):P=f.reject("Invalid arguments"),l(P,R),P}var O0={_driver:"localStorageWrapper",_initStorage:k0,_support:$2(),iterate:t4,getItem:N0,setItem:G0,removeItem:E0,clear:F0,length:W0,key:D0,keys:n0,dropInstance:r4},X2=function(R,g){return R===g||typeof R=="number"&&typeof g=="number"&&isNaN(R)&&isNaN(g)},U0=function(R,g){for(var q=R.length,P=0;P"u"?"undefined":n(g))==="object"){if(this._ready)return new Error("Can't call config() after localforage has been used.");for(var q in g){if(q==="storeName"&&(g[q]=g[q].replace(/\W/g,"_")),q==="version"&&typeof g[q]!="number")return new Error("Database version must be a number.");this._config[q]=g[q]}return"driver"in g&&g.driver?this.setDriver(this._config.driver):!0}else return typeof g=="string"?this._config[g]:this._config},u.prototype.defineDriver=function(g,q,P){var T=new f(function(K,c1){try{var n1=g._driver,a1=new Error("Custom driver not compliant; see https://mozilla.github.io/localForage/#definedriver");if(!g._driver){c1(a1);return}for(var l1=Q2.concat("_initStorage"),L1=0,k1=l1.length;L1-1}function D0(p,O){var U=this.__data__,v1=Q2(U,p);return v1<0?U.push([p,O]):U[v1][1]=O,this}A2.prototype.clear=k0,A2.prototype.delete=F0,A2.prototype.get=N0,A2.prototype.has=t4,A2.prototype.set=D0;function n0(p){var O=-1,U=p?p.length:0;for(this.clear();++O-1&&p%1==0&&p-1&&p%1==0&&p<=o}function $1(p){var O=typeof p;return!!p&&(O=="object"||O=="function")}function V1(p){return!!p&&typeof p=="object"}function T1(p){return j(p)?Z0(p):R(p)}function o2(){return[]}function f2(){return!1}c.exports=P4})(K3,K3.exports);const A4=K3.exports,rt=c=>{try{ct(c);let e;return c.subscribe(t=>{if(typeof t=="object"||Array.isArray(t)){e=A4(t);return}e=t})(),e}catch(e){throw e}},G2=(c,e,r)=>{try{const t=rt(c);return t&&t[e]!==void 0?t[e]:r}catch(t){throw t}},P2=(c,e,r)=>{try{ct(c),c.update(t=>Object.assign(A4(r||t),A4(e)))}catch(t){throw t}};function ct(c){if(!c||!c.subscribe||!c.update)throw new Error("SPA Storage: Store provided is not defined")}function k2(c,e){return Object.assign(A4(ot(c)),A4(ot(e)))}function ot(c){return typeof c=="object"||Array.isArray(c)?c:{}}const j2=E4(k2({},{hashMode:!1,navigationHistoryLimit:200,notFoundRoute:"/notFound",consoleLogErrorMessages:!0,consoleLogStores:!1,considerTrailingSlashOnMatchingRoute:!0,maxRedirectBeforeEnter:30,useScroll:!1,scrollProps:{target:!1,top:0,left:0,behavior:"smooth",timeout:10}}));let nt=c=>console.error(c),T4=[];function kr(c){at(c.hashMode),st(c.navigationHistoryLimit),it(c.notFoundRoute),lt(c.consoleLogErrorMessages),ut(c.consoleLogStores),ft(c.considerTrailingSlashOnMatchingRoute),mt(c.onError),dt(c.beforeEnter),ht(c.scrollProps),pt(c.useScroll),bt(c.maxRedirectBeforeEnter)}function Or(){return rt(j2)}function at(c){typeof c=="boolean"&&P2(j2,{hashMode:c})}function Br(){return G2(j2,"hashMode")}function st(c){if(typeof c!="number")return!1;c<=0&&(c=1),P2(j2,{navigationHistoryLimit:c})}function Ir(){return G2(j2,"navigationHistoryLimit")}function it(c){typeof c=="string"&&c.includes("/")&&P2(j2,{notFoundRoute:c})}function jr(){return G2(j2,"notFoundRoute")}function lt(c){typeof c=="boolean"&&P2(j2,{consoleLogErrorMessages:c})}function Fr(){return G2(j2,"consoleLogErrorMessages")}function ut(c){typeof c=="boolean"&&P2(j2,{consoleLogStores:c})}function Nr(){return G2(j2,"consoleLogStores")}function ft(c){typeof c=="boolean"&&P2(j2,{considerTrailingSlashOnMachingRoute:c})}function Dr(){return G2(j2,"considerTrailingSlashOnMachingRoute")}function ht(c){const e=vt();typeof c=="object"&&(c.top=typeof c.top=="number"?c.top:e.top,c.left=typeof c.left=="number"?c.left:e.left,c.timeout=typeof c.timeout=="number"?c.timeout:e.timeout,c.behavior=c.behavior||e.behavior,c.target=(c.target,c.target),P2(j2,{scrollProps:c}))}function vt(){return G2(j2,"scrollProps")}function pt(c){typeof c=="boolean"&&P2(j2,{useScroll:c})}function Wr(){return G2(j2,"useScroll")}function mt(c){!c||typeof c!="function"||(nt=c)}function Gr(){return nt}function dt(c){if(typeof c=="function"){T4=[c];return}Array.isArray(c)&&(T4=c.filter(e=>typeof e=="function"),T4.length>0)||(T4=[])}function Ur(){return T4}function bt(c=30){typeof c=="number"&&(c=c>-1?c:0,P2(j2,{maxRedirectBeforeEnter:c}))}function Zr(){return G2(j2,"maxRedirectBeforeEnter")}const J2={store:j2,subscribe:j2.subscribe,update:j2.update,setConfig:kr,getConfig:Or,setHashMode:at,getHashMode:Br,setNavigationHistoryLimit:st,getNavigationHistoryLimit:Ir,setNotFoundRoute:it,getNotFoundRoute:jr,setConsoleLogErrorMessages:lt,getConsoleLogErrorMessages:Fr,setConsoleLogStores:ut,getConsoleLogStores:Nr,setConsiderTrailingSlashOnMatchingRoute:ft,getConsiderTrailingSlashOnMatchingRoute:Dr,setScrollProps:ht,getScrollProps:vt,setUseScroll:pt,getUseScroll:Wr,setOnError:mt,getOnError:Gr,setBeforeEnter:dt,getBeforeEnter:Ur,setMaxRedirectBeforeEnter:bt,getMaxRedirectBeforeEnter:Zr},r6={routeId:void 0,name:void 0,path:void 0,pathname:void 0,fullPath:void 0,queryParams:{},pathParams:{},params:{},host:void 0,protocol:void 0,port:void 0,origin:void 0,hash:void 0,routeObj:{},redirected:void 0},Yr={routes:[],currentRoute:k2({},r6),lastRoute:k2({},r6),navigationHistory:[]},M0=E4(k2({},Yr));function Kr(c){if(!Array.isArray(c)||c.length==0||typeof c[0]!="object")throw new Error("SCR: Routes must be an array of objects.");for(let e of c){if(!e.name||!e.path&&e.path!==""||e.name=="")throw new Error(`SCR: Routes must have at least (name and path) properties. Set name: (${e.name}) - path:(${e.path})`);if(typeof e.name!="string"||typeof e.path!="string")throw new Error("SCR: Routes properties (name and path) must be a string.")}P2(M0,{routes:c})}function Xr(){return G2(M0,"routes")}function Qr(){P2(M0,{routes:[]})}function Jr(c=k2({},r6)){P2(M0,{currentRoute:c})}function e7(){return G2(M0,"currentRoute")}function t7(c=k2({},r6)){P2(M0,{lastRoute:c})}function r7(){return G2(M0,"lastRoute")}function c7(){return{name:"SCR_NOT_FOUND_ROUTE",path:J2.getNotFoundRoute()}}function o7(c){if(!Array.isArray(c))return!1;let e=J2.getNavigationHistoryLimit()-c.length;e<0&&(e*=-1,c=c.slice(e,0)),P2(M0,{navigationHistory:c})}function n7(c){if(typeof c!="object")return!1;let e=xt()||[];e.push(c),P2(M0,{navigationHistory:e})}function xt(){return G2(M0,"navigationHistory")}const R0={store:M0,subscribe:M0.subscribe,update:M0.update,setRoutes:Kr,getRoutes:Xr,resetRoutes:Qr,setCurrentRoute:Jr,getCurrentRoute:e7,setLastRoute:t7,getLastRoute:r7,getNotFoundRoute:c7,pushNavigationHistory:n7,setNavigationHistory:o7,getNavigationHistory:xt};class a7{constructor(){this.waitList=[]}finishWait(e,r=!0,t=!0){if(!this.waitList[e])return!1;try{return this.waitList[e]?r?this.waitList[e].resolve(t||r):this.waitList[e].reject(t||r):void 0}catch{}finally{this.waitList[e]&&(this.waitList[e]=void 0)}}startWait(e){if(!this.waitList[e])return this.waitList[e]={},this.waitList[e].promise=new Promise((r,t)=>{this.waitList[e].resolve=r,this.waitList[e].reject=t}),this.waitList[e].promise}finishAll(e,r){for(let t of this.waitList)this.finishWait(t,e,r)}}const gt=new a7;let c6=!1;const S0=E4(k2({},{isLoading:!1,currentParams:{},routeParams:{},loadingParams:{},defaultLoadingParams:{}}));let X3,Q3,_t;function s7(c){typeof c=="boolean"&&(c?zt():Ct(),P2(S0,{isLoading:c}))}function i7(){return G2(S0,"isLoading")}function l7(c={}){if(typeof c!="object"){P2(S0,{currentParams:{}});return}P2(S0,{currentParams:c})}function u7(){return G2(S0,"currentParams")}function f7(c={}){if(typeof c!="object"){P2(S0,{loadingParams:{}});return}P2(S0,{loadingParams:c})}function h7(){return G2(S0,"loadingParams")}function v7(c={}){if(typeof c!="object")return!1;P2(S0,{defaultLoadingParams:c})}function p7(){return G2(S0,"defaultLoadingParams")}function zt(){c6=gt.startWait("SCR_LOADING")}function Ct(c){gt.finishWait("SCR_LOADING",c),c6=!1}function m7(){return c6}function d7(c){X3=c}function b7(){return X3}function x7(c){Q3=c}function g7(){return Q3}function _7(c){_t=c}function z7(){return _t}const e0={store:S0,subscribe:S0.subscribe,update:S0.update,setIsLoading:s7,getIsLoading:i7,setCurrentParams:l7,getCurrentParams:u7,setLoadingParams:f7,getLoadingParams:h7,setDefaultLoadingParams:v7,getDefaultLoadingParams:p7,startWaiting:zt,stopWaiting:Ct,getWaiting:m7,setLoadingComponent:d7,getLoadingComponent:b7,setCurrentComponent:x7,getCurrentComponent:g7,setDefaultLoadingComponent:_7,getDefaultLoadingComponent:z7,waiting:c6,loadingComponent:X3,currentComponent:Q3},j0=E4(k2({},{isConsuming:!1,name:!1,path:!1,params:{}}));let yt=c=>console.error(c);function o6(c){typeof c!="boolean"&&typeof c!="string"||(c||(n6(!1),J3(!1),s6({}),a6(e=>console.error(e))),P2(j0,{isConsuming:c}))}function C7(){return G2(j0,"isConsuming")}function J3(c){c!==!1&&typeof c!="string"||P2(j0,{name:c})}function y7(){return G2(j0,"name")}function n6(c){c!==!1&&typeof c!="string"||P2(j0,{path:c})}function L7(){return G2(j0,"path")}function a6(c){typeof c=="function"&&(yt=c)}function H7(){return yt}function s6(c){typeof c=="object"&&P2(j0,{params:c})}function M7(){return G2(j0,"params")}function R7(c){try{if(!c){J2.getConsoleLogErrorMessages()&&console.error("SCR: Push Route didn't received any parameters");return}if(s6(!1),a6(e=>console.error(e)),typeof c=="object")if(a6(c.onError),s6(c.params),c.name){J3(c.name),o6("NAME");return}else if(c.path){n6(c.path),o6("PATH");return}else J2.getConsoleLogErrorMessages()&&console.error("SCR: Push Route didn't received expected path ou name parameters");else if(typeof c=="string")n6(c),o6("PATH");else{J2.getConsoleLogErrorMessages()&&console.error("SCR: Push Route didn't received any parameters");return}}catch(e){throw e}}function S7(c){(typeof c!="number"||c>=0)&&(c=-1),window.history.go(c)}const e4={subscribe:j0.subscribe,update:j0.update,setIsConsuming:o6,getIsConsuming:C7,setName:J3,getName:y7,setPath:n6,getPath:L7,setOnError:a6,getOnError:H7,setParams:s6,getParams:M7,pushRoute:R7,backRoute:S7},w7="modulepreload",$7=function(c){return"/"+c},Lt={},v2=function(e,r,t){return e()};function V7(c){try{if(!c||typeof c!="string")return{};let e={};return c.replace(/[?&]+([^=&]+)=([^&]*)/gi,(r,t,o)=>{e[t]=o}),e}catch(e){throw e}}function Ht(c,e){try{if((!c||typeof c!="string")&&(c="/"),(!e||typeof e!="object")&&(e={}),Object.keys(e).length==0)return c;let r=[];for(let t in e)r.push(`${t}=${e[t].toString().trim()}`);return r.length>0&&(c+=`?${r.join("&")}`),c}catch(r){throw r}}function Mt(c){try{return!c||typeof c!="string"||!c.includes("/")||(c=c.split("?"),c=c[0],c.charAt(c.length-1)!=="/"&&J2.getConsiderTrailingSlashOnMatchingRoute()&&(c+="/")),c}catch(e){throw e}}function E7(c){try{if(!c||typeof c!="string"||!c.includes("#"))return"";let e=c.split("#");return"#"+e[1]}catch(e){throw e}}function A7(c){try{return!c||typeof c!="string"?"/":(c.includes(":/")?c=c.split("/").slice(3):c=c.split("/").slice(1),c.length==1?c[0]==""?"/":`/${c[0]}`:`/${c.join("/")}`)}catch(e){throw e}}function Rt(c){try{let e=location.protocol.replace(":",""),r=location.host,t=location.port,o=location.origin;if(!c||typeof c!="string"||!c.includes(":"))return{protocol:e,host:r,port:t,origin:o};const n=c.split(":");e=["http","https"].includes(n[0])?n[0]:e;const b=n[1].split("/");return r=b[2]?b[2]:r,n[2]&&(t=`:${n[2].split("/")[0]}`,r+=t),e!=""&&r!=""&&(o=`${e}://${r}`),{protocol:e,host:r,port:t,origin:o}}catch(e){throw e}}function T7(c,e){try{if(!e||typeof e!="object")return c;for(let r in e)c=c.replace(r,e[r].toString().trim());return c}catch(r){throw r}}function q7(c,e){try{if(!e||!Array.isArray(e))return c;for(let r of e)!r.find||!r.replacement||(c=c.replace(r.find,r.replacement.toString().trim()));return c}catch(r){throw r}}async function ee(c,e){try{if(!Array.isArray(c))return e;for(let r of c){if(typeof r!="function")continue;const t=await r();if(t&&t.default)return t.default}return e}catch(r){throw r}}const P7="#/",k7="/:",q4="*";let C4={},y4,te="NEW";async function O7(c={}){try{R0.setRoutes(c.routes),c.defaultLoadingComponent&&typeof c.defaultLoadingComponent=="function"&&(e0.setDefaultLoadingComponent(c.defaultLoadingComponent),e0.setDefaultLoadingParams(c.defaultLoadingParams)),await re(i6(location.href))}catch(e){await ce(e)}}async function re(c,e="NEW"){try{if(te=e,K7(c))return;const r=Y7(),t=await ee([c.definition.lazyLoadLoadingComponent,c.definition.loadingComponent],e0.getDefaultLoadingComponent());e0.setLoadingComponent(t),e0.setLoadingParams(k2({},{...e0.getDefaultLoadingParams(),toRoute:c,fromRoute:r,queryParams:c.queryParams,pathParams:c.pathParams,params:c.params,loadingParams:c.definition.loadingParams})),e0.setIsLoading(!0),c=await B7(c,r),await I7(c,r)}catch(r){if(c&&c.definition&&c.definition.onError&&typeof c.definition.onError=="function")return c.definition.onError(r);throw r}finally{te="NEW",e0.setIsLoading(!1)}}async function B7(c,e){try{let r=!0,t=J2.getMaxRedirectBeforeEnter();for(C4={};r&&c.name!="SCR_NOT_FOUND_ROUTE";){if(t--<0)throw r=!1,new Error(`SCR: Max redirects achieved ${J2.getMaxRedirectBeforeEnter()} - too many redirects on before enter function. See configuration MaxRedirectBeforeEnter for more info.`);const o=await D7(c,e);if(!o.isToContinue)return!1;if(o.isToRedirect){const n=c;o.name?c=wt(o):(o.path||o.redirect)&&(c=i6(o.path||o.redirect)),c.redirected=n;continue}r=!1}return c}catch(r){throw r}}async function I7(c,e){try{const r={toRoute:c,fromRoute:e,payload:C4};c.definition.afterEnter&&typeof c.definition.afterEnter=="function"&&await c.definition.afterEnter(k2({},r));const t=U7(c.name);c.routeId=t,R0.setCurrentRoute(c),R0.setLastRoute(e);let o;if(c.name!=="SCR_NOT_FOUND_ROUTE"?o=await ee([c.definition.lazyLoadComponent,c.definition.component],!1):o=await ee([()=>v2(()=>Promise.resolve().then(()=>O9),void 0)],!1),e0.setCurrentParams({toRoute:c,fromRoute:e,queryParams:c.queryParams,pathParams:c.pathParams,params:c.params,notFound:y4||void 0}),e0.setCurrentComponent(o),e0.setIsLoading(!1),c.definition.title&&(document.title=c.definition.title),J2.getUseScroll()&&!c.definition.ignoreScroll){let n=J2.getScrollProps();c.definition.scrollProps&&(n.top=c.definition.scrollProps.top,n.left=c.definition.scrollProps.left,n.behavior=c.definition.scrollProps.behavior,n.timeout=c.definition.scrollProps.timeout),setTimeout(()=>{let b;n.target&&(b=document.getElementById(n.target)),b?b.scrollTo(n):window.scrollTo(n)},n.timeout)}R0.pushNavigationHistory(c),Z7(c,e)}catch(r){throw r}}function j7(c,e,r){try{if(!c||typeof c!="string"||c===""||!e||typeof e!="string"||e==="")return!1;const t=c.split("/"),o=e.split("/");if(t.length!==o.length)return!1;let n=1;for(let b=0;b0&&(t=await St(c,r.first,e)),r.then.length>0&&(t=await St(c,r.then,e)),t}catch(r){throw r}}async function St(c,e,r){try{for(let t of e){(!C4||typeof C4!="object")&&(C4={},J2.getConsoleLogErrorMessages()&&console.error("SCR_ROUTER: Payload property was redefined in before enter function."));const o=await new Promise(async function(n,b){try{await t({resolve:n,reject:b,routeTo:k2({},c),routeFrom:k2({},r)},C4)}catch(v){n({SCR_ROUTE_ERROR:!0,error:v})}});if(o!==!0){if(!o)return{isToContinue:!1};if(o.SCR_ROUTE_ERROR)throw o.error||new Error("SCR_ROUTER: An error has occurred on before function execution.");if(o&&(o.path||o.redirect))return{isToContinue:!0,isToRedirect:!0,path:o.path||o.redirect};if(o&&o.name)return{isToContinue:!0,isToRedirect:!0,name:o.name,pathParams:k2({},o.pathParams||{}),queryParams:k2({},o.queryParams||{}),anyRouteParam:k2({},o.anyRouteParam||[])}}}return{isToContinue:!0}}catch(t){throw t}}function W7(c){try{return Array.isArray(c)?c.filter(e=>typeof e=="function"):typeof c=="function"?[c]:[]}catch(e){throw e}}function G7(c){try{let e=[],r=J2.getBeforeEnter(),t=!0;return c&&typeof c=="object"&&c.definition&&(e=W7(c.definition.beforeEnter),c.definition.ignoreGlobalBeforeFunction&&(r=[]),c.definition.executeRouteBEFBeforeGlobalBEF&&(t=!1)),t?k2({},{first:r,then:e}):k2({},{first:e,then:r})}catch(e){throw e}}function i6(c){try{(!c||typeof c!="string")&&(c="/");const e=E7(c);J2.getHashMode()&&c.includes(P7)&&e&&(c=e.replace("/#",""),c=c.replace("#",""));let r={};c.includes("?")&&(r=V7(c),c=c.split("?"),c=c[0]),c=A7(c);const t=N7(c);y4=void 0,t.name==="SCR_NOT_FOUND_ROUTE"&&(y4={path:c},c=t.path);const{protocol:o,host:n,port:b,origin:v}=Rt(c);return{fullPath:Ht(c,r),path:c,pathname:location.pathname,queryParams:r,host:n,protocol:o,port:b,origin:v,hash:e,name:t.name,pathParams:k2({},t.pathParams),params:k2({},t.params),definition:k2({},t)}}catch(e){throw e}}function wt(c){try{let e="/";(!c||typeof c!="object")&&(c={});const{protocol:r,host:t,port:o,origin:n}=Rt(e),b=F7(c.name||"SCR_NOT_FOUND_ROUTE");return y4=void 0,b.name=="SCR_NOT_FOUND_ROUTE"?(y4={name:c.name||"Route name not informed"},{fullPath:J2.getNotFoundRoute(),path:J2.getNotFoundRoute(),pathname:location.pathname,queryParams:c.queryParams||{},host:t,protocol:r,port:o,origin:n,hash:"",name:b.name,pathParams:c.pathParams||{},params:b.params||{},definition:b}):(e=b.path,b.path.includes(k7)&&(e=T7(e,c.pathParams)),b.path.includes(q4)&&(e=q7(e,c.anyRouteParams)),{fullPath:Ht(e,c.queryParams||{}),path:e,pathname:location.pathname,queryParams:c.queryParams||{},host:t,protocol:r,port:o,origin:n,hash:"",name:b.name,pathParams:k2({},b.pathParams),params:k2({},b.params),definition:k2({},b)})}catch(e){throw e}}async function ce(c){try{await J2.getOnError()(c)}catch(e){J2.getConsoleLogErrorMessages()&&(console.error(c),console.error(e))}}function U7(c="scr"){return`${new Date().getTime()}_${c}_${Math.pow(10,17)*Math.random()}`}function Z7(c,e){try{const t=(J2.getHashMode()?`${location.pathname}#/`:"/")+c.fullPath.slice(1);te=="NEW"?history.pushState({currentRoute:{fullPath:c.fullPath,routeId:c.routeId},fromRoute:{fullPath:e.fullPath,routeId:e.routeId}},null,t):history.replaceState({currentRoute:{fullPath:c.fullPath,routeId:c.routeId},fromRoute:{fullPath:e.fullPath,routeId:e.routeId}},null,t)}catch(r){throw r}}window.addEventListener("popstate",async c=>{const e=c&&c.state&&c.state.currentRoute?c.state:!1;let r=location.href;e&&(r=c.state.currentRoute.fullPath);try{await re(i6(r),"POPEVENT")}catch(t){ce(t)}});function Y7(){try{let c=R0.getCurrentRoute();return c.name||(c=R0.getLastRoute(),c.name)?c:!1}catch(c){throw c}}function K7(c){try{if(!c||!c.definition||c.definition.forceReload)return!1;let e=R0.getCurrentRoute();return!(!e||!e.fullPath||e.fullPath!=c.fullPath)}catch(e){throw e}}function X7(c){let e=c[3](c[14])+"",r;return{c(){r=M1(e)},m(t,o){Y(t,r,o)},p(t,o){o&1&&e!==(e=t[3](t[14])+"")&&D2(r,e)},i:E1,o:E1,d(t){t&&Z(r)}}}function Q7(c){let e,r,t;const o=[e0.getCurrentParams()];var n=c[2];function b(v){let h={};for(let a=0;a{y1(s,1)}),u4()}n?(e=new n(b()),H1(e.$$.fragment),m1(e.$$.fragment,1),C1(e,r.parentNode,r)):e=null}else n&&e.$set(a)},i(v){t||(e&&m1(e.$$.fragment,v),t=!0)},o(v){e&&d1(e.$$.fragment,v),t=!1},d(v){v&&Z(r),e&&y1(e,v)}}}function J7(c){let e=e0.getLoadingComponent(),r,t,o=e&&ec(c);return{c(){o&&o.c(),r=S4()},m(n,b){o&&o.m(n,b),Y(n,r,b),t=!0},p(n,b){e&&o.p(n,b)},i(n){t||(m1(o),t=!0)},o(n){d1(o),t=!1},d(n){o&&o.d(n),n&&Z(r)}}}function ec(c){let e,r,t;const o=[e0.getLoadingParams()];var n=c[1];function b(v){let h={};for(let a=0;a{y1(s,1)}),u4()}n?(e=new n(b()),H1(e.$$.fragment),m1(e.$$.fragment,1),C1(e,r.parentNode,r)):e=null}else n&&e.$set(a)},i(v){t||(e&&m1(e.$$.fragment,v),t=!0)},o(v){e&&d1(e.$$.fragment,v),t=!1},d(v){v&&Z(r),e&&y1(e,v)}}}function tc(c){let e,r,t,o={ctx:c,current:null,token:null,hasCatch:!0,pending:J7,then:Q7,catch:X7,value:13,error:14,blocks:[,,,]};return y6(r=c[0],o),{c(){e=S4(),o.block.c()},m(n,b){Y(n,e,b),o.block.m(n,o.anchor=b),o.mount=()=>e.parentNode,o.anchor=e,t=!0},p(n,[b]){c=n,o.ctx=c,b&1&&r!==(r=c[0])&&y6(r,o)||Re(o,c,b)},i(n){t||(m1(o.block),t=!0)},o(n){for(let b=0;b<3;b+=1){const v=o.blocks[b];d1(v)}t=!1},d(n){n&&Z(e),o.block.d(n),o.token=null,o=null}}}function rc(c,e,r){let t,o,n,b;Q0(c,e4,y=>r(8,t=y)),Q0(c,J2,y=>r(9,o=y)),Q0(c,R0,y=>r(10,n=y)),Q0(c,e0,y=>r(11,b=y));let{routes:v}=e,{defaultLoadingComponent:h}=e,{defaultLoadingParams:a}=e,s,f=!1,l=null,m=null;async function d(){try{if(f)return;let y;t.isConsuming=="PATH"?y=i6(t.path):t.isConsuming=="NAME"&&(y=wt({name:t.name})),t.params&&(y.params={...y.params,...e4.getParams()}),await re(y),e4.setIsConsuming(!1),r(7,f=!1)}catch(y){e4.setIsConsuming(!1),r(7,f=!1);try{if(e4.getOnError)return await e4.getOnError()(y);throw y}catch(S){ce(S)}}}function z(y){return o.consoleLogErrorMessages&&console.log(y),""}return p5(O7.bind(void 0,{routes:v,defaultLoadingComponent:h,defaultLoadingParams:a})),c.$$set=y=>{"routes"in y&&r(4,v=y.routes),"defaultLoadingComponent"in y&&r(5,h=y.defaultLoadingComponent),"defaultLoadingParams"in y&&r(6,a=y.defaultLoadingParams)},c.$$.update=()=>{c.$$.dirty&2048&&(b.isLoading?(r(0,s=e0.getWaiting()),r(1,l=e0.getLoadingComponent())):(r(2,m=e0.getCurrentComponent()),r(0,s=!1))),c.$$.dirty&1536&&o.consoleLogStores&&n&&(console.log(" ----- SCR - Router Store ------------ "),console.log(n),console.log(" ------------------------------------- ")),c.$$.dirty&512&&o.consoleLogStores&&o&&(console.log(" ----- SCR - Configuration Store ----- "),console.log(o),console.log(" ------------------------------------- ")),c.$$.dirty&384&&t.isConsuming&&!f&&d()},[s,l,m,z,v,h,a,f,t,o,n,b]}class cc extends e2{constructor(e){super(),J1(this,e,rc,tc,X1,{routes:4,defaultLoadingComponent:5,defaultLoadingParams:6})}}function oc(c){let e,r,t,o;const n=c[5].default,b=h6(n,c,c[4],null);let v=[c[0]],h={};for(let a=0;a{"params"in a&&r(2,n=a.params),"onError"in a&&r(3,b=a.onError),"elementProps"in a&&r(0,v=a.elementProps),"$$scope"in a&&r(4,o=a.$$scope)},[v,h,n,b,o,t]}class F1 extends e2{constructor(e){super(),J1(this,e,nc,oc,X1,{params:2,onError:3,elementProps:0})}}e4.pushRoute,e4.backRoute;const s4=J2,ac=R0;function sc(c){let e,r,t,o,n,b,v,h;return{c(){e=C("center"),r=C("div"),r.innerHTML=`
@@ -49,21 +49,21 @@
-
`,t=k(),o=C("h1"),n=M1(c[1]),b=k(),v=C("h3"),h=M1(c[0]),T(r,"class","scr-lds-spinner svelte-j2ovi"),T(o,"class","scr-h1 svelte-j2ovi"),T(v,"class","scr-h3 svelte-j2ovi"),T(e,"class","scr-center svelte-j2ovi")},m(a,s){Y(a,e,s),i(e,r),i(e,t),i(e,o),i(o,n),i(e,b),i(e,v),i(v,h)},p(a,[s]){s&2&&D2(n,a[1]),s&1&&D2(h,a[0])},i:E1,o:E1,d(a){a&&Z(e)}}}let sc=/[A-Za-zÀ-ú0-9]/g;function ic(c,e,r){let{loadingText:t="Loading..."}=e,{subLoadingText:o=""}=e,{queryParams:n}=e;if(n&&n.subLoadingText){const b=n.subLoadingText.toString().match(sc);o=b?b.join("").substr(0,100)+"":""}return c.$$set=b=>{"loadingText"in b&&r(1,t=b.loadingText),"subLoadingText"in b&&r(0,o=b.subLoadingText),"queryParams"in b&&r(2,n=b.queryParams)},[o,t,n]}class lc extends e2{constructor(e){super(),J1(this,e,ic,ac,X1,{loadingText:1,subLoadingText:0,queryParams:2})}}function uc(c){const e=c-1;return e*e*e+1}function L4(c,{delay:e=0,duration:r=400,easing:t=uc,x:o=0,y:n=0,opacity:b=0}={}){const v=getComputedStyle(c),h=+v.opacity,a=v.transform==="none"?"":v.transform,s=h*(1-b);return{delay:e,duration:r,easing:t,css:(f,l)=>` +
`,t=k(),o=C("h1"),n=M1(c[1]),b=k(),v=C("h3"),h=M1(c[0]),A(r,"class","scr-lds-spinner svelte-j2ovi"),A(o,"class","scr-h1 svelte-j2ovi"),A(v,"class","scr-h3 svelte-j2ovi"),A(e,"class","scr-center svelte-j2ovi")},m(a,s){Y(a,e,s),i(e,r),i(e,t),i(e,o),i(o,n),i(e,b),i(e,v),i(v,h)},p(a,[s]){s&2&&D2(n,a[1]),s&1&&D2(h,a[0])},i:E1,o:E1,d(a){a&&Z(e)}}}let ic=/[A-Za-zÀ-ú0-9]/g;function lc(c,e,r){let{loadingText:t="Loading..."}=e,{subLoadingText:o=""}=e,{queryParams:n}=e;if(n&&n.subLoadingText){const b=n.subLoadingText.toString().match(ic);o=b?b.join("").substr(0,100)+"":""}return c.$$set=b=>{"loadingText"in b&&r(1,t=b.loadingText),"subLoadingText"in b&&r(0,o=b.subLoadingText),"queryParams"in b&&r(2,n=b.queryParams)},[o,t,n]}class uc extends e2{constructor(e){super(),J1(this,e,lc,sc,X1,{loadingText:1,subLoadingText:0,queryParams:2})}}function fc(c){const e=c-1;return e*e*e+1}function L4(c,{delay:e=0,duration:r=400,easing:t=fc,x:o=0,y:n=0,opacity:b=0}={}){const v=getComputedStyle(c),h=+v.opacity,a=v.transform==="none"?"":v.transform,s=h*(1-b);return{delay:e,duration:r,easing:t,css:(f,l)=>` transform: ${a} translate(${(1-f)*o}px, ${(1-f)*n}px); - opacity: ${h-s*l}`}}function $t(c){let e,r,t,o,n,b,v,h,a;const s=[pc,vc,hc,fc],f=[];function l(m,d){return m[0].version==0?0:m[0].version==1?1:m[0].version==2?2:3}return n=l(c),b=f[n]=s[n](c),{c(){e=C("div"),r=C("h4"),t=M1(c[2]),o=k(),b.c(),T(r,"class","svelte-2tv2qh"),T(e,"class","scr-menu svelte-2tv2qh")},m(m,d){Y(m,e,d),i(e,r),i(r,t),i(e,o),f[n].m(e,null),a=!0},p(m,d){(!a||d&4)&&D2(t,m[2]);let z=n;n=l(m),n===z?f[n].p(m,d):(l4(),d1(f[z],1,1,()=>{f[z]=null}),u4(),b=f[n],b?b.p(m,d):(b=f[n]=s[n](m),b.c()),m1(b,1),b.m(e,null))},i(m){a||(m1(b),n4(()=>{h&&h.end(1),v=z6(e,L4,{x:-200,duration:300}),v.start()}),a=!0)},o(m){d1(b),v&&v.invalidate(),h=C6(e,L4,{x:-200,duration:200}),a=!1},d(m){m&&Z(e),f[n].d(),m&&h&&h.end()}}}function fc(c){let e;return{c(){e=C("div"),e.textContent="VERSION NOT FOUND"},m(r,t){Y(r,e,t)},p:E1,i:E1,o:E1,d(r){r&&Z(e)}}}function hc(c){let e,r,t,o,n,b,v,h,a,s,f,l,m,d,z,y,S,x,_,H,L,w,$,E,F,M,V,I,B,t1,e1,h1,u1,i1,p1,o1,N,G,D,W,z1,_1,S1,s1,w1,R1,B1,P1,O1,I1,N1,s2,t2,i2,l2,a2,U1,W1,Y1,r2;return t=new F1({props:{params:{name:"v2_Presentation"},$$slots:{default:[mc]},$$scope:{ctx:c}}}),n=new F1({props:{params:{name:"v2_Installation"},$$slots:{default:[dc]},$$scope:{ctx:c}}}),v=new F1({props:{params:{name:"v2_Getting_Started"},$$slots:{default:[bc]},$$scope:{ctx:c}}}),f=new F1({props:{params:{name:"v2_Configuration_Options"},$$slots:{default:[xc]},$$scope:{ctx:c}}}),m=new F1({props:{params:{name:"v2_Configuration_Global_Before_Enter_Option"},$$slots:{default:[gc]},$$scope:{ctx:c}}}),z=new F1({props:{params:{name:"v2_Configuration_Global_On_Error"},$$slots:{default:[_c]},$$scope:{ctx:c}}}),_=new F1({props:{params:{name:"v2_Route_Object_Properties"},$$slots:{default:[zc]},$$scope:{ctx:c}}}),L=new F1({props:{params:{name:"v2_Route_Object_Before_Enter"},$$slots:{default:[Cc]},$$scope:{ctx:c}}}),$=new F1({props:{params:{name:"v2_Route_Object_After_Enter"},$$slots:{default:[yc]},$$scope:{ctx:c}}}),F=new F1({props:{params:{name:"v2_Route_Object_On_Error"},$$slots:{default:[Lc]},$$scope:{ctx:c}}}),B=new F1({props:{params:{name:"v2_Route_Component_Properties"},$$slots:{default:[Hc]},$$scope:{ctx:c}}}),e1=new F1({props:{params:{name:"v2_Route_Component_Components"},$$slots:{default:[Mc]},$$scope:{ctx:c}}}),p1=new F1({props:{params:{name:"v2_Navigation_Routing"},$$slots:{default:[Rc]},$$scope:{ctx:c}}}),D=new F1({props:{params:{name:"v2_Router_Link"},$$slots:{default:[Sc]},$$scope:{ctx:c}}}),S1=new F1({props:{params:{name:"v2_Routes_Store"},$$slots:{default:[wc]},$$scope:{ctx:c}}}),B1=new F1({props:{params:{name:"v2_Test_Regex_Path"},$$slots:{default:[$c]},$$scope:{ctx:c}}}),O1=new F1({props:{params:{name:"v2_Test_Regex_Path_2"},$$slots:{default:[Vc]},$$scope:{ctx:c}}}),N1=new F1({props:{params:{name:"v2_Test_Loading_Component_Before_Enter"},$$slots:{default:[Ec]},$$scope:{ctx:c}}}),t2=new F1({props:{params:{name:"v2_Test_Any_Route_Wildcard"},$$slots:{default:[Tc]},$$scope:{ctx:c}}}),l2=new F1({props:{params:{path:"/svelte-client-router/v2/some_route_not_declared"},$$slots:{default:[Ac]},$$scope:{ctx:c}}}),Y1=new F1({props:{params:{name:"v1_Presentation"},$$slots:{default:[qc]},$$scope:{ctx:c}}}),{c(){e=C("h4"),e.textContent="Introduction",r=k(),H1(t.$$.fragment),o=k(),H1(n.$$.fragment),b=k(),H1(v.$$.fragment),h=k(),a=C("h4"),a.textContent="Configuration",s=k(),H1(f.$$.fragment),l=k(),H1(m.$$.fragment),d=k(),H1(z.$$.fragment),y=k(),S=C("h4"),S.textContent="Route Object",x=k(),H1(_.$$.fragment),H=k(),H1(L.$$.fragment),w=k(),H1($.$$.fragment),E=k(),H1(F.$$.fragment),M=k(),V=C("h4"),V.textContent="Route Component",I=k(),H1(B.$$.fragment),t1=k(),H1(e1.$$.fragment),h1=k(),u1=C("h4"),u1.textContent="Navigation",i1=k(),H1(p1.$$.fragment),o1=k(),N=C("h4"),N.textContent="Route Link",G=k(),H1(D.$$.fragment),W=k(),z1=C("h4"),z1.textContent="Routes Store",_1=k(),H1(S1.$$.fragment),s1=k(),w1=C("h4"),w1.textContent="Testing",R1=k(),H1(B1.$$.fragment),P1=k(),H1(O1.$$.fragment),I1=k(),H1(N1.$$.fragment),s2=k(),H1(t2.$$.fragment),i2=k(),H1(l2.$$.fragment),a2=k(),U1=C("h4"),U1.textContent="Version",W1=k(),H1(Y1.$$.fragment),T(e,"class","scr-menu-h4 svelte-2tv2qh"),T(a,"class","scr-menu-h4 svelte-2tv2qh"),T(S,"class","scr-menu-h4 svelte-2tv2qh"),T(V,"class","scr-menu-h4 svelte-2tv2qh"),T(u1,"class","scr-menu-h4 svelte-2tv2qh"),T(N,"class","scr-menu-h4 svelte-2tv2qh"),T(z1,"class","scr-menu-h4 svelte-2tv2qh"),T(w1,"class","scr-menu-h4 svelte-2tv2qh"),T(U1,"class","scr-menu-h4 svelte-2tv2qh")},m(J,b1){Y(J,e,b1),Y(J,r,b1),C1(t,J,b1),Y(J,o,b1),C1(n,J,b1),Y(J,b,b1),C1(v,J,b1),Y(J,h,b1),Y(J,a,b1),Y(J,s,b1),C1(f,J,b1),Y(J,l,b1),C1(m,J,b1),Y(J,d,b1),C1(z,J,b1),Y(J,y,b1),Y(J,S,b1),Y(J,x,b1),C1(_,J,b1),Y(J,H,b1),C1(L,J,b1),Y(J,w,b1),C1($,J,b1),Y(J,E,b1),C1(F,J,b1),Y(J,M,b1),Y(J,V,b1),Y(J,I,b1),C1(B,J,b1),Y(J,t1,b1),C1(e1,J,b1),Y(J,h1,b1),Y(J,u1,b1),Y(J,i1,b1),C1(p1,J,b1),Y(J,o1,b1),Y(J,N,b1),Y(J,G,b1),C1(D,J,b1),Y(J,W,b1),Y(J,z1,b1),Y(J,_1,b1),C1(S1,J,b1),Y(J,s1,b1),Y(J,w1,b1),Y(J,R1,b1),C1(B1,J,b1),Y(J,P1,b1),C1(O1,J,b1),Y(J,I1,b1),C1(N1,J,b1),Y(J,s2,b1),C1(t2,J,b1),Y(J,i2,b1),C1(l2,J,b1),Y(J,a2,b1),Y(J,U1,b1),Y(J,W1,b1),C1(Y1,J,b1),r2=!0},p(J,b1){const Q={};b1&66&&(Q.$$scope={dirty:b1,ctx:J}),t.$set(Q);const g1={};b1&66&&(g1.$$scope={dirty:b1,ctx:J}),n.$set(g1);const m2={};b1&66&&(m2.$$scope={dirty:b1,ctx:J}),v.$set(m2);const S2={};b1&66&&(S2.$$scope={dirty:b1,ctx:J}),f.$set(S2);const z2={};b1&66&&(z2.$$scope={dirty:b1,ctx:J}),m.$set(z2);const w2={};b1&66&&(w2.$$scope={dirty:b1,ctx:J}),z.$set(w2);const U2={};b1&66&&(U2.$$scope={dirty:b1,ctx:J}),_.$set(U2);const d2={};b1&66&&(d2.$$scope={dirty:b1,ctx:J}),L.$set(d2);const H2={};b1&66&&(H2.$$scope={dirty:b1,ctx:J}),$.$set(H2);const A2={};b1&66&&(A2.$$scope={dirty:b1,ctx:J}),F.$set(A2);const x2={};b1&66&&(x2.$$scope={dirty:b1,ctx:J}),B.$set(x2);const L2={};b1&66&&(L2.$$scope={dirty:b1,ctx:J}),e1.$set(L2);const O2={};b1&66&&(O2.$$scope={dirty:b1,ctx:J}),p1.$set(O2);const h2={};b1&66&&(h2.$$scope={dirty:b1,ctx:J}),D.$set(h2);const E2={};b1&66&&(E2.$$scope={dirty:b1,ctx:J}),S1.$set(E2);const M2={};b1&66&&(M2.$$scope={dirty:b1,ctx:J}),B1.$set(M2);const Z2={};b1&66&&(Z2.$$scope={dirty:b1,ctx:J}),O1.$set(Z2);const t0={};b1&66&&(t0.$$scope={dirty:b1,ctx:J}),N1.$set(t0);const F2={};b1&66&&(F2.$$scope={dirty:b1,ctx:J}),t2.$set(F2);const B2={};b1&66&&(B2.$$scope={dirty:b1,ctx:J}),l2.$set(B2);const r0={};b1&64&&(r0.$$scope={dirty:b1,ctx:J}),Y1.$set(r0)},i(J){r2||(m1(t.$$.fragment,J),m1(n.$$.fragment,J),m1(v.$$.fragment,J),m1(f.$$.fragment,J),m1(m.$$.fragment,J),m1(z.$$.fragment,J),m1(_.$$.fragment,J),m1(L.$$.fragment,J),m1($.$$.fragment,J),m1(F.$$.fragment,J),m1(B.$$.fragment,J),m1(e1.$$.fragment,J),m1(p1.$$.fragment,J),m1(D.$$.fragment,J),m1(S1.$$.fragment,J),m1(B1.$$.fragment,J),m1(O1.$$.fragment,J),m1(N1.$$.fragment,J),m1(t2.$$.fragment,J),m1(l2.$$.fragment,J),m1(Y1.$$.fragment,J),r2=!0)},o(J){d1(t.$$.fragment,J),d1(n.$$.fragment,J),d1(v.$$.fragment,J),d1(f.$$.fragment,J),d1(m.$$.fragment,J),d1(z.$$.fragment,J),d1(_.$$.fragment,J),d1(L.$$.fragment,J),d1($.$$.fragment,J),d1(F.$$.fragment,J),d1(B.$$.fragment,J),d1(e1.$$.fragment,J),d1(p1.$$.fragment,J),d1(D.$$.fragment,J),d1(S1.$$.fragment,J),d1(B1.$$.fragment,J),d1(O1.$$.fragment,J),d1(N1.$$.fragment,J),d1(t2.$$.fragment,J),d1(l2.$$.fragment,J),d1(Y1.$$.fragment,J),r2=!1},d(J){J&&Z(e),J&&Z(r),y1(t,J),J&&Z(o),y1(n,J),J&&Z(b),y1(v,J),J&&Z(h),J&&Z(a),J&&Z(s),y1(f,J),J&&Z(l),y1(m,J),J&&Z(d),y1(z,J),J&&Z(y),J&&Z(S),J&&Z(x),y1(_,J),J&&Z(H),y1(L,J),J&&Z(w),y1($,J),J&&Z(E),y1(F,J),J&&Z(M),J&&Z(V),J&&Z(I),y1(B,J),J&&Z(t1),y1(e1,J),J&&Z(h1),J&&Z(u1),J&&Z(i1),y1(p1,J),J&&Z(o1),J&&Z(N),J&&Z(G),y1(D,J),J&&Z(W),J&&Z(z1),J&&Z(_1),y1(S1,J),J&&Z(s1),J&&Z(w1),J&&Z(R1),y1(B1,J),J&&Z(P1),y1(O1,J),J&&Z(I1),y1(N1,J),J&&Z(s2),y1(t2,J),J&&Z(i2),y1(l2,J),J&&Z(a2),J&&Z(U1),J&&Z(W1),y1(Y1,J)}}}function vc(c){let e,r,t,o,n,b,v,h,a,s,f,l,m,d,z,y,S,x,_,H,L,w,$,E,F,M,V,I,B,t1,e1,h1,u1,i1,p1,o1,N,G,D,W,z1,_1,S1,s1,w1,R1,B1,P1,O1,I1,N1,s2,t2,i2,l2,a2,U1,W1,Y1,r2,J,b1;return t=new F1({props:{params:{name:"v1_Presentation"},$$slots:{default:[Pc]},$$scope:{ctx:c}}}),n=new F1({props:{params:{name:"v1_Installation"},$$slots:{default:[kc]},$$scope:{ctx:c}}}),v=new F1({props:{params:{name:"v1_Getting_Started"},$$slots:{default:[Oc]},$$scope:{ctx:c}}}),f=new F1({props:{params:{name:"v1_Configuration_Options"},$$slots:{default:[Bc]},$$scope:{ctx:c}}}),m=new F1({props:{params:{name:"v1_Configuration_Global_Before_Enter_Option"},$$slots:{default:[Ic]},$$scope:{ctx:c}}}),z=new F1({props:{params:{name:"v1_Configuration_Global_On_Error"},$$slots:{default:[jc]},$$scope:{ctx:c}}}),_=new F1({props:{params:{name:"v1_Route_Object_Properties"},$$slots:{default:[Fc]},$$scope:{ctx:c}}}),L=new F1({props:{params:{name:"v1_Route_Object_Before_Enter"},$$slots:{default:[Nc]},$$scope:{ctx:c}}}),$=new F1({props:{params:{name:"v1_Route_Object_After_Enter"},$$slots:{default:[Dc]},$$scope:{ctx:c}}}),F=new F1({props:{params:{name:"v1_Route_Object_On_Error"},$$slots:{default:[Wc]},$$scope:{ctx:c}}}),B=new F1({props:{params:{name:"v1_Route_Component_Properties"},$$slots:{default:[Gc]},$$scope:{ctx:c}}}),e1=new F1({props:{params:{name:"v1_Route_Component_Components"},$$slots:{default:[Uc]},$$scope:{ctx:c}}}),p1=new F1({props:{params:{name:"v1_Navigation_Routing"},$$slots:{default:[Zc]},$$scope:{ctx:c}}}),N=new F1({props:{params:{name:"v1_Navigation_Store"},$$slots:{default:[Yc]},$$scope:{ctx:c}}}),z1=new F1({props:{params:{name:"v1_Router_Link"},$$slots:{default:[Kc]},$$scope:{ctx:c}}}),w1=new F1({props:{params:{name:"v1_Router_Store"},$$slots:{default:[Xc]},$$scope:{ctx:c}}}),O1=new F1({props:{params:{name:"v1_Test_Regex_Path"},$$slots:{default:[Qc]},$$scope:{ctx:c}}}),N1=new F1({props:{params:{name:"v1_Test_Regex_Path_2"},$$slots:{default:[Jc]},$$scope:{ctx:c}}}),t2=new F1({props:{params:{name:"v1_Test_Loading_Component_Before_Enter"},$$slots:{default:[e9]},$$scope:{ctx:c}}}),l2=new F1({props:{params:{name:"v1_Test_Any_Route_Wildcard"},$$slots:{default:[t9]},$$scope:{ctx:c}}}),U1=new F1({props:{params:{path:"/svelte-client-router/v1/some_route_not_declared"},$$slots:{default:[r9]},$$scope:{ctx:c}}}),J=new F1({props:{params:{name:"v2_Presentation"},$$slots:{default:[c9]},$$scope:{ctx:c}}}),{c(){e=C("h4"),e.textContent="Introduction",r=k(),H1(t.$$.fragment),o=k(),H1(n.$$.fragment),b=k(),H1(v.$$.fragment),h=k(),a=C("h4"),a.textContent="Configuration",s=k(),H1(f.$$.fragment),l=k(),H1(m.$$.fragment),d=k(),H1(z.$$.fragment),y=k(),S=C("h4"),S.textContent="Route Object",x=k(),H1(_.$$.fragment),H=k(),H1(L.$$.fragment),w=k(),H1($.$$.fragment),E=k(),H1(F.$$.fragment),M=k(),V=C("h4"),V.textContent="Route Component",I=k(),H1(B.$$.fragment),t1=k(),H1(e1.$$.fragment),h1=k(),u1=C("h4"),u1.textContent="Navigation",i1=k(),H1(p1.$$.fragment),o1=k(),H1(N.$$.fragment),G=k(),D=C("h4"),D.textContent="Route Link",W=k(),H1(z1.$$.fragment),_1=k(),S1=C("h4"),S1.textContent="Router Store",s1=k(),H1(w1.$$.fragment),R1=k(),B1=C("h4"),B1.textContent="Testing",P1=k(),H1(O1.$$.fragment),I1=k(),H1(N1.$$.fragment),s2=k(),H1(t2.$$.fragment),i2=k(),H1(l2.$$.fragment),a2=k(),H1(U1.$$.fragment),W1=k(),Y1=C("h4"),Y1.textContent="Version",r2=k(),H1(J.$$.fragment),T(e,"class","scr-menu-h4 svelte-2tv2qh"),T(a,"class","scr-menu-h4 svelte-2tv2qh"),T(S,"class","scr-menu-h4 svelte-2tv2qh"),T(V,"class","scr-menu-h4 svelte-2tv2qh"),T(u1,"class","scr-menu-h4 svelte-2tv2qh"),T(D,"class","scr-menu-h4 svelte-2tv2qh"),T(S1,"class","scr-menu-h4 svelte-2tv2qh"),T(B1,"class","scr-menu-h4 svelte-2tv2qh"),T(Y1,"class","scr-menu-h4 svelte-2tv2qh")},m(Q,g1){Y(Q,e,g1),Y(Q,r,g1),C1(t,Q,g1),Y(Q,o,g1),C1(n,Q,g1),Y(Q,b,g1),C1(v,Q,g1),Y(Q,h,g1),Y(Q,a,g1),Y(Q,s,g1),C1(f,Q,g1),Y(Q,l,g1),C1(m,Q,g1),Y(Q,d,g1),C1(z,Q,g1),Y(Q,y,g1),Y(Q,S,g1),Y(Q,x,g1),C1(_,Q,g1),Y(Q,H,g1),C1(L,Q,g1),Y(Q,w,g1),C1($,Q,g1),Y(Q,E,g1),C1(F,Q,g1),Y(Q,M,g1),Y(Q,V,g1),Y(Q,I,g1),C1(B,Q,g1),Y(Q,t1,g1),C1(e1,Q,g1),Y(Q,h1,g1),Y(Q,u1,g1),Y(Q,i1,g1),C1(p1,Q,g1),Y(Q,o1,g1),C1(N,Q,g1),Y(Q,G,g1),Y(Q,D,g1),Y(Q,W,g1),C1(z1,Q,g1),Y(Q,_1,g1),Y(Q,S1,g1),Y(Q,s1,g1),C1(w1,Q,g1),Y(Q,R1,g1),Y(Q,B1,g1),Y(Q,P1,g1),C1(O1,Q,g1),Y(Q,I1,g1),C1(N1,Q,g1),Y(Q,s2,g1),C1(t2,Q,g1),Y(Q,i2,g1),C1(l2,Q,g1),Y(Q,a2,g1),C1(U1,Q,g1),Y(Q,W1,g1),Y(Q,Y1,g1),Y(Q,r2,g1),C1(J,Q,g1),b1=!0},p(Q,g1){const m2={};g1&66&&(m2.$$scope={dirty:g1,ctx:Q}),t.$set(m2);const S2={};g1&66&&(S2.$$scope={dirty:g1,ctx:Q}),n.$set(S2);const z2={};g1&66&&(z2.$$scope={dirty:g1,ctx:Q}),v.$set(z2);const w2={};g1&66&&(w2.$$scope={dirty:g1,ctx:Q}),f.$set(w2);const U2={};g1&66&&(U2.$$scope={dirty:g1,ctx:Q}),m.$set(U2);const d2={};g1&66&&(d2.$$scope={dirty:g1,ctx:Q}),z.$set(d2);const H2={};g1&66&&(H2.$$scope={dirty:g1,ctx:Q}),_.$set(H2);const A2={};g1&66&&(A2.$$scope={dirty:g1,ctx:Q}),L.$set(A2);const x2={};g1&66&&(x2.$$scope={dirty:g1,ctx:Q}),$.$set(x2);const L2={};g1&66&&(L2.$$scope={dirty:g1,ctx:Q}),F.$set(L2);const O2={};g1&66&&(O2.$$scope={dirty:g1,ctx:Q}),B.$set(O2);const h2={};g1&66&&(h2.$$scope={dirty:g1,ctx:Q}),e1.$set(h2);const E2={};g1&66&&(E2.$$scope={dirty:g1,ctx:Q}),p1.$set(E2);const M2={};g1&66&&(M2.$$scope={dirty:g1,ctx:Q}),N.$set(M2);const Z2={};g1&66&&(Z2.$$scope={dirty:g1,ctx:Q}),z1.$set(Z2);const t0={};g1&66&&(t0.$$scope={dirty:g1,ctx:Q}),w1.$set(t0);const F2={};g1&66&&(F2.$$scope={dirty:g1,ctx:Q}),O1.$set(F2);const B2={};g1&66&&(B2.$$scope={dirty:g1,ctx:Q}),N1.$set(B2);const r0={};g1&66&&(r0.$$scope={dirty:g1,ctx:Q}),t2.$set(r0);const c0={};g1&66&&(c0.$$scope={dirty:g1,ctx:Q}),l2.$set(c0);const Y2={};g1&66&&(Y2.$$scope={dirty:g1,ctx:Q}),U1.$set(Y2);const R2={};g1&64&&(R2.$$scope={dirty:g1,ctx:Q}),J.$set(R2)},i(Q){b1||(m1(t.$$.fragment,Q),m1(n.$$.fragment,Q),m1(v.$$.fragment,Q),m1(f.$$.fragment,Q),m1(m.$$.fragment,Q),m1(z.$$.fragment,Q),m1(_.$$.fragment,Q),m1(L.$$.fragment,Q),m1($.$$.fragment,Q),m1(F.$$.fragment,Q),m1(B.$$.fragment,Q),m1(e1.$$.fragment,Q),m1(p1.$$.fragment,Q),m1(N.$$.fragment,Q),m1(z1.$$.fragment,Q),m1(w1.$$.fragment,Q),m1(O1.$$.fragment,Q),m1(N1.$$.fragment,Q),m1(t2.$$.fragment,Q),m1(l2.$$.fragment,Q),m1(U1.$$.fragment,Q),m1(J.$$.fragment,Q),b1=!0)},o(Q){d1(t.$$.fragment,Q),d1(n.$$.fragment,Q),d1(v.$$.fragment,Q),d1(f.$$.fragment,Q),d1(m.$$.fragment,Q),d1(z.$$.fragment,Q),d1(_.$$.fragment,Q),d1(L.$$.fragment,Q),d1($.$$.fragment,Q),d1(F.$$.fragment,Q),d1(B.$$.fragment,Q),d1(e1.$$.fragment,Q),d1(p1.$$.fragment,Q),d1(N.$$.fragment,Q),d1(z1.$$.fragment,Q),d1(w1.$$.fragment,Q),d1(O1.$$.fragment,Q),d1(N1.$$.fragment,Q),d1(t2.$$.fragment,Q),d1(l2.$$.fragment,Q),d1(U1.$$.fragment,Q),d1(J.$$.fragment,Q),b1=!1},d(Q){Q&&Z(e),Q&&Z(r),y1(t,Q),Q&&Z(o),y1(n,Q),Q&&Z(b),y1(v,Q),Q&&Z(h),Q&&Z(a),Q&&Z(s),y1(f,Q),Q&&Z(l),y1(m,Q),Q&&Z(d),y1(z,Q),Q&&Z(y),Q&&Z(S),Q&&Z(x),y1(_,Q),Q&&Z(H),y1(L,Q),Q&&Z(w),y1($,Q),Q&&Z(E),y1(F,Q),Q&&Z(M),Q&&Z(V),Q&&Z(I),y1(B,Q),Q&&Z(t1),y1(e1,Q),Q&&Z(h1),Q&&Z(u1),Q&&Z(i1),y1(p1,Q),Q&&Z(o1),y1(N,Q),Q&&Z(G),Q&&Z(D),Q&&Z(W),y1(z1,Q),Q&&Z(_1),Q&&Z(S1),Q&&Z(s1),y1(w1,Q),Q&&Z(R1),Q&&Z(B1),Q&&Z(P1),y1(O1,Q),Q&&Z(I1),y1(N1,Q),Q&&Z(s2),y1(t2,Q),Q&&Z(i2),y1(l2,Q),Q&&Z(a2),y1(U1,Q),Q&&Z(W1),Q&&Z(Y1),Q&&Z(r2),y1(J,Q)}}}function pc(c){let e,r,t,o;return e=new F1({props:{params:{name:"v1_Presentation"},$$slots:{default:[o9]},$$scope:{ctx:c}}}),t=new F1({props:{params:{name:"v2_Presentation"},$$slots:{default:[n9]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment),r=k(),H1(t.$$.fragment)},m(n,b){C1(e,n,b),Y(n,r,b),C1(t,n,b),o=!0},p(n,b){const v={};b&66&&(v.$$scope={dirty:b,ctx:n}),e.$set(v);const h={};b&66&&(h.$$scope={dirty:b,ctx:n}),t.$set(h)},i(n){o||(m1(e.$$.fragment,n),m1(t.$$.fragment,n),o=!0)},o(n){d1(e.$$.fragment,n),d1(t.$$.fragment,n),o=!1},d(n){y1(e,n),n&&Z(r),y1(t,n)}}}function mc(c){let e;return{c(){e=C("div"),e.textContent="Presentation",T(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v2_Presentation")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v2_Presentation")},d(r){r&&Z(e)}}}function dc(c){let e;return{c(){e=C("div"),e.textContent="Installation",T(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v2_Installation")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v2_Installation")},d(r){r&&Z(e)}}}function bc(c){let e;return{c(){e=C("div"),e.textContent="Getting Started",T(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v2_Getting_Started")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v2_Getting_Started")},d(r){r&&Z(e)}}}function xc(c){let e;return{c(){e=C("div"),e.textContent="Configuration Options",T(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v2_Configuration_Options")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v2_Configuration_Options")},d(r){r&&Z(e)}}}function gc(c){let e;return{c(){e=C("div"),e.textContent="Global Before Enter",T(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v2_Configuration_Global_Before_Enter_Option")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v2_Configuration_Global_Before_Enter_Option")},d(r){r&&Z(e)}}}function _c(c){let e;return{c(){e=C("div"),e.textContent="Global On Error",T(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v2_Configuration_Global_On_Error")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v2_Configuration_Global_On_Error")},d(r){r&&Z(e)}}}function zc(c){let e;return{c(){e=C("div"),e.textContent="Properties",T(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v2_Route_Object_Properties")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v2_Route_Object_Properties")},d(r){r&&Z(e)}}}function Cc(c){let e;return{c(){e=C("div"),e.textContent="Before Enter",T(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v2_Route_Object_Before_Enter")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v2_Route_Object_Before_Enter")},d(r){r&&Z(e)}}}function yc(c){let e;return{c(){e=C("div"),e.textContent="After Enter",T(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v2_Route_Object_After_Enter")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v2_Route_Object_After_Enter")},d(r){r&&Z(e)}}}function Lc(c){let e;return{c(){e=C("div"),e.textContent="On Error",T(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v2_Route_Object_On_Error")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v2_Route_Object_On_Error")},d(r){r&&Z(e)}}}function Hc(c){let e;return{c(){e=C("div"),e.textContent="Properties",T(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v2_Route_Component_Properties")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v2_Route_Component_Properties")},d(r){r&&Z(e)}}}function Mc(c){let e;return{c(){e=C("div"),e.textContent="Components",T(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v2_Route_Component_Components")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v2_Route_Component_Components")},d(r){r&&Z(e)}}}function Rc(c){let e;return{c(){e=C("div"),e.textContent="Routing",T(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v1_Navigation_Routing")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v1_Navigation_Routing")},d(r){r&&Z(e)}}}function Sc(c){let e;return{c(){e=C("div"),e.textContent="Properties",T(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v2_Router_Link")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v2_Router_Link")},d(r){r&&Z(e)}}}function wc(c){let e;return{c(){e=C("div"),e.textContent="Properties",T(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v2_Routes_Store")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v2_Routes_Store")},d(r){r&&Z(e)}}}function $c(c){let e;return{c(){e=C("div"),e.textContent="Test - Regex Path",T(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v2_Test_Regex_Path")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v2_Test_Regex_Path")},d(r){r&&Z(e)}}}function Vc(c){let e;return{c(){e=C("div"),e.textContent="Test - Regex Path 2",T(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v2_Test_Regex_Path_2")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v2_Test_Regex_Path_2")},d(r){r&&Z(e)}}}function Ec(c){let e;return{c(){e=C("div"),e.textContent="Test - Loading Component with Before Enter",T(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v2_Test_Loading_Component_Before_Enter")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v2_Test_Loading_Component_Before_Enter")},d(r){r&&Z(e)}}}function Tc(c){let e;return{c(){e=C("div"),e.textContent="Test - Any Route Wildcard",T(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="SCR_ROUTE_NOT_FOUND")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="SCR_ROUTE_NOT_FOUND")},d(r){r&&Z(e)}}}function Ac(c){let e;return{c(){e=C("div"),e.textContent="Test - Not Found",T(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="SCR_NOT_FOUND_ROUTE")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="SCR_NOT_FOUND_ROUTE")},d(r){r&&Z(e)}}}function qc(c){let e;return{c(){e=C("div"),e.textContent="See Version 1",T(e,"class","scr-menu-btn svelte-2tv2qh")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function Pc(c){let e;return{c(){e=C("div"),e.textContent="Presentation",T(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v1_Presentation")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v1_Presentation")},d(r){r&&Z(e)}}}function kc(c){let e;return{c(){e=C("div"),e.textContent="Installation",T(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v1_Installation")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v1_Installation")},d(r){r&&Z(e)}}}function Oc(c){let e;return{c(){e=C("div"),e.textContent="Getting Started",T(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v1_Getting_Started")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v1_Getting_Started")},d(r){r&&Z(e)}}}function Bc(c){let e;return{c(){e=C("div"),e.textContent="Configuration Options",T(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v1_Configuration_Options")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v1_Configuration_Options")},d(r){r&&Z(e)}}}function Ic(c){let e;return{c(){e=C("div"),e.textContent="Global Before Enter",T(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v1_Configuration_Global_Before_Enter_Option")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v1_Configuration_Global_Before_Enter_Option")},d(r){r&&Z(e)}}}function jc(c){let e;return{c(){e=C("div"),e.textContent="Global On Error",T(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v1_Configuration_Global_On_Error")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v1_Configuration_Global_On_Error")},d(r){r&&Z(e)}}}function Fc(c){let e;return{c(){e=C("div"),e.textContent="Properties",T(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v1_Route_Object_Properties")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v1_Route_Object_Properties")},d(r){r&&Z(e)}}}function Nc(c){let e;return{c(){e=C("div"),e.textContent="Before Enter",T(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v1_Route_Object_Before_Enter")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v1_Route_Object_Before_Enter")},d(r){r&&Z(e)}}}function Dc(c){let e;return{c(){e=C("div"),e.textContent="After Before Enter",T(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v1_Route_Object_After_Enter")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v1_Route_Object_After_Enter")},d(r){r&&Z(e)}}}function Wc(c){let e;return{c(){e=C("div"),e.textContent="On Error",T(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v1_Route_Object_On_Error")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v1_Route_Object_On_Error")},d(r){r&&Z(e)}}}function Gc(c){let e;return{c(){e=C("div"),e.textContent="Properties",T(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v1_Route_Component_Properties")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v1_Route_Component_Properties")},d(r){r&&Z(e)}}}function Uc(c){let e;return{c(){e=C("div"),e.textContent="Components",T(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v1_Route_Component_Components")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v1_Route_Component_Components")},d(r){r&&Z(e)}}}function Zc(c){let e;return{c(){e=C("div"),e.textContent="Routing",T(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v1_Navigation_Routing")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v1_Navigation_Routing")},d(r){r&&Z(e)}}}function Yc(c){let e;return{c(){e=C("div"),e.textContent="Store",T(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v1_Navigation_Store")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v1_Navigation_Store")},d(r){r&&Z(e)}}}function Kc(c){let e;return{c(){e=C("div"),e.textContent="Properties",T(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v1_Router_Link")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v1_Router_Link")},d(r){r&&Z(e)}}}function Xc(c){let e;return{c(){e=C("div"),e.textContent="Properties",T(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v1_Router_Store")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v1_Router_Store")},d(r){r&&Z(e)}}}function Qc(c){let e;return{c(){e=C("div"),e.textContent="Test - Regex Path",T(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v1_Test_Regex_Path")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v1_Test_Regex_Path")},d(r){r&&Z(e)}}}function Jc(c){let e;return{c(){e=C("div"),e.textContent="Test - Regex Path 2",T(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v1_Test_Regex_Path_2")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v1_Test_Regex_Path_2")},d(r){r&&Z(e)}}}function e9(c){let e;return{c(){e=C("div"),e.textContent="Test - Loading Component with Before Enter",T(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v1_Test_Loading_Component_Before_Enter")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v1_Test_Loading_Component_Before_Enter")},d(r){r&&Z(e)}}}function t9(c){let e;return{c(){e=C("div"),e.textContent="Test - Any Route Wildcard",T(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="SCR_ROUTE_NOT_FOUND")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="SCR_ROUTE_NOT_FOUND")},d(r){r&&Z(e)}}}function r9(c){let e;return{c(){e=C("div"),e.textContent="Test - Not Found",T(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="SCR_NOT_FOUND_ROUTE")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="SCR_NOT_FOUND_ROUTE")},d(r){r&&Z(e)}}}function c9(c){let e;return{c(){e=C("div"),e.textContent="See Version 2",T(e,"class","scr-menu-btn svelte-2tv2qh")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function o9(c){let e;return{c(){e=C("div"),e.textContent="VERSION 1",T(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v1_Getting_Started")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v1_Getting_Started")},d(r){r&&Z(e)}}}function n9(c){let e;return{c(){e=C("div"),e.textContent="VERSION 2",T(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v1_Getting_Started")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v1_Getting_Started")},d(r){r&&Z(e)}}}function a9(c){let e,r,t=c[0].menuOpened&&$t(c);return{c(){t&&t.c(),e=S4()},m(o,n){t&&t.m(o,n),Y(o,e,n),r=!0},p(o,[n]){o[0].menuOpened?t?(t.p(o,n),n&1&&m1(t,1)):(t=$t(o),t.c(),m1(t,1),t.m(e.parentNode,e)):t&&(l4(),d1(t,1,1,()=>{t=null}),u4())},i(o){r||(m1(t),r=!0)},o(o){d1(t),r=!1},d(o){t&&t.d(o),o&&Z(e)}}}function s9(c,e,r){let t,o,n;Q0(c,nc,a=>r(5,o=a)),Q0(c,V0,a=>r(0,n=a));let b=!1,v=!1,h="";return c.$$.update=()=>{c.$$.dirty&1&&r(2,t=n.version>0?`Version ${n.version}`:"Menu"),c.$$.dirty&32&&(o?r(3,b=o.currentRoute):r(3,b=!1)),c.$$.dirty&8&&(b?r(4,v=b.definition):r(4,v=!1)),c.$$.dirty&16&&(v?r(1,h=v.name):r(1,h=!1))},[n,h,t,b,v,o]}class i9 extends e2{constructor(e){super(),J1(this,e,s9,a9,X1,{})}}function l9(c){let e;return{c(){e=C("span"),e.innerHTML='',T(e,"class","scr-close-menu svelte-1tc58v8")},m(r,t){Y(r,e,t)},d(r){r&&Z(e)}}}function u9(c){let e;return{c(){e=C("span"),e.innerHTML=''},m(r,t){Y(r,e,t)},d(r){r&&Z(e)}}}function f9(c){let e;return{c(){e=C("b"),e.textContent="Svelte Client Router",T(e,"class","svelte-1tc58v8")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function h9(c){let e;return{c(){e=C("span"),e.innerHTML=''},m(r,t){Y(r,e,t)},d(r){r&&Z(e)}}}function v9(c){let e;return{c(){e=C("span"),e.innerHTML=''},m(r,t){Y(r,e,t)},d(r){r&&Z(e)}}}function p9(c){let e,r,t,o,n,b,v,h,a,s,f,l;function m(_,H){return _[0].menuOpened?u9:l9}let d=m(c),z=d(c);b=new F1({props:{params:{name:"rootRoute"},$$slots:{default:[f9]},$$scope:{ctx:c}}});function y(_,H){return _[0].themeDark?v9:h9}let S=y(c),x=S(c);return{c(){e=C("div"),r=C("div"),t=C("div"),o=C("span"),z.c(),n=k(),H1(b.$$.fragment),v=k(),h=C("div"),a=C("span"),x.c(),T(t,"class","scr-menu svelte-1tc58v8"),T(h,"class","scr-theme svelte-1tc58v8"),T(r,"class","scr-header svelte-1tc58v8")},m(_,H){Y(_,e,H),i(e,r),i(r,t),i(t,o),z.m(o,null),i(r,n),C1(b,r,null),i(r,v),i(r,h),i(h,a),x.m(a,null),s=!0,f||(l=[s0(o,"click",c[2]),s0(a,"click",c[1])],f=!0)},p(_,[H]){d!==(d=m(_))&&(z.d(1),z=d(_),z&&(z.c(),z.m(o,null)));const L={};H&8&&(L.$$scope={dirty:H,ctx:_}),b.$set(L),S!==(S=y(_))&&(x.d(1),x=S(_),x&&(x.c(),x.m(a,null)))},i(_){s||(m1(b.$$.fragment,_),s=!0)},o(_){d1(b.$$.fragment,_),s=!1},d(_){_&&Z(e),z.d(),y1(b),x.d(),f=!1,H0(l)}}}function m9(c,e,r){let t;Q0(c,V0,b=>r(0,t=b));async function o(){await V0.setThemeDark(!t.themeDark)}function n(){V0.setMenuOpened(!t.menuOpened)}return[t,o,n]}class d9 extends e2{constructor(e){super(),J1(this,e,m9,p9,X1,{})}}function b9(c){let e,r,t,o,n="2.0.0",b,v,h,a,s,f,l,m,d,z,y;return{c(){e=C("div"),r=C("div"),t=C("b"),t.textContent="Last Git Version:",o=k(),b=M1(n),v=k(),h=C("br"),a=k(),s=C("br"),f=k(),l=C("b"),l.textContent="License:",m=k(),d=C("a"),d.textContent="MIT",z=k(),y=C("div"),y.innerHTML=`Github: https://github.com/arthurgermano/svelte-client-router + opacity: ${h-s*l}`}}function $t(c){let e,r,t,o,n,b,v,h,a;const s=[mc,pc,vc,hc],f=[];function l(m,d){return m[0].version==0?0:m[0].version==1?1:m[0].version==2?2:3}return n=l(c),b=f[n]=s[n](c),{c(){e=C("div"),r=C("h4"),t=M1(c[2]),o=k(),b.c(),A(r,"class","svelte-2tv2qh"),A(e,"class","scr-menu svelte-2tv2qh")},m(m,d){Y(m,e,d),i(e,r),i(r,t),i(e,o),f[n].m(e,null),a=!0},p(m,d){(!a||d&4)&&D2(t,m[2]);let z=n;n=l(m),n===z?f[n].p(m,d):(l4(),d1(f[z],1,1,()=>{f[z]=null}),u4(),b=f[n],b?b.p(m,d):(b=f[n]=s[n](m),b.c()),m1(b,1),b.m(e,null))},i(m){a||(m1(b),n4(()=>{h&&h.end(1),v=z6(e,L4,{x:-200,duration:300}),v.start()}),a=!0)},o(m){d1(b),v&&v.invalidate(),h=C6(e,L4,{x:-200,duration:200}),a=!1},d(m){m&&Z(e),f[n].d(),m&&h&&h.end()}}}function hc(c){let e;return{c(){e=C("div"),e.textContent="VERSION NOT FOUND"},m(r,t){Y(r,e,t)},p:E1,i:E1,o:E1,d(r){r&&Z(e)}}}function vc(c){let e,r,t,o,n,b,v,h,a,s,f,l,m,d,z,y,S,x,_,H,L,w,$,E,F,M,V,I,B,t1,e1,h1,u1,i1,p1,o1,N,G,D,W,z1,_1,S1,s1,w1,R1,B1,P1,O1,I1,N1,s2,t2,i2,l2,a2,U1,W1,Y1,r2;return t=new F1({props:{params:{name:"v2_Presentation"},$$slots:{default:[dc]},$$scope:{ctx:c}}}),n=new F1({props:{params:{name:"v2_Installation"},$$slots:{default:[bc]},$$scope:{ctx:c}}}),v=new F1({props:{params:{name:"v2_Getting_Started"},$$slots:{default:[xc]},$$scope:{ctx:c}}}),f=new F1({props:{params:{name:"v2_Configuration_Options"},$$slots:{default:[gc]},$$scope:{ctx:c}}}),m=new F1({props:{params:{name:"v2_Configuration_Global_Before_Enter_Option"},$$slots:{default:[_c]},$$scope:{ctx:c}}}),z=new F1({props:{params:{name:"v2_Configuration_Global_On_Error"},$$slots:{default:[zc]},$$scope:{ctx:c}}}),_=new F1({props:{params:{name:"v2_Route_Object_Properties"},$$slots:{default:[Cc]},$$scope:{ctx:c}}}),L=new F1({props:{params:{name:"v2_Route_Object_Before_Enter"},$$slots:{default:[yc]},$$scope:{ctx:c}}}),$=new F1({props:{params:{name:"v2_Route_Object_After_Enter"},$$slots:{default:[Lc]},$$scope:{ctx:c}}}),F=new F1({props:{params:{name:"v2_Route_Object_On_Error"},$$slots:{default:[Hc]},$$scope:{ctx:c}}}),B=new F1({props:{params:{name:"v2_Route_Component_Properties"},$$slots:{default:[Mc]},$$scope:{ctx:c}}}),e1=new F1({props:{params:{name:"v2_Route_Component_Components"},$$slots:{default:[Rc]},$$scope:{ctx:c}}}),p1=new F1({props:{params:{name:"v2_Navigation_Routing"},$$slots:{default:[Sc]},$$scope:{ctx:c}}}),D=new F1({props:{params:{name:"v2_Router_Link"},$$slots:{default:[wc]},$$scope:{ctx:c}}}),S1=new F1({props:{params:{name:"v2_Routes_Store"},$$slots:{default:[$c]},$$scope:{ctx:c}}}),B1=new F1({props:{params:{name:"v2_Test_Regex_Path"},$$slots:{default:[Vc]},$$scope:{ctx:c}}}),O1=new F1({props:{params:{name:"v2_Test_Regex_Path_2"},$$slots:{default:[Ec]},$$scope:{ctx:c}}}),N1=new F1({props:{params:{name:"v2_Test_Loading_Component_Before_Enter"},$$slots:{default:[Ac]},$$scope:{ctx:c}}}),t2=new F1({props:{params:{name:"v2_Test_Any_Route_Wildcard"},$$slots:{default:[Tc]},$$scope:{ctx:c}}}),l2=new F1({props:{params:{path:"/svelte-client-router/v2/some_route_not_declared"},$$slots:{default:[qc]},$$scope:{ctx:c}}}),Y1=new F1({props:{params:{name:"v1_Presentation"},$$slots:{default:[Pc]},$$scope:{ctx:c}}}),{c(){e=C("h4"),e.textContent="Introduction",r=k(),H1(t.$$.fragment),o=k(),H1(n.$$.fragment),b=k(),H1(v.$$.fragment),h=k(),a=C("h4"),a.textContent="Configuration",s=k(),H1(f.$$.fragment),l=k(),H1(m.$$.fragment),d=k(),H1(z.$$.fragment),y=k(),S=C("h4"),S.textContent="Route Object",x=k(),H1(_.$$.fragment),H=k(),H1(L.$$.fragment),w=k(),H1($.$$.fragment),E=k(),H1(F.$$.fragment),M=k(),V=C("h4"),V.textContent="Route Component",I=k(),H1(B.$$.fragment),t1=k(),H1(e1.$$.fragment),h1=k(),u1=C("h4"),u1.textContent="Navigation",i1=k(),H1(p1.$$.fragment),o1=k(),N=C("h4"),N.textContent="Route Link",G=k(),H1(D.$$.fragment),W=k(),z1=C("h4"),z1.textContent="Routes Store",_1=k(),H1(S1.$$.fragment),s1=k(),w1=C("h4"),w1.textContent="Testing",R1=k(),H1(B1.$$.fragment),P1=k(),H1(O1.$$.fragment),I1=k(),H1(N1.$$.fragment),s2=k(),H1(t2.$$.fragment),i2=k(),H1(l2.$$.fragment),a2=k(),U1=C("h4"),U1.textContent="Version",W1=k(),H1(Y1.$$.fragment),A(e,"class","scr-menu-h4 svelte-2tv2qh"),A(a,"class","scr-menu-h4 svelte-2tv2qh"),A(S,"class","scr-menu-h4 svelte-2tv2qh"),A(V,"class","scr-menu-h4 svelte-2tv2qh"),A(u1,"class","scr-menu-h4 svelte-2tv2qh"),A(N,"class","scr-menu-h4 svelte-2tv2qh"),A(z1,"class","scr-menu-h4 svelte-2tv2qh"),A(w1,"class","scr-menu-h4 svelte-2tv2qh"),A(U1,"class","scr-menu-h4 svelte-2tv2qh")},m(J,b1){Y(J,e,b1),Y(J,r,b1),C1(t,J,b1),Y(J,o,b1),C1(n,J,b1),Y(J,b,b1),C1(v,J,b1),Y(J,h,b1),Y(J,a,b1),Y(J,s,b1),C1(f,J,b1),Y(J,l,b1),C1(m,J,b1),Y(J,d,b1),C1(z,J,b1),Y(J,y,b1),Y(J,S,b1),Y(J,x,b1),C1(_,J,b1),Y(J,H,b1),C1(L,J,b1),Y(J,w,b1),C1($,J,b1),Y(J,E,b1),C1(F,J,b1),Y(J,M,b1),Y(J,V,b1),Y(J,I,b1),C1(B,J,b1),Y(J,t1,b1),C1(e1,J,b1),Y(J,h1,b1),Y(J,u1,b1),Y(J,i1,b1),C1(p1,J,b1),Y(J,o1,b1),Y(J,N,b1),Y(J,G,b1),C1(D,J,b1),Y(J,W,b1),Y(J,z1,b1),Y(J,_1,b1),C1(S1,J,b1),Y(J,s1,b1),Y(J,w1,b1),Y(J,R1,b1),C1(B1,J,b1),Y(J,P1,b1),C1(O1,J,b1),Y(J,I1,b1),C1(N1,J,b1),Y(J,s2,b1),C1(t2,J,b1),Y(J,i2,b1),C1(l2,J,b1),Y(J,a2,b1),Y(J,U1,b1),Y(J,W1,b1),C1(Y1,J,b1),r2=!0},p(J,b1){const Q={};b1&66&&(Q.$$scope={dirty:b1,ctx:J}),t.$set(Q);const g1={};b1&66&&(g1.$$scope={dirty:b1,ctx:J}),n.$set(g1);const m2={};b1&66&&(m2.$$scope={dirty:b1,ctx:J}),v.$set(m2);const S2={};b1&66&&(S2.$$scope={dirty:b1,ctx:J}),f.$set(S2);const z2={};b1&66&&(z2.$$scope={dirty:b1,ctx:J}),m.$set(z2);const w2={};b1&66&&(w2.$$scope={dirty:b1,ctx:J}),z.$set(w2);const U2={};b1&66&&(U2.$$scope={dirty:b1,ctx:J}),_.$set(U2);const d2={};b1&66&&(d2.$$scope={dirty:b1,ctx:J}),L.$set(d2);const H2={};b1&66&&(H2.$$scope={dirty:b1,ctx:J}),$.$set(H2);const T2={};b1&66&&(T2.$$scope={dirty:b1,ctx:J}),F.$set(T2);const x2={};b1&66&&(x2.$$scope={dirty:b1,ctx:J}),B.$set(x2);const L2={};b1&66&&(L2.$$scope={dirty:b1,ctx:J}),e1.$set(L2);const O2={};b1&66&&(O2.$$scope={dirty:b1,ctx:J}),p1.$set(O2);const h2={};b1&66&&(h2.$$scope={dirty:b1,ctx:J}),D.$set(h2);const E2={};b1&66&&(E2.$$scope={dirty:b1,ctx:J}),S1.$set(E2);const M2={};b1&66&&(M2.$$scope={dirty:b1,ctx:J}),B1.$set(M2);const Z2={};b1&66&&(Z2.$$scope={dirty:b1,ctx:J}),O1.$set(Z2);const r0={};b1&66&&(r0.$$scope={dirty:b1,ctx:J}),N1.$set(r0);const F2={};b1&66&&(F2.$$scope={dirty:b1,ctx:J}),t2.$set(F2);const B2={};b1&66&&(B2.$$scope={dirty:b1,ctx:J}),l2.$set(B2);const c0={};b1&64&&(c0.$$scope={dirty:b1,ctx:J}),Y1.$set(c0)},i(J){r2||(m1(t.$$.fragment,J),m1(n.$$.fragment,J),m1(v.$$.fragment,J),m1(f.$$.fragment,J),m1(m.$$.fragment,J),m1(z.$$.fragment,J),m1(_.$$.fragment,J),m1(L.$$.fragment,J),m1($.$$.fragment,J),m1(F.$$.fragment,J),m1(B.$$.fragment,J),m1(e1.$$.fragment,J),m1(p1.$$.fragment,J),m1(D.$$.fragment,J),m1(S1.$$.fragment,J),m1(B1.$$.fragment,J),m1(O1.$$.fragment,J),m1(N1.$$.fragment,J),m1(t2.$$.fragment,J),m1(l2.$$.fragment,J),m1(Y1.$$.fragment,J),r2=!0)},o(J){d1(t.$$.fragment,J),d1(n.$$.fragment,J),d1(v.$$.fragment,J),d1(f.$$.fragment,J),d1(m.$$.fragment,J),d1(z.$$.fragment,J),d1(_.$$.fragment,J),d1(L.$$.fragment,J),d1($.$$.fragment,J),d1(F.$$.fragment,J),d1(B.$$.fragment,J),d1(e1.$$.fragment,J),d1(p1.$$.fragment,J),d1(D.$$.fragment,J),d1(S1.$$.fragment,J),d1(B1.$$.fragment,J),d1(O1.$$.fragment,J),d1(N1.$$.fragment,J),d1(t2.$$.fragment,J),d1(l2.$$.fragment,J),d1(Y1.$$.fragment,J),r2=!1},d(J){J&&Z(e),J&&Z(r),y1(t,J),J&&Z(o),y1(n,J),J&&Z(b),y1(v,J),J&&Z(h),J&&Z(a),J&&Z(s),y1(f,J),J&&Z(l),y1(m,J),J&&Z(d),y1(z,J),J&&Z(y),J&&Z(S),J&&Z(x),y1(_,J),J&&Z(H),y1(L,J),J&&Z(w),y1($,J),J&&Z(E),y1(F,J),J&&Z(M),J&&Z(V),J&&Z(I),y1(B,J),J&&Z(t1),y1(e1,J),J&&Z(h1),J&&Z(u1),J&&Z(i1),y1(p1,J),J&&Z(o1),J&&Z(N),J&&Z(G),y1(D,J),J&&Z(W),J&&Z(z1),J&&Z(_1),y1(S1,J),J&&Z(s1),J&&Z(w1),J&&Z(R1),y1(B1,J),J&&Z(P1),y1(O1,J),J&&Z(I1),y1(N1,J),J&&Z(s2),y1(t2,J),J&&Z(i2),y1(l2,J),J&&Z(a2),J&&Z(U1),J&&Z(W1),y1(Y1,J)}}}function pc(c){let e,r,t,o,n,b,v,h,a,s,f,l,m,d,z,y,S,x,_,H,L,w,$,E,F,M,V,I,B,t1,e1,h1,u1,i1,p1,o1,N,G,D,W,z1,_1,S1,s1,w1,R1,B1,P1,O1,I1,N1,s2,t2,i2,l2,a2,U1,W1,Y1,r2,J,b1;return t=new F1({props:{params:{name:"v1_Presentation"},$$slots:{default:[kc]},$$scope:{ctx:c}}}),n=new F1({props:{params:{name:"v1_Installation"},$$slots:{default:[Oc]},$$scope:{ctx:c}}}),v=new F1({props:{params:{name:"v1_Getting_Started"},$$slots:{default:[Bc]},$$scope:{ctx:c}}}),f=new F1({props:{params:{name:"v1_Configuration_Options"},$$slots:{default:[Ic]},$$scope:{ctx:c}}}),m=new F1({props:{params:{name:"v1_Configuration_Global_Before_Enter_Option"},$$slots:{default:[jc]},$$scope:{ctx:c}}}),z=new F1({props:{params:{name:"v1_Configuration_Global_On_Error"},$$slots:{default:[Fc]},$$scope:{ctx:c}}}),_=new F1({props:{params:{name:"v1_Route_Object_Properties"},$$slots:{default:[Nc]},$$scope:{ctx:c}}}),L=new F1({props:{params:{name:"v1_Route_Object_Before_Enter"},$$slots:{default:[Dc]},$$scope:{ctx:c}}}),$=new F1({props:{params:{name:"v1_Route_Object_After_Enter"},$$slots:{default:[Wc]},$$scope:{ctx:c}}}),F=new F1({props:{params:{name:"v1_Route_Object_On_Error"},$$slots:{default:[Gc]},$$scope:{ctx:c}}}),B=new F1({props:{params:{name:"v1_Route_Component_Properties"},$$slots:{default:[Uc]},$$scope:{ctx:c}}}),e1=new F1({props:{params:{name:"v1_Route_Component_Components"},$$slots:{default:[Zc]},$$scope:{ctx:c}}}),p1=new F1({props:{params:{name:"v1_Navigation_Routing"},$$slots:{default:[Yc]},$$scope:{ctx:c}}}),N=new F1({props:{params:{name:"v1_Navigation_Store"},$$slots:{default:[Kc]},$$scope:{ctx:c}}}),z1=new F1({props:{params:{name:"v1_Router_Link"},$$slots:{default:[Xc]},$$scope:{ctx:c}}}),w1=new F1({props:{params:{name:"v1_Router_Store"},$$slots:{default:[Qc]},$$scope:{ctx:c}}}),O1=new F1({props:{params:{name:"v1_Test_Regex_Path"},$$slots:{default:[Jc]},$$scope:{ctx:c}}}),N1=new F1({props:{params:{name:"v1_Test_Regex_Path_2"},$$slots:{default:[e9]},$$scope:{ctx:c}}}),t2=new F1({props:{params:{name:"v1_Test_Loading_Component_Before_Enter"},$$slots:{default:[t9]},$$scope:{ctx:c}}}),l2=new F1({props:{params:{name:"v1_Test_Any_Route_Wildcard"},$$slots:{default:[r9]},$$scope:{ctx:c}}}),U1=new F1({props:{params:{path:"/svelte-client-router/v1/some_route_not_declared"},$$slots:{default:[c9]},$$scope:{ctx:c}}}),J=new F1({props:{params:{name:"v2_Presentation"},$$slots:{default:[o9]},$$scope:{ctx:c}}}),{c(){e=C("h4"),e.textContent="Introduction",r=k(),H1(t.$$.fragment),o=k(),H1(n.$$.fragment),b=k(),H1(v.$$.fragment),h=k(),a=C("h4"),a.textContent="Configuration",s=k(),H1(f.$$.fragment),l=k(),H1(m.$$.fragment),d=k(),H1(z.$$.fragment),y=k(),S=C("h4"),S.textContent="Route Object",x=k(),H1(_.$$.fragment),H=k(),H1(L.$$.fragment),w=k(),H1($.$$.fragment),E=k(),H1(F.$$.fragment),M=k(),V=C("h4"),V.textContent="Route Component",I=k(),H1(B.$$.fragment),t1=k(),H1(e1.$$.fragment),h1=k(),u1=C("h4"),u1.textContent="Navigation",i1=k(),H1(p1.$$.fragment),o1=k(),H1(N.$$.fragment),G=k(),D=C("h4"),D.textContent="Route Link",W=k(),H1(z1.$$.fragment),_1=k(),S1=C("h4"),S1.textContent="Router Store",s1=k(),H1(w1.$$.fragment),R1=k(),B1=C("h4"),B1.textContent="Testing",P1=k(),H1(O1.$$.fragment),I1=k(),H1(N1.$$.fragment),s2=k(),H1(t2.$$.fragment),i2=k(),H1(l2.$$.fragment),a2=k(),H1(U1.$$.fragment),W1=k(),Y1=C("h4"),Y1.textContent="Version",r2=k(),H1(J.$$.fragment),A(e,"class","scr-menu-h4 svelte-2tv2qh"),A(a,"class","scr-menu-h4 svelte-2tv2qh"),A(S,"class","scr-menu-h4 svelte-2tv2qh"),A(V,"class","scr-menu-h4 svelte-2tv2qh"),A(u1,"class","scr-menu-h4 svelte-2tv2qh"),A(D,"class","scr-menu-h4 svelte-2tv2qh"),A(S1,"class","scr-menu-h4 svelte-2tv2qh"),A(B1,"class","scr-menu-h4 svelte-2tv2qh"),A(Y1,"class","scr-menu-h4 svelte-2tv2qh")},m(Q,g1){Y(Q,e,g1),Y(Q,r,g1),C1(t,Q,g1),Y(Q,o,g1),C1(n,Q,g1),Y(Q,b,g1),C1(v,Q,g1),Y(Q,h,g1),Y(Q,a,g1),Y(Q,s,g1),C1(f,Q,g1),Y(Q,l,g1),C1(m,Q,g1),Y(Q,d,g1),C1(z,Q,g1),Y(Q,y,g1),Y(Q,S,g1),Y(Q,x,g1),C1(_,Q,g1),Y(Q,H,g1),C1(L,Q,g1),Y(Q,w,g1),C1($,Q,g1),Y(Q,E,g1),C1(F,Q,g1),Y(Q,M,g1),Y(Q,V,g1),Y(Q,I,g1),C1(B,Q,g1),Y(Q,t1,g1),C1(e1,Q,g1),Y(Q,h1,g1),Y(Q,u1,g1),Y(Q,i1,g1),C1(p1,Q,g1),Y(Q,o1,g1),C1(N,Q,g1),Y(Q,G,g1),Y(Q,D,g1),Y(Q,W,g1),C1(z1,Q,g1),Y(Q,_1,g1),Y(Q,S1,g1),Y(Q,s1,g1),C1(w1,Q,g1),Y(Q,R1,g1),Y(Q,B1,g1),Y(Q,P1,g1),C1(O1,Q,g1),Y(Q,I1,g1),C1(N1,Q,g1),Y(Q,s2,g1),C1(t2,Q,g1),Y(Q,i2,g1),C1(l2,Q,g1),Y(Q,a2,g1),C1(U1,Q,g1),Y(Q,W1,g1),Y(Q,Y1,g1),Y(Q,r2,g1),C1(J,Q,g1),b1=!0},p(Q,g1){const m2={};g1&66&&(m2.$$scope={dirty:g1,ctx:Q}),t.$set(m2);const S2={};g1&66&&(S2.$$scope={dirty:g1,ctx:Q}),n.$set(S2);const z2={};g1&66&&(z2.$$scope={dirty:g1,ctx:Q}),v.$set(z2);const w2={};g1&66&&(w2.$$scope={dirty:g1,ctx:Q}),f.$set(w2);const U2={};g1&66&&(U2.$$scope={dirty:g1,ctx:Q}),m.$set(U2);const d2={};g1&66&&(d2.$$scope={dirty:g1,ctx:Q}),z.$set(d2);const H2={};g1&66&&(H2.$$scope={dirty:g1,ctx:Q}),_.$set(H2);const T2={};g1&66&&(T2.$$scope={dirty:g1,ctx:Q}),L.$set(T2);const x2={};g1&66&&(x2.$$scope={dirty:g1,ctx:Q}),$.$set(x2);const L2={};g1&66&&(L2.$$scope={dirty:g1,ctx:Q}),F.$set(L2);const O2={};g1&66&&(O2.$$scope={dirty:g1,ctx:Q}),B.$set(O2);const h2={};g1&66&&(h2.$$scope={dirty:g1,ctx:Q}),e1.$set(h2);const E2={};g1&66&&(E2.$$scope={dirty:g1,ctx:Q}),p1.$set(E2);const M2={};g1&66&&(M2.$$scope={dirty:g1,ctx:Q}),N.$set(M2);const Z2={};g1&66&&(Z2.$$scope={dirty:g1,ctx:Q}),z1.$set(Z2);const r0={};g1&66&&(r0.$$scope={dirty:g1,ctx:Q}),w1.$set(r0);const F2={};g1&66&&(F2.$$scope={dirty:g1,ctx:Q}),O1.$set(F2);const B2={};g1&66&&(B2.$$scope={dirty:g1,ctx:Q}),N1.$set(B2);const c0={};g1&66&&(c0.$$scope={dirty:g1,ctx:Q}),t2.$set(c0);const o0={};g1&66&&(o0.$$scope={dirty:g1,ctx:Q}),l2.$set(o0);const Y2={};g1&66&&(Y2.$$scope={dirty:g1,ctx:Q}),U1.$set(Y2);const R2={};g1&64&&(R2.$$scope={dirty:g1,ctx:Q}),J.$set(R2)},i(Q){b1||(m1(t.$$.fragment,Q),m1(n.$$.fragment,Q),m1(v.$$.fragment,Q),m1(f.$$.fragment,Q),m1(m.$$.fragment,Q),m1(z.$$.fragment,Q),m1(_.$$.fragment,Q),m1(L.$$.fragment,Q),m1($.$$.fragment,Q),m1(F.$$.fragment,Q),m1(B.$$.fragment,Q),m1(e1.$$.fragment,Q),m1(p1.$$.fragment,Q),m1(N.$$.fragment,Q),m1(z1.$$.fragment,Q),m1(w1.$$.fragment,Q),m1(O1.$$.fragment,Q),m1(N1.$$.fragment,Q),m1(t2.$$.fragment,Q),m1(l2.$$.fragment,Q),m1(U1.$$.fragment,Q),m1(J.$$.fragment,Q),b1=!0)},o(Q){d1(t.$$.fragment,Q),d1(n.$$.fragment,Q),d1(v.$$.fragment,Q),d1(f.$$.fragment,Q),d1(m.$$.fragment,Q),d1(z.$$.fragment,Q),d1(_.$$.fragment,Q),d1(L.$$.fragment,Q),d1($.$$.fragment,Q),d1(F.$$.fragment,Q),d1(B.$$.fragment,Q),d1(e1.$$.fragment,Q),d1(p1.$$.fragment,Q),d1(N.$$.fragment,Q),d1(z1.$$.fragment,Q),d1(w1.$$.fragment,Q),d1(O1.$$.fragment,Q),d1(N1.$$.fragment,Q),d1(t2.$$.fragment,Q),d1(l2.$$.fragment,Q),d1(U1.$$.fragment,Q),d1(J.$$.fragment,Q),b1=!1},d(Q){Q&&Z(e),Q&&Z(r),y1(t,Q),Q&&Z(o),y1(n,Q),Q&&Z(b),y1(v,Q),Q&&Z(h),Q&&Z(a),Q&&Z(s),y1(f,Q),Q&&Z(l),y1(m,Q),Q&&Z(d),y1(z,Q),Q&&Z(y),Q&&Z(S),Q&&Z(x),y1(_,Q),Q&&Z(H),y1(L,Q),Q&&Z(w),y1($,Q),Q&&Z(E),y1(F,Q),Q&&Z(M),Q&&Z(V),Q&&Z(I),y1(B,Q),Q&&Z(t1),y1(e1,Q),Q&&Z(h1),Q&&Z(u1),Q&&Z(i1),y1(p1,Q),Q&&Z(o1),y1(N,Q),Q&&Z(G),Q&&Z(D),Q&&Z(W),y1(z1,Q),Q&&Z(_1),Q&&Z(S1),Q&&Z(s1),y1(w1,Q),Q&&Z(R1),Q&&Z(B1),Q&&Z(P1),y1(O1,Q),Q&&Z(I1),y1(N1,Q),Q&&Z(s2),y1(t2,Q),Q&&Z(i2),y1(l2,Q),Q&&Z(a2),y1(U1,Q),Q&&Z(W1),Q&&Z(Y1),Q&&Z(r2),y1(J,Q)}}}function mc(c){let e,r,t,o;return e=new F1({props:{params:{name:"v1_Presentation"},$$slots:{default:[n9]},$$scope:{ctx:c}}}),t=new F1({props:{params:{name:"v2_Presentation"},$$slots:{default:[a9]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment),r=k(),H1(t.$$.fragment)},m(n,b){C1(e,n,b),Y(n,r,b),C1(t,n,b),o=!0},p(n,b){const v={};b&66&&(v.$$scope={dirty:b,ctx:n}),e.$set(v);const h={};b&66&&(h.$$scope={dirty:b,ctx:n}),t.$set(h)},i(n){o||(m1(e.$$.fragment,n),m1(t.$$.fragment,n),o=!0)},o(n){d1(e.$$.fragment,n),d1(t.$$.fragment,n),o=!1},d(n){y1(e,n),n&&Z(r),y1(t,n)}}}function dc(c){let e;return{c(){e=C("div"),e.textContent="Presentation",A(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v2_Presentation")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v2_Presentation")},d(r){r&&Z(e)}}}function bc(c){let e;return{c(){e=C("div"),e.textContent="Installation",A(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v2_Installation")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v2_Installation")},d(r){r&&Z(e)}}}function xc(c){let e;return{c(){e=C("div"),e.textContent="Getting Started",A(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v2_Getting_Started")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v2_Getting_Started")},d(r){r&&Z(e)}}}function gc(c){let e;return{c(){e=C("div"),e.textContent="Configuration Options",A(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v2_Configuration_Options")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v2_Configuration_Options")},d(r){r&&Z(e)}}}function _c(c){let e;return{c(){e=C("div"),e.textContent="Global Before Enter",A(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v2_Configuration_Global_Before_Enter_Option")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v2_Configuration_Global_Before_Enter_Option")},d(r){r&&Z(e)}}}function zc(c){let e;return{c(){e=C("div"),e.textContent="Global On Error",A(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v2_Configuration_Global_On_Error")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v2_Configuration_Global_On_Error")},d(r){r&&Z(e)}}}function Cc(c){let e;return{c(){e=C("div"),e.textContent="Properties",A(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v2_Route_Object_Properties")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v2_Route_Object_Properties")},d(r){r&&Z(e)}}}function yc(c){let e;return{c(){e=C("div"),e.textContent="Before Enter",A(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v2_Route_Object_Before_Enter")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v2_Route_Object_Before_Enter")},d(r){r&&Z(e)}}}function Lc(c){let e;return{c(){e=C("div"),e.textContent="After Enter",A(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v2_Route_Object_After_Enter")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v2_Route_Object_After_Enter")},d(r){r&&Z(e)}}}function Hc(c){let e;return{c(){e=C("div"),e.textContent="On Error",A(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v2_Route_Object_On_Error")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v2_Route_Object_On_Error")},d(r){r&&Z(e)}}}function Mc(c){let e;return{c(){e=C("div"),e.textContent="Properties",A(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v2_Route_Component_Properties")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v2_Route_Component_Properties")},d(r){r&&Z(e)}}}function Rc(c){let e;return{c(){e=C("div"),e.textContent="Components",A(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v2_Route_Component_Components")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v2_Route_Component_Components")},d(r){r&&Z(e)}}}function Sc(c){let e;return{c(){e=C("div"),e.textContent="Routing",A(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v1_Navigation_Routing")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v1_Navigation_Routing")},d(r){r&&Z(e)}}}function wc(c){let e;return{c(){e=C("div"),e.textContent="Properties",A(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v2_Router_Link")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v2_Router_Link")},d(r){r&&Z(e)}}}function $c(c){let e;return{c(){e=C("div"),e.textContent="Properties",A(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v2_Routes_Store")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v2_Routes_Store")},d(r){r&&Z(e)}}}function Vc(c){let e;return{c(){e=C("div"),e.textContent="Test - Regex Path",A(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v2_Test_Regex_Path")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v2_Test_Regex_Path")},d(r){r&&Z(e)}}}function Ec(c){let e;return{c(){e=C("div"),e.textContent="Test - Regex Path 2",A(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v2_Test_Regex_Path_2")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v2_Test_Regex_Path_2")},d(r){r&&Z(e)}}}function Ac(c){let e;return{c(){e=C("div"),e.textContent="Test - Loading Component with Before Enter",A(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v2_Test_Loading_Component_Before_Enter")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v2_Test_Loading_Component_Before_Enter")},d(r){r&&Z(e)}}}function Tc(c){let e;return{c(){e=C("div"),e.textContent="Test - Any Route Wildcard",A(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="SCR_ROUTE_NOT_FOUND")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="SCR_ROUTE_NOT_FOUND")},d(r){r&&Z(e)}}}function qc(c){let e;return{c(){e=C("div"),e.textContent="Test - Not Found",A(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="SCR_NOT_FOUND_ROUTE")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="SCR_NOT_FOUND_ROUTE")},d(r){r&&Z(e)}}}function Pc(c){let e;return{c(){e=C("div"),e.textContent="See Version 1",A(e,"class","scr-menu-btn svelte-2tv2qh")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function kc(c){let e;return{c(){e=C("div"),e.textContent="Presentation",A(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v1_Presentation")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v1_Presentation")},d(r){r&&Z(e)}}}function Oc(c){let e;return{c(){e=C("div"),e.textContent="Installation",A(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v1_Installation")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v1_Installation")},d(r){r&&Z(e)}}}function Bc(c){let e;return{c(){e=C("div"),e.textContent="Getting Started",A(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v1_Getting_Started")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v1_Getting_Started")},d(r){r&&Z(e)}}}function Ic(c){let e;return{c(){e=C("div"),e.textContent="Configuration Options",A(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v1_Configuration_Options")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v1_Configuration_Options")},d(r){r&&Z(e)}}}function jc(c){let e;return{c(){e=C("div"),e.textContent="Global Before Enter",A(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v1_Configuration_Global_Before_Enter_Option")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v1_Configuration_Global_Before_Enter_Option")},d(r){r&&Z(e)}}}function Fc(c){let e;return{c(){e=C("div"),e.textContent="Global On Error",A(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v1_Configuration_Global_On_Error")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v1_Configuration_Global_On_Error")},d(r){r&&Z(e)}}}function Nc(c){let e;return{c(){e=C("div"),e.textContent="Properties",A(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v1_Route_Object_Properties")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v1_Route_Object_Properties")},d(r){r&&Z(e)}}}function Dc(c){let e;return{c(){e=C("div"),e.textContent="Before Enter",A(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v1_Route_Object_Before_Enter")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v1_Route_Object_Before_Enter")},d(r){r&&Z(e)}}}function Wc(c){let e;return{c(){e=C("div"),e.textContent="After Before Enter",A(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v1_Route_Object_After_Enter")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v1_Route_Object_After_Enter")},d(r){r&&Z(e)}}}function Gc(c){let e;return{c(){e=C("div"),e.textContent="On Error",A(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v1_Route_Object_On_Error")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v1_Route_Object_On_Error")},d(r){r&&Z(e)}}}function Uc(c){let e;return{c(){e=C("div"),e.textContent="Properties",A(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v1_Route_Component_Properties")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v1_Route_Component_Properties")},d(r){r&&Z(e)}}}function Zc(c){let e;return{c(){e=C("div"),e.textContent="Components",A(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v1_Route_Component_Components")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v1_Route_Component_Components")},d(r){r&&Z(e)}}}function Yc(c){let e;return{c(){e=C("div"),e.textContent="Routing",A(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v1_Navigation_Routing")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v1_Navigation_Routing")},d(r){r&&Z(e)}}}function Kc(c){let e;return{c(){e=C("div"),e.textContent="Store",A(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v1_Navigation_Store")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v1_Navigation_Store")},d(r){r&&Z(e)}}}function Xc(c){let e;return{c(){e=C("div"),e.textContent="Properties",A(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v1_Router_Link")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v1_Router_Link")},d(r){r&&Z(e)}}}function Qc(c){let e;return{c(){e=C("div"),e.textContent="Properties",A(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v1_Router_Store")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v1_Router_Store")},d(r){r&&Z(e)}}}function Jc(c){let e;return{c(){e=C("div"),e.textContent="Test - Regex Path",A(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v1_Test_Regex_Path")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v1_Test_Regex_Path")},d(r){r&&Z(e)}}}function e9(c){let e;return{c(){e=C("div"),e.textContent="Test - Regex Path 2",A(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v1_Test_Regex_Path_2")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v1_Test_Regex_Path_2")},d(r){r&&Z(e)}}}function t9(c){let e;return{c(){e=C("div"),e.textContent="Test - Loading Component with Before Enter",A(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v1_Test_Loading_Component_Before_Enter")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v1_Test_Loading_Component_Before_Enter")},d(r){r&&Z(e)}}}function r9(c){let e;return{c(){e=C("div"),e.textContent="Test - Any Route Wildcard",A(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="SCR_ROUTE_NOT_FOUND")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="SCR_ROUTE_NOT_FOUND")},d(r){r&&Z(e)}}}function c9(c){let e;return{c(){e=C("div"),e.textContent="Test - Not Found",A(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="SCR_NOT_FOUND_ROUTE")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="SCR_NOT_FOUND_ROUTE")},d(r){r&&Z(e)}}}function o9(c){let e;return{c(){e=C("div"),e.textContent="See Version 2",A(e,"class","scr-menu-btn svelte-2tv2qh")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function n9(c){let e;return{c(){e=C("div"),e.textContent="VERSION 1",A(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v1_Getting_Started")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v1_Getting_Started")},d(r){r&&Z(e)}}}function a9(c){let e;return{c(){e=C("div"),e.textContent="VERSION 2",A(e,"class","scr-menu-btn svelte-2tv2qh"),q1(e,"scr-menu-active",c[1]=="v1_Getting_Started")},m(r,t){Y(r,e,t)},p(r,t){t&2&&q1(e,"scr-menu-active",r[1]=="v1_Getting_Started")},d(r){r&&Z(e)}}}function s9(c){let e,r,t=c[0].menuOpened&&$t(c);return{c(){t&&t.c(),e=S4()},m(o,n){t&&t.m(o,n),Y(o,e,n),r=!0},p(o,[n]){o[0].menuOpened?t?(t.p(o,n),n&1&&m1(t,1)):(t=$t(o),t.c(),m1(t,1),t.m(e.parentNode,e)):t&&(l4(),d1(t,1,1,()=>{t=null}),u4())},i(o){r||(m1(t),r=!0)},o(o){d1(t),r=!1},d(o){t&&t.d(o),o&&Z(e)}}}function i9(c,e,r){let t,o,n;Q0(c,ac,a=>r(5,o=a)),Q0(c,V0,a=>r(0,n=a));let b=!1,v=!1,h="";return c.$$.update=()=>{c.$$.dirty&1&&r(2,t=n.version>0?`Version ${n.version}`:"Menu"),c.$$.dirty&32&&(o?r(3,b=o.currentRoute):r(3,b=!1)),c.$$.dirty&8&&(b?r(4,v=b.definition):r(4,v=!1)),c.$$.dirty&16&&(v?r(1,h=v.name):r(1,h=!1))},[n,h,t,b,v,o]}class l9 extends e2{constructor(e){super(),J1(this,e,i9,s9,X1,{})}}function u9(c){let e;return{c(){e=C("span"),e.innerHTML='',A(e,"class","scr-close-menu svelte-1tc58v8")},m(r,t){Y(r,e,t)},d(r){r&&Z(e)}}}function f9(c){let e;return{c(){e=C("span"),e.innerHTML=''},m(r,t){Y(r,e,t)},d(r){r&&Z(e)}}}function h9(c){let e;return{c(){e=C("b"),e.textContent="Svelte Client Router",A(e,"class","svelte-1tc58v8")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function v9(c){let e;return{c(){e=C("span"),e.innerHTML=''},m(r,t){Y(r,e,t)},d(r){r&&Z(e)}}}function p9(c){let e;return{c(){e=C("span"),e.innerHTML=''},m(r,t){Y(r,e,t)},d(r){r&&Z(e)}}}function m9(c){let e,r,t,o,n,b,v,h,a,s,f,l;function m(_,H){return _[0].menuOpened?f9:u9}let d=m(c),z=d(c);b=new F1({props:{params:{name:"rootRoute"},$$slots:{default:[h9]},$$scope:{ctx:c}}});function y(_,H){return _[0].themeDark?p9:v9}let S=y(c),x=S(c);return{c(){e=C("div"),r=C("div"),t=C("div"),o=C("span"),z.c(),n=k(),H1(b.$$.fragment),v=k(),h=C("div"),a=C("span"),x.c(),A(t,"class","scr-menu svelte-1tc58v8"),A(h,"class","scr-theme svelte-1tc58v8"),A(r,"class","scr-header svelte-1tc58v8")},m(_,H){Y(_,e,H),i(e,r),i(r,t),i(t,o),z.m(o,null),i(r,n),C1(b,r,null),i(r,v),i(r,h),i(h,a),x.m(a,null),s=!0,f||(l=[i0(o,"click",c[2]),i0(a,"click",c[1])],f=!0)},p(_,[H]){d!==(d=m(_))&&(z.d(1),z=d(_),z&&(z.c(),z.m(o,null)));const L={};H&8&&(L.$$scope={dirty:H,ctx:_}),b.$set(L),S!==(S=y(_))&&(x.d(1),x=S(_),x&&(x.c(),x.m(a,null)))},i(_){s||(m1(b.$$.fragment,_),s=!0)},o(_){d1(b.$$.fragment,_),s=!1},d(_){_&&Z(e),z.d(),y1(b),x.d(),f=!1,H0(l)}}}function d9(c,e,r){let t;Q0(c,V0,b=>r(0,t=b));async function o(){await V0.setThemeDark(!t.themeDark)}function n(){V0.setMenuOpened(!t.menuOpened)}return[t,o,n]}class b9 extends e2{constructor(e){super(),J1(this,e,d9,m9,X1,{})}}function x9(c){let e,r,t,o,n="2.0.2",b,v,h,a,s,f,l,m,d,z,y;return{c(){e=C("div"),r=C("div"),t=C("b"),t.textContent="Last Git Version:",o=k(),b=M1(n),v=k(),h=C("br"),a=k(),s=C("br"),f=k(),l=C("b"),l.textContent="License:",m=k(),d=C("a"),d.textContent="MIT",z=k(),y=C("div"),y.innerHTML=`Github: https://github.com/arthurgermano/svelte-client-router

- NPM: https://www.npmjs.com/package/svelte-client-router`,T(d,"href","https://en.wikipedia.org/wiki/MIT_License"),T(d,"target","_blank"),T(r,"class","scr-footer-left"),T(y,"class","scr-footer-right"),T(e,"class","scr-footer svelte-8f7vx5")},m(S,x){Y(S,e,x),i(e,r),i(r,t),i(r,o),i(r,b),i(r,v),i(r,h),i(r,a),i(r,s),i(r,f),i(r,l),i(r,m),i(r,d),i(e,z),i(e,y)},p:E1,i:E1,o:E1,d(S){S&&Z(e)}}}class x9 extends e2{constructor(e){super(),J1(this,e,null,b9,X1,{})}}function g9(c){let e,r,t,o,n,b,v,h,a,s,f,l,m;r=new d9({}),b=new i9({});const d=c[3].default,z=h6(d,c,c[2],null);return l=new x9({}),{c(){e=C("div"),H1(r.$$.fragment),t=k(),o=C("div"),n=C("div"),H1(b.$$.fragment),a=k(),s=C("div"),z&&z.c(),f=k(),H1(l.$$.fragment),T(n,"class","scr-layout-menu svelte-17vzbm3"),z0(n,"position",c[1]),T(s,"id","scr-container"),T(s,"class","scr-layout-container svelte-17vzbm3"),q1(s,"scr-layout-container__span",!c[0].menuOpened),T(o,"class","scr-layout-page svelte-17vzbm3"),T(e,"class","scr-layout svelte-17vzbm3")},m(y,S){Y(y,e,S),C1(r,e,null),i(e,t),i(e,o),i(o,n),C1(b,n,null),i(o,a),i(o,s),z&&z.m(s,null),i(e,f),C1(l,e,null),m=!0},p(y,[S]){(!m||S&2)&&z0(n,"position",y[1]),z&&z.p&&(!m||S&4)&&p6(z,d,y,y[2],m?v6(d,y[2],S,null):m6(y[2]),null),S&1&&q1(s,"scr-layout-container__span",!y[0].menuOpened)},i(y){m||(m1(r.$$.fragment,y),m1(b.$$.fragment,y),n4(()=>{h&&h.end(1),v=z6(n,L4,{delay:201,x:300,duration:200,opacity:0}),v.start()}),m1(z,y),m1(l.$$.fragment,y),m=!0)},o(y){d1(r.$$.fragment,y),d1(b.$$.fragment,y),v&&v.invalidate(),h=C6(n,L4,{x:300,duration:200,opacity:0}),d1(z,y),d1(l.$$.fragment,y),m=!1},d(y){y&&Z(e),y1(r),y1(b),y&&h&&h.end(),z&&z.d(y),y1(l)}}}function _9(c,e,r){let t,o;Q0(c,V0,v=>r(0,o=v));let{$$slots:n={},$$scope:b}=e;return c.$$set=v=>{"$$scope"in v&&r(2,b=v.$$scope)},c.$$.update=()=>{c.$$.dirty&1&&r(1,t=o.menuOpened?"relative":"absolute")},[o,t,b,n]}class z9 extends e2{constructor(e){super(),J1(this,e,_9,g9,X1,{})}}function n0({resolve:c}){V0.setVersion(1),c(!0)}const C9=[{name:"v1_Presentation",path:"/svelte-client-router/v1/presentation",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>W9),void 0),title:"SCR - Presentation - Version 1",beforeEnter:[n0]},{name:"v1_Installation",path:"/svelte-client-router/v1/installation",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>Y9),void 0),title:"SCR - Installation - Version 1",beforeEnter:[n0]},{name:"v1_Getting_Started",path:"/svelte-client-router/v1/gettingStarted",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>J9),void 0),title:"SCR - Getting Started - Version 1",beforeEnter:[n0]},{name:"v1_Configuration_Options",path:"/svelte-client-router/v1/configurationOptions",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>co),void 0),title:"SCR - Configuration Options - Version 1",beforeEnter:[n0]},{name:"v1_Configuration_Global_Before_Enter_Option",path:"/svelte-client-router/v1/configurationGlobalBeforeEnterOption",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>lo),void 0),title:"SCR - Configuration Global Before Enter Option - Version 1",beforeEnter:[n0]},{name:"v1_Configuration_Global_On_Error",path:"/svelte-client-router/v1/configurationGlobalOnError",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>mo),void 0),title:"SCR - Configuration Global On Error - Version 1",beforeEnter:[n0]},{name:"v1_Route_Object_Properties",path:"/svelte-client-router/v1/routeObjectProperties",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>_o),void 0),title:"SCR - Route Object Properties - Version 1",beforeEnter:[n0]},{name:"v1_Route_Object_Before_Enter",path:"/svelte-client-router/v1/routeObjectBeforeEnter",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>Ho),void 0),title:"SCR - Route Object Before Enter - Version 1",beforeEnter:[n0]},{name:"v1_Route_Object_After_Enter",path:"/svelte-client-router/v1/routeObjectAfterEnter",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>wo),void 0),title:"SCR - Route Object After Enter - Version 1",beforeEnter:[n0]},{name:"v1_Route_Object_On_Error",path:"/svelte-client-router/v1/routeObjectOnError",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>Ao),void 0),title:"SCR - Route Object On Error - Version 1",beforeEnter:[n0]},{name:"v1_Route_Component_Properties",path:"/svelte-client-router/v1/routeComponentProperties",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>Io),void 0),title:"SCR - Route Component Properties - Version 1",beforeEnter:[n0]},{name:"v1_Route_Component_Components",path:"/svelte-client-router/v1/routeComponentComponents",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>Wo),void 0),title:"SCR - Route Component Components - Version 1",beforeEnter:[n0]},{name:"v1_Navigation_Routing",path:"/svelte-client-router/v1/navigationRouting",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>Yo),void 0),title:"SCR - Navigation Routing - Version 1",beforeEnter:[n0]},{name:"v1_Navigation_Store",path:"/svelte-client-router/v1/navigationStore",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>Jo),void 0),title:"SCR - Navigation Store - Version 1",beforeEnter:[n0]},{name:"v1_Router_Link",path:"/svelte-client-router/v1/routerLink",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>cn),void 0),title:"SCR - Router Link - Version 1",beforeEnter:[n0]},{name:"v1_Router_Store",path:"/svelte-client-router/v1/routerStore",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>sn),void 0),title:"SCR - Router Store - Version 1",beforeEnter:[n0]},{name:"v1_Test_Regex_Path",path:"/svelte-client-router/v1/:testParam/testRegexPath",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>mn),void 0),title:"SCR - Test Regex Path - Version 1",beforeEnter:[n0]},{name:"v1_Test_Regex_Path_2",path:"/svelte-client-router/v1/:firstParam/testRegexPath2/:secondParam",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>Cn),void 0),title:"SCR - Test Regex Path 2 - Version 1",beforeEnter:[n0]},{name:"v1_Test_Loading_Component_Before_Enter",path:"/svelte-client-router/v1/testLoadingComponentWithBeforeEnter/:timeout",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>En),void 0),title:"SCR - Test Regex Path 2 - Version 1",beforeEnter:[n0,({resolve:c,routeTo:e})=>{let r=10;e&&e.pathParams&&e.pathParams.timeout&&(e.pathParams.timeout=parseInt(e.pathParams.timeout),e.pathParams.timeout>0&&(r=e.pathParams.timeout)),setTimeout(()=>{c(!0)},r)}]},{name:"v1_Test_Any_Route_Wildcard",path:"/svelte-client-router/v1/anyRouteWildcard/*/:somePathParam",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>On),void 0),title:"SCR - Test - Any Route Wildcard - Version 1"}];function y9({resolve:c}){V0.setVersion(0),c(!0)}function i0({resolve:c}){V0.setVersion(2),c(!0)}const L9=[{name:"root",path:"",beforeEnter:({resolve:c})=>{c({path:"/svelte-client-router/"})}},{name:"root2",path:"/",beforeEnter:({resolve:c})=>{c({path:"/svelte-client-router/"})}},{name:"rootRoute",path:"/svelte-client-router/",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>Dn),void 0),title:"SCR - Home",beforeEnter:[y9]},{name:"v2_Presentation",path:"/svelte-client-router/v2/presentation",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>Zn),void 0),title:"SCR - Presentation - Version 2",beforeEnter:[i0]},{name:"v2_Installation",path:"/svelte-client-router/v2/installation",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>Qn),void 0),title:"SCR - Installation - Version 2",beforeEnter:[i0]},{name:"v2_Getting_Started",path:"/svelte-client-router/v2/gettingStarted",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>ra),void 0),title:"SCR - Getting Started - Version 2",beforeEnter:[i0]},{name:"v2_Configuration_Options",path:"/svelte-client-router/v2/configurationOptions",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>aa),void 0),title:"SCR - Configuration Options - Version 2",beforeEnter:[i0]},{name:"v2_Configuration_Global_Before_Enter_Option",path:"/svelte-client-router/v2/configurationGlobalBeforeEnterOption",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>ha),void 0),title:"SCR - Configuration Global Before Enter Option - Version 2",beforeEnter:[i0]},{name:"v2_Configuration_Global_On_Error",path:"/svelte-client-router/v2/configurationGlobalOnError",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>xa),void 0),title:"SCR - Configuration Global On Error - Version 2",beforeEnter:[i0]},{name:"v2_Route_Object_Properties",path:"/svelte-client-router/v2/routeObjectProperties",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>Ca),void 0),title:"SCR - Route Object Properties - Version 2",beforeEnter:[i0],ignoreScroll:!0},{name:"v2_Route_Object_Before_Enter",path:"/svelte-client-router/v2/routeObjectBeforeEnter",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>Ra),void 0),title:"SCR - Route Object Before Enter - Version 2",beforeEnter:[i0]},{name:"v2_Route_Object_After_Enter",path:"/svelte-client-router/v2/routeObjectAfterEnter",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>Ta),void 0),title:"SCR - Route Object After Enter - Version 2",beforeEnter:[i0]},{name:"v2_Route_Object_On_Error",path:"/svelte-client-router/v2/routeObjectOnError",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>Oa),void 0),title:"SCR - Route Object On Error - Version 2",beforeEnter:[i0]},{name:"v2_Route_Component_Properties",path:"/svelte-client-router/v2/routeComponentProperties",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>Da),void 0),title:"SCR - Route Component Properties - Version 2",beforeEnter:[i0]},{name:"v2_Route_Component_Components",path:"/svelte-client-router/v2/routeComponentComponents",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>Za),void 0),title:"SCR - Route Component Components - Version 2",beforeEnter:[i0]},{name:"v2_Navigation_Routing",path:"/svelte-client-router/v2/navigationRouting",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>Qa),void 0),title:"SCR - Navigation Routing - Version 2",beforeEnter:[i0]},{name:"v2_Router_Link",path:"/svelte-client-router/v2/routerLink",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>rs),void 0),title:"SCR - Router Link - Version 2",beforeEnter:[i0]},{name:"v2_Routes_Store",path:"/svelte-client-router/v2/routesStore",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>as),void 0),title:"SCR - Routes Store - Version 2",beforeEnter:[i0]},{name:"v2_Test_Regex_Path",path:"/svelte-client-router/v2/:testParam/testRegexPath",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>vs),void 0),title:"SCR - Test Regex Path - Version 2",beforeEnter:[i0]},{name:"v2_Test_Regex_Path_2",path:"/svelte-client-router/v2/:firstParam/testRegexPath2/:secondParam",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>_s),void 0),title:"SCR - Test Regex Path 2 - Version 2",beforeEnter:[i0]},{name:"v2_Test_Loading_Component_Before_Enter",path:"/svelte-client-router/v2/testLoadingComponentWithBeforeEnter/:timeout",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>$s),void 0),title:"SCR - Test Regex Path 2 - Version 2",beforeEnter:[i0,({resolve:c,routeTo:e})=>{let r=20;e&&e.pathParams&&e.pathParams.timeout&&(e.pathParams.timeout=parseInt(e.pathParams.timeout),e.pathParams.timeout>0&&(r=e.pathParams.timeout)),setTimeout(()=>{c(!0)},r)}]},{name:"v2_Test_Any_Route_Wildcard",path:"/svelte-client-router/v2/anyRouteWildcard/*/:somePathParam",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>Ps),void 0),title:"SCR - Test - Any Route Wildcard - Version 2"}],H9=C9.concat(L9);function M9(c){return{c:E1,m:E1,p:E1,i:E1,o:E1,d:E1}}function R9(c){let e,r;return e=new z9({props:{$$slots:{default:[S9]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,o){const n={};o&8&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}function S9(c){let e,r;return e=new rc({props:{routes:H9,defaultLoadingComponent:lc,defaultLoadingParams:{subLoadingText:"SubLoading Text Via Param"}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p:E1,i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}function w9(c){let e;return{c(){e=C("div"),e.textContent="loading...",T(e,"class","scr-loading svelte-kxsa5g")},m(r,t){Y(r,e,t)},p:E1,i:E1,o:E1,d(r){r&&Z(e)}}}function $9(c){let e,r,t,o={ctx:c,current:null,token:null,hasCatch:!1,pending:w9,then:R9,catch:M9,value:2,blocks:[,,,]};return y6(ur(),o),{c(){e=C("div"),o.block.c(),T(e,"class",r="scr-app "+c[0]+" svelte-kxsa5g")},m(n,b){Y(n,e,b),o.block.m(e,o.anchor=null),o.mount=()=>e,o.anchor=null,t=!0},p(n,[b]){c=n,Re(o,c,b),(!t||b&1&&r!==(r="scr-app "+c[0]+" svelte-kxsa5g"))&&T(e,"class",r)},i(n){t||(m1(o.block),t=!0)},o(n){for(let b=0;b<3;b+=1){const v=o.blocks[b];d1(v)}t=!1},d(n){n&&Z(e),o.block.d(),o.token=null,o=null}}}function V9(c,e,r){let t,o;return Q0(c,V0,n=>r(1,o=n)),s4.setBeforeEnter(({resolve:n})=>{V0.setVersion(0),n(!0)}),s4.setConsoleLogStores(!1),s4.setHashMode(!0),s4.setMaxRedirectBeforeEnter(5),s4.setNotFoundRoute("/svelte-client-router/notFound"),s4.setUseScroll(!0),s4.setScrollProps({target:"scr-container"}),s4.setConsiderTrailingSlashOnMatchingRoute(!0),c.$$.update=()=>{c.$$.dirty&2&&r(0,t=o.themeDark?"scr-theme-dark":"scr-theme-light")},[t,o]}class E9 extends e2{constructor(e){super(),J1(this,e,V9,$9,X1,{})}}/*! + NPM: https://www.npmjs.com/package/svelte-client-router`,A(d,"href","https://en.wikipedia.org/wiki/MIT_License"),A(d,"target","_blank"),A(r,"class","scr-footer-left"),A(y,"class","scr-footer-right"),A(e,"class","scr-footer svelte-8f7vx5")},m(S,x){Y(S,e,x),i(e,r),i(r,t),i(r,o),i(r,b),i(r,v),i(r,h),i(r,a),i(r,s),i(r,f),i(r,l),i(r,m),i(r,d),i(e,z),i(e,y)},p:E1,i:E1,o:E1,d(S){S&&Z(e)}}}class g9 extends e2{constructor(e){super(),J1(this,e,null,x9,X1,{})}}function _9(c){let e,r,t,o,n,b,v,h,a,s,f,l,m;r=new b9({}),b=new l9({});const d=c[3].default,z=h6(d,c,c[2],null);return l=new g9({}),{c(){e=C("div"),H1(r.$$.fragment),t=k(),o=C("div"),n=C("div"),H1(b.$$.fragment),a=k(),s=C("div"),z&&z.c(),f=k(),H1(l.$$.fragment),A(n,"class","scr-layout-menu svelte-17vzbm3"),z0(n,"position",c[1]),A(s,"id","scr-container"),A(s,"class","scr-layout-container svelte-17vzbm3"),q1(s,"scr-layout-container__span",!c[0].menuOpened),A(o,"class","scr-layout-page svelte-17vzbm3"),A(e,"class","scr-layout svelte-17vzbm3")},m(y,S){Y(y,e,S),C1(r,e,null),i(e,t),i(e,o),i(o,n),C1(b,n,null),i(o,a),i(o,s),z&&z.m(s,null),i(e,f),C1(l,e,null),m=!0},p(y,[S]){(!m||S&2)&&z0(n,"position",y[1]),z&&z.p&&(!m||S&4)&&p6(z,d,y,y[2],m?v6(d,y[2],S,null):m6(y[2]),null),S&1&&q1(s,"scr-layout-container__span",!y[0].menuOpened)},i(y){m||(m1(r.$$.fragment,y),m1(b.$$.fragment,y),n4(()=>{h&&h.end(1),v=z6(n,L4,{delay:201,x:300,duration:200,opacity:0}),v.start()}),m1(z,y),m1(l.$$.fragment,y),m=!0)},o(y){d1(r.$$.fragment,y),d1(b.$$.fragment,y),v&&v.invalidate(),h=C6(n,L4,{x:300,duration:200,opacity:0}),d1(z,y),d1(l.$$.fragment,y),m=!1},d(y){y&&Z(e),y1(r),y1(b),y&&h&&h.end(),z&&z.d(y),y1(l)}}}function z9(c,e,r){let t,o;Q0(c,V0,v=>r(0,o=v));let{$$slots:n={},$$scope:b}=e;return c.$$set=v=>{"$$scope"in v&&r(2,b=v.$$scope)},c.$$.update=()=>{c.$$.dirty&1&&r(1,t=o.menuOpened?"relative":"absolute")},[o,t,b,n]}class C9 extends e2{constructor(e){super(),J1(this,e,z9,_9,X1,{})}}function t0({resolve:c}){V0.setVersion(1),c(!0)}const y9=[{name:"v1_Presentation",path:"/svelte-client-router/v1/presentation",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>G9),void 0),title:"SCR - Presentation - Version 1",beforeEnter:[t0]},{name:"v1_Installation",path:"/svelte-client-router/v1/installation",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>K9),void 0),title:"SCR - Installation - Version 1",beforeEnter:[t0]},{name:"v1_Getting_Started",path:"/svelte-client-router/v1/gettingStarted",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>eo),void 0),title:"SCR - Getting Started - Version 1",beforeEnter:[t0]},{name:"v1_Configuration_Options",path:"/svelte-client-router/v1/configurationOptions",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>oo),void 0),title:"SCR - Configuration Options - Version 1",beforeEnter:[t0]},{name:"v1_Configuration_Global_Before_Enter_Option",path:"/svelte-client-router/v1/configurationGlobalBeforeEnterOption",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>uo),void 0),title:"SCR - Configuration Global Before Enter Option - Version 1",beforeEnter:[t0]},{name:"v1_Configuration_Global_On_Error",path:"/svelte-client-router/v1/configurationGlobalOnError",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>bo),void 0),title:"SCR - Configuration Global On Error - Version 1",beforeEnter:[t0]},{name:"v1_Route_Object_Properties",path:"/svelte-client-router/v1/routeObjectProperties",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>zo),void 0),title:"SCR - Route Object Properties - Version 1",beforeEnter:[t0]},{name:"v1_Route_Object_Before_Enter",path:"/svelte-client-router/v1/routeObjectBeforeEnter",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>Mo),void 0),title:"SCR - Route Object Before Enter - Version 1",beforeEnter:[t0]},{name:"v1_Route_Object_After_Enter",path:"/svelte-client-router/v1/routeObjectAfterEnter",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>$o),void 0),title:"SCR - Route Object After Enter - Version 1",beforeEnter:[t0]},{name:"v1_Route_Object_On_Error",path:"/svelte-client-router/v1/routeObjectOnError",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>qo),void 0),title:"SCR - Route Object On Error - Version 1",beforeEnter:[t0]},{name:"v1_Route_Component_Properties",path:"/svelte-client-router/v1/routeComponentProperties",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>jo),void 0),title:"SCR - Route Component Properties - Version 1",beforeEnter:[t0]},{name:"v1_Route_Component_Components",path:"/svelte-client-router/v1/routeComponentComponents",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>Go),void 0),title:"SCR - Route Component Components - Version 1",beforeEnter:[t0]},{name:"v1_Navigation_Routing",path:"/svelte-client-router/v1/navigationRouting",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>Ko),void 0),title:"SCR - Navigation Routing - Version 1",beforeEnter:[t0]},{name:"v1_Navigation_Store",path:"/svelte-client-router/v1/navigationStore",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>en),void 0),title:"SCR - Navigation Store - Version 1",beforeEnter:[t0]},{name:"v1_Router_Link",path:"/svelte-client-router/v1/routerLink",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>on),void 0),title:"SCR - Router Link - Version 1",beforeEnter:[t0]},{name:"v1_Router_Store",path:"/svelte-client-router/v1/routerStore",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>ln),void 0),title:"SCR - Router Store - Version 1",beforeEnter:[t0]},{name:"v1_Test_Regex_Path",path:"/svelte-client-router/v1/:testParam/testRegexPath",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>dn),void 0),title:"SCR - Test Regex Path - Version 1",beforeEnter:[t0]},{name:"v1_Test_Regex_Path_2",path:"/svelte-client-router/v1/:firstParam/testRegexPath2/:secondParam",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>yn),void 0),title:"SCR - Test Regex Path 2 - Version 1",beforeEnter:[t0]},{name:"v1_Test_Loading_Component_Before_Enter",path:"/svelte-client-router/v1/testLoadingComponentWithBeforeEnter/:timeout",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>An),void 0),title:"SCR - Test Regex Path 2 - Version 1",beforeEnter:[t0,({resolve:c,routeTo:e})=>{let r=10;e&&e.pathParams&&e.pathParams.timeout&&(e.pathParams.timeout=parseInt(e.pathParams.timeout),e.pathParams.timeout>0&&(r=e.pathParams.timeout)),setTimeout(()=>{c(!0)},r)}]},{name:"v1_Test_Any_Route_Wildcard",path:"/svelte-client-router/v1/anyRouteWildcard/*/:somePathParam",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>Bn),void 0),title:"SCR - Test - Any Route Wildcard - Version 1",beforeEnter:[t0]}];function L9({resolve:c}){V0.setVersion(0),c(!0)}function a0({resolve:c}){V0.setVersion(2),c(!0)}const H9=[{name:"root",path:"",beforeEnter:({resolve:c})=>{c({path:"/svelte-client-router/"})}},{name:"root2",path:"/",beforeEnter:({resolve:c})=>{c({path:"/svelte-client-router/"})}},{name:"rootRoute",path:"/svelte-client-router/",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>Wn),void 0),title:"SCR - Home",beforeEnter:[L9]},{name:"v2_Presentation",path:"/svelte-client-router/v2/presentation",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>Yn),void 0),title:"SCR - Presentation - Version 2",beforeEnter:[a0]},{name:"v2_Installation",path:"/svelte-client-router/v2/installation",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>Jn),void 0),title:"SCR - Installation - Version 2",beforeEnter:[a0]},{name:"v2_Getting_Started",path:"/svelte-client-router/v2/gettingStarted",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>ca),void 0),title:"SCR - Getting Started - Version 2",beforeEnter:[a0]},{name:"v2_Configuration_Options",path:"/svelte-client-router/v2/configurationOptions",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>sa),void 0),title:"SCR - Configuration Options - Version 2",beforeEnter:[a0]},{name:"v2_Configuration_Global_Before_Enter_Option",path:"/svelte-client-router/v2/configurationGlobalBeforeEnterOption",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>va),void 0),title:"SCR - Configuration Global Before Enter Option - Version 2",beforeEnter:[a0]},{name:"v2_Configuration_Global_On_Error",path:"/svelte-client-router/v2/configurationGlobalOnError",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>ga),void 0),title:"SCR - Configuration Global On Error - Version 2",beforeEnter:[a0]},{name:"v2_Route_Object_Properties",path:"/svelte-client-router/v2/routeObjectProperties",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>ya),void 0),title:"SCR - Route Object Properties - Version 2",beforeEnter:[a0],ignoreScroll:!0},{name:"v2_Route_Object_Before_Enter",path:"/svelte-client-router/v2/routeObjectBeforeEnter",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>Sa),void 0),title:"SCR - Route Object Before Enter - Version 2",beforeEnter:[a0]},{name:"v2_Route_Object_After_Enter",path:"/svelte-client-router/v2/routeObjectAfterEnter",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>Ta),void 0),title:"SCR - Route Object After Enter - Version 2",beforeEnter:[a0]},{name:"v2_Route_Object_On_Error",path:"/svelte-client-router/v2/routeObjectOnError",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>Ba),void 0),title:"SCR - Route Object On Error - Version 2",beforeEnter:[a0]},{name:"v2_Route_Component_Properties",path:"/svelte-client-router/v2/routeComponentProperties",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>Wa),void 0),title:"SCR - Route Component Properties - Version 2",beforeEnter:[a0]},{name:"v2_Route_Component_Components",path:"/svelte-client-router/v2/routeComponentComponents",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>Ya),void 0),title:"SCR - Route Component Components - Version 2",beforeEnter:[a0]},{name:"v2_Navigation_Routing",path:"/svelte-client-router/v2/navigationRouting",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>Ja),void 0),title:"SCR - Navigation Routing - Version 2",beforeEnter:[a0]},{name:"v2_Router_Link",path:"/svelte-client-router/v2/routerLink",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>cs),void 0),title:"SCR - Router Link - Version 2",beforeEnter:[a0]},{name:"v2_Routes_Store",path:"/svelte-client-router/v2/routesStore",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>ss),void 0),title:"SCR - Routes Store - Version 2",beforeEnter:[a0]},{name:"v2_Test_Regex_Path",path:"/svelte-client-router/v2/:testParam/testRegexPath",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>ps),void 0),title:"SCR - Test Regex Path - Version 2",beforeEnter:[a0]},{name:"v2_Test_Regex_Path_2",path:"/svelte-client-router/v2/:firstParam/testRegexPath2/:secondParam",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>zs),void 0),title:"SCR - Test Regex Path 2 - Version 2",beforeEnter:[a0]},{name:"v2_Test_Loading_Component_Before_Enter",path:"/svelte-client-router/v2/testLoadingComponentWithBeforeEnter/:timeout",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>Vs),void 0),title:"SCR - Test Regex Path 2 - Version 2",beforeEnter:[a0,({resolve:c,routeTo:e})=>{let r=20;e&&e.pathParams&&e.pathParams.timeout&&(e.pathParams.timeout=parseInt(e.pathParams.timeout),e.pathParams.timeout>0&&(r=e.pathParams.timeout)),setTimeout(()=>{c(!0)},r)}]},{name:"v2_Test_Any_Route_Wildcard",path:"/svelte-client-router/v2/anyRouteWildcard/*/:somePathParam",lazyLoadComponent:()=>v2(()=>Promise.resolve().then(()=>ks),void 0),title:"SCR - Test - Any Route Wildcard - Version 2",beforeEnter:[a0]}],M9=y9.concat(H9);function R9(c){return{c:E1,m:E1,p:E1,i:E1,o:E1,d:E1}}function S9(c){let e,r;return e=new C9({props:{$$slots:{default:[w9]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,o){const n={};o&8&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}function w9(c){let e,r;return e=new cc({props:{routes:M9,defaultLoadingComponent:uc,defaultLoadingParams:{subLoadingText:"SubLoading Text Via Param"}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p:E1,i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}function $9(c){let e;return{c(){e=C("div"),e.textContent="loading...",A(e,"class","scr-loading svelte-kxsa5g")},m(r,t){Y(r,e,t)},p:E1,i:E1,o:E1,d(r){r&&Z(e)}}}function V9(c){let e,r,t,o={ctx:c,current:null,token:null,hasCatch:!1,pending:$9,then:S9,catch:R9,value:2,blocks:[,,,]};return y6(ur(),o),{c(){e=C("div"),o.block.c(),A(e,"class",r="scr-app "+c[0]+" svelte-kxsa5g")},m(n,b){Y(n,e,b),o.block.m(e,o.anchor=null),o.mount=()=>e,o.anchor=null,t=!0},p(n,[b]){c=n,Re(o,c,b),(!t||b&1&&r!==(r="scr-app "+c[0]+" svelte-kxsa5g"))&&A(e,"class",r)},i(n){t||(m1(o.block),t=!0)},o(n){for(let b=0;b<3;b+=1){const v=o.blocks[b];d1(v)}t=!1},d(n){n&&Z(e),o.block.d(),o.token=null,o=null}}}function E9(c,e,r){let t,o;return Q0(c,V0,n=>r(1,o=n)),s4.setBeforeEnter(({resolve:n,routeTo:b})=>{console.log(b),V0.setVersion(0),n(!0)}),s4.setConsoleLogStores(!1),s4.setHashMode(!0),s4.setMaxRedirectBeforeEnter(5),s4.setNotFoundRoute("/svelte-client-router/notFound"),s4.setUseScroll(!0),s4.setScrollProps({target:"scr-container"}),s4.setConsiderTrailingSlashOnMatchingRoute(!0),c.$$.update=()=>{c.$$.dirty&2&&r(0,t=o.themeDark?"scr-theme-dark":"scr-theme-light")},[t,o]}class A9 extends e2{constructor(e){super(),J1(this,e,E9,V9,X1,{})}}/*! * Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) */(function(){var c={},e={};try{typeof window<"u"&&(c=window),typeof document<"u"&&(e=document)}catch{}var r=(c.navigator||{}).userAgent,t=r===void 0?"":r,o=c,n=e,b=(o.document,!!n.documentElement&&!!n.head&&typeof n.addEventListener=="function"&&n.createElement,~t.indexOf("MSIE")||t.indexOf("Trident/"),"___FONT_AWESOME___"),v=function(){try{return!0}catch{return!1}}(),h=o||{};h[b]||(h[b]={}),h[b].styles||(h[b].styles={}),h[b].hooks||(h[b].hooks={}),h[b].shims||(h[b].shims=[]);var a=h[b];function s(l,m){var d=(2"u"?setTimeout:setImmediate,W1=[];function Y1(){for(var j=0;j>>0;r1--;)X[r1]=j[r1];return X}function M2(j){return j.classList?E2(j.classList):(j.getAttribute("class")||"").split(" ").filter(function(X){return X})}function Z2(j,X){var r1,f1=X.split("-"),x1=f1[0],$1=f1.slice(1).join("-");return x1!==j||$1===""||(r1=$1,~z1.indexOf(r1))?null:$1}function t0(j){return"".concat(j).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function F2(j){return Object.keys(j||{}).reduce(function(X,r1){return X+"".concat(r1,": ").concat(j[r1],";")},"")}function B2(j){return j.size!==x2.size||j.x!==x2.x||j.y!==x2.y||j.rotate!==x2.rotate||j.flipX||j.flipY}function r0(j){var X=j.transform,r1=j.containerWidth,f1=j.iconWidth,x1={transform:"translate(".concat(r1/2," 256)")},$1="translate(".concat(32*X.x,", ").concat(32*X.y,") "),V1="scale(".concat(X.size/16*(X.flipX?-1:1),", ").concat(X.size/16*(X.flipY?-1:1),") "),A1="rotate(".concat(X.rotate," 0 0)");return{outer:x1,inner:{transform:"".concat($1," ").concat(V1," ").concat(A1)},path:{transform:"translate(".concat(f1/2*-1," -256)")}}}var c0={x:0,y:0,width:"100%",height:"100%"};function Y2(j){var X=!(1").concat(V1.map(x0).join(""),"")}var v0=function(){};function T0(j){return typeof(j.getAttribute?j.getAttribute($):null)=="string"}var N2={replace:function(j){var X=j[0],r1=j[1].map(function(x1){return x0(x1)}).join(` -`);if(X.parentNode&&X.outerHTML)X.outerHTML=r1+(s1.keepOriginalSource&&X.tagName.toLowerCase()!=="svg"?""):"");else if(X.parentNode){var f1=document.createElement("span");X.parentNode.replaceChild(f1,X),f1.outerHTML=r1}},nest:function(j){var X=j[0],r1=j[1];if(~M2(X).indexOf(s1.replacementClass))return N2.replace(j);var f1=new RegExp("".concat(s1.familyPrefix,"-.*"));delete r1[0].attributes.style,delete r1[0].attributes.id;var x1=r1[0].attributes.class.split(" ").reduce(function(V1,A1){return A1===s1.replacementClass||A1.match(f1)?V1.toSvg.push(A1):V1.toNode.push(A1),V1},{toNode:[],toSvg:[]});r1[0].attributes.class=x1.toSvg.join(" ");var $1=r1.map(function(V1){return x0(V1)}).join(` -`);X.setAttribute("class",x1.toNode.join(" ")),X.setAttribute($,""),X.innerHTML=$1}};function Z0(j){j()}function l0(j,X){var r1=typeof X=="function"?X:v0;if(j.length===0)r1();else{var f1=Z0;s1.mutateApproach===B&&(f1=l.requestAnimationFrame||Z0),f1(function(){var x1=s1.autoReplaceSvg===!0?N2.replace:N2[s1.autoReplaceSvg]||N2.replace,$1=T2.begin("mutate");j.map(x1),$1(),r1()})}}var Q2=!1;function Y0(){Q2=!1}var g0=null;function L0(j){if(d&&s1.observeMutations){var X=j.treeCallback,r1=j.nodeCallback,f1=j.pseudoElementsCallback,x1=j.observeMutationsRoot,$1=x1===void 0?m:x1;g0=new d(function(V1){Q2||E2(V1).forEach(function(A1){if(A1.type==="childList"&&0{"notFound"in o&&r(0,t=o.notFound)},[t]}class P9 extends e2{constructor(e){super(),J1(this,e,q9,T9,X1,{notFound:0})}}const k9=Object.freeze(Object.defineProperty({__proto__:null,default:P9},Symbol.toStringTag,{value:"Module"}));function Vt(c){let e;return{c(){e=C("hr")},m(r,t){Y(r,e,t)},d(r){r&&Z(e)}}}function Et(c){let e,r;return e=new F1({props:{params:{name:c[0].name},$$slots:{default:[O9]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,o){const n={};o&1&&(n.params={name:t[0].name}),o&9&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}function O9(c){let e,r=c[0].text+"",t;return{c(){e=C("button"),t=M1(r),T(e,"class","scr-page-btn svelte-1ysve6x"),T(e,"type","button")},m(o,n){Y(o,e,n),i(e,t)},p(o,n){n&1&&r!==(r=o[0].text+"")&&D2(t,r)},d(o){o&&Z(e)}}}function Tt(c){let e,r;return e=new F1({props:{params:{name:c[1].name},$$slots:{default:[B9]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,o){const n={};o&2&&(n.params={name:t[1].name}),o&10&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}function B9(c){let e,r=c[1].text+"",t;return{c(){e=C("button"),t=M1(r),T(e,"class","scr-page-btn svelte-1ysve6x"),T(e,"type","button")},m(o,n){Y(o,e,n),i(e,t)},p(o,n){n&2&&r!==(r=o[1].text+"")&&D2(t,r)},d(o){o&&Z(e)}}}function I9(c){let e,r,t,o,n,b,v,h;const a=c[2].default,s=h6(a,c,c[3],null);let f=(c[0].name||c[1].name)&&Vt(),l=c[0].name&&Et(c),m=c[1].name&&Tt(c);return{c(){e=C("div"),s&&s.c(),r=k(),f&&f.c(),t=k(),o=C("div"),l&&l.c(),n=k(),m&&m.c(),T(o,"class","scr-page-actions svelte-1ysve6x")},m(d,z){Y(d,e,z),s&&s.m(e,null),i(e,r),f&&f.m(e,null),i(e,t),i(e,o),l&&l.m(o,null),i(o,n),m&&m.m(o,null),h=!0},p(d,[z]){s&&s.p&&(!h||z&8)&&p6(s,a,d,d[3],h?v6(a,d[3],z,null):m6(d[3]),null),d[0].name||d[1].name?f||(f=Vt(),f.c(),f.m(e,t)):f&&(f.d(1),f=null),d[0].name?l?(l.p(d,z),z&1&&m1(l,1)):(l=Et(d),l.c(),m1(l,1),l.m(o,n)):l&&(l4(),d1(l,1,1,()=>{l=null}),u4()),d[1].name?m?(m.p(d,z),z&2&&m1(m,1)):(m=Tt(d),m.c(),m1(m,1),m.m(o,null)):m&&(l4(),d1(m,1,1,()=>{m=null}),u4())},i(d){h||(m1(s,d),m1(l),m1(m),n4(()=>{v&&v.end(1),b=z6(e,L4,{delay:301,x:300,duration:300,opacity:0}),b.start()}),h=!0)},o(d){d1(s,d),d1(l),d1(m),b&&b.invalidate(),v=C6(e,L4,{x:300,duration:300,opacity:0}),h=!1},d(d){d&&Z(e),s&&s.d(d),f&&f.d(),l&&l.d(),m&&m.d(),d&&v&&v.end()}}}function j9(c,e,r){let{$$slots:t={},$$scope:o}=e,{back:n={}}=e,{forward:b={}}=e;return c.$$set=v=>{"back"in v&&r(0,n=v.back),"forward"in v&&r(1,b=v.forward),"$$scope"in v&&r(3,o=v.$$scope)},[n,b,t,o]}class p2 extends e2{constructor(e){super(),J1(this,e,j9,I9,X1,{back:0,forward:1})}}function F9(c){let e;return{c(){e=C("div"),e.innerHTML=`

Presentation

+ */(function(){function c(j){return(c=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(X){return typeof X}:function(X){return X&&typeof Symbol=="function"&&X.constructor===Symbol&&X!==Symbol.prototype?"symbol":typeof X})(j)}function e(j,X){for(var r1=0;r1"u"?setTimeout:setImmediate,W1=[];function Y1(){for(var j=0;j>>0;r1--;)X[r1]=j[r1];return X}function M2(j){return j.classList?E2(j.classList):(j.getAttribute("class")||"").split(" ").filter(function(X){return X})}function Z2(j,X){var r1,f1=X.split("-"),x1=f1[0],$1=f1.slice(1).join("-");return x1!==j||$1===""||(r1=$1,~z1.indexOf(r1))?null:$1}function r0(j){return"".concat(j).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function F2(j){return Object.keys(j||{}).reduce(function(X,r1){return X+"".concat(r1,": ").concat(j[r1],";")},"")}function B2(j){return j.size!==x2.size||j.x!==x2.x||j.y!==x2.y||j.rotate!==x2.rotate||j.flipX||j.flipY}function c0(j){var X=j.transform,r1=j.containerWidth,f1=j.iconWidth,x1={transform:"translate(".concat(r1/2," 256)")},$1="translate(".concat(32*X.x,", ").concat(32*X.y,") "),V1="scale(".concat(X.size/16*(X.flipX?-1:1),", ").concat(X.size/16*(X.flipY?-1:1),") "),T1="rotate(".concat(X.rotate," 0 0)");return{outer:x1,inner:{transform:"".concat($1," ").concat(V1," ").concat(T1)},path:{transform:"translate(".concat(f1/2*-1," -256)")}}}var o0={x:0,y:0,width:"100%",height:"100%"};function Y2(j){var X=!(1").concat(V1.map(x0).join(""),"")}var v0=function(){};function A0(j){return typeof(j.getAttribute?j.getAttribute($):null)=="string"}var N2={replace:function(j){var X=j[0],r1=j[1].map(function(x1){return x0(x1)}).join(` +`);if(X.parentNode&&X.outerHTML)X.outerHTML=r1+(s1.keepOriginalSource&&X.tagName.toLowerCase()!=="svg"?""):"");else if(X.parentNode){var f1=document.createElement("span");X.parentNode.replaceChild(f1,X),f1.outerHTML=r1}},nest:function(j){var X=j[0],r1=j[1];if(~M2(X).indexOf(s1.replacementClass))return N2.replace(j);var f1=new RegExp("".concat(s1.familyPrefix,"-.*"));delete r1[0].attributes.style,delete r1[0].attributes.id;var x1=r1[0].attributes.class.split(" ").reduce(function(V1,T1){return T1===s1.replacementClass||T1.match(f1)?V1.toSvg.push(T1):V1.toNode.push(T1),V1},{toNode:[],toSvg:[]});r1[0].attributes.class=x1.toSvg.join(" ");var $1=r1.map(function(V1){return x0(V1)}).join(` +`);X.setAttribute("class",x1.toNode.join(" ")),X.setAttribute($,""),X.innerHTML=$1}};function Z0(j){j()}function l0(j,X){var r1=typeof X=="function"?X:v0;if(j.length===0)r1();else{var f1=Z0;s1.mutateApproach===B&&(f1=l.requestAnimationFrame||Z0),f1(function(){var x1=s1.autoReplaceSvg===!0?N2.replace:N2[s1.autoReplaceSvg]||N2.replace,$1=A2.begin("mutate");j.map(x1),$1(),r1()})}}var Q2=!1;function Y0(){Q2=!1}var g0=null;function L0(j){if(d&&s1.observeMutations){var X=j.treeCallback,r1=j.nodeCallback,f1=j.pseudoElementsCallback,x1=j.observeMutationsRoot,$1=x1===void 0?m:x1;g0=new d(function(V1){Q2||E2(V1).forEach(function(T1){if(T1.type==="childList"&&0{"notFound"in o&&r(0,t=o.notFound)},[t]}class k9 extends e2{constructor(e){super(),J1(this,e,P9,T9,X1,{notFound:0})}}const O9=Object.freeze(Object.defineProperty({__proto__:null,default:k9},Symbol.toStringTag,{value:"Module"}));function Vt(c){let e;return{c(){e=C("hr")},m(r,t){Y(r,e,t)},d(r){r&&Z(e)}}}function Et(c){let e,r;return e=new F1({props:{params:{name:c[0].name},$$slots:{default:[B9]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,o){const n={};o&1&&(n.params={name:t[0].name}),o&9&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}function B9(c){let e,r=c[0].text+"",t;return{c(){e=C("button"),t=M1(r),A(e,"class","scr-page-btn svelte-1ysve6x"),A(e,"type","button")},m(o,n){Y(o,e,n),i(e,t)},p(o,n){n&1&&r!==(r=o[0].text+"")&&D2(t,r)},d(o){o&&Z(e)}}}function At(c){let e,r;return e=new F1({props:{params:{name:c[1].name},$$slots:{default:[I9]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,o){const n={};o&2&&(n.params={name:t[1].name}),o&10&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}function I9(c){let e,r=c[1].text+"",t;return{c(){e=C("button"),t=M1(r),A(e,"class","scr-page-btn svelte-1ysve6x"),A(e,"type","button")},m(o,n){Y(o,e,n),i(e,t)},p(o,n){n&2&&r!==(r=o[1].text+"")&&D2(t,r)},d(o){o&&Z(e)}}}function j9(c){let e,r,t,o,n,b,v,h;const a=c[2].default,s=h6(a,c,c[3],null);let f=(c[0].name||c[1].name)&&Vt(),l=c[0].name&&Et(c),m=c[1].name&&At(c);return{c(){e=C("div"),s&&s.c(),r=k(),f&&f.c(),t=k(),o=C("div"),l&&l.c(),n=k(),m&&m.c(),A(o,"class","scr-page-actions svelte-1ysve6x")},m(d,z){Y(d,e,z),s&&s.m(e,null),i(e,r),f&&f.m(e,null),i(e,t),i(e,o),l&&l.m(o,null),i(o,n),m&&m.m(o,null),h=!0},p(d,[z]){s&&s.p&&(!h||z&8)&&p6(s,a,d,d[3],h?v6(a,d[3],z,null):m6(d[3]),null),d[0].name||d[1].name?f||(f=Vt(),f.c(),f.m(e,t)):f&&(f.d(1),f=null),d[0].name?l?(l.p(d,z),z&1&&m1(l,1)):(l=Et(d),l.c(),m1(l,1),l.m(o,n)):l&&(l4(),d1(l,1,1,()=>{l=null}),u4()),d[1].name?m?(m.p(d,z),z&2&&m1(m,1)):(m=At(d),m.c(),m1(m,1),m.m(o,null)):m&&(l4(),d1(m,1,1,()=>{m=null}),u4())},i(d){h||(m1(s,d),m1(l),m1(m),n4(()=>{v&&v.end(1),b=z6(e,L4,{delay:301,x:300,duration:300,opacity:0}),b.start()}),h=!0)},o(d){d1(s,d),d1(l),d1(m),b&&b.invalidate(),v=C6(e,L4,{x:300,duration:300,opacity:0}),h=!1},d(d){d&&Z(e),s&&s.d(d),f&&f.d(),l&&l.d(),m&&m.d(),d&&v&&v.end()}}}function F9(c,e,r){let{$$slots:t={},$$scope:o}=e,{back:n={}}=e,{forward:b={}}=e;return c.$$set=v=>{"back"in v&&r(0,n=v.back),"forward"in v&&r(1,b=v.forward),"$$scope"in v&&r(3,o=v.$$scope)},[n,b,t,o]}class p2 extends e2{constructor(e){super(),J1(this,e,F9,j9,X1,{back:0,forward:1})}}function N9(c){let e;return{c(){e=C("div"),e.innerHTML=`

Presentation

Hi.. This is The Svelte Router - thought to be focused on controlling what happens before entering the route.
@@ -106,7 +106,7 @@ lazyLoadComponent: () => import("./docs/pages/SCR_Presentation.svelte"), title: "SCR - Presentation", } -`,T(e,"class","scr-page")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function N9(c){let e,r;return e=new p2({props:{back:{name:"rootRoute",text:"Home"},forward:{name:"v1_Installation",text:"Installation"},$$slots:{default:[F9]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&1&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}class D9 extends e2{constructor(e){super(),J1(this,e,null,N9,X1,{})}}const W9=Object.freeze(Object.defineProperty({__proto__:null,default:D9},Symbol.toStringTag,{value:"Module"}));function G9(c){let e;return{c(){e=C("div"),e.innerHTML=`

Installation

+`,A(e,"class","scr-page")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function D9(c){let e,r;return e=new p2({props:{back:{name:"rootRoute",text:"Home"},forward:{name:"v1_Installation",text:"Installation"},$$slots:{default:[N9]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&1&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}class W9 extends e2{constructor(e){super(),J1(this,e,null,D9,X1,{})}}const G9=Object.freeze(Object.defineProperty({__proto__:null,default:W9},Symbol.toStringTag,{value:"Module"}));function U9(c){let e;return{c(){e=C("div"),e.innerHTML=`

Installation

Via npm:
npm install svelte-client-router@1.3.10
 
@@ -132,7 +132,7 @@ lazyLoadComponent: () => import("./docs/pages/SCR_Installation.svelte"), title: "SCR - Installation", } -`,T(e,"class","scr-page")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function U9(c){let e,r;return e=new p2({props:{back:{name:"v1_Presentation",text:"Presentation"},forward:{name:"v1_Getting_Started",text:"Getting Started"},$$slots:{default:[G9]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&1&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}class Z9 extends e2{constructor(e){super(),J1(this,e,null,U9,X1,{})}}const Y9=Object.freeze(Object.defineProperty({__proto__:null,default:Z9},Symbol.toStringTag,{value:"Module"}));function K9(c){let e;return{c(){e=C("div"),e.innerHTML=`

Getting Started

+`,A(e,"class","scr-page")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function Z9(c){let e,r;return e=new p2({props:{back:{name:"v1_Presentation",text:"Presentation"},forward:{name:"v1_Getting_Started",text:"Getting Started"},$$slots:{default:[U9]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&1&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}class Y9 extends e2{constructor(e){super(),J1(this,e,null,Z9,X1,{})}}const K9=Object.freeze(Object.defineProperty({__proto__:null,default:Y9},Symbol.toStringTag,{value:"Module"}));function X9(c){let e;return{c(){e=C("div"),e.innerHTML=`

Getting Started

Loading The Svelte Client Router
import {  
   SCR_ROUTER_COMPONENT,
@@ -253,7 +253,7 @@ const routes = [
     lazyLoadComponent: () => import("./docs/pages/SCR_GettingStarted.svelte"),
     title: "SCR - Getting Started",
 }
-
`,T(e,"class","scr-page")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function X9(c){let e,r;return e=new p2({props:{back:{name:"v1_Installation",text:"Installation"},forward:{name:"v1_Configuration_Options",text:"Configuration Options"},$$slots:{default:[K9]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&1&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}class Q9 extends e2{constructor(e){super(),J1(this,e,null,X9,X1,{})}}const J9=Object.freeze(Object.defineProperty({__proto__:null,default:Q9},Symbol.toStringTag,{value:"Module"}));function eo(c){let e;return{c(){e=C("div"),e.innerHTML=`

Configuration Options

+`,A(e,"class","scr-page")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function Q9(c){let e,r;return e=new p2({props:{back:{name:"v1_Installation",text:"Installation"},forward:{name:"v1_Configuration_Options",text:"Configuration Options"},$$slots:{default:[X9]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&1&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}class J9 extends e2{constructor(e){super(),J1(this,e,null,Q9,X1,{})}}const eo=Object.freeze(Object.defineProperty({__proto__:null,default:J9},Symbol.toStringTag,{value:"Module"}));function to(c){let e;return{c(){e=C("div"),e.innerHTML=`

Configuration Options

The configuration are managed in a Svelte Store. The Svelte Store are one of the cooliest things in Svelte. Is very reactive and helps us to make our router reactive too. You can change the behaviour at any @@ -541,7 +541,7 @@ SCR_CONFIG_STORE.setScrollProps({ lazyLoadComponent: () => import("./docs/pages/SCR_ConfigurationOptions.svelte"), title: "SCR - Configuration Options", } -`,T(e,"class","scr-page")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function to(c){let e,r;return e=new p2({props:{back:{name:"v1_Getting_Started",text:"Getting Started"},forward:{name:"v1_Configuration_Global_Before_Enter_Option",text:"Configuration Before Enter"},$$slots:{default:[eo]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&1&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}class ro extends e2{constructor(e){super(),J1(this,e,null,to,X1,{})}}const co=Object.freeze(Object.defineProperty({__proto__:null,default:ro},Symbol.toStringTag,{value:"Module"}));function oo(c){let e,r,t,o,n,b,v,h,a;return{c(){e=C("h4"),e.textContent="Anatomy of the Before Enter Function",r=k(),t=C("p"),t.textContent=`When declaring a Before Enter function it will be provided some cool +`,A(e,"class","scr-page")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function ro(c){let e,r;return e=new p2({props:{back:{name:"v1_Getting_Started",text:"Getting Started"},forward:{name:"v1_Configuration_Global_Before_Enter_Option",text:"Configuration Before Enter"},$$slots:{default:[to]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&1&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}class co extends e2{constructor(e){super(),J1(this,e,null,ro,X1,{})}}const oo=Object.freeze(Object.defineProperty({__proto__:null,default:co},Symbol.toStringTag,{value:"Module"}));function no(c){let e,r,t,o,n,b,v,h,a;return{c(){e=C("h4"),e.textContent="Anatomy of the Before Enter Function",r=k(),t=C("p"),t.textContent=`When declaring a Before Enter function it will be provided some cool parameters for you to play with. Lets check them in order of declaration:`,o=k(),n=C("pre"),n.innerHTML=`// Example of one before enter function declaration (resolve, routeFrom, routeTo, routeObjParams, payload) => { resolve(true); @@ -616,7 +616,7 @@ SCR_CONFIG_STORE.setScrollProps({ OBS: DO NOT REDEFINE THIS OBJECT - because you will lose all previous properties set and it will reset the object not sending the new definition that you made for this object.`,h=k(),a=C("p"),a.textContent=`So that is it for this section. This is a powerfull feature enables us to - control for each route necessary security of overall behaviour.`,T(e,"class","scr-h4"),T(t,"class","scr-text-justify"),T(n,"class","scr-pre"),T(a,"class","scr-text-justify")},m(s,f){Y(s,e,f),Y(s,r,f),Y(s,t,f),Y(s,o,f),Y(s,n,f),Y(s,b,f),Y(s,v,f),Y(s,h,f),Y(s,a,f)},p:E1,i:E1,o:E1,d(s){s&&Z(e),s&&Z(r),s&&Z(t),s&&Z(o),s&&Z(n),s&&Z(b),s&&Z(v),s&&Z(h),s&&Z(a)}}}class At extends e2{constructor(e){super(),J1(this,e,null,oo,X1,{})}}function no(c){let e;return{c(){e=C("a"),e.textContent="Route Object Properties",T(e,"href","/"),z0(e,"pointer-events","none")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function ao(c){let e,r,t,o,n,b,v,h,a,s,f,l,m,d,z,y,S,x,_,H,L,w,$,E,F,M,V,I,B,t1,e1,h1,u1,i1,p1,o1,N,G,D,W;return E=new F1({props:{params:{name:"v1_Route_Object_Properties"},elementProps:{style:"display: inline; cursor: pointer;"},$$slots:{default:[no]},$$scope:{ctx:c}}}),p1=new At({}),{c(){e=C("div"),r=C("h4"),r.textContent="Configuration - Before Enter Function",t=k(),o=C("p"),n=M1("The "),b=C("b"),b.textContent="beforeEnter",v=M1(` option sets an array of functions or just a + control for each route necessary security of overall behaviour.`,A(e,"class","scr-h4"),A(t,"class","scr-text-justify"),A(n,"class","scr-pre"),A(a,"class","scr-text-justify")},m(s,f){Y(s,e,f),Y(s,r,f),Y(s,t,f),Y(s,o,f),Y(s,n,f),Y(s,b,f),Y(s,v,f),Y(s,h,f),Y(s,a,f)},p:E1,i:E1,o:E1,d(s){s&&Z(e),s&&Z(r),s&&Z(t),s&&Z(o),s&&Z(n),s&&Z(b),s&&Z(v),s&&Z(h),s&&Z(a)}}}class Tt extends e2{constructor(e){super(),J1(this,e,null,no,X1,{})}}function ao(c){let e;return{c(){e=C("a"),e.textContent="Route Object Properties",A(e,"href","/"),z0(e,"pointer-events","none")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function so(c){let e,r,t,o,n,b,v,h,a,s,f,l,m,d,z,y,S,x,_,H,L,w,$,E,F,M,V,I,B,t1,e1,h1,u1,i1,p1,o1,N,G,D,W;return E=new F1({props:{params:{name:"v1_Route_Object_Properties"},elementProps:{style:"display: inline; cursor: pointer;"},$$slots:{default:[ao]},$$scope:{ctx:c}}}),p1=new Tt({}),{c(){e=C("div"),r=C("h4"),r.textContent="Configuration - Before Enter Function",t=k(),o=C("p"),n=M1("The "),b=C("b"),b.textContent="beforeEnter",v=M1(` option sets an array of functions or just a function that must be executed for before each route if the option `),h=C("b"),h.textContent="ignoreGlobalBeforeFunction",a=M1(` isn't set in the route definition object. @@ -656,7 +656,7 @@ SCR_CONFIG_STORE.setBeforeEnter([ lazyLoadComponent: () => import("./docs/pages/SCR_ConfigurationBeforeEnter.svelte"), title: "SCR - Configuration - Before Enter", } -`,T(r,"class","scr-h4"),T(o,"class","scr-text-justify"),T(e1,"class","scr-pre"),T(D,"class","scr-pre"),T(e,"class","scr-page")},m(z1,_1){Y(z1,e,_1),i(e,r),i(e,t),i(e,o),i(o,n),i(o,b),i(o,v),i(o,h),i(o,a),i(o,s),i(o,f),i(o,l),i(o,m),i(o,d),i(o,z),i(o,y),i(o,S),i(o,x),i(o,_),i(o,H),i(o,L),i(o,w),i(o,$),C1(E,o,null),i(o,F),i(o,M),i(o,V),i(o,I),i(o,B),i(e,t1),i(e,e1),i(e,h1),i(e,u1),i(e,i1),C1(p1,e,null),i(e,o1),i(e,N),i(e,G),i(e,D),W=!0},p(z1,_1){const S1={};_1&1&&(S1.$$scope={dirty:_1,ctx:z1}),E.$set(S1)},i(z1){W||(m1(E.$$.fragment,z1),m1(p1.$$.fragment,z1),W=!0)},o(z1){d1(E.$$.fragment,z1),d1(p1.$$.fragment,z1),W=!1},d(z1){z1&&Z(e),y1(E),y1(p1)}}}function so(c){let e,r;return e=new p2({props:{back:{name:"v1_Configuration_Options",text:"Configuration Options"},forward:{name:"v1_Configuration_Global_On_Error",text:"Configuration On Error"},$$slots:{default:[ao]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&1&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}class io extends e2{constructor(e){super(),J1(this,e,null,so,X1,{})}}const lo=Object.freeze(Object.defineProperty({__proto__:null,default:io},Symbol.toStringTag,{value:"Module"}));function uo(c){let e,r,t,o,n,b,v;return{c(){e=C("h4"),e.textContent="Anatomy of the On Error Function",r=k(),t=C("p"),t.innerHTML=`When declaring a On Error Function it will be provided some parameters for you +`,A(r,"class","scr-h4"),A(o,"class","scr-text-justify"),A(e1,"class","scr-pre"),A(D,"class","scr-pre"),A(e,"class","scr-page")},m(z1,_1){Y(z1,e,_1),i(e,r),i(e,t),i(e,o),i(o,n),i(o,b),i(o,v),i(o,h),i(o,a),i(o,s),i(o,f),i(o,l),i(o,m),i(o,d),i(o,z),i(o,y),i(o,S),i(o,x),i(o,_),i(o,H),i(o,L),i(o,w),i(o,$),C1(E,o,null),i(o,F),i(o,M),i(o,V),i(o,I),i(o,B),i(e,t1),i(e,e1),i(e,h1),i(e,u1),i(e,i1),C1(p1,e,null),i(e,o1),i(e,N),i(e,G),i(e,D),W=!0},p(z1,_1){const S1={};_1&1&&(S1.$$scope={dirty:_1,ctx:z1}),E.$set(S1)},i(z1){W||(m1(E.$$.fragment,z1),m1(p1.$$.fragment,z1),W=!0)},o(z1){d1(E.$$.fragment,z1),d1(p1.$$.fragment,z1),W=!1},d(z1){z1&&Z(e),y1(E),y1(p1)}}}function io(c){let e,r;return e=new p2({props:{back:{name:"v1_Configuration_Options",text:"Configuration Options"},forward:{name:"v1_Configuration_Global_On_Error",text:"Configuration On Error"},$$slots:{default:[so]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&1&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}class lo extends e2{constructor(e){super(),J1(this,e,null,io,X1,{})}}const uo=Object.freeze(Object.defineProperty({__proto__:null,default:lo},Symbol.toStringTag,{value:"Module"}));function fo(c){let e,r,t,o,n,b,v;return{c(){e=C("h4"),e.textContent="Anatomy of the On Error Function",r=k(),t=C("p"),t.innerHTML=`When declaring a On Error Function it will be provided some parameters for you to deal with the issue.
Lets check them in order of declaration:`,o=k(),n=C("pre"),n.innerHTML=`// Example of On Error function declaration @@ -699,7 +699,7 @@ SCR_CONFIG_STORE.setBeforeEnter([

  • protocol: The protocol used. For example: "http:"

  • routeObjParams: all the parameters passed until the moment of the - error, including any defined payload properties.
  • `,T(e,"class","scr-h4"),T(t,"class","scr-text-justify"),T(n,"class","scr-pre")},m(h,a){Y(h,e,a),Y(h,r,a),Y(h,t,a),Y(h,o,a),Y(h,n,a),Y(h,b,a),Y(h,v,a)},p:E1,i:E1,o:E1,d(h){h&&Z(e),h&&Z(r),h&&Z(t),h&&Z(o),h&&Z(n),h&&Z(b),h&&Z(v)}}}class qt extends e2{constructor(e){super(),J1(this,e,null,uo,X1,{})}}function fo(c){let e;return{c(){e=C("a"),e.textContent="Route Component Components",T(e,"href","/"),z0(e,"pointer-events","none")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function ho(c){let e,r,t,o,n,b,v,h,a,s,f,l,m,d,z,y,S,x,_,H,L,w,$,E,F,M,V,I;return d=new F1({props:{params:{name:"v1_Route_Component_Components"},elementProps:{style:"display: inline; cursor: pointer;"},$$slots:{default:[fo]},$$scope:{ctx:c}}}),L=new qt({}),{c(){e=C("div"),r=C("h4"),r.textContent="Configuration - On Error Function",t=k(),o=C("p"),n=M1("The "),b=C("b"),b.textContent="onError",v=M1(` option sets a function that is going to be executed for + error, including any defined payload properties.`,A(e,"class","scr-h4"),A(t,"class","scr-text-justify"),A(n,"class","scr-pre")},m(h,a){Y(h,e,a),Y(h,r,a),Y(h,t,a),Y(h,o,a),Y(h,n,a),Y(h,b,a),Y(h,v,a)},p:E1,i:E1,o:E1,d(h){h&&Z(e),h&&Z(r),h&&Z(t),h&&Z(o),h&&Z(n),h&&Z(b),h&&Z(v)}}}class qt extends e2{constructor(e){super(),J1(this,e,null,fo,X1,{})}}function ho(c){let e;return{c(){e=C("a"),e.textContent="Route Component Components",A(e,"href","/"),z0(e,"pointer-events","none")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function vo(c){let e,r,t,o,n,b,v,h,a,s,f,l,m,d,z,y,S,x,_,H,L,w,$,E,F,M,V,I;return d=new F1({props:{params:{name:"v1_Route_Component_Components"},elementProps:{style:"display: inline; cursor: pointer;"},$$slots:{default:[ho]},$$scope:{ctx:c}}}),L=new qt({}),{c(){e=C("div"),r=C("h4"),r.textContent="Configuration - On Error Function",t=k(),o=C("p"),n=M1("The "),b=C("b"),b.textContent="onError",v=M1(` option sets a function that is going to be executed for any route when something goes wrong. `),h=C("br"),a=k(),s=C("br"),f=M1(` When that happens the natural behaviour is to open the error page. In this @@ -718,7 +718,7 @@ SCR_CONFIG_STORE.setOnError((err, routeObjParams) => { console.error(err) }); lazyLoadComponent: () => import("./docs/pages/SCR_ConfigurationOnError.svelte"), title: "SCR - Configuration - On Error", } -`,T(r,"class","scr-h4"),T(o,"class","scr-text-justify"),T(S,"class","scr-pre"),T($,"class","scr-text-justify"),T(V,"class","scr-pre"),T(e,"class","scr-page")},m(B,t1){Y(B,e,t1),i(e,r),i(e,t),i(e,o),i(o,n),i(o,b),i(o,v),i(o,h),i(o,a),i(o,s),i(o,f),i(o,l),i(o,m),C1(d,o,null),i(o,z),i(e,y),i(e,S),i(e,x),i(e,_),i(e,H),C1(L,e,null),i(e,w),i(e,$),i(e,E),i(e,F),i(e,M),i(e,V),I=!0},p(B,t1){const e1={};t1&1&&(e1.$$scope={dirty:t1,ctx:B}),d.$set(e1)},i(B){I||(m1(d.$$.fragment,B),m1(L.$$.fragment,B),I=!0)},o(B){d1(d.$$.fragment,B),d1(L.$$.fragment,B),I=!1},d(B){B&&Z(e),y1(d),y1(L)}}}function vo(c){let e,r;return e=new p2({props:{back:{name:"v1_Configuration_Global_Before_Enter_Option",text:"Configuration Before Enter"},forward:{name:"v1_Route_Object_Properties",text:"Route Object Properties"},$$slots:{default:[ho]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&1&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}class po extends e2{constructor(e){super(),J1(this,e,null,vo,X1,{})}}const mo=Object.freeze(Object.defineProperty({__proto__:null,default:po},Symbol.toStringTag,{value:"Module"}));function bo(c){let e;return{c(){e=C("div"),e.innerHTML=`

    Route Object - Properties

    +`,A(r,"class","scr-h4"),A(o,"class","scr-text-justify"),A(S,"class","scr-pre"),A($,"class","scr-text-justify"),A(V,"class","scr-pre"),A(e,"class","scr-page")},m(B,t1){Y(B,e,t1),i(e,r),i(e,t),i(e,o),i(o,n),i(o,b),i(o,v),i(o,h),i(o,a),i(o,s),i(o,f),i(o,l),i(o,m),C1(d,o,null),i(o,z),i(e,y),i(e,S),i(e,x),i(e,_),i(e,H),C1(L,e,null),i(e,w),i(e,$),i(e,E),i(e,F),i(e,M),i(e,V),I=!0},p(B,t1){const e1={};t1&1&&(e1.$$scope={dirty:t1,ctx:B}),d.$set(e1)},i(B){I||(m1(d.$$.fragment,B),m1(L.$$.fragment,B),I=!0)},o(B){d1(d.$$.fragment,B),d1(L.$$.fragment,B),I=!1},d(B){B&&Z(e),y1(d),y1(L)}}}function po(c){let e,r;return e=new p2({props:{back:{name:"v1_Configuration_Global_Before_Enter_Option",text:"Configuration Before Enter"},forward:{name:"v1_Route_Object_Properties",text:"Route Object Properties"},$$slots:{default:[vo]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&1&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}class mo extends e2{constructor(e){super(),J1(this,e,null,po,X1,{})}}const bo=Object.freeze(Object.defineProperty({__proto__:null,default:mo},Symbol.toStringTag,{value:"Module"}));function xo(c){let e;return{c(){e=C("div"),e.innerHTML=`

    Route Object - Properties

    This is where we can declare our routes. It has several option that modelates the route behaviour.
    @@ -1129,7 +1129,7 @@ import SRC_Loading from "./testComponents/SRC_Loading.svelte"; lazyLoadComponent: () => import("./docs/pages/SCR_RouteObjectProperties.svelte"), title: "SCR - Route Object - Options", } -`,T(e,"class","scr-page")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function xo(c){let e,r;return e=new p2({props:{back:{name:"v1_Configuration_Global_On_Error",text:"Configuration On Error"},forward:{name:"v1_Route_Object_Before_Enter",text:"Route Object Before Enter"},$$slots:{default:[bo]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&1&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}class go extends e2{constructor(e){super(),J1(this,e,null,xo,X1,{})}}const _o=Object.freeze(Object.defineProperty({__proto__:null,default:go},Symbol.toStringTag,{value:"Module"}));function zo(c){let e;return{c(){e=C("a"),e.textContent="Route Object Properties",T(e,"href","/"),z0(e,"pointer-events","none")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function Co(c){let e,r,t,o,n,b,v,h,a,s,f,l,m,d,z,y,S,x,_,H,L,w,$,E,F,M,V,I,B,t1,e1,h1,u1,i1,p1,o1,N,G;return E=new F1({props:{params:{name:"v1_Route_Object_Properties"},elementProps:{style:"display: inline; cursor: pointer;"},$$slots:{default:[zo]},$$scope:{ctx:c}}}),u1=new At({}),{c(){e=C("div"),r=C("h4"),r.textContent="Route Object - Before Enter Functions",t=k(),o=C("p"),n=M1("The "),b=C("b"),b.textContent="beforeEnter",v=M1(` option sets an array of functions or just a function +`,A(e,"class","scr-page")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function go(c){let e,r;return e=new p2({props:{back:{name:"v1_Configuration_Global_On_Error",text:"Configuration On Error"},forward:{name:"v1_Route_Object_Before_Enter",text:"Route Object Before Enter"},$$slots:{default:[xo]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&1&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}class _o extends e2{constructor(e){super(),J1(this,e,null,go,X1,{})}}const zo=Object.freeze(Object.defineProperty({__proto__:null,default:_o},Symbol.toStringTag,{value:"Module"}));function Co(c){let e;return{c(){e=C("a"),e.textContent="Route Object Properties",A(e,"href","/"),z0(e,"pointer-events","none")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function yo(c){let e,r,t,o,n,b,v,h,a,s,f,l,m,d,z,y,S,x,_,H,L,w,$,E,F,M,V,I,B,t1,e1,h1,u1,i1,p1,o1,N,G;return E=new F1({props:{params:{name:"v1_Route_Object_Properties"},elementProps:{style:"display: inline; cursor: pointer;"},$$slots:{default:[Co]},$$scope:{ctx:c}}}),u1=new Tt({}),{c(){e=C("div"),r=C("h4"),r.textContent="Route Object - Before Enter Functions",t=k(),o=C("p"),n=M1("The "),b=C("b"),b.textContent="beforeEnter",v=M1(` option sets an array of functions or just a function that must be executed for before each route if the option `),h=C("b"),h.textContent="ignoreGlobalBeforeFunction",a=M1(` isn't set in the route definition object. @@ -1169,7 +1169,7 @@ import SRC_Loading from "./testComponents/SRC_Loading.svelte"; lazyLoadComponent: () => import("./docs/pages/SCR_RouteObjectBeforeEnter.svelte"), title: "SCR - Route Object - Before Enter Functions", } -`,T(r,"class","scr-h4"),T(o,"class","scr-text-justify"),T(e1,"class","scr-pre"),T(N,"class","scr-pre"),T(e,"class","scr-page")},m(D,W){Y(D,e,W),i(e,r),i(e,t),i(e,o),i(o,n),i(o,b),i(o,v),i(o,h),i(o,a),i(o,s),i(o,f),i(o,l),i(o,m),i(o,d),i(o,z),i(o,y),i(o,S),i(o,x),i(o,_),i(o,H),i(o,L),i(o,w),i(o,$),C1(E,o,null),i(o,F),i(o,M),i(o,V),i(o,I),i(o,B),i(e,t1),i(e,e1),i(e,h1),C1(u1,e,null),i(e,i1),i(e,p1),i(e,o1),i(e,N),G=!0},p(D,W){const z1={};W&1&&(z1.$$scope={dirty:W,ctx:D}),E.$set(z1)},i(D){G||(m1(E.$$.fragment,D),m1(u1.$$.fragment,D),G=!0)},o(D){d1(E.$$.fragment,D),d1(u1.$$.fragment,D),G=!1},d(D){D&&Z(e),y1(E),y1(u1)}}}function yo(c){let e,r;return e=new p2({props:{back:{name:"v1_Route_Object_Properties",text:"Route Object Properties"},forward:{name:"v1_Route_Object_After_Enter",text:"Route Object After Enter"},$$slots:{default:[Co]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&1&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}class Lo extends e2{constructor(e){super(),J1(this,e,null,yo,X1,{})}}const Ho=Object.freeze(Object.defineProperty({__proto__:null,default:Lo},Symbol.toStringTag,{value:"Module"}));function Mo(c){let e;return{c(){e=C("div"),e.innerHTML=`

    Route Object - After Before Enter Function

    +`,A(r,"class","scr-h4"),A(o,"class","scr-text-justify"),A(e1,"class","scr-pre"),A(N,"class","scr-pre"),A(e,"class","scr-page")},m(D,W){Y(D,e,W),i(e,r),i(e,t),i(e,o),i(o,n),i(o,b),i(o,v),i(o,h),i(o,a),i(o,s),i(o,f),i(o,l),i(o,m),i(o,d),i(o,z),i(o,y),i(o,S),i(o,x),i(o,_),i(o,H),i(o,L),i(o,w),i(o,$),C1(E,o,null),i(o,F),i(o,M),i(o,V),i(o,I),i(o,B),i(e,t1),i(e,e1),i(e,h1),C1(u1,e,null),i(e,i1),i(e,p1),i(e,o1),i(e,N),G=!0},p(D,W){const z1={};W&1&&(z1.$$scope={dirty:W,ctx:D}),E.$set(z1)},i(D){G||(m1(E.$$.fragment,D),m1(u1.$$.fragment,D),G=!0)},o(D){d1(E.$$.fragment,D),d1(u1.$$.fragment,D),G=!1},d(D){D&&Z(e),y1(E),y1(u1)}}}function Lo(c){let e,r;return e=new p2({props:{back:{name:"v1_Route_Object_Properties",text:"Route Object Properties"},forward:{name:"v1_Route_Object_After_Enter",text:"Route Object After Enter"},$$slots:{default:[yo]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&1&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}class Ho extends e2{constructor(e){super(),J1(this,e,null,Lo,X1,{})}}const Mo=Object.freeze(Object.defineProperty({__proto__:null,default:Ho},Symbol.toStringTag,{value:"Module"}));function Ro(c){let e;return{c(){e=C("div"),e.innerHTML=`

    Route Object - After Before Enter Function

    The afterBeforeEnter option sets a function that must be executed for this specific route when finishing routing. This function will not redirect or avoid entering the route. The permission to enter has been granted @@ -1252,7 +1252,7 @@ import SRC_Loading from "./testComponents/SRC_Loading.svelte"; lazyLoadComponent: () => import("./docs/pages/SCR_RouteObjectAfterBeforeEnter.svelte"), title: "SCR - Route Object - After Function", } -`,T(e,"class","scr-page")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function Ro(c){let e,r;return e=new p2({props:{back:{name:"v1_Route_Object_Before_Enter",text:"Route Object Before Enter"},forward:{name:"v1_Route_Object_On_Error",text:"Route Object On Error"},$$slots:{default:[Mo]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&1&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}class So extends e2{constructor(e){super(),J1(this,e,null,Ro,X1,{})}}const wo=Object.freeze(Object.defineProperty({__proto__:null,default:So},Symbol.toStringTag,{value:"Module"}));function $o(c){let e;return{c(){e=C("a"),e.textContent="Route Component Components",T(e,"href","/"),z0(e,"pointer-events","none")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function Vo(c){let e,r,t,o,n,b,v,h,a,s,f,l,m,d,z,y,S,x,_,H,L,w,$,E,F,M,V,I;return d=new F1({props:{params:{name:"v1_Route_Component_Components"},elementProps:{style:"display: inline; cursor: pointer;"},$$slots:{default:[$o]},$$scope:{ctx:c}}}),L=new qt({}),{c(){e=C("div"),r=C("h4"),r.textContent="Route Object - On Error Function",t=k(),o=C("p"),n=M1("The "),b=C("b"),b.textContent="onError",v=M1(` option sets a function that is going to be executed for +`,A(e,"class","scr-page")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function So(c){let e,r;return e=new p2({props:{back:{name:"v1_Route_Object_Before_Enter",text:"Route Object Before Enter"},forward:{name:"v1_Route_Object_On_Error",text:"Route Object On Error"},$$slots:{default:[Ro]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&1&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}class wo extends e2{constructor(e){super(),J1(this,e,null,So,X1,{})}}const $o=Object.freeze(Object.defineProperty({__proto__:null,default:wo},Symbol.toStringTag,{value:"Module"}));function Vo(c){let e;return{c(){e=C("a"),e.textContent="Route Component Components",A(e,"href","/"),z0(e,"pointer-events","none")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function Eo(c){let e,r,t,o,n,b,v,h,a,s,f,l,m,d,z,y,S,x,_,H,L,w,$,E,F,M,V,I;return d=new F1({props:{params:{name:"v1_Route_Component_Components"},elementProps:{style:"display: inline; cursor: pointer;"},$$slots:{default:[Vo]},$$scope:{ctx:c}}}),L=new qt({}),{c(){e=C("div"),r=C("h4"),r.textContent="Route Object - On Error Function",t=k(),o=C("p"),n=M1("The "),b=C("b"),b.textContent="onError",v=M1(` option sets a function that is going to be executed for the specific route when something goes wrong. `),h=C("br"),a=k(),s=C("br"),f=M1(` When that happens the natural behaviour is to open the error page. In this context @@ -1270,7 +1270,7 @@ import SRC_Loading from "./testComponents/SRC_Loading.svelte"; lazyLoadComponent: () => import("./docs/pages/SCR_RouteObjectOnError.svelte"), title: "SCR - Route Object - On Error Function", } -`,T(r,"class","scr-h4"),T(o,"class","scr-text-justify"),T(S,"class","scr-pre"),T($,"class","scr-text-justify"),T(V,"class","scr-pre"),T(e,"class","scr-page")},m(B,t1){Y(B,e,t1),i(e,r),i(e,t),i(e,o),i(o,n),i(o,b),i(o,v),i(o,h),i(o,a),i(o,s),i(o,f),i(o,l),i(o,m),C1(d,o,null),i(o,z),i(e,y),i(e,S),i(e,x),i(e,_),i(e,H),C1(L,e,null),i(e,w),i(e,$),i(e,E),i(e,F),i(e,M),i(e,V),I=!0},p(B,t1){const e1={};t1&1&&(e1.$$scope={dirty:t1,ctx:B}),d.$set(e1)},i(B){I||(m1(d.$$.fragment,B),m1(L.$$.fragment,B),I=!0)},o(B){d1(d.$$.fragment,B),d1(L.$$.fragment,B),I=!1},d(B){B&&Z(e),y1(d),y1(L)}}}function Eo(c){let e,r;return e=new p2({props:{back:{name:"v1_Route_Object_After_Enter",text:"Route Object After Enter"},forward:{name:"v1_Route_Component_Properties",text:"Route Component Properties"},$$slots:{default:[Vo]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&1&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}class To extends e2{constructor(e){super(),J1(this,e,null,Eo,X1,{})}}const Ao=Object.freeze(Object.defineProperty({__proto__:null,default:To},Symbol.toStringTag,{value:"Module"}));function qo(c){let e,r;return{c(){e=C("a"),e.textContent="components - that can be check in the next section -",r=M1(", and some are crucial for it to work correctly."),T(e,"href","/"),z0(e,"pointer-events","none")},m(t,o){Y(t,e,o),Y(t,r,o)},p:E1,d(t){t&&Z(e),t&&Z(r)}}}function Po(c){let e;return{c(){e=C("a"),e.textContent="route object properties section.",T(e,"href","/"),z0(e,"pointer-events","none")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function ko(c){let e,r,t,o,n,b,v,h,a,s,f,l,m,d,z,y,S,x,_,H,L,w,$,E,F,M,V,I,B,t1,e1,h1,u1,i1,p1,o1,N,G,D,W,z1,_1,S1,s1,w1,R1,B1,P1,O1,I1,N1,s2,t2,i2,l2,a2,U1;return h=new F1({props:{params:{name:"v1_Route_Component_Components"},elementProps:{style:"display: inline; cursor: pointer;"},$$slots:{default:[qo]},$$scope:{ctx:c}}}),F=new F1({props:{params:{name:"v1_Route_Object_Properties"},elementProps:{style:"display: inline; cursor: pointer;"},$$slots:{default:[Po]},$$scope:{ctx:c}}}),{c(){e=C("div"),r=C("h4"),r.textContent="Route Component - Properties",t=k(),o=C("p"),n=M1("The route component is a "),b=C("a"),b.textContent="Svelte Component",v=M1(` +`,A(r,"class","scr-h4"),A(o,"class","scr-text-justify"),A(S,"class","scr-pre"),A($,"class","scr-text-justify"),A(V,"class","scr-pre"),A(e,"class","scr-page")},m(B,t1){Y(B,e,t1),i(e,r),i(e,t),i(e,o),i(o,n),i(o,b),i(o,v),i(o,h),i(o,a),i(o,s),i(o,f),i(o,l),i(o,m),C1(d,o,null),i(o,z),i(e,y),i(e,S),i(e,x),i(e,_),i(e,H),C1(L,e,null),i(e,w),i(e,$),i(e,E),i(e,F),i(e,M),i(e,V),I=!0},p(B,t1){const e1={};t1&1&&(e1.$$scope={dirty:t1,ctx:B}),d.$set(e1)},i(B){I||(m1(d.$$.fragment,B),m1(L.$$.fragment,B),I=!0)},o(B){d1(d.$$.fragment,B),d1(L.$$.fragment,B),I=!1},d(B){B&&Z(e),y1(d),y1(L)}}}function Ao(c){let e,r;return e=new p2({props:{back:{name:"v1_Route_Object_After_Enter",text:"Route Object After Enter"},forward:{name:"v1_Route_Component_Properties",text:"Route Component Properties"},$$slots:{default:[Eo]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&1&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}class To extends e2{constructor(e){super(),J1(this,e,null,Ao,X1,{})}}const qo=Object.freeze(Object.defineProperty({__proto__:null,default:To},Symbol.toStringTag,{value:"Module"}));function Po(c){let e,r;return{c(){e=C("a"),e.textContent="components - that can be check in the next section -",r=M1(", and some are crucial for it to work correctly."),A(e,"href","/"),z0(e,"pointer-events","none")},m(t,o){Y(t,e,o),Y(t,r,o)},p:E1,d(t){t&&Z(e),t&&Z(r)}}}function ko(c){let e;return{c(){e=C("a"),e.textContent="route object properties section.",A(e,"href","/"),z0(e,"pointer-events","none")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function Oo(c){let e,r,t,o,n,b,v,h,a,s,f,l,m,d,z,y,S,x,_,H,L,w,$,E,F,M,V,I,B,t1,e1,h1,u1,i1,p1,o1,N,G,D,W,z1,_1,S1,s1,w1,R1,B1,P1,O1,I1,N1,s2,t2,i2,l2,a2,U1;return h=new F1({props:{params:{name:"v1_Route_Component_Components"},elementProps:{style:"display: inline; cursor: pointer;"},$$slots:{default:[Po]},$$scope:{ctx:c}}}),F=new F1({props:{params:{name:"v1_Route_Object_Properties"},elementProps:{style:"display: inline; cursor: pointer;"},$$slots:{default:[ko]},$$scope:{ctx:c}}}),{c(){e=C("div"),r=C("h4"),r.textContent="Route Component - Properties",t=k(),o=C("p"),n=M1("The route component is a "),b=C("a"),b.textContent="Svelte Component",v=M1(` , so it can receive parameters to pass further. Some of these parameters are `),H1(h.$$.fragment),a=k(),s=C("br"),f=k(),l=C("br"),m=M1(` @@ -1370,7 +1370,7 @@ const allLoadingProps = { import("./docs/pages/SCR_RouteComponentProperties.svelte"), title: "SCR - Route Component - Properties", } -`,T(r,"class","scr-h4"),T(b,"href","https://svelte.dev/tutorial/basics"),T(b,"target","_blank"),T(o,"class","scr-text-justify"),T(z,"class","scr-pre"),T(S,"class","scr-hr"),T(_,"class","scr-h4"),T(L,"class","scr-text-justify"),T(h1,"class","scr-pre"),T(i1,"class","scr-text-justify"),T(o1,"class","scr-hr"),T(G,"class","scr-h4"),T(W,"class","scr-text-justify"),T(_1,"class","scr-pre"),T(s1,"class","scr-hr"),T(R1,"class","scr-h4"),T(P1,"class","scr-text-justify"),T(I1,"class","scr-pre"),T(s2,"class","scr-text-justify"),T(a2,"class","scr-pre"),T(e,"class","scr-page")},m(W1,Y1){Y(W1,e,Y1),i(e,r),i(e,t),i(e,o),i(o,n),i(o,b),i(o,v),C1(h,o,null),i(o,a),i(o,s),i(o,f),i(o,l),i(o,m),i(e,d),i(e,z),i(e,y),i(e,S),i(e,x),i(e,_),i(e,H),i(e,L),i(L,w),i(L,$),i(L,E),C1(F,L,null),i(L,M),i(L,V),i(L,I),i(L,B),i(L,t1),i(e,e1),i(e,h1),i(e,u1),i(e,i1),i(e,p1),i(e,o1),i(e,N),i(e,G),i(e,D),i(e,W),i(e,z1),i(e,_1),i(e,S1),i(e,s1),i(e,w1),i(e,R1),i(e,B1),i(e,P1),i(e,O1),i(e,I1),i(e,N1),i(e,s2),i(e,t2),i(e,i2),i(e,l2),i(e,a2),U1=!0},p(W1,Y1){const r2={};Y1&1&&(r2.$$scope={dirty:Y1,ctx:W1}),h.$set(r2);const J={};Y1&1&&(J.$$scope={dirty:Y1,ctx:W1}),F.$set(J)},i(W1){U1||(m1(h.$$.fragment,W1),m1(F.$$.fragment,W1),U1=!0)},o(W1){d1(h.$$.fragment,W1),d1(F.$$.fragment,W1),U1=!1},d(W1){W1&&Z(e),y1(h),y1(F)}}}function Oo(c){let e,r;return e=new p2({props:{back:{name:"v1_Route_Object_Before_Enter",text:"Route Object Before Enter"},forward:{name:"v1_Route_Component_Components",text:"Route Component Components"},$$slots:{default:[ko]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&1&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}class Bo extends e2{constructor(e){super(),J1(this,e,null,Oo,X1,{})}}const Io=Object.freeze(Object.defineProperty({__proto__:null,default:Bo},Symbol.toStringTag,{value:"Module"}));function jo(c){let e;return{c(){e=C("a"),e.innerHTML="Route Object Properties - Path Property",T(e,"href","/"),z0(e,"pointer-events","none")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function Fo(c){let e,r,t,o,n,b,v,h,a,s,f,l,m,d,z,y,S,x,_,H,L,w,$,E,F,M,V,I,B,t1,e1,h1,u1,i1,p1,o1,N,G,D,W,z1,_1,S1,s1,w1,R1,B1,P1,O1,I1,N1,s2,t2,i2,l2,a2,U1,W1,Y1,r2,J,b1,Q,g1;return G=new F1({props:{params:{name:"v1_Route_Object_Properties"},elementProps:{style:"display: inline; cursor: pointer;"},$$slots:{default:[jo]},$$scope:{ctx:c}}}),{c(){e=C("div"),r=C("h4"),r.textContent="Route Component - Components",t=k(),o=C("p"),o.innerHTML=`As said throught this documentation it is encouraged to provide your own +`,A(r,"class","scr-h4"),A(b,"href","https://svelte.dev/tutorial/basics"),A(b,"target","_blank"),A(o,"class","scr-text-justify"),A(z,"class","scr-pre"),A(S,"class","scr-hr"),A(_,"class","scr-h4"),A(L,"class","scr-text-justify"),A(h1,"class","scr-pre"),A(i1,"class","scr-text-justify"),A(o1,"class","scr-hr"),A(G,"class","scr-h4"),A(W,"class","scr-text-justify"),A(_1,"class","scr-pre"),A(s1,"class","scr-hr"),A(R1,"class","scr-h4"),A(P1,"class","scr-text-justify"),A(I1,"class","scr-pre"),A(s2,"class","scr-text-justify"),A(a2,"class","scr-pre"),A(e,"class","scr-page")},m(W1,Y1){Y(W1,e,Y1),i(e,r),i(e,t),i(e,o),i(o,n),i(o,b),i(o,v),C1(h,o,null),i(o,a),i(o,s),i(o,f),i(o,l),i(o,m),i(e,d),i(e,z),i(e,y),i(e,S),i(e,x),i(e,_),i(e,H),i(e,L),i(L,w),i(L,$),i(L,E),C1(F,L,null),i(L,M),i(L,V),i(L,I),i(L,B),i(L,t1),i(e,e1),i(e,h1),i(e,u1),i(e,i1),i(e,p1),i(e,o1),i(e,N),i(e,G),i(e,D),i(e,W),i(e,z1),i(e,_1),i(e,S1),i(e,s1),i(e,w1),i(e,R1),i(e,B1),i(e,P1),i(e,O1),i(e,I1),i(e,N1),i(e,s2),i(e,t2),i(e,i2),i(e,l2),i(e,a2),U1=!0},p(W1,Y1){const r2={};Y1&1&&(r2.$$scope={dirty:Y1,ctx:W1}),h.$set(r2);const J={};Y1&1&&(J.$$scope={dirty:Y1,ctx:W1}),F.$set(J)},i(W1){U1||(m1(h.$$.fragment,W1),m1(F.$$.fragment,W1),U1=!0)},o(W1){d1(h.$$.fragment,W1),d1(F.$$.fragment,W1),U1=!1},d(W1){W1&&Z(e),y1(h),y1(F)}}}function Bo(c){let e,r;return e=new p2({props:{back:{name:"v1_Route_Object_Before_Enter",text:"Route Object Before Enter"},forward:{name:"v1_Route_Component_Components",text:"Route Component Components"},$$slots:{default:[Oo]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&1&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}class Io extends e2{constructor(e){super(),J1(this,e,null,Bo,X1,{})}}const jo=Object.freeze(Object.defineProperty({__proto__:null,default:Io},Symbol.toStringTag,{value:"Module"}));function Fo(c){let e;return{c(){e=C("a"),e.innerHTML="Route Object Properties - Path Property",A(e,"href","/"),z0(e,"pointer-events","none")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function No(c){let e,r,t,o,n,b,v,h,a,s,f,l,m,d,z,y,S,x,_,H,L,w,$,E,F,M,V,I,B,t1,e1,h1,u1,i1,p1,o1,N,G,D,W,z1,_1,S1,s1,w1,R1,B1,P1,O1,I1,N1,s2,t2,i2,l2,a2,U1,W1,Y1,r2,J,b1,Q,g1;return G=new F1({props:{params:{name:"v1_Route_Object_Properties"},elementProps:{style:"display: inline; cursor: pointer;"},$$slots:{default:[Fo]},$$scope:{ctx:c}}}),{c(){e=C("div"),r=C("h4"),r.textContent="Route Component - Components",t=k(),o=C("p"),o.innerHTML=`As said throught this documentation it is encouraged to provide your own custom components. SCR functions can work with no component provided by you. But it is not ideal they are very simple and minimalistic.
    @@ -1546,7 +1546,7 @@ const routes = [ import("./docs/pages/SCR_RouteComponentComponents.svelte"), title: "SCR - Route Component - Components", } -`,T(r,"class","scr-h4"),T(o,"class","scr-text-justify"),T(b,"class","scr-hr"),T(h,"class","scr-h4"),T(s,"class","scr-text-justify"),T(l,"class","scr-pre"),T(d,"class","scr-text-justify"),T(y,"class","scr-pre"),T(x,"class","scr-hr"),T(H,"class","scr-h4"),T(w,"class","scr-text-justify"),T(E,"class","scr-pre"),T(M,"class","scr-text-justify"),T(I,"class","scr-pre"),T(t1,"class","scr-hr"),T(h1,"class","scr-h4"),T(i1,"class","scr-text-justify"),T(S1,"class","scr-pre"),T(w1,"class","scr-text-justify"),T(B1,"class","scr-pre"),T(O1,"class","scr-hr"),T(N1,"class","scr-h4"),T(t2,"class","scr-text-justify"),T(l2,"class","scr-pre"),T(U1,"class","scr-text-justify"),T(Y1,"class","scr-pre"),T(Q,"class","scr-pre"),T(e,"class","scr-page")},m(m2,S2){Y(m2,e,S2),i(e,r),i(e,t),i(e,o),i(e,n),i(e,b),i(e,v),i(e,h),i(e,a),i(e,s),i(e,f),i(e,l),i(e,m),i(e,d),i(e,z),i(e,y),i(e,S),i(e,x),i(e,_),i(e,H),i(e,L),i(e,w),i(e,$),i(e,E),i(e,F),i(e,M),i(e,V),i(e,I),i(e,B),i(e,t1),i(e,e1),i(e,h1),i(e,u1),i(e,i1),i(i1,p1),i(i1,o1),i(i1,N),C1(G,i1,null),i(i1,D),i(i1,W),i(i1,z1),i(e,_1),i(e,S1),i(e,s1),i(e,w1),i(e,R1),i(e,B1),i(e,P1),i(e,O1),i(e,I1),i(e,N1),i(e,s2),i(e,t2),i(e,i2),i(e,l2),i(e,a2),i(e,U1),i(e,W1),i(e,Y1),i(e,r2),i(e,J),i(e,b1),i(e,Q),g1=!0},p(m2,S2){const z2={};S2&1&&(z2.$$scope={dirty:S2,ctx:m2}),G.$set(z2)},i(m2){g1||(m1(G.$$.fragment,m2),g1=!0)},o(m2){d1(G.$$.fragment,m2),g1=!1},d(m2){m2&&Z(e),y1(G)}}}function No(c){let e,r;return e=new p2({props:{back:{name:"v1_Route_Component_Properties",text:"Route Component Properties"},forward:{name:"v1_Navigation_Routing",text:"Navigation Routing"},$$slots:{default:[Fo]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&1&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}class Do extends e2{constructor(e){super(),J1(this,e,null,No,X1,{})}}const Wo=Object.freeze(Object.defineProperty({__proto__:null,default:Do},Symbol.toStringTag,{value:"Module"}));function Go(c){let e;return{c(){e=C("div"),e.innerHTML=`

    Navigation - Routing

    +`,A(r,"class","scr-h4"),A(o,"class","scr-text-justify"),A(b,"class","scr-hr"),A(h,"class","scr-h4"),A(s,"class","scr-text-justify"),A(l,"class","scr-pre"),A(d,"class","scr-text-justify"),A(y,"class","scr-pre"),A(x,"class","scr-hr"),A(H,"class","scr-h4"),A(w,"class","scr-text-justify"),A(E,"class","scr-pre"),A(M,"class","scr-text-justify"),A(I,"class","scr-pre"),A(t1,"class","scr-hr"),A(h1,"class","scr-h4"),A(i1,"class","scr-text-justify"),A(S1,"class","scr-pre"),A(w1,"class","scr-text-justify"),A(B1,"class","scr-pre"),A(O1,"class","scr-hr"),A(N1,"class","scr-h4"),A(t2,"class","scr-text-justify"),A(l2,"class","scr-pre"),A(U1,"class","scr-text-justify"),A(Y1,"class","scr-pre"),A(Q,"class","scr-pre"),A(e,"class","scr-page")},m(m2,S2){Y(m2,e,S2),i(e,r),i(e,t),i(e,o),i(e,n),i(e,b),i(e,v),i(e,h),i(e,a),i(e,s),i(e,f),i(e,l),i(e,m),i(e,d),i(e,z),i(e,y),i(e,S),i(e,x),i(e,_),i(e,H),i(e,L),i(e,w),i(e,$),i(e,E),i(e,F),i(e,M),i(e,V),i(e,I),i(e,B),i(e,t1),i(e,e1),i(e,h1),i(e,u1),i(e,i1),i(i1,p1),i(i1,o1),i(i1,N),C1(G,i1,null),i(i1,D),i(i1,W),i(i1,z1),i(e,_1),i(e,S1),i(e,s1),i(e,w1),i(e,R1),i(e,B1),i(e,P1),i(e,O1),i(e,I1),i(e,N1),i(e,s2),i(e,t2),i(e,i2),i(e,l2),i(e,a2),i(e,U1),i(e,W1),i(e,Y1),i(e,r2),i(e,J),i(e,b1),i(e,Q),g1=!0},p(m2,S2){const z2={};S2&1&&(z2.$$scope={dirty:S2,ctx:m2}),G.$set(z2)},i(m2){g1||(m1(G.$$.fragment,m2),g1=!0)},o(m2){d1(G.$$.fragment,m2),g1=!1},d(m2){m2&&Z(e),y1(G)}}}function Do(c){let e,r;return e=new p2({props:{back:{name:"v1_Route_Component_Properties",text:"Route Component Properties"},forward:{name:"v1_Navigation_Routing",text:"Navigation Routing"},$$slots:{default:[No]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&1&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}class Wo extends e2{constructor(e){super(),J1(this,e,null,Do,X1,{})}}const Go=Object.freeze(Object.defineProperty({__proto__:null,default:Wo},Symbol.toStringTag,{value:"Module"}));function Uo(c){let e;return{c(){e=C("div"),e.innerHTML=`

    Navigation - Routing

    There are two main methods when routing SCR.

    • pushRoute: pushes a route forward.
    • backRoute: back to the first route history, uses @@ -1603,7 +1603,7 @@ import { backRoute } from "svelte-client-router" import("./docs/pages/SCR_NavigationRouting.svelte"), title: "SCR - Navigation - Routing", } -`,T(e,"class","scr-page")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function Uo(c){let e,r;return e=new p2({props:{back:{name:"v1_Route_Component_Components",text:"Route Component Components"},forward:{name:"v1_Navigation_Store",text:"Navigation Store"},$$slots:{default:[Go]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&1&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}class Zo extends e2{constructor(e){super(),J1(this,e,null,Uo,X1,{})}}const Yo=Object.freeze(Object.defineProperty({__proto__:null,default:Zo},Symbol.toStringTag,{value:"Module"}));function Ko(c){let e;return{c(){e=C("div"),e.innerHTML=`

      Navigation - Store

      +`,A(e,"class","scr-page")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function Zo(c){let e,r;return e=new p2({props:{back:{name:"v1_Route_Component_Components",text:"Route Component Components"},forward:{name:"v1_Navigation_Store",text:"Navigation Store"},$$slots:{default:[Uo]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&1&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}class Yo extends e2{constructor(e){super(),J1(this,e,null,Zo,X1,{})}}const Ko=Object.freeze(Object.defineProperty({__proto__:null,default:Yo},Symbol.toStringTag,{value:"Module"}));function Xo(c){let e;return{c(){e=C("div"),e.innerHTML=`

      Navigation - Store

      As well as the previous section you can import the entire navigation store. This is not recommend though. If you can use the methods directly it is recommended to you to do so. Because when pushing routes there is a flow to @@ -1639,7 +1639,7 @@ import { import("./docs/pages/SCR_NavigationStore.svelte"), title: "SCR - Navigation - Store", } -`,T(e,"class","scr-page")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function Xo(c){let e,r;return e=new p2({props:{back:{name:"v1_Navigation_Routing",text:"Navigation Routing"},forward:{name:"v1_Router_Link",text:"Router Link"},$$slots:{default:[Ko]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&1&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}class Qo extends e2{constructor(e){super(),J1(this,e,null,Xo,X1,{})}}const Jo=Object.freeze(Object.defineProperty({__proto__:null,default:Qo},Symbol.toStringTag,{value:"Module"}));function en(c){let e;return{c(){e=C("div"),e.innerHTML=`

      Route Link

      +`,A(e,"class","scr-page")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function Qo(c){let e,r;return e=new p2({props:{back:{name:"v1_Navigation_Routing",text:"Navigation Routing"},forward:{name:"v1_Router_Link",text:"Router Link"},$$slots:{default:[Xo]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&1&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}class Jo extends e2{constructor(e){super(),J1(this,e,null,Qo,X1,{})}}const en=Object.freeze(Object.defineProperty({__proto__:null,default:Jo},Symbol.toStringTag,{value:"Module"}));function tn(c){let e;return{c(){e=C("div"),e.innerHTML=`

      Route Link

      The Route Link is a component wrapper to make links. Easy to click and execute what you want. It is totally customisable.
      @@ -1703,7 +1703,7 @@ import { import("./docs/pages/SCR_RouterLinkProperties.svelte"), title: "SCR - Route Link - Properties", } -`,T(e,"class","scr-page")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function tn(c){let e,r;return e=new p2({props:{back:{name:"v1_Navigation_Store",text:"Navigation Store"},forward:{name:"v1_Router_Store",text:"Router Store"},$$slots:{default:[en]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&1&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}class rn extends e2{constructor(e){super(),J1(this,e,null,tn,X1,{})}}const cn=Object.freeze(Object.defineProperty({__proto__:null,default:rn},Symbol.toStringTag,{value:"Module"}));function on(c){let e;return{c(){e=C("div"),e.innerHTML=`

      Route Store

      +`,A(e,"class","scr-page")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function rn(c){let e,r;return e=new p2({props:{back:{name:"v1_Navigation_Store",text:"Navigation Store"},forward:{name:"v1_Router_Store",text:"Router Store"},$$slots:{default:[tn]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&1&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}class cn extends e2{constructor(e){super(),J1(this,e,null,rn,X1,{})}}const on=Object.freeze(Object.defineProperty({__proto__:null,default:cn},Symbol.toStringTag,{value:"Module"}));function nn(c){let e;return{c(){e=C("div"),e.innerHTML=`

      Route Store

      Router Store is the store where all the route definitions are updated and controlled. You can check real time what is happening.
      @@ -1789,7 +1789,7 @@ import { import("./docs/pages/SCR_RouterStoreProperties.svelte"), title: "SCR - Route Store - Properties", } -`,T(e,"class","scr-page")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function nn(c){let e,r;return e=new p2({props:{back:{name:"v1_Router_Link",text:"Router Link"},forward:{name:"v1_Test_Regex_Path",text:"Test - Regex Path"},$$slots:{default:[on]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&1&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}class an extends e2{constructor(e){super(),J1(this,e,null,nn,X1,{})}}const sn=Object.freeze(Object.defineProperty({__proto__:null,default:an},Symbol.toStringTag,{value:"Module"}));function ln(c){let e;return{c(){e=C("div"),e.textContent="Test Route With Param",T(e,"class","scr-btn")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function un(c){let e,r,t,o,n,b,v,h,a,s,f=c[0].testParam+"",l,m,d,z,y,S,x,_,H,L,w,$,E,F,M,V,I,B,t1,e1,h1,u1;return E=new F1({props:{params:{path:`/svelte-client-router/v1/${c[1]}/testRegexPath`},$$slots:{default:[ln]},$$scope:{ctx:c}}}),{c(){e=C("div"),r=C("h4"),r.textContent="Test - Regex Path",t=k(),o=C("p"),n=M1(`This route tests regex param path. +`,A(e,"class","scr-page")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function an(c){let e,r;return e=new p2({props:{back:{name:"v1_Router_Link",text:"Router Link"},forward:{name:"v1_Test_Regex_Path",text:"Test - Regex Path"},$$slots:{default:[nn]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&1&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}class sn extends e2{constructor(e){super(),J1(this,e,null,an,X1,{})}}const ln=Object.freeze(Object.defineProperty({__proto__:null,default:sn},Symbol.toStringTag,{value:"Module"}));function un(c){let e;return{c(){e=C("div"),e.textContent="Test Route With Param",A(e,"class","scr-btn")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function fn(c){let e,r,t,o,n,b,v,h,a,s,f=c[0].testParam+"",l,m,d,z,y,S,x,_,H,L,w,$,E,F,M,V,I,B,t1,e1,h1,u1;return E=new F1({props:{params:{path:`/svelte-client-router/v1/${c[1]}/testRegexPath`},$$slots:{default:[un]},$$scope:{ctx:c}}}),{c(){e=C("div"),r=C("h4"),r.textContent="Test - Regex Path",t=k(),o=C("p"),n=M1(`This route tests regex param path. `),b=C("br"),v=k(),h=C("br"),a=M1(` The route param path passed is: `),s=C("b"),l=M1(f),m=k(),d=C("br"),z=k(),y=C("br"),S=M1(` Try it!`),x=k(),_=C("div"),H=C("label"),H.textContent="Route Param",L=k(),w=C("input"),$=k(),H1(E.$$.fragment),F=k(),M=C("hr"),V=k(),I=C("center"),I.innerHTML='The configuration for this route.',B=k(),t1=C("pre"),t1.textContent=`{ @@ -1799,7 +1799,7 @@ import { title: "SCR - Test Regex Path - Version 2", beforeEnter: [setVersion2], } -`,T(r,"class","scr-h4"),T(o,"class","scr-text-justify"),T(H,"for","scr-next-param"),T(w,"type","text"),T(w,"id","scr-next-param"),T(w,"placeholder",":testParam"),T(_,"class","scr-test"),T(M,"class","scr-hr"),T(t1,"class","scr-pre"),T(e,"class","scr-page")},m(i1,p1){Y(i1,e,p1),i(e,r),i(e,t),i(e,o),i(o,n),i(o,b),i(o,v),i(o,h),i(o,a),i(o,s),i(s,l),i(o,m),i(o,d),i(o,z),i(o,y),i(o,S),i(e,x),i(e,_),i(_,H),i(_,L),i(_,w),V2(w,c[1]),i(_,$),C1(E,_,null),i(e,F),i(e,M),i(e,V),i(e,I),i(e,B),i(e,t1),e1=!0,h1||(u1=s0(w,"input",c[2]),h1=!0)},p(i1,p1){(!e1||p1&1)&&f!==(f=i1[0].testParam+"")&&D2(l,f),p1&2&&w.value!==i1[1]&&V2(w,i1[1]);const o1={};p1&2&&(o1.params={path:`/svelte-client-router/v1/${i1[1]}/testRegexPath`}),p1&8&&(o1.$$scope={dirty:p1,ctx:i1}),E.$set(o1)},i(i1){e1||(m1(E.$$.fragment,i1),e1=!0)},o(i1){d1(E.$$.fragment,i1),e1=!1},d(i1){i1&&Z(e),y1(E),h1=!1,u1()}}}function fn(c){let e,r;return e=new p2({props:{back:{name:"v1_Router_Store",text:"Router Store"},forward:{name:"v1_Test_Regex_Path_2",text:"Test - Regex Path 2"},$$slots:{default:[un]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&11&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}let hn=/[A-Za-zÀ-ú0-9]/g;function vn(c,e,r){let{pathParams:t}=e,o="";function n(){o=this.value,r(1,o)}return c.$$set=b=>{"pathParams"in b&&r(0,t=b.pathParams)},c.$$.update=()=>{if(c.$$.dirty&2&&o){const b=o.match(hn),v=b?b.join("").substr(0,100)+"":"";r(1,o=v)}},[t,o,n]}class pn extends e2{constructor(e){super(),J1(this,e,vn,fn,X1,{pathParams:0})}}const mn=Object.freeze(Object.defineProperty({__proto__:null,default:pn},Symbol.toStringTag,{value:"Module"}));function dn(c){let e;return{c(){e=C("div"),e.textContent="Test Route With Two Params",T(e,"class","scr-btn")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function bn(c){let e,r,t,o,n,b,v,h,a,s,f=c[0].firstParam+"",l,m,d,z,y,S=c[0].secondParam+"",x,_,H,L,w,$,E,F,M,V,I,B,t1,e1,h1,u1,i1,p1,o1,N,G,D,W,z1,_1,S1,s1,w1;return o1=new F1({props:{params:{path:`/svelte-client-router/v1/${c[1]}/testRegexPath2/${c[2]}/`},$$slots:{default:[dn]},$$scope:{ctx:c}}}),{c(){e=C("div"),r=C("h4"),r.textContent="Test - Regex Path 2",t=k(),o=C("p"),o.innerHTML=`This route tests two regex params path. When declaring it - to go to the +`,A(r,"class","scr-h4"),A(o,"class","scr-text-justify"),A(H,"for","scr-next-param"),A(w,"type","text"),A(w,"id","scr-next-param"),A(w,"placeholder",":testParam"),A(_,"class","scr-test"),A(M,"class","scr-hr"),A(t1,"class","scr-pre"),A(e,"class","scr-page")},m(i1,p1){Y(i1,e,p1),i(e,r),i(e,t),i(e,o),i(o,n),i(o,b),i(o,v),i(o,h),i(o,a),i(o,s),i(s,l),i(o,m),i(o,d),i(o,z),i(o,y),i(o,S),i(e,x),i(e,_),i(_,H),i(_,L),i(_,w),V2(w,c[1]),i(_,$),C1(E,_,null),i(e,F),i(e,M),i(e,V),i(e,I),i(e,B),i(e,t1),e1=!0,h1||(u1=i0(w,"input",c[2]),h1=!0)},p(i1,p1){(!e1||p1&1)&&f!==(f=i1[0].testParam+"")&&D2(l,f),p1&2&&w.value!==i1[1]&&V2(w,i1[1]);const o1={};p1&2&&(o1.params={path:`/svelte-client-router/v1/${i1[1]}/testRegexPath`}),p1&8&&(o1.$$scope={dirty:p1,ctx:i1}),E.$set(o1)},i(i1){e1||(m1(E.$$.fragment,i1),e1=!0)},o(i1){d1(E.$$.fragment,i1),e1=!1},d(i1){i1&&Z(e),y1(E),h1=!1,u1()}}}function hn(c){let e,r;return e=new p2({props:{back:{name:"v1_Router_Store",text:"Router Store"},forward:{name:"v1_Test_Regex_Path_2",text:"Test - Regex Path 2"},$$slots:{default:[fn]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&11&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}let vn=/[A-Za-zÀ-ú0-9]/g;function pn(c,e,r){let{pathParams:t}=e,o="";function n(){o=this.value,r(1,o)}return c.$$set=b=>{"pathParams"in b&&r(0,t=b.pathParams)},c.$$.update=()=>{if(c.$$.dirty&2&&o){const b=o.match(vn),v=b?b.join("").substr(0,100)+"":"";r(1,o=v)}},[t,o,n]}class mn extends e2{constructor(e){super(),J1(this,e,pn,hn,X1,{pathParams:0})}}const dn=Object.freeze(Object.defineProperty({__proto__:null,default:mn},Symbol.toStringTag,{value:"Module"}));function bn(c){let e;return{c(){e=C("div"),e.textContent="Test Route With Two Params",A(e,"class","scr-btn")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function xn(c){let e,r,t,o,n,b,v,h,a,s,f=c[0].firstParam+"",l,m,d,z,y,S=c[0].secondParam+"",x,_,H,L,w,$,E,F,M,V,I,B,t1,e1,h1,u1,i1,p1,o1,N,G,D,W,z1,_1,S1,s1,w1;return o1=new F1({props:{params:{path:`/svelte-client-router/v1/${c[1]}/testRegexPath2/${c[2]}/`},$$slots:{default:[bn]},$$scope:{ctx:c}}}),{c(){e=C("div"),r=C("h4"),r.textContent="Test - Regex Path 2",t=k(),o=C("p"),o.innerHTML=`This route tests two regex params path. When declaring it - to go to the route - you should remember that the last part of the route is a regex.
      So if it is empty add a trailing slash after it @@ -1825,7 +1825,7 @@ import { title: "SCR - Test Regex Path 2 - Version 2", beforeEnter: [setVersion2], } -`,T(r,"class","scr-h4"),T(o,"class","scr-text-justify"),T(b,"class","scr-pre"),T(h,"class","scr-text-justify"),T(V,"for","scr-next-first-param"),T(B,"type","text"),T(B,"id","scr-next-first-param"),T(B,"placeholder",":firstParam"),T(h1,"for","scr-next-second-param"),T(i1,"type","text"),T(i1,"id","scr-next-second-param"),T(i1,"placeholder",":secondParam"),T(F,"class","scr-test"),T(G,"class","scr-hr"),T(W,"class",""),T(_1,"class","scr-pre"),T(e,"class","scr-page")},m(R1,B1){Y(R1,e,B1),i(e,r),i(e,t),i(e,o),i(e,n),i(e,b),i(e,v),i(e,h),i(h,a),i(h,s),i(s,l),i(h,m),i(h,d),i(h,z),i(h,y),i(y,x),i(h,_),i(h,H),i(h,L),i(h,w),i(h,$),i(e,E),i(e,F),i(F,M),i(M,V),i(M,I),i(M,B),V2(B,c[1]),i(F,t1),i(F,e1),i(e1,h1),i(e1,u1),i(e1,i1),V2(i1,c[2]),i(F,p1),C1(o1,F,null),i(e,N),i(e,G),i(e,D),i(e,W),i(e,z1),i(e,_1),S1=!0,s1||(w1=[s0(B,"input",c[3]),s0(i1,"input",c[4])],s1=!0)},p(R1,B1){(!S1||B1&1)&&f!==(f=R1[0].firstParam+"")&&D2(l,f),(!S1||B1&1)&&S!==(S=R1[0].secondParam+"")&&D2(x,S),B1&2&&B.value!==R1[1]&&V2(B,R1[1]),B1&4&&i1.value!==R1[2]&&V2(i1,R1[2]);const P1={};B1&6&&(P1.params={path:`/svelte-client-router/v1/${R1[1]}/testRegexPath2/${R1[2]}/`}),B1&32&&(P1.$$scope={dirty:B1,ctx:R1}),o1.$set(P1)},i(R1){S1||(m1(o1.$$.fragment,R1),S1=!0)},o(R1){d1(o1.$$.fragment,R1),S1=!1},d(R1){R1&&Z(e),y1(o1),s1=!1,H0(w1)}}}function xn(c){let e,r;return e=new p2({props:{back:{name:"v1_Test_Regex_Path",text:"Test - Regex Path"},forward:{name:"v1_Test_Loading_Component_Before_Enter",text:"Test - Loading Component Before Enter"},$$slots:{default:[bn]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&39&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}let gn=/[A-Za-zÀ-ú0-9]/g;function Pt(c){const e=c.match(gn);return e?e.join("").substr(0,100)+"":""}function _n(c,e,r){let{pathParams:t}=e,o="",n="";function b(){o=this.value,r(1,o)}function v(){n=this.value,r(2,n)}return c.$$set=h=>{"pathParams"in h&&r(0,t=h.pathParams)},c.$$.update=()=>{c.$$.dirty&2&&o&&r(1,o=Pt(o)),c.$$.dirty&4&&n&&r(2,n=Pt(n))},[t,o,n,b,v]}class zn extends e2{constructor(e){super(),J1(this,e,_n,xn,X1,{pathParams:0})}}const Cn=Object.freeze(Object.defineProperty({__proto__:null,default:zn},Symbol.toStringTag,{value:"Module"}));function yn(c){let e;return{c(){e=C("div"),e.textContent="Test Route With Two Params and Route Custom Loading Component",T(e,"class","scr-btn")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function Ln(c){let e,r,t,o,n,b,v,h,a,s,f,l,m=(c[0].timeout||"")+"",d,z,y,S,x,_=(c[1].subLoadingText||"")+"",H,L,w,$,E,F,M,V,I,B,t1,e1,h1,u1,i1,p1,o1,N,G,D,W,z1,_1,S1,s1,w1,R1,B1;return G=new F1({props:{params:{path:`/svelte-client-router/v1/testLoadingComponentWithBeforeEnter/${c[2]||10}?subLoadingText=${c[3]}`},$$slots:{default:[yn]},$$scope:{ctx:c}}}),{c(){e=C("div"),r=C("h4"),r.textContent="Test - Loading Component With Route Before Enter",t=k(),o=C("p"),o.textContent="This route is demonstrating several concepts, as some as follows:",n=k(),b=C("ul"),b.innerHTML=`

    • The Loading Component
    • +`,A(r,"class","scr-h4"),A(o,"class","scr-text-justify"),A(b,"class","scr-pre"),A(h,"class","scr-text-justify"),A(V,"for","scr-next-first-param"),A(B,"type","text"),A(B,"id","scr-next-first-param"),A(B,"placeholder",":firstParam"),A(h1,"for","scr-next-second-param"),A(i1,"type","text"),A(i1,"id","scr-next-second-param"),A(i1,"placeholder",":secondParam"),A(F,"class","scr-test"),A(G,"class","scr-hr"),A(W,"class",""),A(_1,"class","scr-pre"),A(e,"class","scr-page")},m(R1,B1){Y(R1,e,B1),i(e,r),i(e,t),i(e,o),i(e,n),i(e,b),i(e,v),i(e,h),i(h,a),i(h,s),i(s,l),i(h,m),i(h,d),i(h,z),i(h,y),i(y,x),i(h,_),i(h,H),i(h,L),i(h,w),i(h,$),i(e,E),i(e,F),i(F,M),i(M,V),i(M,I),i(M,B),V2(B,c[1]),i(F,t1),i(F,e1),i(e1,h1),i(e1,u1),i(e1,i1),V2(i1,c[2]),i(F,p1),C1(o1,F,null),i(e,N),i(e,G),i(e,D),i(e,W),i(e,z1),i(e,_1),S1=!0,s1||(w1=[i0(B,"input",c[3]),i0(i1,"input",c[4])],s1=!0)},p(R1,B1){(!S1||B1&1)&&f!==(f=R1[0].firstParam+"")&&D2(l,f),(!S1||B1&1)&&S!==(S=R1[0].secondParam+"")&&D2(x,S),B1&2&&B.value!==R1[1]&&V2(B,R1[1]),B1&4&&i1.value!==R1[2]&&V2(i1,R1[2]);const P1={};B1&6&&(P1.params={path:`/svelte-client-router/v1/${R1[1]}/testRegexPath2/${R1[2]}/`}),B1&32&&(P1.$$scope={dirty:B1,ctx:R1}),o1.$set(P1)},i(R1){S1||(m1(o1.$$.fragment,R1),S1=!0)},o(R1){d1(o1.$$.fragment,R1),S1=!1},d(R1){R1&&Z(e),y1(o1),s1=!1,H0(w1)}}}function gn(c){let e,r;return e=new p2({props:{back:{name:"v1_Test_Regex_Path",text:"Test - Regex Path"},forward:{name:"v1_Test_Loading_Component_Before_Enter",text:"Test - Loading Component Before Enter"},$$slots:{default:[xn]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&39&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}let _n=/[A-Za-zÀ-ú0-9]/g;function Pt(c){const e=c.match(_n);return e?e.join("").substr(0,100)+"":""}function zn(c,e,r){let{pathParams:t}=e,o="",n="";function b(){o=this.value,r(1,o)}function v(){n=this.value,r(2,n)}return c.$$set=h=>{"pathParams"in h&&r(0,t=h.pathParams)},c.$$.update=()=>{c.$$.dirty&2&&o&&r(1,o=Pt(o)),c.$$.dirty&4&&n&&r(2,n=Pt(n))},[t,o,n,b,v]}class Cn extends e2{constructor(e){super(),J1(this,e,zn,gn,X1,{pathParams:0})}}const yn=Object.freeze(Object.defineProperty({__proto__:null,default:Cn},Symbol.toStringTag,{value:"Module"}));function Ln(c){let e;return{c(){e=C("div"),e.textContent="Test Route With Two Params and Route Custom Loading Component",A(e,"class","scr-btn")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function Hn(c){let e,r,t,o,n,b,v,h,a,s,f,l,m=(c[0].timeout||"")+"",d,z,y,S,x,_=(c[1].subLoadingText||"")+"",H,L,w,$,E,F,M,V,I,B,t1,e1,h1,u1,i1,p1,o1,N,G,D,W,z1,_1,S1,s1,w1,R1,B1;return G=new F1({props:{params:{path:`/svelte-client-router/v1/testLoadingComponentWithBeforeEnter/${c[2]||10}?subLoadingText=${c[3]}`},$$slots:{default:[Ln]},$$scope:{ctx:c}}}),{c(){e=C("div"),r=C("h4"),r.textContent="Test - Loading Component With Route Before Enter",t=k(),o=C("p"),o.textContent="This route is demonstrating several concepts, as some as follows:",n=k(),b=C("ul"),b.innerHTML=`
    • The Loading Component
    • Lazy Loading a Custom Loading Component for this specific Route
    • Capturing params in Loading Component
      • Path Params
      • @@ -1859,7 +1859,7 @@ import { title: "SCR - Test - Loading Component with Before Enter", forceReload: true } -`,T(r,"class","scr-h4"),T(o,"class","scr-text-justify"),T(h,"class","scr-text-justify"),T(s,"class","scr-text-justify"),T(B,"for","scr-timeout-param"),T(e1,"type","text"),T(e1,"id","scr-timeout-param"),T(e1,"placeholder",":timeoutParam"),T(i1,"for","scr-query-param"),T(o1,"type","text"),T(o1,"id","scr-query-param"),T(o1,"placeholder",":queryParam"),T(V,"class","scr-test"),T(W,"class","scr-hr"),T(s1,"class","scr-pre"),T(e,"class","scr-page")},m(P1,O1){Y(P1,e,O1),i(e,r),i(e,t),i(e,o),i(e,n),i(e,b),i(e,v),i(e,h),i(e,a),i(e,s),i(s,f),i(s,l),i(l,d),i(s,z),i(s,y),i(s,S),i(s,x),i(x,H),i(s,L),i(s,w),i(s,$),i(s,E),i(s,F),i(e,M),i(e,V),i(V,I),i(I,B),i(I,t1),i(I,e1),V2(e1,c[2]),i(V,h1),i(V,u1),i(u1,i1),i(u1,p1),i(u1,o1),V2(o1,c[3]),i(V,N),C1(G,V,null),i(e,D),i(e,W),i(e,z1),i(e,_1),i(e,S1),i(e,s1),w1=!0,R1||(B1=[s0(e1,"input",c[4]),s0(o1,"input",c[5])],R1=!0)},p(P1,O1){(!w1||O1&1)&&m!==(m=(P1[0].timeout||"")+"")&&D2(d,m),(!w1||O1&2)&&_!==(_=(P1[1].subLoadingText||"")+"")&&D2(H,_),O1&4&&e1.value!==P1[2]&&V2(e1,P1[2]),O1&8&&o1.value!==P1[3]&&V2(o1,P1[3]);const I1={};O1&12&&(I1.params={path:`/svelte-client-router/v1/testLoadingComponentWithBeforeEnter/${P1[2]||10}?subLoadingText=${P1[3]}`}),O1&64&&(I1.$$scope={dirty:O1,ctx:P1}),G.$set(I1)},i(P1){w1||(m1(G.$$.fragment,P1),w1=!0)},o(P1){d1(G.$$.fragment,P1),w1=!1},d(P1){P1&&Z(e),y1(G),R1=!1,H0(B1)}}}function Hn(c){let e,r;return e=new p2({props:{back:{name:"v1_Test_Regex_Path_2",text:"Test - Regex Path 2"},forward:{name:"v1_Test_Any_Route_Wildcard",text:"Test - Any Route Wildcard"},$$slots:{default:[Ln]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&79&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}let Mn=/[0-9]/g,Rn=/[A-Za-zÀ-ú0-9]/g;function Sn(c=""){if(!c)return c;c=c.toString();const e=c.match(Mn);return e?e.join("").substr(0,100)+"":""}function wn(c=""){if(!c)return c;c=c.toString();const e=c.match(Rn);return e?e.join("").substr(0,100)+"":""}function $n(c,e,r){let{pathParams:t={}}=e,{queryParams:o={}}=e,n=2e3,b="";function v(){n=this.value,r(2,n)}function h(){b=this.value,r(3,b)}return c.$$set=a=>{"pathParams"in a&&r(0,t=a.pathParams),"queryParams"in a&&r(1,o=a.queryParams)},c.$$.update=()=>{c.$$.dirty&4&&n&&r(2,n=Sn(n)),c.$$.dirty&8&&b&&r(3,b=wn(b))},[t,o,n,b,v,h]}class Vn extends e2{constructor(e){super(),J1(this,e,$n,Hn,X1,{pathParams:0,queryParams:1})}}const En=Object.freeze(Object.defineProperty({__proto__:null,default:Vn},Symbol.toStringTag,{value:"Module"}));function Tn(c){let e;return{c(){e=C("div"),e.textContent="Test Route Any Route Wildcard With Param",T(e,"class","scr-btn")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function An(c){let e,r,t,o,n,b,v,h,a,s,f,l,m,d,z,y=c[0].somePathParam+"",S,x,_,H,L,w,$,E,F,M,V,I,B,t1,e1,h1,u1,i1,p1,o1,N,G,D,W,z1,_1,S1,s1;return p1=new F1({props:{params:{path:`/svelte-client-router/v1/anyRouteWildcard/${c[2]}/${c[1]}/`},$$slots:{default:[Tn]},$$scope:{ctx:c}}}),{c(){e=C("div"),r=C("h4"),r.textContent="Test - Any Route Wildcard",t=k(),o=C("p"),n=M1(`This route tests any route wildcard with regex param path. +`,A(r,"class","scr-h4"),A(o,"class","scr-text-justify"),A(h,"class","scr-text-justify"),A(s,"class","scr-text-justify"),A(B,"for","scr-timeout-param"),A(e1,"type","text"),A(e1,"id","scr-timeout-param"),A(e1,"placeholder",":timeoutParam"),A(i1,"for","scr-query-param"),A(o1,"type","text"),A(o1,"id","scr-query-param"),A(o1,"placeholder",":queryParam"),A(V,"class","scr-test"),A(W,"class","scr-hr"),A(s1,"class","scr-pre"),A(e,"class","scr-page")},m(P1,O1){Y(P1,e,O1),i(e,r),i(e,t),i(e,o),i(e,n),i(e,b),i(e,v),i(e,h),i(e,a),i(e,s),i(s,f),i(s,l),i(l,d),i(s,z),i(s,y),i(s,S),i(s,x),i(x,H),i(s,L),i(s,w),i(s,$),i(s,E),i(s,F),i(e,M),i(e,V),i(V,I),i(I,B),i(I,t1),i(I,e1),V2(e1,c[2]),i(V,h1),i(V,u1),i(u1,i1),i(u1,p1),i(u1,o1),V2(o1,c[3]),i(V,N),C1(G,V,null),i(e,D),i(e,W),i(e,z1),i(e,_1),i(e,S1),i(e,s1),w1=!0,R1||(B1=[i0(e1,"input",c[4]),i0(o1,"input",c[5])],R1=!0)},p(P1,O1){(!w1||O1&1)&&m!==(m=(P1[0].timeout||"")+"")&&D2(d,m),(!w1||O1&2)&&_!==(_=(P1[1].subLoadingText||"")+"")&&D2(H,_),O1&4&&e1.value!==P1[2]&&V2(e1,P1[2]),O1&8&&o1.value!==P1[3]&&V2(o1,P1[3]);const I1={};O1&12&&(I1.params={path:`/svelte-client-router/v1/testLoadingComponentWithBeforeEnter/${P1[2]||10}?subLoadingText=${P1[3]}`}),O1&64&&(I1.$$scope={dirty:O1,ctx:P1}),G.$set(I1)},i(P1){w1||(m1(G.$$.fragment,P1),w1=!0)},o(P1){d1(G.$$.fragment,P1),w1=!1},d(P1){P1&&Z(e),y1(G),R1=!1,H0(B1)}}}function Mn(c){let e,r;return e=new p2({props:{back:{name:"v1_Test_Regex_Path_2",text:"Test - Regex Path 2"},forward:{name:"v1_Test_Any_Route_Wildcard",text:"Test - Any Route Wildcard"},$$slots:{default:[Hn]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&79&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}let Rn=/[0-9]/g,Sn=/[A-Za-zÀ-ú0-9]/g;function wn(c=""){if(!c)return c;c=c.toString();const e=c.match(Rn);return e?e.join("").substr(0,100)+"":""}function $n(c=""){if(!c)return c;c=c.toString();const e=c.match(Sn);return e?e.join("").substr(0,100)+"":""}function Vn(c,e,r){let{pathParams:t={}}=e,{queryParams:o={}}=e,n=2e3,b="";function v(){n=this.value,r(2,n)}function h(){b=this.value,r(3,b)}return c.$$set=a=>{"pathParams"in a&&r(0,t=a.pathParams),"queryParams"in a&&r(1,o=a.queryParams)},c.$$.update=()=>{c.$$.dirty&4&&n&&r(2,n=wn(n)),c.$$.dirty&8&&b&&r(3,b=$n(b))},[t,o,n,b,v,h]}class En extends e2{constructor(e){super(),J1(this,e,Vn,Mn,X1,{pathParams:0,queryParams:1})}}const An=Object.freeze(Object.defineProperty({__proto__:null,default:En},Symbol.toStringTag,{value:"Module"}));function Tn(c){let e;return{c(){e=C("div"),e.textContent="Test Route Any Route Wildcard With Param",A(e,"class","scr-btn")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function qn(c){let e,r,t,o,n,b,v,h,a,s,f,l,m,d,z,y=c[0].somePathParam+"",S,x,_,H,L,w,$,E,F,M,V,I,B,t1,e1,h1,u1,i1,p1,o1,N,G,D,W,z1,_1,S1,s1;return p1=new F1({props:{params:{path:`/svelte-client-router/v1/anyRouteWildcard/${c[2]}/${c[1]}/`},$$slots:{default:[Tn]},$$scope:{ctx:c}}}),{c(){e=C("div"),r=C("h4"),r.textContent="Test - Any Route Wildcard",t=k(),o=C("p"),n=M1(`This route tests any route wildcard with regex param path. `),b=C("br"),v=k(),h=C("br"),a=M1(` The route path for wildcard value is: `),s=C("b"),f=M1(c[3]),l=k(),m=C("br"),d=M1(` The route param path passed is: `),z=C("b"),S=M1(y),x=k(),_=C("br"),H=k(),L=C("br"),w=M1(` @@ -1871,10 +1871,10 @@ import { title: "SCR - Test - Any Route Wildcard", forceReload: true } -`,T(r,"class","scr-h4"),T(o,"class","scr-text-justify"),T(M,"for","scr-route-wildcard-text"),T(I,"type","text"),T(I,"id","scr-route-wildcard-text"),T(I,"placeholder","routeWildcardText"),T(e1,"for","scr-some-path-param"),T(u1,"type","text"),T(u1,"id","scr-some-path-param"),T(u1,"placeholder",":somePathParam"),T(E,"class","scr-test"),T(N,"class","scr-hr"),T(z1,"class","scr-pre"),T(e,"class","scr-page")},m(w1,R1){Y(w1,e,R1),i(e,r),i(e,t),i(e,o),i(o,n),i(o,b),i(o,v),i(o,h),i(o,a),i(o,s),i(s,f),i(o,l),i(o,m),i(o,d),i(o,z),i(z,S),i(o,x),i(o,_),i(o,H),i(o,L),i(o,w),i(e,$),i(e,E),i(E,F),i(F,M),i(F,V),i(F,I),V2(I,c[2]),i(E,B),i(E,t1),i(t1,e1),i(t1,h1),i(t1,u1),V2(u1,c[1]),i(E,i1),C1(p1,E,null),i(e,o1),i(e,N),i(e,G),i(e,D),i(e,W),i(e,z1),_1=!0,S1||(s1=[s0(I,"input",c[5]),s0(u1,"input",c[6])],S1=!0)},p(w1,R1){(!_1||R1&8)&&D2(f,w1[3]),(!_1||R1&1)&&y!==(y=w1[0].somePathParam+"")&&D2(S,y),R1&4&&I.value!==w1[2]&&V2(I,w1[2]),R1&2&&u1.value!==w1[1]&&V2(u1,w1[1]);const B1={};R1&6&&(B1.params={path:`/svelte-client-router/v1/anyRouteWildcard/${w1[2]}/${w1[1]}/`}),R1&128&&(B1.$$scope={dirty:R1,ctx:w1}),p1.$set(B1)},i(w1){_1||(m1(p1.$$.fragment,w1),_1=!0)},o(w1){d1(p1.$$.fragment,w1),_1=!1},d(w1){w1&&Z(e),y1(p1),S1=!1,H0(s1)}}}function qn(c){let e,r;return e=new p2({props:{back:{name:"v1_Test_Loading_Component_Before_Enter",text:"Test - Loading Component Before Enter"},forward:{name:"v1_Not_Found_Route",text:"Test - Not Found Route"},$$slots:{default:[An]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&143&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}let kt=/[A-Za-zÀ-ú0-9]/g;function Pn(c,e,r){let{pathParams:t}=e,{toRoute:o}=e,n="",b="",v="";function h(){b=this.value,r(2,b)}function a(){n=this.value,r(1,n),r(2,b)}return c.$$set=s=>{"pathParams"in s&&r(0,t=s.pathParams),"toRoute"in s&&r(4,o=s.toRoute)},c.$$.update=()=>{if(c.$$.dirty&2&&n){const s=n.toString().match(kt),f=s?s.join("").substr(0,100)+"":"";r(1,n=f)}if(c.$$.dirty&6&&b){const s=n.toString().match(kt),f=s?s.join("").substr(0,20)+"":"";r(1,n=f)}if(c.$$.dirty&16&&o&&o.path){const s=o.path.split("/");r(3,v=s[4])}},[t,n,b,v,o,h,a]}class kn extends e2{constructor(e){super(),J1(this,e,Pn,qn,X1,{pathParams:0,toRoute:4})}}const On=Object.freeze(Object.defineProperty({__proto__:null,default:kn},Symbol.toStringTag,{value:"Module"}));function Bn(c){let e;return{c(){e=C("div"),e.innerHTML=`

        Version 1

        +`,A(r,"class","scr-h4"),A(o,"class","scr-text-justify"),A(M,"for","scr-route-wildcard-text"),A(I,"type","text"),A(I,"id","scr-route-wildcard-text"),A(I,"placeholder","routeWildcardText"),A(e1,"for","scr-some-path-param"),A(u1,"type","text"),A(u1,"id","scr-some-path-param"),A(u1,"placeholder",":somePathParam"),A(E,"class","scr-test"),A(N,"class","scr-hr"),A(z1,"class","scr-pre"),A(e,"class","scr-page")},m(w1,R1){Y(w1,e,R1),i(e,r),i(e,t),i(e,o),i(o,n),i(o,b),i(o,v),i(o,h),i(o,a),i(o,s),i(s,f),i(o,l),i(o,m),i(o,d),i(o,z),i(z,S),i(o,x),i(o,_),i(o,H),i(o,L),i(o,w),i(e,$),i(e,E),i(E,F),i(F,M),i(F,V),i(F,I),V2(I,c[2]),i(E,B),i(E,t1),i(t1,e1),i(t1,h1),i(t1,u1),V2(u1,c[1]),i(E,i1),C1(p1,E,null),i(e,o1),i(e,N),i(e,G),i(e,D),i(e,W),i(e,z1),_1=!0,S1||(s1=[i0(I,"input",c[5]),i0(u1,"input",c[6])],S1=!0)},p(w1,R1){(!_1||R1&8)&&D2(f,w1[3]),(!_1||R1&1)&&y!==(y=w1[0].somePathParam+"")&&D2(S,y),R1&4&&I.value!==w1[2]&&V2(I,w1[2]),R1&2&&u1.value!==w1[1]&&V2(u1,w1[1]);const B1={};R1&6&&(B1.params={path:`/svelte-client-router/v1/anyRouteWildcard/${w1[2]}/${w1[1]}/`}),R1&128&&(B1.$$scope={dirty:R1,ctx:w1}),p1.$set(B1)},i(w1){_1||(m1(p1.$$.fragment,w1),_1=!0)},o(w1){d1(p1.$$.fragment,w1),_1=!1},d(w1){w1&&Z(e),y1(p1),S1=!1,H0(s1)}}}function Pn(c){let e,r;return e=new p2({props:{back:{name:"v1_Test_Loading_Component_Before_Enter",text:"Test - Loading Component Before Enter"},forward:{name:"v1_Not_Found_Route",text:"Test - Not Found Route"},$$slots:{default:[qn]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&143&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}let kt=/[A-Za-zÀ-ú0-9]/g;function kn(c,e,r){let{pathParams:t}=e,{toRoute:o}=e,n="",b="",v="";function h(){b=this.value,r(2,b)}function a(){n=this.value,r(1,n),r(2,b)}return c.$$set=s=>{"pathParams"in s&&r(0,t=s.pathParams),"toRoute"in s&&r(4,o=s.toRoute)},c.$$.update=()=>{if(c.$$.dirty&2&&n){const s=n.toString().match(kt),f=s?s.join("").substr(0,100)+"":"";r(1,n=f)}if(c.$$.dirty&6&&b){const s=n.toString().match(kt),f=s?s.join("").substr(0,20)+"":"";r(1,n=f)}if(c.$$.dirty&16&&o&&o.path){const s=o.path.split("/");r(3,v=s[4])}},[t,n,b,v,o,h,a]}class On extends e2{constructor(e){super(),J1(this,e,kn,Pn,X1,{pathParams:0,toRoute:4})}}const Bn=Object.freeze(Object.defineProperty({__proto__:null,default:On},Symbol.toStringTag,{value:"Module"}));function In(c){let e;return{c(){e=C("div"),e.innerHTML=`

        Version 1

        The first version, with a lot of features, the code is not test - covered.

        `,T(e,"class","scr-version svelte-196okmf")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function In(c){let e;return{c(){e=C("div"),e.innerHTML=`

        Version 2

        -

        Redesigned from scratch, test covered and more reliable.

        `,T(e,"class","scr-version svelte-196okmf")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function jn(c){let e,r,t,o,n,b,v,h;return n=new F1({props:{params:{name:"v1_Presentation"},$$slots:{default:[Bn]},$$scope:{ctx:c}}}),v=new F1({props:{params:{name:"v2_Presentation"},$$slots:{default:[In]},$$scope:{ctx:c}}}),{c(){e=C("div"),r=C("h2"),r.textContent="Choose a Version",t=k(),o=C("div"),H1(n.$$.fragment),b=k(),H1(v.$$.fragment),T(o,"class","scr-versions svelte-196okmf"),T(e,"class","scr-home svelte-196okmf")},m(a,s){Y(a,e,s),i(e,r),i(e,t),i(e,o),C1(n,o,null),i(o,b),C1(v,o,null),h=!0},p(a,s){const f={};s&1&&(f.$$scope={dirty:s,ctx:a}),n.$set(f);const l={};s&1&&(l.$$scope={dirty:s,ctx:a}),v.$set(l)},i(a){h||(m1(n.$$.fragment,a),m1(v.$$.fragment,a),h=!0)},o(a){d1(n.$$.fragment,a),d1(v.$$.fragment,a),h=!1},d(a){a&&Z(e),y1(n),y1(v)}}}function Fn(c){let e,r;return e=new p2({props:{$$slots:{default:[jn]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&1&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}class Nn extends e2{constructor(e){super(),J1(this,e,null,Fn,X1,{})}}const Dn=Object.freeze(Object.defineProperty({__proto__:null,default:Nn},Symbol.toStringTag,{value:"Module"}));function Wn(c){let e;return{c(){e=C("div"),e.innerHTML=`

        Presentation

        + covered.

        `,A(e,"class","scr-version svelte-196okmf")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function jn(c){let e;return{c(){e=C("div"),e.innerHTML=`

        Version 2

        +

        Redesigned from scratch, test covered and more reliable.

        `,A(e,"class","scr-version svelte-196okmf")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function Fn(c){let e,r,t,o,n,b,v,h;return n=new F1({props:{params:{name:"v1_Presentation"},$$slots:{default:[In]},$$scope:{ctx:c}}}),v=new F1({props:{params:{name:"v2_Presentation"},$$slots:{default:[jn]},$$scope:{ctx:c}}}),{c(){e=C("div"),r=C("h2"),r.textContent="Choose a Version",t=k(),o=C("div"),H1(n.$$.fragment),b=k(),H1(v.$$.fragment),A(o,"class","scr-versions svelte-196okmf"),A(e,"class","scr-home svelte-196okmf")},m(a,s){Y(a,e,s),i(e,r),i(e,t),i(e,o),C1(n,o,null),i(o,b),C1(v,o,null),h=!0},p(a,s){const f={};s&1&&(f.$$scope={dirty:s,ctx:a}),n.$set(f);const l={};s&1&&(l.$$scope={dirty:s,ctx:a}),v.$set(l)},i(a){h||(m1(n.$$.fragment,a),m1(v.$$.fragment,a),h=!0)},o(a){d1(n.$$.fragment,a),d1(v.$$.fragment,a),h=!1},d(a){a&&Z(e),y1(n),y1(v)}}}function Nn(c){let e,r;return e=new p2({props:{$$slots:{default:[Fn]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&1&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}class Dn extends e2{constructor(e){super(),J1(this,e,null,Nn,X1,{})}}const Wn=Object.freeze(Object.defineProperty({__proto__:null,default:Dn},Symbol.toStringTag,{value:"Module"}));function Gn(c){let e;return{c(){e=C("div"),e.innerHTML=`

        Presentation

        Hi.. This is The Svelte Router - VERSION 2 - thought to be focused on controlling what happens before entering the route.
        @@ -1917,7 +1917,7 @@ import { title: "SCR - Presentation - Version 2", beforeEnter: [setVersion2], } -`,T(e,"class","scr-page")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function Gn(c){let e,r;return e=new p2({props:{back:{name:"rootRoute",text:"Home"},forward:{name:"v2_Installation",text:"Installation"},$$slots:{default:[Wn]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&1&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}class Un extends e2{constructor(e){super(),J1(this,e,null,Gn,X1,{})}}const Zn=Object.freeze(Object.defineProperty({__proto__:null,default:Un},Symbol.toStringTag,{value:"Module"}));function Yn(c){let e;return{c(){e=C("div"),e.innerHTML=`

        Installation

        +`,A(e,"class","scr-page")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function Un(c){let e,r;return e=new p2({props:{back:{name:"rootRoute",text:"Home"},forward:{name:"v2_Installation",text:"Installation"},$$slots:{default:[Gn]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&1&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}class Zn extends e2{constructor(e){super(),J1(this,e,null,Un,X1,{})}}const Yn=Object.freeze(Object.defineProperty({__proto__:null,default:Zn},Symbol.toStringTag,{value:"Module"}));function Kn(c){let e;return{c(){e=C("div"),e.innerHTML=`

        Installation

        Via npm:
        npm install svelte-client-router
         
        @@ -1945,7 +1945,7 @@ import { title: "SCR - Installation - Version 2", beforeEnter: [setVersion2], } -`,T(e,"class","scr-page")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function Kn(c){let e,r;return e=new p2({props:{back:{name:"v2_Presentation",text:"Presentation"},forward:{name:"v2_Getting_Started",text:"Getting Started"},$$slots:{default:[Yn]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&1&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}class Xn extends e2{constructor(e){super(),J1(this,e,null,Kn,X1,{})}}const Qn=Object.freeze(Object.defineProperty({__proto__:null,default:Xn},Symbol.toStringTag,{value:"Module"}));function Jn(c){let e;return{c(){e=C("div"),e.innerHTML=`

        Getting Started

        +`,A(e,"class","scr-page")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function Xn(c){let e,r;return e=new p2({props:{back:{name:"v2_Presentation",text:"Presentation"},forward:{name:"v2_Getting_Started",text:"Getting Started"},$$slots:{default:[Kn]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&1&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}class Qn extends e2{constructor(e){super(),J1(this,e,null,Xn,X1,{})}}const Jn=Object.freeze(Object.defineProperty({__proto__:null,default:Qn},Symbol.toStringTag,{value:"Module"}));function ea(c){let e;return{c(){e=C("div"),e.innerHTML=`

        Getting Started

        Loading The Svelte Client Router
        import {  
           scr_router,
        @@ -2110,7 +2110,7 @@ const routes = [
           title: "SCR - GettingStarted - Version 2",
           beforeEnter: [setVersion2],
         }
        -
        `,T(e,"class","scr-page")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function ea(c){let e,r;return e=new p2({props:{back:{name:"v2_Installation",text:"Installation"},forward:{name:"v2_Configuration_Options",text:"Configuration Options"},$$slots:{default:[Jn]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&1&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}class ta extends e2{constructor(e){super(),J1(this,e,null,ea,X1,{})}}const ra=Object.freeze(Object.defineProperty({__proto__:null,default:ta},Symbol.toStringTag,{value:"Module"}));function ca(c){let e;return{c(){e=C("div"),e.innerHTML=`

        Configuration Options

        +`,A(e,"class","scr-page")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function ta(c){let e,r;return e=new p2({props:{back:{name:"v2_Installation",text:"Installation"},forward:{name:"v2_Configuration_Options",text:"Configuration Options"},$$slots:{default:[ea]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&1&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}class ra extends e2{constructor(e){super(),J1(this,e,null,ta,X1,{})}}const ca=Object.freeze(Object.defineProperty({__proto__:null,default:ra},Symbol.toStringTag,{value:"Module"}));function oa(c){let e;return{c(){e=C("div"),e.innerHTML=`

        Configuration Options

        The configuration are managed in a Svelte Store. The Svelte Store are one of the cooliest things in Svelte. Is very reactive and helps us to make our router reactive too. You can change the behaviour @@ -2358,7 +2358,7 @@ configStore.setScrollProps({ title: "SCR - Configuration Options - Version 2", beforeEnter: [setVersion2], } -`,T(e,"class","scr-page")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function oa(c){let e,r;return e=new p2({props:{back:{name:"v2_Getting_Started",text:"Getting Started"},forward:{name:"v2_Configuration_Global_Before_Enter_Option",text:"Configuration Before Enter"},$$slots:{default:[ca]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&1&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}class na extends e2{constructor(e){super(),J1(this,e,null,oa,X1,{})}}const aa=Object.freeze(Object.defineProperty({__proto__:null,default:na},Symbol.toStringTag,{value:"Module"}));function sa(c){let e,r,t,o,n,b,v,h,a;return{c(){e=C("h4"),e.textContent="Anatomy of the Before Enter Function",r=k(),t=C("p"),t.textContent=`When declaring a Before Enter function it will be provided some cool +`,A(e,"class","scr-page")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function na(c){let e,r;return e=new p2({props:{back:{name:"v2_Getting_Started",text:"Getting Started"},forward:{name:"v2_Configuration_Global_Before_Enter_Option",text:"Configuration Before Enter"},$$slots:{default:[oa]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&1&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}class aa extends e2{constructor(e){super(),J1(this,e,null,na,X1,{})}}const sa=Object.freeze(Object.defineProperty({__proto__:null,default:aa},Symbol.toStringTag,{value:"Module"}));function ia(c){let e,r,t,o,n,b,v,h,a;return{c(){e=C("h4"),e.textContent="Anatomy of the Before Enter Function",r=k(),t=C("p"),t.textContent=`When declaring a Before Enter function it will be provided some cool parameters for you to play with. Lets check them:`,o=k(),n=C("pre"),n.innerHTML=`// Example of one before enter function declaration ({ reject, resolve, routeFrom, routeTo }, payload) => { resolve(true); @@ -2470,7 +2470,7 @@ configStore.setScrollProps({ that you made for this object.
        If redefined it will log a console warn if configStore.setConsoleLogErrorMessages(true).`,h=k(),a=C("p"),a.textContent=`So that is it for this section. This is a powerfull feature enables us to - control for each route necessary security of overall behaviour.`,T(e,"class","scr-h4"),T(t,"class","scr-text-justify"),T(n,"class","scr-pre"),T(a,"class","scr-text-justify")},m(s,f){Y(s,e,f),Y(s,r,f),Y(s,t,f),Y(s,o,f),Y(s,n,f),Y(s,b,f),Y(s,v,f),Y(s,h,f),Y(s,a,f)},p:E1,i:E1,o:E1,d(s){s&&Z(e),s&&Z(r),s&&Z(t),s&&Z(o),s&&Z(n),s&&Z(b),s&&Z(v),s&&Z(h),s&&Z(a)}}}class Ot extends e2{constructor(e){super(),J1(this,e,null,sa,X1,{})}}function ia(c){let e;return{c(){e=C("a"),e.textContent="Route Object Properties",T(e,"href","/"),z0(e,"pointer-events","none")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function la(c){let e,r,t,o,n,b,v,h,a,s,f,l,m,d,z,y,S,x,_,H,L,w,$,E,F,M,V,I,B,t1,e1,h1,u1,i1,p1,o1,N,G,D,W,z1,_1;return E=new F1({props:{params:{name:"v2_Route_Object_Properties"},elementProps:{style:"display: inline; cursor: pointer;"},$$slots:{default:[ia]},$$scope:{ctx:c}}}),N=new Ot({}),{c(){e=C("div"),r=C("h4"),r.textContent="Configuration - Before Enter Function",t=k(),o=C("p"),n=M1("The "),b=C("b"),b.textContent="beforeEnter",v=M1(` option sets an array of functions or just a + control for each route necessary security of overall behaviour.`,A(e,"class","scr-h4"),A(t,"class","scr-text-justify"),A(n,"class","scr-pre"),A(a,"class","scr-text-justify")},m(s,f){Y(s,e,f),Y(s,r,f),Y(s,t,f),Y(s,o,f),Y(s,n,f),Y(s,b,f),Y(s,v,f),Y(s,h,f),Y(s,a,f)},p:E1,i:E1,o:E1,d(s){s&&Z(e),s&&Z(r),s&&Z(t),s&&Z(o),s&&Z(n),s&&Z(b),s&&Z(v),s&&Z(h),s&&Z(a)}}}class Ot extends e2{constructor(e){super(),J1(this,e,null,ia,X1,{})}}function la(c){let e;return{c(){e=C("a"),e.textContent="Route Object Properties",A(e,"href","/"),z0(e,"pointer-events","none")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function ua(c){let e,r,t,o,n,b,v,h,a,s,f,l,m,d,z,y,S,x,_,H,L,w,$,E,F,M,V,I,B,t1,e1,h1,u1,i1,p1,o1,N,G,D,W,z1,_1;return E=new F1({props:{params:{name:"v2_Route_Object_Properties"},elementProps:{style:"display: inline; cursor: pointer;"},$$slots:{default:[la]},$$scope:{ctx:c}}}),N=new Ot({}),{c(){e=C("div"),r=C("h4"),r.textContent="Configuration - Before Enter Function",t=k(),o=C("p"),n=M1("The "),b=C("b"),b.textContent="beforeEnter",v=M1(` option sets an array of functions or just a function that must be executed for before each route if the option `),h=C("b"),h.textContent="ignoreGlobalBeforeFunction",a=M1(` isn't set in the route definition object. @@ -2512,11 +2512,11 @@ configStore.setBeforeEnter([ lazyLoadComponent: () => import("./docs/pages/SCR_ConfigurationBeforeEnter.svelte"), title: "SCR - Configuration - Before Enter", } -`,T(r,"class","scr-h4"),T(o,"class","scr-text-justify"),T(u1,"class","scr-pre"),T(z1,"class","scr-pre"),T(e,"class","scr-page")},m(S1,s1){Y(S1,e,s1),i(e,r),i(e,t),i(e,o),i(o,n),i(o,b),i(o,v),i(o,h),i(o,a),i(o,s),i(o,f),i(o,l),i(o,m),i(o,d),i(o,z),i(o,y),i(o,S),i(o,x),i(o,_),i(o,H),i(o,L),i(o,w),i(o,$),C1(E,o,null),i(o,F),i(o,M),i(o,V),i(o,I),i(o,B),i(o,t1),i(o,e1),i(e,h1),i(e,u1),i(e,i1),i(e,p1),i(e,o1),C1(N,e,null),i(e,G),i(e,D),i(e,W),i(e,z1),_1=!0},p(S1,s1){const w1={};s1&1&&(w1.$$scope={dirty:s1,ctx:S1}),E.$set(w1)},i(S1){_1||(m1(E.$$.fragment,S1),m1(N.$$.fragment,S1),_1=!0)},o(S1){d1(E.$$.fragment,S1),d1(N.$$.fragment,S1),_1=!1},d(S1){S1&&Z(e),y1(E),y1(N)}}}function ua(c){let e,r;return e=new p2({props:{back:{name:"v2_Configuration_Options",text:"Configuration Options"},forward:{name:"v2_Configuration_Global_On_Error",text:"Configuration On Error"},$$slots:{default:[la]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&1&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}class fa extends e2{constructor(e){super(),J1(this,e,null,ua,X1,{})}}const ha=Object.freeze(Object.defineProperty({__proto__:null,default:fa},Symbol.toStringTag,{value:"Module"}));function va(c){let e,r,t,o,n,b,v;return{c(){e=C("h4"),e.textContent="Anatomy of the On Error Function",r=k(),t=C("p"),t.textContent="Lets check the declaration of an onError function:",o=k(),n=C("pre"),n.innerHTML=`// Example of On Error function declaration +`,A(r,"class","scr-h4"),A(o,"class","scr-text-justify"),A(u1,"class","scr-pre"),A(z1,"class","scr-pre"),A(e,"class","scr-page")},m(S1,s1){Y(S1,e,s1),i(e,r),i(e,t),i(e,o),i(o,n),i(o,b),i(o,v),i(o,h),i(o,a),i(o,s),i(o,f),i(o,l),i(o,m),i(o,d),i(o,z),i(o,y),i(o,S),i(o,x),i(o,_),i(o,H),i(o,L),i(o,w),i(o,$),C1(E,o,null),i(o,F),i(o,M),i(o,V),i(o,I),i(o,B),i(o,t1),i(o,e1),i(e,h1),i(e,u1),i(e,i1),i(e,p1),i(e,o1),C1(N,e,null),i(e,G),i(e,D),i(e,W),i(e,z1),_1=!0},p(S1,s1){const w1={};s1&1&&(w1.$$scope={dirty:s1,ctx:S1}),E.$set(w1)},i(S1){_1||(m1(E.$$.fragment,S1),m1(N.$$.fragment,S1),_1=!0)},o(S1){d1(E.$$.fragment,S1),d1(N.$$.fragment,S1),_1=!1},d(S1){S1&&Z(e),y1(E),y1(N)}}}function fa(c){let e,r;return e=new p2({props:{back:{name:"v2_Configuration_Options",text:"Configuration Options"},forward:{name:"v2_Configuration_Global_On_Error",text:"Configuration On Error"},$$slots:{default:[ua]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&1&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}class ha extends e2{constructor(e){super(),J1(this,e,null,fa,X1,{})}}const va=Object.freeze(Object.defineProperty({__proto__:null,default:ha},Symbol.toStringTag,{value:"Module"}));function pa(c){let e,r,t,o,n,b,v;return{c(){e=C("h4"),e.textContent="Anatomy of the On Error Function",r=k(),t=C("p"),t.textContent="Lets check the declaration of an onError function:",o=k(),n=C("pre"),n.innerHTML=`// Example of On Error function declaration (error) => { console.error(error); } -`,b=k(),v=C("ul"),v.innerHTML="

      • error: The error object containing the error information
      • ",T(e,"class","scr-h4"),T(t,"class","scr-text-justify"),T(n,"class","scr-pre")},m(h,a){Y(h,e,a),Y(h,r,a),Y(h,t,a),Y(h,o,a),Y(h,n,a),Y(h,b,a),Y(h,v,a)},p:E1,i:E1,o:E1,d(h){h&&Z(e),h&&Z(r),h&&Z(t),h&&Z(o),h&&Z(n),h&&Z(b),h&&Z(v)}}}class Bt extends e2{constructor(e){super(),J1(this,e,null,va,X1,{})}}function pa(c){let e;return{c(){e=C("a"),e.textContent="Route Component Components",T(e,"href","/"),z0(e,"pointer-events","none")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function ma(c){let e,r,t,o,n,b,v,h,a,s,f,l,m,d,z,y,S,x,_,H,L,w,$,E,F,M,V,I,B,t1,e1,h1;return x=new F1({props:{params:{name:"v2_Route_Component_Components"},elementProps:{style:"display: inline; cursor: pointer;"},$$slots:{default:[pa]},$$scope:{ctx:c}}}),F=new Bt({}),{c(){e=C("div"),r=C("h4"),r.textContent="Configuration - On Error Function",t=k(),o=C("p"),n=M1("The "),b=C("b"),b.textContent="onError",v=M1(` option sets a function that is going to be executed for +`,b=k(),v=C("ul"),v.innerHTML="
      • error: The error object containing the error information
      • ",A(e,"class","scr-h4"),A(t,"class","scr-text-justify"),A(n,"class","scr-pre")},m(h,a){Y(h,e,a),Y(h,r,a),Y(h,t,a),Y(h,o,a),Y(h,n,a),Y(h,b,a),Y(h,v,a)},p:E1,i:E1,o:E1,d(h){h&&Z(e),h&&Z(r),h&&Z(t),h&&Z(o),h&&Z(n),h&&Z(b),h&&Z(v)}}}class Bt extends e2{constructor(e){super(),J1(this,e,null,pa,X1,{})}}function ma(c){let e;return{c(){e=C("a"),e.textContent="Route Component Components",A(e,"href","/"),z0(e,"pointer-events","none")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function da(c){let e,r,t,o,n,b,v,h,a,s,f,l,m,d,z,y,S,x,_,H,L,w,$,E,F,M,V,I,B,t1,e1,h1;return x=new F1({props:{params:{name:"v2_Route_Component_Components"},elementProps:{style:"display: inline; cursor: pointer;"},$$slots:{default:[ma]},$$scope:{ctx:c}}}),F=new Bt({}),{c(){e=C("div"),r=C("h4"),r.textContent="Configuration - On Error Function",t=k(),o=C("p"),n=M1("The "),b=C("b"),b.textContent="onError",v=M1(` option sets a function that is going to be executed for any route when something goes wrong. `),h=C("br"),a=k(),s=C("br"),f=M1(` When that happens the natural behaviour is to execute a function. In this context @@ -2538,7 +2538,7 @@ configStore.setOnError((error) => { console.error(error) }); title: "SCR - Configuration Global On Error - Version 2", beforeEnter: [setVersion2], } -`,T(r,"class","scr-h4"),T(o,"class","scr-text-justify"),T(L,"class","scr-pre"),T(V,"class","scr-text-justify"),T(e1,"class","scr-pre"),T(e,"class","scr-page")},m(u1,i1){Y(u1,e,i1),i(e,r),i(e,t),i(e,o),i(o,n),i(o,b),i(o,v),i(o,h),i(o,a),i(o,s),i(o,f),i(o,l),i(o,m),i(o,d),i(o,z),i(o,y),i(o,S),C1(x,o,null),i(o,_),i(e,H),i(e,L),i(e,w),i(e,$),i(e,E),C1(F,e,null),i(e,M),i(e,V),i(e,I),i(e,B),i(e,t1),i(e,e1),h1=!0},p(u1,i1){const p1={};i1&1&&(p1.$$scope={dirty:i1,ctx:u1}),x.$set(p1)},i(u1){h1||(m1(x.$$.fragment,u1),m1(F.$$.fragment,u1),h1=!0)},o(u1){d1(x.$$.fragment,u1),d1(F.$$.fragment,u1),h1=!1},d(u1){u1&&Z(e),y1(x),y1(F)}}}function da(c){let e,r;return e=new p2({props:{back:{name:"v2_Configuration_Global_Before_Enter_Option",text:"Configuration Before Enter"},forward:{name:"v2_Route_Object_Properties",text:"Route Object Properties"},$$slots:{default:[ma]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&1&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}class ba extends e2{constructor(e){super(),J1(this,e,null,da,X1,{})}}const xa=Object.freeze(Object.defineProperty({__proto__:null,default:ba},Symbol.toStringTag,{value:"Module"}));function ga(c){let e;return{c(){e=C("div"),e.innerHTML=`

        Route Object - Properties

        +`,A(r,"class","scr-h4"),A(o,"class","scr-text-justify"),A(L,"class","scr-pre"),A(V,"class","scr-text-justify"),A(e1,"class","scr-pre"),A(e,"class","scr-page")},m(u1,i1){Y(u1,e,i1),i(e,r),i(e,t),i(e,o),i(o,n),i(o,b),i(o,v),i(o,h),i(o,a),i(o,s),i(o,f),i(o,l),i(o,m),i(o,d),i(o,z),i(o,y),i(o,S),C1(x,o,null),i(o,_),i(e,H),i(e,L),i(e,w),i(e,$),i(e,E),C1(F,e,null),i(e,M),i(e,V),i(e,I),i(e,B),i(e,t1),i(e,e1),h1=!0},p(u1,i1){const p1={};i1&1&&(p1.$$scope={dirty:i1,ctx:u1}),x.$set(p1)},i(u1){h1||(m1(x.$$.fragment,u1),m1(F.$$.fragment,u1),h1=!0)},o(u1){d1(x.$$.fragment,u1),d1(F.$$.fragment,u1),h1=!1},d(u1){u1&&Z(e),y1(x),y1(F)}}}function ba(c){let e,r;return e=new p2({props:{back:{name:"v2_Configuration_Global_Before_Enter_Option",text:"Configuration Before Enter"},forward:{name:"v2_Route_Object_Properties",text:"Route Object Properties"},$$slots:{default:[da]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&1&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}class xa extends e2{constructor(e){super(),J1(this,e,null,ba,X1,{})}}const ga=Object.freeze(Object.defineProperty({__proto__:null,default:xa},Symbol.toStringTag,{value:"Module"}));function _a(c){let e;return{c(){e=C("div"),e.innerHTML=`

        Route Object - Properties

        This is where we can declare our routes. It has several option that modelates the route behaviour.
        @@ -2888,7 +2888,7 @@ import SRC_Loading from "./testComponents/SRC_Loading.svelte"; beforeEnter: [setVersion2], ignoreScroll: true, } -`,T(e,"class","scr-page")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function _a(c){let e,r;return e=new p2({props:{back:{name:"v2_Configuration_Global_On_Error",text:"Configuration On Error"},forward:{name:"v2_Route_Object_Before_Enter",text:"Route Object Before Enter"},$$slots:{default:[ga]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&1&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}class za extends e2{constructor(e){super(),J1(this,e,null,_a,X1,{})}}const Ca=Object.freeze(Object.defineProperty({__proto__:null,default:za},Symbol.toStringTag,{value:"Module"}));function ya(c){let e;return{c(){e=C("a"),e.textContent="Route Object Properties",T(e,"href","/"),z0(e,"pointer-events","none")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function La(c){let e,r,t,o,n,b,v,h,a,s,f,l,m,d,z,y,S,x,_,H,L,w,$,E,F,M,V,I,B,t1,e1,h1,u1,i1,p1,o1,N,G,D,W,z1,_1;return M=new F1({props:{params:{name:"v2_Route_Object_Properties"},elementProps:{style:"display: inline; cursor: pointer;"},$$slots:{default:[ya]},$$scope:{ctx:c}}}),N=new Ot({}),{c(){e=C("div"),r=C("h4"),r.textContent="Route Object - Before Enter Functions",t=k(),o=C("p"),n=M1("The "),b=C("b"),b.textContent="beforeEnter",v=M1(` option sets an array of functions or just a +`,A(e,"class","scr-page")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function za(c){let e,r;return e=new p2({props:{back:{name:"v2_Configuration_Global_On_Error",text:"Configuration On Error"},forward:{name:"v2_Route_Object_Before_Enter",text:"Route Object Before Enter"},$$slots:{default:[_a]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&1&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}class Ca extends e2{constructor(e){super(),J1(this,e,null,za,X1,{})}}const ya=Object.freeze(Object.defineProperty({__proto__:null,default:Ca},Symbol.toStringTag,{value:"Module"}));function La(c){let e;return{c(){e=C("a"),e.textContent="Route Object Properties",A(e,"href","/"),z0(e,"pointer-events","none")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function Ha(c){let e,r,t,o,n,b,v,h,a,s,f,l,m,d,z,y,S,x,_,H,L,w,$,E,F,M,V,I,B,t1,e1,h1,u1,i1,p1,o1,N,G,D,W,z1,_1;return M=new F1({props:{params:{name:"v2_Route_Object_Properties"},elementProps:{style:"display: inline; cursor: pointer;"},$$slots:{default:[La]},$$scope:{ctx:c}}}),N=new Ot({}),{c(){e=C("div"),r=C("h4"),r.textContent="Route Object - Before Enter Functions",t=k(),o=C("p"),n=M1("The "),b=C("b"),b.textContent="beforeEnter",v=M1(` option sets an array of functions or just a function that must be executed for before each route. `),h=C("br"),a=M1(` If the option `),s=C("b"),s.textContent="ignoreGlobalBeforeFunction",f=M1(` @@ -2931,7 +2931,7 @@ import SRC_Loading from "./testComponents/SRC_Loading.svelte"; title: "SCR - Route Object Before Enter - Version 1", beforeEnter: [setVersion2], } -`,T(r,"class","scr-h4"),T(o,"class","scr-text-justify"),T(u1,"class","scr-pre"),T(p1,"class","scr-hr"),T(z1,"class","scr-pre"),T(e,"class","scr-page")},m(S1,s1){Y(S1,e,s1),i(e,r),i(e,t),i(e,o),i(o,n),i(o,b),i(o,v),i(o,h),i(o,a),i(o,s),i(o,f),i(o,l),i(o,m),i(o,d),i(o,z),i(o,y),i(o,S),i(o,x),i(o,_),i(o,H),i(o,L),i(o,w),i(o,$),i(o,E),i(o,F),C1(M,o,null),i(o,V),i(o,I),i(o,B),i(o,t1),i(o,e1),i(e,h1),i(e,u1),i(e,i1),i(e,p1),i(e,o1),C1(N,e,null),i(e,G),i(e,D),i(e,W),i(e,z1),_1=!0},p(S1,s1){const w1={};s1&1&&(w1.$$scope={dirty:s1,ctx:S1}),M.$set(w1)},i(S1){_1||(m1(M.$$.fragment,S1),m1(N.$$.fragment,S1),_1=!0)},o(S1){d1(M.$$.fragment,S1),d1(N.$$.fragment,S1),_1=!1},d(S1){S1&&Z(e),y1(M),y1(N)}}}function Ha(c){let e,r;return e=new p2({props:{back:{name:"v2_Route_Object_Properties",text:"Route Object Properties"},forward:{name:"v2_Route_Object_After_Enter",text:"Route Object After Enter"},$$slots:{default:[La]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&1&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}class Ma extends e2{constructor(e){super(),J1(this,e,null,Ha,X1,{})}}const Ra=Object.freeze(Object.defineProperty({__proto__:null,default:Ma},Symbol.toStringTag,{value:"Module"}));function Sa(c){let e,r,t,o,n,b,v,h,a;return{c(){e=C("h4"),e.textContent="Anatomy of the Before Enter Function",r=k(),t=C("p"),t.innerHTML=`When declaring a After Enter Function it will be provided a parameter. +`,A(r,"class","scr-h4"),A(o,"class","scr-text-justify"),A(u1,"class","scr-pre"),A(p1,"class","scr-hr"),A(z1,"class","scr-pre"),A(e,"class","scr-page")},m(S1,s1){Y(S1,e,s1),i(e,r),i(e,t),i(e,o),i(o,n),i(o,b),i(o,v),i(o,h),i(o,a),i(o,s),i(o,f),i(o,l),i(o,m),i(o,d),i(o,z),i(o,y),i(o,S),i(o,x),i(o,_),i(o,H),i(o,L),i(o,w),i(o,$),i(o,E),i(o,F),C1(M,o,null),i(o,V),i(o,I),i(o,B),i(o,t1),i(o,e1),i(e,h1),i(e,u1),i(e,i1),i(e,p1),i(e,o1),C1(N,e,null),i(e,G),i(e,D),i(e,W),i(e,z1),_1=!0},p(S1,s1){const w1={};s1&1&&(w1.$$scope={dirty:s1,ctx:S1}),M.$set(w1)},i(S1){_1||(m1(M.$$.fragment,S1),m1(N.$$.fragment,S1),_1=!0)},o(S1){d1(M.$$.fragment,S1),d1(N.$$.fragment,S1),_1=!1},d(S1){S1&&Z(e),y1(M),y1(N)}}}function Ma(c){let e,r;return e=new p2({props:{back:{name:"v2_Route_Object_Properties",text:"Route Object Properties"},forward:{name:"v2_Route_Object_After_Enter",text:"Route Object After Enter"},$$slots:{default:[Ha]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&1&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}class Ra extends e2{constructor(e){super(),J1(this,e,null,Ma,X1,{})}}const Sa=Object.freeze(Object.defineProperty({__proto__:null,default:Ra},Symbol.toStringTag,{value:"Module"}));function wa(c){let e,r,t,o,n,b,v,h,a;return{c(){e=C("h4"),e.textContent="Anatomy of the Before Enter Function",r=k(),t=C("p"),t.innerHTML=`When declaring a After Enter Function it will be provided a parameter.
        Lets check it:`,o=k(),n=C("pre"),n.innerHTML=`// Example of After Enter Function declaration (params) => { @@ -2999,7 +2999,7 @@ import SRC_Loading from "./testComponents/SRC_Loading.svelte"; Several other options if defined will be available here!


  • payload: All the params passed down in before enter functions sequence will be available here.
  • `,h=k(),a=C("p"),a.textContent=`So that is it for this section. This is a powerfull feature enables us to - control for each route necessary security of overall behaviour.`,T(e,"class","scr-h4"),T(t,"class","scr-text-justify"),T(n,"class","scr-pre"),T(a,"class","scr-text-justify")},m(s,f){Y(s,e,f),Y(s,r,f),Y(s,t,f),Y(s,o,f),Y(s,n,f),Y(s,b,f),Y(s,v,f),Y(s,h,f),Y(s,a,f)},p:E1,i:E1,o:E1,d(s){s&&Z(e),s&&Z(r),s&&Z(t),s&&Z(o),s&&Z(n),s&&Z(b),s&&Z(v),s&&Z(h),s&&Z(a)}}}class wa extends e2{constructor(e){super(),J1(this,e,null,Sa,X1,{})}}function $a(c){let e,r,t,o,n,b,v,h,a,s,f,l,m,d,z;return s=new wa({}),{c(){e=C("div"),r=C("h4"),r.textContent="Route Object - After Enter Function",t=k(),o=C("p"),o.innerHTML=`The afterEnter option sets a function that must be executed for + control for each route necessary security of overall behaviour.`,A(e,"class","scr-h4"),A(t,"class","scr-text-justify"),A(n,"class","scr-pre"),A(a,"class","scr-text-justify")},m(s,f){Y(s,e,f),Y(s,r,f),Y(s,t,f),Y(s,o,f),Y(s,n,f),Y(s,b,f),Y(s,v,f),Y(s,h,f),Y(s,a,f)},p:E1,i:E1,o:E1,d(s){s&&Z(e),s&&Z(r),s&&Z(t),s&&Z(o),s&&Z(n),s&&Z(b),s&&Z(v),s&&Z(h),s&&Z(a)}}}class $a extends e2{constructor(e){super(),J1(this,e,null,wa,X1,{})}}function Va(c){let e,r,t,o,n,b,v,h,a,s,f,l,m,d,z;return s=new $a({}),{c(){e=C("div"),r=C("h4"),r.textContent="Route Object - After Enter Function",t=k(),o=C("p"),o.innerHTML=`The afterEnter option sets a function that must be executed for this specific route when finishing routing. This function will not redirect or avoid entering the route. The permission to enter has been granted already by passing all the before enter functions. @@ -3033,7 +3033,7 @@ import SRC_Loading from "./testComponents/SRC_Loading.svelte"; title: "SCR - Route Object After Enter - Version 1", beforeEnter: [setVersion2], } -`,T(r,"class","scr-h4"),T(o,"class","scr-text-justify"),T(b,"class","scr-pre"),T(h,"class","scr-hr"),T(d,"class","scr-pre"),T(e,"class","scr-page")},m(y,S){Y(y,e,S),i(e,r),i(e,t),i(e,o),i(e,n),i(e,b),i(e,v),i(e,h),i(e,a),C1(s,e,null),i(e,f),i(e,l),i(e,m),i(e,d),z=!0},p:E1,i(y){z||(m1(s.$$.fragment,y),z=!0)},o(y){d1(s.$$.fragment,y),z=!1},d(y){y&&Z(e),y1(s)}}}function Va(c){let e,r;return e=new p2({props:{back:{name:"v2_Route_Object_Before_Enter",text:"Route Object Before Enter"},forward:{name:"v2_Route_Object_On_Error",text:"Route Object On Error"},$$slots:{default:[$a]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&1&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}class Ea extends e2{constructor(e){super(),J1(this,e,null,Va,X1,{})}}const Ta=Object.freeze(Object.defineProperty({__proto__:null,default:Ea},Symbol.toStringTag,{value:"Module"}));function Aa(c){let e;return{c(){e=C("a"),e.textContent="Route Component Components",T(e,"href","/"),z0(e,"pointer-events","none")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function qa(c){let e,r,t,o,n,b,v,h,a,s,f,l,m,d,z,y,S,x,_,H,L,w,$,E,F,M,V,I;return d=new F1({props:{params:{name:"v2_Route_Component_Components"},elementProps:{style:"display: inline; cursor: pointer;"},$$slots:{default:[Aa]},$$scope:{ctx:c}}}),L=new Bt({}),{c(){e=C("div"),r=C("h4"),r.textContent="Route Object - On Error Function",t=k(),o=C("p"),n=M1("The "),b=C("b"),b.textContent="onError",v=M1(` option sets a function that is going to be executed for +`,A(r,"class","scr-h4"),A(o,"class","scr-text-justify"),A(b,"class","scr-pre"),A(h,"class","scr-hr"),A(d,"class","scr-pre"),A(e,"class","scr-page")},m(y,S){Y(y,e,S),i(e,r),i(e,t),i(e,o),i(e,n),i(e,b),i(e,v),i(e,h),i(e,a),C1(s,e,null),i(e,f),i(e,l),i(e,m),i(e,d),z=!0},p:E1,i(y){z||(m1(s.$$.fragment,y),z=!0)},o(y){d1(s.$$.fragment,y),z=!1},d(y){y&&Z(e),y1(s)}}}function Ea(c){let e,r;return e=new p2({props:{back:{name:"v2_Route_Object_Before_Enter",text:"Route Object Before Enter"},forward:{name:"v2_Route_Object_On_Error",text:"Route Object On Error"},$$slots:{default:[Va]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&1&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}class Aa extends e2{constructor(e){super(),J1(this,e,null,Ea,X1,{})}}const Ta=Object.freeze(Object.defineProperty({__proto__:null,default:Aa},Symbol.toStringTag,{value:"Module"}));function qa(c){let e;return{c(){e=C("a"),e.textContent="Route Component Components",A(e,"href","/"),z0(e,"pointer-events","none")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function Pa(c){let e,r,t,o,n,b,v,h,a,s,f,l,m,d,z,y,S,x,_,H,L,w,$,E,F,M,V,I;return d=new F1({props:{params:{name:"v2_Route_Component_Components"},elementProps:{style:"display: inline; cursor: pointer;"},$$slots:{default:[qa]},$$scope:{ctx:c}}}),L=new Bt({}),{c(){e=C("div"),r=C("h4"),r.textContent="Route Object - On Error Function",t=k(),o=C("p"),n=M1("The "),b=C("b"),b.textContent="onError",v=M1(` option sets a function that is going to be executed for the specific route when something goes wrong. `),h=C("br"),a=k(),s=C("br"),f=M1(` When that happens the natural behaviour is to execute a specific function. @@ -3051,7 +3051,7 @@ import SRC_Loading from "./testComponents/SRC_Loading.svelte"; lazyLoadComponent: () => import("./docs/pages/SCR_RouteObjectOnError.svelte"), title: "SCR - Route Object - On Error Function", } -`,T(r,"class","scr-h4"),T(o,"class","scr-text-justify"),T(S,"class","scr-pre"),T($,"class","scr-text-justify"),T(V,"class","scr-pre"),T(e,"class","scr-page")},m(B,t1){Y(B,e,t1),i(e,r),i(e,t),i(e,o),i(o,n),i(o,b),i(o,v),i(o,h),i(o,a),i(o,s),i(o,f),i(o,l),i(o,m),C1(d,o,null),i(o,z),i(e,y),i(e,S),i(e,x),i(e,_),i(e,H),C1(L,e,null),i(e,w),i(e,$),i(e,E),i(e,F),i(e,M),i(e,V),I=!0},p(B,t1){const e1={};t1&1&&(e1.$$scope={dirty:t1,ctx:B}),d.$set(e1)},i(B){I||(m1(d.$$.fragment,B),m1(L.$$.fragment,B),I=!0)},o(B){d1(d.$$.fragment,B),d1(L.$$.fragment,B),I=!1},d(B){B&&Z(e),y1(d),y1(L)}}}function Pa(c){let e,r;return e=new p2({props:{back:{name:"v2_Route_Object_After_Enter",text:"Route Object After Enter"},forward:{name:"v2_Route_Component_Properties",text:"Route Component Properties"},$$slots:{default:[qa]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&1&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}class ka extends e2{constructor(e){super(),J1(this,e,null,Pa,X1,{})}}const Oa=Object.freeze(Object.defineProperty({__proto__:null,default:ka},Symbol.toStringTag,{value:"Module"}));function Ba(c){let e,r;return{c(){e=C("a"),e.textContent="components - that can be check in the next section -",r=M1(" and some are crucial for it to work correctly."),T(e,"href","/"),z0(e,"pointer-events","none")},m(t,o){Y(t,e,o),Y(t,r,o)},p:E1,d(t){t&&Z(e),t&&Z(r)}}}function Ia(c){let e;return{c(){e=C("a"),e.textContent="route object properties section.",T(e,"href","/"),z0(e,"pointer-events","none")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function ja(c){let e,r,t,o,n,b,v,h,a,s,f,l,m,d,z,y,S,x,_,H,L,w,$,E,F,M,V,I,B,t1,e1,h1,u1,i1,p1,o1,N,G,D,W,z1,_1,S1,s1,w1,R1,B1,P1,O1;return h=new F1({props:{params:{name:"v2_Route_Component_Components"},elementProps:{style:"display: inline; cursor: pointer;"},$$slots:{default:[Ba]},$$scope:{ctx:c}}}),F=new F1({props:{params:{name:"v2__Route_Object_Properties"},elementProps:{style:"display: inline; cursor: pointer;"},$$slots:{default:[Ia]},$$scope:{ctx:c}}}),{c(){e=C("div"),r=C("h4"),r.textContent="Route Component - Properties",t=k(),o=C("p"),n=M1("The route component is a "),b=C("a"),b.textContent="Svelte Component",v=M1(`, so it can receive parameters to pass further. Some of these parameters +`,A(r,"class","scr-h4"),A(o,"class","scr-text-justify"),A(S,"class","scr-pre"),A($,"class","scr-text-justify"),A(V,"class","scr-pre"),A(e,"class","scr-page")},m(B,t1){Y(B,e,t1),i(e,r),i(e,t),i(e,o),i(o,n),i(o,b),i(o,v),i(o,h),i(o,a),i(o,s),i(o,f),i(o,l),i(o,m),C1(d,o,null),i(o,z),i(e,y),i(e,S),i(e,x),i(e,_),i(e,H),C1(L,e,null),i(e,w),i(e,$),i(e,E),i(e,F),i(e,M),i(e,V),I=!0},p(B,t1){const e1={};t1&1&&(e1.$$scope={dirty:t1,ctx:B}),d.$set(e1)},i(B){I||(m1(d.$$.fragment,B),m1(L.$$.fragment,B),I=!0)},o(B){d1(d.$$.fragment,B),d1(L.$$.fragment,B),I=!1},d(B){B&&Z(e),y1(d),y1(L)}}}function ka(c){let e,r;return e=new p2({props:{back:{name:"v2_Route_Object_After_Enter",text:"Route Object After Enter"},forward:{name:"v2_Route_Component_Properties",text:"Route Component Properties"},$$slots:{default:[Pa]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&1&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}class Oa extends e2{constructor(e){super(),J1(this,e,null,ka,X1,{})}}const Ba=Object.freeze(Object.defineProperty({__proto__:null,default:Oa},Symbol.toStringTag,{value:"Module"}));function Ia(c){let e,r;return{c(){e=C("a"),e.textContent="components - that can be check in the next section -",r=M1(" and some are crucial for it to work correctly."),A(e,"href","/"),z0(e,"pointer-events","none")},m(t,o){Y(t,e,o),Y(t,r,o)},p:E1,d(t){t&&Z(e),t&&Z(r)}}}function ja(c){let e;return{c(){e=C("a"),e.textContent="route object properties section.",A(e,"href","/"),z0(e,"pointer-events","none")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function Fa(c){let e,r,t,o,n,b,v,h,a,s,f,l,m,d,z,y,S,x,_,H,L,w,$,E,F,M,V,I,B,t1,e1,h1,u1,i1,p1,o1,N,G,D,W,z1,_1,S1,s1,w1,R1,B1,P1,O1;return h=new F1({props:{params:{name:"v2_Route_Component_Components"},elementProps:{style:"display: inline; cursor: pointer;"},$$slots:{default:[Ia]},$$scope:{ctx:c}}}),F=new F1({props:{params:{name:"v2__Route_Object_Properties"},elementProps:{style:"display: inline; cursor: pointer;"},$$slots:{default:[ja]},$$scope:{ctx:c}}}),{c(){e=C("div"),r=C("h4"),r.textContent="Route Component - Properties",t=k(),o=C("p"),n=M1("The route component is a "),b=C("a"),b.textContent="Svelte Component",v=M1(`, so it can receive parameters to pass further. Some of these parameters are `),H1(h.$$.fragment),a=k(),s=C("br"),f=k(),l=C("br"),m=M1(` @@ -3128,7 +3128,7 @@ const defaultLoadingParams = { title: "SCR - Route Component Properties - Version 2", beforeEnter: [setVersion2], } -`,T(r,"class","scr-h4"),T(b,"href","https://svelte.dev/tutorial/basics"),T(b,"target","_blank"),T(o,"class","scr-text-justify"),T(z,"class","scr-pre"),T(S,"class","scr-hr"),T(_,"class","scr-h4"),T(L,"class","scr-text-justify"),T(h1,"class","scr-pre"),T(i1,"class","scr-text-justify"),T(o1,"class","scr-hr"),T(G,"class","scr-h4"),T(W,"class","scr-text-justify"),T(_1,"class","scr-pre"),T(s1,"class","scr-text-justify"),T(P1,"class","scr-pre"),T(e,"class","scr-page")},m(I1,N1){Y(I1,e,N1),i(e,r),i(e,t),i(e,o),i(o,n),i(o,b),i(o,v),C1(h,o,null),i(o,a),i(o,s),i(o,f),i(o,l),i(o,m),i(e,d),i(e,z),i(e,y),i(e,S),i(e,x),i(e,_),i(e,H),i(e,L),i(L,w),i(L,$),i(L,E),C1(F,L,null),i(L,M),i(L,V),i(L,I),i(L,B),i(L,t1),i(e,e1),i(e,h1),i(e,u1),i(e,i1),i(e,p1),i(e,o1),i(e,N),i(e,G),i(e,D),i(e,W),i(e,z1),i(e,_1),i(e,S1),i(e,s1),i(e,w1),i(e,R1),i(e,B1),i(e,P1),O1=!0},p(I1,N1){const s2={};N1&1&&(s2.$$scope={dirty:N1,ctx:I1}),h.$set(s2);const t2={};N1&1&&(t2.$$scope={dirty:N1,ctx:I1}),F.$set(t2)},i(I1){O1||(m1(h.$$.fragment,I1),m1(F.$$.fragment,I1),O1=!0)},o(I1){d1(h.$$.fragment,I1),d1(F.$$.fragment,I1),O1=!1},d(I1){I1&&Z(e),y1(h),y1(F)}}}function Fa(c){let e,r;return e=new p2({props:{back:{name:"v2_Route_Object_Before_Enter",text:"Route Object Before Enter"},forward:{name:"v2_Route_Component_Components",text:"Route Component Components"},$$slots:{default:[ja]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&1&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}class Na extends e2{constructor(e){super(),J1(this,e,null,Fa,X1,{})}}const Da=Object.freeze(Object.defineProperty({__proto__:null,default:Na},Symbol.toStringTag,{value:"Module"}));function Wa(c){let e;return{c(){e=C("div"),e.innerHTML=`

    Route Component - Components

    +`,A(r,"class","scr-h4"),A(b,"href","https://svelte.dev/tutorial/basics"),A(b,"target","_blank"),A(o,"class","scr-text-justify"),A(z,"class","scr-pre"),A(S,"class","scr-hr"),A(_,"class","scr-h4"),A(L,"class","scr-text-justify"),A(h1,"class","scr-pre"),A(i1,"class","scr-text-justify"),A(o1,"class","scr-hr"),A(G,"class","scr-h4"),A(W,"class","scr-text-justify"),A(_1,"class","scr-pre"),A(s1,"class","scr-text-justify"),A(P1,"class","scr-pre"),A(e,"class","scr-page")},m(I1,N1){Y(I1,e,N1),i(e,r),i(e,t),i(e,o),i(o,n),i(o,b),i(o,v),C1(h,o,null),i(o,a),i(o,s),i(o,f),i(o,l),i(o,m),i(e,d),i(e,z),i(e,y),i(e,S),i(e,x),i(e,_),i(e,H),i(e,L),i(L,w),i(L,$),i(L,E),C1(F,L,null),i(L,M),i(L,V),i(L,I),i(L,B),i(L,t1),i(e,e1),i(e,h1),i(e,u1),i(e,i1),i(e,p1),i(e,o1),i(e,N),i(e,G),i(e,D),i(e,W),i(e,z1),i(e,_1),i(e,S1),i(e,s1),i(e,w1),i(e,R1),i(e,B1),i(e,P1),O1=!0},p(I1,N1){const s2={};N1&1&&(s2.$$scope={dirty:N1,ctx:I1}),h.$set(s2);const t2={};N1&1&&(t2.$$scope={dirty:N1,ctx:I1}),F.$set(t2)},i(I1){O1||(m1(h.$$.fragment,I1),m1(F.$$.fragment,I1),O1=!0)},o(I1){d1(h.$$.fragment,I1),d1(F.$$.fragment,I1),O1=!1},d(I1){I1&&Z(e),y1(h),y1(F)}}}function Na(c){let e,r;return e=new p2({props:{back:{name:"v2_Route_Object_Before_Enter",text:"Route Object Before Enter"},forward:{name:"v2_Route_Component_Components",text:"Route Component Components"},$$slots:{default:[Fa]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&1&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}class Da extends e2{constructor(e){super(),J1(this,e,null,Na,X1,{})}}const Wa=Object.freeze(Object.defineProperty({__proto__:null,default:Da},Symbol.toStringTag,{value:"Module"}));function Ga(c){let e;return{c(){e=C("div"),e.innerHTML=`

    Route Component - Components

    In the first version, SCR had a lot of default components to facilitate usage, like layout components, error and not found components that would pop up to a given case. @@ -3197,7 +3197,7 @@ const routes = [ title: "SCR - Route Component Components - Version 2", beforeEnter: [setVersion2], } -`,T(e,"class","scr-page")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function Ga(c){let e,r;return e=new p2({props:{back:{name:"v2_Route_Component_Properties",text:"Route Component Properties"},forward:{name:"v2_Navigation_Routing",text:"Navigation Routing"},$$slots:{default:[Wa]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&1&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}class Ua extends e2{constructor(e){super(),J1(this,e,null,Ga,X1,{})}}const Za=Object.freeze(Object.defineProperty({__proto__:null,default:Ua},Symbol.toStringTag,{value:"Module"}));function Ya(c){let e;return{c(){e=C("div"),e.innerHTML=`

    Navigation - Routing

    +`,A(e,"class","scr-page")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function Ua(c){let e,r;return e=new p2({props:{back:{name:"v2_Route_Component_Properties",text:"Route Component Properties"},forward:{name:"v2_Navigation_Routing",text:"Navigation Routing"},$$slots:{default:[Ga]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&1&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}class Za extends e2{constructor(e){super(),J1(this,e,null,Ua,X1,{})}}const Ya=Object.freeze(Object.defineProperty({__proto__:null,default:Za},Symbol.toStringTag,{value:"Module"}));function Ka(c){let e;return{c(){e=C("div"),e.innerHTML=`

    Navigation - Routing

    There are two main methods when routing SCR.

    • pushRoute: pushes a route forward.
    • backRoute: back to the first route history, uses @@ -3254,7 +3254,7 @@ import { backRoute } from "svelte-client-router" title: "SCR - Navigation Routing - Version 2", beforeEnter: [setVersion2], } -`,T(e,"class","scr-page")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function Ka(c){let e,r;return e=new p2({props:{back:{name:"v2_Route_Component_Components",text:"Route Component Components"},forward:{name:"v2_Router_Link",text:"Router Link"},$$slots:{default:[Ya]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&1&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}class Xa extends e2{constructor(e){super(),J1(this,e,null,Ka,X1,{})}}const Qa=Object.freeze(Object.defineProperty({__proto__:null,default:Xa},Symbol.toStringTag,{value:"Module"}));function Ja(c){let e;return{c(){e=C("div"),e.innerHTML=`

      Route Link

      +`,A(e,"class","scr-page")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function Xa(c){let e,r;return e=new p2({props:{back:{name:"v2_Route_Component_Components",text:"Route Component Components"},forward:{name:"v2_Router_Link",text:"Router Link"},$$slots:{default:[Ka]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&1&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}class Qa extends e2{constructor(e){super(),J1(this,e,null,Xa,X1,{})}}const Ja=Object.freeze(Object.defineProperty({__proto__:null,default:Qa},Symbol.toStringTag,{value:"Module"}));function es(c){let e;return{c(){e=C("div"),e.innerHTML=`

      Route Link

      The Route Link is a component wrapper to make links. Easy to click and execute what you want. It is totally customisable.
      @@ -3322,7 +3322,7 @@ import { backRoute } from "svelte-client-router" title: "SCR - Router Link - Version 2", beforeEnter: [setVersion2], } -`,T(e,"class","scr-page")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function es(c){let e,r;return e=new p2({props:{back:{name:"v2_Navigation_Routing",text:"Navigation Routing"},forward:{name:"v2_Routes_Store",text:"Routes Store"},$$slots:{default:[Ja]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&1&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}class ts extends e2{constructor(e){super(),J1(this,e,null,es,X1,{})}}const rs=Object.freeze(Object.defineProperty({__proto__:null,default:ts},Symbol.toStringTag,{value:"Module"}));function cs(c){let e;return{c(){e=C("div"),e.innerHTML=`

      Route Store

      +`,A(e,"class","scr-page")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function ts(c){let e,r;return e=new p2({props:{back:{name:"v2_Navigation_Routing",text:"Navigation Routing"},forward:{name:"v2_Routes_Store",text:"Routes Store"},$$slots:{default:[es]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&1&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}class rs extends e2{constructor(e){super(),J1(this,e,null,ts,X1,{})}}const cs=Object.freeze(Object.defineProperty({__proto__:null,default:rs},Symbol.toStringTag,{value:"Module"}));function os(c){let e;return{c(){e=C("div"),e.innerHTML=`

      Route Store

      Router Store is the store where all the route definitions are updated and controlled. You can check real time what is happening.
      @@ -3417,7 +3417,7 @@ import { backRoute } from "svelte-client-router" title: "SCR - Routes Store - Version 2", beforeEnter: [setVersion2], } -`,T(e,"class","scr-page")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function os(c){let e,r;return e=new p2({props:{back:{name:"v2_Router_Link",text:"Router Link"},forward:{name:"v2_Test_Regex_Path",text:"Test - Regex Path"},$$slots:{default:[cs]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&1&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}class ns extends e2{constructor(e){super(),J1(this,e,null,os,X1,{})}}const as=Object.freeze(Object.defineProperty({__proto__:null,default:ns},Symbol.toStringTag,{value:"Module"}));function ss(c){let e;return{c(){e=C("div"),e.textContent="Test Route With Param",T(e,"class","scr-btn")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function is(c){let e,r,t,o,n,b,v,h,a,s,f=c[0].testParam+"",l,m,d,z,y,S,x,_,H,L,w,$,E,F,M,V,I,B,t1,e1,h1,u1;return E=new F1({props:{params:{path:`/svelte-client-router/v2/${c[1]}/testRegexPath`},$$slots:{default:[ss]},$$scope:{ctx:c}}}),{c(){e=C("div"),r=C("h4"),r.textContent="Test - Regex Path",t=k(),o=C("p"),n=M1(`This route tests regex param path. +`,A(e,"class","scr-page")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function ns(c){let e,r;return e=new p2({props:{back:{name:"v2_Router_Link",text:"Router Link"},forward:{name:"v2_Test_Regex_Path",text:"Test - Regex Path"},$$slots:{default:[os]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&1&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}class as extends e2{constructor(e){super(),J1(this,e,null,ns,X1,{})}}const ss=Object.freeze(Object.defineProperty({__proto__:null,default:as},Symbol.toStringTag,{value:"Module"}));function is(c){let e;return{c(){e=C("div"),e.textContent="Test Route With Param",A(e,"class","scr-btn")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function ls(c){let e,r,t,o,n,b,v,h,a,s,f=c[0].testParam+"",l,m,d,z,y,S,x,_,H,L,w,$,E,F,M,V,I,B,t1,e1,h1,u1;return E=new F1({props:{params:{path:`/svelte-client-router/v2/${c[1]}/testRegexPath`},$$slots:{default:[is]},$$scope:{ctx:c}}}),{c(){e=C("div"),r=C("h4"),r.textContent="Test - Regex Path",t=k(),o=C("p"),n=M1(`This route tests regex param path. `),b=C("br"),v=k(),h=C("br"),a=M1(` The route param path passed is: `),s=C("b"),l=M1(f),m=k(),d=C("br"),z=k(),y=C("br"),S=M1(` Try it!`),x=k(),_=C("div"),H=C("label"),H.textContent="Route Param",L=k(),w=C("input"),$=k(),H1(E.$$.fragment),F=k(),M=C("hr"),V=k(),I=C("center"),I.innerHTML='The configuration for this route.',B=k(),t1=C("pre"),t1.textContent=`{ @@ -3427,7 +3427,7 @@ import { backRoute } from "svelte-client-router" title: "SCR - Test 1", forceReload: true } -`,T(r,"class","scr-h4"),T(o,"class","scr-text-justify"),T(H,"for","scr-next-param"),T(w,"type","text"),T(w,"id","scr-next-param"),T(w,"placeholder",":testParam"),T(_,"class","scr-test"),T(M,"class","scr-hr"),T(t1,"class","scr-pre"),T(e,"class","scr-page")},m(i1,p1){Y(i1,e,p1),i(e,r),i(e,t),i(e,o),i(o,n),i(o,b),i(o,v),i(o,h),i(o,a),i(o,s),i(s,l),i(o,m),i(o,d),i(o,z),i(o,y),i(o,S),i(e,x),i(e,_),i(_,H),i(_,L),i(_,w),V2(w,c[1]),i(_,$),C1(E,_,null),i(e,F),i(e,M),i(e,V),i(e,I),i(e,B),i(e,t1),e1=!0,h1||(u1=s0(w,"input",c[2]),h1=!0)},p(i1,p1){(!e1||p1&1)&&f!==(f=i1[0].testParam+"")&&D2(l,f),p1&2&&w.value!==i1[1]&&V2(w,i1[1]);const o1={};p1&2&&(o1.params={path:`/svelte-client-router/v2/${i1[1]}/testRegexPath`}),p1&8&&(o1.$$scope={dirty:p1,ctx:i1}),E.$set(o1)},i(i1){e1||(m1(E.$$.fragment,i1),e1=!0)},o(i1){d1(E.$$.fragment,i1),e1=!1},d(i1){i1&&Z(e),y1(E),h1=!1,u1()}}}function ls(c){let e,r;return e=new p2({props:{back:{name:"v2_Router_Store",text:"Router Store"},forward:{name:"v2_Test_Regex_Path_2",text:"Test - Regex Path 2"},$$slots:{default:[is]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&11&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}let us=/[A-Za-zÀ-ú0-9]/g;function fs(c,e,r){let{pathParams:t}=e,o="";function n(){o=this.value,r(1,o)}return c.$$set=b=>{"pathParams"in b&&r(0,t=b.pathParams)},c.$$.update=()=>{if(c.$$.dirty&2&&o){const b=o.match(us),v=b?b.join("").substr(0,100)+"":"";r(1,o=v)}},[t,o,n]}class hs extends e2{constructor(e){super(),J1(this,e,fs,ls,X1,{pathParams:0})}}const vs=Object.freeze(Object.defineProperty({__proto__:null,default:hs},Symbol.toStringTag,{value:"Module"}));function ps(c){let e;return{c(){e=C("div"),e.textContent="Test Route With Two Params",T(e,"class","scr-btn")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function ms(c){let e,r,t,o,n,b,v,h,a,s,f=c[0].firstParam+"",l,m,d,z,y,S=c[0].secondParam+"",x,_,H,L,w,$,E,F,M,V,I,B,t1,e1,h1,u1,i1,p1,o1,N,G,D,W,z1,_1,S1,s1,w1;return o1=new F1({props:{params:{path:`/svelte-client-router/v2/${c[1]}/testRegexPath2/${c[2]}/`},$$slots:{default:[ps]},$$scope:{ctx:c}}}),{c(){e=C("div"),r=C("h4"),r.textContent="Test - Regex Path 2",t=k(),o=C("p"),o.innerHTML=`This route tests two regex params path. When declaring it - to go to the +`,A(r,"class","scr-h4"),A(o,"class","scr-text-justify"),A(H,"for","scr-next-param"),A(w,"type","text"),A(w,"id","scr-next-param"),A(w,"placeholder",":testParam"),A(_,"class","scr-test"),A(M,"class","scr-hr"),A(t1,"class","scr-pre"),A(e,"class","scr-page")},m(i1,p1){Y(i1,e,p1),i(e,r),i(e,t),i(e,o),i(o,n),i(o,b),i(o,v),i(o,h),i(o,a),i(o,s),i(s,l),i(o,m),i(o,d),i(o,z),i(o,y),i(o,S),i(e,x),i(e,_),i(_,H),i(_,L),i(_,w),V2(w,c[1]),i(_,$),C1(E,_,null),i(e,F),i(e,M),i(e,V),i(e,I),i(e,B),i(e,t1),e1=!0,h1||(u1=i0(w,"input",c[2]),h1=!0)},p(i1,p1){(!e1||p1&1)&&f!==(f=i1[0].testParam+"")&&D2(l,f),p1&2&&w.value!==i1[1]&&V2(w,i1[1]);const o1={};p1&2&&(o1.params={path:`/svelte-client-router/v2/${i1[1]}/testRegexPath`}),p1&8&&(o1.$$scope={dirty:p1,ctx:i1}),E.$set(o1)},i(i1){e1||(m1(E.$$.fragment,i1),e1=!0)},o(i1){d1(E.$$.fragment,i1),e1=!1},d(i1){i1&&Z(e),y1(E),h1=!1,u1()}}}function us(c){let e,r;return e=new p2({props:{back:{name:"v2_Routes_Store",text:"Routes Store"},forward:{name:"v2_Test_Regex_Path_2",text:"Test - Regex Path 2"},$$slots:{default:[ls]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&11&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}let fs=/[A-Za-zÀ-ú0-9]/g;function hs(c,e,r){let{pathParams:t}=e,o="";function n(){o=this.value,r(1,o)}return c.$$set=b=>{"pathParams"in b&&r(0,t=b.pathParams)},c.$$.update=()=>{if(c.$$.dirty&2&&o){const b=o.match(fs),v=b?b.join("").substr(0,100)+"":"";r(1,o=v)}},[t,o,n]}class vs extends e2{constructor(e){super(),J1(this,e,hs,us,X1,{pathParams:0})}}const ps=Object.freeze(Object.defineProperty({__proto__:null,default:vs},Symbol.toStringTag,{value:"Module"}));function ms(c){let e;return{c(){e=C("div"),e.textContent="Test Route With Two Params",A(e,"class","scr-btn")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function ds(c){let e,r,t,o,n,b,v,h,a,s,f=c[0].firstParam+"",l,m,d,z,y,S=c[0].secondParam+"",x,_,H,L,w,$,E,F,M,V,I,B,t1,e1,h1,u1,i1,p1,o1,N,G,D,W,z1,_1,S1,s1,w1;return o1=new F1({props:{params:{path:`/svelte-client-router/v2/${c[1]}/testRegexPath2/${c[2]}/`},$$slots:{default:[ms]},$$scope:{ctx:c}}}),{c(){e=C("div"),r=C("h4"),r.textContent="Test - Regex Path 2",t=k(),o=C("p"),o.innerHTML=`This route tests two regex params path. When declaring it - to go to the route - you should remember that the last part of the route is a regex.
      So if it is empty add a trailing slash after it @@ -3453,7 +3453,7 @@ import { backRoute } from "svelte-client-router" title: "SCR - Test 2", forceReload: true } -`,T(r,"class","scr-h4"),T(o,"class","scr-text-justify"),T(b,"class","scr-pre"),T(h,"class","scr-text-justify"),T(V,"for","scr-next-first-param"),T(B,"type","text"),T(B,"id","scr-next-first-param"),T(B,"placeholder",":firstParam"),T(h1,"for","scr-next-second-param"),T(i1,"type","text"),T(i1,"id","scr-next-second-param"),T(i1,"placeholder",":secondParam"),T(F,"class","scr-test"),T(G,"class","scr-hr"),T(W,"class",""),T(_1,"class","scr-pre"),T(e,"class","scr-page")},m(R1,B1){Y(R1,e,B1),i(e,r),i(e,t),i(e,o),i(e,n),i(e,b),i(e,v),i(e,h),i(h,a),i(h,s),i(s,l),i(h,m),i(h,d),i(h,z),i(h,y),i(y,x),i(h,_),i(h,H),i(h,L),i(h,w),i(h,$),i(e,E),i(e,F),i(F,M),i(M,V),i(M,I),i(M,B),V2(B,c[1]),i(F,t1),i(F,e1),i(e1,h1),i(e1,u1),i(e1,i1),V2(i1,c[2]),i(F,p1),C1(o1,F,null),i(e,N),i(e,G),i(e,D),i(e,W),i(e,z1),i(e,_1),S1=!0,s1||(w1=[s0(B,"input",c[3]),s0(i1,"input",c[4])],s1=!0)},p(R1,B1){(!S1||B1&1)&&f!==(f=R1[0].firstParam+"")&&D2(l,f),(!S1||B1&1)&&S!==(S=R1[0].secondParam+"")&&D2(x,S),B1&2&&B.value!==R1[1]&&V2(B,R1[1]),B1&4&&i1.value!==R1[2]&&V2(i1,R1[2]);const P1={};B1&6&&(P1.params={path:`/svelte-client-router/v2/${R1[1]}/testRegexPath2/${R1[2]}/`}),B1&32&&(P1.$$scope={dirty:B1,ctx:R1}),o1.$set(P1)},i(R1){S1||(m1(o1.$$.fragment,R1),S1=!0)},o(R1){d1(o1.$$.fragment,R1),S1=!1},d(R1){R1&&Z(e),y1(o1),s1=!1,H0(w1)}}}function ds(c){let e,r;return e=new p2({props:{back:{name:"v2_Test_Regex_Path",text:"Test - Regex Path"},forward:{name:"v2_Test_Loading_Component_Before_Enter",text:"Test - Loading Component Before Enter"},$$slots:{default:[ms]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&39&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}let bs=/[A-Za-zÀ-ú0-9]/g;function It(c){const e=c.match(bs);return e?e.join("").substr(0,100)+"":""}function xs(c,e,r){let{pathParams:t}=e,o="",n="";function b(){o=this.value,r(1,o)}function v(){n=this.value,r(2,n)}return c.$$set=h=>{"pathParams"in h&&r(0,t=h.pathParams)},c.$$.update=()=>{c.$$.dirty&2&&o&&r(1,o=It(o)),c.$$.dirty&4&&n&&r(2,n=It(n))},[t,o,n,b,v]}class gs extends e2{constructor(e){super(),J1(this,e,xs,ds,X1,{pathParams:0})}}const _s=Object.freeze(Object.defineProperty({__proto__:null,default:gs},Symbol.toStringTag,{value:"Module"}));function zs(c){let e;return{c(){e=C("div"),e.textContent="Test Route With Two Params and Route Custom Loading Component",T(e,"class","scr-btn")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function Cs(c){let e,r,t,o,n,b,v,h,a,s,f,l,m=(c[0].timeout||"")+"",d,z,y,S,x,_=(c[1].subLoadingText||"")+"",H,L,w,$,E,F,M,V,I,B,t1,e1,h1,u1,i1,p1,o1,N,G,D,W,z1,_1,S1,s1,w1,R1,B1;return G=new F1({props:{params:{path:`/svelte-client-router/v2/testLoadingComponentWithBeforeEnter/${c[2]||10}?subLoadingText=${c[3]}`},$$slots:{default:[zs]},$$scope:{ctx:c}}}),{c(){e=C("div"),r=C("h4"),r.textContent="Test - Loading Component With Route Before Enter",t=k(),o=C("p"),o.textContent="This route is demonstrating several concepts, as some as follows:",n=k(),b=C("ul"),b.innerHTML=`

    • The Loading Component
    • +`,A(r,"class","scr-h4"),A(o,"class","scr-text-justify"),A(b,"class","scr-pre"),A(h,"class","scr-text-justify"),A(V,"for","scr-next-first-param"),A(B,"type","text"),A(B,"id","scr-next-first-param"),A(B,"placeholder",":firstParam"),A(h1,"for","scr-next-second-param"),A(i1,"type","text"),A(i1,"id","scr-next-second-param"),A(i1,"placeholder",":secondParam"),A(F,"class","scr-test"),A(G,"class","scr-hr"),A(W,"class",""),A(_1,"class","scr-pre"),A(e,"class","scr-page")},m(R1,B1){Y(R1,e,B1),i(e,r),i(e,t),i(e,o),i(e,n),i(e,b),i(e,v),i(e,h),i(h,a),i(h,s),i(s,l),i(h,m),i(h,d),i(h,z),i(h,y),i(y,x),i(h,_),i(h,H),i(h,L),i(h,w),i(h,$),i(e,E),i(e,F),i(F,M),i(M,V),i(M,I),i(M,B),V2(B,c[1]),i(F,t1),i(F,e1),i(e1,h1),i(e1,u1),i(e1,i1),V2(i1,c[2]),i(F,p1),C1(o1,F,null),i(e,N),i(e,G),i(e,D),i(e,W),i(e,z1),i(e,_1),S1=!0,s1||(w1=[i0(B,"input",c[3]),i0(i1,"input",c[4])],s1=!0)},p(R1,B1){(!S1||B1&1)&&f!==(f=R1[0].firstParam+"")&&D2(l,f),(!S1||B1&1)&&S!==(S=R1[0].secondParam+"")&&D2(x,S),B1&2&&B.value!==R1[1]&&V2(B,R1[1]),B1&4&&i1.value!==R1[2]&&V2(i1,R1[2]);const P1={};B1&6&&(P1.params={path:`/svelte-client-router/v2/${R1[1]}/testRegexPath2/${R1[2]}/`}),B1&32&&(P1.$$scope={dirty:B1,ctx:R1}),o1.$set(P1)},i(R1){S1||(m1(o1.$$.fragment,R1),S1=!0)},o(R1){d1(o1.$$.fragment,R1),S1=!1},d(R1){R1&&Z(e),y1(o1),s1=!1,H0(w1)}}}function bs(c){let e,r;return e=new p2({props:{back:{name:"v2_Test_Regex_Path",text:"Test - Regex Path"},forward:{name:"v2_Test_Loading_Component_Before_Enter",text:"Test - Loading Component Before Enter"},$$slots:{default:[ds]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&39&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}let xs=/[A-Za-zÀ-ú0-9]/g;function It(c){const e=c.match(xs);return e?e.join("").substr(0,100)+"":""}function gs(c,e,r){let{pathParams:t}=e,o="",n="";function b(){o=this.value,r(1,o)}function v(){n=this.value,r(2,n)}return c.$$set=h=>{"pathParams"in h&&r(0,t=h.pathParams)},c.$$.update=()=>{c.$$.dirty&2&&o&&r(1,o=It(o)),c.$$.dirty&4&&n&&r(2,n=It(n))},[t,o,n,b,v]}class _s extends e2{constructor(e){super(),J1(this,e,gs,bs,X1,{pathParams:0})}}const zs=Object.freeze(Object.defineProperty({__proto__:null,default:_s},Symbol.toStringTag,{value:"Module"}));function Cs(c){let e;return{c(){e=C("div"),e.textContent="Test Route With Two Params and Route Custom Loading Component",A(e,"class","scr-btn")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function ys(c){let e,r,t,o,n,b,v,h,a,s,f,l,m=(c[0].timeout||"")+"",d,z,y,S,x,_=(c[1].subLoadingText||"")+"",H,L,w,$,E,F,M,V,I,B,t1,e1,h1,u1,i1,p1,o1,N,G,D,W,z1,_1,S1,s1,w1,R1,B1;return G=new F1({props:{params:{path:`/svelte-client-router/v2/testLoadingComponentWithBeforeEnter/${c[2]||10}?subLoadingText=${c[3]}`},$$slots:{default:[Cs]},$$scope:{ctx:c}}}),{c(){e=C("div"),r=C("h4"),r.textContent="Test - Loading Component With Route Before Enter",t=k(),o=C("p"),o.textContent="This route is demonstrating several concepts, as some as follows:",n=k(),b=C("ul"),b.innerHTML=`
    • The Loading Component
    • Lazy Loading a Custom Loading Component for this specific Route
    • Capturing params in Loading Component
      • Path Params
      • @@ -3489,7 +3489,7 @@ import { backRoute } from "svelte-client-router" } ], } -`,T(r,"class","scr-h4"),T(o,"class","scr-text-justify"),T(h,"class","scr-text-justify"),T(s,"class","scr-text-justify"),T(B,"for","scr-timeout-param"),T(e1,"type","text"),T(e1,"id","scr-timeout-param"),T(e1,"placeholder",":timeoutParam"),T(i1,"for","scr-query-param"),T(o1,"type","text"),T(o1,"id","scr-query-param"),T(o1,"placeholder",":queryParam"),T(V,"class","scr-test"),T(W,"class","scr-hr"),T(s1,"class","scr-pre"),T(e,"class","scr-page")},m(P1,O1){Y(P1,e,O1),i(e,r),i(e,t),i(e,o),i(e,n),i(e,b),i(e,v),i(e,h),i(e,a),i(e,s),i(s,f),i(s,l),i(l,d),i(s,z),i(s,y),i(s,S),i(s,x),i(x,H),i(s,L),i(s,w),i(s,$),i(s,E),i(s,F),i(e,M),i(e,V),i(V,I),i(I,B),i(I,t1),i(I,e1),V2(e1,c[2]),i(V,h1),i(V,u1),i(u1,i1),i(u1,p1),i(u1,o1),V2(o1,c[3]),i(V,N),C1(G,V,null),i(e,D),i(e,W),i(e,z1),i(e,_1),i(e,S1),i(e,s1),w1=!0,R1||(B1=[s0(e1,"input",c[4]),s0(o1,"input",c[5])],R1=!0)},p(P1,O1){(!w1||O1&1)&&m!==(m=(P1[0].timeout||"")+"")&&D2(d,m),(!w1||O1&2)&&_!==(_=(P1[1].subLoadingText||"")+"")&&D2(H,_),O1&4&&e1.value!==P1[2]&&V2(e1,P1[2]),O1&8&&o1.value!==P1[3]&&V2(o1,P1[3]);const I1={};O1&12&&(I1.params={path:`/svelte-client-router/v2/testLoadingComponentWithBeforeEnter/${P1[2]||10}?subLoadingText=${P1[3]}`}),O1&64&&(I1.$$scope={dirty:O1,ctx:P1}),G.$set(I1)},i(P1){w1||(m1(G.$$.fragment,P1),w1=!0)},o(P1){d1(G.$$.fragment,P1),w1=!1},d(P1){P1&&Z(e),y1(G),R1=!1,H0(B1)}}}function ys(c){let e,r;return e=new p2({props:{back:{name:"v2_Test_Regex_Path_2",text:"Test - Regex Path 2"},forward:{name:"v2_Test_Any_Route_Wildcard",text:"Test - Any Route Wildcard"},$$slots:{default:[Cs]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&79&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}let Ls=/[0-9]/g,Hs=/[A-Za-zÀ-ú0-9]/g;function Ms(c=""){if(!c)return c;c=c.toString();const e=c.match(Ls);return e?e.join("").substr(0,100)+"":""}function Rs(c=""){if(!c)return c;c=c.toString();const e=c.match(Hs);return e?e.join("").substr(0,100)+"":""}function Ss(c,e,r){let{pathParams:t={}}=e,{queryParams:o={}}=e,n=2e3,b="";function v(){n=this.value,r(2,n)}function h(){b=this.value,r(3,b)}return c.$$set=a=>{"pathParams"in a&&r(0,t=a.pathParams),"queryParams"in a&&r(1,o=a.queryParams)},c.$$.update=()=>{c.$$.dirty&4&&n&&r(2,n=Ms(n)),c.$$.dirty&8&&b&&r(3,b=Rs(b))},[t,o,n,b,v,h]}class ws extends e2{constructor(e){super(),J1(this,e,Ss,ys,X1,{pathParams:0,queryParams:1})}}const $s=Object.freeze(Object.defineProperty({__proto__:null,default:ws},Symbol.toStringTag,{value:"Module"}));function Vs(c){let e;return{c(){e=C("div"),e.textContent="Test Route Any Route Wildcard With Param",T(e,"class","scr-btn")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function Es(c){let e,r,t,o,n,b,v,h,a,s,f,l,m,d,z,y=c[0].somePathParam+"",S,x,_,H,L,w,$,E,F,M,V,I,B,t1,e1,h1,u1,i1,p1,o1,N,G,D,W,z1,_1,S1,s1;return p1=new F1({props:{params:{path:`/svelte-client-router/v2/anyRouteWildcard/${c[2]}/${c[1]}/`},$$slots:{default:[Vs]},$$scope:{ctx:c}}}),{c(){e=C("div"),r=C("h4"),r.textContent="Test - Any Route Wildcard",t=k(),o=C("p"),n=M1(`This route tests any route wildcard with regex param path. +`,A(r,"class","scr-h4"),A(o,"class","scr-text-justify"),A(h,"class","scr-text-justify"),A(s,"class","scr-text-justify"),A(B,"for","scr-timeout-param"),A(e1,"type","text"),A(e1,"id","scr-timeout-param"),A(e1,"placeholder",":timeoutParam"),A(i1,"for","scr-query-param"),A(o1,"type","text"),A(o1,"id","scr-query-param"),A(o1,"placeholder",":queryParam"),A(V,"class","scr-test"),A(W,"class","scr-hr"),A(s1,"class","scr-pre"),A(e,"class","scr-page")},m(P1,O1){Y(P1,e,O1),i(e,r),i(e,t),i(e,o),i(e,n),i(e,b),i(e,v),i(e,h),i(e,a),i(e,s),i(s,f),i(s,l),i(l,d),i(s,z),i(s,y),i(s,S),i(s,x),i(x,H),i(s,L),i(s,w),i(s,$),i(s,E),i(s,F),i(e,M),i(e,V),i(V,I),i(I,B),i(I,t1),i(I,e1),V2(e1,c[2]),i(V,h1),i(V,u1),i(u1,i1),i(u1,p1),i(u1,o1),V2(o1,c[3]),i(V,N),C1(G,V,null),i(e,D),i(e,W),i(e,z1),i(e,_1),i(e,S1),i(e,s1),w1=!0,R1||(B1=[i0(e1,"input",c[4]),i0(o1,"input",c[5])],R1=!0)},p(P1,O1){(!w1||O1&1)&&m!==(m=(P1[0].timeout||"")+"")&&D2(d,m),(!w1||O1&2)&&_!==(_=(P1[1].subLoadingText||"")+"")&&D2(H,_),O1&4&&e1.value!==P1[2]&&V2(e1,P1[2]),O1&8&&o1.value!==P1[3]&&V2(o1,P1[3]);const I1={};O1&12&&(I1.params={path:`/svelte-client-router/v2/testLoadingComponentWithBeforeEnter/${P1[2]||10}?subLoadingText=${P1[3]}`}),O1&64&&(I1.$$scope={dirty:O1,ctx:P1}),G.$set(I1)},i(P1){w1||(m1(G.$$.fragment,P1),w1=!0)},o(P1){d1(G.$$.fragment,P1),w1=!1},d(P1){P1&&Z(e),y1(G),R1=!1,H0(B1)}}}function Ls(c){let e,r;return e=new p2({props:{back:{name:"v2_Test_Regex_Path_2",text:"Test - Regex Path 2"},forward:{name:"v2_Test_Any_Route_Wildcard",text:"Test - Any Route Wildcard"},$$slots:{default:[ys]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&79&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}let Hs=/[0-9]/g,Ms=/[A-Za-zÀ-ú0-9]/g;function Rs(c=""){if(!c)return c;c=c.toString();const e=c.match(Hs);return e?e.join("").substr(0,100)+"":""}function Ss(c=""){if(!c)return c;c=c.toString();const e=c.match(Ms);return e?e.join("").substr(0,100)+"":""}function ws(c,e,r){let{pathParams:t={}}=e,{queryParams:o={}}=e,n=2e3,b="";function v(){n=this.value,r(2,n)}function h(){b=this.value,r(3,b)}return c.$$set=a=>{"pathParams"in a&&r(0,t=a.pathParams),"queryParams"in a&&r(1,o=a.queryParams)},c.$$.update=()=>{c.$$.dirty&4&&n&&r(2,n=Rs(n)),c.$$.dirty&8&&b&&r(3,b=Ss(b))},[t,o,n,b,v,h]}class $s extends e2{constructor(e){super(),J1(this,e,ws,Ls,X1,{pathParams:0,queryParams:1})}}const Vs=Object.freeze(Object.defineProperty({__proto__:null,default:$s},Symbol.toStringTag,{value:"Module"}));function Es(c){let e;return{c(){e=C("div"),e.textContent="Test Route Any Route Wildcard With Param",A(e,"class","scr-btn")},m(r,t){Y(r,e,t)},p:E1,d(r){r&&Z(e)}}}function As(c){let e,r,t,o,n,b,v,h,a,s,f,l,m,d,z,y=c[0].somePathParam+"",S,x,_,H,L,w,$,E,F,M,V,I,B,t1,e1,h1,u1,i1,p1,o1,N,G,D,W,z1,_1,S1,s1;return p1=new F1({props:{params:{path:`/svelte-client-router/v2/anyRouteWildcard/${c[2]}/${c[1]}/`},$$slots:{default:[Es]},$$scope:{ctx:c}}}),{c(){e=C("div"),r=C("h4"),r.textContent="Test - Any Route Wildcard",t=k(),o=C("p"),n=M1(`This route tests any route wildcard with regex param path. `),b=C("br"),v=k(),h=C("br"),a=M1(` The route path for wildcard value is: `),s=C("b"),f=M1(c[3]),l=k(),m=C("br"),d=M1(` The route param path passed is: `),z=C("b"),S=M1(y),x=k(),_=C("br"),H=k(),L=C("br"),w=M1(` @@ -3499,5 +3499,5 @@ import { backRoute } from "svelte-client-router" lazyLoadComponent: () => import("../../pages/v2/SCR_TestAnyRouteWildcard.svelte"), title: "SCR - Test - Any Route Wildcard - Version 2", } -`,T(r,"class","scr-h4"),T(o,"class","scr-text-justify"),T(M,"for","scr-route-wildcard-text"),T(I,"type","text"),T(I,"id","scr-route-wildcard-text"),T(I,"placeholder","routeWildcardText"),T(e1,"for","scr-some-path-param"),T(u1,"type","text"),T(u1,"id","scr-some-path-param"),T(u1,"placeholder",":somePathParam"),T(E,"class","scr-test"),T(N,"class","scr-hr"),T(z1,"class","scr-pre"),T(e,"class","scr-page")},m(w1,R1){Y(w1,e,R1),i(e,r),i(e,t),i(e,o),i(o,n),i(o,b),i(o,v),i(o,h),i(o,a),i(o,s),i(s,f),i(o,l),i(o,m),i(o,d),i(o,z),i(z,S),i(o,x),i(o,_),i(o,H),i(o,L),i(o,w),i(e,$),i(e,E),i(E,F),i(F,M),i(F,V),i(F,I),V2(I,c[2]),i(E,B),i(E,t1),i(t1,e1),i(t1,h1),i(t1,u1),V2(u1,c[1]),i(E,i1),C1(p1,E,null),i(e,o1),i(e,N),i(e,G),i(e,D),i(e,W),i(e,z1),_1=!0,S1||(s1=[s0(I,"input",c[5]),s0(u1,"input",c[6])],S1=!0)},p(w1,R1){(!_1||R1&8)&&D2(f,w1[3]),(!_1||R1&1)&&y!==(y=w1[0].somePathParam+"")&&D2(S,y),R1&4&&I.value!==w1[2]&&V2(I,w1[2]),R1&2&&u1.value!==w1[1]&&V2(u1,w1[1]);const B1={};R1&6&&(B1.params={path:`/svelte-client-router/v2/anyRouteWildcard/${w1[2]}/${w1[1]}/`}),R1&128&&(B1.$$scope={dirty:R1,ctx:w1}),p1.$set(B1)},i(w1){_1||(m1(p1.$$.fragment,w1),_1=!0)},o(w1){d1(p1.$$.fragment,w1),_1=!1},d(w1){w1&&Z(e),y1(p1),S1=!1,H0(s1)}}}function Ts(c){let e,r;return e=new p2({props:{back:{name:"v2_Test_Loading_Component_Before_Enter",text:"Test - Loading Component Before Enter"},forward:{name:"v2_Not_Found_Route",text:"Test - Not Found Route"},$$slots:{default:[Es]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&143&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}let jt=/[A-Za-zÀ-ú0-9]/g;function As(c,e,r){let{pathParams:t}=e,{toRoute:o}=e,n="",b="",v="";function h(){b=this.value,r(2,b)}function a(){n=this.value,r(1,n),r(2,b)}return c.$$set=s=>{"pathParams"in s&&r(0,t=s.pathParams),"toRoute"in s&&r(4,o=s.toRoute)},c.$$.update=()=>{if(c.$$.dirty&2&&n){const s=n.toString().match(jt),f=s?s.join("").substr(0,100)+"":"";r(1,n=f)}if(c.$$.dirty&6&&b){const s=n.toString().match(jt),f=s?s.join("").substr(0,20)+"":"";r(1,n=f)}if(c.$$.dirty&16&&o&&o.path){const s=o.path.split("/");r(3,v=s[4])}},[t,n,b,v,o,h,a]}class qs extends e2{constructor(e){super(),J1(this,e,As,Ts,X1,{pathParams:0,toRoute:4})}}const Ps=Object.freeze(Object.defineProperty({__proto__:null,default:qs},Symbol.toStringTag,{value:"Module"}))})(); -//# sourceMappingURL=index.f8be593b.js.map +`,A(r,"class","scr-h4"),A(o,"class","scr-text-justify"),A(M,"for","scr-route-wildcard-text"),A(I,"type","text"),A(I,"id","scr-route-wildcard-text"),A(I,"placeholder","routeWildcardText"),A(e1,"for","scr-some-path-param"),A(u1,"type","text"),A(u1,"id","scr-some-path-param"),A(u1,"placeholder",":somePathParam"),A(E,"class","scr-test"),A(N,"class","scr-hr"),A(z1,"class","scr-pre"),A(e,"class","scr-page")},m(w1,R1){Y(w1,e,R1),i(e,r),i(e,t),i(e,o),i(o,n),i(o,b),i(o,v),i(o,h),i(o,a),i(o,s),i(s,f),i(o,l),i(o,m),i(o,d),i(o,z),i(z,S),i(o,x),i(o,_),i(o,H),i(o,L),i(o,w),i(e,$),i(e,E),i(E,F),i(F,M),i(F,V),i(F,I),V2(I,c[2]),i(E,B),i(E,t1),i(t1,e1),i(t1,h1),i(t1,u1),V2(u1,c[1]),i(E,i1),C1(p1,E,null),i(e,o1),i(e,N),i(e,G),i(e,D),i(e,W),i(e,z1),_1=!0,S1||(s1=[i0(I,"input",c[5]),i0(u1,"input",c[6])],S1=!0)},p(w1,R1){(!_1||R1&8)&&D2(f,w1[3]),(!_1||R1&1)&&y!==(y=w1[0].somePathParam+"")&&D2(S,y),R1&4&&I.value!==w1[2]&&V2(I,w1[2]),R1&2&&u1.value!==w1[1]&&V2(u1,w1[1]);const B1={};R1&6&&(B1.params={path:`/svelte-client-router/v2/anyRouteWildcard/${w1[2]}/${w1[1]}/`}),R1&128&&(B1.$$scope={dirty:R1,ctx:w1}),p1.$set(B1)},i(w1){_1||(m1(p1.$$.fragment,w1),_1=!0)},o(w1){d1(p1.$$.fragment,w1),_1=!1},d(w1){w1&&Z(e),y1(p1),S1=!1,H0(s1)}}}function Ts(c){let e,r;return e=new p2({props:{back:{name:"v2_Test_Loading_Component_Before_Enter",text:"Test - Loading Component Before Enter"},forward:{name:"v2_Not_Found_Route",text:"Test - Not Found Route"},$$slots:{default:[As]},$$scope:{ctx:c}}}),{c(){H1(e.$$.fragment)},m(t,o){C1(e,t,o),r=!0},p(t,[o]){const n={};o&143&&(n.$$scope={dirty:o,ctx:t}),e.$set(n)},i(t){r||(m1(e.$$.fragment,t),r=!0)},o(t){d1(e.$$.fragment,t),r=!1},d(t){y1(e,t)}}}let jt=/[A-Za-zÀ-ú0-9]/g;function qs(c,e,r){let{pathParams:t}=e,{toRoute:o}=e,n="",b="",v="";function h(){b=this.value,r(2,b)}function a(){n=this.value,r(1,n),r(2,b)}return c.$$set=s=>{"pathParams"in s&&r(0,t=s.pathParams),"toRoute"in s&&r(4,o=s.toRoute)},c.$$.update=()=>{if(c.$$.dirty&2&&n){const s=n.toString().match(jt),f=s?s.join("").substr(0,100)+"":"";r(1,n=f)}if(c.$$.dirty&6&&b){const s=n.toString().match(jt),f=s?s.join("").substr(0,20)+"":"";r(1,n=f)}if(c.$$.dirty&16&&o&&o.path){const s=o.path.split("/");r(3,v=s[4])}},[t,n,b,v,o,h,a]}class Ps extends e2{constructor(e){super(),J1(this,e,qs,Ts,X1,{pathParams:0,toRoute:4})}}const ks=Object.freeze(Object.defineProperty({__proto__:null,default:Ps},Symbol.toStringTag,{value:"Module"}))})(); +//# sourceMappingURL=index.78d33a13.js.map diff --git a/docs/assets/index.f8be593b.js.map b/docs/assets/index.78d33a13.js.map similarity index 98% rename from docs/assets/index.f8be593b.js.map rename to docs/assets/index.78d33a13.js.map index f5117f8..845ef6a 100644 --- a/docs/assets/index.f8be593b.js.map +++ b/docs/assets/index.78d33a13.js.map @@ -1 +1 @@ -{"version":3,"file":"index.f8be593b.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"} \ No newline at end of file +{"version":3,"file":"index.78d33a13.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"} \ No newline at end of file diff --git a/docs/index.html b/docs/index.html index d4e311c..8d64d84 100644 --- a/docs/index.html +++ b/docs/index.html @@ -8,7 +8,7 @@ Svelte Client Router - Documentation - +
        diff --git a/docsproj/src/App.svelte b/docsproj/src/App.svelte index d31a5a3..d3a1405 100644 --- a/docsproj/src/App.svelte +++ b/docsproj/src/App.svelte @@ -5,7 +5,8 @@ import SCR_DefaultLayout from "./layout/SCR_DefaultLayout.svelte"; import routes from "./js/routes/index.js"; - configStore.setBeforeEnter(({ resolve }) => { + configStore.setBeforeEnter(({ resolve, routeTo }) => { + console.log(routeTo) appStore.setVersion(0); resolve(true); }); diff --git a/docsproj/src/js/routes/v1.js b/docsproj/src/js/routes/v1.js index 678194e..3bb5b87 100644 --- a/docsproj/src/js/routes/v1.js +++ b/docsproj/src/js/routes/v1.js @@ -157,6 +157,7 @@ const routes = [ lazyLoadComponent: () => import("../../pages/v1/SCR_TestAnyRouteWildcard.svelte"), title: "SCR - Test - Any Route Wildcard - Version 1", + beforeEnter: [setVersion1], }, ]; diff --git a/docsproj/src/js/routes/v2.js b/docsproj/src/js/routes/v2.js index 709f0ba..13ed0be 100644 --- a/docsproj/src/js/routes/v2.js +++ b/docsproj/src/js/routes/v2.js @@ -187,6 +187,7 @@ const routes = [ lazyLoadComponent: () => import("../../pages/v2/SCR_TestAnyRouteWildcard.svelte"), title: "SCR - Test - Any Route Wildcard - Version 2", + beforeEnter: [setVersion2], }, ]; diff --git a/docsproj/src/pages/v2/SCR_TestRegexPath.svelte b/docsproj/src/pages/v2/SCR_TestRegexPath.svelte index b7b5689..90d0a63 100755 --- a/docsproj/src/pages/v2/SCR_TestRegexPath.svelte +++ b/docsproj/src/pages/v2/SCR_TestRegexPath.svelte @@ -14,7 +14,7 @@
        diff --git a/package-lock.json b/package-lock.json index 77b0a6c..b2f15d9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,20 +1,22 @@ { "name": "svelte-client-router", - "version": "2.0.0", + "version": "2.0.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "svelte-client-router", - "version": "2.0.0", + "version": "2.0.1", "license": "MIT", "dependencies": { "spa-storage": "^2.0.2" }, "devDependencies": { + "@playwright/test": "^1.25.2", "@sveltejs/vite-plugin-svelte": "^1.0.2", "@vitest/coverage-c8": "^0.22.1", "happy-dom": "^6.0.4", + "playwright": "^1.25.2", "svelte": "^3.49.0", "vite": "^3.0.9", "vitest": "^0.22.1" @@ -76,6 +78,22 @@ "@jridgewell/sourcemap-codec": "^1.4.10" } }, + "node_modules/@playwright/test": { + "version": "1.25.2", + "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.25.2.tgz", + "integrity": "sha512-6qPznIR4Fw02OMbqXUPMG6bFFg1hDVNEdihKy0t9K0dmRbus1DyP5Q5XFQhGwEHQkLG5hrSfBuu9CW/foqhQHQ==", + "dev": true, + "dependencies": { + "@types/node": "*", + "playwright-core": "1.25.2" + }, + "bin": { + "playwright": "cli.js" + }, + "engines": { + "node": ">=14" + } + }, "node_modules/@rollup/pluginutils": { "version": "4.2.1", "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-4.2.1.tgz", @@ -1880,6 +1898,34 @@ "url": "https://github.com/sponsors/jonschlinkert" } }, + "node_modules/playwright": { + "version": "1.25.2", + "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.25.2.tgz", + "integrity": "sha512-RwMB5SFRV/8wSfK+tK8ycpqdzORvoqUNz9DUeRfSgZFrZej5uuBl9wFjWcc+OkXFEtaPmx1acAVGG7hA4IJ1kg==", + "dev": true, + "hasInstallScript": true, + "dependencies": { + "playwright-core": "1.25.2" + }, + "bin": { + "playwright": "cli.js" + }, + "engines": { + "node": ">=14" + } + }, + "node_modules/playwright-core": { + "version": "1.25.2", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.25.2.tgz", + "integrity": "sha512-0yTbUE9lIddkEpLHL3u8PoCL+pWiZtj5A/j3U7YoNjcmKKDGBnCrgHJMzwd2J5vy6l28q4ki3JIuz7McLHhl1A==", + "dev": true, + "bin": { + "playwright": "cli.js" + }, + "engines": { + "node": ">=14" + } + }, "node_modules/postcss": { "version": "8.4.16", "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.16.tgz", @@ -2794,6 +2840,16 @@ "@jridgewell/sourcemap-codec": "^1.4.10" } }, + "@playwright/test": { + "version": "1.25.2", + "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.25.2.tgz", + "integrity": "sha512-6qPznIR4Fw02OMbqXUPMG6bFFg1hDVNEdihKy0t9K0dmRbus1DyP5Q5XFQhGwEHQkLG5hrSfBuu9CW/foqhQHQ==", + "dev": true, + "requires": { + "@types/node": "*", + "playwright-core": "1.25.2" + } + }, "@rollup/pluginutils": { "version": "4.2.1", "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-4.2.1.tgz", @@ -4098,6 +4154,21 @@ "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", "dev": true }, + "playwright": { + "version": "1.25.2", + "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.25.2.tgz", + "integrity": "sha512-RwMB5SFRV/8wSfK+tK8ycpqdzORvoqUNz9DUeRfSgZFrZej5uuBl9wFjWcc+OkXFEtaPmx1acAVGG7hA4IJ1kg==", + "dev": true, + "requires": { + "playwright-core": "1.25.2" + } + }, + "playwright-core": { + "version": "1.25.2", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.25.2.tgz", + "integrity": "sha512-0yTbUE9lIddkEpLHL3u8PoCL+pWiZtj5A/j3U7YoNjcmKKDGBnCrgHJMzwd2J5vy6l28q4ki3JIuz7McLHhl1A==", + "dev": true + }, "postcss": { "version": "8.4.16", "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.16.tgz", diff --git a/package.json b/package.json index f87b3cd..58587ec 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "svelte-client-router", - "version": "2.0.1", + "version": "2.0.2", "author": "Arthur José Germano", "license": "MIT", "main": "src/index.js", @@ -24,12 +24,19 @@ "coverage": "vitest run --coverage --globals --environment happy-dom", "dev": "vite", "build": "vite build", - "preview": "vite preview" + "preview": "vite preview", + "play": "npx playwright codegen http://localhost:5173", + "pwtest": "npx playwright test /pwTests", + "pwtesthead": "npx playwright test /pwTests --headed", + "pwtestdebug": "npx playwright test /pwTests --debug", + "pwreport": "npx playwright show-report" }, "devDependencies": { + "@playwright/test": "^1.25.2", "@sveltejs/vite-plugin-svelte": "^1.0.2", "@vitest/coverage-c8": "^0.22.1", "happy-dom": "^6.0.4", + "playwright": "^1.25.2", "svelte": "^3.49.0", "vite": "^3.0.9", "vitest": "^0.22.1" diff --git a/pwTests/helpers.js b/pwTests/helpers.js new file mode 100644 index 0000000..8abe464 --- /dev/null +++ b/pwTests/helpers.js @@ -0,0 +1,3 @@ +export const sleep = (ms) => { + return new Promise((resolve) => setTimeout(resolve, ms)); +}; \ No newline at end of file diff --git a/pwTests/testV1Flow.spec.js b/pwTests/testV1Flow.spec.js new file mode 100644 index 0000000..da89532 --- /dev/null +++ b/pwTests/testV1Flow.spec.js @@ -0,0 +1,209 @@ +import { test, expect } from '@playwright/test'; +import { sleep } from "./helpers" + +test('test', async ({ page }) => { + + // Go to http://localhost:5173/ + await page.goto('http://localhost:5173/'); + + // Click h2:has-text("Version 1") + await page.locator('h2:has-text("Version 1")').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/v1/presentation'); + + // Click button:has-text("Installation") + await page.locator('button:has-text("Installation")').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/v1/installation'); + + // Click button:has-text("Getting Started") + await page.locator('button:has-text("Getting Started")').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/v1/gettingStarted'); + + // Click button:has-text("Configuration Options") + await page.locator('button:has-text("Configuration Options")').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/v1/configurationOptions'); + + // Click text=Configuration Before Enter + await page.locator('text=Configuration Before Enter').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/v1/configurationGlobalBeforeEnterOption'); + + // Click text=Configuration On Error + await page.locator('text=Configuration On Error').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/v1/configurationGlobalOnError'); + + // Click button:has-text("Route Object Properties") + await page.locator('button:has-text("Route Object Properties")').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/v1/routeObjectProperties'); + + // Click text=Route Object Before Enter + await page.locator('text=Route Object Before Enter').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/v1/routeObjectBeforeEnter'); + + // Click text=Route Object After Enter + await page.locator('text=Route Object After Enter').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/v1/routeObjectAfterEnter'); + + // Click text=Route Object On Error + await page.locator('text=Route Object On Error').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/v1/routeObjectOnError'); + + // Click button:has-text("Route Component Properties") + await page.locator('button:has-text("Route Component Properties")').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/v1/routeComponentProperties'); + + // Click text=Route Component Components + await page.locator('text=Route Component Components').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/v1/routeComponentComponents'); + + // Click button:has-text("Navigation Routing") + await page.locator('button:has-text("Navigation Routing")').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/v1/navigationRouting'); + + // Click text=Navigation Store + await page.locator('text=Navigation Store').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/v1/navigationStore'); + + // Click text=Router Link + await page.locator('text=Router Link').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/v1/routerLink'); + + // Click button:has-text("Router Store") + await page.locator('button:has-text("Router Store")').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/v1/routerStore'); + + // Click button:has-text("Test - Regex Path") + await page.locator('button:has-text("Test - Regex Path")').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/v1/:testParam/testRegexPath'); + + // Click button:has-text("Test - Regex Path 2") + await page.locator('button:has-text("Test - Regex Path 2")').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/v1/:firstParam/testRegexPath2/:secondParam'); + + // Click text=Test - Loading Component Before Enter + await page.locator('text=Test - Loading Component Before Enter').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/v1/testLoadingComponentWithBeforeEnter/:timeout'); + + // Click button:has-text("Test - Any Route Wildcard") + await page.locator('button:has-text("Test - Any Route Wildcard")').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/v1/anyRouteWildcard/*/:somePathParam'); + + // Click text=Test - Not Found Route + await page.locator('text=Test - Not Found Route').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/notFound'); + + // Click text=Go Back + await page.locator('text=Go Back').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/v1/anyRouteWildcard/*/:somePathParam'); + + // Click text=Test - Loading Component Before Enter + await page.locator('text=Test - Loading Component Before Enter').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/v1/testLoadingComponentWithBeforeEnter/:timeout'); + + // Click button:has-text("Test - Regex Path 2") + await page.locator('button:has-text("Test - Regex Path 2")').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/v1/:firstParam/testRegexPath2/:secondParam'); + + // Click button:has-text("Test - Regex Path") + await page.locator('button:has-text("Test - Regex Path")').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/v1/:testParam/testRegexPath'); + + // Click button:has-text("Router Store") + await page.locator('button:has-text("Router Store")').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/v1/routerStore'); + + // Click text=Router Link + await page.locator('text=Router Link').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/v1/routerLink'); + + // Click text=Navigation Store + await page.locator('text=Navigation Store').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/v1/navigationStore'); + + // Click button:has-text("Navigation Routing") + await page.locator('button:has-text("Navigation Routing")').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/v1/navigationRouting'); + + // Click text=Route Component Components + await page.locator('text=Route Component Components').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/v1/routeComponentComponents'); + + // Click button:has-text("Route Component Properties") + await page.locator('button:has-text("Route Component Properties")').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/v1/routeComponentProperties'); + + // Click text=Route Object Before Enter + await page.locator('text=Route Object Before Enter').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/v1/routeObjectBeforeEnter'); + + // Click button:has-text("Route Object Properties") + await page.locator('button:has-text("Route Object Properties")').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/v1/routeObjectProperties'); + + // Click text=Configuration On Error + await page.locator('text=Configuration On Error').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/v1/configurationGlobalOnError'); + + // Click text=Configuration Before Enter + await page.locator('text=Configuration Before Enter').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/v1/configurationGlobalBeforeEnterOption'); + + // Click button:has-text("Configuration Options") + await page.locator('button:has-text("Configuration Options")').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/v1/configurationOptions'); + + // Click button:has-text("Getting Started") + await page.locator('button:has-text("Getting Started")').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/v1/gettingStarted'); + + // Click button:has-text("Installation") + await page.locator('button:has-text("Installation")').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/v1/installation'); + + // Click button:has-text("Presentation") + await page.locator('button:has-text("Presentation")').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/v1/presentation'); + + // Click text=Home + await page.locator('text=Home').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/'); + +}); \ No newline at end of file diff --git a/pwTests/testV2Flow.spec.js b/pwTests/testV2Flow.spec.js new file mode 100644 index 0000000..99a0ec7 --- /dev/null +++ b/pwTests/testV2Flow.spec.js @@ -0,0 +1,199 @@ +import { test, expect } from '@playwright/test'; +import { sleep } from "./helpers" + +test('test', async ({ page }) => { + + // Go to http://localhost:5173/ + await page.goto('http://localhost:5173/'); + + // Click h2:has-text("Version 1") + await page.locator('h2:has-text("Version 2")').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/v2/presentation'); + + // Click button:has-text("Installation") + await page.locator('button:has-text("Installation")').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/v2/installation'); + + // Click button:has-text("Getting Started") + await page.locator('button:has-text("Getting Started")').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/v2/gettingStarted'); + + // Click button:has-text("Configuration Options") + await page.locator('button:has-text("Configuration Options")').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/v2/configurationOptions'); + + // Click text=Configuration Before Enter + await page.locator('text=Configuration Before Enter').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/v2/configurationGlobalBeforeEnterOption'); + + // Click text=Configuration On Error + await page.locator('text=Configuration On Error').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/v2/configurationGlobalOnError'); + + // Click button:has-text("Route Object Properties") + await page.locator('button:has-text("Route Object Properties")').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/v2/routeObjectProperties'); + + // Click text=Route Object Before Enter + await page.locator('text=Route Object Before Enter').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/v2/routeObjectBeforeEnter'); + + // Click text=Route Object After Enter + await page.locator('text=Route Object After Enter').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/v2/routeObjectAfterEnter'); + + // Click text=Route Object On Error + await page.locator('text=Route Object On Error').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/v2/routeObjectOnError'); + + // Click button:has-text("Route Component Properties") + await page.locator('button:has-text("Route Component Properties")').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/v2/routeComponentProperties'); + + // Click text=Route Component Components + await page.locator('text=Route Component Components').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/v2/routeComponentComponents'); + + // Click button:has-text("Navigation Routing") + await page.locator('button:has-text("Navigation Routing")').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/v2/navigationRouting'); + + // Click text=Router Link + await page.locator('text=Router Link').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/v2/routerLink'); + + // Click button:has-text("Routes Store") + await page.locator('button:has-text("Routes Store")').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/v2/routesStore'); + + // Click button:has-text("Test - Regex Path") + await page.locator('button:has-text("Test - Regex Path")').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/v2/:testParam/testRegexPath'); + + // Click button:has-text("Test - Regex Path 2") + await page.locator('button:has-text("Test - Regex Path 2")').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/v2/:firstParam/testRegexPath2/:secondParam'); + + // Click text=Test - Loading Component Before Enter + await page.locator('text=Test - Loading Component Before Enter').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/v2/testLoadingComponentWithBeforeEnter/:timeout'); + + // Click button:has-text("Test - Any Route Wildcard") + await page.locator('button:has-text("Test - Any Route Wildcard")').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/v2/anyRouteWildcard/*/:somePathParam'); + + // Click text=Test - Not Found Route + await page.locator('text=Test - Not Found Route').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/notFound'); + + // Click text=Go Back + await page.locator('text=Go Back').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/v2/anyRouteWildcard/*/:somePathParam'); + + // Click text=Test - Loading Component Before Enter + await page.locator('text=Test - Loading Component Before Enter').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/v2/testLoadingComponentWithBeforeEnter/:timeout'); + + // Click button:has-text("Test - Regex Path 2") + await page.locator('button:has-text("Test - Regex Path 2")').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/v2/:firstParam/testRegexPath2/:secondParam'); + + // Click button:has-text("Test - Regex Path") + await page.locator('button:has-text("Test - Regex Path")').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/v2/:testParam/testRegexPath'); + + // Click button:has-text("Routes Store") + await page.locator('button:has-text("Routes Store")').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/v2/routesStore'); + + // Click text=Router Link + await page.locator('text=Router Link').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/v2/routerLink'); + + // Click button:has-text("Navigation Routing") + await page.locator('button:has-text("Navigation Routing")').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/v2/navigationRouting'); + + // Click text=Route Component Components + await page.locator('text=Route Component Components').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/v2/routeComponentComponents'); + + // Click button:has-text("Route Component Properties") + await page.locator('button:has-text("Route Component Properties")').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/v2/routeComponentProperties'); + + // Click text=Route Object Before Enter + await page.locator('text=Route Object Before Enter').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/v2/routeObjectBeforeEnter'); + + // Click button:has-text("Route Object Properties") + await page.locator('button:has-text("Route Object Properties")').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/v2/routeObjectProperties'); + + // Click text=Configuration On Error + await page.locator('text=Configuration On Error').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/v2/configurationGlobalOnError'); + + // Click text=Configuration Before Enter + await page.locator('text=Configuration Before Enter').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/v2/configurationGlobalBeforeEnterOption'); + + // Click button:has-text("Configuration Options") + await page.locator('button:has-text("Configuration Options")').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/v2/configurationOptions'); + + // Click button:has-text("Getting Started") + await page.locator('button:has-text("Getting Started")').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/v2/gettingStarted'); + + // Click button:has-text("Installation") + await page.locator('button:has-text("Installation")').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/v2/installation'); + + // Click button:has-text("Presentation") + await page.locator('button:has-text("Presentation")').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/v2/presentation'); + + // Click text=Home + await page.locator('text=Home').click(); + await sleep(500); + await expect(page).toHaveURL('http://localhost:5173/#/svelte-client-router/'); + +}); \ No newline at end of file diff --git a/src/core/routerFunctions.js b/src/core/routerFunctions.js index 42d5470..fb64cad 100644 --- a/src/core/routerFunctions.js +++ b/src/core/routerFunctions.js @@ -12,11 +12,12 @@ import { setPathQueryParameters, } from "./baseFunctions.js"; +const HASH_PARAM_CHAR = "#/"; const PATH_PARAM_CHAR = "/:"; const ANY_ROUTE_PARAM_CHAR = "*"; let BEF_PAYLOAD = {}; let NOT_FOUND; -let MODE = "NEW"; +let MODE = "NEW"; // this variable helps to define history in the browser // ------------------------------------------------------------------------------------------------ @@ -33,7 +34,6 @@ export async function onMountComponent(params = {}) { coreStore.setDefaultLoadingComponent(params.defaultLoadingComponent); coreStore.setDefaultLoadingParams(params.defaultLoadingParams); } - await loadRoute(getRouteObjectFromPath(location.href)); } catch (error) { await throwError(error); @@ -525,10 +525,10 @@ export function getOrderedBeforeEnterFunctionList(routeObj) { export function getRouteObjectFromPath(path) { try { if (!path || typeof path !== "string") { - path = '/' + path = "/"; } const hash = getHashFromPath(path); - if (configStore.getHashMode()) { + if (configStore.getHashMode() && path.includes(HASH_PARAM_CHAR) && hash) { path = hash.replace("/#", ""); path = path.replace("#", ""); } @@ -653,7 +653,9 @@ export function generateRouteId(routeId = "scr") { export function setHistory(routeObj, fromRoute) { try { const isHashMode = configStore.getHashMode(); - const fullPath = (isHashMode ? `${location.pathname}#/` : "/") + routeObj.fullPath.slice(1); + const fullPath = + (isHashMode ? `${location.pathname}#/` : "/") + + routeObj.fullPath.slice(1); if (MODE == "NEW") { history.pushState( {