").val(e).attr({type:"text",class:"hide-by-pos"}).appendTo(document.body);t[0].selectionStart=0,t[0].selectionEnd=e.length,t.focus(),t.on({"copy cut paste"(){setTimeout((()=>t.blur()),0)},blur(){t.remove()}})},copyHtml(e){const t=document.createElement("div");t.style.userSelect="auto",t.style.webkitUserSelect="auto",t.style.mozUserSelect="auto",t.innerHTML=e,document.body.appendChild(t);const n=document.createRange();n.selectNodeContents(t);const s=window.getSelection();s.removeAllRanges(),s.addRange(n);const i=document.execCommand("copy");return t.remove(),i}}},8132:(e,t,n)=>{"use strict";n.r(t),n.d(t,{FeatureTester:()=>i});var s=n(667);const i={test(){return Promise.resolve().then((()=>this.checkWebAssembly())).then((()=>this.checkLocalStorage())).then((()=>this.checkWebCrypto()))},checkWebAssembly(){try{const e=new n.g.WebAssembly.Module(Uint8Array.of(0,97,115,109,1,0,0,0));return new n.g.WebAssembly.Instance(e)instanceof n.g.WebAssembly.Instance}catch(e){throw"WebAssembly is not supported"}},checkLocalStorage(){if(!s.Features.isDesktop)try{localStorage.setItem("_test","1"),localStorage.removeItem("_test")}catch(e){throw"LocalStorage is not supported"}},checkWebCrypto(){if(!n.g.crypto.subtle)throw"WebCrypto is not supported"}}},9053:(e,t,n)=>{"use strict";n.r(t),n.d(t,{FocusDetector:()=>o});var s=n(7201),i=n(9491),r=n(667);const o={init(){this.isFocused=!0,this.detectsFocusWithEvents=!r.Features.isDesktop&&!r.Features.isMobile,this.detectsFocusWithEvents&&(window.addEventListener("focus",(()=>{o.isFocused||(o.isFocused=!0,s.Events.emit("main-window-focus"))})),window.addEventListener("blur",(()=>{o.isFocused&&(o.isFocused=!1,s.Events.emit("main-window-blur"))})))},hasFocus(){return this.detectsFocusWithEvents?this.isFocused:!i.Launcher||i.Launcher.isAppFocused()}}},5665:(e,t,n)=>{"use strict";n.r(t),n.d(t,{IdleTracker:()=>r});var s=n(7201),i=n(7614);const r={actionTime:Date.now(),init(){setInterval(this.checkIdle.bind(this),6e4)},checkIdle(){const e=(Date.now()-this.actionTime)/1e3/60,t=i.AppSettingsModel.idleMinutes;t&&e>t&&(s.Events.emit("before-user-idle"),s.Events.emit("user-idle"))},regUserAction(){this.actionTime=Date.now()}};s.Events.on("power-monitor-resume",(()=>r.checkIdle))},1164:(e,t,n)=>{"use strict";n.r(t),n.d(t,{KeyHandler:()=>c});var s=n(7201),i=n(5665),r=n(2977),o=n(4953),a=n(6718);const l=navigator.platform.indexOf("Mac")>=0?"metaKey":"ctrlKey";const c=new class{constructor(){this.SHORTCUT_ACTION=1,this.SHORTCUT_OPT=2,this.SHORTCUT_SHIFT=4,this.shortcuts={}}init(){a(document).bind("keypress",this.keypress.bind(this)),a(document).bind("keydown",this.keydown.bind(this)),this.shortcuts[r.Keys.DOM_VK_A]=[{handler:this.handleAKey,thisArg:this,shortcut:this.SHORTCUT_ACTION,modal:!0,noPrevent:!0}]}onKey(e,t,n,s,i,r){let o=this.shortcuts[e];o||(this.shortcuts[e]=o=[]),o.push({handler:t,thisArg:n,shortcut:s,modal:i,noPrevent:r})}offKey(e,t,n){this.shortcuts[e]&&(this.shortcuts[e]=this.shortcuts[e].filter((e=>e.handler!==t||e.thisArg!==n)))}isActionKey(e){return e[l]}keydown(e){i.IdleTracker.regUserAction();const t=e.keyCode||e.which,n=this.shortcuts[t];if(n&&n.length)for(const s of n){if(o.FocusManager.modal&&s.modal!==o.FocusManager.modal&&"*"!==s.modal){e.stopPropagation();continue}const n=this.isActionKey(e);switch(s.shortcut){case this.SHORTCUT_ACTION:if(!n)continue;break;case this.SHORTCUT_OPT:if(!e.altKey)continue;break;case this.SHORTCUT_SHIFT:if(!e.shiftKey)continue;break;case this.SHORTCUT_ACTION+this.SHORTCUT_OPT:if(!e.altKey||!n)continue;break;default:if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)continue}if(s.handler.call(s.thisArg,e,t),n&&!s.noPrevent&&e.preventDefault(),e.isImmediatePropagationStopped())break}}keypress(e){o.FocusManager.modal||e.which===r.Keys.DOM_VK_RETURN||e.which===r.Keys.DOM_VK_ESCAPE||e.which===r.Keys.DOM_VK_TAB||e.altKey||e.ctrlKey||e.metaKey?o.FocusManager.modal&&s.Events.emit("keypress:"+o.FocusManager.modal,e):s.Events.emit("keypress",e)}reg(){i.IdleTracker.regUserAction()}handleAKey(e){"input"===e.target.tagName.toLowerCase()&&["password","text"].indexOf(e.target.type)>=0?e.stopImmediatePropagation():e.preventDefault()}}},5358:(e,t,n)=>{"use strict";n.r(t),n.d(t,{PopupNotifier:()=>u});var s=n(7201),i=n(9491),r=n(4530),o=n(403),a=n(3297),l=n(2363),c=n(6838);const u={logger:null,init(){if(this.logger=new l.Logger("popup-notifier"),i.Launcher)window.open=c.noop;else{const e=window.open;window.open=function(...t){const n=e.apply(window,t);return n?(u.deferCheckClosed(n),s.Events.emit("popup-opened",n)):r.Alerts.alertDisplayed||r.Alerts.error({header:a.Locale.authPopupRequired,body:a.Locale.authPopupRequiredBody}),n}}},deferCheckClosed(e){setTimeout(u.checkClosed.bind(u,e),o.Timeouts.CheckWindowClosed)},checkClosed(e){if(e.closed)setTimeout(u.triggerClosed.bind(u,e),o.Timeouts.CheckWindowClosed);else{const t=u.tryGetLocationSearch(e);if(t){try{e.close()}catch(e){}return void u.triggerClosed(e,t)}u.deferCheckClosed(e)}},tryGetLocationSearch(e){try{if(e.location.host===location.host)return e.location.search}catch(e){}},triggerClosed(e,t){s.Events.emit("popup-closed",{window:e,locationSearch:t})}}},6892:(e,t,n)=>{"use strict";n.r(t),n.d(t,{SecureInput:()=>i});var s=n(3617);const i=function(){this.el=null,this.minChar=5120+Math.round(100*Math.random()),this.maxLen=1024,this.length=0,this.pseudoValue="",this.salt=new Uint32Array(0)};i.prototype.setElement=function(e){this.el=e,this.el.val(this.pseudoValue),this.el.on("input",this._input.bind(this))},i.prototype.reset=function(){if(this.el=null,this.length=0,this.pseudoValue="",this.salt)for(let e=0;e '+e.escapeExpression(r(n,"res").call(null!=t?t:e.nullContext||{},"extensionConnectUnknownActivity",{name:"res",hash:{},data:i,loc:{start:{line:4,column:23},end:{line:4,column:64}}}))+" '+(null!=(o=c(n,"res").call(a,"extensionConnectIntro",{name:"res",hash:{},fn:e.program(1,i,0,r),inverse:e.noop,data:i,blockParams:r,loc:{start:{line:2,column:3},end:{line:2,column:60}}}))?o:"")+" "+l(c(n,"res").call(a,"extensionConnectSettingsAreForSession",{name:"res",hash:{},data:i,blockParams:r,loc:{start:{line:44,column:3},end:{line:44,column:50}}}))+" '+(null!=(o=u(n,"res").call(l,"extensionNewGroupBody",{name:"res",hash:{},fn:e.program(1,i,0,r),inverse:e.noop,data:i,blockParams:r,loc:{start:{line:2,column:3},end:{line:2,column:60}}}))?o:"")+" "+c(u(n,"res").call(l,"extensionNewGroupPath",{name:"res",hash:{},data:i,blockParams:r,loc:{start:{line:3,column:3},end:{line:3,column:34}}}))+": "+c("function"==typeof(a=null!=(a=u(n,"groupPath")||(null!=t?u(t,"groupPath"):t))?a:e.hooks.helperMissing)?a.call(l,{name:"groupPath",hash:{},data:i,blockParams:r,loc:{start:{line:3,column:36},end:{line:3,column:49}}}):a)+' '+(null!=(o=h(n,"res").call(l,"extensionSaveEntryBody",{name:"res",hash:{},fn:e.program(1,i,0,r),inverse:e.noop,data:i,blockParams:r,loc:{start:{line:2,column:3},end:{line:2,column:61}}}))?o:"")+' \n\n'+u(typeof(a=null!=(a=h(n,"url")||(null!=t?h(t,"url"):t))?a:c)===d?a.call(l,{name:"url",hash:{},data:i,blockParams:r,loc:{start:{line:5,column:37},end:{line:5,column:44}}}):a)+'\n \n\n'+u(typeof(a=null!=(a=h(n,"user")||(null!=t?h(t,"user"):t))?a:c)===d?a.call(l,{name:"user",hash:{},data:i,blockParams:r,loc:{start:{line:9,column:38},end:{line:9,column:46}}}):a)+'\n \n\n\n \n\n\n \n'+(null!=(r=a(n,"res").call(o,"listEmptyAdd",{name:"res",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i,loc:{start:{line:5,column:0},end:{line:5,column:58}}}))?r:"")+"\n '+e.escapeExpression("function"==typeof(r=null!=(r=o(n,"hint")||(null!=t?o(t,"hint"):t))?r:e.hooks.helperMissing)?r.call(null!=t?t:e.nullContext||{},{name:"hint",hash:{},data:i,loc:{start:{line:14,column:35},end:{line:14,column:43}}}):r)+" \n '+e.escapeExpression(r(n,"res").call(null!=t?t:e.nullContext||{},"openChalRespLoading",{name:"res",hash:{},data:i,loc:{start:{line:5,column:56},end:{line:5,column:85}}}))+"\n \n '+e.escapeExpression("function"==typeof(o=null!=(o=l(n,"error")||(null!=t?l(t,"error"):t))?o:e.hooks.helperMissing)?o.call(a,{name:"error",hash:{},data:i,loc:{start:{line:11,column:47},end:{line:11,column:56}}}):o)+"\n "+e.escapeExpression(r(n,"res").call(null!=t?t:e.nullContext||{},"openChalRespErrorEmptyMac",{name:"res",hash:{},data:i,loc:{start:{line:14,column:3},end:{line:14,column:38}}}))+" \n'+e.escapeExpression(l(n,"res").call(a,"openChalRespSelectYubiKey",{name:"res",hash:{},data:i,blockParams:r,loc:{start:{line:20,column:0},end:{line:20,column:35}}}))+":\n '+e.escapeExpression(a(n,"res").call(o,"selectEntryFieldTouch",{name:"res",hash:{},data:i,loc:{start:{line:8,column:3},end:{line:8,column:34}}}))+" "+(null!=(r=d(n,"res").call(a,"setAboutFirst",{name:"res",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i,loc:{start:{line:3,column:3},end:{line:3,column:93}}}))?r:"")+" "+(null!=(r=d(n,"res").call(a,"setAboutSecond",{name:"res",hash:{},fn:e.program(3,i,0),inverse:e.noop,data:i,loc:{start:{line:4,column:0},end:{line:4,column:83}}}))?r:"")+"\n"+(null!=(r=d(n,"res").call(a,"setAboutSource",{name:"res",hash:{},fn:e.program(5,i,0),inverse:e.noop,data:i,loc:{start:{line:5,column:0},end:{line:5,column:122}}}))?r:"")+' '+l(d(n,"res").call(a,"setAboutBuilt",{name:"res",hash:{},data:i,loc:{start:{line:9,column:3},end:{line:9,column:26}}}))+": "+l(d(n,"res").call(a,"setAboutLicComment",{name:"res",hash:{},data:i,loc:{start:{line:64,column:3},end:{line:64,column:31}}}))+": Copyright © "+l(typeof(o=null!=(o=d(n,"year")||(null!=t?d(t,"year"):t))?o:c)===u?o.call(a,{name:"year",hash:{},data:i,loc:{start:{line:65,column:20},end:{line:65,column:28}}}):o)+' Antelle https://antelle.net Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated\ndocumentation files (the "Software"), to deal in the Software without restriction, including without limitation\nthe rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software,\nand to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO\nTHE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS\nOR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\nARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. "+l(c(n,"res").call(a,"setBrowserIntroDesktop",{name:"res",hash:{},data:i,blockParams:r,loc:{start:{line:4,column:3},end:{line:4,column:35}}}))+" KeeWeb Connect: "+l(c(n,"res").call(a,"setBrowserIntroKeeWebConnect",{name:"res",hash:{},data:i,blockParams:r,loc:{start:{line:5,column:19},end:{line:5,column:57}}}))+" KeePassXC-Browser: "+l(c(n,"res").call(a,"setBrowserIntroKeePassXcBrowser",{name:"res",hash:{},data:i,blockParams:r,loc:{start:{line:6,column:22},end:{line:6,column:63}}}))+" "+e.escapeExpression(r(n,"res").call(null!=t?t:e.nullContext||{},"setBrowserEnablePerBrowser",{name:"res",hash:{},data:i,loc:{start:{line:8,column:3},end:{line:8,column:39}}}))+" '+e.escapeExpression(r(n,"res").call(null!=t?t:e.nullContext||{},"setBrowserNotEnabled",{name:"res",hash:{},data:i,loc:{start:{line:10,column:23},end:{line:10,column:53}}}))+" "+l(c(n,"res").call(a,"setBrowserIntroWeb",{name:"res",hash:{},data:i,loc:{start:{line:63,column:3},end:{line:63,column:31}}}))+' "+e.escapeExpression(c(n,"res").call(l,"setBrowserSessionsIntro",{name:"res",hash:{},data:i,blockParams:r,loc:{start:{line:83,column:3},end:{line:83,column:36}}}))+" "+u(d(n,"res").call(l,"setBrowserSessionsConnectedDate",{name:"res",hash:{},data:i,blockParams:r,loc:{start:{line:105,column:3},end:{line:105,column:44}}}))+": "+u(c(null!=(a=r[0][0])?d(a,"connectedDate"):a,t))+" \n"+(null!=(a=d(n,"if").call(l,null!=(a=r[0][0])?d(a,"permissions"):a,{name:"if",hash:{},fn:e.program(41,i,0,r,o),inverse:e.program(43,i,0,r,o),data:i,blockParams:r,loc:{start:{line:107,column:0},end:{line:113,column:7}}}))?a:"")+" "+l(u(n,"res").call(a,"setBrowserSessionsPasswordsRead",{name:"res",hash:{},data:i,blockParams:r,loc:{start:{line:163,column:3},end:{line:163,column:44}}}))+": "+l(c(null!=(o=r[1][0])?u(o,"passwordsRead"):o,t))+" '+e.escapeExpression(r(n,"res").call(null!=t?t:e.nullContext||{},"setBrowserSessionsNoFileAccess",{name:"res",hash:{},data:i,loc:{start:{line:133,column:23},end:{line:133,column:63}}}))+" "+a(l(n,"res").call(null!=t?t:e.nullContext||{},"setBrowserSessionsPasswordsWritten",{name:"res",hash:{},data:i,loc:{start:{line:164,column:35},end:{line:164,column:79}}}))+": "+a(e.lambda(null!=(o=r[2][0])?l(o,"passwordsWritten"):o,t))+" "+e.escapeExpression(r(n,"res").call(null!=t?t:e.nullContext||{},"setBrowserSessionsEmpty",{name:"res",hash:{},data:i,loc:{start:{line:175,column:3},end:{line:175,column:36}}}))+" "+(null!=(r=l(n,"res").call(o,"setDevicesYubiKeyIntro",{name:"res",hash:{},fn:e.program(6,i,0),inverse:e.noop,data:i,loc:{start:{line:10,column:3},end:{line:10,column:132}}}))?r:"")+" "+a(l(n,"res").call(o,"setDevicesYubiKeyOtpDesc",{name:"res",hash:{},data:i,loc:{start:{line:12,column:3},end:{line:12,column:37}}}))+" \n"+(null!=(r=l(n,"res").call(o,"setDevicesYubiKeyToolsDesc",{name:"res",hash:{},fn:e.program(8,i,0),inverse:e.noop,data:i,loc:{start:{line:14,column:0},end:{line:14,column:63}}}))?r:"")+"\n"+(null!=(r=l(n,"res").call(o,"setDevicesYubiKeyToolsDesc2",{name:"res",hash:{},fn:e.program(10,i,0),inverse:e.noop,data:i,loc:{start:{line:15,column:0},end:{line:15,column:137}}}))?r:"")+"\n \n"+(null!=(r=l(n,"ifeq").call(o,null!=t?l(t,"ykmanStatus"):t,"checking",{name:"ifeq",hash:{},fn:e.program(12,i,0),inverse:e.noop,data:i,loc:{start:{line:18,column:0},end:{line:18,column:117}}}))?r:"")+"\n"+(null!=(r=l(n,"ifeq").call(o,null!=t?l(t,"ykmanStatus"):t,"ok",{name:"ifeq",hash:{},fn:e.program(14,i,0),inverse:e.noop,data:i,loc:{start:{line:19,column:0},end:{line:19,column:102}}}))?r:"")+"\n"+(null!=(r=l(n,"ifeq").call(o,null!=t?l(t,"ykmanStatus"):t,"error",{name:"ifeq",hash:{},fn:e.program(16,i,0),inverse:e.noop,data:i,loc:{start:{line:20,column:0},end:{line:20,column:108}}}))?r:"")+'\n "+a(l(n,"res").call(o,"setDevicesYubiKeyChalRespDesc",{name:"res",hash:{},data:i,loc:{start:{line:43,column:3},end:{line:43,column:42}}}))+' "+(null!=(r=c(n,"res").call(a,"setFileDeviceIntro",{name:"res",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i,loc:{start:{line:3,column:3},end:{line:3,column:59}}}))?r:"")+' "+a(l(n,"res").call(o,"setFilePath",{name:"res",hash:{},data:i,loc:{start:{line:4,column:27},end:{line:4,column:48}}}))+": "+a("function"==typeof(r=null!=(r=l(n,"path")||(null!=t?l(t,"path"):t))?r:e.hooks.helperMissing)?r.call(o,{name:"path",hash:{},data:i,loc:{start:{line:4,column:50},end:{line:4,column:58}}}):r)+" "+(null!=(r=(e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]})(n,"res").call(null!=t?t:e.nullContext||{},"setFileStorage",{name:"res",hash:{},fn:e.program(5,i,0),inverse:e.noop,data:i,loc:{start:{line:5,column:28},end:{line:5,column:76}}}))?r:"")+" "+e.escapeExpression(a(n,"res").call(o,"setFileIntl",{name:"res",hash:{},data:i,loc:{start:{line:7,column:3},end:{line:7,column:24}}}))+". "+a(l(n,"res").call(o,"setFileLocalHint",{name:"res",hash:{},data:i,loc:{start:{line:9,column:3},end:{line:9,column:29}}}))+' '+a(l(n,"res").call(o,"setFileDownloadApp",{name:"res",hash:{},data:i,loc:{start:{line:9,column:72},end:{line:9,column:100}}}))+" \n\n\n "+(null!=(r=d(n,"res").call(a,"setHelpFormatBody",{name:"res",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i,loc:{start:{line:4,column:3},end:{line:4,column:98}}}))?r:"")+" "+(null!=(r=d(n,"res").call(a,"setHelpProblems1",{name:"res",hash:{},fn:e.program(3,i,0),inverse:e.noop,data:i,loc:{start:{line:6,column:3},end:{line:6,column:109}}}))?r:"")+"\n"+(null!=(r=d(n,"res").call(a,"setHelpProblems2",{name:"res",hash:{},fn:e.program(5,i,0),inverse:e.noop,data:i,loc:{start:{line:7,column:0},end:{line:7,column:114}}}))?r:"")+".\n "+l(d(n,"res").call(a,"setHelpAppInfo",{name:"res",hash:{},data:i,loc:{start:{line:9,column:3},end:{line:9,column:27}}}))+': '+l(d(n,"res").call(a,"setHelpTwitter",{name:"res",hash:{},data:i,loc:{start:{line:29,column:3},end:{line:29,column:27}}}))+': kee_web "+a(c(n,"res").call(o,"setShGlobal",{name:"res",hash:{},data:i,loc:{start:{line:24,column:3},end:{line:24,column:24}}}))+' "+e+"
|\r|\n/g;class l extends o().Renderer{link(e,t,n){return super.link(e,t,n).replace("${i().sanitize(n,{ADD_ATTR:["target"]})}`}}}},1705:(e,t,n)=>{"use strict";n.r(t),n.d(t,{PasswordPresenter:()=>o});n(9689);var s=n(6838);class i{randomCharCode(){return 97+Math.floor(26*Math.random())}}function r(e){return Math.random()<.2?String.fromCharCode(e):`${e.toString(16)};`}const o={present:e=>new Array(e+1).join("•"),presentValueWithLineBreaks(e){if(!e)return"";let t="";return e.forEachChar((e=>{t+=10===e?"\n":"•"})),t},asDOM(e){const t=[],n=new i;let o=0;e.forEachChar((e=>{const s=r(e);if(t.push({html:s,order:o}),Math.random()>.5){const e=r(n.randomCharCode());t.push({html:e,order:-1})}o++})),(0,s.shuffle)(t);const a=document.createElement("div");a.style.display="flex",a.style.overflow="hidden",a.style.textOverflow="ellipsis";for(const e of t){const t=document.createElement("div");t.innerHTML=e.html,e.order>=0?t.style.order=e.order:t.style.display="none",a.appendChild(t)}return a}}},2378:(e,t,n)=>{"use strict";n.r(t),n.d(t,{StringFormat:()=>s});const s={camelCaseRegex:/-./g,capFirst:e=>e?e[0].toUpperCase()+e.substr(1):"",pad(e,t){let n=e.toString();for(;n.length>>=0}return t}const d={generate:function(e){const t=(e=function(e){const t={};return e=e||{},t.length=e.length||16,t.seed=e.seed||Math.random(),t.phoneticSimplicity=e.phoneticSimplicity?Math.max(e.phoneticSimplicity,1):5,t.compoundSimplicity=e.compoundSimplicity?Math.max(e.compoundSimplicity,1):5,t}(e)).length,n={numeric:u(e.seed),lastSkippedPost:!1,word:"",opts:e},s=t+5;for(;n.word.length{"use strict";n.r(t),n.d(t,{KdbxwebInit:()=>l});var s=n(3617),i=n(2363),r=n(667),o=n(3006);const a=new i.Logger("argon2"),l={init(){s.CryptoEngine.setArgon2Impl(((...e)=>this.argon2(...e)))},argon2(e,t,n,s,i,r,o,l){const c={password:e,salt:t,memory:n,iterations:s,length:i,parallelism:r,type:o,version:l};return this.loadRuntime(n).then((e=>{const t=a.ts();return e.hash(c).then((e=>(a.debug("Hash computed",a.ts(t)),e)))}))},loadRuntime(e){return this.runtimeModule?Promise.resolve(this.runtimeModule):n.g.WebAssembly?r.Features.isDesktop?(a.debug("Using native argon2"),this.runtimeModule={hash(e){const t=a.ts(),n=s.ProtectedValue.fromBinary(e.password).dataAndSalt(),i=s.ProtectedValue.fromBinary(e.salt).dataAndSalt();return o.NativeModules.argon2(n,i,{type:e.type,version:e.version,hashLength:e.length,saltLength:e.salt.length,timeCost:e.iterations,parallelism:e.parallelism,memoryCost:e.memory}).then((e=>(n.data.fill(0),i.data.fill(0),a.debug("Argon2 hash calculated",a.ts(t)),(e=new s.ProtectedValue(e.data,e.salt)).getBinary()))).catch((e=>{throw n.data.fill(0),i.data.fill(0),a.error("Argon2 error",e),e}))}},Promise.resolve(this.runtimeModule)):new Promise(((t,s)=>{const i=setTimeout((()=>s("timeout")),5e3);try{const r=a.ts(),o=n(3401).Z,c=n(3e3),u=1048576,d=65536,h=(2*(1024*(1024*u))-64*u)/1024/d,p=Math.min(Math.max(Math.ceil(1024*e/d),256)+256,h),m=`var wasmMemory=new WebAssembly.Memory({initial:${p},maximum:${h}});`,f='var Module={wasmJSMethod: "native-wasm",wasmBinary: Uint8Array.from(atob("'+c+'"), c => c.charCodeAt(0)),print(...args) { postMessage({op:"log",args}) },printErr(...args) { postMessage({op:"log",args}) },postRun:'+this.workerPostRun.toString()+",calcHash:"+this.calcHash.toString()+",wasmMemory:wasmMemory,buffer:wasmMemory.buffer,TOTAL_MEMORY:"+p*d+"}",g=o.replace(/^var Module.*?}/,m+f),A=new Blob([g],{type:"application/javascript"}),y=URL.createObjectURL(A),v=new Worker(y),b=e=>{switch(e.data.op){case"log":a.debug(...e.data.args);break;case"postRun":a.debug("WebAssembly runtime loaded (web worker)",a.ts(r)),URL.revokeObjectURL(y),clearTimeout(i),v.removeEventListener("message",b),this.runtimeModule={hash:e=>new Promise(((t,n)=>{v.postMessage(e);const s=e=>{if(v.removeEventListener("message",s),v.terminate(),l.runtimeModule=null,e.data&&!e.data.error&&e.data.hash)t(e.data.hash);else{const t=e.data&&e.data.error||"unexpected error";a.error("Worker error",t),n(t)}};v.addEventListener("message",s)}))},t(this.runtimeModule);break;default:a.error("Unknown message",e.data),URL.revokeObjectURL(y),s("Load error")}};v.addEventListener("message",b)}catch(e){s(e)}})).catch((e=>{throw a.warn("WebAssembly error",e),new Error("WebAssembly error")})):Promise.reject("WebAssembly is not supported")},workerPostRun:function(){self.postMessage({op:"postRun"}),self.onmessage=e=>{try{const t=Module.calcHash(Module,e.data);self.postMessage({hash:t})}catch(e){self.postMessage({error:e.toString()})}}},calcHash:function(e,t){let{password:n,salt:s}=t;const{memory:i,iterations:r,length:o,parallelism:a,type:l,version:c}=t,u=n.byteLength;n=e.allocate(new Uint8Array(n),"i8",e.ALLOC_NORMAL);const d=s.byteLength;s=e.allocate(new Uint8Array(s),"i8",e.ALLOC_NORMAL);const h=e.allocate(new Array(o),"i8",e.ALLOC_NORMAL),p=e.allocate(new Array(512),"i8",e.ALLOC_NORMAL),m=e._argon2_hash(r,i,a,n,u,s,d,h,o,p,512,l,c);if(m)throw new Error("Argon2 error "+m);const f=new Uint8Array(o);for(let t=0;t
")}}},2836:(e,t,n)=>{"use strict";n.r(t),n.d(t,{FieldViewSelect:()=>r});var s=n(4707),i=n(6838);class r extends s.FieldView{constructor(...e){super(...e),this.readonly=!0}renderValue(e){return""}render(){super.render(),this.valueEl.addClass("details__field-value--select"),this.valueEl.find("select:first").change((e=>{this.triggerChange({val:e.target.value,field:this.model.name})}))}fieldLabelClick(){}fieldValueClick(){}edit(){}startEdit(){}endEdit(e,t){this.editing&&(delete this.input,super.endEdit(e,t))}}},3033:(e,t,n)=>{"use strict";n.r(t),n.d(t,{FieldViewTags:()=>l});var s=n(1297),i=n(6838),r=n(4405),o=n.n(r),a=n(6718);class l extends s.FieldViewText{constructor(...e){super(...e),this.hasOptions=!1}renderValue(e){return e?(0,i.escape)(e.join(", ")):""}getEditValue(e){return e?e.join(", "):""}getTextValue(){return this.value?this.value.join(", "):""}valueToTags(e){const t={};this.model.tags.forEach((e=>{t[e.toLowerCase()]=e}));const n={};return e.split(/\s*[;,:]\s*/).filter((e=>e)).map((e=>t[e.toLowerCase()]||e)).forEach((e=>{n[e]=e})),Object.keys(n)}endEdit(e,t){void 0!==e&&(e=this.valueToTags(e)),this.tagsAutocomplete&&(this.tagsAutocomplete.remove(),this.tagsAutocomplete=null),super.endEdit(e,t)}startEdit(){super.startEdit();const e=this.input[0].getBoundingClientRect(),t=parseInt(this.input.css("--focus-shadow-spread"))||0;this.tagsAutocomplete=a('').appendTo("body"),this.tagsAutocomplete.css({top:e.bottom+t,left:e.left,width:e.width-2}),this.tagsAutocomplete.mousedown(this.tagsAutocompleteClick.bind(this)),this.setTags()}fieldValueInput(e){e.stopPropagation(),this.setTags(),super.fieldValueInput(e)}getAvailableTags(){const e=this.valueToTags(this.input.val()),t=e[e.length-1],n=t&&this.model.tags.indexOf(t)<0;return this.model.tags.filter((s=>e.indexOf(s)<0&&(!n||s.toLowerCase().indexOf(t.toLowerCase())>=0)))}setTags(){const e=this.getAvailableTags(),t=o()({tags:e});this.tagsAutocomplete.html(t),this.tagsAutocomplete.toggle(!!t)}tagsAutocompleteClick(e){if(e.stopPropagation(),e.target.classList.contains("details__field-autocomplete-item")){const t=a(e.target).text();let n=this.input.val();if(n){const e=this.valueToTags(n),s=e[e.length-1];s&&this.model.tags.indexOf(s)<0?n=n.substr(0,n.lastIndexOf(s))+t:n+=", "+t}else n=t;this.input.val(n),this.input.focus(),this.setTags()}this.afterPaint((()=>{this.input.focus()}))}}},1297:(e,t,n)=>{"use strict";n.r(t),n.d(t,{FieldViewText:()=>g});var s=n(3617),i=n(7201),r=n(1164),o=n(2977),a=n(667),l=n(8134),c=n(1705),u=n(3710),d=n(4707),h=n(1473),p=n(6838),m=n(7614),f=n(6718);class g extends d.FieldView{constructor(e,t){super(e,t),this.hasOptions=!0,this.once("remove",(()=>this.stopBlurListener()))}renderValue(e){if(this.model.markdown&&m.AppSettingsModel.useMarkdown){e&&e.isProtected&&(e=e.getText());const t=l.MdToHtml.convert(e);if(t.html)return t.html;e=t.text}return e&&e.isProtected?c.PasswordPresenter.presentValueWithLineBreaks(e):(0,p.escape)(e||"").replace(/\n/g,"
")}getEditValue(e){return e&&e.isProtected?e.getText():e||""}startEdit(){const e=this.getEditValue(this.value),t=!(!this.value||!this.value.isProtected);this.$el.toggleClass("details__field--protected",t),this.input=f(document.createElement(this.model.multiline?"textarea":"input")),this.valueEl.empty().append(this.input),this.input.attr({autocomplete:"off",spellcheck:"false"}).val(e).focus()[0].setSelectionRange(e.length,e.length),this.input.bind({input:this.fieldValueInput.bind(this),keydown:this.fieldValueKeydown.bind(this),keypress:this.fieldValueInput.bind(this),click:this.fieldValueInputClick.bind(this),mousedown:this.fieldValueInputMouseDown.bind(this)});const n=e=>this.fieldValueBlur(e);i.Events.on("click",n),this.stopBlurListener=()=>i.Events.off("click",n),this.listenTo(i.Events,"main-window-will-close",this.externalEndEdit),this.listenTo(i.Events,"before-user-idle",this.externalEndEdit),this.model.multiline&&this.setInputHeight(),a.Features.isMobile?this.createMobileControls():this.model.canGen&&f("").addClass("details__field-value-btn details__field-value-btn-gen").appendTo(this.valueEl).click(this.showGeneratorClick.bind(this)).mousedown(this.showGenerator.bind(this)),u.Tip.hideTip(this.valueEl[0]),u.Tip.hideTip(this.labelEl[0])}createMobileControls(){this.mobileControls={},["cancel","apply"].forEach((e=>{this.mobileControls[e]=f("").addClass("details__field-value-btn details__field-value-btn-"+e).appendTo(this.labelEl).data("action",e).on({mousedown:this.mobileFieldControlMouseDown.bind(this),touchstart:this.mobileFieldControlTouchStart.bind(this),touchend:this.mobileFieldControlTouchEnd.bind(this),touchmove:this.mobileFieldControlTouchMove.bind(this)})}))}showGeneratorClick(e){e.stopPropagation(),this.gen||this.input.focus()}showGenerator(){if(this.gen)this.hideGenerator();else{const e=this.input[0].getBoundingClientRect(),t=parseInt(this.input.css("--focus-shadow-spread"))||0,n={left:e.left},s=e.bottom+t,i=document.documentElement.clientHeight;s>i/2&&s>200?n.bottom=i-e.top+t:n.top=s,this.gen=new h.GeneratorView({pos:n,password:this.value}),this.gen.render(),this.gen.once("remove",this.generatorClosed.bind(this)),this.gen.once("result",this.generatorResult.bind(this))}}hideGenerator(){if(this.gen){const e=this.gen;delete this.gen,e.remove()}}generatorClosed(){this.gen&&(delete this.gen,this.endEdit())}generatorResult(e){this.gen&&(delete this.gen,this.endEdit(e))}setInputHeight(){this.input.height(18);let e=this.input[0].scrollHeight;e<=18&&(e=18),this.input.height(e)}fieldValueBlur(){!this.gen&&this.input&&this.endEdit(this.input.val())}fieldValueInput(e){e.stopPropagation(),this.model.multiline&&this.setInputHeight()}fieldValueInputClick(){this.gen&&this.hideGenerator()}fieldValueInputMouseDown(e){e.stopPropagation()}fieldValueKeydown(e){r.KeyHandler.reg();const t=e.keyCode||e.which;if(t===o.Keys.DOM_VK_RETURN){if(!this.model.multiline||!e.altKey&&!e.shiftKey&&!e.ctrlKey){if(this.gen)return e.target.value=this.gen.password,void this.hideGenerator();this.stopBlurListener(),this.endEdit(e.target.value)}}else if(t===o.Keys.DOM_VK_ESCAPE)this.stopBlurListener(),this.endEdit();else if(t===o.Keys.DOM_VK_TAB)e.preventDefault(),this.stopBlurListener(),this.endEdit(e.target.value,{tab:{field:this.model.name,prev:e.shiftKey}});else if(t===o.Keys.DOM_VK_G&&e.metaKey)e.preventDefault(),this.showGenerator();else if(t===o.Keys.DOM_VK_S&&(e.metaKey||e.ctrlKey))return this.stopBlurListener(),void this.endEdit(e.target.value);e.stopPropagation()}externalEndEdit(){this.input&&this.endEdit(this.input.val())}endEdit(e,t){this.gen&&this.hideGenerator(),this.editing&&(delete this.input,this.mobileControls&&(this.mobileControls.cancel.remove(),this.mobileControls.apply.remove(),delete this.mobileControls),this.stopBlurListener(),"string"==typeof e&&this.value instanceof s.ProtectedValue&&(e=s.ProtectedValue.fromString(e)),"string"==typeof e&&(e=f.trim(e)),super.endEdit(e,t))}stopBlurListener(){}mobileFieldControlMouseDown(e){e.stopPropagation(),this.stopBlurListener();"apply"===f(e.target).data("action")?this.endEdit(this.input.val()):this.endEdit()}mobileFieldControlTouchStart(e){this.$el.attr("active-mobile-action",f(e.target).data("action"))}mobileFieldControlTouchEnd(e){const t=this.$el.attr("active-mobile-action")===f(e.target).data("action");this.$el.removeAttr("active-mobile-action"),t&&this.mobileFieldControlMouseDown(e)}mobileFieldControlTouchMove(e){const t=e.originalEvent.targetTouches[0],n=t.target.getBoundingClientRect();t.clientX>=n.left&&t.clientX<=n.right&&t.clientY>=n.top&&t.clientY<=n.bottom?this.$el.attr("active-mobile-action",f(e.target).data("action")):this.$el.removeAttr("active-mobile-action")}}},1960:(e,t,n)=>{"use strict";n.r(t),n.d(t,{FieldViewUrl:()=>o});var s=n(1297),i=n(6838);const r=["http:","https:","ftp:","ftps:","mailto:"];class o extends s.FieldViewText{constructor(...e){super(...e),this.displayUrlRegex=/^https:\/\//i,this.cssClass="url"}renderValue(e){try{return e?''+(0,i.escape)(this.displayUrl(e))+"":""}catch(t){return(0,i.escape)(e)}}fixUrl(e){const t=new URL(e,"ws://x").protocol;if("ws:"===t)return"https://"+e;if(!r.includes(t))throw new Error("Bad url");return e}displayUrl(e){return e.replace(this.displayUrlRegex,"")}getTextValue(){return this.value}}},4707:(e,t,n)=>{"use strict";n.r(t),n.d(t,{FieldView:()=>v});var s=n(3617),i=n(7779),r=n(7201),o=n(5933),a=n(3710),l=n(6838),c=n(667),u=n(3297),d=n(3898),h=n(1705),p=n(1434),m=n(7614),f=n(403),g=n(5037),A=n.n(g),y=n(6718);class v extends i.View{constructor(e,t){super(e,t),this.template=A(),this.events={"click .details__field-label":"fieldLabelClick","dblclick .details__field-label":"fieldLabelDblClick","click .details__field-value":"fieldValueClick","dragstart .details__field-label":"fieldLabelDrag","click .details__field-options":"fieldOptionsClick"},this.once("remove",(()=>{this.tip&&a.Tip.hideTip(this.valueEl[0])})),c.Features.isMobile&&this.listenTo(r.Events,"click",this.bodyClick)}render(){this.value="function"==typeof this.model.value?this.model.value():this.model.value;const e=this.renderValue(this.value);super.render({cls:this.cssClass,editable:!this.readonly,multiline:this.model.multiline,title:this.model.title,canEditTitle:this.model.newField,canGen:this.model.canGen,protect:this.value&&this.value.isProtected,hasOptions:!c.Features.isMobile&&e&&this.hasOptions}),this.valueEl=this.$el.find(".details__field-value"),this.valueEl.html(e),this.labelEl=this.$el.find(".details__field-label"),this.model.tip&&(this.tip="function"==typeof this.model.tip?this.model.tip():this.model.tip,this.tip&&(this.valueEl.attr("title",this.tip),a.Tip.createTip(this.valueEl[0])))}update(){if("function"==typeof this.model.value){const e=this.model.value();(!(0,l.isEqual)(e,this.value)||this.value&&e&&this.value.toString()!==e.toString())&&this.render()}}fieldLabelClick(e){if(e.stopImmediatePropagation(),this.hideOptionsDropdown(),!this.preventCopy)if(d.AutoType.enabled&&m.AppSettingsModel.fieldLabelDblClickAutoType){if(this.fieldLabelClickTimer)return clearTimeout(this.fieldLabelClickTimer),this.fieldLabelClickTimer=null,void this.emit("autotype",{source:this});this.fieldLabelClickTimer=setTimeout((()=>{this.copyValue(),this.fieldLabelClickTimer=null}),f.Timeouts.FieldLabelDoubleClick)}else this.copyValue()}copyValue(){let e;if(this.model.name){const t=this.getTextValue();if(!t)return;return o.CopyPaste.simpleCopy||o.CopyPaste.createHiddenInput(t),e=o.CopyPaste.copy(t),void this.emit("copy",{source:this,copyRes:e})}if(!this.value)return;const t=window.getSelection(),n=document.createRange();n.selectNodeContents(this.valueEl[0]),t.removeAllRanges(),t.addRange(n),e=o.CopyPaste.copy(this.valueEl[0].innerText||this.valueEl.text()),e&&(t.removeAllRanges(),this.emit("copy",{source:this,copyRes:e}))}fieldValueClick(e){if(this.hideOptionsDropdown(),["a","input","textarea"].indexOf(e.target.tagName.toLowerCase())>=0)return;window.getSelection().toString()||(c.Features.isMobile?(e.stopPropagation(),this.showMobileActions()):this.edit())}fieldLabelDrag(e){if(e.stopPropagation(),this.hideOptionsDropdown(),!this.value)return;const t=e.dataTransfer,n=this.getTextValue();"a"===this.valueEl[0].tagName.toLowerCase()&&t.setData("text/uri-list",n),t.setData("text/plain",n),t.effectAllowed="copy"}edit(){this.readonly||this.editing||(this.valueEl.removeClass("details__field-value--revealed"),this.$el.addClass("details__field--edit"),this.startEdit(),this.editing=!0,this.preventCopy=!0,this.labelEl[0].setAttribute("draggable","false"))}endEdit(e,t){var n;if(!this.editing)return;let s;this.editing=!1,setTimeout((()=>{this.preventCopy=!1}),300),s=this.value&&this.value.isProtected?this.value.equals(e):e&&e.isProtected?e.equals(this.value):e instanceof Date&&this.value instanceof Date?e.toDateString()===this.value.toDateString():(0,l.isEqual)(this.value,e);const i=(e&&e.isProtected)===(this.value&&this.value.isProtected);var r;null!==(n=t)&&void 0!==n&&n.newField||!this.model.newField||(null!==(r=t)&&void 0!==r||(t={}),t.newField=this.model.newField);const o=t&&t.newField;let a;void 0===e||s&&i&&!o?t&&(a=t):(a={val:e,field:this.model.name},t&&Object.assign(a,t)),a&&this.triggerChange(a),this.valueEl.removeClass("details__field-value--revealed").html(this.renderValue(this.value)),this.$el.removeClass("details__field--edit"),this.labelEl[0].setAttribute("draggable","true")}triggerChange(e){e.sender=this,this.emit("change",e)}fieldOptionsClick(e){if(this.views.optionsDropdown)return void this.hideOptionsDropdown();e.stopPropagation();const t=new p.DropdownView;this.listenTo(t,"cancel",this.hideOptionsDropdown),this.listenTo(t,"select",this.optionsDropdownSelect);const n=[];n.push({value:"copy",icon:"copy",text:u.Locale.alertCopy}),this.value instanceof s.ProtectedValue&&(this.valueEl.hasClass("details__field-value--revealed")?n.push({value:"hide",icon:"eye-slash",text:u.Locale.detHideField}):n.push({value:"reveal",icon:"eye",text:u.Locale.detRevealField})),d.AutoType.enabled&&this.model.sequence&&n.push({value:"autotype",icon:"keyboard",text:u.Locale.detAutoTypeField});const i=this.$el[0].getBoundingClientRect(),r={top:i.bottom,right:i.right};t.render({position:r,options:n}),this.views.optionsDropdown=t}hideOptionsDropdown(){this.views.optionsDropdown&&(this.views.optionsDropdown.remove(),delete this.views.optionsDropdown)}optionsDropdownSelect(e){switch(this.hideOptionsDropdown(),e.item){case"copy":this.copyValue();break;case"reveal":this.revealValue();break;case"hide":this.hideValue();break;case"autotype":this.emit("autotype",{source:this})}}revealValue(){const e=h.PasswordPresenter.asDOM(this.value);this.valueEl.addClass("details__field-value--revealed").empty(),this.valueEl.append(e)}hideValue(){this.valueEl.removeClass("details__field-value--revealed").html(this.renderValue(this.value))}bodyClick(e){this.mobileActionsEl&&(this.valueEl[0].contains(e.target)||this.mobileActionsEl[0].contains(e.target)||(this.mobileActionsEl.remove(),delete this.mobileActionsEl))}showMobileActions(){if(this.readonly)return;if(this.mobileActionsEl)return this.mobileActionsEl.remove(),void delete this.mobileActionsEl;const e=this.valueEl.position().left,t=this.$el.width()-e,n=this.valueEl.height(),i=y("").addClass("details__field-mobile-actions").appendTo(this.$el).css({left:e,top:n,width:t}),r=[];this.value&&r.push({name:"copy",icon:"copy"}),r.push({name:"edit",icon:"pencil-alt"}),this.value instanceof s.ProtectedValue&&r.push({name:"reveal",icon:"eye"}),this.model.canGen&&r.push({name:"generate",icon:"bolt"});for(const e of r)y("").addClass(`details__field-mobile-action fa fa-${e.icon}`).appendTo(i).click((()=>this.doMobileAction(e.name)));this.mobileActionsEl=i}doMobileAction(e){switch(this.mobileActionsEl.remove(),delete this.mobileActionsEl,e){case"copy":this.copyValue();break;case"edit":this.edit();break;case"reveal":this.revealValue();break;case"generate":this.edit(),setTimeout((()=>this.showGenerator()),0)}}getTextValue(){return this.value?this.value.isProtected?this.value.getText():this.value:""}}},5249:(e,t,n)=>{"use strict";n.r(t),n.d(t,{FooterView:()=>h});var s=n(7779),i=n(7201),r=n(1164),o=n(2977),a=n(2706),l=n(1473),c=n(5386),u=n.n(c),d=n(6718);class h extends s.View{constructor(e,t){super(e,t),this.parent=".app__footer",this.template=u(),this.events={"click .footer__db-item":"showFile","click .footer__db-open":"openFile","click .footer__btn-help":"toggleHelp","click .footer__btn-settings":"toggleSettings","click .footer__btn-generate":"genPass","click .footer__btn-lock":"lockWorkspace"},this.onKey(o.Keys.DOM_VK_L,this.lockWorkspace,r.KeyHandler.SHORTCUT_ACTION,!1,!0),this.onKey(o.Keys.DOM_VK_G,this.genPass,r.KeyHandler.SHORTCUT_ACTION),this.onKey(o.Keys.DOM_VK_O,this.openFile,r.KeyHandler.SHORTCUT_ACTION),this.onKey(o.Keys.DOM_VK_S,this.saveAll,r.KeyHandler.SHORTCUT_ACTION),this.onKey(o.Keys.DOM_VK_COMMA,this.toggleSettings,r.KeyHandler.SHORTCUT_ACTION),this.listenTo(this,"hide",this.viewHidden),this.listenTo(this.model.files,"change",this.render),this.listenTo(i.Events,"file-changed",this.render),this.listenTo(i.Events,"set-locale",this.render),this.listenTo(a.UpdateModel,"change:updateStatus",this.render)}render(){super.render({files:this.model.files,updateAvailable:["ready","found"].indexOf(a.UpdateModel.updateStatus)>=0})}viewHidden(){this.views.gen&&(this.views.gen.remove(),delete this.views.gen)}lockWorkspace(e){this.model.files.hasOpenFiles()&&(e.preventDefault(),i.Events.emit("lock-workspace"))}genPass(e){if(e.stopPropagation(),this.views.gen)return void this.views.gen.remove();const t=this.$el.find(".footer__btn-generate")[0].getBoundingClientRect(),n=document.body.getBoundingClientRect(),s=n.right-t.right,i=n.bottom-t.top,r=new l.GeneratorView({copy:!0,pos:{right:s,bottom:i}});r.render(),r.once("remove",(()=>{delete this.views.gen})),this.views.gen=r}showFile(e){const t=d(e.target).closest(".footer__db-item").data("file-id");t&&i.Events.emit("show-file",{fileId:t})}openFile(){i.Events.emit("open-file")}saveAll(){i.Events.emit("save-all")}toggleHelp(){i.Events.emit("toggle-settings","help")}toggleSettings(){i.Events.emit("toggle-settings","general")}}},7953:(e,t,n)=>{"use strict";n.r(t),n.d(t,{GeneratorPresetsView:()=>h});var s=n(7201),i=n(7779),r=n(1622),o=n(4486),a=n(3297),l=n(7015),c=n(923),u=n.n(c),d=n(6718);class h extends i.View{constructor(...e){super(...e),this.parent=".app__panel",this.template=u(),this.events={"click .back-button":"returnToApp","change .gen-ps__list":"changePreset","click .gen-ps__btn-create":"createPreset","click .gen-ps__btn-delete":"deletePreset","click .info-btn--pattern":"togglePatternHelp","input #gen-ps__field-title":"changeTitle","change #gen-ps__check-enabled":"changeEnabled","change #gen-ps__check-default":"changeDefault","input #gen-ps__field-length":"changeLength","change .gen-ps__check-range":"changeRange","input #gen-ps__field-include":"changeInclude","input #gen-ps__field-pattern":"changePattern"},this.selected=null,this.reservedTitles=[a.Locale.genPresetDerived]}render(){this.presets=r.GeneratorPresets.all,this.selected&&this.presets.some((e=>e.name===this.selected))||(this.selected=(this.presets.filter((e=>e.default))[0]||this.presets[0]).name),super.render({presets:this.presets,selected:this.getPreset(this.selected),ranges:this.getSelectedRanges()}),this.createScroll({root:this.$el.find(".gen-ps")[0],scroller:this.$el.find(".scroller")[0],bar:this.$el.find(".scroller__bar")[0]}),this.renderExample()}renderExample(){const e=this.getPreset(this.selected),t=o.PasswordGenerator.generate(e);this.$el.find(".gen-ps__example").text(t),this.pageResized()}getSelectedRanges(){const e=this.getPreset(this.selected),t={high:"¡¢£¤¥¦§©ª«¬®¯°±¹²´µ¶»¼÷¿ÀÖîü..."};return["Upper","Lower","Digits","Special","Brackets","High","Ambiguous"].map((n=>{const s=n.toLowerCase();return{name:s,title:a.Locale["genPs"+n],enabled:e[s],sample:t[s]||o.CharRanges[s]}}))}getPreset(e){return this.presets.filter((t=>t.name===e))[0]}returnToApp(){s.Events.emit("edit-generator-presets")}changePreset(e){this.selected=e.target.value,this.render()}createPreset(){let e,t;for(let n=1;;n++){const s="Custom"+n,i=a.Locale.genPsNew+" "+n;if(!this.presets.filter((e=>e.name===s||e.title===i)).length){e=s,t=i;break}}const n=this.getPreset(this.selected),s={name:e,title:t,length:n.length,upper:n.upper,lower:n.lower,digits:n.digits,special:n.special,brackets:n.brackets,ambiguous:n.ambiguous,include:n.include};r.GeneratorPresets.add(s),this.selected=e,this.render()}deletePreset(){r.GeneratorPresets.remove(this.selected),this.render()}togglePatternHelp(){this.$el.find(".gen-ps__pattern-help").toggleClass("hide")}changeTitle(e){const t=d.trim(e.target.value);if(t&&t!==this.getPreset(this.selected).title){let n=this.presets.some((e=>e.title.toLowerCase()===t.toLowerCase()));if(n||(n=this.reservedTitles.some((e=>e.toLowerCase()===t.toLowerCase()))),n)return void d(e.target).addClass("input--error");d(e.target).removeClass("input--error"),r.GeneratorPresets.setPreset(this.selected,{title:t}),this.$el.find(".gen-ps__list option[selected]").text(t)}}changeEnabled(e){const t=e.target.checked;r.GeneratorPresets.setDisabled(this.selected,!t)}changeDefault(e){const t=e.target.checked;r.GeneratorPresets.setDefault(t?this.selected:null)}changeLength(e){const t=+e.target.value;t>0?(r.GeneratorPresets.setPreset(this.selected,{length:t}),d(e.target).removeClass("input--error")):d(e.target).addClass("input--error"),this.presets=r.GeneratorPresets.all,this.renderExample()}changeRange(e){const t=e.target.checked,n=e.target.dataset.range;r.GeneratorPresets.setPreset(this.selected,{[n]:t}),this.presets=r.GeneratorPresets.all,this.renderExample()}changeInclude(e){const t=e.target.value;t!==this.getPreset(this.selected).include&&r.GeneratorPresets.setPreset(this.selected,{include:t}),this.presets=r.GeneratorPresets.all,this.renderExample()}changePattern(e){const t=e.target.value;t!==this.getPreset(this.selected).pattern&&r.GeneratorPresets.setPreset(this.selected,{pattern:t}),this.presets=r.GeneratorPresets.all,this.renderExample()}}Object.assign(h.prototype,l.Scrollable)},1473:(e,t,n)=>{"use strict";n.r(t),n.d(t,{GeneratorView:()=>f});var s=n(7779),i=n(7201),r=n(1622),o=n(5933),a=n(7614),l=n(4486),c=n(1705),u=n(3297),d=n(3710),h=n(2955),p=n.n(h),m=n(6718);class f extends s.View{constructor(e){super(e),this.parent="body",this.template=p(),this.events={click:"click","mousedown .gen__length-range":"generate","input .gen__length-range":"lengthChange","change .gen__length-range":"lengthChange","change .gen__check input[type=checkbox]":"checkChange","change .gen__check-hide":"hideChange","click .gen__btn-ok":"btnOkClick","change .gen__sel-tpl":"presetChange","click .gen__btn-refresh":"newPass"},this.valuesMap=[3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,22,24,26,28,30,32,48,64],this.presets=null,this.preset=null,this.createPresets();const t=this.preset;this.gen=Object.assign({},this.presets.find((e=>e.name===t))),this.hide=a.AppSettingsModel.generatorHidePassword,m("body").one("click",this.remove.bind(this)),this.listenTo(i.Events,"lock-workspace",this.remove.bind(this))}render(){const e=document.queryCommandSupported("copy"),t=this.model.copy?e?u.Locale.alertCopy:u.Locale.alertClose:u.Locale.alertOk;super.render({btnTitle:t,showToggleButton:this.model.copy,opt:this.gen,hide:this.hide,presets:this.presets,preset:this.preset,showTemplateEditor:!this.model.noTemplateEditor}),this.resultEl=this.$el.find(".gen__result"),this.$el.css(this.model.pos),this.generate()}createPresets(){if(this.presets=r.GeneratorPresets.enabled,!this.model.password||this.model.password.isProtected&&!this.model.password.byteLength){const e=this.presets.filter((e=>e.default))[0]||this.presets[0];this.preset=e.name}else{const e={name:"Derived",title:u.Locale.genPresetDerived};Object.assign(e,l.PasswordGenerator.deriveOpts(this.model.password)),this.presets.splice(0,0,e),this.preset="Derived"}this.presets.forEach((e=>{e.pseudoLength=this.lengthToPseudoValue(e.length)}))}lengthToPseudoValue(e){for(let t=0;t'+e.escapeExpression(r(n,"res").call(null!=t?t:e.nullContext||{},"detEmpty",{name:"res",hash:{},data:i,loc:{start:{line:2,column:31},end:{line:2,column:49}}}))+"
\n'+e.escapeExpression(r(n,"res").call(null!=t?t:e.nullContext||{},"detGroupRestore",{name:"res",hash:{},data:i,loc:{start:{line:2,column:31},end:{line:2,column:56}}}))+'
\n'+(null!=(o=c(n,"if").call(a,null!=t?c(t,"title"):t,{name:"if",hash:{},fn:e.program(5,i,0,r),inverse:e.program(7,i,0,r),data:i,blockParams:r,loc:{start:{line:22,column:34},end:{line:22,column:81}}}))?o:"")+"
\n"+(null!=(o=c(n,"if").call(a,null!=t?c(t,"customIcon"):t,{name:"if",hash:{},fn:e.program(9,i,0,r),inverse:e.program(12,i,0,r),data:i,blockParams:r,loc:{start:{line:23,column:0},end:{line:33,column:7}}}))?o:"")+''+l(c(n,"res").call(a,"detDropAttachments",{name:"res",hash:{},data:i,blockParams:r,loc:{start:{line:73,column:49},end:{line:73,column:77}}}))+"
\n'+u(typeof(o=null!=(o=d(n,"name")||(null!=t?d(t,"name"):t))?o:l)===c?o.call(a,{name:"name",hash:{},data:i,loc:{start:{line:38,column:4},end:{line:38,column:12}}}):o)+"
\n"+u(d(n,"res").call(a,"exportFileInfo",{name:"res",hash:{},data:i,loc:{start:{line:39,column:4},end:{line:39,column:28}}}))+"
\n\n
\n\n \n"+u(d(n,"res").call(a,"exportHtmlName",{name:"res",hash:{},data:i,loc:{start:{line:42,column:4},end:{line:42,column:28}}}))+" \n"+u(typeof(o=null!=(o=d(n,"name")||(null!=t?d(t,"name"):t))?o:l)===c?o.call(a,{name:"name",hash:{},data:i,loc:{start:{line:43,column:4},end:{line:43,column:12}}}):o)+" \n\n \n"+u(d(n,"res").call(a,"exportHtmlDate",{name:"res",hash:{},data:i,loc:{start:{line:46,column:4},end:{line:46,column:28}}}))+" \n"+u(typeof(o=null!=(o=d(n,"date")||(null!=t?d(t,"date"):t))?o:l)===c?o.call(a,{name:"date",hash:{},data:i,loc:{start:{line:47,column:4},end:{line:47,column:12}}}):o)+" \n\n \n"+u(d(n,"res").call(a,"exportGenerator",{name:"res",hash:{},data:i,loc:{start:{line:50,column:4},end:{line:50,column:29}}}))+" \nKeeWeb v"+u(typeof(o=null!=(o=d(n,"appVersion")||(null!=t?d(t,"appVersion"):t))?o:l)===c?o.call(a,{name:"appVersion",hash:{},data:i,loc:{start:{line:51,column:12},end:{line:51,column:26}}}):o)+" \n"+u(d(n,"res").call(a,"exportEntries",{name:"res",hash:{},data:i,loc:{start:{line:54,column:4},end:{line:54,column:27}}}))+"
\n\n \n"},6:function(e,t,n,s,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return""+e.escapeExpression(e.lambda(null!=(o=r[0][0])?a(o,"title"):o,t))+' \n'+(null!=(o=a(n,"if").call(null!=t?t:e.nullContext||{},null!=(o=r[0][0])?a(o,"protect"):o,{name:"if",hash:{},fn:e.program(6,i,0,r),inverse:e.program(8,i,0,r),data:i,blockParams:r,loc:{start:{line:9,column:0},end:{line:13,column:9}}}))?o:"")+" \n"+e.escapeExpression(e.lambda(null!=(o=r[1][0])?a(o,"value"):o,t))+"
"},8:function(e,t,n,s,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression(e.lambda(null!=(o=r[1][0])?a(o,"value"):o,t))},10:function(e,t,n,s,i){var r,o=null!=t?t:e.nullContext||{},a=e.hooks.helperMissing,l=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"\n \n"},12:function(e,t,n,s,i){var r,o=null!=t?t:e.nullContext||{},a=e.hooks.helperMissing,l=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return""+l((c(n,"Res")||t&&c(t,"Res")||a).call(o,"tags",{name:"Res",hash:{},data:i,loc:{start:{line:19,column:4},end:{line:19,column:18}}}))+" \n"+l("function"==typeof(r=null!=(r=c(n,"tags")||(null!=t?c(t,"tags"):t))?r:a)?r.call(o,{name:"tags",hash:{},data:i,loc:{start:{line:20,column:4},end:{line:20,column:12}}}):r)+" \n\n \n"},14:function(e,t,n,s,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=a(n,"if").call(null!=t?t:e.nullContext||{},null!=(o=null!=t?a(t,"attachments"):t)?a(o,"length"):o,{name:"if",hash:{},fn:e.program(15,i,0,r),inverse:e.noop,data:i,blockParams:r,loc:{start:{line:30,column:0},end:{line:40,column:7}}}))?o:""},15:function(e,t,n,s,i,r){var o,a=null!=t?t:e.nullContext||{},l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return""+l((c(n,"Res")||t&&c(t,"Res")||a).call(o,"group",{name:"Res",hash:{},data:i,loc:{start:{line:25,column:4},end:{line:25,column:19}}}))+" \n"+l("function"==typeof(r=null!=(r=c(n,"path")||(null!=t?c(t,"path"):t))?r:a)?r.call(o,{name:"path",hash:{},data:i,loc:{start:{line:26,column:4},end:{line:26,column:12}}}):r)+" \n\n \n"},16:function(e,t,n,s,i,r){var o,a=e.lambda,l=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return''+l(a(null!=(o=r[0][0])?c(o,"name"):o,t))+""+(null!=(o=c(n,"unless").call(null!=t?t:e.nullContext||{},i&&c(i,"last"),{name:"unless",hash:{},fn:e.program(17,i,0,r),inverse:e.noop,data:i,blockParams:r,loc:{start:{line:36,column:0},end:{line:36,column:36}}}))?o:"")+"\n"},17:function(e,t,n,s,i){return", "},19:function(e,t,n,s,i){var r,o=null!=t?t:e.nullContext||{},a=e.escapeExpression,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return""+e.escapeExpression(l(n,"res").call(a,"detAttachments",{name:"res",hash:{},data:i,blockParams:r,loc:{start:{line:32,column:4},end:{line:32,column:28}}}))+" \n\n"+(null!=(o=l(n,"each").call(a,null!=t?l(t,"attachments"):t,{name:"each",hash:{},fn:e.program(16,i,1,r),inverse:e.noop,data:i,blockParams:r,loc:{start:{line:34,column:0},end:{line:37,column:9}}}))?o:"")+" \n\n \n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,s,i,r){var o,a,l=null!=t?t:e.nullContext||{},c=e.escapeExpression,u=e.hooks.helperMissing,d="function",h=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return""+a(l(n,"res").call(o,"detExpires",{name:"res",hash:{},data:i,loc:{start:{line:52,column:4},end:{line:52,column:24}}}))+" \n"+a("function"==typeof(r=null!=(r=l(n,"expires")||(null!=t?l(t,"expires"):t))?r:e.hooks.helperMissing)?r.call(o,{name:"expires",hash:{},data:i,loc:{start:{line:53,column:4},end:{line:53,column:15}}}):r)+" \n\n"+(null!=(o=h(n,"if").call(l,null!=t?h(t,"title"):t,{name:"if",hash:{},fn:e.program(1,i,0,r),inverse:e.program(3,i,0,r),data:i,blockParams:r,loc:{start:{line:2,column:0},end:{line:2,column:56}}}))?o:"")+"\n
\n\n"+(null!=(o=h(n,"each").call(l,null!=t?h(t,"fields"):t,{name:"each",hash:{},fn:e.program(5,i,1,r),inverse:e.noop,data:i,blockParams:r,loc:{start:{line:5,column:0},end:{line:16,column:9}}}))?o:"")+(null!=(o=h(n,"if").call(l,null!=t?h(t,"tags"):t,{name:"if",hash:{},fn:e.program(10,i,0,r),inverse:e.noop,data:i,blockParams:r,loc:{start:{line:17,column:0},end:{line:22,column:7}}}))?o:"")+(null!=(o=h(n,"if").call(l,null!=t?h(t,"path"):t,{name:"if",hash:{},fn:e.program(12,i,0,r),inverse:e.noop,data:i,blockParams:r,loc:{start:{line:23,column:0},end:{line:28,column:7}}}))?o:"")+(null!=(o=h(n,"if").call(l,null!=t?h(t,"attachments"):t,{name:"if",hash:{},fn:e.program(14,i,0,r),inverse:e.noop,data:i,blockParams:r,loc:{start:{line:29,column:0},end:{line:41,column:7}}}))?o:"")+"
\n"},useData:!0,useBlockParams:!0})},1388:(e,t,n)=>{var s=n(7109);e.exports=(s.default||s).template({1:function(e,t,n,s,i){var r,o=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression("function"==typeof(r=null!=(r=o(n,"extensionName")||(null!=t?o(t,"extensionName"):t))?r:e.hooks.helperMissing)?r.call(null!=t?t:e.nullContext||{},{name:"extensionName",hash:{},data:i,loc:{start:{line:2,column:35},end:{line:2,column:52}}}):r)},3:function(e,t,n,s,i){var r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'\n \n"+c(h(n,"res").call(l,"detCreated",{name:"res",hash:{},data:i,blockParams:r,loc:{start:{line:43,column:4},end:{line:43,column:24}}}))+" \n"+c(typeof(a=null!=(a=h(n,"created")||(null!=t?h(t,"created"):t))?a:u)===d?a.call(l,{name:"created",hash:{},data:i,blockParams:r,loc:{start:{line:44,column:4},end:{line:44,column:15}}}):a)+" \n\n \n"+(null!=(o=h(n,"if").call(l,null!=t?h(t,"expires"):t,{name:"if",hash:{},fn:e.program(19,i,0,r),inverse:e.noop,data:i,blockParams:r,loc:{start:{line:50,column:0},end:{line:55,column:7}}}))?o:"")+""+c(h(n,"res").call(l,"detUpdated",{name:"res",hash:{},data:i,blockParams:r,loc:{start:{line:47,column:4},end:{line:47,column:24}}}))+" \n"+c(typeof(a=null!=(a=h(n,"modified")||(null!=t?h(t,"modified"):t))?a:u)===d?a.call(l,{name:"modified",hash:{},data:i,blockParams:r,loc:{start:{line:48,column:4},end:{line:48,column:16}}}):a)+" \n'+c(d(n,"res").call(l,"genPsTitle",{name:"res",hash:{},data:i,blockParams:r,loc:{start:{line:7,column:4},end:{line:7,column:24}}}))+'
\n\n'+l(u(n,"res").call(a,"grpTitle",{name:"res",hash:{},data:i,loc:{start:{line:7,column:4},end:{line:7,column:22}}}))+'
\n"+e.escapeExpression(e.lambda(r[0][0],t))+" \n"},3:function(e,t,n,s,i,r){var o,a,l=null!=t?t:e.nullContext||{},c=e.hooks.helperMissing,u=e.escapeExpression,d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'\n\n \n"},4:function(e,t,n,s,i){return"selected"},6:function(e,t,n,s,i,r){var o,a=e.lambda,l=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'\n"},8:function(e,t,n,s,i,r){var o;return"\n"+(null!=(o=(e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]})(n,"each").call(null!=t?t:e.nullContext||{},r[0][0],{name:"each",hash:{},fn:e.program(9,i,1,r),inverse:e.noop,data:i,blockParams:r,loc:{start:{line:40,column:0},end:{line:42,column:9}}}))?o:"")+" \n"},9:function(e,t,n,s,i,r){return""+e.escapeExpression(e.lambda(r[0][0],t))+" \n"},11:function(e,t,n,s,i,r){var o,a=e.lambda,l=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'\n"},12:function(e,t,n,s,i){var r,o=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(r=o(n,"each").call(null!=t?t:e.nullContext||{},null!=t?o(t,"spaces"):t,{name:"each",hash:{},fn:e.program(13,i,0),inverse:e.noop,data:i,loc:{start:{line:61,column:14},end:{line:61,column:45}}}))?r:""},13:function(e,t,n,s,i){return" "},compiler:[8,">= 4.3.0"],main:function(e,t,n,s,i,r){var o,a=null!=t?t:e.nullContext||{},l=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return''+l(c(n,"res").call(a,"importCsvTitle",{name:"res",hash:{},data:i,blockParams:r,loc:{start:{line:6,column:4},end:{line:6,column:28}}}))+'
\n\n\n
\n\n'+(null!=(o=c(n,"each").call(a,null!=t?c(t,"headers"):t,{name:"each",hash:{},fn:e.program(1,i,1,r),inverse:e.noop,data:i,blockParams:r,loc:{start:{line:15,column:0},end:{line:17,column:9}}}))?o:"")+" \n\n"+(null!=(o=c(n,"each").call(a,null!=t?c(t,"fieldMapping"):t,{name:"each",hash:{},fn:e.program(3,i,1,r),inverse:e.noop,data:i,blockParams:r,loc:{start:{line:20,column:0},end:{line:34,column:9}}}))?o:"")+" \n\n\n"+(null!=(o=c(n,"each").call(a,null!=t?c(t,"rows"):t,{name:"each",hash:{},fn:e.program(8,i,1,r),inverse:e.noop,data:i,blockParams:r,loc:{start:{line:38,column:0},end:{line:44,column:9}}}))?o:"")+'\n'+e.escapeExpression(a(n,"res").call(o,"listEmptyTitle",{name:"res",hash:{},data:i,loc:{start:{line:3,column:31},end:{line:3,column:55}}}))+'
\n
"},10:function(e,t,n,s,i){var r,o=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return''+e.escapeExpression("function"==typeof(r=null!=(r=o(n,"pre")||(null!=t?o(t,"pre"):t))?r:e.hooks.helperMissing)?r.call(null!=t?t:e.nullContext||{},{name:"pre",hash:{},data:i,loc:{start:{line:12,column:35},end:{line:12,column:42}}}):r)+"
"},12:function(e,t,n,s,i){var r,o=null!=t?t:e.nullContext||{},a=e.hooks.helperMissing,l="function",c=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return''+c(typeof(r=null!=(r=u(n,"link")||(null!=t?u(t,"link"):t))?r:a)===l?r.call(o,{name:"link",hash:{},data:i,loc:{start:{line:13,column:67},end:{line:13,column:75}}}):r)+""},14:function(e,t,n,s,i){var r,o=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return''+a(l(n,"res").call(o,"appBrowserAuthComplete",{name:"res",hash:{},data:i,loc:{start:{line:44,column:4},end:{line:44,column:36}}}))+"
\n\n\n"},useData:!0})},1198:(e,t,n)=>{var s=n(7109);e.exports=(s.default||s).template({1:function(e,t,n,s,i){var r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' '+(null!=(r=l(n,"res").call(a,"openConfigHeader",{name:"res",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i,loc:{start:{line:2,column:63},end:{line:2,column:106}}}))?r:"")+"
\n"+(null!=(r=l(n,"if").call(a,null!=t?l(t,"desc"):t,{name:"if",hash:{},fn:e.program(3,i,0),inverse:e.noop,data:i,loc:{start:{line:3,column:0},end:{line:3,column:68}}}))?r:"")+'\n'+c(u(n,"res").call(l,"openDropHere",{name:"res",hash:{},data:i,blockParams:r,loc:{start:{line:121,column:46},end:{line:121,column:68}}}))+"
\n'+(null!=(r=a(n,"res").call(o,"detOtpTouch",{name:"res",hash:{},fn:e.program(2,i,0),inverse:e.noop,data:i,loc:{start:{line:4,column:38},end:{line:4,column:87}}}))?r:"")+'
\n'+e.escapeExpression(c(n,"res").call(l,"selectEntryFieldHeader",{name:"res",hash:{},data:i,blockParams:r,loc:{start:{line:12,column:38},end:{line:12,column:70}}}))+'
\n\n'+(null!=(a=l(n,"each").call(null!=t?t:e.nullContext||{},null!=t?l(t,"fields"):t,{name:"each",hash:{},fn:e.program(6,i,1,r,o),inverse:e.noop,data:i,blockParams:r,loc:{start:{line:18,column:0},end:{line:24,column:9}}}))?a:"")+"
\n"},6:function(e,t,n,s,i,r,o){var a,l=e.lambda,c=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'\n \n"},7:function(e,t,n,s,i){return"select-entry-field__item--active"},9:function(e,t,n,s,i){var r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return''+c(l(null!=(a=r[0][0])?u(a,"field"):a,t))+" \n"+c(l(null!=(a=r[0][0])?u(a,"value"):a,t))+" \n'+e.escapeExpression(r(n,"res").call(null!=t?t:e.nullContext||{},"autoTypeNoMatches",{name:"res",hash:{},data:i,loc:{start:{line:27,column:50},end:{line:27,column:77}}}))+"
\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,s,i,r,o){var a,l=null!=t?t:e.nullContext||{},c=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'\n\n \n'},compiler:[8,">= 4.3.0"],main:function(e,t,n,s,i){var r,o,a=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,c="function",u=e.escapeExpression,d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'\n \n"},useData:!0})},4807:(e,t,n)=>{var s=n(7109);e.exports=(s.default||s).template({1:function(e,t,n,s,i){var r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression(r(n,"res").call(null!=t?t:e.nullContext||{},"autoTypeHeader",{name:"res",hash:{},data:i,loc:{start:{line:5,column:0},end:{line:5,column:24}}}))+"\n"},3:function(e,t,n,s,i){var r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression(r(n,"res").call(null!=t?t:e.nullContext||{},"selectEntryHeader",{name:"res",hash:{},data:i,loc:{start:{line:7,column:0},end:{line:7,column:27}}}))+"\n"},5:function(e,t,n,s,i){var r,o=null!=t?t:e.nullContext||{},a=e.hooks.helperMissing,l="function",c=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return''+(null!=(r=d(n,"if").call(a,null!=t?d(t,"customIcon"):t,{name:"if",hash:{},fn:e.program(3,i,0),inverse:e.program(6,i,0),data:i,loc:{start:{line:4,column:0},end:{line:8,column:9}}}))?r:"")+' \n'+(null!=(r=d(n,"if").call(a,null!=t?d(t,"title"):t,{name:"if",hash:{},fn:e.program(9,i,0),inverse:e.program(11,i,0),data:i,loc:{start:{line:10,column:42},end:{line:10,column:98}}}))?r:"")+' \n'+u(typeof(o=null!=(o=d(n,"user")||(null!=t?d(t,"user"):t))?o:l)===c?o.call(a,{name:"user",hash:{},data:i,loc:{start:{line:11,column:41},end:{line:11,column:49}}}):o)+' \n'+u(typeof(o=null!=(o=d(n,"url")||(null!=t?d(t,"url"):t))?o:l)===c?o.call(a,{name:"url",hash:{},data:i,loc:{start:{line:12,column:40},end:{line:12,column:47}}}):o)+" \n"+(null!=(r=d(n,"if").call(a,null!=t?d(t,"itemOptions"):t,{name:"if",hash:{},fn:e.program(13,i,0),inverse:e.noop,data:i,loc:{start:{line:13,column:0},end:{line:17,column:7}}}))?r:"")+"'+(null!=(r="function"==typeof(o=null!=(o=a(n,"itemsHtml")||(null!=t?a(t,"itemsHtml"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"itemsHtml",hash:{},data:i,loc:{start:{line:40,column:35},end:{line:40,column:50}}}):o)?r:"")+"
\n"},20:function(e,t,n,s,i){var r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return''+e.escapeExpression(r(n,"res").call(null!=t?t:e.nullContext||{},"autoTypeNoMatches",{name:"res",hash:{},data:i,loc:{start:{line:42,column:50},end:{line:42,column:77}}}))+"
\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,s,i,r){var o,a,l=null!=t?t:e.nullContext||{},c=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'\n'+(null!=(o=u(n,"if").call(l,null!=t?u(t,"isAutoType"):t,{name:"if",hash:{},fn:e.program(1,i,0,r),inverse:e.program(3,i,0,r),data:i,blockParams:r,loc:{start:{line:4,column:0},end:{line:8,column:7}}}))?o:"")+'
\nDesktop modules
\n\n
\n'},compiler:[8,">= 4.3.0"],main:function(e,t,n,s,i){var r,o,a=null!=t?t:e.nullContext||{},l=e.escapeExpression,c=e.hooks.helperMissing,u="function",d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' '+l(d(n,"res").call(a,"setAboutTitle",{name:"res",hash:{},data:i,loc:{start:{line:2,column:51},end:{line:2,column:74}}}))+" KeeWeb v"+l(typeof(o=null!=(o=d(n,"version")||(null!=t?d(t,"version"):t))?o:c)===u?o.call(a,{name:"version",hash:{},data:i,loc:{start:{line:2,column:83},end:{line:2,column:94}}}):o)+"
\nLibraries
\n\n"+(null!=(r=d(n,"if").call(a,null!=t?d(t,"isDesktop"):t,{name:"if",hash:{},fn:e.program(7,i,0),inverse:e.noop,data:i,loc:{start:{line:12,column:0},end:{line:12,column:199}}}))?r:"")+'\n
\nCore components
\n\n
\nUI components
\n\n
\n'+(null!=(r=d(n,"if").call(a,null!=t?d(t,"isDesktop"):t,{name:"if",hash:{},fn:e.program(9,i,0),inverse:e.noop,data:i,loc:{start:{line:30,column:0},end:{line:40,column:7}}}))?r:"")+'Utils
\n\n
\nStyles
\n\n
\nGraphics
\n\n
\n'+l(d(n,"res").call(a,"setAboutLic",{name:"res",hash:{},data:i,loc:{start:{line:63,column:4},end:{line:63,column:25}}}))+"
\n\n\n
\n"},2:function(e,t,n,s,i){var r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"\n \n\n\n"+(null!=(o=c(n,"each").call(a,null!=t?c(t,"settingsPerBrowser"):t,{name:"each",hash:{},fn:e.program(8,i,1,r),inverse:e.noop,data:i,blockParams:r,loc:{start:{line:22,column:0},end:{line:59,column:9}}}))?o:"")+"\n\n'+(null!=(o=c(n,"each").call(a,null!=t?c(t,"extensionNames"):t,{name:"each",hash:{},fn:e.program(6,i,1,r),inverse:e.noop,data:i,blockParams:r,loc:{start:{line:16,column:0},end:{line:18,column:9}}}))?o:"")+" "+e.escapeExpression(e.lambda(r[0][0],t))+" \n"},8:function(e,t,n,s,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"\n \n"},9:function(e,t,n,s,i,r){var o,a=null!=t?t:e.nullContext||{},l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return""+e.escapeExpression(e.lambda(null!=(o=r[0][0])?a(o,"browserName"):o,t))+" \n"+(null!=(o=a(n,"each").call(null!=t?t:e.nullContext||{},null!=(o=r[0][0])?a(o,"extensions"):o,{name:"each",hash:{},fn:e.program(9,i,1,r),inverse:e.noop,data:i,blockParams:r,loc:{start:{line:25,column:0},end:{line:57,column:9}}}))?o:"")+"\n"+(null!=(o=l(n,"if").call(a,null!=(o=r[0][0])?l(o,"supported"):o,{name:"if",hash:{},fn:e.program(10,i,0,r),inverse:e.program(13,i,0,r),data:i,blockParams:r,loc:{start:{line:27,column:0},end:{line:37,column:7}}}))?o:"")+(null!=(o=l(n,"if").call(a,null!=(o=r[0][0])?l(o,"enabled"):o,{name:"if",hash:{},fn:e.program(15,i,0,r),inverse:e.noop,data:i,blockParams:r,loc:{start:{line:38,column:0},end:{line:55,column:7}}}))?o:"")+" \n"},10:function(e,t,n,s,i,r){var o,a=e.lambda,l=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'\n\n'},11:function(e,t,n,s,i){return"checked"},13:function(e,t,n,s,i){var r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'\n'},15:function(e,t,n,s,i,r){var o,a=null!=t?t:e.nullContext||{},l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(o=l(n,"if").call(a,null!=(o=r[1][0])?l(o,"helpUrl"):o,{name:"if",hash:{},fn:e.program(16,i,0,r),inverse:e.noop,data:i,blockParams:r,loc:{start:{line:39,column:0},end:{line:46,column:7}}}))?o:"")+(null!=(o=l(n,"if").call(a,null!=(o=r[1][0])?l(o,"installUrl"):o,{name:"if",hash:{},fn:e.program(18,i,0,r),inverse:e.noop,data:i,blockParams:r,loc:{start:{line:47,column:0},end:{line:54,column:7}}}))?o:"")},16:function(e,t,n,s,i,r){var o,a=e.escapeExpression,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'\n\n\n'},18:function(e,t,n,s,i,r){var o,a=e.escapeExpression,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'\n\n\n'},20:function(e,t,n,s,i){var r,o,a=null!=t?t:e.nullContext||{},l=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"\n\n'+u(c(null!=(a=r[0][0])?d(a,"extensionName"):a,t))+(null!=(a=d(n,"if").call(l,null!=(a=r[0][0])?d(a,"appName"):a,{name:"if",hash:{},fn:e.program(39,i,0,r,o),inverse:e.noop,data:i,blockParams:r,loc:{start:{line:103,column:25},end:{line:103,column:77}}}))?a:"")+"\n
\n '+u(d(n,"res").call(c,"setBrowserTitle",{name:"res",hash:{},data:i,blockParams:r,loc:{start:{line:2,column:55},end:{line:2,column:80}}}))+"
\n"+(null!=(a=d(n,"if").call(c,null!=t?d(t,"desktop"):t,{name:"if",hash:{},fn:e.program(1,i,0,r,o),inverse:e.program(20,i,0,r,o),data:i,blockParams:r,loc:{start:{line:3,column:0},end:{line:67,column:7}}}))?a:"")+'\n"+u(d(n,"res").call(c,"setBrowserSessions",{name:"res",hash:{},data:i,blockParams:r,loc:{start:{line:81,column:4},end:{line:81,column:32}}}))+"
\n"+(null!=(a=d(n,"if").call(c,null!=(a=null!=t?d(t,"sessions"):t)?d(a,"length"):a,{name:"if",hash:{},fn:e.program(23,i,0,r,o),inverse:e.program(61,i,0,r,o),data:i,blockParams:r,loc:{start:{line:82,column:0},end:{line:176,column:7}}}))?a:"")+"YubiKey
\n"+a(l(n,"res").call(o,"setDevicesYubiKeyOtpTitle",{name:"res",hash:{},data:i,loc:{start:{line:11,column:4},end:{line:11,column:39}}}))+"
\n"+a(l(n,"res").call(o,"setDevicesYubiKeyChalRespTitle",{name:"res",hash:{},data:i,loc:{start:{line:42,column:4},end:{line:42,column:44}}}))+"
\nykman
"},10:function(e,t,n,s,i){var r,o=null!=t?t:e.nullContext||{},a=e.escapeExpression,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return''+a(l(n,"res").call(o,"setDevicesYubiKeyToolsDescLink",{name:"res",hash:{},data:i,loc:{start:{line:15,column:85},end:{line:15,column:125}}}))+""},12:function(e,t,n,s,i){var r;return(null!=(r=(e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]})(n,"res").call(null!=t?t:e.nullContext||{},"setDevicesYubiKeyToolsStatusChecking",{name:"res",hash:{},fn:e.program(8,i,0),inverse:e.noop,data:i,loc:{start:{line:18,column:32},end:{line:18,column:105}}}))?r:"")+"..."},14:function(e,t,n,s,i){var r;return null!=(r=(e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]})(n,"res").call(null!=t?t:e.nullContext||{},"setDevicesYubiKeyToolsStatusOk",{name:"res",hash:{},fn:e.program(8,i,0),inverse:e.noop,data:i,loc:{start:{line:19,column:26},end:{line:19,column:93}}}))?r:""},16:function(e,t,n,s,i){var r;return null!=(r=(e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]})(n,"res").call(null!=t?t:e.nullContext||{},"setDevicesYubiKeyToolsStatusError",{name:"res",hash:{},fn:e.program(8,i,0),inverse:e.noop,data:i,loc:{start:{line:20,column:29},end:{line:20,column:99}}}))?r:""},compiler:[8,">= 4.3.0"],main:function(e,t,n,s,i){var r,o=null!=t?t:e.nullContext||{},a=e.escapeExpression,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' '+a(l(n,"res").call(o,"setDevicesTitle",{name:"res",hash:{},data:i,loc:{start:{line:2,column:50},end:{line:2,column:75}}}))+'
\n '+l("function"==typeof(o=null!=(o=c(n,"name")||(null!=t?c(t,"name"):t))?o:e.hooks.helperMissing)?o.call(a,{name:"name",hash:{},data:i,loc:{start:{line:2,column:51},end:{line:2,column:59}}}):o)+"
\n"+a(l(n,"res").call(o,"setFileSync",{name:"res",hash:{},data:i,loc:{start:{line:50,column:4},end:{line:50,column:25}}}))+"
\n"+u(p(n,"res").call(c,"setFileBackups",{name:"res",hash:{},data:i,blockParams:r,loc:{start:{line:106,column:4},end:{line:106,column:28}}}))+'
\n '+h(typeof(l=null!=(l=p(n,"name")||(null!=t?p(t,"name"):t))?l:u)===d?l.call(c,{name:"name",hash:{},data:i,blockParams:r,loc:{start:{line:2,column:51},end:{line:2,column:59}}}):l)+"
\n"+(null!=(a=p(n,"if").call(c,null!=t?p(t,"storage"):t,{name:"if",hash:{},fn:e.program(1,i,0,r,o),inverse:e.program(7,i,0,r,o),data:i,blockParams:r,loc:{start:{line:3,column:0},end:{line:11,column:7}}}))?a:"")+' \n \n"+(null!=(a=p(n,"if").call(c,null!=t?p(t,"storage"):t,{name:"if",hash:{},fn:e.program(28,i,0,r,o),inverse:e.noop,data:i,blockParams:r,loc:{start:{line:49,column:0},end:{line:53,column:7}}}))?a:"")+""+h(p(n,"res").call(c,"settings",{name:"res",hash:{},data:i,blockParams:r,loc:{start:{line:54,column:4},end:{line:54,column:22}}}))+'
\n\n"+h(p(n,"res").call(c,"setFileNames",{name:"res",hash:{},data:i,blockParams:r,loc:{start:{line:100,column:4},end:{line:100,column:26}}}))+'
\n\n\n\n\n'+(null!=(a=p(n,"if").call(c,null!=t?p(t,"canBackup"):t,{name:"if",hash:{},fn:e.program(42,i,0,r,o),inverse:e.noop,data:i,blockParams:r,loc:{start:{line:105,column:0},end:{line:133,column:7}}}))?a:"")+""+h((p(n,"Res")||t&&p(t,"Res")||u).call(c,"history",{name:"Res",hash:{},data:i,blockParams:r,loc:{start:{line:134,column:4},end:{line:134,column:21}}}))+'
\n'+h(p(n,"res").call(c,"advanced",{name:"res",hash:{},data:i,blockParams:r,loc:{start:{line:151,column:4},end:{line:151,column:22}}}))+'
\n\n\n\n\n"+(null!=(a=p(n,"if").call(c,null!=t?p(t,"keyEncryptionRounds"):t,{name:"if",hash:{},fn:e.program(58,i,0,r,o),inverse:e.program(60,i,0,r,o),data:i,blockParams:r,loc:{start:{line:163,column:0},end:{line:193,column:7}}}))?a:"")+'\n\n'+a(l(n,"res").call(o,"setGenUpdate",{name:"res",hash:{},data:i,loc:{start:{line:4,column:25},end:{line:4,column:47}}}))+"
\n'+o(a(n,"res").call(r,"setGenUpdate",{name:"res",hash:{},data:i,loc:{start:{line:10,column:25},end:{line:10,column:47}}}))+"
\n"+l(d(n,"res").call(a,"setGenUpdate",{name:"res",hash:{},data:i,loc:{start:{line:17,column:4},end:{line:17,column:26}}}))+'
\n '+c(u(n,"res").call(l,"setGenTitle",{name:"res",hash:{},data:i,blockParams:r,loc:{start:{line:2,column:59},end:{line:2,column:80}}}))+"
\n"+(null!=(a=u(n,"if").call(l,null!=t?u(t,"updateWaitingReload"):t,{name:"if",hash:{},fn:e.program(1,i,0,r,o),inverse:e.program(3,i,0,r,o),data:i,blockParams:r,loc:{start:{line:3,column:0},end:{line:15,column:7}}}))?a:"")+(null!=(a=u(n,"if").call(l,null!=t?u(t,"showUpdateBlock"):t,{name:"if",hash:{},fn:e.program(6,i,0,r,o),inverse:e.noop,data:i,blockParams:r,loc:{start:{line:16,column:0},end:{line:36,column:7}}}))?a:"")+''+c(u(n,"res").call(l,"setGenAppearance",{name:"res",hash:{},data:i,blockParams:r,loc:{start:{line:37,column:20},end:{line:37,column:46}}}))+"
\n"+(null!=(a=u(n,"if").call(l,null!=t?u(t,"locales"):t,{name:"if",hash:{},fn:e.program(17,i,0,r,o),inverse:e.noop,data:i,blockParams:r,loc:{start:{line:38,column:0},end:{line:48,column:7}}}))?a:"")+"'+c(u(n,"res").call(l,"setGenFunction",{name:"res",hash:{},data:i,blockParams:r,loc:{start:{line:105,column:18},end:{line:105,column:42}}}))+"
\n"+(null!=(a=u(n,"if").call(l,null!=t?u(t,"canAutoSaveOnClose"):t,{name:"if",hash:{},fn:e.program(30,i,0,r,o),inverse:e.noop,data:i,blockParams:r,loc:{start:{line:106,column:0},end:{line:112,column:7}}}))?a:"")+''+c(u(n,"res").call(l,"setGenAudit",{name:"res",hash:{},data:i,blockParams:r,loc:{start:{line:216,column:15},end:{line:216,column:36}}}))+'
\n'+c(u(n,"res").call(l,"setGenLock",{name:"res",hash:{},data:i,blockParams:r,loc:{start:{line:263,column:14},end:{line:263,column:34}}}))+'
\n'+c(u(n,"res").call(l,"setGenStorage",{name:"res",hash:{},data:i,blockParams:r,loc:{start:{line:305,column:17},end:{line:305,column:40}}}))+'
\n'+c(u(n,"res").call(l,"advanced",{name:"res",hash:{},data:i,blockParams:r,loc:{start:{line:325,column:18},end:{line:325,column:36}}}))+'
\n'+c(u(n,"res").call(l,"setGenShowAdvanced",{name:"res",hash:{},data:i,blockParams:r,loc:{start:{line:326,column:43},end:{line:326,column:71}}}))+'\n \n '+l(d(n,"res").call(a,"help",{name:"res",hash:{},data:i,loc:{start:{line:2,column:55},end:{line:2,column:69}}}))+"
\n"+l(d(n,"res").call(a,"setHelpFormat",{name:"res",hash:{},data:i,loc:{start:{line:3,column:4},end:{line:3,column:27}}}))+"
\n"+l(d(n,"res").call(a,"setHelpProblems",{name:"res",hash:{},data:i,loc:{start:{line:5,column:4},end:{line:5,column:29}}}))+"
\n'+l(typeof(o=null!=(o=d(n,"appInfo")||(null!=t?d(t,"appInfo"):t))?o:c)===u?o.call(a,{name:"appInfo",hash:{},data:i,loc:{start:{line:10,column:38},end:{line:10,column:49}}}):o)+"
\n"+l(d(n,"res").call(a,"setHelpOtherPlatforms",{name:"res",hash:{},data:i,loc:{start:{line:11,column:4},end:{line:11,column:35}}}))+'
\n\n
\n"+l(d(n,"res").call(a,"setHelpUpdates",{name:"res",hash:{},data:i,loc:{start:{line:28,column:4},end:{line:28,column:28}}}))+'
\n'+u(typeof(o=null!=(o=d(n,"msg")||(null!=t?d(t,"msg"):t))?o:l)===c?o.call(a,{name:"msg",hash:{},data:i,loc:{start:{line:3,column:98},end:{line:3,column:105}}}):o)+"
\n"},2:function(e,t,n,s,i){var r,o=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression("function"==typeof(r=null!=(r=o(n,"color")||(null!=t?o(t,"color"):t))?r:e.hooks.helperMissing)?r.call(null!=t?t:e.nullContext||{},{name:"color",hash:{},data:i,loc:{start:{line:3,column:74},end:{line:3,column:83}}}):r)+"-color"},compiler:[8,">= 4.3.0"],main:function(e,t,n,s,i){var r,o=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return''+c(l(null!=(a=r[0][0])?d(a,"id"):a,t))+"
\n\n'+(null!=(a=d(n,"if").call(u,null!=(a=null!=(a=null!=(a=r[0][0])?d(a,"manifest"):a)?d(a,"resources"):a)?d(a,"js"):a,{name:"if",hash:{},fn:e.program(4,i,0,r,o),inverse:e.noop,data:i,blockParams:r,loc:{start:{line:14,column:0},end:{line:14,column:134}}}))?a:"")+"\n"+(null!=(a=d(n,"if").call(u,null!=(a=null!=(a=null!=(a=r[0][0])?d(a,"manifest"):a)?d(a,"resources"):a)?d(a,"css"):a,{name:"if",hash:{},fn:e.program(6,i,0,r,o),inverse:e.noop,data:i,blockParams:r,loc:{start:{line:15,column:0},end:{line:15,column:143}}}))?a:"")+"\n"+(null!=(a=d(n,"if").call(u,null!=(a=null!=(a=null!=(a=r[0][0])?d(a,"manifest"):a)?d(a,"resources"):a)?d(a,"loc"):a,{name:"if",hash:{},fn:e.program(8,i,0,r,o),inverse:e.noop,data:i,blockParams:r,loc:{start:{line:16,column:0},end:{line:18,column:7}}}))?a:"")+'
\n'+e.escapeExpression(e.lambda(null!=(o=r[1][0])?a(o,"installError"):o,t))+"
'+e.escapeExpression(e.lambda(null!=(o=r[1][0])?a(o,"updateError"):o,t))+"
\n'+c(l(null!=(a=null!=(a=r[0][0])?d(a,"manifest"):a)?d(a,"name"):a,t))+"\n
\n"+(null!=(a=d(n,"if").call(u,null!=o[1]?d(o[1],"hasUnicodeFlags"):o[1],{name:"if",hash:{},fn:e.program(64,i,0,r,o),inverse:e.noop,data:i,blockParams:r,loc:{start:{line:116,column:0},end:{line:122,column:7}}}))?a:"")+'\n'+(null!=(a=d(n,"if").call(u,null!=(a=null!=(a=null!=(a=r[0][0])?d(a,"manifest"):a)?d(a,"resources"):a)?d(a,"js"):a,{name:"if",hash:{},fn:e.program(4,i,0,r,o),inverse:e.noop,data:i,blockParams:r,loc:{start:{line:125,column:0},end:{line:125,column:134}}}))?a:"")+"\n"+(null!=(a=d(n,"if").call(u,null!=(a=null!=(a=null!=(a=r[0][0])?d(a,"manifest"):a)?d(a,"resources"):a)?d(a,"css"):a,{name:"if",hash:{},fn:e.program(6,i,0,r,o),inverse:e.noop,data:i,blockParams:r,loc:{start:{line:126,column:0},end:{line:126,column:143}}}))?a:"")+"\n"+(null!=(a=d(n,"if").call(u,null!=(a=null!=(a=null!=(a=r[0][0])?d(a,"manifest"):a)?d(a,"resources"):a)?d(a,"loc"):a,{name:"if",hash:{},fn:e.program(68,i,0,r,o),inverse:e.noop,data:i,blockParams:r,loc:{start:{line:127,column:0},end:{line:127,column:174}}}))?a:"")+'\n
\n \n"+(null!=(a=d(n,"if").call(u,null!=(a=r[0][0])?d(a,"installError"):a,{name:"if",hash:{},fn:e.program(74,i,0,r,o),inverse:e.noop,data:i,blockParams:r,loc:{start:{line:136,column:0},end:{line:138,column:7}}}))?a:"")+'\n '+u(p(n,"res").call(c,"plugins",{name:"res",hash:{},data:i,blockParams:r,loc:{start:{line:2,column:59},end:{line:2,column:76}}}))+"
\n\n"+(null!=(a=p(n,"if").call(c,null!=t?p(t,"galleryLoading"):t,{name:"if",hash:{},fn:e.program(56,i,0,r,o),inverse:e.program(58,i,0,r,o),data:i,blockParams:r,loc:{start:{line:103,column:0},end:{line:103,column:96}}}))?a:"")+'\n
\n"+u(p(n,"res").call(c,"setPlInstallUrlTitle",{name:"res",hash:{},data:i,blockParams:r,loc:{start:{line:156,column:4},end:{line:156,column:34}}}))+'
\n '+l(d(n,"res").call(a,"setShTitle",{name:"res",hash:{},data:i,loc:{start:{line:2,column:55},end:{line:2,column:75}}}))+'
\n'+a(c(n,"res").call(o,"tagTitle",{name:"res",hash:{},data:i,loc:{start:{line:5,column:4},end:{line:5,column:22}}}))+'
\n","
"],col:[2,"
"],tr:[2,"","
"],td:[3,"
"],_default:[0,"",""]};function ve(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&B(e,t)?_.merge([e],n):n}function be(e,t){for(var n=0,s=e.length;n"," ",""]);var we=/<|?\w+;/;function ke(e,t,n,s,i){for(var r,o,a,l,c,u,d=t.createDocumentFragment(),h=[],p=0,m=e.length;p").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&i("error"===e.type?404:200,e.type)}),v.head.appendChild(t[0])},abort:function(){n&&n()}}}));var zt,qt=[],Wt=/(=)\?(?=&|$)|\?\?/;_.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=qt.pop()||_.expando+"_"+_t.guid++;return this[e]=!0,e}}),_.ajaxPrefilter("json jsonp",(function(e,t,n){var i,r,o,a=!1!==e.jsonp&&(Wt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Wt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return i=e.jsonpCallback=A(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Wt,"$1"+i):!1!==e.jsonp&&(e.url+=(Et.test(e.url)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return o||_.error(i+" was not called"),o[0]},e.dataTypes[0]="json",r=s[i],s[i]=function(){o=arguments},n.always((function(){void 0===r?_(s).removeProp(i):s[i]=r,e[i]&&(e.jsonpCallback=t.jsonpCallback,qt.push(i)),o&&A(r)&&r(o[0]),o=r=void 0})),"script"})),g.createHTMLDocument=((zt=v.implementation.createHTMLDocument("").body).innerHTML="",2===zt.childNodes.length),_.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(g.createHTMLDocument?((s=(t=v.implementation.createHTMLDocument("")).createElement("base")).href=v.location.href,t.head.appendChild(s)):t=v),r=!n&&[],(i=P.exec(e))?[t.createElement(i[1])]:(i=ke([e],t,r),r&&r.length&&_(r).remove(),_.merge([],i.childNodes)));var s,i,r},_.fn.load=function(e,t,n){var s,i,r,o=this,a=e.indexOf(" ");return-1").append(_.parseHTML(e)).find(s):e)})).always(n&&function(e,t){o.each((function(){n.apply(this,r||[e.responseText,t,e])}))}),this},_.expr.pseudos.animated=function(e){return _.grep(_.timers,(function(t){return e===t.elem})).length},_.offset={setOffset:function(e,t,n){var s,i,r,o,a,l,c=_.css(e,"position"),u=_(e),d={};"static"===c&&(e.style.position="relative"),a=u.offset(),r=_.css(e,"top"),l=_.css(e,"left"),("absolute"===c||"fixed"===c)&&-1<(r+l).indexOf("auto")?(o=(s=u.position()).top,i=s.left):(o=parseFloat(r)||0,i=parseFloat(l)||0),A(t)&&(t=t.call(e,n,_.extend({},a))),null!=t.top&&(d.top=t.top-a.top+o),null!=t.left&&(d.left=t.left-a.left+i),"using"in t?t.using.call(e,d):u.css(d)}},_.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){_.offset.setOffset(this,e,t)}));var t,n,s=this[0];return s?s.getClientRects().length?(t=s.getBoundingClientRect(),n=s.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,s=this[0],i={top:0,left:0};if("fixed"===_.css(s,"position"))t=s.getBoundingClientRect();else{for(t=this.offset(),n=s.ownerDocument,e=s.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===_.css(e,"position");)e=e.parentNode;e&&e!==s&&1===e.nodeType&&((i=_(e).offset()).top+=_.css(e,"borderTopWidth",!0),i.left+=_.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-_.css(s,"marginTop",!0),left:t.left-i.left-_.css(s,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&"static"===_.css(e,"position");)e=e.offsetParent;return e||oe}))}}),_.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n="pageYOffset"===t;_.fn[e]=function(s){return V(this,(function(e,s,i){var r;if(y(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===i)return r?r[t]:e[s];r?r.scrollTo(n?r.pageXOffset:i,n?i:r.pageYOffset):e[s]=i}),e,s,arguments.length)}})),_.each(["top","left"],(function(e,t){_.cssHooks[t]=Ge(g.pixelPosition,(function(e,n){if(n)return n=je(e,t),Re.test(n)?_(e).position()[t]+"px":n}))})),_.each({Height:"height",Width:"width"},(function(e,t){_.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,s){_.fn[s]=function(i,r){var o=arguments.length&&(n||"boolean"!=typeof i),a=n||(!0===i||!0===r?"margin":"border");return V(this,(function(t,n,i){var r;return y(t)?0===s.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(r=t.documentElement,Math.max(t.body["scroll"+e],r["scroll"+e],t.body["offset"+e],r["offset"+e],r["client"+e])):void 0===i?_.css(t,n,a):_.style(t,n,i,a)}),t,o?i:void 0,o)}}))})),_.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){_.fn[t]=function(e){return this.on(t,e)}})),_.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,s){return this.on(t,e,n,s)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),_.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),(function(e,t){_.fn[t]=function(e,n){return 0{var s=n(609),i=!0,r=!0;try{String.fromCharCode.apply(null,[0])}catch(e){i=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){r=!1}for(var o=new s.Buf8(256),a=0;a<256;a++)o[a]=a>=252?6:a>=248?5:a>=240?4:a>=224?3:a>=192?2:1;function l(e,t){if(t<65537&&(e.subarray&&r||!e.subarray&&i))return String.fromCharCode.apply(null,s.shrinkBuf(e,t));for(var n="",o=0;o>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&n,e.last_lit++,0===t?e.dyn_ltree[2*n]++:(e.matches++,t--,e.dyn_ltree[2*(g[n]+r+1)]++,e.dyn_dtree[2*_(t)]++),e.last_lit===e.lit_bufsize-1},t._tr_align=function(e){x(e,2,3),I(e,256,p),function(e){16===e.bi_valid?(E(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}(e)}},894:e=>{e.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},61:(e,t)=>{function n(e,t,n,s,i){e[t]+=e[n],e[i]=r(e[i]^e[t],16),e[s]+=e[i],e[n]=r(e[n]^e[s],12),e[t]+=e[n],e[i]=r(e[i]^e[t],8),e[s]+=e[i],e[n]=r(e[n]^e[s],7)}function s(e,t){return e[t]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24}function i(e,t,n){e[t]=n,n>>>=8,e[t+1]=n,n>>>=8,e[t+2]=n,n>>>=8,e[t+3]=n}function r(e,t){return e<(i.zeroBuffer(e),t)))}getText(){return i.bytesToString(this.getBinary())}getBinary(){const e=this._value,t=this._salt,n=new Uint8Array(e.byteLength);for(let s=n.length-1;s>=0;s--)n[s]=e[s]^t[s];return n}setSalt(e){const t=new Uint8Array(e),n=this._value,s=this._salt;for(let e=0,i=n.length;e{Object.defineProperty(t,"__esModule",{value:!0}),t.Salsa20=void 0,t.Salsa20=class{constructor(e,t){this._rounds=20,this._sigmaWords=[1634760805,857760878,2036477234,1797285236],this._keyWords=[],this._nonceWords=[0,0],this._counterWords=[0,0],this._block=new Uint8Array(64),this._blockUsed=64,this.setKey(e),this.setNonce(t)}setKey(e){for(let t=0,n=0;t<8;t++,n+=4)this._keyWords[t]=255&e[n]|(255&e[n+1])<<8|(255&e[n+2])<<16|(255&e[n+3])<<24;this.reset()}setNonce(e){this._nonceWords[0]=255&e[0]|(255&e[1])<<8|(255&e[2])<<16|(255&e[3])<<24,this._nonceWords[1]=255&e[4]|(255&e[5])<<8|(255&e[6])<<16|(255&e[7])<<24,this.reset()}getBytes(e){const t=new Uint8Array(e);for(let n=0;n>=1,e+=e;return n+e},B=r.defaults,P=w,T=function(e,t){var n=e.replace(/\|/g,(function(e,t,n){for(var s=!1,i=t;0<=--i&&"\\"===n[i];)s=!s;return s?"|":" |"})).split(/ \|/),s=0;if(n.length>t)n.splice(t);else for(;n.length/i.test(e[0])&&(t=!1),!n&&/^<(pre|code|kbd|script)(\s|>)/i.test(e[0])?n=!0:n&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(e[0])&&(n=!1),{type:this.options.sanitize?"text":"html",raw:e[0],inLink:t,inRawBlock:n,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(e[0]):F(e[0]):e[0]}},t.link=function(e){var t=this.rules.inline.link.exec(e);if(t){var n=t[2].trim();if(!this.options.pedantic&&/^$/.test(n))return;if(e=P(n.slice(0,-1),"\\"),(n.length-e.length)%2==0)return}else-1<(i=M(t[2],"()"))&&(r=(0===t[0].indexOf("!")?5:4)+t[1].length+i,t[2]=t[2].substring(0,i),t[0]=t[0].substring(0,r).trim(),t[3]="");var s,i=t[2],r="";return this.options.pedantic?(s=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(i))&&(i=s[1],r=s[3]):r=t[3]?t[3].slice(1,-1):"",i=i.trim(),O(t,{href:(i=/^$/.test(n)?i.slice(1):i.slice(1,-1):i)&&i.replace(this.rules.inline._escapes,"$1"),title:r&&r.replace(this.rules.inline._escapes,"$1")},t[0])}},t.reflink=function(e,t){if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){if((e=t[(e=(n[2]||n[1]).replace(/\s+/g," ")).toLowerCase()])&&e.href)return O(n,e,n[0]);var n=n[0].charAt(0);return{type:"text",raw:n,text:n}}},t.emStrong=function(e,t,n){void 0===n&&(n="");var s=this.rules.inline.emStrong.lDelim.exec(e);if(s&&(!s[3]||!n.match(/(?:[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u0660-\u0669\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08C7\u0904-\u0939\u093D\u0950\u0958-\u0961\u0966-\u096F\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09F9\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AE6-\u0AEF\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B6F\u0B71-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0BE6-\u0BF2\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C66-\u0C6F\u0C78-\u0C7E\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D58-\u0D61\u0D66-\u0D78\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DE6-\u0DEF\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F20-\u0F33\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F-\u1049\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1090-\u1099\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A20-\u1A54\u1A80-\u1A89\u1A90-\u1A99\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B50-\u1B59\u1B83-\u1BA0\u1BAE-\u1BE5\u1C00-\u1C23\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2CFD\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3192-\u3195\u31A0-\u31BF\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\u9FFC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7BF\uA7C2-\uA7CA\uA7F5-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA830-\uA835\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uA9E0-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD07-\uDD33\uDD40-\uDD78\uDD8A\uDD8B\uDE80-\uDE9C\uDEA0-\uDED0\uDEE1-\uDEFB\uDF00-\uDF23\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC58-\uDC76\uDC79-\uDC9E\uDCA7-\uDCAF\uDCE0-\uDCF2\uDCF4\uDCF5\uDCFB-\uDD1B\uDD20-\uDD39\uDD80-\uDDB7\uDDBC-\uDDCF\uDDD2-\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE40-\uDE48\uDE60-\uDE7E\uDE80-\uDE9F\uDEC0-\uDEC7\uDEC9-\uDEE4\uDEEB-\uDEEF\uDF00-\uDF35\uDF40-\uDF55\uDF58-\uDF72\uDF78-\uDF91\uDFA9-\uDFAF]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDCFA-\uDD23\uDD30-\uDD39\uDE60-\uDE7E\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF27\uDF30-\uDF45\uDF51-\uDF54\uDFB0-\uDFCB\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC52-\uDC6F\uDC83-\uDCAF\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD03-\uDD26\uDD36-\uDD3F\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDD0-\uDDDA\uDDDC\uDDE1-\uDDF4\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDEF0-\uDEF9\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC50-\uDC59\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE50-\uDE59\uDE80-\uDEAA\uDEB8\uDEC0-\uDEC9\uDF00-\uDF1A\uDF30-\uDF3B]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCF2\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC50-\uDC6C\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF2\uDFB0\uDFC0-\uDFD4]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF50-\uDF59\uDF5B-\uDF61\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE96\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82C[\uDC00-\uDD1E\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD834[\uDEE0-\uDEF3\uDF60-\uDF78]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD40-\uDD49\uDD4E\uDEC0-\uDEEB\uDEF0-\uDEF9]|\uD83A[\uDC00-\uDCC4\uDCC7-\uDCCF\uDD00-\uDD43\uDD4B\uDD50-\uDD59]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDD\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])/))){var i=s[1]||s[2]||"";if(!i||i&&(""===n||this.rules.inline.punctuation.exec(n))){var r,o=s[0].length-1,a=o,l=0,c="*"===s[0][0]?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(c.lastIndex=0,t=t.slice(-1*e.length+o);null!=(s=c.exec(t));)if(r=s[1]||s[2]||s[3]||s[4]||s[5]||s[6])if(r=r.length,s[3]||s[4])a+=r;else if(!((s[5]||s[6])&&o%3)||(o+r)%3){if(!(0<(a-=r))){if(a+l-r<=0&&!t.slice(c.lastIndex).match(c)&&(r=Math.min(r,r+a+l)),Math.min(o,r)%2)return{type:"em",raw:e.slice(0,o+s.index+r+1),text:e.slice(1,o+s.index+r)};if(Math.min(o,r)%2==0)return{type:"strong",raw:e.slice(0,o+s.index+r+1),text:e.slice(2,o+s.index+r-1)}}}else l+=r}}},t.codespan=function(e){var t=this.rules.inline.code.exec(e);if(t){var n=t[2].replace(/\n/g," "),s=/[^ ]/.test(n);return e=/^ /.test(n)&&/ $/.test(n),s&&e&&(n=n.substring(1,n.length-1)),n=F(n,!0),{type:"codespan",raw:t[0],text:n}}},t.br=function(e){if(e=this.rules.inline.br.exec(e))return{type:"br",raw:e[0]}},t.del=function(e){if(e=this.rules.inline.del.exec(e))return{type:"del",raw:e[0],text:e[2]}},t.autolink=function(e,t){var n;if(e=this.rules.inline.autolink.exec(e))return t="@"===e[2]?"mailto:"+(n=F(this.options.mangle?t(e[1]):e[1])):n=F(e[1]),{type:"link",raw:e[0],text:n,href:t,tokens:[{type:"text",raw:n,text:n}]}},t.url=function(e,t){var n,s,i,r;if(n=this.rules.inline.url.exec(e)){if("@"===n[2])i="mailto:"+(s=F(this.options.mangle?t(n[0]):n[0]));else{for(;r=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])[0],r!==n[0];);s=F(n[0]),i="www."===n[1]?"http://"+s:s}return{type:"link",raw:n[0],text:s,href:i,tokens:[{type:"text",raw:s,text:s}]}}},t.inlineText=function(e,t,n){if(e=this.rules.inline.text.exec(e))return n=t?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(e[0]):F(e[0]):e[0]:F(this.options.smartypants?n(e[0]):e[0]),{type:"text",raw:e[0],text:n}},e}(),N=x,R=_;x=I,(_={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?! {0,3}bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)|(?!script|pre|style)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,nptable:N,table:N,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html| +\n)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/}).def=R(_.def).replace("label",_._label).replace("title",_._title).getRegex(),_.bullet=/(?:[*+-]|\d{1,9}[.)])/,_.item=/^( *)(bull) ?[^\n]*(?:\n(?! *bull ?)[^\n]*)*/,_.item=R(_.item,"gm").replace(/bull/g,_.bullet).getRegex(),_.listItemStart=R(/^( *)(bull) */).replace("bull",_.bullet).getRegex(),_.list=R(_.list).replace(/bull/g,_.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+_.def.source+")").getRegex(),_._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",_._comment=/|$)/,_.html=R(_.html,"i").replace("comment",_._comment).replace("tag",_._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),_.paragraph=R(_._paragraph).replace("hr",_.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",_._tag).getRegex(),_.blockquote=R(_.blockquote).replace("paragraph",_.paragraph).getRegex(),_.normal=x({},_),_.gfm=x({},_.normal,{nptable:"^ *([^|\\n ].*\\|.*)\\n {0,3}([-:]+ *\\|[-| :]*)(?:\\n((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)",table:"^ *\\|(.+)\\n {0,3}\\|?( *[-:]+[-| :]*)(?:\\n *((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),_.gfm.nptable=R(_.gfm.nptable).replace("hr",_.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",_._tag).getRegex(),_.gfm.table=R(_.gfm.table).replace("hr",_.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",_._tag).getRegex(),_.pedantic=x({},_.normal,{html:R("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?\\1> *(?:\\n{2,}|\\s*$)|'+(n?e:W(e,!0))+"
\n":"
\n"},t.blockquote=function(e){return""+(n?e:W(e,!0))+"
\n"+e+"
\n"},t.html=function(e){return e},t.heading=function(e,t,n,s){return this.options.headerIds?"
\n":"
\n"},t.list=function(e,t,n){var s=t?"ol":"ul";return"<"+s+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+""+s+">\n"},t.listitem=function(e){return"\n\n"+e+"\n"+(t=t&&""+t+"")+"
\n"},t.tablerow=function(e){return"\n"+e+" \n"},t.tablecell=function(e,t){var n=t.header?"th":"td";return(t.align?"<"+n+' align="'+t.align+'">':"<"+n+">")+e+""+n+">\n"},t.strong=function(e){return""+e+""},t.em=function(e){return""+e+""},t.codespan=function(e){return""+e+"
"},t.br=function(){return this.options.xhtml?"
":"
"},t.del=function(e){return""+e+""},t.link=function(e,t,n){return null===(e=q(this.options.sanitize,this.options.baseUrl,e))?n:(e='"+n+"")},t.image=function(e,t,n){return null===(e=q(this.options.sanitize,this.options.baseUrl,e))?n:(n='":">"))},t.text=function(e){return e},e}(),$=function(){function e(){}var t=e.prototype;return t.strong=function(e){return e},t.em=function(e){return e},t.codespan=function(e){return e},t.del=function(e){return e},t.html=function(e){return e},t.text=function(e){return e},t.link=function(e,t,n){return""+n},t.image=function(e,t,n){return""+n},t.br=function(){return""},e}(),J=function(){function e(){this.seen={}}var t=e.prototype;return t.serialize=function(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},t.getNextSafeSlug=function(e,t){var n=e,s=0;if(this.seen.hasOwnProperty(n))for(s=this.seen[e];n=e+"-"+ ++s,this.seen.hasOwnProperty(n););return t||(this.seen[e]=s,this.seen[n]=0),n},t.slug=function(e,t){void 0===t&&(t={});var n=this.serialize(e);return this.getNextSafeSlug(n,t.dryrun)},e}(),X=r.defaults,Z=C,ee=function(){function e(e){this.options=e||X,this.options.renderer=this.options.renderer||new Y,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new $,this.slugger=new J}e.parse=function(t,n){return new e(n).parse(t)},e.parseInline=function(t,n){return new e(n).parseInline(t)};var t=e.prototype;return t.parse=function(e,t){void 0===t&&(t=!0);for(var n,s,i,r,o,a,l,c,u,d,h,p,m,f,g,A="",y=e.length,v=0;v
"+se(e.message+"",!0)+"";throw e}}return r=r.defaults,re.options=re.setOptions=function(e){return te(re.defaults,e),ie(re.defaults),re},re.getDefaults=k,re.defaults=r,re.use=function(e){var t,n=te({},e);e.renderer&&function(){var t,s=re.defaults.renderer||new Y;for(t in e.renderer)!function(t){var n=s[t];s[t]=function(){for(var i=arguments.length,r=new Array(i),o=0;oAn error occurred:
"+se(e.message+"",!0)+"";throw e}},re.Parser=ee,re.parser=ee.parse,re.Renderer=Y,re.TextRenderer=$,re.Lexer=V,re.lexer=V.lex,re.Tokenizer=L,re.Slugger=J,re.parse=re}()},6962:()=>{},6238:function(e){e.exports=function(){"use strict";var e,t=11;function n(e,n){var s,i,r,o,a=n.attributes;if(n.nodeType!==t&&e.nodeType!==t){for(var l=a.length-1;l>=0;l--)i=(s=a[l]).name,r=s.namespaceURI,o=s.value,r?(i=s.localName||i,e.getAttributeNS(r,i)!==o&&("xmlns"===s.prefix&&(i=s.name),e.setAttributeNS(r,i,o))):e.getAttribute(i)!==o&&e.setAttribute(i,o);for(var c=e.attributes,u=c.length-1;u>=0;u--)i=(s=c[u]).name,(r=s.namespaceURI)?(i=s.localName||i,n.hasAttributeNS(r,i)||e.removeAttributeNS(r,i)):n.hasAttribute(i)||e.removeAttribute(i)}}var s="http://www.w3.org/1999/xhtml",i="undefined"==typeof document?void 0:document,r=!!i&&"content"in i.createElement("template"),o=!!i&&i.createRange&&"createContextualFragment"in i.createRange();function a(e){var t=i.createElement("template");return t.innerHTML=e,t.content.childNodes[0]}function l(t){return e||(e=i.createRange()).selectNode(i.body),e.createContextualFragment(t).childNodes[0]}function c(e){var t=i.createElement("body");return t.innerHTML=e,t.childNodes[0]}function u(e){return e=e.trim(),r?a(e):o?l(e):c(e)}function d(e,t){var n,s,i=e.nodeName,r=t.nodeName;return i===r||(n=i.charCodeAt(0),s=r.charCodeAt(0),n<=90&&s>=97?i===r.toUpperCase():s<=90&&n>=97&&r===i.toUpperCase())}function h(e,t){return t&&t!==s?i.createElementNS(t,e):i.createElement(e)}function p(e,t){for(var n=e.firstChild;n;){var s=n.nextSibling;t.appendChild(n),n=s}return t}function m(e,t,n){e[n]!==t[n]&&(e[n]=t[n],e[n]?e.setAttribute(n,""):e.removeAttribute(n))}var f={OPTION:function(e,t){var n=e.parentNode;if(n){var s=n.nodeName.toUpperCase();"OPTGROUP"===s&&(s=(n=n.parentNode)&&n.nodeName.toUpperCase()),"SELECT"!==s||n.hasAttribute("multiple")||(e.hasAttribute("selected")&&!t.selected&&(e.setAttribute("selected","selected"),e.removeAttribute("selected")),n.selectedIndex=-1)}m(e,t,"selected")},INPUT:function(e,t){m(e,t,"checked"),m(e,t,"disabled"),e.value!==t.value&&(e.value=t.value),t.hasAttribute("value")||e.removeAttribute("value")},TEXTAREA:function(e,t){var n=t.value;e.value!==n&&(e.value=n);var s=e.firstChild;if(s){var i=s.nodeValue;if(i==n||!n&&i==e.placeholder)return;s.nodeValue=n}},SELECT:function(e,t){if(!t.hasAttribute("multiple")){for(var n,s,i=-1,r=0,o=e.firstChild;o;)if("OPTGROUP"===(s=o.nodeName&&o.nodeName.toUpperCase()))o=(n=o).firstChild;else{if("OPTION"===s){if(o.hasAttribute("selected")){i=r;break}r++}!(o=o.nextSibling)&&n&&(o=n.nextSibling,n=null)}e.selectedIndex=i}}},g=1,A=11,y=3,v=8;function b(){}function w(e){if(e)return e.getAttribute&&e.getAttribute("id")||e.id}function k(e){return function(t,n,s){if(s||(s={}),"string"==typeof n)if("#document"===t.nodeName||"HTML"===t.nodeName||"BODY"===t.nodeName){var r=n;(n=i.createElement("html")).innerHTML=r}else n=u(n);var o=s.getNodeKey||w,a=s.onBeforeNodeAdded||b,l=s.onNodeAdded||b,c=s.onBeforeElUpdated||b,m=s.onElUpdated||b,k=s.onBeforeNodeDiscarded||b,C=s.onNodeDiscarded||b,_=s.onBeforeElChildrenUpdated||b,E=!0===s.childrenOnly,x=Object.create(null),I=[];function S(e){I.push(e)}function D(e,t){if(e.nodeType===g)for(var n=e.firstChild;n;){var s=void 0;t&&(s=o(n))?S(s):(C(n),n.firstChild&&D(n,t)),n=n.nextSibling}}function B(e,t,n){!1!==k(e)&&(t&&t.removeChild(e),C(e),D(e,n))}function P(e){if(e.nodeType===g||e.nodeType===A)for(var t=e.firstChild;t;){var n=o(t);n&&(x[n]=t),P(t),t=t.nextSibling}}function T(e){l(e);for(var t=e.firstChild;t;){var n=t.nextSibling,s=o(t);if(s){var i=x[s];i&&d(t,i)?(t.parentNode.replaceChild(i,t),M(i,t)):T(t)}else T(t);t=n}}function F(e,t,n){for(;t;){var s=t.nextSibling;(n=o(t))?S(n):B(t,e,!0),t=s}}function M(t,n,s){var i=o(n);if(i&&delete x[i],!s){if(!1===c(t,n))return;if(e(t,n),m(t),!1===_(t,n))return}"TEXTAREA"!==t.nodeName?O(t,n):f.TEXTAREA(t,n)}function O(e,t){var n,s,r,l,c,u=t.firstChild,h=e.firstChild;e:for(;u;){for(l=u.nextSibling,n=o(u);h;){if(r=h.nextSibling,u.isSameNode&&u.isSameNode(h)){u=l,h=r;continue e}s=o(h);var p=h.nodeType,m=void 0;if(p===u.nodeType&&(p===g?(n?n!==s&&((c=x[n])?r===c?m=!1:(e.insertBefore(c,h),s?S(s):B(h,e,!0),h=c):m=!1):s&&(m=!1),(m=!1!==m&&d(h,u))&&M(h,u)):p!==y&&p!=v||(m=!0,h.nodeValue!==u.nodeValue&&(h.nodeValue=u.nodeValue))),m){u=l,h=r;continue e}s?S(s):B(h,e,!0),h=r}if(n&&(c=x[n])&&d(c,u))e.appendChild(c),M(c,u);else{var A=a(u);!1!==A&&(A&&(u=A),u.actualize&&(u=u.actualize(e.ownerDocument||i)),e.appendChild(u),T(u))}u=l,h=r}F(e,h,s);var b=f[e.nodeName];b&&b(e,t)}P(t);var L=t,N=L.nodeType,R=n.nodeType;if(!E)if(N===g)R===g?d(t,n)||(C(t),L=p(t,h(n.nodeName,n.namespaceURI))):L=n;else if(N===y||N===v){if(R===N)return L.nodeValue!==n.nodeValue&&(L.nodeValue=n.nodeValue),L;L=n}if(L===n)C(t);else{if(n.isSameNode&&n.isSameNode(L))return;if(M(L,n,E),I)for(var K=0,Q=I.length;K
11&&(e.year+=Math.floor(Math.abs(e.month)/12),e.month-=12),e},w={field:null,bound:void 0,ariaLabel:"Use the arrow keys to pick a date",position:"bottom left",reposition:!0,format:"YYYY-MM-DD",toString:null,parse:null,defaultDate:null,setDefaultDate:!1,firstDay:0,firstWeekOfYearMinDays:4,formatStrict:!1,minDate:null,maxDate:null,yearRange:10,showWeekNumber:!1,pickWholeWeek:!1,minYear:0,maxYear:9999,minMonth:void 0,maxMonth:void 0,startRange:null,endRange:null,isRTL:!1,yearSuffix:"",showMonthAfterYear:!1,showDaysInNextAndPreviousMonths:!1,enableSelectionDaysInNextAndPreviousMonths:!1,numberOfMonths:1,mainCalendar:"left",container:void 0,blurFieldOnSelect:!0,i18n:{previousMonth:"Previous Month",nextMonth:"Next Month",months:["January","February","March","April","May","June","July","August","September","October","November","December"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekdaysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},theme:null,events:[],onSelect:null,onOpen:null,onClose:null,onDraw:null,keyboardInput:!0},k=function(e,t,n){for(t+=e.firstDay;t>=7;)t-=7;return n?e.i18n.weekdaysShort[t]:e.i18n.weekdays[t]},C=function(e){var t=[],n="false";if(e.isEmpty){if(!e.showDaysInNextAndPreviousMonths)return'';t.push("is-outside-current-month"),e.enableSelectionDaysInNextAndPreviousMonths||t.push("is-selection-disabled")}return e.isDisabled&&t.push("is-disabled"),e.isToday&&t.push("is-today"),e.isSelected&&(t.push("is-selected"),n="true"),e.hasEvent&&t.push("has-event"),e.isInRange&&t.push("is-inrange"),e.isStartRange&&t.push("is-startrange"),e.isEndRange&&t.push("is-endrange"),' "},_=function(e,t){e.setHours(0,0,0,0);var n=e.getDate(),s=e.getDay(),i=t,r=i-1,o=7,a=function(e){return(e+o-1)%o};e.setDate(n+r-a(s));var l=new Date(e.getFullYear(),0,i),c=864e5,u=(e.getTime()-l.getTime())/c;return 1+Math.round((u-r+a(l.getDay()))/o)},E=function(n,s,i,r){var o=new Date(i,s,n);return' '+(t?e(o).isoWeek():_(o,r))+" "},x=function(e,t,n,s){return''+(t?e.reverse():e).join("")+" "},I=function(e){return""+e.join("")+""},S=function(e){var t,n=[];for(e.showWeekNumber&&n.push(""),t=0;t<7;t++)n.push(' '+k(e,t,!0)+" ");return""+(e.isRTL?n.reverse():n).join("")+" "},D=function(e,t,n,s,i,r){var o,a,l,c,u,h=e._o,p=n===h.minYear,m=n===h.maxYear,f='',g=!0,A=!0;for(l=[],o=0;o<12;o++)l.push('");for(c='"},B=function(e,t,n){return''+h.i18n.months[s]+'",d(h.yearRange)?(o=h.yearRange[0],a=h.yearRange[1]+1):(o=n-h.yearRange,a=1+n+h.yearRange),l=[];o=h.minYear&&l.push('");return u=''+n+h.yearSuffix+'",h.showMonthAfterYear?f+=u+c:f+=c+u,p&&(0===s||h.minMonth>=s)&&(g=!1),m&&(11===s||h.maxMonth<=s)&&(A=!1),0===t&&(f+='"),t===e._o.numberOfMonths-1&&(f+='"),f+"'+S(e)+I(t)+"
"},P=function(o){var a=this,c=a.config(o);a._onMouseDown=function(e){if(a._v){var t=(e=e||window.event).target||e.srcElement;if(t)if(l(t,"is-disabled")||(!l(t,"pika-button")||l(t,"is-empty")||l(t.parentNode,"is-disabled")?l(t,"pika-prev")?a.prevMonth():l(t,"pika-next")&&a.nextMonth():(a.setDate(new Date(t.getAttribute("data-pika-year"),t.getAttribute("data-pika-month"),t.getAttribute("data-pika-day"))),c.bound&&i((function(){a.hide(),c.blurFieldOnSelect&&c.field&&c.field.blur()}),100))),l(t,"pika-select"))a._c=!0;else{if(!e.preventDefault)return e.returnValue=!1,!1;e.preventDefault()}}},a._onChange=function(e){var t=(e=e||window.event).target||e.srcElement;t&&(l(t,"pika-select-month")?a.gotoMonth(t.value):l(t,"pika-select-year")&&a.gotoYear(t.value))},a._onKeyChange=function(e){if(e=e||window.event,a.isVisible())switch(e.keyCode){case 13:case 27:c.field&&c.field.blur();break;case 37:a.adjustDate("subtract",1);break;case 38:a.adjustDate("subtract",7);break;case 39:a.adjustDate("add",1);break;case 40:a.adjustDate("add",7);break;case 8:case 46:a.setDate(null)}},a._parseFieldValue=function(){if(c.parse)return c.parse(c.field.value,c.format);if(t){var n=e(c.field.value,c.format,c.formatStrict);return n&&n.isValid()?n.toDate():null}return new Date(Date.parse(c.field.value))},a._onInputChange=function(e){var t;e.firedBy!==a&&(t=a._parseFieldValue(),h(t)&&a.setDate(t),a._v||a.show())},a._onInputFocus=function(){a.show()},a._onInputClick=function(){a.show()},a._onInputBlur=function(){var e=s.activeElement;do{if(l(e,"pika-single"))return}while(e=e.parentNode);a._c||(a._b=i((function(){a.hide()}),50)),a._c=!1},a._onClick=function(e){var t=(e=e||window.event).target||e.srcElement,s=t;if(t){!n&&l(t,"pika-select")&&(t.onchange||(t.setAttribute("onchange","return;"),r(t,"change",a._onChange)));do{if(l(s,"pika-single")||s===c.trigger)return}while(s=s.parentNode);a._v&&t!==c.trigger&&s!==c.trigger&&a.hide()}},a.el=s.createElement("div"),a.el.className="pika-single"+(c.isRTL?" is-rtl":"")+(c.theme?" "+c.theme:""),r(a.el,"mousedown",a._onMouseDown,!0),r(a.el,"touchend",a._onMouseDown,!0),r(a.el,"change",a._onChange),c.keyboardInput&&r(s,"keydown",a._onKeyChange),c.field&&(c.container?c.container.appendChild(a.el):c.bound?s.body.appendChild(a.el):c.field.parentNode.insertBefore(a.el,c.field.nextSibling),r(c.field,"change",a._onInputChange),c.defaultDate||(c.defaultDate=a._parseFieldValue(),c.setDefaultDate=!0));var u=c.defaultDate;h(u)?c.setDefaultDate?a.setDate(u,!0):a.gotoDate(u):a.gotoDate(new Date),c.bound?(this.hide(),a.el.className+=" is-bound",r(c.trigger,"click",a._onInputClick),r(c.trigger,"focus",a._onInputFocus),r(c.trigger,"blur",a._onInputBlur)):this.show()};return P.prototype={config:function(e){this._o||(this._o=y({},w,!0));var t=y(this._o,e,!0);t.isRTL=!!t.isRTL,t.field=t.field&&t.field.nodeName?t.field:null,t.theme="string"==typeof t.theme&&t.theme?t.theme:null,t.bound=!!(void 0!==t.bound?t.field&&t.bound:t.field),t.trigger=t.trigger&&t.trigger.nodeName?t.trigger:t.field,t.disableWeekends=!!t.disableWeekends,t.disableDayFn="function"==typeof t.disableDayFn?t.disableDayFn:null;var n=parseInt(t.numberOfMonths,10)||1;if(t.numberOfMonths=n>4?4:n,h(t.minDate)||(t.minDate=!1),h(t.maxDate)||(t.maxDate=!1),t.minDate&&t.maxDate&&t.maxDate100&&(t.yearRange=100);return t},toString:function(n){return n=n||this._o.format,h(this._d)?this._o.toString?this._o.toString(this._d,n):t?e(this._d).format(n):this._d.toDateString():""},getMoment:function(){return t?e(this._d):null},setMoment:function(n,s){t&&e.isMoment(n)&&this.setDate(n.toDate(),s)},getDate:function(){return h(this._d)?new Date(this._d.getTime()):null},setDate:function(e,t){if(!e)return this._d=null,this._o.field&&(this._o.field.value="",v(this._o.field,"change",{firedBy:this})),this.draw();if("string"==typeof e&&(e=new Date(Date.parse(e))),h(e)){var n=this._o.minDate,s=this._o.maxDate;h(n)&&e s&&(e=s),this._d=new Date(e.getTime()),g(this._d),this.gotoDate(this._d),this._o.field&&(this._o.field.value=this.toString(),v(this._o.field,"change",{firedBy:this})),t||"function"!=typeof this._o.onSelect||this._o.onSelect.call(this,this.getDate())}},clear:function(){this.setDate(null)},gotoDate:function(e){var t=!0;if(h(e)){if(this.calendars){var n=new Date(this.calendars[0].year,this.calendars[0].month,1),s=new Date(this.calendars[this.calendars.length-1].year,this.calendars[this.calendars.length-1].month,1),i=e.getTime();s.setMonth(s.getMonth()+1),s.setDate(s.getDate()-1),t=i =r&&(this._y=r,!isNaN(a)&&this._m>a&&(this._m=a));for(var c=0;c '+D(this,c,this.calendars[c].year,this.calendars[c].month,this.calendars[0].year,t)+this.render(this.calendars[c].year,this.calendars[c].month,t)+"";this.el.innerHTML=l,n.bound&&"hidden"!==n.field.type&&i((function(){n.trigger.focus()}),1),"function"==typeof this._o.onDraw&&this._o.onDraw(this),n.bound&&n.field.setAttribute("aria-label",n.ariaLabel)}},adjustPosition:function(){var e,t,n,i,r,o,a,l,d,h,p,m;if(!this._o.container){if(this.el.style.position="absolute",t=e=this._o.trigger,n=this.el.offsetWidth,i=this.el.offsetHeight,r=window.innerWidth||s.documentElement.clientWidth,o=window.innerHeight||s.documentElement.clientHeight,a=window.pageYOffset||s.body.scrollTop||s.documentElement.scrollTop,p=!0,m=!0,"function"==typeof e.getBoundingClientRect)l=(h=e.getBoundingClientRect()).left+window.pageXOffset,d=h.bottom+window.pageYOffset;else for(l=t.offsetLeft,d=t.offsetTop+t.offsetHeight;t=t.offsetParent;)l+=t.offsetLeft,d+=t.offsetTop;(this._o.reposition&&l+n>r||this._o.position.indexOf("right")>-1&&l-n+e.offsetWidth>0)&&(l=l-n+e.offsetWidth,p=!1),(this._o.reposition&&d+i>o+a||this._o.position.indexOf("top")>-1&&d-i-e.offsetHeight>0)&&(d=d-i-e.offsetHeight,m=!1),this.el.style.left=l+"px",this.el.style.top=d+"px",c(this.el,p?"left-aligned":"right-aligned"),c(this.el,m?"bottom-aligned":"top-aligned"),u(this.el,p?"right-aligned":"left-aligned"),u(this.el,m?"top-aligned":"bottom-aligned")}},render:function(e,t,n){var s=this._o,i=new Date,r=f(e,t),o=new Date(e,t,1).getDay(),a=[],l=[];g(i),s.firstDay>0&&(o-=s.firstDay)<0&&(o+=7);for(var c=0===t?11:t-1,u=11===t?0:t+1,d=0===t?e-1:e,m=11===t?e+1:e,y=f(d,c),v=r+o,b=v;b>7;)b-=7;v+=7-b;for(var w=!1,k=0,_=0;k =r+o,F=k-o+1,M=t,O=e,L=s.startRange&&A(s.startRange,I),N=s.endRange&&A(s.endRange,I),R=s.startRange&&s.endRange&&s.startRanges.maxDate||s.disableWeekends&&p(I)||s.disableDayFn&&s.disableDayFn(I),isEmpty:T,isStartRange:L,isEndRange:N,isInRange:R,showDaysInNextAndPreviousMonths:s.showDaysInNextAndPreviousMonths,enableSelectionDaysInNextAndPreviousMonths:s.enableSelectionDaysInNextAndPreviousMonths};s.pickWholeWeek&&S&&(w=!0),l.push(C(K)),7==++_&&(s.showWeekNumber&&l.unshift(E(k-o,t,e,s.firstWeekOfYearMinDays)),a.push(x(l,s.isRTL,s.pickWholeWeek,w)),l=[],_=0,w=!1)}return B(s,a,n)},isVisible:function(){return this._v},show:function(){this.isVisible()||(this._v=!0,this.draw(),u(this.el,"is-hidden"),this._o.bound&&(r(s,"click",this._onClick),this.adjustPosition()),"function"==typeof this._o.onOpen&&this._o.onOpen.call(this))},hide:function(){var e=this._v;!1!==e&&(this._o.bound&&o(s,"click",this._onClick),this._o.container||(this.el.style.position="static",this.el.style.left="auto",this.el.style.top="auto"),c(this.el,"is-hidden"),this._v=!1,void 0!==e&&"function"==typeof this._o.onClose&&this._o.onClose.call(this))},destroy:function(){var e=this._o;this.hide(),o(this.el,"mousedown",this._onMouseDown,!0),o(this.el,"touchend",this._onMouseDown,!0),o(this.el,"change",this._onChange),e.keyboardInput&&o(s,"keydown",this._onKeyChange),e.field&&(o(e.field,"change",this._onInputChange),e.bound&&(o(e.trigger,"click",this._onInputClick),o(e.trigger,"focus",this._onInputFocus),o(e.trigger,"blur",this._onInputBlur))),this.el.parentNode&&this.el.parentNode.removeChild(this.el)}},P}(i)}()},3401:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});const s='var Module=typeof self!=="undefined"&&typeof self.Module!=="undefined"?self.Module:{};var jsModule=Module;var moduleOverrides={};var key;for(key in Module){if(Module.hasOwnProperty(key)){moduleOverrides[key]=Module[key]}}var arguments_=[];var thisProgram="./this.program";var quit_=function(status,toThrow){throw toThrow};var ENVIRONMENT_IS_WEB=false;var ENVIRONMENT_IS_WORKER=false;var ENVIRONMENT_IS_NODE=false;var ENVIRONMENT_IS_SHELL=false;ENVIRONMENT_IS_WEB=typeof window==="object";ENVIRONMENT_IS_WORKER=typeof importScripts==="function";ENVIRONMENT_IS_NODE=typeof process==="object"&&typeof process.versions==="object"&&typeof process.versions.node==="string";ENVIRONMENT_IS_SHELL=!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_NODE&&!ENVIRONMENT_IS_WORKER;var scriptDirectory="";function locateFile(path){if(Module["locateFile"]){return Module["locateFile"](path,scriptDirectory)}return scriptDirectory+path}var read_,readAsync,readBinary,setWindowTitle;var nodeFS;var nodePath;if(ENVIRONMENT_IS_NODE){if(ENVIRONMENT_IS_WORKER){scriptDirectory=require("path").dirname(scriptDirectory)+"/"}else{scriptDirectory=__dirname+"/"}read_=function shell_read(filename,binary){if(!nodeFS)nodeFS=require("fs");if(!nodePath)nodePath=require("path");filename=nodePath["normalize"](filename);return nodeFS["readFileSync"](filename,binary?null:"utf8")};readBinary=function readBinary(filename){var ret=read_(filename,true);if(!ret.buffer){ret=new Uint8Array(ret)}assert(ret.buffer);return ret};if(process["argv"].length>1){thisProgram=process["argv"][1].replace(/\\\\/g,"/")}arguments_=process["argv"].slice(2);if(typeof module!=="undefined"){module["exports"]=Module}process["on"]("uncaughtException",function(ex){if(!(ex instanceof ExitStatus)){throw ex}});process["on"]("unhandledRejection",abort);quit_=function(status){process["exit"](status)};Module["inspect"]=function(){return"[Emscripten Module object]"}}else if(ENVIRONMENT_IS_SHELL){if(typeof read!="undefined"){read_=function shell_read(f){return read(f)}}readBinary=function readBinary(f){var data;if(typeof readbuffer==="function"){return new Uint8Array(readbuffer(f))}data=read(f,"binary");assert(typeof data==="object");return data};if(typeof scriptArgs!="undefined"){arguments_=scriptArgs}else if(typeof arguments!="undefined"){arguments_=arguments}if(typeof quit==="function"){quit_=function(status){quit(status)}}if(typeof print!=="undefined"){if(typeof console==="undefined")console={};console.log=print;console.warn=console.error=typeof printErr!=="undefined"?printErr:print}}else if(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER){if(ENVIRONMENT_IS_WORKER){scriptDirectory=self.location.href}else if(typeof document!=="undefined"&&document.currentScript){scriptDirectory=document.currentScript.src}if(scriptDirectory.indexOf("blob:")!==0){scriptDirectory=scriptDirectory.substr(0,scriptDirectory.lastIndexOf("/")+1)}else{scriptDirectory=""}{read_=function(url){var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.send(null);return xhr.responseText};if(ENVIRONMENT_IS_WORKER){readBinary=function(url){var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.responseType="arraybuffer";xhr.send(null);return new Uint8Array(xhr.response)}}readAsync=function(url,onload,onerror){var xhr=new XMLHttpRequest;xhr.open("GET",url,true);xhr.responseType="arraybuffer";xhr.onload=function(){if(xhr.status==200||xhr.status==0&&xhr.response){onload(xhr.response);return}onerror()};xhr.onerror=onerror;xhr.send(null)}}setWindowTitle=function(title){document.title=title}}else{}var out=Module["print"]||console.log.bind(console);var err=Module["printErr"]||console.warn.bind(console);for(key in moduleOverrides){if(moduleOverrides.hasOwnProperty(key)){Module[key]=moduleOverrides[key]}}moduleOverrides=null;if(Module["arguments"])arguments_=Module["arguments"];if(Module["thisProgram"])thisProgram=Module["thisProgram"];if(Module["quit"])quit_=Module["quit"];var wasmBinary;if(Module["wasmBinary"])wasmBinary=Module["wasmBinary"];var noExitRuntime=Module["noExitRuntime"]||true;if(typeof WebAssembly!=="object"){abort("no native wasm support detected")}var wasmMemory;var ABORT=false;var EXITSTATUS;function assert(condition,text){if(!condition){abort("Assertion failed: "+text)}}var ALLOC_NORMAL=0;var ALLOC_STACK=1;function allocate(slab,allocator){var ret;if(allocator==ALLOC_STACK){ret=stackAlloc(slab.length)}else{ret=_malloc(slab.length)}if(slab.subarray||slab.slice){HEAPU8.set(slab,ret)}else{HEAPU8.set(new Uint8Array(slab),ret)}return ret}var UTF8Decoder=typeof TextDecoder!=="undefined"?new TextDecoder("utf8"):undefined;function UTF8ArrayToString(heap,idx,maxBytesToRead){var endIdx=idx+maxBytesToRead;var endPtr=idx;while(heap[endPtr]&&!(endPtr>=endIdx))++endPtr;if(endPtr-idx>16&&heap.subarray&&UTF8Decoder){return UTF8Decoder.decode(heap.subarray(idx,endPtr))}else{var str="";while(idx >10,56320|ch&1023)}}}return str}function UTF8ToString(ptr,maxBytesToRead){return ptr?UTF8ArrayToString(HEAPU8,ptr,maxBytesToRead):""}function alignUp(x,multiple){if(x%multiple>0){x+=multiple-x%multiple}return x}var buffer,HEAP8,HEAPU8,HEAP16,HEAPU16,HEAP32,HEAPU32,HEAPF32,HEAPF64;function updateGlobalBufferAndViews(buf){buffer=buf;Module["HEAP8"]=HEAP8=new Int8Array(buf);Module["HEAP16"]=HEAP16=new Int16Array(buf);Module["HEAP32"]=HEAP32=new Int32Array(buf);Module["HEAPU8"]=HEAPU8=new Uint8Array(buf);Module["HEAPU16"]=HEAPU16=new Uint16Array(buf);Module["HEAPU32"]=HEAPU32=new Uint32Array(buf);Module["HEAPF32"]=HEAPF32=new Float32Array(buf);Module["HEAPF64"]=HEAPF64=new Float64Array(buf)}var INITIAL_MEMORY=Module["INITIAL_MEMORY"]||16777216;var wasmTable;var __ATPRERUN__=[];var __ATINIT__=[];var __ATMAIN__=[];var __ATPOSTRUN__=[];var runtimeInitialized=false;function preRun(){if(Module["preRun"]){if(typeof Module["preRun"]=="function")Module["preRun"]=[Module["preRun"]];while(Module["preRun"].length){addOnPreRun(Module["preRun"].shift())}}callRuntimeCallbacks(__ATPRERUN__)}function initRuntime(){runtimeInitialized=true;callRuntimeCallbacks(__ATINIT__)}function preMain(){callRuntimeCallbacks(__ATMAIN__)}function postRun(){if(Module["postRun"]){if(typeof Module["postRun"]=="function")Module["postRun"]=[Module["postRun"]];while(Module["postRun"].length){addOnPostRun(Module["postRun"].shift())}}callRuntimeCallbacks(__ATPOSTRUN__)}function addOnPreRun(cb){__ATPRERUN__.unshift(cb)}function addOnInit(cb){__ATINIT__.unshift(cb)}function addOnPostRun(cb){__ATPOSTRUN__.unshift(cb)}var runDependencies=0;var runDependencyWatcher=null;var dependenciesFulfilled=null;function addRunDependency(id){runDependencies++;if(Module["monitorRunDependencies"]){Module["monitorRunDependencies"](runDependencies)}}function removeRunDependency(id){runDependencies--;if(Module["monitorRunDependencies"]){Module["monitorRunDependencies"](runDependencies)}if(runDependencies==0){if(runDependencyWatcher!==null){clearInterval(runDependencyWatcher);runDependencyWatcher=null}if(dependenciesFulfilled){var callback=dependenciesFulfilled;dependenciesFulfilled=null;callback()}}}Module["preloadedImages"]={};Module["preloadedAudios"]={};function abort(what){if(Module["onAbort"]){Module["onAbort"](what)}what+="";err(what);ABORT=true;EXITSTATUS=1;what="abort("+what+"). Build with -s ASSERTIONS=1 for more info.";var e=new WebAssembly.RuntimeError(what);throw e}function hasPrefix(str,prefix){return String.prototype.startsWith?str.startsWith(prefix):str.indexOf(prefix)===0}var dataURIPrefix="data:application/octet-stream;base64,";function isDataURI(filename){return hasPrefix(filename,dataURIPrefix)}var fileURIPrefix="file://";function isFileURI(filename){return hasPrefix(filename,fileURIPrefix)}var wasmBinaryFile="argon2.wasm";if(!isDataURI(wasmBinaryFile)){wasmBinaryFile=locateFile(wasmBinaryFile)}function getBinary(file){try{if(file==wasmBinaryFile&&wasmBinary){return new Uint8Array(wasmBinary)}if(readBinary){return readBinary(file)}else{throw"both async and sync fetching of the wasm failed"}}catch(err){abort(err)}}function getBinaryPromise(){if(!wasmBinary&&(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER)){if(typeof fetch==="function"&&!isFileURI(wasmBinaryFile)){return fetch(wasmBinaryFile,{credentials:"same-origin"}).then(function(response){if(!response["ok"]){throw"failed to load wasm binary file at \'"+wasmBinaryFile+"\'"}return response["arrayBuffer"]()}).catch(function(){return getBinary(wasmBinaryFile)})}else{if(readAsync){return new Promise(function(resolve,reject){readAsync(wasmBinaryFile,function(response){resolve(new Uint8Array(response))},reject)})}}}return Promise.resolve().then(function(){return getBinary(wasmBinaryFile)})}function createWasm(){var info={"a":asmLibraryArg};function receiveInstance(instance,module){var exports=instance.exports;Module["asm"]=exports;wasmMemory=Module["asm"]["c"];updateGlobalBufferAndViews(wasmMemory.buffer);wasmTable=Module["asm"]["k"];addOnInit(Module["asm"]["d"]);removeRunDependency("wasm-instantiate")}addRunDependency("wasm-instantiate");function receiveInstantiatedSource(output){Module=jsModule;if(typeof self!=="undefined")self.Module=Module;receiveInstance(output["instance"])}function instantiateArrayBuffer(receiver){return getBinaryPromise().then(function(binary){var result=WebAssembly.instantiate(binary,info);return result}).then(receiver,function(reason){err("failed to asynchronously prepare wasm: "+reason);abort(reason)})}function instantiateAsync(){if(!wasmBinary&&typeof WebAssembly.instantiateStreaming==="function"&&!isDataURI(wasmBinaryFile)&&!isFileURI(wasmBinaryFile)&&typeof fetch==="function"){return fetch(wasmBinaryFile,{credentials:"same-origin"}).then(function(response){var result=WebAssembly.instantiateStreaming(response,info);return result.then(receiveInstantiatedSource,function(reason){err("wasm streaming compile failed: "+reason);err("falling back to ArrayBuffer instantiation");return instantiateArrayBuffer(receiveInstantiatedSource)})})}else{return instantiateArrayBuffer(receiveInstantiatedSource)}}if(Module["instantiateWasm"]){try{var exports=Module["instantiateWasm"](info,receiveInstance);return exports}catch(e){err("Module.instantiateWasm callback failed with error: "+e);return false}}instantiateAsync();return{}}function callRuntimeCallbacks(callbacks){while(callbacks.length>0){var callback=callbacks.shift();if(typeof callback=="function"){callback(Module);continue}var func=callback.func;if(typeof func==="number"){if(callback.arg===undefined){wasmTable.get(func)()}else{wasmTable.get(func)(callback.arg)}}else{func(callback.arg===undefined?null:callback.arg)}}}function _emscripten_memcpy_big(dest,src,num){HEAPU8.copyWithin(dest,src,src+num)}function emscripten_realloc_buffer(size){try{wasmMemory.grow(size-buffer.byteLength+65535>>>16);updateGlobalBufferAndViews(wasmMemory.buffer);return 1}catch(e){}}function _emscripten_resize_heap(requestedSize){var oldSize=HEAPU8.length;var maxHeapSize=2147418112;if(requestedSize>maxHeapSize){return false}for(var cutDown=1;cutDown<=4;cutDown*=2){var overGrownHeapSize=oldSize*(1+.2/cutDown);overGrownHeapSize=Math.min(overGrownHeapSize,requestedSize+100663296);var newSize=Math.min(maxHeapSize,alignUp(Math.max(requestedSize,overGrownHeapSize),65536));var replacement=emscripten_realloc_buffer(newSize);if(replacement){return true}}return false}var asmLibraryArg={"a":_emscripten_memcpy_big,"b":_emscripten_resize_heap};var asm=createWasm();var ___wasm_call_ctors=Module["___wasm_call_ctors"]=function(){return(___wasm_call_ctors=Module["___wasm_call_ctors"]=Module["asm"]["d"]).apply(null,arguments)};var _argon2_hash=Module["_argon2_hash"]=function(){return(_argon2_hash=Module["_argon2_hash"]=Module["asm"]["e"]).apply(null,arguments)};var _malloc=Module["_malloc"]=function(){return(_malloc=Module["_malloc"]=Module["asm"]["f"]).apply(null,arguments)};var _free=Module["_free"]=function(){return(_free=Module["_free"]=Module["asm"]["g"]).apply(null,arguments)};var _argon2_verify=Module["_argon2_verify"]=function(){return(_argon2_verify=Module["_argon2_verify"]=Module["asm"]["h"]).apply(null,arguments)};var _argon2_error_message=Module["_argon2_error_message"]=function(){return(_argon2_error_message=Module["_argon2_error_message"]=Module["asm"]["i"]).apply(null,arguments)};var _argon2_encodedlen=Module["_argon2_encodedlen"]=function(){return(_argon2_encodedlen=Module["_argon2_encodedlen"]=Module["asm"]["j"]).apply(null,arguments)};var _argon2_hash_ext=Module["_argon2_hash_ext"]=function(){return(_argon2_hash_ext=Module["_argon2_hash_ext"]=Module["asm"]["l"]).apply(null,arguments)};var stackAlloc=Module["stackAlloc"]=function(){return(stackAlloc=Module["stackAlloc"]=Module["asm"]["m"]).apply(null,arguments)};Module["allocate"]=allocate;Module["UTF8ToString"]=UTF8ToString;Module["ALLOC_NORMAL"]=ALLOC_NORMAL;var calledRun;function ExitStatus(status){this.name="ExitStatus";this.message="Program terminated with exit("+status+")";this.status=status}dependenciesFulfilled=function runCaller(){if(!calledRun)run();if(!calledRun)dependenciesFulfilled=runCaller};function run(args){args=args||arguments_;if(runDependencies>0){return}preRun();if(runDependencies>0){return}function doRun(){if(calledRun)return;calledRun=true;Module["calledRun"]=true;if(ABORT)return;initRuntime();preMain();if(Module["onRuntimeInitialized"])Module["onRuntimeInitialized"]();postRun()}if(Module["setStatus"]){Module["setStatus"]("Running...");setTimeout(function(){setTimeout(function(){Module["setStatus"]("")},1);doRun()},1)}else{doRun()}}Module["run"]=run;if(Module["preInit"]){if(typeof Module["preInit"]=="function")Module["preInit"]=[Module["preInit"]];while(Module["preInit"].length>0){Module["preInit"].pop()()}}run();if(typeof module!=="undefined")module.exports=Module;Module.unloadRuntime=function(){if(typeof self!=="undefined"){delete self.Module}Module=jsModule=wasmMemory=wasmTable=asm=buffer=HEAP8=HEAPU8=HEAP16=HEAPU16=HEAP32=HEAPU32=HEAPF32=HEAPF64=undefined;if(typeof module!=="undefined"){delete module.exports}};\n'},7119:(e,t,n)=>{"use strict";n.r(t),n.d(t,{RuntimeInfo:()=>s});const s={version:"1.18.4-beta",beta:!0,buildDate:"2021-05-13",commit:"4fb25451",devMode:"",appleTeamId:"3LE7JZ657W"}},9164:(e,t,n)=>{"use strict";function s(e){return e&&e.__esModule?e:{default:e}}function i(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}t.__esModule=!0;var r=i(n(5825)),o=s(n(1066)),a=s(n(1958)),l=i(n(6188)),c=i(n(6936)),u=s(n(9135));function d(){var e=new r.HandlebarsEnvironment;return l.extend(e,r),e.SafeString=o.default,e.Exception=a.default,e.Utils=l,e.escapeExpression=l.escapeExpression,e.VM=c,e.template=function(t){return c.template(t,e)},e}var h=d();h.create=d,u.default(h),h.default=h,t.default=h,e.exports=t.default},5825:(e,t,n)=>{"use strict";function s(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.HandlebarsEnvironment=d;var i=n(6188),r=s(n(1958)),o=n(9442),a=n(1096),l=s(n(5429)),c=n(8456);t.VERSION="4.7.7";t.COMPILER_REVISION=8;t.LAST_COMPATIBLE_COMPILER_REVISION=7;t.REVISION_CHANGES={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"};var u="[object Object]";function d(e,t,n){this.helpers=e||{},this.partials=t||{},this.decorators=n||{},o.registerDefaultHelpers(this),a.registerDefaultDecorators(this)}d.prototype={constructor:d,logger:l.default,log:l.default.log,registerHelper:function(e,t){if(i.toString.call(e)===u){if(t)throw new r.default("Arg not supported with multiple helpers");i.extend(this.helpers,e)}else this.helpers[e]=t},unregisterHelper:function(e){delete this.helpers[e]},registerPartial:function(e,t){if(i.toString.call(e)===u)i.extend(this.partials,e);else{if(void 0===t)throw new r.default('Attempting to register a partial called "'+e+'" as undefined');this.partials[e]=t}},unregisterPartial:function(e){delete this.partials[e]},registerDecorator:function(e,t){if(i.toString.call(e)===u){if(t)throw new r.default("Arg not supported with multiple decorators");i.extend(this.decorators,e)}else this.decorators[e]=t},unregisterDecorator:function(e){delete this.decorators[e]},resetLoggedPropertyAccesses:function(){c.resetLoggedProperties()}};var h=l.default.log;t.log=h,t.createFrame=i.createFrame,t.logger=l.default},1096:(e,t,n)=>{"use strict";t.__esModule=!0,t.registerDefaultDecorators=function(e){r.default(e)};var s,i=n(5702),r=(s=i)&&s.__esModule?s:{default:s}},5702:(e,t,n)=>{"use strict";t.__esModule=!0;var s=n(6188);t.default=function(e){e.registerDecorator("inline",(function(e,t,n,i){var r=e;return t.partials||(t.partials={},r=function(i,r){var o=n.partials;n.partials=s.extend({},o,t.partials);var a=e(i,r);return n.partials=o,a}),t.partials[i.args[0]]=i.fn,r}))},e.exports=t.default},1958:(e,t)=>{"use strict";t.__esModule=!0;var n=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function s(e,t){var i=t&&t.loc,r=void 0,o=void 0,a=void 0,l=void 0;i&&(r=i.start.line,o=i.end.line,a=i.start.column,l=i.end.column,e+=" - "+r+":"+a);for(var c=Error.prototype.constructor.call(this,e),u=0;u {"use strict";function s(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.registerDefaultHelpers=function(e){i.default(e),r.default(e),o.default(e),a.default(e),l.default(e),c.default(e),u.default(e)},t.moveHelperToHooks=function(e,t,n){e.helpers[t]&&(e.hooks[t]=e.helpers[t],n||delete e.helpers[t])};var i=s(n(4684)),r=s(n(8962)),o=s(n(3774)),a=s(n(9064)),l=s(n(4315)),c=s(n(3906)),u=s(n(6912))},4684:(e,t,n)=>{"use strict";t.__esModule=!0;var s=n(6188);t.default=function(e){e.registerHelper("blockHelperMissing",(function(t,n){var i=n.inverse,r=n.fn;if(!0===t)return r(this);if(!1===t||null==t)return i(this);if(s.isArray(t))return t.length>0?(n.ids&&(n.ids=[n.name]),e.helpers.each(t,n)):i(this);if(n.data&&n.ids){var o=s.createFrame(n.data);o.contextPath=s.appendContextPath(n.data.contextPath,n.name),n={data:o}}return r(t,n)}))},e.exports=t.default},8962:(e,t,n)=>{"use strict";t.__esModule=!0;var s,i=n(6188),r=n(1958),o=(s=r)&&s.__esModule?s:{default:s};t.default=function(e){e.registerHelper("each",(function(e,t){if(!t)throw new o.default("Must pass iterator to #each");var s,r=t.fn,a=t.inverse,l=0,c="",u=void 0,d=void 0;function h(t,n,s){u&&(u.key=t,u.index=n,u.first=0===n,u.last=!!s,d&&(u.contextPath=d+t)),c+=r(e[t],{data:u,blockParams:i.blockParams([e[t],t],[d+t,null])})}if(t.data&&t.ids&&(d=i.appendContextPath(t.data.contextPath,t.ids[0])+"."),i.isFunction(e)&&(e=e.call(this)),t.data&&(u=i.createFrame(t.data)),e&&"object"==typeof e)if(i.isArray(e))for(var p=e.length;l {"use strict";t.__esModule=!0;var s,i=n(1958),r=(s=i)&&s.__esModule?s:{default:s};t.default=function(e){e.registerHelper("helperMissing",(function(){if(1!==arguments.length)throw new r.default('Missing helper: "'+arguments[arguments.length-1].name+'"')}))},e.exports=t.default},9064:(e,t,n)=>{"use strict";t.__esModule=!0;var s,i=n(6188),r=n(1958),o=(s=r)&&s.__esModule?s:{default:s};t.default=function(e){e.registerHelper("if",(function(e,t){if(2!=arguments.length)throw new o.default("#if requires exactly one argument");return i.isFunction(e)&&(e=e.call(this)),!t.hash.includeZero&&!e||i.isEmpty(e)?t.inverse(this):t.fn(this)})),e.registerHelper("unless",(function(t,n){if(2!=arguments.length)throw new o.default("#unless requires exactly one argument");return e.helpers.if.call(this,t,{fn:n.inverse,inverse:n.fn,hash:n.hash})}))},e.exports=t.default},4315:(e,t)=>{"use strict";t.__esModule=!0,t.default=function(e){e.registerHelper("log",(function(){for(var t=[void 0],n=arguments[arguments.length-1],s=0;s
{"use strict";t.__esModule=!0,t.default=function(e){e.registerHelper("lookup",(function(e,t,n){return e?n.lookupProperty(e,t):e}))},e.exports=t.default},6912:(e,t,n)=>{"use strict";t.__esModule=!0;var s,i=n(6188),r=n(1958),o=(s=r)&&s.__esModule?s:{default:s};t.default=function(e){e.registerHelper("with",(function(e,t){if(2!=arguments.length)throw new o.default("#with requires exactly one argument");i.isFunction(e)&&(e=e.call(this));var n=t.fn;if(i.isEmpty(e))return t.inverse(this);var s=t.data;return t.data&&t.ids&&((s=i.createFrame(t.data)).contextPath=i.appendContextPath(t.data.contextPath,t.ids[0])),n(e,{data:s,blockParams:i.blockParams([e],[s&&s.contextPath])})}))},e.exports=t.default},7125:(e,t,n)=>{"use strict";t.__esModule=!0,t.createNewLookupObject=function(){for(var e=arguments.length,t=Array(e),n=0;n {"use strict";t.__esModule=!0,t.createProtoAccessControl=function(e){var t=Object.create(null);t.constructor=!1,t.__defineGetter__=!1,t.__defineSetter__=!1,t.__lookupGetter__=!1;var n=Object.create(null);return n.__proto__=!1,{properties:{whitelist:s.createNewLookupObject(n,e.allowedProtoProperties),defaultValue:e.allowProtoPropertiesByDefault},methods:{whitelist:s.createNewLookupObject(t,e.allowedProtoMethods),defaultValue:e.allowProtoMethodsByDefault}}},t.resultIsAllowed=function(e,t,n){return o("function"==typeof e?t.methods:t.properties,n)},t.resetLoggedProperties=function(){Object.keys(r).forEach((function(e){delete r[e]}))};var s=n(7125),i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(5429)),r=Object.create(null);function o(e,t){return void 0!==e.whitelist[t]?!0===e.whitelist[t]:void 0!==e.defaultValue?e.defaultValue:(function(e){!0!==r[e]&&(r[e]=!0,i.log("error",'Handlebars: Access has been denied to resolve the property "'+e+'" because it is not an "own property" of its parent.\nYou can add a runtime option to disable the check or this warning:\nSee https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details'))}(t),!1)}},1776:(e,t)=>{"use strict";t.__esModule=!0,t.wrapHelper=function(e,t){if("function"!=typeof e)return e;return function(){var n=arguments[arguments.length-1];return arguments[arguments.length-1]=t(n),e.apply(this,arguments)}}},5429:(e,t,n)=>{"use strict";t.__esModule=!0;var s=n(6188),i={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(e){if("string"==typeof e){var t=s.indexOf(i.methodMap,e.toLowerCase());e=t>=0?t:parseInt(e,10)}return e},log:function(e){if(e=i.lookupLevel(e),"undefined"!=typeof console&&i.lookupLevel(i.level)<=e){var t=i.methodMap[e];console[t]||(t="log");for(var n=arguments.length,s=Array(n>1?n-1:0),r=1;r {"use strict";t.__esModule=!0,t.default=function(e){var t=void 0!==n.g?n.g:window,s=t.Handlebars;e.noConflict=function(){return t.Handlebars===e&&(t.Handlebars=s),e}},e.exports=t.default},6936:(e,t,n)=>{"use strict";t.__esModule=!0,t.checkRevision=function(e){var t=e&&e[0]||1,n=a.COMPILER_REVISION;if(t>=a.LAST_COMPATIBLE_COMPILER_REVISION&&t<=a.COMPILER_REVISION)return;if(t {"use strict";function n(e){this.string=e}t.__esModule=!0,n.prototype.toString=n.prototype.toHTML=function(){return""+this.string},t.default=n,e.exports=t.default},6188:(e,t)=>{"use strict";t.__esModule=!0,t.extend=o,t.indexOf=function(e,t){for(var n=0,s=e.length;n ":">",'"':""","'":"'","`":"`","=":"="},s=/[&<>"'`=]/g,i=/[&<>"'`=]/;function r(e){return n[e]}function o(e){for(var t=1;t{e.exports=n(9164).default},4855:(e,t,n)=>{!function(e){"use strict";var t=function(e,t){this.hi=0|e,this.lo=0|t},s=function(e){var t,n=new Float64Array(16);if(e)for(t=0;t >>32-t}function g(e,t){var n=255&e[t+3];return(n=(n=n<<8|255&e[t+2])<<8|255&e[t+1])<<8|255&e[t+0]}function A(e,n){var s=e[n]<<24|e[n+1]<<16|e[n+2]<<8|e[n+3],i=e[n+4]<<24|e[n+5]<<16|e[n+6]<<8|e[n+7];return new t(s,i)}function y(e,t,n){var s;for(s=0;s<4;s++)e[t+s]=255&n,n>>>=8}function v(e,t,n){e[t]=n.hi>>24&255,e[t+1]=n.hi>>16&255,e[t+2]=n.hi>>8&255,e[t+3]=255&n.hi,e[t+4]=n.lo>>24&255,e[t+5]=n.lo>>16&255,e[t+6]=n.lo>>8&255,e[t+7]=255&n.lo}function b(e,t,n,s,i){var r,o=0;for(r=0;r>>8)-1}function w(e,t,n,s){return b(e,t,n,s,16)}function k(e,t,n,s){return b(e,t,n,s,32)}function C(e,t,n,s,i){var r,o,a,l=new Uint32Array(16),c=new Uint32Array(16),u=new Uint32Array(16),d=new Uint32Array(4);for(r=0;r<4;r++)c[5*r]=g(s,4*r),c[1+r]=g(n,4*r),c[6+r]=g(t,4*r),c[11+r]=g(n,16+4*r);for(r=0;r<16;r++)u[r]=c[r];for(r=0;r<20;r++){for(o=0;o<4;o++){for(a=0;a<4;a++)d[a]=c[(5*o+4*a)%16];for(d[1]^=f(d[0]+d[3]|0,7),d[2]^=f(d[1]+d[0]|0,9),d[3]^=f(d[2]+d[1]|0,13),d[0]^=f(d[3]+d[2]|0,18),a=0;a<4;a++)l[4*o+(o+a)%4]=d[a]}for(a=0;a<16;a++)c[a]=l[a]}if(i){for(r=0;r<16;r++)c[r]=c[r]+u[r]|0;for(r=0;r<4;r++)c[5*r]=c[5*r]-g(s,4*r)|0,c[6+r]=c[6+r]-g(t,4*r)|0;for(r=0;r<4;r++)y(e,4*r,c[5*r]),y(e,16+4*r,c[6+r])}else for(r=0;r<16;r++)y(e,4*r,c[r]+u[r]|0)}function _(e,t,n,s){C(e,t,n,s,!1)}function E(e,t,n,s){return C(e,t,n,s,!0),0}var x=new Uint8Array([101,120,112,97,110,100,32,51,50,45,98,121,116,101,32,107]);function I(e,t,n,s,i,r,o){var a,l,c=new Uint8Array(16),u=new Uint8Array(64);if(!i)return 0;for(l=0;l<16;l++)c[l]=0;for(l=0;l<8;l++)c[l]=r[l];for(;64<=i;){for(_(u,c,o,x),l=0;l<64;l++)e[t+l]=(n?n[s+l]:0)^u[l];for(a=1,l=8;l<16;l++)a=a+(255&c[l])|0,c[l]=255&a,a>>>=8;i-=64,t+=64,n&&(s+=64)}if(0>>=8}var T=new Uint32Array([5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,252]);function F(e,t,n,s,i,r){var o,a,l,c,u=new Uint32Array(17),d=new Uint32Array(17),h=new Uint32Array(17),p=new Uint32Array(17),m=new Uint32Array(17);for(l=0;l<17;l++)d[l]=h[l]=0;for(l=0;l<16;l++)d[l]=r[l];for(d[3]&=15,d[4]&=252,d[7]&=15,d[8]&=252,d[11]&=15,d[12]&=252,d[15]&=15;0>>=8;for(c=c+h[16]|0,h[16]=3&c,c=5*(c>>>2)|0,l=0;l<16;l++)c=c+h[l]|0,h[l]=255&c,c>>>=8;c=c+h[16]|0,h[16]=c}for(l=0;l<17;l++)m[l]=h[l];for(P(h,T),o=0|-(h[16]>>>7),l=0;l<17;l++)h[l]^=o&(m[l]^h[l]);for(l=0;l<16;l++)p[l]=r[l+16];for(p[16]=0,P(h,p),l=0;l<16;l++)e[t+l]=h[l];return 0}function M(e,t,n,s,i,r){var o=new Uint8Array(16);return F(o,0,n,s,i,r),w(e,t,o,0)}function O(e,t,n,s,i){var r;if(n<32)return-1;for(B(e,0,t,0,n,s,i),F(e,16,e,32,n-32,e),r=0;r<16;r++)e[r]=0;return 0}function L(e,t,n,s,i){var r,o=new Uint8Array(32);if(n<32)return-1;if(D(o,0,32,s,i),0!==M(t,16,t,32,n-32,o))return-1;for(B(e,0,t,0,n,s,i),r=0;r<32;r++)e[r]=0;return 0}function N(e,t){var n;for(n=0;n<16;n++)e[n]=0|t[n]}function R(e){var t,n;for(n=0;n<16;n++)e[n]+=65536,t=Math.floor(e[n]/65536),e[(n+1)*(n<15?1:0)]+=t-1+37*(t-1)*(15===n?1:0),e[n]-=65536*t}function K(e,t,n){for(var s,i=~(n-1),r=0;r<16;r++)s=i&(e[r]^t[r]),e[r]^=s,t[r]^=s}function Q(e,t){var n,i,r,o=s(),a=s();for(n=0;n<16;n++)a[n]=t[n];for(R(a),R(a),R(a),i=0;i<2;i++){for(o[0]=a[0]-65517,n=1;n<15;n++)o[n]=a[n]-65535-(o[n-1]>>16&1),o[n-1]&=65535;o[15]=a[15]-32767-(o[14]>>16&1),r=o[15]>>16&1,o[14]&=65535,K(a,o,1-r)}for(n=0;n<16;n++)e[2*n]=255&a[n],e[2*n+1]=a[n]>>8}function U(e,t){var n=new Uint8Array(32),s=new Uint8Array(32);return Q(n,e),Q(s,t),k(n,0,s,0)}function j(e){var t=new Uint8Array(32);return Q(t,e),1&t[0]}function G(e,t){var n;for(n=0;n<16;n++)e[n]=t[2*n]+(t[2*n+1]<<8);e[15]&=32767}function H(e,t,n){var s;for(s=0;s<16;s++)e[s]=t[s]+n[s]|0}function V(e,t,n){var s;for(s=0;s<16;s++)e[s]=t[s]-n[s]|0}function z(e,t,n){var s,i,r=new Float64Array(31);for(s=0;s<31;s++)r[s]=0;for(s=0;s<16;s++)for(i=0;i<16;i++)r[s+i]+=t[s]*n[i];for(s=0;s<15;s++)r[s]+=38*r[s+16];for(s=0;s<16;s++)e[s]=r[s];R(e),R(e)}function q(e,t){z(e,t,t)}function W(e,t){var n,i=s();for(n=0;n<16;n++)i[n]=t[n];for(n=253;0<=n;n--)q(i,i),2!==n&&4!==n&&z(i,i,t);for(n=0;n<16;n++)e[n]=i[n]}function Y(e,t){var n,i=s();for(n=0;n<16;n++)i[n]=t[n];for(n=250;0<=n;n--)q(i,i),1!==n&&z(i,i,t);for(n=0;n<16;n++)e[n]=i[n]}function $(e,t,n){var i,r,o=new Uint8Array(32),a=new Float64Array(80),l=s(),u=s(),d=s(),h=s(),p=s(),m=s();for(r=0;r<31;r++)o[r]=t[r];for(o[31]=127&t[31]|64,o[0]&=248,G(a,n),r=0;r<16;r++)u[r]=a[r],h[r]=l[r]=d[r]=0;for(l[0]=h[0]=1,r=254;0<=r;--r)K(l,u,i=o[r>>>3]>>>(7&r)&1),K(d,h,i),H(p,l,d),V(l,l,d),H(d,u,h),V(u,u,h),q(h,p),q(m,l),z(l,d,l),z(d,u,p),H(p,l,d),V(l,l,d),q(u,l),V(d,h,m),z(l,d,c),H(l,l,h),z(d,d,l),z(l,h,m),z(h,u,a),q(u,p),K(l,u,i),K(d,h,i);for(r=0;r<16;r++)a[r+16]=l[r],a[r+32]=d[r],a[r+48]=u[r],a[r+64]=h[r];var f=a.subarray(32),g=a.subarray(16);return W(f,f),z(g,g,f),Q(e,g),0}function J(e,t){return $(e,t,o)}function X(e,t){return i(t,32),J(e,t)}function Z(e,t,n){var s=new Uint8Array(32);return $(s,n,t),E(e,r,s,x)}var ee=O,te=L;function ne(){var e,n,s,i=0,r=0,o=0,a=0,l=65535;for(s=0;s >>16,o+=(n=arguments[s].hi)&l,a+=n>>>16;return new t((o+=(r+=i>>>16)>>>16)&l|(a+=o>>>16)<<16,i&l|r<<16)}function se(e,n){return new t(e.hi>>>n,e.lo>>>n|e.hi<<32-n)}function ie(){var e,n=0,s=0;for(e=0;e >>n|e.lo< >>n|e.hi< >>n|e.hi< >>n|e.lo< >(7&i)&1),ue(t,e),ue(e,e),de(e,t,s)}function me(e,t){var n=[s(),s(),s(),s()];N(n[0],h),N(n[1],p),N(n[2],l),z(n[3],h,p),pe(e,n,t)}function fe(e,t,n){var r,o=new Uint8Array(64),a=[s(),s(),s(),s()];for(n||i(t,32),ce(o,t,32),o[0]&=248,o[31]&=127,o[31]|=64,me(a,o),he(e,a),r=0;r<32;r++)t[r+32]=e[r];return 0}var ge=new Float64Array([237,211,245,92,26,99,18,88,214,156,247,162,222,249,222,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16]);function Ae(e,t){var n,s,i,r;for(s=63;32<=s;--s){for(n=0,i=s-32,r=s-12;i >4)*ge[i],n=t[i]>>8,t[i]&=255;for(i=0;i<32;i++)t[i]-=n*ge[i];for(s=0;s<32;s++)t[s+1]+=t[s]>>8,e[s]=255&t[s]}function ye(e){var t,n=new Float64Array(64);for(t=0;t<64;t++)n[t]=e[t];for(t=0;t<64;t++)e[t]=0;Ae(e,n)}function ve(e,t,n,i){var r,o,a=new Uint8Array(64),l=new Uint8Array(64),c=new Uint8Array(64),u=new Float64Array(64),d=[s(),s(),s(),s()];ce(a,i,32),a[0]&=248,a[31]&=127,a[31]|=64;var h=n+64;for(r=0;r >7&&V(e[0],a,e[0]),z(e[3],e[0],e[1])}(h,i))return-1;for(r=0;r {"use strict";e.exports=null},9782:()=>{}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var n=__webpack_module_cache__[e]={exports:{}};return __webpack_modules__[e].call(n.exports,n,n.exports,__webpack_require__),n.exports}__webpack_require__.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return __webpack_require__.d(t,{a:t}),t},__webpack_require__.d=(e,t)=>{for(var n in t)__webpack_require__.o(t,n)&&!__webpack_require__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__(9839),__webpack_require__(2789);var __webpack_exports__=__webpack_require__(6962)})();