@emailmaker/emailmaker 1.0.91 → 1.0.93-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +32 -2
- package/asset-manifest.json +32 -26
- package/emailmaker-esm.js +1 -1
- package/emailmaker.d.ts +261 -0
- package/emailmaker.js +1 -1
- package/iframe/429.js +1 -1
- package/iframe/766.js +1 -1
- package/iframe/iframe-eblock.bd2a2a73469f802abf17.html +1 -0
- package/iframe/iframe.bd2a2a73469f802abf17.html +1 -0
- package/iframe/js/826.e81dd4d6.js +1 -0
- package/iframe/sandbox-eblock.js +1 -1
- package/iframe/sandbox.js +1 -1
- package/package.json +1 -1
- package/plugin.html +1 -1
- package/plugin_blocks_test.html +1 -1
- package/plugin_default.html +1 -1
- package/plugin_idigital.html +1 -1
- package/plugin_nota.html +1 -1
- package/plugin_s.html +1 -1
- package/static/css/2458.05166c0a.chunk.css +1 -0
- package/static/css/6501.e131603e.chunk.css +1 -0
- package/static/css/9272.a4e58dd0.chunk.css +1 -0
- package/static/js/1390.87d39fe1.js +2 -0
- package/static/js/{1538.c37b25fc.chunk.js → 1538.06811304.chunk.js} +2 -2
- package/static/js/241.9aaa5790.js +2 -0
- package/static/js/{6498.bfe18798.js.LICENSE.txt → 241.9aaa5790.js.LICENSE.txt} +1 -1
- package/static/js/2458.504bef1c.chunk.js +2 -0
- package/static/js/3017.2e1f6413.chunk.js +1 -0
- package/static/js/3085.b9d27236.chunk.js +2 -0
- package/static/js/4560.b03bbb3f.chunk.js +2 -0
- package/static/js/4560.b03bbb3f.chunk.js.LICENSE.txt +101 -0
- package/static/js/6501.616f4dec.chunk.js +1 -0
- package/static/js/7091.d1a56e4b.js +1 -0
- package/static/js/7729.13361a78.js +1 -0
- package/static/js/8285.c8bdf11b.js +2 -0
- package/static/js/{1302.39ea1b43.js.LICENSE.txt → 8285.c8bdf11b.js.LICENSE.txt} +1 -14
- package/static/js/8408.459779d0.js +2 -0
- package/static/js/8408.459779d0.js.LICENSE.txt +9 -0
- package/static/js/898.2dcef4f3.js +2 -0
- package/static/js/9272.d5a35d82.chunk.js +1 -0
- package/static/js/9960.6dcf66f0.chunk.js +2 -0
- package/static/js/9960.6dcf66f0.chunk.js.LICENSE.txt +30 -0
- package/static/js/emailmaker_core.1c694217.js +2 -0
- package/static/media/project-email-back.0ce470def19ce7c063e0.svg +29 -0
- package/translations.pot +39 -15
- package/iframe/iframe-eblock.71b56f41e572450c6715.html +0 -1
- package/iframe/iframe.71b56f41e572450c6715.html +0 -1
- package/iframe/js/826.f9cbc257.js +0 -1
- package/static/css/3397.f2d44d65.chunk.css +0 -1
- package/static/js/1302.39ea1b43.js +0 -2
- package/static/js/3017.1bbeda89.chunk.js +0 -1
- package/static/js/3085.59662838.chunk.js +0 -2
- package/static/js/3273.6cedb8e0.js +0 -2
- package/static/js/3397.19e55db9.chunk.js +0 -2
- package/static/js/3758.c4bda075.js +0 -2
- package/static/js/3927.eb1dc39e.js +0 -1
- package/static/js/4138.7f4f36d7.js +0 -1
- package/static/js/6498.bfe18798.js +0 -2
- package/static/js/985.162f7f7b.js +0 -1
- package/static/js/9880.74dc5e4f.chunk.js +0 -2
- package/static/js/9880.74dc5e4f.chunk.js.LICENSE.txt +0 -9
- package/static/js/emailmaker_core.4a93d2c5.js +0 -2
- /package/iframe/js/{826.f9cbc257.js.LICENSE.txt → 826.e81dd4d6.js.LICENSE.txt} +0 -0
- /package/static/js/{3273.6cedb8e0.js.LICENSE.txt → 1390.87d39fe1.js.LICENSE.txt} +0 -0
- /package/static/js/{1538.c37b25fc.chunk.js.LICENSE.txt → 1538.06811304.chunk.js.LICENSE.txt} +0 -0
- /package/static/js/{3397.19e55db9.chunk.js.LICENSE.txt → 2458.504bef1c.chunk.js.LICENSE.txt} +0 -0
- /package/static/js/{3085.59662838.chunk.js.LICENSE.txt → 3085.b9d27236.chunk.js.LICENSE.txt} +0 -0
- /package/static/js/{3758.c4bda075.js.LICENSE.txt → 898.2dcef4f3.js.LICENSE.txt} +0 -0
- /package/static/js/{emailmaker_core.4a93d2c5.js.LICENSE.txt → emailmaker_core.1c694217.js.LICENSE.txt} +0 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see 898.2dcef4f3.js.LICENSE.txt */
|
|
2
|
+
(globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[]).push([[898],{88106:(e,t,n)=>{"use strict";function r(e){return e?e.replace(/\$\((.*?)\)/g,((e,t)=>` ${t} `)).trim():""}n.d(t,{R$:()=>r,W6:()=>s,j3:()=>i});class s{constructor(e,t,n){this.id=e,this.definition=t,this.description=n,s._allCodicons.push(this)}get classNames(){return"codicon codicon-"+this.id}get classNamesArray(){return["codicon","codicon-"+this.id]}get cssSelector(){return".codicon.codicon-"+this.id}static getAll(){return s._allCodicons}}var i;s._allCodicons=[],s.add=new s("add",{fontCharacter:"\\ea60"}),s.plus=new s("plus",s.add.definition),s.gistNew=new s("gist-new",s.add.definition),s.repoCreate=new s("repo-create",s.add.definition),s.lightbulb=new s("lightbulb",{fontCharacter:"\\ea61"}),s.lightBulb=new s("light-bulb",{fontCharacter:"\\ea61"}),s.repo=new s("repo",{fontCharacter:"\\ea62"}),s.repoDelete=new s("repo-delete",{fontCharacter:"\\ea62"}),s.gistFork=new s("gist-fork",{fontCharacter:"\\ea63"}),s.repoForked=new s("repo-forked",{fontCharacter:"\\ea63"}),s.gitPullRequest=new s("git-pull-request",{fontCharacter:"\\ea64"}),s.gitPullRequestAbandoned=new s("git-pull-request-abandoned",{fontCharacter:"\\ea64"}),s.recordKeys=new s("record-keys",{fontCharacter:"\\ea65"}),s.keyboard=new s("keyboard",{fontCharacter:"\\ea65"}),s.tag=new s("tag",{fontCharacter:"\\ea66"}),s.tagAdd=new s("tag-add",{fontCharacter:"\\ea66"}),s.tagRemove=new s("tag-remove",{fontCharacter:"\\ea66"}),s.person=new s("person",{fontCharacter:"\\ea67"}),s.personFollow=new s("person-follow",{fontCharacter:"\\ea67"}),s.personOutline=new s("person-outline",{fontCharacter:"\\ea67"}),s.personFilled=new s("person-filled",{fontCharacter:"\\ea67"}),s.gitBranch=new s("git-branch",{fontCharacter:"\\ea68"}),s.gitBranchCreate=new s("git-branch-create",{fontCharacter:"\\ea68"}),s.gitBranchDelete=new s("git-branch-delete",{fontCharacter:"\\ea68"}),s.sourceControl=new s("source-control",{fontCharacter:"\\ea68"}),s.mirror=new s("mirror",{fontCharacter:"\\ea69"}),s.mirrorPublic=new s("mirror-public",{fontCharacter:"\\ea69"}),s.star=new s("star",{fontCharacter:"\\ea6a"}),s.starAdd=new s("star-add",{fontCharacter:"\\ea6a"}),s.starDelete=new s("star-delete",{fontCharacter:"\\ea6a"}),s.starEmpty=new s("star-empty",{fontCharacter:"\\ea6a"}),s.comment=new s("comment",{fontCharacter:"\\ea6b"}),s.commentAdd=new s("comment-add",{fontCharacter:"\\ea6b"}),s.alert=new s("alert",{fontCharacter:"\\ea6c"}),s.warning=new s("warning",{fontCharacter:"\\ea6c"}),s.search=new s("search",{fontCharacter:"\\ea6d"}),s.searchSave=new s("search-save",{fontCharacter:"\\ea6d"}),s.logOut=new s("log-out",{fontCharacter:"\\ea6e"}),s.signOut=new s("sign-out",{fontCharacter:"\\ea6e"}),s.logIn=new s("log-in",{fontCharacter:"\\ea6f"}),s.signIn=new s("sign-in",{fontCharacter:"\\ea6f"}),s.eye=new s("eye",{fontCharacter:"\\ea70"}),s.eyeUnwatch=new s("eye-unwatch",{fontCharacter:"\\ea70"}),s.eyeWatch=new s("eye-watch",{fontCharacter:"\\ea70"}),s.circleFilled=new s("circle-filled",{fontCharacter:"\\ea71"}),s.primitiveDot=new s("primitive-dot",{fontCharacter:"\\ea71"}),s.closeDirty=new s("close-dirty",{fontCharacter:"\\ea71"}),s.debugBreakpoint=new s("debug-breakpoint",{fontCharacter:"\\ea71"}),s.debugBreakpointDisabled=new s("debug-breakpoint-disabled",{fontCharacter:"\\ea71"}),s.debugHint=new s("debug-hint",{fontCharacter:"\\ea71"}),s.primitiveSquare=new s("primitive-square",{fontCharacter:"\\ea72"}),s.edit=new s("edit",{fontCharacter:"\\ea73"}),s.pencil=new s("pencil",{fontCharacter:"\\ea73"}),s.info=new s("info",{fontCharacter:"\\ea74"}),s.issueOpened=new s("issue-opened",{fontCharacter:"\\ea74"}),s.gistPrivate=new s("gist-private",{fontCharacter:"\\ea75"}),s.gitForkPrivate=new s("git-fork-private",{fontCharacter:"\\ea75"}),s.lock=new s("lock",{fontCharacter:"\\ea75"}),s.mirrorPrivate=new s("mirror-private",{fontCharacter:"\\ea75"}),s.close=new s("close",{fontCharacter:"\\ea76"}),s.removeClose=new s("remove-close",{fontCharacter:"\\ea76"}),s.x=new s("x",{fontCharacter:"\\ea76"}),s.repoSync=new s("repo-sync",{fontCharacter:"\\ea77"}),s.sync=new s("sync",{fontCharacter:"\\ea77"}),s.clone=new s("clone",{fontCharacter:"\\ea78"}),s.desktopDownload=new s("desktop-download",{fontCharacter:"\\ea78"}),s.beaker=new s("beaker",{fontCharacter:"\\ea79"}),s.microscope=new s("microscope",{fontCharacter:"\\ea79"}),s.vm=new s("vm",{fontCharacter:"\\ea7a"}),s.deviceDesktop=new s("device-desktop",{fontCharacter:"\\ea7a"}),s.file=new s("file",{fontCharacter:"\\ea7b"}),s.fileText=new s("file-text",{fontCharacter:"\\ea7b"}),s.more=new s("more",{fontCharacter:"\\ea7c"}),s.ellipsis=new s("ellipsis",{fontCharacter:"\\ea7c"}),s.kebabHorizontal=new s("kebab-horizontal",{fontCharacter:"\\ea7c"}),s.mailReply=new s("mail-reply",{fontCharacter:"\\ea7d"}),s.reply=new s("reply",{fontCharacter:"\\ea7d"}),s.organization=new s("organization",{fontCharacter:"\\ea7e"}),s.organizationFilled=new s("organization-filled",{fontCharacter:"\\ea7e"}),s.organizationOutline=new s("organization-outline",{fontCharacter:"\\ea7e"}),s.newFile=new s("new-file",{fontCharacter:"\\ea7f"}),s.fileAdd=new s("file-add",{fontCharacter:"\\ea7f"}),s.newFolder=new s("new-folder",{fontCharacter:"\\ea80"}),s.fileDirectoryCreate=new s("file-directory-create",{fontCharacter:"\\ea80"}),s.trash=new s("trash",{fontCharacter:"\\ea81"}),s.trashcan=new s("trashcan",{fontCharacter:"\\ea81"}),s.history=new s("history",{fontCharacter:"\\ea82"}),s.clock=new s("clock",{fontCharacter:"\\ea82"}),s.folder=new s("folder",{fontCharacter:"\\ea83"}),s.fileDirectory=new s("file-directory",{fontCharacter:"\\ea83"}),s.symbolFolder=new s("symbol-folder",{fontCharacter:"\\ea83"}),s.logoGithub=new s("logo-github",{fontCharacter:"\\ea84"}),s.markGithub=new s("mark-github",{fontCharacter:"\\ea84"}),s.github=new s("github",{fontCharacter:"\\ea84"}),s.terminal=new s("terminal",{fontCharacter:"\\ea85"}),s.console=new s("console",{fontCharacter:"\\ea85"}),s.repl=new s("repl",{fontCharacter:"\\ea85"}),s.zap=new s("zap",{fontCharacter:"\\ea86"}),s.symbolEvent=new s("symbol-event",{fontCharacter:"\\ea86"}),s.error=new s("error",{fontCharacter:"\\ea87"}),s.stop=new s("stop",{fontCharacter:"\\ea87"}),s.variable=new s("variable",{fontCharacter:"\\ea88"}),s.symbolVariable=new s("symbol-variable",{fontCharacter:"\\ea88"}),s.array=new s("array",{fontCharacter:"\\ea8a"}),s.symbolArray=new s("symbol-array",{fontCharacter:"\\ea8a"}),s.symbolModule=new s("symbol-module",{fontCharacter:"\\ea8b"}),s.symbolPackage=new s("symbol-package",{fontCharacter:"\\ea8b"}),s.symbolNamespace=new s("symbol-namespace",{fontCharacter:"\\ea8b"}),s.symbolObject=new s("symbol-object",{fontCharacter:"\\ea8b"}),s.symbolMethod=new s("symbol-method",{fontCharacter:"\\ea8c"}),s.symbolFunction=new s("symbol-function",{fontCharacter:"\\ea8c"}),s.symbolConstructor=new s("symbol-constructor",{fontCharacter:"\\ea8c"}),s.symbolBoolean=new s("symbol-boolean",{fontCharacter:"\\ea8f"}),s.symbolNull=new s("symbol-null",{fontCharacter:"\\ea8f"}),s.symbolNumeric=new s("symbol-numeric",{fontCharacter:"\\ea90"}),s.symbolNumber=new s("symbol-number",{fontCharacter:"\\ea90"}),s.symbolStructure=new s("symbol-structure",{fontCharacter:"\\ea91"}),s.symbolStruct=new s("symbol-struct",{fontCharacter:"\\ea91"}),s.symbolParameter=new s("symbol-parameter",{fontCharacter:"\\ea92"}),s.symbolTypeParameter=new s("symbol-type-parameter",{fontCharacter:"\\ea92"}),s.symbolKey=new s("symbol-key",{fontCharacter:"\\ea93"}),s.symbolText=new s("symbol-text",{fontCharacter:"\\ea93"}),s.symbolReference=new s("symbol-reference",{fontCharacter:"\\ea94"}),s.goToFile=new s("go-to-file",{fontCharacter:"\\ea94"}),s.symbolEnum=new s("symbol-enum",{fontCharacter:"\\ea95"}),s.symbolValue=new s("symbol-value",{fontCharacter:"\\ea95"}),s.symbolRuler=new s("symbol-ruler",{fontCharacter:"\\ea96"}),s.symbolUnit=new s("symbol-unit",{fontCharacter:"\\ea96"}),s.activateBreakpoints=new s("activate-breakpoints",{fontCharacter:"\\ea97"}),s.archive=new s("archive",{fontCharacter:"\\ea98"}),s.arrowBoth=new s("arrow-both",{fontCharacter:"\\ea99"}),s.arrowDown=new s("arrow-down",{fontCharacter:"\\ea9a"}),s.arrowLeft=new s("arrow-left",{fontCharacter:"\\ea9b"}),s.arrowRight=new s("arrow-right",{fontCharacter:"\\ea9c"}),s.arrowSmallDown=new s("arrow-small-down",{fontCharacter:"\\ea9d"}),s.arrowSmallLeft=new s("arrow-small-left",{fontCharacter:"\\ea9e"}),s.arrowSmallRight=new s("arrow-small-right",{fontCharacter:"\\ea9f"}),s.arrowSmallUp=new s("arrow-small-up",{fontCharacter:"\\eaa0"}),s.arrowUp=new s("arrow-up",{fontCharacter:"\\eaa1"}),s.bell=new s("bell",{fontCharacter:"\\eaa2"}),s.bold=new s("bold",{fontCharacter:"\\eaa3"}),s.book=new s("book",{fontCharacter:"\\eaa4"}),s.bookmark=new s("bookmark",{fontCharacter:"\\eaa5"}),s.debugBreakpointConditionalUnverified=new s("debug-breakpoint-conditional-unverified",{fontCharacter:"\\eaa6"}),s.debugBreakpointConditional=new s("debug-breakpoint-conditional",{fontCharacter:"\\eaa7"}),s.debugBreakpointConditionalDisabled=new s("debug-breakpoint-conditional-disabled",{fontCharacter:"\\eaa7"}),s.debugBreakpointDataUnverified=new s("debug-breakpoint-data-unverified",{fontCharacter:"\\eaa8"}),s.debugBreakpointData=new s("debug-breakpoint-data",{fontCharacter:"\\eaa9"}),s.debugBreakpointDataDisabled=new s("debug-breakpoint-data-disabled",{fontCharacter:"\\eaa9"}),s.debugBreakpointLogUnverified=new s("debug-breakpoint-log-unverified",{fontCharacter:"\\eaaa"}),s.debugBreakpointLog=new s("debug-breakpoint-log",{fontCharacter:"\\eaab"}),s.debugBreakpointLogDisabled=new s("debug-breakpoint-log-disabled",{fontCharacter:"\\eaab"}),s.briefcase=new s("briefcase",{fontCharacter:"\\eaac"}),s.broadcast=new s("broadcast",{fontCharacter:"\\eaad"}),s.browser=new s("browser",{fontCharacter:"\\eaae"}),s.bug=new s("bug",{fontCharacter:"\\eaaf"}),s.calendar=new s("calendar",{fontCharacter:"\\eab0"}),s.caseSensitive=new s("case-sensitive",{fontCharacter:"\\eab1"}),s.check=new s("check",{fontCharacter:"\\eab2"}),s.checklist=new s("checklist",{fontCharacter:"\\eab3"}),s.chevronDown=new s("chevron-down",{fontCharacter:"\\eab4"}),s.dropDownButton=new s("drop-down-button",s.chevronDown.definition),s.chevronLeft=new s("chevron-left",{fontCharacter:"\\eab5"}),s.chevronRight=new s("chevron-right",{fontCharacter:"\\eab6"}),s.chevronUp=new s("chevron-up",{fontCharacter:"\\eab7"}),s.chromeClose=new s("chrome-close",{fontCharacter:"\\eab8"}),s.chromeMaximize=new s("chrome-maximize",{fontCharacter:"\\eab9"}),s.chromeMinimize=new s("chrome-minimize",{fontCharacter:"\\eaba"}),s.chromeRestore=new s("chrome-restore",{fontCharacter:"\\eabb"}),s.circleOutline=new s("circle-outline",{fontCharacter:"\\eabc"}),s.debugBreakpointUnverified=new s("debug-breakpoint-unverified",{fontCharacter:"\\eabc"}),s.circleSlash=new s("circle-slash",{fontCharacter:"\\eabd"}),s.circuitBoard=new s("circuit-board",{fontCharacter:"\\eabe"}),s.clearAll=new s("clear-all",{fontCharacter:"\\eabf"}),s.clippy=new s("clippy",{fontCharacter:"\\eac0"}),s.closeAll=new s("close-all",{fontCharacter:"\\eac1"}),s.cloudDownload=new s("cloud-download",{fontCharacter:"\\eac2"}),s.cloudUpload=new s("cloud-upload",{fontCharacter:"\\eac3"}),s.code=new s("code",{fontCharacter:"\\eac4"}),s.collapseAll=new s("collapse-all",{fontCharacter:"\\eac5"}),s.colorMode=new s("color-mode",{fontCharacter:"\\eac6"}),s.commentDiscussion=new s("comment-discussion",{fontCharacter:"\\eac7"}),s.compareChanges=new s("compare-changes",{fontCharacter:"\\eafd"}),s.creditCard=new s("credit-card",{fontCharacter:"\\eac9"}),s.dash=new s("dash",{fontCharacter:"\\eacc"}),s.dashboard=new s("dashboard",{fontCharacter:"\\eacd"}),s.database=new s("database",{fontCharacter:"\\eace"}),s.debugContinue=new s("debug-continue",{fontCharacter:"\\eacf"}),s.debugDisconnect=new s("debug-disconnect",{fontCharacter:"\\ead0"}),s.debugPause=new s("debug-pause",{fontCharacter:"\\ead1"}),s.debugRestart=new s("debug-restart",{fontCharacter:"\\ead2"}),s.debugStart=new s("debug-start",{fontCharacter:"\\ead3"}),s.debugStepInto=new s("debug-step-into",{fontCharacter:"\\ead4"}),s.debugStepOut=new s("debug-step-out",{fontCharacter:"\\ead5"}),s.debugStepOver=new s("debug-step-over",{fontCharacter:"\\ead6"}),s.debugStop=new s("debug-stop",{fontCharacter:"\\ead7"}),s.debug=new s("debug",{fontCharacter:"\\ead8"}),s.deviceCameraVideo=new s("device-camera-video",{fontCharacter:"\\ead9"}),s.deviceCamera=new s("device-camera",{fontCharacter:"\\eada"}),s.deviceMobile=new s("device-mobile",{fontCharacter:"\\eadb"}),s.diffAdded=new s("diff-added",{fontCharacter:"\\eadc"}),s.diffIgnored=new s("diff-ignored",{fontCharacter:"\\eadd"}),s.diffModified=new s("diff-modified",{fontCharacter:"\\eade"}),s.diffRemoved=new s("diff-removed",{fontCharacter:"\\eadf"}),s.diffRenamed=new s("diff-renamed",{fontCharacter:"\\eae0"}),s.diff=new s("diff",{fontCharacter:"\\eae1"}),s.discard=new s("discard",{fontCharacter:"\\eae2"}),s.editorLayout=new s("editor-layout",{fontCharacter:"\\eae3"}),s.emptyWindow=new s("empty-window",{fontCharacter:"\\eae4"}),s.exclude=new s("exclude",{fontCharacter:"\\eae5"}),s.extensions=new s("extensions",{fontCharacter:"\\eae6"}),s.eyeClosed=new s("eye-closed",{fontCharacter:"\\eae7"}),s.fileBinary=new s("file-binary",{fontCharacter:"\\eae8"}),s.fileCode=new s("file-code",{fontCharacter:"\\eae9"}),s.fileMedia=new s("file-media",{fontCharacter:"\\eaea"}),s.filePdf=new s("file-pdf",{fontCharacter:"\\eaeb"}),s.fileSubmodule=new s("file-submodule",{fontCharacter:"\\eaec"}),s.fileSymlinkDirectory=new s("file-symlink-directory",{fontCharacter:"\\eaed"}),s.fileSymlinkFile=new s("file-symlink-file",{fontCharacter:"\\eaee"}),s.fileZip=new s("file-zip",{fontCharacter:"\\eaef"}),s.files=new s("files",{fontCharacter:"\\eaf0"}),s.filter=new s("filter",{fontCharacter:"\\eaf1"}),s.flame=new s("flame",{fontCharacter:"\\eaf2"}),s.foldDown=new s("fold-down",{fontCharacter:"\\eaf3"}),s.foldUp=new s("fold-up",{fontCharacter:"\\eaf4"}),s.fold=new s("fold",{fontCharacter:"\\eaf5"}),s.folderActive=new s("folder-active",{fontCharacter:"\\eaf6"}),s.folderOpened=new s("folder-opened",{fontCharacter:"\\eaf7"}),s.gear=new s("gear",{fontCharacter:"\\eaf8"}),s.gift=new s("gift",{fontCharacter:"\\eaf9"}),s.gistSecret=new s("gist-secret",{fontCharacter:"\\eafa"}),s.gist=new s("gist",{fontCharacter:"\\eafb"}),s.gitCommit=new s("git-commit",{fontCharacter:"\\eafc"}),s.gitCompare=new s("git-compare",{fontCharacter:"\\eafd"}),s.gitMerge=new s("git-merge",{fontCharacter:"\\eafe"}),s.githubAction=new s("github-action",{fontCharacter:"\\eaff"}),s.githubAlt=new s("github-alt",{fontCharacter:"\\eb00"}),s.globe=new s("globe",{fontCharacter:"\\eb01"}),s.grabber=new s("grabber",{fontCharacter:"\\eb02"}),s.graph=new s("graph",{fontCharacter:"\\eb03"}),s.gripper=new s("gripper",{fontCharacter:"\\eb04"}),s.heart=new s("heart",{fontCharacter:"\\eb05"}),s.home=new s("home",{fontCharacter:"\\eb06"}),s.horizontalRule=new s("horizontal-rule",{fontCharacter:"\\eb07"}),s.hubot=new s("hubot",{fontCharacter:"\\eb08"}),s.inbox=new s("inbox",{fontCharacter:"\\eb09"}),s.issueClosed=new s("issue-closed",{fontCharacter:"\\eba4"}),s.issueReopened=new s("issue-reopened",{fontCharacter:"\\eb0b"}),s.issues=new s("issues",{fontCharacter:"\\eb0c"}),s.italic=new s("italic",{fontCharacter:"\\eb0d"}),s.jersey=new s("jersey",{fontCharacter:"\\eb0e"}),s.json=new s("json",{fontCharacter:"\\eb0f"}),s.kebabVertical=new s("kebab-vertical",{fontCharacter:"\\eb10"}),s.key=new s("key",{fontCharacter:"\\eb11"}),s.law=new s("law",{fontCharacter:"\\eb12"}),s.lightbulbAutofix=new s("lightbulb-autofix",{fontCharacter:"\\eb13"}),s.linkExternal=new s("link-external",{fontCharacter:"\\eb14"}),s.link=new s("link",{fontCharacter:"\\eb15"}),s.listOrdered=new s("list-ordered",{fontCharacter:"\\eb16"}),s.listUnordered=new s("list-unordered",{fontCharacter:"\\eb17"}),s.liveShare=new s("live-share",{fontCharacter:"\\eb18"}),s.loading=new s("loading",{fontCharacter:"\\eb19"}),s.location=new s("location",{fontCharacter:"\\eb1a"}),s.mailRead=new s("mail-read",{fontCharacter:"\\eb1b"}),s.mail=new s("mail",{fontCharacter:"\\eb1c"}),s.markdown=new s("markdown",{fontCharacter:"\\eb1d"}),s.megaphone=new s("megaphone",{fontCharacter:"\\eb1e"}),s.mention=new s("mention",{fontCharacter:"\\eb1f"}),s.milestone=new s("milestone",{fontCharacter:"\\eb20"}),s.mortarBoard=new s("mortar-board",{fontCharacter:"\\eb21"}),s.move=new s("move",{fontCharacter:"\\eb22"}),s.multipleWindows=new s("multiple-windows",{fontCharacter:"\\eb23"}),s.mute=new s("mute",{fontCharacter:"\\eb24"}),s.noNewline=new s("no-newline",{fontCharacter:"\\eb25"}),s.note=new s("note",{fontCharacter:"\\eb26"}),s.octoface=new s("octoface",{fontCharacter:"\\eb27"}),s.openPreview=new s("open-preview",{fontCharacter:"\\eb28"}),s.package_=new s("package",{fontCharacter:"\\eb29"}),s.paintcan=new s("paintcan",{fontCharacter:"\\eb2a"}),s.pin=new s("pin",{fontCharacter:"\\eb2b"}),s.play=new s("play",{fontCharacter:"\\eb2c"}),s.run=new s("run",{fontCharacter:"\\eb2c"}),s.plug=new s("plug",{fontCharacter:"\\eb2d"}),s.preserveCase=new s("preserve-case",{fontCharacter:"\\eb2e"}),s.preview=new s("preview",{fontCharacter:"\\eb2f"}),s.project=new s("project",{fontCharacter:"\\eb30"}),s.pulse=new s("pulse",{fontCharacter:"\\eb31"}),s.question=new s("question",{fontCharacter:"\\eb32"}),s.quote=new s("quote",{fontCharacter:"\\eb33"}),s.radioTower=new s("radio-tower",{fontCharacter:"\\eb34"}),s.reactions=new s("reactions",{fontCharacter:"\\eb35"}),s.references=new s("references",{fontCharacter:"\\eb36"}),s.refresh=new s("refresh",{fontCharacter:"\\eb37"}),s.regex=new s("regex",{fontCharacter:"\\eb38"}),s.remoteExplorer=new s("remote-explorer",{fontCharacter:"\\eb39"}),s.remote=new s("remote",{fontCharacter:"\\eb3a"}),s.remove=new s("remove",{fontCharacter:"\\eb3b"}),s.replaceAll=new s("replace-all",{fontCharacter:"\\eb3c"}),s.replace=new s("replace",{fontCharacter:"\\eb3d"}),s.repoClone=new s("repo-clone",{fontCharacter:"\\eb3e"}),s.repoForcePush=new s("repo-force-push",{fontCharacter:"\\eb3f"}),s.repoPull=new s("repo-pull",{fontCharacter:"\\eb40"}),s.repoPush=new s("repo-push",{fontCharacter:"\\eb41"}),s.report=new s("report",{fontCharacter:"\\eb42"}),s.requestChanges=new s("request-changes",{fontCharacter:"\\eb43"}),s.rocket=new s("rocket",{fontCharacter:"\\eb44"}),s.rootFolderOpened=new s("root-folder-opened",{fontCharacter:"\\eb45"}),s.rootFolder=new s("root-folder",{fontCharacter:"\\eb46"}),s.rss=new s("rss",{fontCharacter:"\\eb47"}),s.ruby=new s("ruby",{fontCharacter:"\\eb48"}),s.saveAll=new s("save-all",{fontCharacter:"\\eb49"}),s.saveAs=new s("save-as",{fontCharacter:"\\eb4a"}),s.save=new s("save",{fontCharacter:"\\eb4b"}),s.screenFull=new s("screen-full",{fontCharacter:"\\eb4c"}),s.screenNormal=new s("screen-normal",{fontCharacter:"\\eb4d"}),s.searchStop=new s("search-stop",{fontCharacter:"\\eb4e"}),s.server=new s("server",{fontCharacter:"\\eb50"}),s.settingsGear=new s("settings-gear",{fontCharacter:"\\eb51"}),s.settings=new s("settings",{fontCharacter:"\\eb52"}),s.shield=new s("shield",{fontCharacter:"\\eb53"}),s.smiley=new s("smiley",{fontCharacter:"\\eb54"}),s.sortPrecedence=new s("sort-precedence",{fontCharacter:"\\eb55"}),s.splitHorizontal=new s("split-horizontal",{fontCharacter:"\\eb56"}),s.splitVertical=new s("split-vertical",{fontCharacter:"\\eb57"}),s.squirrel=new s("squirrel",{fontCharacter:"\\eb58"}),s.starFull=new s("star-full",{fontCharacter:"\\eb59"}),s.starHalf=new s("star-half",{fontCharacter:"\\eb5a"}),s.symbolClass=new s("symbol-class",{fontCharacter:"\\eb5b"}),s.symbolColor=new s("symbol-color",{fontCharacter:"\\eb5c"}),s.symbolCustomColor=new s("symbol-customcolor",{fontCharacter:"\\eb5c"}),s.symbolConstant=new s("symbol-constant",{fontCharacter:"\\eb5d"}),s.symbolEnumMember=new s("symbol-enum-member",{fontCharacter:"\\eb5e"}),s.symbolField=new s("symbol-field",{fontCharacter:"\\eb5f"}),s.symbolFile=new s("symbol-file",{fontCharacter:"\\eb60"}),s.symbolInterface=new s("symbol-interface",{fontCharacter:"\\eb61"}),s.symbolKeyword=new s("symbol-keyword",{fontCharacter:"\\eb62"}),s.symbolMisc=new s("symbol-misc",{fontCharacter:"\\eb63"}),s.symbolOperator=new s("symbol-operator",{fontCharacter:"\\eb64"}),s.symbolProperty=new s("symbol-property",{fontCharacter:"\\eb65"}),s.wrench=new s("wrench",{fontCharacter:"\\eb65"}),s.wrenchSubaction=new s("wrench-subaction",{fontCharacter:"\\eb65"}),s.symbolSnippet=new s("symbol-snippet",{fontCharacter:"\\eb66"}),s.tasklist=new s("tasklist",{fontCharacter:"\\eb67"}),s.telescope=new s("telescope",{fontCharacter:"\\eb68"}),s.textSize=new s("text-size",{fontCharacter:"\\eb69"}),s.threeBars=new s("three-bars",{fontCharacter:"\\eb6a"}),s.thumbsdown=new s("thumbsdown",{fontCharacter:"\\eb6b"}),s.thumbsup=new s("thumbsup",{fontCharacter:"\\eb6c"}),s.tools=new s("tools",{fontCharacter:"\\eb6d"}),s.triangleDown=new s("triangle-down",{fontCharacter:"\\eb6e"}),s.triangleLeft=new s("triangle-left",{fontCharacter:"\\eb6f"}),s.triangleRight=new s("triangle-right",{fontCharacter:"\\eb70"}),s.triangleUp=new s("triangle-up",{fontCharacter:"\\eb71"}),s.twitter=new s("twitter",{fontCharacter:"\\eb72"}),s.unfold=new s("unfold",{fontCharacter:"\\eb73"}),s.unlock=new s("unlock",{fontCharacter:"\\eb74"}),s.unmute=new s("unmute",{fontCharacter:"\\eb75"}),s.unverified=new s("unverified",{fontCharacter:"\\eb76"}),s.verified=new s("verified",{fontCharacter:"\\eb77"}),s.versions=new s("versions",{fontCharacter:"\\eb78"}),s.vmActive=new s("vm-active",{fontCharacter:"\\eb79"}),s.vmOutline=new s("vm-outline",{fontCharacter:"\\eb7a"}),s.vmRunning=new s("vm-running",{fontCharacter:"\\eb7b"}),s.watch=new s("watch",{fontCharacter:"\\eb7c"}),s.whitespace=new s("whitespace",{fontCharacter:"\\eb7d"}),s.wholeWord=new s("whole-word",{fontCharacter:"\\eb7e"}),s.window=new s("window",{fontCharacter:"\\eb7f"}),s.wordWrap=new s("word-wrap",{fontCharacter:"\\eb80"}),s.zoomIn=new s("zoom-in",{fontCharacter:"\\eb81"}),s.zoomOut=new s("zoom-out",{fontCharacter:"\\eb82"}),s.listFilter=new s("list-filter",{fontCharacter:"\\eb83"}),s.listFlat=new s("list-flat",{fontCharacter:"\\eb84"}),s.listSelection=new s("list-selection",{fontCharacter:"\\eb85"}),s.selection=new s("selection",{fontCharacter:"\\eb85"}),s.listTree=new s("list-tree",{fontCharacter:"\\eb86"}),s.debugBreakpointFunctionUnverified=new s("debug-breakpoint-function-unverified",{fontCharacter:"\\eb87"}),s.debugBreakpointFunction=new s("debug-breakpoint-function",{fontCharacter:"\\eb88"}),s.debugBreakpointFunctionDisabled=new s("debug-breakpoint-function-disabled",{fontCharacter:"\\eb88"}),s.debugStackframeActive=new s("debug-stackframe-active",{fontCharacter:"\\eb89"}),s.circleSmallFilled=new s("circle-small-filled",{fontCharacter:"\\eb8a"}),s.debugStackframeDot=new s("debug-stackframe-dot",s.circleSmallFilled.definition),s.debugStackframe=new s("debug-stackframe",{fontCharacter:"\\eb8b"}),s.debugStackframeFocused=new s("debug-stackframe-focused",{fontCharacter:"\\eb8b"}),s.debugBreakpointUnsupported=new s("debug-breakpoint-unsupported",{fontCharacter:"\\eb8c"}),s.symbolString=new s("symbol-string",{fontCharacter:"\\eb8d"}),s.debugReverseContinue=new s("debug-reverse-continue",{fontCharacter:"\\eb8e"}),s.debugStepBack=new s("debug-step-back",{fontCharacter:"\\eb8f"}),s.debugRestartFrame=new s("debug-restart-frame",{fontCharacter:"\\eb90"}),s.callIncoming=new s("call-incoming",{fontCharacter:"\\eb92"}),s.callOutgoing=new s("call-outgoing",{fontCharacter:"\\eb93"}),s.menu=new s("menu",{fontCharacter:"\\eb94"}),s.expandAll=new s("expand-all",{fontCharacter:"\\eb95"}),s.feedback=new s("feedback",{fontCharacter:"\\eb96"}),s.groupByRefType=new s("group-by-ref-type",{fontCharacter:"\\eb97"}),s.ungroupByRefType=new s("ungroup-by-ref-type",{fontCharacter:"\\eb98"}),s.account=new s("account",{fontCharacter:"\\eb99"}),s.bellDot=new s("bell-dot",{fontCharacter:"\\eb9a"}),s.debugConsole=new s("debug-console",{fontCharacter:"\\eb9b"}),s.library=new s("library",{fontCharacter:"\\eb9c"}),s.output=new s("output",{fontCharacter:"\\eb9d"}),s.runAll=new s("run-all",{fontCharacter:"\\eb9e"}),s.syncIgnored=new s("sync-ignored",{fontCharacter:"\\eb9f"}),s.pinned=new s("pinned",{fontCharacter:"\\eba0"}),s.githubInverted=new s("github-inverted",{fontCharacter:"\\eba1"}),s.debugAlt=new s("debug-alt",{fontCharacter:"\\eb91"}),s.serverProcess=new s("server-process",{fontCharacter:"\\eba2"}),s.serverEnvironment=new s("server-environment",{fontCharacter:"\\eba3"}),s.pass=new s("pass",{fontCharacter:"\\eba4"}),s.stopCircle=new s("stop-circle",{fontCharacter:"\\eba5"}),s.playCircle=new s("play-circle",{fontCharacter:"\\eba6"}),s.record=new s("record",{fontCharacter:"\\eba7"}),s.debugAltSmall=new s("debug-alt-small",{fontCharacter:"\\eba8"}),s.vmConnect=new s("vm-connect",{fontCharacter:"\\eba9"}),s.cloud=new s("cloud",{fontCharacter:"\\ebaa"}),s.merge=new s("merge",{fontCharacter:"\\ebab"}),s.exportIcon=new s("export",{fontCharacter:"\\ebac"}),s.graphLeft=new s("graph-left",{fontCharacter:"\\ebad"}),s.magnet=new s("magnet",{fontCharacter:"\\ebae"}),s.notebook=new s("notebook",{fontCharacter:"\\ebaf"}),s.redo=new s("redo",{fontCharacter:"\\ebb0"}),s.checkAll=new s("check-all",{fontCharacter:"\\ebb1"}),s.pinnedDirty=new s("pinned-dirty",{fontCharacter:"\\ebb2"}),s.passFilled=new s("pass-filled",{fontCharacter:"\\ebb3"}),s.circleLargeFilled=new s("circle-large-filled",{fontCharacter:"\\ebb4"}),s.circleLargeOutline=new s("circle-large-outline",{fontCharacter:"\\ebb5"}),s.combine=new s("combine",{fontCharacter:"\\ebb6"}),s.gather=new s("gather",{fontCharacter:"\\ebb6"}),s.table=new s("table",{fontCharacter:"\\ebb7"}),s.variableGroup=new s("variable-group",{fontCharacter:"\\ebb8"}),s.typeHierarchy=new s("type-hierarchy",{fontCharacter:"\\ebb9"}),s.typeHierarchySub=new s("type-hierarchy-sub",{fontCharacter:"\\ebba"}),s.typeHierarchySuper=new s("type-hierarchy-super",{fontCharacter:"\\ebbb"}),s.gitPullRequestCreate=new s("git-pull-request-create",{fontCharacter:"\\ebbc"}),s.runAbove=new s("run-above",{fontCharacter:"\\ebbd"}),s.runBelow=new s("run-below",{fontCharacter:"\\ebbe"}),s.notebookTemplate=new s("notebook-template",{fontCharacter:"\\ebbf"}),s.debugRerun=new s("debug-rerun",{fontCharacter:"\\ebc0"}),s.workspaceTrusted=new s("workspace-trusted",{fontCharacter:"\\ebc1"}),s.workspaceUntrusted=new s("workspace-untrusted",{fontCharacter:"\\ebc2"}),s.workspaceUnspecified=new s("workspace-unspecified",{fontCharacter:"\\ebc3"}),s.terminalCmd=new s("terminal-cmd",{fontCharacter:"\\ebc4"}),s.terminalDebian=new s("terminal-debian",{fontCharacter:"\\ebc5"}),s.terminalLinux=new s("terminal-linux",{fontCharacter:"\\ebc6"}),s.terminalPowershell=new s("terminal-powershell",{fontCharacter:"\\ebc7"}),s.terminalTmux=new s("terminal-tmux",{fontCharacter:"\\ebc8"}),s.terminalUbuntu=new s("terminal-ubuntu",{fontCharacter:"\\ebc9"}),s.terminalBash=new s("terminal-bash",{fontCharacter:"\\ebca"}),s.arrowSwap=new s("arrow-swap",{fontCharacter:"\\ebcb"}),s.copy=new s("copy",{fontCharacter:"\\ebcc"}),s.personAdd=new s("person-add",{fontCharacter:"\\ebcd"}),s.filterFilled=new s("filter-filled",{fontCharacter:"\\ebce"}),s.wand=new s("wand",{fontCharacter:"\\ebcf"}),s.debugLineByLine=new s("debug-line-by-line",{fontCharacter:"\\ebd0"}),s.inspect=new s("inspect",{fontCharacter:"\\ebd1"}),s.layers=new s("layers",{fontCharacter:"\\ebd2"}),s.layersDot=new s("layers-dot",{fontCharacter:"\\ebd3"}),s.layersActive=new s("layers-active",{fontCharacter:"\\ebd4"}),s.compass=new s("compass",{fontCharacter:"\\ebd5"}),s.compassDot=new s("compass-dot",{fontCharacter:"\\ebd6"}),s.compassActive=new s("compass-active",{fontCharacter:"\\ebd7"}),s.azure=new s("azure",{fontCharacter:"\\ebd8"}),s.issueDraft=new s("issue-draft",{fontCharacter:"\\ebd9"}),s.gitPullRequestClosed=new s("git-pull-request-closed",{fontCharacter:"\\ebda"}),s.gitPullRequestDraft=new s("git-pull-request-draft",{fontCharacter:"\\ebdb"}),s.debugAll=new s("debug-all",{fontCharacter:"\\ebdc"}),s.debugCoverage=new s("debug-coverage",{fontCharacter:"\\ebdd"}),s.runErrors=new s("run-errors",{fontCharacter:"\\ebde"}),s.folderLibrary=new s("folder-library",{fontCharacter:"\\ebdf"}),s.debugContinueSmall=new s("debug-continue-small",{fontCharacter:"\\ebe0"}),s.beakerStop=new s("beaker-stop",{fontCharacter:"\\ebe1"}),s.graphLine=new s("graph-line",{fontCharacter:"\\ebe2"}),s.graphScatter=new s("graph-scatter",{fontCharacter:"\\ebe3"}),s.pieChart=new s("pie-chart",{fontCharacter:"\\ebe4"}),s.bracket=new s("bracket",s.json.definition),s.bracketDot=new s("bracket-dot",{fontCharacter:"\\ebe5"}),s.bracketError=new s("bracket-error",{fontCharacter:"\\ebe6"}),s.lockSmall=new s("lock-small",{fontCharacter:"\\ebe7"}),s.azureDevops=new s("azure-devops",{fontCharacter:"\\ebe8"}),s.verifiedFilled=new s("verified-filled",{fontCharacter:"\\ebe9"}),s.newLine=new s("newline",{fontCharacter:"\\ebea"}),s.layout=new s("layout",{fontCharacter:"\\ebeb"}),s.layoutActivitybarLeft=new s("layout-activitybar-left",{fontCharacter:"\\ebec"}),s.layoutActivitybarRight=new s("layout-activitybar-right",{fontCharacter:"\\ebed"}),s.layoutPanelLeft=new s("layout-panel-left",{fontCharacter:"\\ebee"}),s.layoutPanelCenter=new s("layout-panel-center",{fontCharacter:"\\ebef"}),s.layoutPanelJustify=new s("layout-panel-justify",{fontCharacter:"\\ebf0"}),s.layoutPanelRight=new s("layout-panel-right",{fontCharacter:"\\ebf1"}),s.layoutPanel=new s("layout-panel",{fontCharacter:"\\ebf2"}),s.layoutSidebarLeft=new s("layout-sidebar-left",{fontCharacter:"\\ebf3"}),s.layoutSidebarRight=new s("layout-sidebar-right",{fontCharacter:"\\ebf4"}),s.layoutStatusbar=new s("layout-statusbar",{fontCharacter:"\\ebf5"}),s.layoutMenubar=new s("layout-menubar",{fontCharacter:"\\ebf6"}),s.layoutCentered=new s("layout-centered",{fontCharacter:"\\ebf7"}),s.layoutSidebarRightOff=new s("layout-sidebar-right-off",{fontCharacter:"\\ec00"}),s.layoutPanelOff=new s("layout-panel-off",{fontCharacter:"\\ec01"}),s.layoutSidebarLeftOff=new s("layout-sidebar-left-off",{fontCharacter:"\\ec02"}),s.target=new s("target",{fontCharacter:"\\ebf8"}),s.indent=new s("indent",{fontCharacter:"\\ebf9"}),s.recordSmall=new s("record-small",{fontCharacter:"\\ebfa"}),s.errorSmall=new s("error-small",{fontCharacter:"\\ebfb"}),s.arrowCircleDown=new s("arrow-circle-down",{fontCharacter:"\\ebfc"}),s.arrowCircleLeft=new s("arrow-circle-left",{fontCharacter:"\\ebfd"}),s.arrowCircleRight=new s("arrow-circle-right",{fontCharacter:"\\ebfe"}),s.arrowCircleUp=new s("arrow-circle-up",{fontCharacter:"\\ebff"}),s.heartFilled=new s("heart-filled",{fontCharacter:"\\ec04"}),s.map=new s("map",{fontCharacter:"\\ec05"}),s.mapFilled=new s("map-filled",{fontCharacter:"\\ec06"}),s.circleSmall=new s("circle-small",{fontCharacter:"\\ec07"}),s.bellSlash=new s("bell-slash",{fontCharacter:"\\ec08"}),s.bellSlashDot=new s("bell-slash-dot",{fontCharacter:"\\ec09"}),s.commentUnresolved=new s("comment-unresolved",{fontCharacter:"\\ec0a"}),s.dialogError=new s("dialog-error",s.error.definition),s.dialogWarning=new s("dialog-warning",s.warning.definition),s.dialogInfo=new s("dialog-info",s.info.definition),s.dialogClose=new s("dialog-close",s.close.definition),s.treeItemExpanded=new s("tree-item-expanded",s.chevronDown.definition),s.treeFilterOnTypeOn=new s("tree-filter-on-type-on",s.listFilter.definition),s.treeFilterOnTypeOff=new s("tree-filter-on-type-off",s.listSelection.definition),s.treeFilterClear=new s("tree-filter-clear",s.close.definition),s.treeItemLoading=new s("tree-item-loading",s.loading.definition),s.menuSelection=new s("menu-selection",s.check.definition),s.menuSubmenu=new s("menu-submenu",s.chevronRight.definition),s.menuBarMore=new s("menubar-more",s.more.definition),s.scrollbarButtonLeft=new s("scrollbar-button-left",s.triangleLeft.definition),s.scrollbarButtonRight=new s("scrollbar-button-right",s.triangleRight.definition),s.scrollbarButtonUp=new s("scrollbar-button-up",s.triangleUp.definition),s.scrollbarButtonDown=new s("scrollbar-button-down",s.triangleDown.definition),s.toolBarMore=new s("toolbar-more",s.more.definition),s.quickInputBack=new s("quick-input-back",s.arrowLeft.definition),function(e){e.iconNameSegment="[A-Za-z0-9]+",e.iconNameExpression="[A-Za-z0-9-]+",e.iconModifierExpression="~[A-Za-z]+",e.iconNameCharacter="[A-Za-z0-9~-]";const t=new RegExp(`^(${e.iconNameExpression})(${e.iconModifierExpression})?$`);function n(e){if(e instanceof s)return["codicon","codicon-"+e.id];const r=t.exec(e.id);if(!r)return n(s.error);const[,i,o]=r,a=["codicon","codicon-"+i];return o&&a.push("codicon-modifier-"+o.substr(1)),a}e.asClassNameArray=n,e.asClassName=function(e){return n(e).join(" ")},e.asCSSSelector=function(e){return"."+n(e).join(".")}}(i||(i={}))},75909:(e,t,n)=>{"use strict";n.d(t,{AL:()=>l,D7:()=>m,EM:()=>f,MB:()=>c,M_:()=>i,Qg:()=>d,aD:()=>u,cU:()=>o,dz:()=>s,iH:()=>h});const r=new class{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout((()=>{if(e.stack){if(p.isErrorNoTelemetry(e))throw new p(e.message+"\n\n"+e.stack);throw new Error(e.message+"\n\n"+e.stack)}throw e}),0)}}emit(e){this.listeners.forEach((t=>{t(e)}))}onUnexpectedError(e){this.unexpectedErrorHandler(e),this.emit(e)}onUnexpectedExternalError(e){this.unexpectedErrorHandler(e)}};function s(e){c(e)||r.onUnexpectedError(e)}function i(e){c(e)||r.onUnexpectedExternalError(e)}function o(e){if(e instanceof Error){const{name:t,message:n}=e;return{$isError:!0,name:t,message:n,stack:e.stacktrace||e.stack,noTelemetry:p.isErrorNoTelemetry(e)}}return e}const a="Canceled";function c(e){return e instanceof l||e instanceof Error&&e.name===a&&e.message===a}class l extends Error{constructor(){super(a),this.name=this.message}}function u(){const e=new Error(a);return e.name=e.message,e}function d(e){return e?new Error(`Illegal argument: ${e}`):new Error("Illegal argument")}function h(e){return e?new Error(`Illegal state: ${e}`):new Error("Illegal state")}class f extends Error{constructor(e){super("NotSupported"),e&&(this.message=e)}}class p extends Error{constructor(e){super(e),this.name="ErrorNoTelemetry"}static fromError(e){if(e instanceof p)return e;const t=new p;return t.message=e.message,t.stack=e.stack,t}static isErrorNoTelemetry(e){return"ErrorNoTelemetry"===e.name}}class m extends Error{constructor(e){super(e||"An unexpected bug occurred."),Object.setPrototypeOf(this,m.prototype)}}},55808:(e,t,n)=>{"use strict";n.d(t,{AS:()=>h,BO:()=>b,Cm:()=>m,HE:()=>_,St:()=>y,Xm:()=>d,jG:()=>g,lC:()=>l,mp:()=>v,qE:()=>f,s:()=>p});var r=n(8663),s=n(16624);let i=null;function o(e){return null===i||void 0===i||i.trackDisposable(e),e}function a(e){null===i||void 0===i||i.markAsDisposed(e)}function c(e,t){null===i||void 0===i||i.setParent(e,t)}function l(e){return null===i||void 0===i||i.markAsSingleton(e),e}class u extends Error{constructor(e){super(`Encountered errors while disposing of store. Errors: [${e.join(", ")}]`),this.errors=e}}function d(e){return"function"===typeof e.dispose&&0===e.dispose.length}function h(e){if(s.f.is(e)){const n=[];for(const r of e)if(r)try{r.dispose()}catch(t){n.push(t)}if(1===n.length)throw n[0];if(n.length>1)throw new u(n);return Array.isArray(e)?[]:e}if(e)return e.dispose(),e}function f(...e){const t=p((()=>h(e)));return function(e,t){if(i)for(const n of e)i.setParent(n,t)}(e,t),t}function p(e){const t=o({dispose:(0,r.O)((()=>{a(t),e()}))});return t}class m{constructor(){this._toDispose=new Set,this._isDisposed=!1,o(this)}dispose(){this._isDisposed||(a(this),this._isDisposed=!0,this.clear())}get isDisposed(){return this._isDisposed}clear(){try{h(this._toDispose.values())}finally{this._toDispose.clear()}}add(e){if(!e)return e;if(e===this)throw new Error("Cannot register a disposable on itself!");return c(e,this),this._isDisposed?m.DISABLE_DISPOSED_WARNING:this._toDispose.add(e),e}}m.DISABLE_DISPOSED_WARNING=!1;class g{constructor(){this._store=new m,o(this),c(this._store,this)}dispose(){a(this),this._store.dispose()}_register(e){if(e===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(e)}}g.None=Object.freeze({dispose(){}});class _{constructor(){this._isDisposed=!1,o(this)}get value(){return this._isDisposed?void 0:this._value}set value(e){var t;this._isDisposed||e===this._value||(null===(t=this._value)||void 0===t||t.dispose(),e&&c(e,this),this._value=e)}clear(){this.value=void 0}dispose(){var e;this._isDisposed=!0,a(this),null===(e=this._value)||void 0===e||e.dispose(),this._value=void 0}clearAndLeak(){const e=this._value;return this._value=void 0,e&&c(e,null),e}}class v{constructor(e){this._disposable=e,this._counter=1}acquire(){return this._counter++,this}release(){return 0===--this._counter&&this._disposable.dispose(),this}}class y{constructor(){this.dispose=()=>{},this.unset=()=>{},this.isset=()=>!1,o(this)}set(e){let t=e;return this.unset=()=>t=void 0,this.isset=()=>void 0!==t,this.dispose=()=>{t&&(t(),t=void 0,a(this))},this}}class b{constructor(e){this.object=e}dispose(){}}},1273:(e,t,n)=>{"use strict";n.d(t,{B6:()=>k,Fd:()=>v,LC:()=>m,P8:()=>p,Pi:()=>f,er:()=>d,iZ:()=>y,n4:()=>h,o1:()=>b,pD:()=>g,su:()=>l,uJ:()=>_});var r=n(78284),s=n(46442),i=n(72142),o=n(55977),a=n(24638),c=n(65698);function l(e){return(0,c.I)(e,!0)}class u{constructor(e){this._ignorePathCasing=e}compare(e,t,n=!1){return e===t?0:(0,a.UD)(this.getComparisonKey(e,n),this.getComparisonKey(t,n))}isEqual(e,t,n=!1){return e===t||!(!e||!t)&&this.getComparisonKey(e,n)===this.getComparisonKey(t,n)}getComparisonKey(e,t=!1){return e.with({path:this._ignorePathCasing(e)?e.path.toLowerCase():void 0,fragment:t?null:void 0}).toString()}isEqualOrParent(e,t,n=!1){if(e.scheme===t.scheme){if(e.scheme===s.ny.file)return r._1(l(e),l(t),this._ignorePathCasing(e))&&e.query===t.query&&(n||e.fragment===t.fragment);if(w(e.authority,t.authority))return r._1(e.path,t.path,this._ignorePathCasing(e),"/")&&e.query===t.query&&(n||e.fragment===t.fragment)}return!1}joinPath(e,...t){return c.r.joinPath(e,...t)}basenameOrAuthority(e){return p(e)||e.authority}basename(e){return i.SA.basename(e.path)}extname(e){return i.SA.extname(e.path)}dirname(e){if(0===e.path.length)return e;let t;return e.scheme===s.ny.file?t=c.r.file(i.pD(l(e))).path:(t=i.SA.dirname(e.path),e.authority&&t.length&&47!==t.charCodeAt(0)&&(t="/")),e.with({path:t})}normalizePath(e){if(!e.path.length)return e;let t;return t=e.scheme===s.ny.file?c.r.file(i.S8(l(e))).path:i.SA.normalize(e.path),e.with({path:t})}relativePath(e,t){if(e.scheme!==t.scheme||!w(e.authority,t.authority))return;if(e.scheme===s.ny.file){const n=i.V8(l(e),l(t));return o.uF?r.TH(n):n}let n=e.path||"/";const a=t.path||"/";if(this._ignorePathCasing(e)){let e=0;for(const t=Math.min(n.length,a.length);e<t&&(n.charCodeAt(e)===a.charCodeAt(e)||n.charAt(e).toLowerCase()===a.charAt(e).toLowerCase());e++);n=a.substr(0,e)+n.substr(e)}return i.SA.relative(n,a)}resolvePath(e,t){if(e.scheme===s.ny.file){const n=c.r.file(i.hd(l(e),t));return e.with({authority:n.authority,path:n.path})}return t=r.kb(t),e.with({path:i.SA.resolve(e.path,t)})}isAbsolutePath(e){return!!e.path&&"/"===e.path[0]}isEqualAuthority(e,t){return e===t||void 0!==e&&void 0!==t&&(0,a.Q_)(e,t)}hasTrailingPathSeparator(e,t=i.Vn){if(e.scheme===s.ny.file){const n=l(e);return n.length>r.Zn(n).length&&n[n.length-1]===t}{const t=e.path;return t.length>1&&47===t.charCodeAt(t.length-1)&&!/^[a-zA-Z]:(\/$|\\$)/.test(e.fsPath)}}removeTrailingPathSeparator(e,t=i.Vn){return S(e,t)?e.with({path:e.path.substr(0,e.path.length-1)}):e}addTrailingPathSeparator(e,t=i.Vn){let n=!1;if(e.scheme===s.ny.file){const s=l(e);n=void 0!==s&&s.length===r.Zn(s).length&&s[s.length-1]===t}else{t="/";const r=e.path;n=1===r.length&&47===r.charCodeAt(r.length-1)}return n||S(e,t)?e:e.with({path:e.path+"/"})}}const d=new u((()=>!1)),h=(new u((e=>e.scheme!==s.ny.file||!o.j9)),new u((e=>!0)),d.isEqual.bind(d)),f=(d.isEqualOrParent.bind(d),d.getComparisonKey.bind(d),d.basenameOrAuthority.bind(d)),p=d.basename.bind(d),m=d.extname.bind(d),g=d.dirname.bind(d),_=d.joinPath.bind(d),v=d.normalizePath.bind(d),y=d.relativePath.bind(d),b=d.resolvePath.bind(d),w=(d.isAbsolutePath.bind(d),d.isEqualAuthority.bind(d)),S=d.hasTrailingPathSeparator.bind(d);d.removeTrailingPathSeparator.bind(d),d.addTrailingPathSeparator.bind(d);var k;!function(e){e.META_DATA_LABEL="label",e.META_DATA_DESCRIPTION="description",e.META_DATA_SIZE="size",e.META_DATA_MIME="mime",e.parseMetaData=function(t){const n=new Map;t.path.substring(t.path.indexOf(";")+1,t.path.lastIndexOf(";")).split(";").forEach((e=>{const[t,r]=e.split(":");t&&r&&n.set(t,r)}));const r=t.path.substring(0,t.path.indexOf(";"));return r&&n.set(e.META_DATA_MIME,r),n}}(k||(k={}))},3688:(e,t,n)=>{"use strict";n.d(t,{C1:()=>i,Ym:()=>r,kF:()=>s});const r={ctrlCmd:!1,alt:!1};var s,i;!function(e){e[e.Blur=1]="Blur",e[e.Gesture=2]="Gesture",e[e.Other=3]="Other"}(s||(s={})),function(e){e[e.NONE=0]="NONE",e[e.FIRST=1]="FIRST",e[e.SECOND=2]="SECOND",e[e.LAST=3]="LAST"}(i||(i={}));new class{constructor(e){this.options=e}}},59806:(e,t,n)=>{"use strict";n.d(t,{Du:()=>h,Su:()=>f,aI:()=>d,b7:()=>u});var r=n(24638),s=n(55977),i=n(52756);let o,a,c;function l(){return o||(o=new TextDecoder("UTF-16LE")),o}function u(){return c||(c=s.cm()?l():(a||(a=new TextDecoder("UTF-16BE")),a)),c}const d="undefined"!==typeof TextDecoder;let h,f;function p(e,t,n){const r=[];let s=0;for(let o=0;o<n;o++){const n=i.$l(e,t);t+=2,r[s++]=String.fromCharCode(n)}return r.join("")}d?(h=e=>new m(e),f=function(e,t,n){const r=new Uint16Array(e.buffer,t,n);if(n>0&&(65279===r[0]||65534===r[0]))return p(e,t,n);return l().decode(r)}):(h=e=>new g,f=p);class m{constructor(e){this._capacity=0|e,this._buffer=new Uint16Array(this._capacity),this._completedStrings=null,this._bufferLength=0}reset(){this._completedStrings=null,this._bufferLength=0}build(){return null!==this._completedStrings?(this._flushBuffer(),this._completedStrings.join("")):this._buildBuffer()}_buildBuffer(){if(0===this._bufferLength)return"";const e=new Uint16Array(this._buffer.buffer,0,this._bufferLength);return u().decode(e)}_flushBuffer(){const e=this._buildBuffer();this._bufferLength=0,null===this._completedStrings?this._completedStrings=[e]:this._completedStrings[this._completedStrings.length]=e}write1(e){const t=this._capacity-this._bufferLength;t<=1&&(0===t||r.pc(e))&&this._flushBuffer(),this._buffer[this._bufferLength++]=e}appendASCII(e){this._bufferLength===this._capacity&&this._flushBuffer(),this._buffer[this._bufferLength++]=e}appendASCIIString(e){const t=e.length;if(this._bufferLength+t>=this._capacity)return this._flushBuffer(),void(this._completedStrings[this._completedStrings.length]=e);for(let n=0;n<t;n++)this._buffer[this._bufferLength++]=e.charCodeAt(n)}}class g{constructor(){this._pieces=[],this._piecesLen=0}reset(){this._pieces=[],this._piecesLen=0}build(){return this._pieces.join("")}write1(e){this._pieces[this._piecesLen++]=String.fromCharCode(e)}appendASCII(e){this._pieces[this._piecesLen++]=String.fromCharCode(e)}appendASCIIString(e){this._pieces[this._piecesLen++]=e}}},97800:(e,t,n)=>{"use strict";n.d(t,{i:()=>i});var r=n(17924);class s extends r.V{constructor(e){super(0);for(let t=0,n=e.length;t<n;t++)this.set(e.charCodeAt(t),2);this.set(32,1),this.set(9,1)}}const i=function(e){const t={};return n=>(t.hasOwnProperty(n)||(t[n]=e(n)),t[n])}((e=>new s(e)))},76220:(e,t,n)=>{"use strict";n.d(t,{L:()=>r});const r=(0,n(34029).u1)("languageService")},35065:(e,t,n)=>{"use strict";n.d(t,{A5:()=>r,Dg:()=>c,F4:()=>d,L5:()=>u,R3:()=>s,VW:()=>i,Wo:()=>l,X2:()=>a,vd:()=>h});var r,s,i,o=n(61460);!function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"}(r||(r={})),function(e){e[e.Inline=1]="Inline",e[e.Gutter=2]="Gutter"}(s||(s={})),function(e){e[e.Both=0]="Both",e[e.Right=1]="Right",e[e.Left=2]="Left",e[e.None=3]="None"}(i||(i={}));class a{constructor(e){this._textModelResolvedOptionsBrand=void 0,this.tabSize=Math.max(1,0|e.tabSize),this.indentSize=0|e.tabSize,this.insertSpaces=Boolean(e.insertSpaces),this.defaultEOL=0|e.defaultEOL,this.trimAutoWhitespace=Boolean(e.trimAutoWhitespace),this.bracketPairColorizationOptions=e.bracketPairColorizationOptions}equals(e){return this.tabSize===e.tabSize&&this.indentSize===e.indentSize&&this.insertSpaces===e.insertSpaces&&this.defaultEOL===e.defaultEOL&&this.trimAutoWhitespace===e.trimAutoWhitespace&&(0,o.aI)(this.bracketPairColorizationOptions,e.bracketPairColorizationOptions)}createChangeEvent(e){return{tabSize:this.tabSize!==e.tabSize,indentSize:this.indentSize!==e.indentSize,insertSpaces:this.insertSpaces!==e.insertSpaces,trimAutoWhitespace:this.trimAutoWhitespace!==e.trimAutoWhitespace}}}class c{constructor(e,t){this._findMatchBrand=void 0,this.range=e,this.matches=t}}class l{constructor(e,t,n,r,s,i){this.identifier=e,this.range=t,this.text=n,this.forceMoveMarkers=r,this.isAutoWhitespaceEdit=s,this._isTracked=i}}class u{constructor(e,t,n){this.regex=e,this.wordSeparators=t,this.simpleSearch=n}}class d{constructor(e,t,n){this.reverseEdits=e,this.changes=t,this.trimAutoWhitespaceLineNumbers=n}}function h(e){return!e.isTooLargeForSyncing()&&!e.isForSimpleWidget}},19724:(e,t,n)=>{"use strict";n.d(t,{S:()=>r});const r=(0,n(34029).u1)("modelService")},92320:(e,t,n)=>{"use strict";n.d(t,{b:()=>r});const r=(0,n(34029).u1)("textModelService")},6751:(e,t,n)=>{"use strict";n.d(t,{E6:()=>u,Hw:()=>i,YN:()=>s,b2:()=>r,gf:()=>a,n9:()=>c,oq:()=>o,tu:()=>d,vp:()=>l});var r,s,i,o,a,c,l,u,d,h=n(35819);!function(e){e.noSelection=h.kg("noSelection","No selection"),e.singleSelectionRange=h.kg("singleSelectionRange","Line {0}, Column {1} ({2} selected)"),e.singleSelection=h.kg("singleSelection","Line {0}, Column {1}"),e.multiSelectionRange=h.kg("multiSelectionRange","{0} selections ({1} characters selected)"),e.multiSelection=h.kg("multiSelection","{0} selections"),e.emergencyConfOn=h.kg("emergencyConfOn","Now changing the setting `accessibilitySupport` to 'on'."),e.openingDocs=h.kg("openingDocs","Now opening the Editor Accessibility documentation page."),e.readonlyDiffEditor=h.kg("readonlyDiffEditor"," in a read-only pane of a diff editor."),e.editableDiffEditor=h.kg("editableDiffEditor"," in a pane of a diff editor."),e.readonlyEditor=h.kg("readonlyEditor"," in a read-only code editor"),e.editableEditor=h.kg("editableEditor"," in a code editor"),e.changeConfigToOnMac=h.kg("changeConfigToOnMac","To configure the editor to be optimized for usage with a Screen Reader press Command+E now."),e.changeConfigToOnWinLinux=h.kg("changeConfigToOnWinLinux","To configure the editor to be optimized for usage with a Screen Reader press Control+E now."),e.auto_on=h.kg("auto_on","The editor is configured to be optimized for usage with a Screen Reader."),e.auto_off=h.kg("auto_off","The editor is configured to never be optimized for usage with a Screen Reader, which is not the case at this time."),e.tabFocusModeOnMsg=h.kg("tabFocusModeOnMsg","Pressing Tab in the current editor will move focus to the next focusable element. Toggle this behavior by pressing {0}."),e.tabFocusModeOnMsgNoKb=h.kg("tabFocusModeOnMsgNoKb","Pressing Tab in the current editor will move focus to the next focusable element. The command {0} is currently not triggerable by a keybinding."),e.tabFocusModeOffMsg=h.kg("tabFocusModeOffMsg","Pressing Tab in the current editor will insert the tab character. Toggle this behavior by pressing {0}."),e.tabFocusModeOffMsgNoKb=h.kg("tabFocusModeOffMsgNoKb","Pressing Tab in the current editor will insert the tab character. The command {0} is currently not triggerable by a keybinding."),e.openDocMac=h.kg("openDocMac","Press Command+H now to open a browser window with more information related to editor accessibility."),e.openDocWinLinux=h.kg("openDocWinLinux","Press Control+H now to open a browser window with more information related to editor accessibility."),e.outroMsg=h.kg("outroMsg","You can dismiss this tooltip and return to the editor by pressing Escape or Shift+Escape."),e.showAccessibilityHelpAction=h.kg("showAccessibilityHelpAction","Show Accessibility Help")}(r||(r={})),function(e){e.inspectTokensAction=h.kg("inspectTokens","Developer: Inspect Tokens")}(s||(s={})),function(e){e.gotoLineActionLabel=h.kg("gotoLineActionLabel","Go to Line/Column...")}(i||(i={})),function(e){e.helpQuickAccessActionLabel=h.kg("helpQuickAccess","Show all Quick Access Providers")}(o||(o={})),function(e){e.quickCommandActionLabel=h.kg("quickCommandActionLabel","Command Palette"),e.quickCommandHelp=h.kg("quickCommandActionHelp","Show And Run Commands")}(a||(a={})),function(e){e.quickOutlineActionLabel=h.kg("quickOutlineActionLabel","Go to Symbol..."),e.quickOutlineByCategoryActionLabel=h.kg("quickOutlineByCategoryActionLabel","Go to Symbol by Category...")}(c||(c={})),function(e){e.editorViewAccessibleLabel=h.kg("editorViewAccessibleLabel","Editor content"),e.accessibilityHelpMessage=h.kg("accessibilityHelpMessage","Press Alt+F1 for Accessibility Options.")}(l||(l={})),function(e){e.toggleHighContrast=h.kg("toggleHighContrast","Toggle High Contrast Theme")}(u||(u={})),function(e){e.bulkEditServiceSummary=h.kg("bulkEditServiceSummary","Made {0} edits in {1} files")}(d||(d={}))},28618:(e,t,n)=>{"use strict";n.d(t,{QE:()=>We,XB:()=>Ae,Zc:()=>Pe});n(10884),n(96696),n(28313),n(53166),n(40098);var r=n(24638),s=n(90491),i=n(41828),o=n(42464),a=n(31401),c=n(55808),l=n(55977),u=n(77721),d=n(65698),h=n(72799),f=n(43077),p=n(73983),m=n(55547),g=n(62915),_=n(19724),v=n(92320),y=n(42982),b=n(16281),w=n(58471),S=n(54925),k=n(21181),C=n(90301),x=n(34029),E=n(85484),T=n(47925),I=n(28951),O=n(11563),A=n(80858),R=n(65491),D=n(70679),M=n(74349),N=n(53229),L=n(45769),F=n(86377),P=n(8547),z=n(6751),j=n(1273),B=n(88459),$=n(91823),U=n(25555),W=n(95166),H=n(64355),q=n(94411),G=n(4235),V=n(16974),K=n(62848),J=n(84214),Y=n(87594),Z=n(38572),X=n(76220),Q=n(76237),ee=n(90324),te=n(47461),ne=n(61249),re=n(85976),se=n(83238),ie=n(78427),oe=n(88355),ae=n(93593),ce=n(50284),le=n(51031),ue=n(43772),de=n(49539),he=n(96810),fe=n(96621),pe=n(7087),me=n(22407),ge=n(40145),_e=n(56247),ve=n(46025),ye=n(31001),be=n(87899),we=(n(84254),n(66578)),Se=function(e,t,n,r){var s,i=arguments.length,o=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(i<3?s(o):i>3?s(t,n,o):s(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o},ke=function(e,t){return function(n,r){t(n,r,e)}},Ce=function(e,t,n,r){return new(n||(n=Promise))((function(s,i){function o(e){try{c(r.next(e))}catch(t){i(t)}}function a(e){try{c(r.throw(e))}catch(t){i(t)}}function c(e){var t;e.done?s(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,a)}c((r=r.apply(e,t||[])).next())}))};class xe{constructor(e){this.disposed=!1,this.model=e,this._onWillDispose=new o.vl}get textEditorModel(){return this.model}dispose(){this.disposed=!0,this._onWillDispose.fire()}}let Ee=class{constructor(e){this.modelService=e}createModelReference(e){const t=this.modelService.getModel(e);return t?Promise.resolve(new c.BO(new xe(t))):Promise.reject(new Error("Model not found"))}};Ee=Se([ke(0,_.S)],Ee);class Te{show(){return Te.NULL_PROGRESS_RUNNER}showWhile(e,t){return Ce(this,void 0,void 0,(function*(){yield e}))}}Te.NULL_PROGRESS_RUNNER={done:()=>{},total:()=>{},worked:()=>{}};class Ie{info(e){return this.notify({severity:u.A.Info,message:e})}warn(e){return this.notify({severity:u.A.Warning,message:e})}error(e){return this.notify({severity:u.A.Error,message:e})}notify(e){switch(e.severity){case u.A.Error:case u.A.Warning:}return Ie.NO_OP}status(e,t){return c.jG.None}}Ie.NO_OP=new M.Kz;let Oe=class{constructor(e){this._onWillExecuteCommand=new o.vl,this._onDidExecuteCommand=new o.vl,this.onWillExecuteCommand=this._onWillExecuteCommand.event,this.onDidExecuteCommand=this._onDidExecuteCommand.event,this._instantiationService=e}executeCommand(e,...t){const n=b.wb.getCommand(e);if(!n)return Promise.reject(new Error(`command '${e}' not found`));try{this._onWillExecuteCommand.fire({commandId:e,args:t});const r=this._instantiationService.invokeFunction.apply(this._instantiationService,[n.handler,...t]);return this._onDidExecuteCommand.fire({commandId:e,args:t}),Promise.resolve(r)}catch(r){return Promise.reject(r)}}};Oe=Se([ke(0,x._Y)],Oe);let Ae=class extends E.E{constructor(e,t,n,r,o,a){super(e,t,n,r,o),this._cachedResolver=null,this._dynamicKeybindings=[],this._domNodeListeners=[];const l=e=>{const t=new c.Cm;t.add(s.ko(e,s.Bx.KEY_DOWN,(e=>{const t=new i.Z(e);this._dispatch(t,t.target)&&(t.preventDefault(),t.stopPropagation())}))),t.add(s.ko(e,s.Bx.KEY_UP,(e=>{const t=new i.Z(e);this._singleModifierDispatch(t,t.target)&&t.preventDefault()}))),this._domNodeListeners.push(new Re(e,t))},u=e=>{for(let t=0;t<this._domNodeListeners.length;t++){const n=this._domNodeListeners[t];n.domNode===e&&(this._domNodeListeners.splice(t,1),n.dispose())}},d=e=>{e.getOption(55)||l(e.getContainerDomNode())};this._register(a.onCodeEditorAdd(d)),this._register(a.onCodeEditorRemove((e=>{e.getOption(55)||u(e.getContainerDomNode())}))),a.listCodeEditors().forEach(d);const h=e=>{l(e.getContainerDomNode())};this._register(a.onDiffEditorAdd(h)),this._register(a.onDiffEditorRemove((e=>{u(e.getContainerDomNode())}))),a.listDiffEditors().forEach(h)}addDynamicKeybinding(e,t,n,r){const s=(0,a.ZU)(t,l.OS),i=new c.Cm;return s&&(this._dynamicKeybindings.push({keybinding:s.parts,command:e,when:r,weight1:1e3,weight2:0,extensionId:null,isBuiltinExtension:!1}),i.add((0,c.s)((()=>{for(let t=0;t<this._dynamicKeybindings.length;t++){if(this._dynamicKeybindings[t].command===e)return this._dynamicKeybindings.splice(t,1),void this.updateResolver()}})))),i.add(b.wb.registerCommand(e,n)),this.updateResolver(),i}updateResolver(){this._cachedResolver=null,this._onDidUpdateKeybindings.fire()}_getResolver(){if(!this._cachedResolver){const e=this._toNormalizedKeybindingItems(O.f.getDefaultKeybindings(),!0),t=this._toNormalizedKeybindingItems(this._dynamicKeybindings,!1);this._cachedResolver=new I.f(e,t,(e=>this._log(e)))}return this._cachedResolver}_documentHasFocus(){return document.hasFocus()}_toNormalizedKeybindingItems(e,t){const n=[];let r=0;for(const s of e){const e=s.when||void 0,i=s.keybinding;if(i){const o=R.j.resolveUserBinding(i,l.OS);for(const i of o)n[r++]=new A.u(i,s.command,s.commandArgs,e,t,null,!1)}else n[r++]=new A.u(void 0,s.command,s.commandArgs,e,t,null,!1)}return n}resolveKeyboardEvent(e){const t=new a.h$(e.ctrlKey,e.shiftKey,e.altKey,e.metaKey,e.keyCode).toChord();return new R.j(t,l.OS)}};Ae=Se([ke(0,k.fN),ke(1,b.wT),ke(2,L.k),ke(3,M.Ot),ke(4,$.rr),ke(5,B.T)],Ae);class Re extends c.jG{constructor(e,t){super(),this.domNode=e,this._register(t)}}function De(e){return e&&"object"===typeof e&&(!e.overrideIdentifier||"string"===typeof e.overrideIdentifier)&&(!e.resource||e.resource instanceof d.r)}class Me{constructor(){this._onDidChangeConfiguration=new o.vl,this.onDidChangeConfiguration=this._onDidChangeConfiguration.event,this._configuration=new S.Vk(new we.z,new S.S1,new S.S1,new S.S1)}getValue(e,t){const n="string"===typeof e?e:void 0,r=De(e)?e:De(t)?t:{};return this._configuration.getValue(n,r,void 0)}updateValues(e){const t={data:this._configuration.toData()},n=[];for(const r of e){const[e,t]=r;this.getValue(e)!==t&&(this._configuration.updateValue(e,t),n.push(e))}if(n.length>0){const e=new S.Xm({keys:n,overrides:[]},t,this._configuration);e.source=7,e.sourceConfig=null,this._onDidChangeConfiguration.fire(e)}return Promise.resolve()}updateValue(e,t,n,r){return this.updateValues([[e,t]])}inspect(e,t={}){return this._configuration.inspect(e,t,void 0)}}let Ne=class{constructor(e){this.configurationService=e,this._onDidChangeConfiguration=new o.vl,this.configurationService.onDidChangeConfiguration((e=>{this._onDidChangeConfiguration.fire({affectedKeys:e.affectedKeys,affectsConfiguration:(t,n)=>e.affectsConfiguration(n)})}))}getValue(e,t,n){const r=(m.y.isIPosition(t)?t:null)?"string"===typeof n?n:void 0:"string"===typeof t?t:void 0;return"undefined"===typeof r?this.configurationService.getValue():this.configurationService.getValue(r)}};Ne=Se([ke(0,w.pG)],Ne);let Le=class{constructor(e){this.configurationService=e}getEOL(e,t){const n=this.configurationService.getValue("files.eol",{overrideIdentifier:t,resource:e});return n&&"string"===typeof n&&"auto"!==n?n:l.j9||l.zx?"\n":"\r\n"}};Le=Se([ke(0,w.pG)],Le);class Fe{constructor(){const e=d.r.from({scheme:Fe.SCHEME,authority:"model",path:"/"});this.workspace={id:"4064f6ec-cb38-4ad0-af64-ee6467e63c82",folders:[new F.mX({uri:e,name:"",index:0})]}}getWorkspace(){return this.workspace}getWorkspaceFolder(e){return e&&e.scheme===Fe.SCHEME?this.workspace.folders[0]:null}}function Pe(e,t,n){if(!t)return;if(!(e instanceof Me))return;const r=[];Object.keys(t).forEach((e=>{(0,f.vf)(e)&&r.push([`editor.${e}`,t[e]]),n&&(0,f.Gn)(e)&&r.push([`diffEditor.${e}`,t[e]])})),r.length>0&&e.updateValues(r)}Fe.SCHEME="inmemory";let ze=class{constructor(e){this._modelService=e}hasPreviewHandler(){return!1}apply(e,t){return Ce(this,void 0,void 0,(function*(){const t=new Map;for(const r of e){if(!(r instanceof h.cw))throw new Error("bad edit - only text edits are supported");const e=this._modelService.getModel(r.resource);if(!e)throw new Error("bad edit - model not found");if("number"===typeof r.versionId&&e.getVersionId()!==r.versionId)throw new Error("bad state - model changed in the meantime");let n=t.get(e);n||(n=[],t.set(e,n)),n.push(p.k.replaceMove(g.Q.lift(r.textEdit.range),r.textEdit.text))}let n=0,s=0;for(const[e,r]of t)e.pushStackElement(),e.pushEditOperations([],r,(()=>[])),e.pushStackElement(),s+=1,n+=r.length;return{ariaSummary:r.GP(z.tu.bulkEditServiceSummary,n,s)}}))}};ze=Se([ke(0,_.S)],ze);let je=class extends H.Y{constructor(e,t){super(e),this._codeEditorService=t}showContextView(e,t,n){if(!t){const e=this._codeEditorService.getFocusedCodeEditor()||this._codeEditorService.getActiveCodeEditor();e&&(t=e.getContainerDomNode())}return super.showContextView(e,t,n)}};je=Se([ke(0,P.x),ke(1,B.T)],je);class Be extends q.g{constructor(){super()}}class $e extends $.Kc{constructor(){super(new $.Cr)}}let Ue=class extends G.K{constructor(e,t,n,r,s){super(e,t,n,r,s),this.configure({blockMouse:!1})}};var We;Ue=Se([ke(0,L.k),ke(1,M.Ot),ke(2,W.l),ke(3,T.b),ke(4,V.Gy)],Ue),(0,K.v)(w.pG,Me),(0,K.v)(y.U,Ne),(0,K.v)(y.J,Le),(0,K.v)(F.VR,Fe),(0,K.v)(D.L,class{getUriLabel(e,t){return"file"===e.scheme?e.fsPath:e.path}getUriBasenameLabel(e){return(0,j.P8)(e)}}),(0,K.v)(L.k,class{publicLog(e,t){return Promise.resolve(void 0)}publicLog2(e,t){return this.publicLog(e,t)}}),(0,K.v)(C.X,class{confirm(e){return this.doConfirm(e).then((e=>({confirmed:e,checkboxChecked:!1})))}doConfirm(e){let t=e.message;return e.detail&&(t=t+"\n\n"+e.detail),Promise.resolve(window.confirm(t))}show(e,t,n,r){return Promise.resolve({choice:0})}}),(0,K.v)(M.Ot,Ie),(0,K.v)(ge.DR,_e.m),(0,K.v)(X.L,Be),(0,K.v)(se.L,re.Sx),(0,K.v)($.rr,$e),(0,K.v)(_.S,te.JW),(0,K.v)(ee.A,Q.D),(0,K.v)(k.fN,de.i7),(0,K.v)(N.G5,class{withProgress(e,t,n){return t({report:()=>{}})}}),(0,K.v)(N.N8,Te),(0,K.v)(be.CS,be.pc),(0,K.v)(Y.w,Z.Bc),(0,K.v)(h.nu,ze),(0,K.v)(U.L,class{constructor(){this._neverEmitter=new o.vl,this.onDidChangeTrust=this._neverEmitter.event}isWorkspaceTrusted(){return!0}}),(0,K.v)(v.b,Ee),(0,K.v)(oe.j,ie.s),(0,K.v)(me.PE,me.aG),(0,K.v)(b.wT,Oe),(0,K.v)(T.b,Ae),(0,K.v)(ye.GK,ne.oC),(0,K.v)(W.l,je),(0,K.v)(ve.Cr,J.J),(0,K.v)(ue.h,le.w),(0,K.v)(W.Z,Ue),(0,K.v)(ae.ez,ce.$),function(e){const t=new pe.a;for(const[s,i]of(0,K.N)())t.set(s,i);const n=new fe.n(t,!0);t.set(x._Y,n),e.get=function(e){const r=t.get(e);if(!r)throw new Error("Missing service "+e);return r instanceof he.d?n.invokeFunction((t=>t.get(e))):r};let r=!1;e.initialize=function(e){if(r)return n;r=!0;for(const[n,r]of(0,K.N)())t.get(n)||t.set(n,r);for(const n in e)if(e.hasOwnProperty(n)){const r=(0,x.u1)(n);t.get(r)instanceof he.d&&t.set(r,e[n])}return n}}(We||(We={}))},35819:(e,t,n)=>{"use strict";n.d(t,{AM:()=>o,kg:()=>i});let r="undefined"!==typeof document&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;function s(e,t){let n;return n=0===t.length?e:e.replace(/\{(\d+)\}/g,((e,n)=>{const r=n[0],s=t[r];let i=e;return"string"===typeof s?i=s:"number"!==typeof s&&"boolean"!==typeof s&&void 0!==s&&null!==s||(i=String(s)),i})),r&&(n="\uff3b"+n.replace(/[aouei]/g,"$&$&")+"\uff3d"),n}function i(e,t,...n){return s(t,n)}function o(e){}},34029:(e,t,n)=>{"use strict";var r;n.d(t,{_$:()=>r,_Y:()=>s,u1:()=>i}),function(e){e.serviceIds=new Map,e.DI_TARGET="$di$target",e.DI_DEPENDENCIES="$di$dependencies",e.getServiceDependencies=function(t){return t[e.DI_DEPENDENCIES]||[]}}(r||(r={}));const s=i("instantiationService");function i(e){if(r.serviceIds.has(e))return r.serviceIds.get(e);const t=function(e,n,s){if(3!==arguments.length)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");!function(e,t,n){t[r.DI_TARGET]===t?t[r.DI_DEPENDENCIES].push({id:e,index:n}):(t[r.DI_DEPENDENCIES]=[{id:e,index:n}],t[r.DI_TARGET]=t)}(t,e,s)};return t.toString=()=>e,r.serviceIds.set(e,t),t}},95856:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(9793),s=n(98173);const i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H212V212h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H612V212h200v200zM464 544H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H212V612h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H612V612h200v200z"}}]},name:"appstore",theme:"outlined"};var o=n(8880),a=function(e,t){return s.createElement(o.A,(0,r.A)({},e,{ref:t,icon:i}))};const c=s.forwardRef(a)},6987:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(9793),s=n(98173);const i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"check-circle",theme:"outlined"};var o=n(8880),a=function(e,t){return s.createElement(o.A,(0,r.A)({},e,{ref:t,icon:i}))};const c=s.forwardRef(a)},48426:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(9793),s=n(98173);const i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M484 443.1V528h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H484v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V584h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H540v-84.9c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1zm396-144.7H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder-add",theme:"outlined"};var o=n(8880),a=function(e,t){return s.createElement(o.A,(0,r.A)({},e,{ref:t,icon:i}))};const c=s.forwardRef(a)},73773:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(9793),s=n(98173);const i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M521.7 82c-152.5-.4-286.7 78.5-363.4 197.7-3.4 5.3.4 12.3 6.7 12.3h70.3c4.8 0 9.3-2.1 12.3-5.8 7-8.5 14.5-16.7 22.4-24.5 32.6-32.5 70.5-58.1 112.7-75.9 43.6-18.4 90-27.8 137.9-27.8 47.9 0 94.3 9.3 137.9 27.8 42.2 17.8 80.1 43.4 112.7 75.9 32.6 32.5 58.1 70.4 76 112.5C865.7 417.8 875 464.1 875 512c0 47.9-9.4 94.2-27.8 137.8-17.8 42.1-43.4 80-76 112.5s-70.5 58.1-112.7 75.9A352.8 352.8 0 01520.6 866c-47.9 0-94.3-9.4-137.9-27.8A353.84 353.84 0 01270 762.3c-7.9-7.9-15.3-16.1-22.4-24.5-3-3.7-7.6-5.8-12.3-5.8H165c-6.3 0-10.2 7-6.7 12.3C234.9 863.2 368.5 942 520.6 942c236.2 0 428-190.1 430.4-425.6C953.4 277.1 761.3 82.6 521.7 82zM395.02 624v-76h-314c-4.4 0-8-3.6-8-8v-56c0-4.4 3.6-8 8-8h314v-76c0-6.7 7.8-10.5 13-6.3l141.9 112a8 8 0 010 12.6l-141.9 112c-5.2 4.1-13 .4-13-6.3z"}}]},name:"login",theme:"outlined"};var o=n(8880),a=function(e,t){return s.createElement(o.A,(0,r.A)({},e,{ref:t,icon:i}))};const c=s.forwardRef(a)},47459:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(9793),s=n(98173);const i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-80.8 108.9L531.7 514.4c-7.8 6.1-18.7 6.1-26.5 0L189.6 268.9A7.2 7.2 0 01194 256h648.8a7.2 7.2 0 014.4 12.9z"}}]},name:"mail",theme:"filled"};var o=n(8880),a=function(e,t){return s.createElement(o.A,(0,r.A)({},e,{ref:t,icon:i}))};const c=s.forwardRef(a)},27010:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(9793),s=n(98173);const i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M412.7 696.5l246-178c4.4-3.2 4.4-9.7 0-12.9l-246-178c-5.3-3.8-12.7 0-12.7 6.5V381c0 10.2 4.9 19.9 13.2 25.9L558.6 512 413.2 617.2c-8.3 6-13.2 15.6-13.2 25.9V690c0 6.5 7.4 10.3 12.7 6.5z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"right-square",theme:"outlined"};var o=n(8880),a=function(e,t){return s.createElement(o.A,(0,r.A)({},e,{ref:t,icon:i}))};const c=s.forwardRef(a)},59913:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(9793),s=n(98173);const i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M752 664c-28.5 0-54.8 10-75.4 26.7L469.4 540.8a160.68 160.68 0 000-57.6l207.2-149.9C697.2 350 723.5 360 752 360c66.2 0 120-53.8 120-120s-53.8-120-120-120-120 53.8-120 120c0 11.6 1.6 22.7 4.7 33.3L439.9 415.8C410.7 377.1 364.3 352 312 352c-88.4 0-160 71.6-160 160s71.6 160 160 160c52.3 0 98.7-25.1 127.9-63.8l196.8 142.5c-3.1 10.6-4.7 21.8-4.7 33.3 0 66.2 53.8 120 120 120s120-53.8 120-120-53.8-120-120-120zm0-476c28.7 0 52 23.3 52 52s-23.3 52-52 52-52-23.3-52-52 23.3-52 52-52zM312 600c-48.5 0-88-39.5-88-88s39.5-88 88-88 88 39.5 88 88-39.5 88-88 88zm440 236c-28.7 0-52-23.3-52-52s23.3-52 52-52 52 23.3 52 52-23.3 52-52 52z"}}]},name:"share-alt",theme:"outlined"};var o=n(8880),a=function(e,t){return s.createElement(o.A,(0,r.A)({},e,{ref:t,icon:i}))};const c=s.forwardRef(a)},17488:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(9793),s=n(98173);const i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M678.3 642.4c24.2-13 51.9-20.4 81.4-20.4h.1c3 0 4.4-3.6 2.2-5.6a371.67 371.67 0 00-103.7-65.8c-.4-.2-.8-.3-1.2-.5C719.2 505 759.6 431.7 759.6 349c0-137-110.8-248-247.5-248S264.7 212 264.7 349c0 82.7 40.4 156 102.6 201.1-.4.2-.8.3-1.2.5-44.7 18.9-84.8 46-119.3 80.6a373.42 373.42 0 00-80.4 119.5A373.6 373.6 0 00137 888.8a8 8 0 008 8.2h59.9c4.3 0 7.9-3.5 8-7.8 2-77.2 32.9-149.5 87.6-204.3C357 628.2 432.2 597 512.2 597c56.7 0 111.1 15.7 158 45.1a8.1 8.1 0 008.1.3zM512.2 521c-45.8 0-88.9-17.9-121.4-50.4A171.2 171.2 0 01340.5 349c0-45.9 17.9-89.1 50.3-121.6S466.3 177 512.2 177s88.9 17.9 121.4 50.4A171.2 171.2 0 01683.9 349c0 45.9-17.9 89.1-50.3 121.6C601.1 503.1 558 521 512.2 521zM880 759h-84v-84c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v84h-84c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h84v84c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-84h84c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z"}}]},name:"user-add",theme:"outlined"};var o=n(8880),a=function(e,t){return s.createElement(o.A,(0,r.A)({},e,{ref:t,icon:i}))};const c=s.forwardRef(a)},1096:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(9793),s=n(98173);const i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M892 772h-80v-80c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v80h-80c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h80v80c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-80h80c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM373.5 498.4c-.9-8.7-1.4-17.5-1.4-26.4 0-15.9 1.5-31.4 4.3-46.5.7-3.6-1.2-7.3-4.5-8.8-13.6-6.1-26.1-14.5-36.9-25.1a127.54 127.54 0 01-38.7-95.4c.9-32.1 13.8-62.6 36.3-85.6 24.7-25.3 57.9-39.1 93.2-38.7 31.9.3 62.7 12.6 86 34.4 7.9 7.4 14.7 15.6 20.4 24.4 2 3.1 5.9 4.4 9.3 3.2 17.6-6.1 36.2-10.4 55.3-12.4 5.6-.6 8.8-6.6 6.3-11.6-32.5-64.3-98.9-108.7-175.7-109.9-110.8-1.7-203.2 89.2-203.2 200 0 62.8 28.9 118.8 74.2 155.5-31.8 14.7-61.1 35-86.5 60.4-54.8 54.7-85.8 126.9-87.8 204a8 8 0 008 8.2h56.1c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5 29.4-29.4 65.4-49.8 104.7-59.7 3.8-1.1 6.4-4.8 5.9-8.8zM824 472c0-109.4-87.9-198.3-196.9-200C516.3 270.3 424 361.2 424 472c0 62.8 29 118.8 74.2 155.5a300.95 300.95 0 00-86.4 60.4C357 742.6 326 814.8 324 891.8a8 8 0 008 8.2h56c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5C505.8 695.7 563 672 624 672c110.4 0 200-89.5 200-200zm-109.5 90.5C690.3 586.7 658.2 600 624 600s-66.3-13.3-90.5-37.5a127.26 127.26 0 01-37.5-91.8c.3-32.8 13.4-64.5 36.3-88 24-24.6 56.1-38.3 90.4-38.7 33.9-.3 66.8 12.9 91 36.6 24.8 24.3 38.4 56.8 38.4 91.4-.1 34.2-13.4 66.3-37.6 90.5z"}}]},name:"usergroup-add",theme:"outlined"};var o=n(8880),a=function(e,t){return s.createElement(o.A,(0,r.A)({},e,{ref:t,icon:i}))};const c=s.forwardRef(a)},72053:(e,t,n)=>{"use strict";n.d(t,{G_:()=>i});var r=n(98173);const s=(0,r.createContext)(null);function i({clientId:e,nonce:t,onScriptLoadSuccess:n,onScriptLoadError:i,children:o}){const a=function(e={}){const{nonce:t,onScriptLoadSuccess:n,onScriptLoadError:s}=e,[i,o]=(0,r.useState)(!1),a=(0,r.useRef)(n);a.current=n;const c=(0,r.useRef)(s);return c.current=s,(0,r.useEffect)((()=>{const e=document.createElement("script");return e.src="https://accounts.google.com/gsi/client",e.async=!0,e.defer=!0,e.nonce=t,e.onload=()=>{var e;o(!0),null===(e=a.current)||void 0===e||e.call(a)},e.onerror=()=>{var e;o(!1),null===(e=c.current)||void 0===e||e.call(c)},document.body.appendChild(e),()=>{document.body.removeChild(e)}}),[t]),i}({nonce:t,onScriptLoadSuccess:n,onScriptLoadError:i}),c=(0,r.useMemo)((()=>({clientId:e,scriptLoadedSuccessfully:a})),[e,a]);return r.createElement(s.Provider,{value:c},o)}},14832:(e,t,n)=>{"use strict";n.d(t,{dp:()=>mt});var r=n(83887),s=n(46310);const i="undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;var o=n(9576),a=n(5189),c=n(30747);const l="baggage",u="sentry-",d=/^sentry-/;function h(e){if(!e)return;return function(e){if(0===Object.keys(e).length)return;return Object.entries(e).reduce(((e,[t,n],s)=>{const i=`${encodeURIComponent(t)}=${encodeURIComponent(n)}`,o=0===s?i:`${e},${i}`;return o.length>8192?(a.T&&r.vF.warn(`Not adding key: ${t} with val: ${n} to baggage header due to exceeding baggage size limits.`),e):o}),"")}(Object.entries(e).reduce(((e,[t,n])=>(n&&(e[`${u}${t}`]=n),e)),{}))}function f(e){return e.split(",").map((e=>e.split("=").map((e=>decodeURIComponent(e.trim()))))).reduce(((e,[t,n])=>(e[t]=n,e)),{})}var p=n(4475);const m=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function g(e){if(!e)return;const t=e.match(m);if(!t)return;let n;return"1"===t[3]?n=!0:"0"===t[3]&&(n=!1),{traceId:t[1],parentSampled:n,parentSpanId:t[2]}}function _(e,t){const n=g(e),r=function(e){if(!(0,c.Kg)(e)&&!Array.isArray(e))return;let t={};if(Array.isArray(e))t=e.reduce(((e,t)=>{const n=f(t);for(const r of Object.keys(n))e[r]=n[r];return e}),{});else{if(!e)return;t=f(e)}const n=Object.entries(t).reduce(((e,[t,n])=>(t.match(d)&&(e[t.slice(7)]=n),e)),{});return Object.keys(n).length>0?n:void 0}(t),{traceId:s,parentSpanId:i,parentSampled:o}=n||{};return n?{traceId:s||(0,p.eJ)(),parentSpanId:i||(0,p.eJ)().substring(16),spanId:(0,p.eJ)().substring(16),sampled:o,dsc:r||{}}:{traceId:s||(0,p.eJ)(),spanId:(0,p.eJ)().substring(16)}}function v(e=(0,p.eJ)(),t=(0,p.eJ)().substring(16),n){let r="";return void 0!==n&&(r=n?"-1":"-0"),`${e}-${t}${r}`}function y(e){const{spanId:t,traceId:n}=e.spanContext(),{data:r,op:s,parent_span_id:i,status:a,tags:c,origin:l}=k(e);return(0,o.Ce)({data:r,op:s,parent_span_id:i,span_id:t,status:a,tags:c,trace_id:n,origin:l})}function b(e){const{traceId:t,spanId:n}=e.spanContext();return v(t,n,C(e))}function w(e){return"number"===typeof e?S(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?S(e.getTime()):(0,s.zf)()}function S(e){return e>9999999999?e/1e3:e}function k(e){return function(e){return"function"===typeof e.getSpanJSON}(e)?e.getSpanJSON():"function"===typeof e.toJSON?e.toJSON():{}}function C(e){const{traceFlags:t}=e.spanContext();return Boolean(1&t)}let x;function E(e){return x?x.get(e):void 0}function T(e){const t=E(e);if(!t)return;const n={};for(const[,[r,s]]of t)n[r]||(n[r]=[]),n[r].push((0,o.Ce)(s));return n}const I="sentry.source",O="sentry.sample_rate",A="sentry.op",R="sentry.origin";function D(e){return e.transaction}var M;function N(e){if(e<400&&e>=100)return"ok";if(e>=400&&e<500)switch(e){case 401:return"unauthenticated";case 403:return"permission_denied";case 404:return"not_found";case 409:return"already_exists";case 413:return"failed_precondition";case 429:return"resource_exhausted";default:return"invalid_argument"}if(e>=500&&e<600)switch(e){case 501:return"unimplemented";case 503:return"unavailable";case 504:return"deadline_exceeded";default:return"internal_error"}return"unknown_error"}!function(e){e.Ok="ok";e.DeadlineExceeded="deadline_exceeded";e.Unauthenticated="unauthenticated";e.PermissionDenied="permission_denied";e.NotFound="not_found";e.ResourceExhausted="resource_exhausted";e.InvalidArgument="invalid_argument";e.Unimplemented="unimplemented";e.Unavailable="unavailable";e.InternalError="internal_error";e.UnknownError="unknown_error";e.Cancelled="cancelled";e.AlreadyExists="already_exists";e.FailedPrecondition="failed_precondition";e.Aborted="aborted";e.OutOfRange="out_of_range";e.DataLoss="data_loss"}(M||(M={}));function L(e,t){e.setTag("http.status_code",String(t)),e.setData("http.response.status_code",t);const n=N(t);"unknown_error"!==n&&e.setStatus(n)}class F{constructor(e=1e3){this._maxlen=e,this.spans=[]}add(e){this.spans.length>this._maxlen?e.spanRecorder=void 0:this.spans.push(e)}}class P{constructor(e={}){this._traceId=e.traceId||(0,p.eJ)(),this._spanId=e.spanId||(0,p.eJ)().substring(16),this._startTime=e.startTimestamp||(0,s.zf)(),this.tags=e.tags?{...e.tags}:{},this.data=e.data?{...e.data}:{},this.instrumenter=e.instrumenter||"sentry",this._attributes={},this.setAttributes({[R]:e.origin||"manual",[A]:e.op,...e.attributes}),this._name=e.name||e.description,e.parentSpanId&&(this._parentSpanId=e.parentSpanId),"sampled"in e&&(this._sampled=e.sampled),e.status&&(this._status=e.status),e.endTimestamp&&(this._endTime=e.endTimestamp),void 0!==e.exclusiveTime&&(this._exclusiveTime=e.exclusiveTime),this._measurements=e.measurements?{...e.measurements}:{}}get name(){return this._name||""}set name(e){this.updateName(e)}get description(){return this._name}set description(e){this._name=e}get traceId(){return this._traceId}set traceId(e){this._traceId=e}get spanId(){return this._spanId}set spanId(e){this._spanId=e}set parentSpanId(e){this._parentSpanId=e}get parentSpanId(){return this._parentSpanId}get sampled(){return this._sampled}set sampled(e){this._sampled=e}get attributes(){return this._attributes}set attributes(e){this._attributes=e}get startTimestamp(){return this._startTime}set startTimestamp(e){this._startTime=e}get endTimestamp(){return this._endTime}set endTimestamp(e){this._endTime=e}get status(){return this._status}set status(e){this._status=e}get op(){return this._attributes[A]}set op(e){this.setAttribute(A,e)}get origin(){return this._attributes[R]}set origin(e){this.setAttribute(R,e)}spanContext(){const{_spanId:e,_traceId:t,_sampled:n}=this;return{spanId:e,traceId:t,traceFlags:n?1:0}}startChild(e){const t=new P({...e,parentSpanId:this._spanId,sampled:this._sampled,traceId:this._traceId});t.spanRecorder=this.spanRecorder,t.spanRecorder&&t.spanRecorder.add(t);const n=D(this);if(t.transaction=n,i&&n){const s=`[Tracing] Starting '${e&&e.op||"< unknown op >"}' span on transaction '${k(t).description||"< unknown name >"}' (${n.spanContext().spanId}).`;r.vF.log(s),this._logMessage=s}return t}setTag(e,t){return this.tags={...this.tags,[e]:t},this}setData(e,t){return this.data={...this.data,[e]:t},this}setAttribute(e,t){void 0===t?delete this._attributes[e]:this._attributes[e]=t}setAttributes(e){Object.keys(e).forEach((t=>this.setAttribute(t,e[t])))}setStatus(e){return this._status=e,this}setHttpStatus(e){return L(this,e),this}setName(e){this.updateName(e)}updateName(e){return this._name=e,this}isSuccess(){return"ok"===this._status}finish(e){return this.end(e)}end(e){if(this._endTime)return;const t=D(this);if(i&&t&&t.spanContext().spanId!==this._spanId){const e=this._logMessage;e&&r.vF.log(e.replace("Starting","Finishing"))}this._endTime=w(e)}toTraceparent(){return b(this)}toContext(){return(0,o.Ce)({data:this._getData(),description:this._name,endTimestamp:this._endTime,op:this.op,parentSpanId:this._parentSpanId,sampled:this._sampled,spanId:this._spanId,startTimestamp:this._startTime,status:this._status,tags:this.tags,traceId:this._traceId})}updateWithContext(e){return this.data=e.data||{},this._name=e.name||e.description,this._endTime=e.endTimestamp,this.op=e.op,this._parentSpanId=e.parentSpanId,this._sampled=e.sampled,this._spanId=e.spanId||this._spanId,this._startTime=e.startTimestamp||this._startTime,this._status=e.status,this.tags=e.tags||{},this._traceId=e.traceId||this._traceId,this}getTraceContext(){return y(this)}getSpanJSON(){return(0,o.Ce)({data:this._getData(),description:this._name,op:this._attributes[A],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:this._status,tags:Object.keys(this.tags).length>0?this.tags:void 0,timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[R],_metrics_summary:T(this),profile_id:this._attributes.profile_id,exclusive_time:this._exclusiveTime,measurements:Object.keys(this._measurements).length>0?this._measurements:void 0})}isRecording(){return!this._endTime&&!!this._sampled}toJSON(){return this.getSpanJSON()}_getData(){const{data:e,_attributes:t}=this,n=Object.keys(e).length>0,r=Object.keys(t).length>0;if(n||r)return n&&r?{...e,...t}:n?e:t}}var z=n(91444);const j="production";var B=n(85195);function $(){return(0,z.BY)("globalEventProcessors",(()=>[]))}function U(e,t,n,s=0){return new B.T2(((o,a)=>{const l=e[s];if(null===t||"function"!==typeof l)o(t);else{const u=l({...t},n);i&&l.id&&null===u&&r.vF.log(`Event processor "${l.id}" dropped event`),(0,c.Qg)(u)?u.then((t=>U(e,t,n,s+1).then(o))).then(null,a):U(e,u,n,s+1).then(o).then(null,a)}}))}function W(e){const t=(0,s.zf)(),n={sid:(0,p.eJ)(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>function(e){return(0,o.Ce)({sid:`${e.sid}`,init:e.init,started:new Date(1e3*e.started).toISOString(),timestamp:new Date(1e3*e.timestamp).toISOString(),status:e.status,errors:e.errors,did:"number"===typeof e.did||"string"===typeof e.did?`${e.did}`:void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}})}(n)};return e&&H(n,e),n}function H(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),e.did||t.did||(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||(0,s.zf)(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=32===t.sid.length?t.sid:(0,p.eJ)()),void 0!==t.init&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),"number"===typeof t.started&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if("number"===typeof t.duration)e.duration=t.duration;else{const t=e.timestamp-e.started;e.duration=t>=0?t:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),"number"===typeof t.errors&&(e.errors=t.errors),t.status&&(e.status=t.status)}function q(){return re().getClient()}function G(){return re().getScope()}function V(e,t,n){const r=t.getOptions(),{publicKey:s}=t.getDsn()||{},{segment:i}=n&&n.getUser()||{},a=(0,o.Ce)({environment:r.environment||j,release:r.release,user_segment:i,public_key:s,trace_id:e});return t.emit&&t.emit("createDsc",a),a}function K(e){const t=q();if(!t)return{};const n=V(k(e).trace_id||"",t,G()),r=D(e);if(!r)return n;const s=r&&r._frozenDynamicSamplingContext;if(s)return s;const{sampleRate:i,source:o}=r.metadata;null!=i&&(n.sample_rate=`${i}`);const a=k(r);return o&&"url"!==o&&(n.transaction=a.description),n.sampled=String(C(r)),t.emit&&t.emit("createDsc",n),n}function J(e,t){const{fingerprint:n,span:r,breadcrumbs:s,sdkProcessingMetadata:i}=t;!function(e,t){const{extra:n,tags:r,user:s,contexts:i,level:a,transactionName:c}=t,l=(0,o.Ce)(n);l&&Object.keys(l).length&&(e.extra={...l,...e.extra});const u=(0,o.Ce)(r);u&&Object.keys(u).length&&(e.tags={...u,...e.tags});const d=(0,o.Ce)(s);d&&Object.keys(d).length&&(e.user={...d,...e.user});const h=(0,o.Ce)(i);h&&Object.keys(h).length&&(e.contexts={...h,...e.contexts});a&&(e.level=a);c&&(e.transaction=c)}(e,t),r&&function(e,t){e.contexts={trace:y(t),...e.contexts};const n=D(t);if(n){e.sdkProcessingMetadata={dynamicSamplingContext:K(t),...e.sdkProcessingMetadata};const r=k(n).description;r&&(e.tags={transaction:r,...e.tags})}}(e,r),function(e,t){e.fingerprint=e.fingerprint?(0,p.k9)(e.fingerprint):[],t&&(e.fingerprint=e.fingerprint.concat(t));e.fingerprint&&!e.fingerprint.length&&delete e.fingerprint}(e,n),function(e,t){const n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}(e,s),function(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}(e,i)}class Y{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=Z()}static clone(e){return e?e.clone():new Y}clone(){const e=new Y;return e._breadcrumbs=[...this._breadcrumbs],e._tags={...this._tags},e._extra={...this._extra},e._contexts={...this._contexts},e._user=this._user,e._level=this._level,e._span=this._span,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=[...this._eventProcessors],e._requestSession=this._requestSession,e._attachments=[...this._attachments],e._sdkProcessingMetadata={...this._sdkProcessingMetadata},e._propagationContext={...this._propagationContext},e._client=this._client,e}setClient(e){this._client=e}getClient(){return this._client}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,segment:void 0,username:void 0},this._session&&H(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(e){return this._requestSession=e,this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this._tags={...this._tags,[e]:t},this._notifyScopeListeners(),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,t){return this._extra={...this._extra,[e]:t},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return null===t?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}setSpan(e){return this._span=e,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){const e=this._span;return e&&e.transaction}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;const t="function"===typeof e?e(this):e;if(t instanceof Y){const e=t.getScopeData();this._tags={...this._tags,...e.tags},this._extra={...this._extra,...e.extra},this._contexts={...this._contexts,...e.contexts},e.user&&Object.keys(e.user).length&&(this._user=e.user),e.level&&(this._level=e.level),e.fingerprint.length&&(this._fingerprint=e.fingerprint),t.getRequestSession()&&(this._requestSession=t.getRequestSession()),e.propagationContext&&(this._propagationContext=e.propagationContext)}else if((0,c.Qd)(t)){const t=e;this._tags={...this._tags,...t.tags},this._extra={...this._extra,...t.extra},this._contexts={...this._contexts,...t.contexts},t.user&&(this._user=t.user),t.level&&(this._level=t.level),t.fingerprint&&(this._fingerprint=t.fingerprint),t.requestSession&&(this._requestSession=t.requestSession),t.propagationContext&&(this._propagationContext=t.propagationContext)}return this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this._propagationContext=Z(),this}addBreadcrumb(e,t){const n="number"===typeof t?t:100;if(n<=0)return this;const r={timestamp:(0,s.lu)(),...e},i=this._breadcrumbs;return i.push(r),this._breadcrumbs=i.length>n?i.slice(-n):i,this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}getAttachments(){return this.getScopeData().attachments}clearAttachments(){return this._attachments=[],this}getScopeData(){const{_breadcrumbs:e,_attachments:t,_contexts:n,_tags:r,_extra:s,_user:i,_level:o,_fingerprint:a,_eventProcessors:c,_propagationContext:l,_sdkProcessingMetadata:u,_transactionName:d,_span:h}=this;return{breadcrumbs:e,attachments:t,contexts:n,tags:r,extra:s,user:i,level:o,fingerprint:a||[],eventProcessors:c,propagationContext:l,sdkProcessingMetadata:u,transactionName:d,span:h}}applyToEvent(e,t={},n=[]){J(e,this.getScopeData());return U([...n,...$(),...this._eventProcessors],e,t)}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...e},this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,t){const n=t&&t.event_id?t.event_id:(0,p.eJ)();if(!this._client)return r.vF.warn("No client configured on scope - will not capture exception!"),n;const s=new Error("Sentry syntheticException");return this._client.captureException(e,{originalException:e,syntheticException:s,...t,event_id:n},this),n}captureMessage(e,t,n){const s=n&&n.event_id?n.event_id:(0,p.eJ)();if(!this._client)return r.vF.warn("No client configured on scope - will not capture message!"),s;const i=new Error(e);return this._client.captureMessage(e,t,{originalException:e,syntheticException:i,...n,event_id:s},this),s}captureEvent(e,t){const n=t&&t.event_id?t.event_id:(0,p.eJ)();return this._client?(this._client.captureEvent(e,{...t,event_id:n},this),n):(r.vF.warn("No client configured on scope - will not capture event!"),n)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach((e=>{e(this)})),this._notifyingListeners=!1)}}function Z(){return{traceId:(0,p.eJ)(),spanId:(0,p.eJ)().substring(16)}}const X=parseFloat("7.120.3"),Q=100;class ee{constructor(e,t,n,r=X){let s,i;this._version=r,t?s=t:(s=new Y,s.setClient(e)),n?i=n:(i=new Y,i.setClient(e)),this._stack=[{scope:s}],e&&this.bindClient(e),this._isolationScope=i}isOlderThan(e){return this._version<e}bindClient(e){const t=this.getStackTop();t.client=e,t.scope.setClient(e),e&&e.setupIntegrations&&e.setupIntegrations()}pushScope(){const e=this.getScope().clone();return this.getStack().push({client:this.getClient(),scope:e}),e}popScope(){return!(this.getStack().length<=1)&&!!this.getStack().pop()}withScope(e){const t=this.pushScope();let n;try{n=e(t)}catch(r){throw this.popScope(),r}return(0,c.Qg)(n)?n.then((e=>(this.popScope(),e)),(e=>{throw this.popScope(),e})):(this.popScope(),n)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStack(){return this._stack}getStackTop(){return this._stack[this._stack.length-1]}captureException(e,t){const n=this._lastEventId=t&&t.event_id?t.event_id:(0,p.eJ)(),r=new Error("Sentry syntheticException");return this.getScope().captureException(e,{originalException:e,syntheticException:r,...t,event_id:n}),n}captureMessage(e,t,n){const r=this._lastEventId=n&&n.event_id?n.event_id:(0,p.eJ)(),s=new Error(e);return this.getScope().captureMessage(e,t,{originalException:e,syntheticException:s,...n,event_id:r}),r}captureEvent(e,t){const n=t&&t.event_id?t.event_id:(0,p.eJ)();return e.type||(this._lastEventId=n),this.getScope().captureEvent(e,{...t,event_id:n}),n}lastEventId(){return this._lastEventId}addBreadcrumb(e,t){const{scope:n,client:i}=this.getStackTop();if(!i)return;const{beforeBreadcrumb:o=null,maxBreadcrumbs:a=Q}=i.getOptions&&i.getOptions()||{};if(a<=0)return;const c={timestamp:(0,s.lu)(),...e},l=o?(0,r.pq)((()=>o(c,t))):c;null!==l&&(i.emit&&i.emit("beforeAddBreadcrumb",l,t),n.addBreadcrumb(l,a))}setUser(e){this.getScope().setUser(e),this.getIsolationScope().setUser(e)}setTags(e){this.getScope().setTags(e),this.getIsolationScope().setTags(e)}setExtras(e){this.getScope().setExtras(e),this.getIsolationScope().setExtras(e)}setTag(e,t){this.getScope().setTag(e,t),this.getIsolationScope().setTag(e,t)}setExtra(e,t){this.getScope().setExtra(e,t),this.getIsolationScope().setExtra(e,t)}setContext(e,t){this.getScope().setContext(e,t),this.getIsolationScope().setContext(e,t)}configureScope(e){const{scope:t,client:n}=this.getStackTop();n&&e(t)}run(e){const t=ne(this);try{e(this)}finally{ne(t)}}getIntegration(e){const t=this.getClient();if(!t)return null;try{return t.getIntegration(e)}catch(n){return i&&r.vF.warn(`Cannot retrieve integration ${e.id} from the current Hub`),null}}startTransaction(e,t){const n=this._callExtensionMethod("startTransaction",e,t);if(i&&!n){this.getClient()?r.vF.warn("Tracing extension 'startTransaction' has not been added. Call 'addTracingExtensions' before calling 'init':\nSentry.addTracingExtensions();\nSentry.init({...});\n"):r.vF.warn("Tracing extension 'startTransaction' is missing. You should 'init' the SDK before calling 'startTransaction'")}return n}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(e=!1){if(e)return this.endSession();this._sendSessionUpdate()}endSession(){const e=this.getStackTop().scope,t=e.getSession();t&&function(e,t){let n={};t?n={status:t}:"ok"===e.status&&(n={status:"exited"}),H(e,n)}(t),this._sendSessionUpdate(),e.setSession()}startSession(e){const{scope:t,client:n}=this.getStackTop(),{release:r,environment:s=j}=n&&n.getOptions()||{},{userAgent:i}=z.OW.navigator||{},o=W({release:r,environment:s,user:t.getUser(),...i&&{userAgent:i},...e}),a=t.getSession&&t.getSession();return a&&"ok"===a.status&&H(a,{status:"exited"}),this.endSession(),t.setSession(o),o}shouldSendDefaultPii(){const e=this.getClient(),t=e&&e.getOptions();return Boolean(t&&t.sendDefaultPii)}_sendSessionUpdate(){const{scope:e,client:t}=this.getStackTop(),n=e.getSession();n&&t&&t.captureSession&&t.captureSession(n)}_callExtensionMethod(e,...t){const n=te().__SENTRY__;if(n&&n.extensions&&"function"===typeof n.extensions[e])return n.extensions[e].apply(this,t);i&&r.vF.warn(`Extension method ${e} couldn't be found, doing nothing.`)}}function te(){return z.OW.__SENTRY__=z.OW.__SENTRY__||{extensions:{},hub:void 0},z.OW}function ne(e){const t=te(),n=ae(t);return ce(t,e),n}function re(){const e=te();if(e.__SENTRY__&&e.__SENTRY__.acs){const t=e.__SENTRY__.acs.getCurrentHub();if(t)return t}return ie(e)}function se(){return re().getIsolationScope()}function ie(e=te()){return oe(e)&&!ae(e).isOlderThan(X)||ce(e,new ee),ae(e)}function oe(e){return!!(e&&e.__SENTRY__&&e.__SENTRY__.hub)}function ae(e){return(0,z.BY)("hub",(()=>new ee),e)}function ce(e,t){if(!e)return!1;return(e.__SENTRY__=e.__SENTRY__||{}).hub=t,!0}function le(e){if("boolean"===typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;const t=q(),n=e||t&&t.getOptions();return!!n&&(n.enableTracing||"tracesSampleRate"in n||"tracesSampler"in n)}function ue(e){if(!le())return;const t=fe(e),n=re(),r=e.scope?e.scope.getSpan():de();if(e.onlyIfParent&&!r)return;const s=(e.scope||G()).clone();return he(n,{parentSpan:r,spanContext:t,forceTransaction:e.forceTransaction,scope:s})}function de(){return G().getSpan()}function he(e,{parentSpan:t,spanContext:n,forceTransaction:r,scope:s}){if(!le())return;const i=se();let a;if(t&&!r)a=t.startChild(n);else if(t){const r=K(t),{traceId:s,spanId:i}=t.spanContext(),o=C(t);a=e.startTransaction({traceId:s,parentSpanId:i,parentSampled:o,...n,metadata:{dynamicSamplingContext:r,...n.metadata}})}else{const{traceId:t,dsc:r,parentSpanId:o,sampled:c}={...i.getPropagationContext(),...s.getPropagationContext()};a=e.startTransaction({traceId:t,parentSpanId:o,parentSampled:c,...n,metadata:{dynamicSamplingContext:r,...n.metadata}})}return s.setSpan(a),function(e,t,n){e&&((0,o.my)(e,me,n),(0,o.my)(e,pe,t))}(a,s,i),a}function fe(e){if(e.startTime){const t={...e};return t.startTimestamp=w(e.startTime),delete t.startTime,t}return e}const pe="_sentryScope",me="_sentryIsolationScope";class ge extends P{constructor(e,t){super(e),this._contexts={},this._hub=t||re(),this._name=e.name||"",this._metadata={...e.metadata},this._trimEnd=e.trimEnd,this.transaction=this;const n=this._metadata.dynamicSamplingContext;n&&(this._frozenDynamicSamplingContext={...n})}get name(){return this._name}set name(e){this.setName(e)}get metadata(){return{source:"custom",spanMetadata:{},...this._metadata,...this._attributes[I]&&{source:this._attributes[I]},...this._attributes[O]&&{sampleRate:this._attributes[O]}}}set metadata(e){this._metadata=e}setName(e,t="custom"){this._name=e,this.setAttribute(I,t)}updateName(e){return this._name=e,this}initSpanRecorder(e=1e3){this.spanRecorder||(this.spanRecorder=new F(e)),this.spanRecorder.add(this)}setContext(e,t){null===t?delete this._contexts[e]:this._contexts[e]=t}setMeasurement(e,t,n=""){this._measurements[e]={value:t,unit:n}}setMetadata(e){this._metadata={...this._metadata,...e}}end(e){const t=w(e),n=this._finishTransaction(t);if(n)return this._hub.captureEvent(n)}toContext(){const e=super.toContext();return(0,o.Ce)({...e,name:this._name,trimEnd:this._trimEnd})}updateWithContext(e){return super.updateWithContext(e),this._name=e.name||"",this._trimEnd=e.trimEnd,this}getDynamicSamplingContext(){return K(this)}setHub(e){this._hub=e}getProfileId(){if(void 0!==this._contexts&&void 0!==this._contexts.profile)return this._contexts.profile.profile_id}_finishTransaction(e){if(void 0!==this._endTime)return;this._name||(i&&r.vF.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>"),super.end(e);const t=this._hub.getClient();if(t&&t.emit&&t.emit("finishTransaction",this),!0!==this._sampled)return i&&r.vF.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled."),void(t&&t.recordDroppedEvent("sample_rate","transaction"));const n=this.spanRecorder?this.spanRecorder.spans.filter((e=>e!==this&&k(e).timestamp)):[];if(this._trimEnd&&n.length>0){const e=n.map((e=>k(e).timestamp)).filter(Boolean);this._endTime=e.reduce(((e,t)=>e>t?e:t))}const{scope:s,isolationScope:a}={scope:(c=this)[pe],isolationScope:c[me]};var c;const{metadata:l}=this,{source:u}=l,d={contexts:{...this._contexts,trace:y(this)},spans:n,start_timestamp:this._startTime,tags:this.tags,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{...l,capturedSpanScope:s,capturedSpanIsolationScope:a,...(0,o.Ce)({dynamicSamplingContext:K(this)})},_metrics_summary:T(this),...u&&{transaction_info:{source:u}}};return Object.keys(this._measurements).length>0&&(i&&r.vF.log("[Measurements] Adding measurements to transaction",JSON.stringify(this._measurements,void 0,2)),d.measurements=this._measurements),i&&r.vF.log(`[Tracing] Finishing ${this.op} transaction: ${this._name}.`),d}}const _e={idleTimeout:1e3,finalTimeout:3e4,heartbeatInterval:5e3},ve=["heartbeatFailed","idleTimeout","documentHidden","finalTimeout","externalFinish","cancelled"];class ye extends F{constructor(e,t,n,r){super(r),this._pushActivity=e,this._popActivity=t,this.transactionSpanId=n}add(e){if(e.spanContext().spanId!==this.transactionSpanId){const t=e.end;e.end=(...n)=>(this._popActivity(e.spanContext().spanId),t.apply(e,n)),void 0===k(e).timestamp&&this._pushActivity(e.spanContext().spanId)}super.add(e)}}class be extends ge{constructor(e,t,n=_e.idleTimeout,s=_e.finalTimeout,o=_e.heartbeatInterval,a=!1,c=!1){super(e,t),this._idleHub=t,this._idleTimeout=n,this._finalTimeout=s,this._heartbeatInterval=o,this._onScope=a,this.activities={},this._heartbeatCounter=0,this._finished=!1,this._idleTimeoutCanceledPermanently=!1,this._beforeFinishCallbacks=[],this._finishReason=ve[4],this._autoFinishAllowed=!c,a&&(i&&r.vF.log(`Setting idle transaction on scope. Span ID: ${this.spanContext().spanId}`),t.getScope().setSpan(this)),c||this._restartIdleTimeout(),setTimeout((()=>{this._finished||(this.setStatus("deadline_exceeded"),this._finishReason=ve[3],this.end())}),this._finalTimeout)}end(e){const t=w(e);if(this._finished=!0,this.activities={},"ui.action.click"===this.op&&this.setAttribute("finishReason",this._finishReason),this.spanRecorder){i&&r.vF.log("[Tracing] finishing IdleTransaction",new Date(1e3*t).toISOString(),this.op);for(const e of this._beforeFinishCallbacks)e(this,t);this.spanRecorder.spans=this.spanRecorder.spans.filter((e=>{if(e.spanContext().spanId===this.spanContext().spanId)return!0;k(e).timestamp||(e.setStatus("cancelled"),e.end(t),i&&r.vF.log("[Tracing] cancelling span since transaction ended early",JSON.stringify(e,void 0,2)));const{start_timestamp:n,timestamp:s}=k(e),o=n&&n<t,a=(this._finalTimeout+this._idleTimeout)/1e3,c=s&&n&&s-n<a;if(i){const t=JSON.stringify(e,void 0,2);o?c||r.vF.log("[Tracing] discarding Span since it finished after Transaction final timeout",t):r.vF.log("[Tracing] discarding Span since it happened after Transaction was finished",t)}return o&&c})),i&&r.vF.log("[Tracing] flushing IdleTransaction")}else i&&r.vF.log("[Tracing] No active IdleTransaction");if(this._onScope){const e=this._idleHub.getScope();e.getTransaction()===this&&e.setSpan(void 0)}return super.end(e)}registerBeforeFinishCallback(e){this._beforeFinishCallbacks.push(e)}initSpanRecorder(e){if(!this.spanRecorder){const t=e=>{this._finished||this._pushActivity(e)},n=e=>{this._finished||this._popActivity(e)};this.spanRecorder=new ye(t,n,this.spanContext().spanId,e),i&&r.vF.log("Starting heartbeat"),this._pingHeartbeat()}this.spanRecorder.add(this)}cancelIdleTimeout(e,{restartOnChildSpanChange:t}={restartOnChildSpanChange:!0}){this._idleTimeoutCanceledPermanently=!1===t,this._idleTimeoutID&&(clearTimeout(this._idleTimeoutID),this._idleTimeoutID=void 0,0===Object.keys(this.activities).length&&this._idleTimeoutCanceledPermanently&&(this._finishReason=ve[5],this.end(e)))}setFinishReason(e){this._finishReason=e}sendAutoFinishSignal(){this._autoFinishAllowed||(i&&r.vF.log("[Tracing] Received finish signal for idle transaction."),this._restartIdleTimeout(),this._autoFinishAllowed=!0)}_restartIdleTimeout(e){this.cancelIdleTimeout(),this._idleTimeoutID=setTimeout((()=>{this._finished||0!==Object.keys(this.activities).length||(this._finishReason=ve[1],this.end(e))}),this._idleTimeout)}_pushActivity(e){this.cancelIdleTimeout(void 0,{restartOnChildSpanChange:!this._idleTimeoutCanceledPermanently}),i&&r.vF.log(`[Tracing] pushActivity: ${e}`),this.activities[e]=!0,i&&r.vF.log("[Tracing] new activities count",Object.keys(this.activities).length)}_popActivity(e){if(this.activities[e]&&(i&&r.vF.log(`[Tracing] popActivity ${e}`),delete this.activities[e],i&&r.vF.log("[Tracing] new activities count",Object.keys(this.activities).length)),0===Object.keys(this.activities).length){const e=(0,s.zf)();this._idleTimeoutCanceledPermanently?this._autoFinishAllowed&&(this._finishReason=ve[5],this.end(e)):this._restartIdleTimeout(e+this._idleTimeout/1e3)}}_beat(){if(this._finished)return;const e=Object.keys(this.activities).join("");e===this._prevHeartbeatString?this._heartbeatCounter++:this._heartbeatCounter=1,this._prevHeartbeatString=e,this._heartbeatCounter>=3?this._autoFinishAllowed&&(i&&r.vF.log("[Tracing] Transaction finished because of no change for 3 heart beats"),this.setStatus("deadline_exceeded"),this._finishReason=ve[0],this.end()):this._pingHeartbeat()}_pingHeartbeat(){i&&r.vF.log(`pinging Heartbeat -> current counter: ${this._heartbeatCounter}`),setTimeout((()=>{this._beat()}),this._heartbeatInterval)}}var we=n(19150),Se=n(87976);function ke(e){return(e||re()).getScope().getTransaction()}let Ce=!1;function xe(){const e=ke();if(e){const t="internal_error";i&&r.vF.log(`[Tracing] Transaction: ${t} -> Global error occured`),e.setStatus(t)}}function Ee(e,t,n){if(!le(t))return e.sampled=!1,e;if(void 0!==e.sampled)return e.setAttribute(O,Number(e.sampled)),e;let s;return"function"===typeof t.tracesSampler?(s=t.tracesSampler(n),e.setAttribute(O,Number(s))):void 0!==n.parentSampled?s=n.parentSampled:"undefined"!==typeof t.tracesSampleRate?(s=t.tracesSampleRate,e.setAttribute(O,Number(s))):(s=1,e.setAttribute(O,s)),Te(s)?s?(e.sampled=Math.random()<s,e.sampled?(i&&r.vF.log(`[Tracing] starting ${e.op} transaction - ${k(e).description}`),e):(i&&r.vF.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(s)})`),e)):(i&&r.vF.log("[Tracing] Discarding transaction because "+("function"===typeof t.tracesSampler?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0")),e.sampled=!1,e):(i&&r.vF.warn("[Tracing] Discarding transaction because of invalid sample rate."),e.sampled=!1,e)}function Te(e){return(0,c.yr)(e)||"number"!==typeof e&&"boolean"!==typeof e?(i&&r.vF.warn(`[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(e)} of type ${JSON.stringify(typeof e)}.`),!1):!(e<0||e>1)||(i&&r.vF.warn(`[Tracing] Given sample rate is invalid. Sample rate must be between 0 and 1. Got ${e}.`),!1)}function Ie(){const e=this.getScope().getSpan();return e?{"sentry-trace":b(e)}:{}}function Oe(e,t){const n=this.getClient(),s=n&&n.getOptions()||{},o=s.instrumenter||"sentry",a=e.instrumenter||"sentry";o!==a&&(i&&r.vF.error(`A transaction was started with instrumenter=\`${a}\`, but the SDK is configured with the \`${o}\` instrumenter.\nThe transaction will not be sampled. Please use the ${o} instrumentation to start transactions.`),e.sampled=!1);let c=new ge(e,this);return c=Ee(c,s,{name:e.name,parentSampled:e.parentSampled,transactionContext:e,attributes:{...e.data,...e.attributes},...t}),c.isRecording()&&c.initSpanRecorder(s._experiments&&s._experiments.maxSpans),n&&n.emit&&n.emit("startTransaction",c),c}function Ae(e,t,n,r,s,i,o,a=!1){const c=e.getClient(),l=c&&c.getOptions()||{};let u=new be(t,e,n,r,o,s,a);return u=Ee(u,l,{name:t.name,parentSampled:t.parentSampled,transactionContext:t,attributes:{...t.data,...t.attributes},...i}),u.isRecording()&&u.initSpanRecorder(l._experiments&&l._experiments.maxSpans),c&&c.emit&&c.emit("startTransaction",u),u}function Re(){const e=te();e.__SENTRY__&&(e.__SENTRY__.extensions=e.__SENTRY__.extensions||{},e.__SENTRY__.extensions.startTransaction||(e.__SENTRY__.extensions.startTransaction=Oe),e.__SENTRY__.extensions.traceHeaders||(e.__SENTRY__.extensions.traceHeaders=Ie),Ce||(Ce=!0,(0,we.L)(xe),(0,Se.r)(xe)))}xe.tag="sentry_tracingErrorCallback";var De=n(22059),Me=n(70411),Ne=n(12514),Le=n(34866);var Fe=n(35172),Pe=n(30246),ze=n(44103);function je(e,t){const n={sent_at:(new Date).toISOString()};t&&(n.dsn=(0,Pe.SB)(t));const r=e.map(Be);return(0,ze.h4)(n,r)}function Be(e){return[{type:"span"},e]}var $e=n(50014),Ue=n(81812);function We(e){return"number"===typeof e&&isFinite(e)}function He(e,{startTimestamp:t,...n}){return t&&e.startTimestamp>t&&(e.startTimestamp=t),e.startChild({startTimestamp:t,...n})}var qe=n(22894);function Ge(e){return e/1e3}function Ve(){return Le.j&&Le.j.addEventListener&&Le.j.performance}let Ke,Je,Ye=0,Ze={};function Xe(){const e=Ve();if(e&&s.k3){e.mark&&Le.j.performance.mark("sentry-tracing-init");const t=(0,Fe.T5)((({metric:e})=>{const t=e.entries[e.entries.length-1];if(!t)return;const n=Ge(s.k3),i=Ge(t.startTime);Ne.T&&r.vF.log("[Measurements] Adding FID"),Ze.fid={value:e.value,unit:"millisecond"},Ze["mark.fid"]={value:n+i,unit:"second"}})),n=(0,Fe.a9)((({metric:e})=>{const t=e.entries[e.entries.length-1];t&&(Ne.T&&r.vF.log("[Measurements] Adding CLS"),Ze.cls={value:e.value,unit:""},Je=t)}),!0),i=(0,Fe.Pt)((({metric:e})=>{const t=e.entries[e.entries.length-1];t&&(Ne.T&&r.vF.log("[Measurements] Adding LCP"),Ze.lcp={value:e.value,unit:"millisecond"},Ke=t)}),!0),o=(0,Fe.YG)((({metric:e})=>{e.entries[e.entries.length-1]&&(Ne.T&&r.vF.log("[Measurements] Adding TTFB"),Ze.ttfb={value:e.value,unit:"millisecond"})}));return()=>{t(),n(),i(),o()}}return()=>{}}function Qe(e,t){if(Ve()&&s.k3){const n=function(e,t){return(0,Fe.hT)((({metric:n})=>{if(void 0===n.value)return;const i=n.entries.find((e=>e.duration===n.value&&void 0!==et[e.name])),o=q();if(!i||!o)return;const a=et[i.name],c=o.getOptions(),l=Ge(s.k3+i.startTime),u=Ge(n.value),d=void 0!==i.interactionId?e[i.interactionId]:void 0;if(void 0===d)return;const{routeName:h,parentContext:f,activeTransaction:p,user:m,replayId:g}=d,_=void 0!==m?m.email||m.id||m.ip_address:void 0,v=void 0!==p?p.getProfileId():void 0,y=new P({startTimestamp:l,endTimestamp:l+u,op:`ui.interaction.${a}`,name:(0,Me.Hd)(i.target),attributes:{release:c.release,environment:c.environment,transaction:h,...void 0!==_&&""!==_?{user:_}:{},...void 0!==v?{profile_id:v}:{},...void 0!==g?{replay_id:g}:{}},exclusiveTime:n.value,measurements:{inp:{value:n.value,unit:"millisecond"}}}),b=function(e,t,n){if(!le(t))return!1;let s;s=void 0!==e&&"function"===typeof t.tracesSampler?t.tracesSampler({transactionContext:e,name:e.name,parentSampled:e.parentSampled,attributes:{...e.data,...e.attributes},location:Le.j.location}):void 0!==e&&void 0!==e.sampled?e.sampled:"undefined"!==typeof t.tracesSampleRate?t.tracesSampleRate:1;if(!Te(s))return Ne.T&&r.vF.warn("[Tracing] Discarding interaction span because of invalid sample rate."),!1;if(!0===s)return n;if(!1===s)return 0;return s*n}(f,c,t);if(b)if(Math.random()<b){const e=y?je([y],o.getDsn()):void 0,t=o&&o.getTransport();t&&e&&t.send(e).then(null,(e=>{Ne.T&&r.vF.error("Error while sending interaction:",e)}))}else;}))}(e,t);return()=>{n()}}return()=>{}}const et={click:"click",pointerdown:"click",pointerup:"click",mousedown:"click",mouseup:"click",touchstart:"click",touchend:"click",mouseover:"hover",mouseout:"hover",mouseenter:"hover",mouseleave:"hover",pointerover:"hover",pointerout:"hover",pointerenter:"hover",pointerleave:"hover",dragstart:"drag",dragend:"drag",drag:"drag",dragenter:"drag",dragleave:"drag",dragover:"drag",drop:"drag",keydown:"press",keyup:"press",keypress:"press",input:"press"};function tt(e){const t=Ve();if(!t||!Le.j.performance.getEntries||!s.k3)return;Ne.T&&r.vF.log("[Tracing] Adding & adjusting spans using Performance API");const n=Ge(s.k3),i=t.getEntries(),{op:o,start_timestamp:a}=k(e);if(i.slice(Ye).forEach((t=>{const s=Ge(t.startTime),i=Ge(t.duration);if(!("navigation"===e.op&&a&&n+s<a))switch(t.entryType){case"navigation":!function(e,t,n){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach((r=>{nt(e,t,r,n)})),nt(e,t,"secureConnection",n,"TLS/SSL","connectEnd"),nt(e,t,"fetch",n,"cache","domainLookupStart"),nt(e,t,"domainLookup",n,"DNS"),function(e,t,n){t.responseEnd&&(He(e,{op:"browser",origin:"auto.browser.browser.metrics",description:"request",startTimestamp:n+Ge(t.requestStart),endTimestamp:n+Ge(t.responseEnd)}),He(e,{op:"browser",origin:"auto.browser.browser.metrics",description:"response",startTimestamp:n+Ge(t.responseStart),endTimestamp:n+Ge(t.responseEnd)}))}(e,t,n)}(e,t,n);break;case"mark":case"paint":case"measure":{!function(e,t,n,r,s){const i=s+n,o=i+r;He(e,{description:t.name,endTimestamp:o,op:t.entryType,origin:"auto.resource.browser.metrics",startTimestamp:i})}(e,t,s,i,n);const o=(0,Ue.N)(),a=t.startTime<o.firstHiddenTime;"first-paint"===t.name&&a&&(Ne.T&&r.vF.log("[Measurements] Adding FP"),Ze.fp={value:t.startTime,unit:"millisecond"}),"first-contentful-paint"===t.name&&a&&(Ne.T&&r.vF.log("[Measurements] Adding FCP"),Ze.fcp={value:t.startTime,unit:"millisecond"});break}case"resource":!function(e,t,n,r,s,i){if("xmlhttprequest"===t.initiatorType||"fetch"===t.initiatorType)return;const o=(0,$e.Dl)(n),a={};rt(a,t,"transferSize","http.response_transfer_size"),rt(a,t,"encodedBodySize","http.response_content_length"),rt(a,t,"decodedBodySize","http.decoded_response_content_length"),"renderBlockingStatus"in t&&(a["resource.render_blocking_status"]=t.renderBlockingStatus);o.protocol&&(a["url.scheme"]=o.protocol.split(":").pop());o.host&&(a["server.address"]=o.host);a["url.same_origin"]=n.includes(Le.j.location.origin);const c=i+r,l=c+s;He(e,{description:n.replace(Le.j.location.origin,""),endTimestamp:l,op:t.initiatorType?`resource.${t.initiatorType}`:"resource.other",origin:"auto.resource.browser.metrics",startTimestamp:c,data:a})}(e,t,t.name,s,i,n)}})),Ye=Math.max(i.length-1,0),function(e){const t=Le.j.navigator;if(!t)return;const n=t.connection;n&&(n.effectiveType&&e.setTag("effectiveConnectionType",n.effectiveType),n.type&&e.setTag("connectionType",n.type),We(n.rtt)&&(Ze["connection.rtt"]={value:n.rtt,unit:"millisecond"}));We(t.deviceMemory)&&e.setTag("deviceMemory",`${t.deviceMemory} GB`);We(t.hardwareConcurrency)&&e.setTag("hardwareConcurrency",String(t.hardwareConcurrency))}(e),"pageload"===o){!function(e){const t=(0,qe.z)();if(!t)return;const{responseStart:n,requestStart:s}=t;s<=n&&(Ne.T&&r.vF.log("[Measurements] Adding TTFB Request Time"),e["ttfb.requestTime"]={value:n-s,unit:"millisecond"})}(Ze),["fcp","fp","lcp"].forEach((e=>{if(!Ze[e]||!a||n>=a)return;const t=Ze[e].value,s=n+Ge(t),i=Math.abs(1e3*(s-a)),o=i-t;Ne.T&&r.vF.log(`[Measurements] Normalized ${e} from ${t} to ${i} (${o})`),Ze[e].value=i}));const t=Ze["mark.fid"];t&&Ze.fid&&(He(e,{description:"first input delay",endTimestamp:t.value+Ge(Ze.fid.value),op:"ui.action",origin:"auto.ui.browser.metrics",startTimestamp:t.value}),delete Ze["mark.fid"]),"fcp"in Ze||delete Ze.cls,Object.keys(Ze).forEach((e=>{!function(e,t,n){const r=ke();r&&r.setMeasurement(e,t,n)}(e,Ze[e].value,Ze[e].unit)})),function(e){Ke&&(Ne.T&&r.vF.log("[Measurements] Adding LCP Data"),Ke.element&&e.setTag("lcp.element",(0,Me.Hd)(Ke.element)),Ke.id&&e.setTag("lcp.id",Ke.id),Ke.url&&e.setTag("lcp.url",Ke.url.trim().slice(0,200)),e.setTag("lcp.size",Ke.size));Je&&Je.sources&&(Ne.T&&r.vF.log("[Measurements] Adding CLS Data"),Je.sources.forEach(((t,n)=>e.setTag(`cls.source.${n+1}`,(0,Me.Hd)(t.node)))))}(e)}Ke=void 0,Je=void 0,Ze={}}function nt(e,t,n,r,s,i){const o=i?t[i]:t[`${n}End`],a=t[`${n}Start`];a&&o&&He(e,{op:"browser",origin:"auto.browser.browser.metrics",description:s||n,startTimestamp:r+Ge(a),endTimestamp:r+Ge(o)})}function rt(e,t,n,r){const s=t[n];null!=s&&s<2147483647&&(e[r]=s)}var st=n(36733),it=n(4795),ot=n(78198);function at(e,t,n,r,s="auto.http.browser"){if(!le()||!e.fetchData)return;const i=t(e.fetchData.url);if(e.endTimestamp&&i){const t=e.fetchData.__span;if(!t)return;const n=r[t];return void(n&&(!function(e,t){if(t.response){L(e,t.response.status);const n=t.response&&t.response.headers&&t.response.headers.get("content-length");if(n){const t=parseInt(n);t>0&&e.setAttribute("http.response_content_length",t)}}else t.error&&e.setStatus("internal_error");e.end()}(n,e),delete r[t]))}const o=G(),a=q(),{method:u,url:d}=e.fetchData,f=function(e){try{return new URL(e).href}catch(t){return}}(d),p=f?(0,$e.Dl)(f).host:void 0,m=i?ue({name:`${u} ${d}`,onlyIfParent:!0,attributes:{url:d,type:"fetch","http.method":u,"http.url":f,"server.address":p,[R]:s},op:"http.client"}):void 0;if(m&&(e.fetchData.__span=m.spanContext().spanId,r[m.spanContext().spanId]=m),n(e.fetchData.url)&&a){const t=e.args[0];e.args[1]=e.args[1]||{};const n=e.args[1];n.headers=function(e,t,n,r,s){const i=s||n.getSpan(),o=se(),{traceId:a,spanId:u,sampled:d,dsc:f}={...o.getPropagationContext(),...n.getPropagationContext()},p=i?b(i):v(a,u,d),m=h(f||(i?K(i):V(a,t,n))),g=r.headers||("undefined"!==typeof Request&&(0,c.tH)(e,Request)?e.headers:void 0);if(g){if("undefined"!==typeof Headers&&(0,c.tH)(g,Headers)){const e=new Headers(g);return e.append("sentry-trace",p),m&&e.append(l,m),e}if(Array.isArray(g)){const e=[...g,["sentry-trace",p]];return m&&e.push([l,m]),e}{const e="baggage"in g?g.baggage:void 0,t=[];return Array.isArray(e)?t.push(...e):e&&t.push(e),m&&t.push(m),{...g,"sentry-trace":p,baggage:t.length>0?t.join(","):void 0}}}return{"sentry-trace":p,baggage:m}}(t,a,o,n,m)}return m}const ct=["localhost",/^\/(?!\/)/],lt={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,tracingOrigins:ct,tracePropagationTargets:ct};function ut(e){const{traceFetch:t,traceXHR:n,tracePropagationTargets:r,tracingOrigins:s,shouldCreateSpanForRequest:i,enableHTTPTimings:o}={traceFetch:lt.traceFetch,traceXHR:lt.traceXHR,...e},a="function"===typeof i?i:e=>!0,c=e=>function(e,t){return(0,ot.Xr)(e,t||ct)}(e,r||s),u={};t&&(0,st.u)((e=>{const t=at(e,a,c,u);if(t){const n=ft(e.fetchData.url),r=n?(0,$e.Dl)(n).host:void 0;t.setAttributes({"http.url":n,"server.address":r})}o&&t&&dt(t)})),n&&(0,it.Mn)((e=>{const t=function(e,t,n,r){const s=e.xhr,i=s&&s[it.Er];if(!le()||!s||s.__sentry_own_request__||!i)return;const o=t(i.url);if(e.endTimestamp&&o){const e=s.__sentry_xhr_span_id__;if(!e)return;const t=r[e];return void(t&&void 0!==i.status_code&&(L(t,i.status_code),t.end(),delete r[e]))}const a=G(),c=se(),u=ft(i.url),d=u?(0,$e.Dl)(u).host:void 0,f=o?ue({name:`${i.method} ${i.url}`,onlyIfParent:!0,attributes:{type:"xhr","http.method":i.method,"http.url":u,url:i.url,"server.address":d,[R]:"auto.http.browser"},op:"http.client"}):void 0;f&&(s.__sentry_xhr_span_id__=f.spanContext().spanId,r[s.__sentry_xhr_span_id__]=f);const p=q();if(s.setRequestHeader&&n(i.url)&&p){const{traceId:e,spanId:t,sampled:n,dsc:r}={...c.getPropagationContext(),...a.getPropagationContext()};!function(e,t,n){try{e.setRequestHeader("sentry-trace",t),n&&e.setRequestHeader(l,n)}catch(r){}}(s,f?b(f):v(e,t,n),h(r||(f?K(f):V(e,p,a))))}return f}(e,a,c,u);o&&t&&dt(t)}))}function dt(e){const{url:t}=k(e).data||{};if(!t||"string"!==typeof t)return;const n=(0,Fe.wv)("resource",(({entries:r})=>{r.forEach((r=>{if(function(e){return"resource"===e.entryType&&"initiatorType"in e&&"string"===typeof e.nextHopProtocol&&("fetch"===e.initiatorType||"xmlhttprequest"===e.initiatorType)}(r)&&r.name.endsWith(t)){(function(e){const{name:t,version:n}=function(e){let t="unknown",n="unknown",r="";for(const s of e){if("/"===s){[t,n]=e.split("/");break}if(!isNaN(Number(s))){t="h"===r?"http":r,n=e.split(r)[1];break}r+=s}r===e&&(t=r);return{name:t,version:n}}(e.nextHopProtocol),r=[];if(r.push(["network.protocol.version",n],["network.protocol.name",t]),!s.k3)return r;return[...r,["http.request.redirect_start",ht(e.redirectStart)],["http.request.fetch_start",ht(e.fetchStart)],["http.request.domain_lookup_start",ht(e.domainLookupStart)],["http.request.domain_lookup_end",ht(e.domainLookupEnd)],["http.request.connect_start",ht(e.connectStart)],["http.request.secure_connection_start",ht(e.secureConnectionStart)],["http.request.connection_end",ht(e.connectEnd)],["http.request.request_start",ht(e.requestStart)],["http.request.response_start",ht(e.responseStart)],["http.request.response_end",ht(e.responseEnd)]]})(r).forEach((t=>e.setAttribute(...t))),setTimeout(n)}}))}))}function ht(e=0){return((s.k3||performance.timeOrigin)+e)/1e3}function ft(e){try{return new URL(e,Le.j.location.origin).href}catch(t){return}}const pt={..._e,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroundSpan:!0,enableLongTask:!0,enableInp:!1,interactionsSampleRate:1,_experiments:{},...lt},mt=(e={})=>{const t=!!Ne.T&&!(!e.tracePropagationTargets&&!e.tracingOrigins);Re(),!e.tracePropagationTargets&&e.tracingOrigins&&(e.tracePropagationTargets=e.tracingOrigins);const n={...pt,...e},i=Xe(),o={};n.enableInp&&Qe(o,n.interactionsSampleRate),n.enableLongTask&&(0,Fe.wv)("longtask",(({entries:e})=>{for(const t of e){const e=ke();if(!e)return;const n=Ge(s.k3+t.startTime),r=Ge(t.duration);e.startChild({description:"Main UI thread blocked",op:"ui.long-task",origin:"auto.ui.browser.metrics",startTimestamp:n,endTimestamp:n+r})}})),n._experiments.enableInteractions&&(0,Fe.wv)("event",(({entries:e})=>{for(const t of e){const e=ke();if(!e)return;if("click"===t.name){const n=Ge(s.k3+t.startTime),r=Ge(t.duration),i={description:(0,Me.Hd)(t.target),op:`ui.interaction.${t.name}`,origin:"auto.ui.browser.metrics",startTimestamp:n,endTimestamp:n+r},o=(0,Me.xE)(t.target);o&&(i.attributes={"ui.component_name":o}),e.startChild(i)}}}));const a={name:void 0,context:void 0};function c(e){const t=re(),{beforeStartSpan:s,idleTimeout:o,finalTimeout:c,heartbeatInterval:l}=n,u="pageload"===e.op;let d;if(u){const t=u?gt("sentry-trace"):"",n=u?gt("baggage"):void 0,{traceId:r,dsc:s,parentSpanId:i,sampled:o}=_(t,n);d={traceId:r,parentSpanId:i,parentSampled:o,...e,metadata:{...e.metadata,dynamicSamplingContext:s},trimEnd:!0}}else d={trimEnd:!0,...e};const h=s?s(d):d;h.metadata=h.name!==d.name?{...h.metadata,source:"custom"}:h.metadata,a.name=h.name,a.context=h,!1===h.sampled&&Ne.T&&r.vF.log(`[Tracing] Will not send ${h.op} transaction because of beforeNavigate.`),Ne.T&&r.vF.log(`[Tracing] Starting ${h.op} transaction on scope`);const{location:f}=Le.j,p=Ae(t,h,o,c,!0,{location:f},l,u);return u&&Le.j.document&&(Le.j.document.addEventListener("readystatechange",(()=>{["interactive","complete"].includes(Le.j.document.readyState)&&p.sendAutoFinishSignal()})),["interactive","complete"].includes(Le.j.document.readyState)&&p.sendAutoFinishSignal()),p.registerBeforeFinishCallback((e=>{i(),tt(e)})),p}return{name:"BrowserTracing",setupOnce:()=>{},afterAllSetup(e){const i=e.getOptions(),{markBackgroundSpan:l,traceFetch:u,traceXHR:d,shouldCreateSpanForRequest:h,enableHTTPTimings:f,_experiments:p}=n,m=i&&i.tracePropagationTargets,g=m||n.tracePropagationTargets;let _;Ne.T&&t&&m&&r.vF.warn("[Tracing] The `tracePropagationTargets` option was set in the BrowserTracing integration and top level `Sentry.init`. The top level `Sentry.init` value is being used.");let v=Le.j.location&&Le.j.location.href;if(e.on&&(e.on("startNavigationSpan",(e=>{_&&(Ne.T&&r.vF.log(`[Tracing] Finishing current transaction with op: ${k(_).op}`),_.end()),_=c({op:"navigation",...e})})),e.on("startPageLoadSpan",(e=>{_&&(Ne.T&&r.vF.log(`[Tracing] Finishing current transaction with op: ${k(_).op}`),_.end()),_=c({op:"pageload",...e})}))),n.instrumentPageLoad&&e.emit&&Le.j.location){const t={name:Le.j.location.pathname,startTimestamp:s.k3?s.k3/1e3:void 0,origin:"auto.pageload.browser",attributes:{[I]:"url"}};!function(e,t){if(!e.emit)return;e.emit("startPageLoadSpan",t);const n=de();n&&k(n).op}(e,t)}n.instrumentNavigation&&e.emit&&Le.j.location&&(0,De._)((({to:t,from:n})=>{if(void 0===n&&v&&-1!==v.indexOf(t))v=void 0;else if(n!==t){v=void 0;const t={name:Le.j.location.pathname,origin:"auto.navigation.browser",attributes:{[I]:"url"}};!function(e,t){if(!e.emit)return;e.emit("startNavigationSpan",t);const n=de();n&&k(n).op}(e,t)}})),l&&(Le.j.document?Le.j.document.addEventListener("visibilitychange",(()=>{const e=ke();if(Le.j.document.hidden&&e){const t="cancelled",{op:n,status:s}=k(e);Ne.T&&r.vF.log(`[Tracing] Transaction: ${t} -> since tab moved to the background, op: ${n}`),s||e.setStatus(t),e.setTag("visibilitychange","document.hidden"),e.end()}})):Ne.T&&r.vF.warn("[Tracing] Could not set up background tab detection due to lack of global document")),p.enableInteractions&&function(e,t){let n;const s=()=>{const{idleTimeout:s,finalTimeout:i,heartbeatInterval:o}=e,a="ui.action.click",c=ke();if(c&&c.op&&["navigation","pageload"].includes(c.op))return void(Ne.T&&r.vF.warn(`[Tracing] Did not create ${a} transaction because a pageload or navigation transaction is in progress.`));if(n&&(n.setFinishReason("interactionInterrupted"),n.end(),n=void 0),!t.name)return void(Ne.T&&r.vF.warn(`[Tracing] Did not create ${a} transaction because _latestRouteName is missing.`));const{location:l}=Le.j,u={name:t.name,op:a,trimEnd:!0,data:{[I]:t.context?vt(t.context):"url"}};n=Ae(re(),u,s,i,!0,{location:l},o)};["click"].forEach((e=>{Le.j.document&&addEventListener(e,s,{once:!1,capture:!0})}))}(n,a),n.enableInp&&function(e,t){const n=({entries:n})=>{const r=q(),s=void 0!==r&&void 0!==r.getIntegrationByName?r.getIntegrationByName("Replay"):void 0,i=void 0!==s?s.getReplayId():void 0,o=ke(),a=G(),c=void 0!==a?a.getUser():void 0;n.forEach((n=>{if(function(e){return"duration"in e}(n)){const r=n.interactionId;if(void 0===r)return;const s=e[r],a=n.duration,l=n.startTime,u=Object.keys(e),d=u.length>0?u.reduce(((t,n)=>e[t].duration<e[n].duration?t:n)):void 0;if("first-input"===n.entryType){if(u.map((t=>e[t])).some((e=>e.duration===a&&e.startTime===l)))return}if(!r)return;if(s)s.duration=Math.max(s.duration,a);else if(u.length<_t||void 0===d||a>e[d].duration){const n=t.name,s=t.context;n&&s&&(d&&Object.keys(e).length>=_t&&delete e[d],e[r]={routeName:n,duration:a,parentContext:s,user:c,activeTransaction:o,replayId:i,startTime:l})}}}))};(0,Fe.wv)("event",n),(0,Fe.wv)("first-input",n)}(o,a),ut({traceFetch:u,traceXHR:d,tracePropagationTargets:g,shouldCreateSpanForRequest:h,enableHTTPTimings:f})},options:n}};function gt(e){const t=(0,Me.NX)(`meta[name=${e}]`);return t?t.getAttribute("content"):void 0}const _t=10;function vt(e){const t=e.attributes&&e.attributes[I],n=e.data&&e.data[I],r=e.metadata&&e.metadata.source;return t||n||r}},35172:(e,t,n)=>{"use strict";n.d(t,{a9:()=>z,T5:()=>$,hT:()=>U,Pt:()=>j,wv:()=>W,YG:()=>B});var r=n(83887),s=n(84814),i=n(12514);const o=(e,t,n)=>{let r,s;return i=>{t.value>=0&&(i||n)&&(s=t.value-(r||0),(s||void 0===r)&&(r=t.value,t.delta=s,e(t)))}};var a=n(34866);var c=n(22894);const l=()=>{const e=(0,c.z)();return e&&e.activationStart||0},u=(e,t)=>{const n=(0,c.z)();let r="navigate";return n&&(r=a.j.document&&a.j.document.prerendering||l()>0?"prerender":n.type.replace(/_/g,"-")),{name:e,value:"undefined"===typeof t?-1:t,rating:"good",delta:0,entries:[],id:`v3-${Date.now()}-${Math.floor(8999999999999*Math.random())+1e12}`,navigationType:r}},d=(e,t,n)=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){const r=new PerformanceObserver((e=>{t(e.getEntries())}));return r.observe(Object.assign({type:e,buffered:!0},n||{})),r}}catch(r){}};var h=n(18441);const f=(e,t={})=>{const n=u("CLS",0);let r,s=0,i=[];const a=e=>{e.forEach((e=>{if(!e.hadRecentInput){const t=i[0],o=i[i.length-1];s&&0!==i.length&&e.startTime-o.startTime<1e3&&e.startTime-t.startTime<5e3?(s+=e.value,i.push(e)):(s=e.value,i=[e]),s>n.value&&(n.value=s,n.entries=i,r&&r())}}))},c=d("layout-shift",a);if(c){r=o(e,n,t.reportAllChanges);const s=()=>{a(c.takeRecords()),r(!0)};return(0,h.Q)(s),s}};var p=n(81812);const m=e=>{const t=(0,p.N)(),n=u("FID");let r;const s=e=>{e.startTime<t.firstHiddenTime&&(n.value=e.processingStart-e.startTime,n.entries.push(e),r(!0))},i=e=>{e.forEach(s)},a=d("first-input",i);r=o(e,n),a&&(0,h.Q)((()=>{i(a.takeRecords()),a.disconnect()}),!0)};let g=0,_=1/0,v=0;const y=e=>{e.forEach((e=>{e.interactionId&&(_=Math.min(_,e.interactionId),v=Math.max(v,e.interactionId),g=v?(v-_)/7+1:0)}))};let b;const w=()=>{"interactionCount"in performance||b||(b=d("event",y,{type:"event",buffered:!0,durationThreshold:0}))},S=()=>b?g:performance.interactionCount||0,k=[],C={},x=e=>{const t=k[k.length-1],n=C[e.interactionId];if(n||k.length<10||e.duration>t.latency){if(n)n.entries.push(e),n.latency=Math.max(n.latency,e.duration);else{const t={id:e.interactionId,latency:e.duration,entries:[e]};C[t.id]=t,k.push(t)}k.sort(((e,t)=>t.latency-e.latency)),k.splice(10).forEach((e=>{delete C[e.id]}))}},E=(e,t)=>{t=t||{},w();const n=u("INP");let r;const s=e=>{e.forEach((e=>{if(e.interactionId&&x(e),"first-input"===e.entryType){!k.some((t=>t.entries.some((t=>e.duration===t.duration&&e.startTime===t.startTime))))&&x(e)}}));const t=(()=>{const e=Math.min(k.length-1,Math.floor(S()/50));return k[e]})();t&&t.latency!==n.value&&(n.value=t.latency,n.entries=t.entries,r())},i=d("event",s,{durationThreshold:t.durationThreshold||40});r=o(e,n,t.reportAllChanges),i&&(i.observe({type:"first-input",buffered:!0}),(0,h.Q)((()=>{s(i.takeRecords()),n.value<0&&S()>0&&(n.value=0,n.entries=[]),r(!0)})))},T={},I=e=>{const t=(0,p.N)(),n=u("LCP");let r;const s=e=>{const s=e[e.length-1];if(s){const e=Math.max(s.startTime-l(),0);e<t.firstHiddenTime&&(n.value=e,n.entries=[s],r())}},i=d("largest-contentful-paint",s);if(i){r=o(e,n);const t=()=>{T[n.id]||(s(i.takeRecords()),i.disconnect(),T[n.id]=!0,r(!0))};return["keydown","click"].forEach((e=>{a.j.document&&addEventListener(e,t,{once:!0,capture:!0})})),(0,h.Q)(t,!0),t}},O=e=>{a.j.document&&(a.j.document.prerendering?addEventListener("prerenderingchange",(()=>O(e)),!0):"complete"!==a.j.document.readyState?addEventListener("load",(()=>O(e)),!0):setTimeout(e,0))},A=(e,t)=>{t=t||{};const n=u("TTFB"),r=o(e,n,t.reportAllChanges);O((()=>{const e=(0,c.z)();if(e){if(n.value=Math.max(e.responseStart-l(),0),n.value<0||n.value>performance.now())return;n.entries=[e],r(!0)}}))},R={},D={};let M,N,L,F,P;function z(e,t=!1){return Y("cls",e,q,M,t)}function j(e,t=!1){return Y("lcp",e,V,L,t)}function B(e){return Y("ttfb",e,K,F)}function $(e){return Y("fid",e,G,N)}function U(e){return Y("inp",e,J,P)}function W(e,t){return Z(e,t),D[e]||(!function(e){const t={};"event"===e&&(t.durationThreshold=0);d(e,(t=>{H(e,{entries:t})}),t)}(e),D[e]=!0),X(e,t)}function H(e,t){const n=R[e];if(n&&n.length)for(const a of n)try{a(t)}catch(o){i.T&&r.vF.error(`Error while triggering instrumentation handler.\nType: ${e}\nName: ${(0,s.qQ)(a)}\nError:`,o)}}function q(){return f((e=>{H("cls",{metric:e}),M=e}),{reportAllChanges:!0})}function G(){return m((e=>{H("fid",{metric:e}),N=e}))}function V(){return I((e=>{H("lcp",{metric:e}),L=e}))}function K(){return A((e=>{H("ttfb",{metric:e}),F=e}))}function J(){return E((e=>{H("inp",{metric:e}),P=e}))}function Y(e,t,n,r,s=!1){let i;return Z(e,t),D[e]||(i=n(),D[e]=!0),r&&t({metric:r}),X(e,t,s?i:void 0)}function Z(e,t){R[e]=R[e]||[],R[e].push(t)}function X(e,t,n){return()=>{n&&n();const r=R[e];if(!r)return;const s=r.indexOf(t);-1!==s&&r.splice(s,1)}}},34866:(e,t,n)=>{"use strict";n.d(t,{j:()=>r});const r=n(91444).OW},22894:(e,t,n)=>{"use strict";n.d(t,{z:()=>s});var r=n(34866);const s=()=>r.j.__WEB_VITALS_POLYFILL__?r.j.performance&&(performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]||(()=>{const e=r.j.performance.timing,t=r.j.performance.navigation.type,n={entryType:"navigation",startTime:0,type:2==t?"back_forward":1===t?"reload":"navigate"};for(const r in e)"navigationStart"!==r&&"toJSON"!==r&&(n[r]=Math.max(e[r]-e.navigationStart,0));return n})()):r.j.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]},81812:(e,t,n)=>{"use strict";n.d(t,{N:()=>o});var r=n(34866),s=n(18441);let i=-1;const o=()=>(i<0&&(r.j.document&&r.j.document.visibilityState&&(i="hidden"!==r.j.document.visibilityState||r.j.document.prerendering?1/0:0),(0,s.Q)((({timeStamp:e})=>{i=e}),!0)),{get firstHiddenTime(){return i}})},18441:(e,t,n)=>{"use strict";n.d(t,{Q:()=>s});var r=n(34866);const s=(e,t)=>{const n=s=>{"pagehide"!==s.type&&"hidden"!==r.j.document.visibilityState||(e(s),t&&(removeEventListener("visibilitychange",n,!0),removeEventListener("pagehide",n,!0)))};r.j.document&&(addEventListener("visibilitychange",n,!0),addEventListener("pagehide",n,!0))}},12514:(e,t,n)=>{"use strict";n.d(t,{T:()=>r});const r="undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},92128:(e,t,n)=>{"use strict";n.d(t,{T:()=>lt});var r=n(83887),s=n(4475),i=n(78198),o=n(32436),a=n(48836);const c=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/],l=[/^.*\/healthcheck$/,/^.*\/healthy$/,/^.*\/live$/,/^.*\/ready$/,/^.*\/heartbeat$/,/^.*\/health$/,/^.*\/healthz$/],u="InboundFilters",d=(0,a._C)(((e={})=>({name:u,setupOnce(){},processEvent(t,n,a){const u=a.getOptions(),d=function(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:c],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[],...e.disableTransactionDefaults?[]:l],ignoreInternal:void 0===e.ignoreInternal||e.ignoreInternal}}(e,u);return function(e,t){if(t.ignoreInternal&&function(e){try{return"SentryError"===e.exception.values[0].type}catch(t){}return!1}(e))return o.T&&r.vF.warn(`Event dropped due to being internal Sentry Error.\nEvent: ${(0,s.$X)(e)}`),!0;if(function(e,t){if(e.type||!t||!t.length)return!1;return function(e){const t=[];e.message&&t.push(e.message);let n;try{n=e.exception.values[e.exception.values.length-1]}catch(i){}n&&n.value&&(t.push(n.value),n.type&&t.push(`${n.type}: ${n.value}`));o.T&&0===t.length&&r.vF.error(`Could not extract message for event ${(0,s.$X)(e)}`);return t}(e).some((e=>(0,i.Xr)(e,t)))}(e,t.ignoreErrors))return o.T&&r.vF.warn(`Event dropped due to being matched by \`ignoreErrors\` option.\nEvent: ${(0,s.$X)(e)}`),!0;if(function(e,t){if("transaction"!==e.type||!t||!t.length)return!1;const n=e.transaction;return!!n&&(0,i.Xr)(n,t)}(e,t.ignoreTransactions))return o.T&&r.vF.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.\nEvent: ${(0,s.$X)(e)}`),!0;if(function(e,t){if(!t||!t.length)return!1;const n=h(e);return!!n&&(0,i.Xr)(n,t)}(e,t.denyUrls))return o.T&&r.vF.warn(`Event dropped due to being matched by \`denyUrls\` option.\nEvent: ${(0,s.$X)(e)}.\nUrl: ${h(e)}`),!0;if(!function(e,t){if(!t||!t.length)return!0;const n=h(e);return!n||(0,i.Xr)(n,t)}(e,t.allowUrls))return o.T&&r.vF.warn(`Event dropped due to not being matched by \`allowUrls\` option.\nEvent: ${(0,s.$X)(e)}.\nUrl: ${h(e)}`),!0;return!1}(t,d)?null:t}})));(0,a.F)(u,d);function h(e){try{let n;try{n=e.exception.values[0].stacktrace.frames}catch(t){}return n?function(e=[]){for(let t=e.length-1;t>=0;t--){const n=e[t];if(n&&"<anonymous>"!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}(n):null}catch(n){return o.T&&r.vF.error(`Cannot extract url for event ${(0,s.$X)(e)}`),null}}var f=n(9576),p=n(2917);let m;const g="FunctionToString",_=new WeakMap,v=(0,a._C)((()=>({name:g,setupOnce(){m=Function.prototype.toString;try{Function.prototype.toString=function(...e){const t=(0,f.sp)(this),n=_.has((0,p.KU)())&&void 0!==t?t:this;return m.apply(n,e)}}catch(e){}},setup(e){_.set(e,!0)}})));(0,a.F)(g,v);var y=n(4681);function b(e,t){!0===t.debug&&(o.T?r.vF.enable():(0,r.pq)((()=>{})));(0,p.o5)().update(t.initialScope);const n=new e(t);!function(e){const t=(0,y.BF)().getStackTop();t.client=e,t.scope.setClient(e)}(n),function(e){e.init?e.init():e.setupIntegrations&&e.setupIntegrations()}(n)}var w=n(84814),S=n(9863),k=n(22059),C=n(30246),x=n(30747),E=n(85195),T=n(44103);class I extends Error{constructor(e,t="warn"){super(e),this.message=e,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=t}}function O(e){const t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}function A(e,t={}){const n="string"===typeof t?t:t.tunnel,r="string"!==typeof t&&t._metadata?t._metadata.sdk:void 0;return n||`${function(e){return`${O(e)}${e.projectId}/envelope/`}(e)}?${function(e,t){return(0,f.u4)({sentry_key:e.publicKey,sentry_version:"7",...t&&{sentry_client:`${t.name}/${t.version}`}})}(e,r)}`}function R(e,t,n,r){const s={sent_at:(new Date).toISOString()};n&&n.sdk&&(s.sdk={name:n.sdk.name,version:n.sdk.version}),r&&t&&(s.dsn=(0,C.SB)(t));const i=function(e){const t=function(e){let t="";for(const n of e){const e=Object.entries(n.tags),r=e.length>0?`|#${e.map((([e,t])=>`${e}:${t}`)).join(",")}`:"";t+=`${n.name}@${n.unit}:${n.metric}|${n.metricType}${r}|T${n.timestamp}\n`}return t}(e);return[{type:"statsd",length:t.length},t]}(e);return(0,T.h4)(s,[i])}var D=n(8682),M=n(36084),N=n(79355);const L="Not capturing exception because it's already been captured.";class F{constructor(e){if(this._options=e,this._integrations={},this._integrationsInitialized=!1,this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],e.dsn?this._dsn=(0,C.AD)(e.dsn):o.T&&r.vF.warn("No DSN provided, client will not send events."),this._dsn){const t=A(this._dsn,e);this._transport=e.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:t})}}captureException(e,t,n){if((0,s.GR)(e))return void(o.T&&r.vF.log(L));let i=t&&t.event_id;return this._process(this.eventFromException(e,t).then((e=>this._captureEvent(e,t,n))).then((e=>{i=e}))),i}captureMessage(e,t,n,r){let s=n&&n.event_id;const i=(0,x.NF)(e)?e:String(e),o=(0,x.sO)(e)?this.eventFromMessage(i,t,n):this.eventFromException(e,n);return this._process(o.then((e=>this._captureEvent(e,n,r))).then((e=>{s=e}))),s}captureEvent(e,t,n){if(t&&t.originalException&&(0,s.GR)(t.originalException))return void(o.T&&r.vF.log(L));let i=t&&t.event_id;const a=(e.sdkProcessingMetadata||{}).capturedSpanScope;return this._process(this._captureEvent(e,t,a||n).then((e=>{i=e}))),i}captureSession(e){"string"!==typeof e.release?o.T&&r.vF.warn("Discarded session because of missing or non-string release"):(this.sendSession(e),(0,D.qO)(e,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(e){const t=this._transport;return t?(this.metricsAggregator&&this.metricsAggregator.flush(),this._isClientDoneProcessing(e).then((n=>t.flush(e).then((e=>n&&e))))):(0,E.XW)(!0)}close(e){return this.flush(e).then((e=>(this.getOptions().enabled=!1,this.metricsAggregator&&this.metricsAggregator.close(),e)))}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}setupIntegrations(e){(e&&!this._integrationsInitialized||this._isEnabled()&&!this._integrationsInitialized)&&this._setupIntegrations()}init(){this._isEnabled()&&this._setupIntegrations()}getIntegrationById(e){return this.getIntegrationByName(e)}getIntegrationByName(e){return this._integrations[e]}getIntegration(e){try{return this._integrations[e.id]||null}catch(t){return o.T&&r.vF.warn(`Cannot retrieve integration ${e.id} from the current Client`),null}}addIntegration(e){const t=this._integrations[e.name];(0,a.qm)(this,e,this._integrations),t||(0,a.lc)(this,[e])}sendEvent(e,t={}){this.emit("beforeSendEvent",e,t);let n=function(e,t,n,r){const s=(0,T.Cj)(n),i=e.type&&"replay_event"!==e.type?e.type:"event";!function(e,t){t&&(e.sdk=e.sdk||{},e.sdk.name=e.sdk.name||t.name,e.sdk.version=e.sdk.version||t.version,e.sdk.integrations=[...e.sdk.integrations||[],...t.integrations||[]],e.sdk.packages=[...e.sdk.packages||[],...t.packages||[]])}(e,n&&n.sdk);const o=(0,T.n2)(e,s,r,t);delete e.sdkProcessingMetadata;const a=[{type:i},e];return(0,T.h4)(o,[a])}(e,this._dsn,this._options._metadata,this._options.tunnel);for(const s of t.attachments||[])n=(0,T.W3)(n,(0,T.bm)(s,this._options.transportOptions&&this._options.transportOptions.textEncoder));const r=this._sendEnvelope(n);r&&r.then((t=>this.emit("afterSendEvent",e,t)),null)}sendSession(e){const t=function(e,t,n,r){const s=(0,T.Cj)(n),i={sent_at:(new Date).toISOString(),...s&&{sdk:s},...!!r&&t&&{dsn:(0,C.SB)(t)}},o="aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()];return(0,T.h4)(i,[o])}(e,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(t)}recordDroppedEvent(e,t,n){if(this._options.sendClientReports){const s="number"===typeof n?n:1,i=`${e}:${t}`;o.T&&r.vF.log(`Recording outcome: "${i}"${s>1?` (${s} times)`:""}`),this._outcomes[i]=(this._outcomes[i]||0)+s}}captureAggregateMetrics(e){o.T&&r.vF.log(`Flushing aggregated metrics, number of metrics: ${e.length}`);const t=R(e,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(t)}on(e,t){this._hooks[e]||(this._hooks[e]=[]),this._hooks[e].push(t)}emit(e,...t){this._hooks[e]&&this._hooks[e].forEach((e=>e(...t)))}_setupIntegrations(){const{integrations:e}=this._options;this._integrations=(0,a.P$)(this,e),(0,a.lc)(this,e),this._integrationsInitialized=!0}_updateSessionFromEvent(e,t){let n=!1,r=!1;const s=t.exception&&t.exception.values;if(s){r=!0;for(const e of s){const t=e.mechanism;if(t&&!1===t.handled){n=!0;break}}}const i="ok"===e.status;(i&&0===e.errors||i&&n)&&((0,D.qO)(e,{...n&&{status:"crashed"},errors:e.errors||Number(r||n)}),this.captureSession(e))}_isClientDoneProcessing(e){return new E.T2((t=>{let n=0;const r=setInterval((()=>{0==this._numProcessing?(clearInterval(r),t(!0)):(n+=1,e&&n>=e&&(clearInterval(r),t(!1)))}),1)}))}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(e,t,n,r=(0,y.rm)()){const s=this.getOptions(),i=Object.keys(this._integrations);return!t.integrations&&i.length>0&&(t.integrations=i),this.emit("preprocessEvent",e,t),(0,N.mG)(s,e,t,n,this,r).then((e=>{if(null===e)return e;const t={...r.getPropagationContext(),...n?n.getPropagationContext():void 0};if(!(e.contexts&&e.contexts.trace)&&t){const{traceId:r,spanId:s,parentSpanId:i,dsc:o}=t;e.contexts={trace:{trace_id:r,span_id:s,parent_span_id:i},...e.contexts};const a=o||(0,M.l)(r,this,n);e.sdkProcessingMetadata={dynamicSamplingContext:a,...e.sdkProcessingMetadata}}return e}))}_captureEvent(e,t={},n){return this._processEvent(e,t,n).then((e=>e.event_id),(e=>{if(o.T){const t=e;"log"===t.logLevel?r.vF.log(t.message):r.vF.warn(t)}}))}_processEvent(e,t,n){const r=this.getOptions(),{sampleRate:s}=r,i=z(e),o=P(e),a=e.type||"error",c=`before send for type \`${a}\``;if(o&&"number"===typeof s&&Math.random()>s)return this.recordDroppedEvent("sample_rate","error",e),(0,E.xg)(new I(`Discarding event because it's not included in the random sample (sampling rate = ${s})`,"log"));const l="replay_event"===a?"replay":a,u=(e.sdkProcessingMetadata||{}).capturedSpanIsolationScope;return this._prepareEvent(e,t,n,u).then((n=>{if(null===n)throw this.recordDroppedEvent("event_processor",l,e),new I("An event processor returned `null`, will not send event.","log");if(t.data&&!0===t.data.__sentry__)return n;const s=function(e,t,n){const{beforeSend:r,beforeSendTransaction:s}=e;if(P(t)&&r)return r(t,n);if(z(t)&&s){if(t.spans){const e=t.spans.length;t.sdkProcessingMetadata={...t.sdkProcessingMetadata,spanCountBeforeProcessing:e}}return s(t,n)}return t}(r,n,t);return function(e,t){const n=`${t} must return \`null\` or a valid event.`;if((0,x.Qg)(e))return e.then((e=>{if(!(0,x.Qd)(e)&&null!==e)throw new I(n);return e}),(e=>{throw new I(`${t} rejected with ${e}`)}));if(!(0,x.Qd)(e)&&null!==e)throw new I(n);return e}(s,c)})).then((r=>{if(null===r){if(this.recordDroppedEvent("before_send",l,e),i){const t=1+(e.spans||[]).length;this.recordDroppedEvent("before_send","span",t)}throw new I(`${c} returned \`null\`, will not send event.`,"log")}const s=n&&n.getSession();if(!i&&s&&this._updateSessionFromEvent(s,r),i){const e=(r.sdkProcessingMetadata&&r.sdkProcessingMetadata.spanCountBeforeProcessing||0)-(r.spans?r.spans.length:0);e>0&&this.recordDroppedEvent("before_send","span",e)}const o=r.transaction_info;if(i&&o&&r.transaction!==e.transaction){const e="custom";r.transaction_info={...o,source:e}}return this.sendEvent(r,t),r})).then(null,(e=>{if(e instanceof I)throw e;throw this.captureException(e,{data:{__sentry__:!0},originalException:e}),new I(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ${e}`)}))}_process(e){this._numProcessing++,e.then((e=>(this._numProcessing--,e)),(e=>(this._numProcessing--,e)))}_sendEnvelope(e){if(this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport)return this._transport.send(e).then(null,(e=>{o.T&&r.vF.error("Error while sending event:",e)}));o.T&&r.vF.error("Transport disabled")}_clearOutcomes(){const e=this._outcomes;return this._outcomes={},Object.keys(e).map((t=>{const[n,r]=t.split(":");return{reason:n,category:r,quantity:e[t]}}))}}function P(e){return void 0===e.type}function z(e){return"transaction"===e.type}var j=n(27994);function B(e,t,n=[t],r="npm"){const s=e._metadata||{};s.sdk||(s.sdk={name:`sentry.javascript.${t}`,packages:n.map((e=>({name:`${r}:@sentry/${e}`,version:j.M}))),version:j.M}),e._metadata=s}var $=n(49728),U=n(46310);var W=n(68765),H=n(96008);function q(e,t){const n=V(e,t),r={type:t&&t.name,value:J(t)};return n.length&&(r.stacktrace={frames:n}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function G(e,t){return{exception:{values:[q(e,t)]}}}function V(e,t){const n=t.stacktrace||t.stack||"",r=function(e){if(e){if("number"===typeof e.framesToPop)return e.framesToPop;if(K.test(e.message))return 1}return 0}(t);try{return e(n,r)}catch(s){}return[]}const K=/Minified React error #\d+;/i;function J(e){const t=e&&e.message;return t?t.error&&"string"===typeof t.error.message?t.error.message:t:"No error message"}function Y(e,t,n,r,i){let o;if((0,x.T2)(t)&&t.error){return G(e,t.error)}if((0,x.BD)(t)||(0,x.W6)(t)){const i=t;if("stack"in t)o=G(e,t);else{const t=i.name||((0,x.BD)(i)?"DOMError":"DOMException"),a=i.message?`${t}: ${i.message}`:t;o=Z(e,a,n,r),(0,s.gO)(o,a)}return"code"in i&&(o.tags={...o.tags,"DOMException.code":`${i.code}`}),o}if((0,x.bJ)(t))return G(e,t);if((0,x.Qd)(t)||(0,x.xH)(t)){return o=function(e,t,n,r){const s=(0,p.KU)(),i=s&&s.getOptions().normalizeDepth,o={exception:{values:[{type:(0,x.xH)(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:X(t,{isUnhandledRejection:r})}]},extra:{__serialized__:(0,H.cd)(t,i)}};if(n){const t=V(e,n);t.length&&(o.exception.values[0].stacktrace={frames:t})}return o}(e,t,n,i),(0,s.M6)(o,{synthetic:!0}),o}return o=Z(e,t,n,r),(0,s.gO)(o,`${t}`,void 0),(0,s.M6)(o,{synthetic:!0}),o}function Z(e,t,n,r){const s={};if(r&&n){const r=V(e,n);r.length&&(s.exception={values:[{value:t,stacktrace:{frames:r}}]})}if((0,x.NF)(t)){const{__sentry_template_string__:e,__sentry_template_values__:n}=t;return s.logentry={message:e,params:n},s}return s.message=t,s}function X(e,{isUnhandledRejection:t}){const n=(0,f.HF)(e),r=t?"promise rejection":"exception";if((0,x.T2)(e))return`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``;if((0,x.xH)(e)){return`Event \`${function(e){try{const t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch(t){}}(e)}\` (type=${e.type}) captured as ${r}`}return`Object captured as ${r} with keys: ${n}`}var Q=n(77278);class ee extends F{constructor(e){B(e,"browser",["browser"],Q.jf.SENTRY_SDK_SOURCE||(0,$.e)()),super(e),e.sendClientReports&&Q.jf.document&&Q.jf.document.addEventListener("visibilitychange",(()=>{"hidden"===Q.jf.document.visibilityState&&this._flushOutcomes()}))}eventFromException(e,t){return function(e,t,n,r){const i=Y(e,t,n&&n.syntheticException||void 0,r);return(0,s.M6)(i),i.level="error",n&&n.event_id&&(i.event_id=n.event_id),(0,E.XW)(i)}(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t="info",n){return function(e,t,n="info",r,s){const i=Z(e,t,r&&r.syntheticException||void 0,s);return i.level=n,r&&r.event_id&&(i.event_id=r.event_id),(0,E.XW)(i)}(this._options.stackParser,e,t,n,this._options.attachStacktrace)}captureUserFeedback(e){if(!this._isEnabled())return void(W.T&&r.vF.warn("SDK not enabled, will not capture user feedback."));const t=function(e,{metadata:t,tunnel:n,dsn:r}){const s={event_id:e.event_id,sent_at:(new Date).toISOString(),...t&&t.sdk&&{sdk:{name:t.sdk.name,version:t.sdk.version}},...!!n&&!!r&&{dsn:(0,C.SB)(r)}},i=function(e){return[{type:"user_report"},e]}(e);return(0,T.h4)(s,[i])}(e,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this._sendEnvelope(t)}_prepareEvent(e,t,n){return e.platform=e.platform||"javascript",super._prepareEvent(e,t,n)}_flushOutcomes(){const e=this._clearOutcomes();if(0===e.length)return void(W.T&&r.vF.log("No outcomes to send"));if(!this._dsn)return void(W.T&&r.vF.log("No dsn provided, will not send outcomes"));W.T&&r.vF.log("Sending outcomes:",e);const t=function(e,t,n){const r=[{type:"client_report"},{timestamp:n||(0,U.lu)(),discarded_events:e}];return(0,T.h4)(t?{dsn:t}:{},[r])}(e,this._options.tunnel&&(0,C.SB)(this._dsn));this._sendEnvelope(t)}}var te=n(91444),ne=n(6957);function re(){"console"in te.OW&&r.Ow.forEach((function(e){e in te.OW.console&&(0,f.GS)(te.OW.console,e,(function(t){return r.Z9[e]=t,function(...t){const n={args:t,level:e};(0,ne.aj)("console",n);const s=r.Z9[e];s&&s.apply(te.OW.console,t)}}))}))}var se=n(5333),ie=n(4795),oe=n(36733),ae=n(70411);const ce=["fatal","error","warning","log","info","debug"];function le(e){return"warn"===e?"warning":ce.includes(e)?e:"log"}var ue=n(50014);const de=1024,he="Breadcrumbs",fe=(0,a._C)(((e={})=>{const t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:he,setupOnce(){},setup(e){t.console&&function(e){const t="console";(0,ne.s5)(t,e),(0,ne.AS)(t,re)}(function(e){return function(t){if((0,p.KU)()!==e)return;const n={category:"console",data:{arguments:t.args,logger:"console"},level:le(t.level),message:(0,i.gt)(t.args," ")};if("assert"===t.level){if(!1!==t.args[0])return;n.message=`Assertion failed: ${(0,i.gt)(t.args.slice(1)," ")||"console.assert"}`,n.data.arguments=t.args.slice(1)}(0,p.ZQ)(n,{input:t.args,level:t.level})}}(e)),t.dom&&(0,se.i)(function(e,t){return function(n){if((0,p.KU)()!==e)return;let s,i,o="object"===typeof t?t.serializeAttribute:void 0,a="object"===typeof t&&"number"===typeof t.maxStringLength?t.maxStringLength:void 0;a&&a>de&&(W.T&&r.vF.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${a} was configured. Sentry will use 1024 instead.`),a=de),"string"===typeof o&&(o=[o]);try{const e=n.event,t=function(e){return!!e&&!!e.target}(e)?e.target:e;s=(0,ae.Hd)(t,{keyAttrs:o,maxStringLength:a}),i=(0,ae.xE)(t)}catch(l){s="<unknown>"}if(0===s.length)return;const c={category:`ui.${n.name}`,message:s};i&&(c.data={"ui.component_name":i}),(0,p.ZQ)(c,{event:n.event,name:n.name,global:n.global})}}(e,t.dom)),t.xhr&&(0,ie.Mn)(function(e){return function(t){if((0,p.KU)()!==e)return;const{startTimestamp:n,endTimestamp:r}=t,s=t.xhr[ie.Er];if(!n||!r||!s)return;const{method:i,url:o,status_code:a,body:c}=s,l={method:i,url:o,status_code:a},u={xhr:t.xhr,input:c,startTimestamp:n,endTimestamp:r};(0,p.ZQ)({category:"xhr",data:l,type:"http"},u)}}(e)),t.fetch&&(0,oe.u)(function(e){return function(t){if((0,p.KU)()!==e)return;const{startTimestamp:n,endTimestamp:r}=t;if(r&&(!t.fetchData.url.match(/sentry_key/)||"POST"!==t.fetchData.method))if(t.error){const e=t.fetchData,s={data:t.error,input:t.args,startTimestamp:n,endTimestamp:r};(0,p.ZQ)({category:"fetch",data:e,level:"error",type:"http"},s)}else{const e=t.response,s={...t.fetchData,status_code:e&&e.status},i={input:t.args,response:e,startTimestamp:n,endTimestamp:r};(0,p.ZQ)({category:"fetch",data:s,type:"http"},i)}}}(e)),t.history&&(0,k._)(function(e){return function(t){if((0,p.KU)()!==e)return;let n=t.from,r=t.to;const s=(0,ue.Dl)(Q.jf.location.href);let i=n?(0,ue.Dl)(n):void 0;const o=(0,ue.Dl)(r);i&&i.path||(i=s),s.protocol===o.protocol&&s.host===o.host&&(r=o.relative),s.protocol===i.protocol&&s.host===i.host&&(n=i.relative),(0,p.ZQ)({category:"navigation",data:{from:n,to:r}})}}(e)),t.sentry&&e.on&&e.on("beforeSendEvent",function(e){return function(t){(0,p.KU)()===e&&(0,p.ZQ)({category:"sentry."+("transaction"===t.type?"transaction":"event"),event_id:t.event_id,level:t.level,message:(0,s.$X)(t)},{event:t})}}(e))}}}));(0,a.F)(he,fe);const pe="Dedupe",me=(0,a._C)((()=>{let e;return{name:pe,setupOnce(){},processEvent(t){if(t.type)return t;try{if(function(e,t){if(!t)return!1;if(function(e,t){const n=e.message,r=t.message;if(!n&&!r)return!1;if(n&&!r||!n&&r)return!1;if(n!==r)return!1;if(!_e(e,t))return!1;if(!ge(e,t))return!1;return!0}(e,t))return!0;if(function(e,t){const n=ve(t),r=ve(e);if(!n||!r)return!1;if(n.type!==r.type||n.value!==r.value)return!1;if(!_e(e,t))return!1;if(!ge(e,t))return!1;return!0}(e,t))return!0;return!1}(t,e))return W.T&&r.vF.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(n){}return e=t}}}));(0,a.F)(pe,me);function ge(e,t){let n=ye(e),r=ye(t);if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;if(r.length!==n.length)return!1;for(let s=0;s<r.length;s++){const e=r[s],t=n[s];if(e.filename!==t.filename||e.lineno!==t.lineno||e.colno!==t.colno||e.function!==t.function)return!1}return!0}function _e(e,t){let n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;try{return!(n.join("")!==r.join(""))}catch(s){return!1}}function ve(e){return e.exception&&e.exception.values&&e.exception.values[0]}function ye(e){const t=e.exception;if(t)try{return t.values[0].stacktrace.frames}catch(n){return}}var be=n(19150),we=n(87976);const Se="GlobalHandlers",ke=(0,a._C)(((e={})=>{const t={onerror:!0,onunhandledrejection:!0,...e};return{name:Se,setupOnce(){Error.stackTraceLimit=50},setup(e){t.onerror&&(!function(e){(0,be.L)((t=>{const{stackParser:n,attachStacktrace:r}=Ee();if((0,p.KU)()!==e||(0,Q.jN)())return;const{msg:s,url:i,line:o,column:a,error:c}=t,l=void 0===c&&(0,x.Kg)(s)?function(e,t,n,r){const s=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;let i=(0,x.T2)(e)?e.message:e,o="Error";const a=i.match(s);a&&(o=a[1],i=a[2]);const c={exception:{values:[{type:o,value:i}]}};return Ce(c,t,n,r)}(s,i,o,a):Ce(Y(n,c||s,void 0,r,!1),i,o,a);l.level="error",(0,p.r)(l,{originalException:c,mechanism:{handled:!1,type:"onerror"}})}))}(e),xe("onerror")),t.onunhandledrejection&&(!function(e){(0,we.r)((t=>{const{stackParser:n,attachStacktrace:r}=Ee();if((0,p.KU)()!==e||(0,Q.jN)())return;const s=function(e){if((0,x.sO)(e))return e;const t=e;try{if("reason"in t)return t.reason;if("detail"in t&&"reason"in t.detail)return t.detail.reason}catch(n){}return e}(t),i=(0,x.sO)(s)?{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(s)}`}]}}:Y(n,s,void 0,r,!0);i.level="error",(0,p.r)(i,{originalException:s,mechanism:{handled:!1,type:"onunhandledrejection"}})}))}(e),xe("onunhandledrejection"))}}}));(0,a.F)(Se,ke);function Ce(e,t,n,r){const s=e.exception=e.exception||{},i=s.values=s.values||[],o=i[0]=i[0]||{},a=o.stacktrace=o.stacktrace||{},c=a.frames=a.frames||[],l=isNaN(parseInt(r,10))?void 0:r,u=isNaN(parseInt(n,10))?void 0:n,d=(0,x.Kg)(t)&&t.length>0?t:(0,ae.$N)();return 0===c.length&&c.push({colno:l,filename:d,function:"?",in_app:!0,lineno:u}),e}function xe(e){W.T&&r.vF.log(`Global Handler attached: ${e}`)}function Ee(){const e=(0,p.KU)();return e&&e.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}const Te="HttpContext",Ie=(0,a._C)((()=>({name:Te,setupOnce(){},preprocessEvent(e){if(!Q.jf.navigator&&!Q.jf.location&&!Q.jf.document)return;const t=e.request&&e.request.url||Q.jf.location&&Q.jf.location.href,{referrer:n}=Q.jf.document||{},{userAgent:r}=Q.jf.navigator||{},s={...e.request&&e.request.headers,...n&&{Referer:n},...r&&{"User-Agent":r}},i={...e.request,...t&&{url:t},headers:s};e.request=i}})));(0,a.F)(Te,Ie);function Oe(e,t,n=250,r,s,o,a){if(!o.exception||!o.exception.values||!a||!(0,x.tH)(a.originalException,Error))return;const c=o.exception.values.length>0?o.exception.values[o.exception.values.length-1]:void 0;var l,u;c&&(o.exception.values=(l=Ae(e,t,s,a.originalException,r,o.exception.values,c,0),u=n,l.map((e=>(e.value&&(e.value=(0,i.xv)(e.value,u)),e)))))}function Ae(e,t,n,r,s,i,o,a){if(i.length>=n+1)return i;let c=[...i];if((0,x.tH)(r[s],Error)){Re(o,a);const i=e(t,r[s]),l=c.length;De(i,s,l,a),c=Ae(e,t,n,r[s],s,[i,...c],i,l)}return Array.isArray(r.errors)&&r.errors.forEach(((r,i)=>{if((0,x.tH)(r,Error)){Re(o,a);const l=e(t,r),u=c.length;De(l,`errors[${i}]`,u,a),c=Ae(e,t,n,r,s,[l,...c],l,u)}})),c}function Re(e,t){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,..."AggregateError"===e.type&&{is_exception_group:!0},exception_id:t}}function De(e,t,n,r){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,type:"chained",source:t,exception_id:n,parent_id:r}}const Me="LinkedErrors",Ne=(0,a._C)(((e={})=>{const t=e.limit||5,n=e.key||"cause";return{name:Me,setupOnce(){},preprocessEvent(e,r,s){const i=s.getOptions();Oe(q,i.stackParser,i.maxValueLength,n,t,e,r)}}})),Le=((0,a.F)(Me,Ne),["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"]),Fe="TryCatch",Pe=(0,a._C)(((e={})=>{const t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...e};return{name:Fe,setupOnce(){t.setTimeout&&(0,f.GS)(Q.jf,"setTimeout",ze),t.setInterval&&(0,f.GS)(Q.jf,"setInterval",ze),t.requestAnimationFrame&&(0,f.GS)(Q.jf,"requestAnimationFrame",je),t.XMLHttpRequest&&"XMLHttpRequest"in Q.jf&&(0,f.GS)(XMLHttpRequest.prototype,"send",Be);const e=t.eventTarget;if(e){(Array.isArray(e)?e:Le).forEach($e)}}}}));(0,a.F)(Fe,Pe);function ze(e){return function(...t){const n=t[0];return t[0]=(0,Q.LV)(n,{mechanism:{data:{function:(0,w.qQ)(e)},handled:!1,type:"instrument"}}),e.apply(this,t)}}function je(e){return function(t){return e.apply(this,[(0,Q.LV)(t,{mechanism:{data:{function:"requestAnimationFrame",handler:(0,w.qQ)(e)},handled:!1,type:"instrument"}})])}}function Be(e){return function(...t){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach((e=>{e in n&&"function"===typeof n[e]&&(0,f.GS)(n,e,(function(t){const n={mechanism:{data:{function:e,handler:(0,w.qQ)(t)},handled:!1,type:"instrument"}},r=(0,f.sp)(t);return r&&(n.mechanism.data.handler=(0,w.qQ)(r)),(0,Q.LV)(t,n)}))})),e.apply(this,t)}}function $e(e){const t=Q.jf,n=t[e]&&t[e].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&((0,f.GS)(n,"addEventListener",(function(t){return function(n,r,s){try{"function"===typeof r.handleEvent&&(r.handleEvent=(0,Q.LV)(r.handleEvent,{mechanism:{data:{function:"handleEvent",handler:(0,w.qQ)(r),target:e},handled:!1,type:"instrument"}}))}catch(i){}return t.apply(this,[n,(0,Q.LV)(r,{mechanism:{data:{function:"addEventListener",handler:(0,w.qQ)(r),target:e},handled:!1,type:"instrument"}}),s])}})),(0,f.GS)(n,"removeEventListener",(function(e){return function(t,n,r){const s=n;try{const n=s&&s.__sentry_wrapped__;n&&e.call(this,t,n,r)}catch(i){}return e.call(this,t,s,r)}})))}const Ue="?";function We(e,t,n,r){const s={filename:e,function:t,in_app:!0};return void 0!==n&&(s.lineno=n),void 0!==r&&(s.colno=r),s}const He=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,qe=/\((\S*)(?::(\d+))(?::(\d+))\)/,Ge=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,Ve=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,Ke=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i,Je=[[30,e=>{const t=He.exec(e);if(t){if(t[2]&&0===t[2].indexOf("eval")){const e=qe.exec(t[2]);e&&(t[2]=e[1],t[3]=e[2],t[4]=e[3])}const[e,n]=Ze(t[1]||Ue,t[2]);return We(n,e,t[3]?+t[3]:void 0,t[4]?+t[4]:void 0)}}],[50,e=>{const t=Ge.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){const e=Ve.exec(t[3]);e&&(t[1]=t[1]||"eval",t[3]=e[1],t[4]=e[2],t[5]="")}let e=t[3],n=t[1]||Ue;return[n,e]=Ze(n,e),We(e,n,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}],[40,e=>{const t=Ke.exec(e);return t?We(t[2],t[1]||Ue,+t[3],t[4]?+t[4]:void 0):void 0}]],Ye=(0,w.gd)(...Je),Ze=(e,t)=>{const n=-1!==e.indexOf("safari-extension"),r=-1!==e.indexOf("safari-web-extension");return n||r?[-1!==e.indexOf("@")?e.split("@")[0]:Ue,n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]};function Xe(e){const t=[];function n(e){return t.splice(t.indexOf(e),1)[0]}return{$:t,add:function(r){if(!(void 0===e||t.length<e))return(0,E.xg)(new I("Not adding Promise because buffer limit was reached."));const s=r();return-1===t.indexOf(s)&&t.push(s),s.then((()=>n(s))).then(null,(()=>n(s).then(null,(()=>{})))),s},drain:function(e){return new E.T2(((n,r)=>{let s=t.length;if(!s)return n(!0);const i=setTimeout((()=>{e&&e>0&&n(!1)}),e);t.forEach((e=>{(0,E.XW)(e).then((()=>{--s||(clearTimeout(i),n(!0))}),r)}))}))}}}var Qe=n(16350);const et=30;function tt(e,t,n=Xe(e.bufferSize||et)){let s={};function i(i){const a=[];if((0,T.yH)(i,((t,n)=>{const r=(0,T.zk)(n);if((0,Qe.Jz)(s,r)){const s=nt(t,n);e.recordDroppedEvent("ratelimit_backoff",r,s)}else a.push(t)})),0===a.length)return(0,E.XW)();const c=(0,T.h4)(i[0],a),l=t=>{(0,T.yH)(c,((n,r)=>{const s=nt(n,r);e.recordDroppedEvent(t,(0,T.zk)(r),s)}))};return n.add((()=>t({body:(0,T.bN)(c,e.textEncoder)}).then((e=>(void 0!==e.statusCode&&(e.statusCode<200||e.statusCode>=300)&&o.T&&r.vF.warn(`Sentry responded with status code ${e.statusCode} to sent event.`),s=(0,Qe.wq)(s,e),e)),(e=>{throw l("network_error"),e})))).then((e=>e),(e=>{if(e instanceof I)return o.T&&r.vF.error("Skipped sending event because buffer is full."),l("queue_overflow"),(0,E.XW)();throw e}))}return i.__sentry__baseTransport__=!0,{send:i,flush:e=>n.drain(e)}}function nt(e,t){if("event"===t||"transaction"===t)return Array.isArray(e)?e[1]:void 0}let rt;function st(e,t=function(){if(rt)return rt;if((0,S.ap)(Q.jf.fetch))return rt=Q.jf.fetch.bind(Q.jf);const e=Q.jf.document;let t=Q.jf.fetch;if(e&&"function"===typeof e.createElement)try{const n=e.createElement("iframe");n.hidden=!0,e.head.appendChild(n);const r=n.contentWindow;r&&r.fetch&&(t=r.fetch),e.head.removeChild(n)}catch(n){W.T&&r.vF.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",n)}return rt=t.bind(Q.jf)}()){let n=0,s=0;return tt(e,(function(r){const i=r.body.length;n+=i,s++;const o={body:r.body,method:"POST",referrerPolicy:"origin",headers:e.headers,keepalive:n<=6e4&&s<15,...e.fetchOptions};try{return t(e.url,o).then((e=>(n-=i,s--,{statusCode:e.status,headers:{"x-sentry-rate-limits":e.headers.get("X-Sentry-Rate-Limits"),"retry-after":e.headers.get("Retry-After")}})))}catch(a){return rt=void 0,n-=i,s--,(0,E.xg)(a)}}))}const it=4;function ot(e){return tt(e,(function(t){return new E.T2(((n,r)=>{const s=new XMLHttpRequest;s.onerror=r,s.onreadystatechange=()=>{s.readyState===it&&n({statusCode:s.status,headers:{"x-sentry-rate-limits":s.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":s.getResponseHeader("Retry-After")}})},s.open("POST",e.url);for(const t in e.headers)Object.prototype.hasOwnProperty.call(e.headers,t)&&s.setRequestHeader(t,e.headers[t]);s.send(t.body)}))}))}const at=[d(),v(),Pe(),fe(),ke(),Ne(),me(),Ie()];function ct(e={}){void 0===e.defaultIntegrations&&(e.defaultIntegrations=[...at]),void 0===e.release&&("string"===typeof __SENTRY_RELEASE__&&(e.release=__SENTRY_RELEASE__),Q.jf.SENTRY_RELEASE&&Q.jf.SENTRY_RELEASE.id&&(e.release=Q.jf.SENTRY_RELEASE.id)),void 0===e.autoSessionTracking&&(e.autoSessionTracking=!0),void 0===e.sendClientReports&&(e.sendClientReports=!0);const t={...e,stackParser:(0,w.vk)(e.stackParser||Ye),integrations:(0,a.mH)(e),transport:e.transport||((0,S.vm)()?st:ot)};b(ee,t),e.autoSessionTracking&&function(){if("undefined"===typeof Q.jf.document)return void(W.T&&r.vF.warn("Session tracking in non-browser environment with @sentry/browser is not supported."));(0,p.J0)({ignoreDuration:!0}),(0,p.J5)(),(0,k._)((({from:e,to:t})=>{void 0!==e&&e!==t&&((0,p.J0)({ignoreDuration:!0}),(0,p.J5)())}))}()}function lt(e){const t={...e};B(t,"react"),ct(t)}},68765:(e,t,n)=>{"use strict";n.d(t,{T:()=>r});const r="undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},77278:(e,t,n)=>{"use strict";n.d(t,{LV:()=>u,jN:()=>l,jf:()=>a});var r=n(2917),s=n(91444),i=n(9576),o=n(4475);const a=s.OW;let c=0;function l(){return c>0}function u(e,t={},n){if("function"!==typeof e)return e;try{const t=e.__sentry_wrapped__;if(t)return"function"===typeof t?t:e;if((0,i.sp)(e))return e}catch(a){return e}const s=function(){const s=Array.prototype.slice.call(arguments);try{n&&"function"===typeof n&&n.apply(this,arguments);const r=s.map((e=>u(e,t)));return e.apply(this,r)}catch(i){throw c++,setTimeout((()=>{c--})),(0,r.v4)((e=>{e.addEventProcessor((e=>(t.mechanism&&((0,o.gO)(e,void 0,void 0),(0,o.M6)(e,t.mechanism)),e.extra={...e.extra,arguments:s},e))),(0,r.Cp)(i)})),i}};try{for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(s[t]=e[t])}catch(l){}(0,i.pO)(s,e),(0,i.my)(e,"__sentry_wrapped__",s);try{Object.getOwnPropertyDescriptor(s,"name").configurable&&Object.defineProperty(s,"name",{get:()=>e.name})}catch(l){}return s}},70651:(e,t,n)=>{"use strict";n.d(t,{f:()=>P});var r=n(2917),s=n(48836),i=n(83887),o=n(68765),a=n(90973),c=n(46310),l=n(4475),u=n(77278),d=n(93215),h=n(44103),f=n(91444);const p=1e6,m=String(0),g="main";let _="",v="",y="",b=u.jf.navigator&&u.jf.navigator.userAgent||"",w="";const S=u.jf.navigator&&u.jf.navigator.language||u.jf.navigator&&u.jf.navigator.languages&&u.jf.navigator.languages[0]||"";const k=u.jf.navigator&&u.jf.navigator.userAgentData;var C;function x(e){return function(e){return!("thread_metadata"in e)}(e)?function(e){let t,n=0;const r={samples:[],stacks:[],frames:[],thread_metadata:{[m]:{name:g}}};if(!e.samples.length)return r;const s=e.samples[0].timestamp,i="number"===typeof performance.timeOrigin?performance.timeOrigin:c.k3||0,o=i-(c.k3||i);for(let a=0;a<e.samples.length;a++){const i=e.samples[a];if(void 0===i.stackId){void 0===t&&(t=n,r.stacks[t]=[],n++),r.samples[a]={elapsed_since_start_ns:((i.timestamp+o-s)*p).toFixed(0),stack_id:t,thread_id:m};continue}let c=e.stacks[i.stackId];const l=[];for(;c;){l.push(c.frameId);const t=e.frames[c.frameId];void 0===r.frames[c.frameId]&&(r.frames[c.frameId]={function:t.name,abs_path:"number"===typeof t.resourceId?e.resources[t.resourceId]:void 0,lineno:t.line,colno:t.column}),c=void 0===c.parentId?void 0:e.stacks[c.parentId]}const u={elapsed_since_start_ns:((i.timestamp+o-s)*p).toFixed(0),stack_id:n,thread_id:m};r.stacks[n]=l,r.samples[a]=u,n++}return r}(e):e}function E(e,t,n,r){if("transaction"!==r.type)throw new TypeError("Profiling events may only be attached to transactions, this should never occur.");if(void 0===n||null===n)throw new TypeError(`Cannot construct profiling event envelope without a valid profile. Got ${n} instead.`);const s=function(e){const t=e&&e.contexts&&e.contexts.trace&&e.contexts.trace.trace_id;return"string"===typeof t&&32!==t.length&&o.T&&i.vF.log(`[Profiling] Invalid traceId: ${t} on profiled event`),"string"!==typeof t?"":t}(r),a=x(n),c=t||("number"===typeof r.start_timestamp?1e3*r.start_timestamp:Date.now()),h="number"===typeof r.timestamp?1e3*r.timestamp:Date.now();return{event_id:e,timestamp:new Date(c).toISOString(),platform:"javascript",version:"1",release:r.release||"",environment:r.environment||d.U,runtime:{name:"javascript",version:u.jf.navigator.userAgent},os:{name:_,version:v,build_number:b},device:{locale:S,model:w,manufacturer:b,architecture:y,is_emulator:!1},debug_meta:{images:O(n.resources)},profile:a,transactions:[{name:r.transaction||"",id:r.event_id||(0,l.eJ)(),trace_id:s,active_thread_id:m,relative_start_ns:"0",relative_end_ns:(1e6*(h-c)).toFixed(0)}]}}function T(e){return"pageload"===e.op}"object"===typeof(C=k)&&null!==C&&"getHighEntropyValues"in C&&k.getHighEntropyValues(["architecture","model","platform","platformVersion","fullVersionList"]).then((e=>{if(_=e.platform||"",y=e.architecture||"",w=e.model||"",v=e.platformVersion||"",e.fullVersionList&&e.fullVersionList.length>0){const t=e.fullVersionList[e.fullVersionList.length-1];b=`${t.brand} ${t.version}`}})).catch((e=>{}));const I=new WeakMap;function O(e){const t=f.OW._sentryDebugIds;if(!t)return[];const n=(0,r.KU)(),s=n&&n.getOptions(),i=s&&s.stackParser;if(!i)return[];let o;const a=I.get(i);a?o=a:(o=new Map,I.set(i,o));const c=Object.keys(t).reduce(((e,n)=>{let r;const s=o.get(n);s?r=s:(r=i(n),o.set(n,r));for(let i=r.length-1;i>=0;i--){const s=r[i],o=s&&s.filename;if(s&&o){e[o]=t[n];break}}return e}),{}),l=[];for(const r of e)r&&c[r]&&l.push({type:"sourcemap",code_file:r,debug_id:c[r]});return l}let A=!1;function R(e){if(A)return o.T&&i.vF.log("[Profiling] Profiling has been disabled for the duration of the current user session."),!1;if(!e.isRecording())return o.T&&i.vF.log("[Profiling] Discarding profile because transaction was not sampled."),!1;const t=(0,r.KU)(),n=t&&t.getOptions();if(!n)return o.T&&i.vF.log("[Profiling] Profiling disabled, no options found."),!1;const s=n.profilesSampleRate;if(!("number"!==typeof(a=s)&&"boolean"!==typeof a||"number"===typeof a&&isNaN(a)?(o.T&&i.vF.warn(`[Profiling] Invalid sample rate. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(a)} of type ${JSON.stringify(typeof a)}.`),0):!0===a||!1===a||!(a<0||a>1)||(o.T&&i.vF.warn(`[Profiling] Invalid sample rate. Sample rate must be between 0 and 1. Got ${a}.`),0)))return o.T&&i.vF.warn("[Profiling] Discarding profile because of invalid sample rate."),!1;var a;if(!s)return o.T&&i.vF.log("[Profiling] Discarding profile because a negative sampling decision was inherited or profileSampleRate is set to 0"),!1;return!!(!0===s||Math.random()<s)||(o.T&&i.vF.log(`[Profiling] Discarding profile because it's not included in the random sample (sampling rate = ${Number(s)})`),!1)}function D(e,t,n,r){return function(e){return e.samples.length<2?(o.T&&i.vF.log("[Profiling] Discarding profile because it contains less than 2 samples"),!1):!!e.frames.length||(o.T&&i.vF.log("[Profiling] Discarding profile because it contains no frames"),!1)}(n)?E(e,t,n,r):null}const M=new Map;function N(e){const t=M.get(e);return t&&M.delete(e),t}function L(e){let t;T(e)&&(t=1e3*(0,c.zf)());const n=function(){const e=u.jf.Profiler;if("function"!==typeof e)return void(o.T&&i.vF.log("[Profiling] Profiling is not supported by this browser, Profiler interface missing on window object."));const t=Math.floor(3e3);try{return new e({sampleInterval:10,maxBufferSize:t})}catch(n){o.T&&(i.vF.log("[Profiling] Failed to initialize the Profiling constructor, this is likely due to a missing 'Document-Policy': 'js-profiling' header."),i.vF.log("[Profiling] Disabling profiling for current user session.")),A=!0}}();if(!n)return e;o.T&&i.vF.log(`[Profiling] started profiling transaction: ${(0,a.et)(e).description}`);const r=(0,l.eJ)();async function s(){return e&&n?n.stop().then((t=>(d&&(u.jf.clearTimeout(d),d=void 0),o.T&&i.vF.log(`[Profiling] stopped profiling of transaction: ${(0,a.et)(e).description}`),t?(function(e,t){if(M.set(e,t),M.size>30){const e=M.keys().next().value;M.delete(e)}}(r,t),null):(o.T&&i.vF.log(`[Profiling] profiler returned null profile for: ${(0,a.et)(e).description}`,"this may indicate an overlapping transaction or a call to stopProfiling with a profile title that was never started"),null)))).catch((e=>(o.T&&i.vF.log("[Profiling] error while stopping profiler:",e),null))):null}let d=u.jf.setTimeout((()=>{o.T&&i.vF.log("[Profiling] max profile duration elapsed, stopping profiling for:",(0,a.et)(e).description),s()}),3e4);const h=e.end.bind(e);return e.end=function(){return e?(s().then((()=>{e.setContext("profile",{profile_id:r,start_timestamp:t}),h()}),(()=>{h()})),e):h()},e}const F="BrowserProfiling",P=(0,s._C)((()=>({name:F,setupOnce(){},setup(e){const t=(0,r.o5)().getTransaction();t&&T(t)&&R(t)&&L(t),"function"===typeof e.on?(e.on("startTransaction",(e=>{R(e)&&L(e)})),e.on("beforeEnvelope",(e=>{if(!M.size)return;const t=function(e){const t=[];return(0,h.yH)(e,((e,n)=>{if("transaction"===n)for(let r=1;r<e.length;r++){const n=e[r];n&&n.contexts&&n.contexts.profile&&n.contexts.profile.profile_id&&t.push(e[r])}})),t}(e);if(!t.length)return;const n=[];for(const r of t){const e=r&&r.contexts,t=e&&e.profile&&e.profile.profile_id,s=e&&e.profile&&e.profile.start_timestamp;if("string"!==typeof t){o.T&&i.vF.log("[Profiling] cannot find profile for a transaction without a profile context");continue}if(!t){o.T&&i.vF.log("[Profiling] cannot find profile for a transaction without a profile context");continue}e&&e.profile&&delete e.profile;const a=N(t);if(!a){o.T&&i.vF.log(`[Profiling] Could not retrieve profile for transaction: ${t}`);continue}const c=D(t,s,a,r);c&&n.push(c)}!function(e,t){if(!t.length)return e;for(const n of t)e[1].push([{type:"profile"},n])}(e,n)}))):i.vF.warn("[Profiling] Client does not support hooks, profiling will be disabled")}})));(0,s.F)(F,P)},64379:(e,t,n)=>{"use strict";n.d(t,{jB:()=>u,lG:()=>c,lb:()=>l});var r=n(91444),s=n(85195),i=n(83887),o=n(30747),a=n(32436);function c(){return(0,r.BY)("globalEventProcessors",(()=>[]))}function l(e){c().push(e)}function u(e,t,n,r=0){return new s.T2(((s,c)=>{const l=e[r];if(null===t||"function"!==typeof l)s(t);else{const d=l({...t},n);a.T&&l.id&&null===d&&i.vF.log(`Event processor "${l.id}" dropped event`),(0,o.Qg)(d)?d.then((t=>u(e,t,n,r+1).then(s))).then(null,c):u(e,d,n,r+1).then(s).then(null,c)}}))}},2917:(e,t,n)=>{"use strict";n.d(t,{Cp:()=>c,J0:()=>g,J5:()=>y,KU:()=>p,ZQ:()=>d,gV:()=>h,o5:()=>m,r:()=>u,v4:()=>f,wd:()=>l});var r=n(91444),s=n(93215),i=n(4681),o=n(8682),a=n(79355);function c(e,t){return(0,i.BF)().captureException(e,(0,a.li)(t))}function l(e,t){const n="string"===typeof t?t:void 0,r="string"!==typeof t?{captureContext:t}:void 0;return(0,i.BF)().captureMessage(e,n,r)}function u(e,t){return(0,i.BF)().captureEvent(e,t)}function d(e,t){(0,i.BF)().addBreadcrumb(e,t)}function h(e){(0,i.BF)().setUser(e)}function f(...e){const t=(0,i.BF)();if(2===e.length){const[n,r]=e;return n?t.withScope((()=>(t.getStackTop().scope=n,r(n)))):t.withScope(r)}return t.withScope(e[0])}function p(){return(0,i.BF)().getClient()}function m(){return(0,i.BF)().getScope()}function g(e){const t=p(),n=(0,i.rm)(),a=m(),{release:c,environment:l=s.U}=t&&t.getOptions()||{},{userAgent:u}=r.OW.navigator||{},d=(0,o.fj)({release:c,environment:l,user:a.getUser()||n.getUser(),...u&&{userAgent:u},...e}),h=n.getSession();return h&&"ok"===h.status&&(0,o.qO)(h,{status:"exited"}),_(),n.setSession(d),a.setSession(d),d}function _(){const e=(0,i.rm)(),t=m(),n=t.getSession()||e.getSession();n&&(0,o.Vu)(n),v(),e.setSession(),t.setSession()}function v(){const e=(0,i.rm)(),t=m(),n=p(),r=t.getSession()||e.getSession();r&&n&&n.captureSession&&n.captureSession(r)}function y(e=!1){e?_():v()}},4681:(e,t,n)=>{"use strict";n.d(t,{BF:()=>v,rm:()=>y});var r=n(30747),s=n(4475),i=n(46310),o=n(83887),a=n(91444),c=n(93215),l=n(32436),u=n(31310),d=n(8682),h=n(27994);const f=parseFloat(h.M),p=100;class m{constructor(e,t,n,r=f){let s,i;this._version=r,t?s=t:(s=new u.HG,s.setClient(e)),n?i=n:(i=new u.HG,i.setClient(e)),this._stack=[{scope:s}],e&&this.bindClient(e),this._isolationScope=i}isOlderThan(e){return this._version<e}bindClient(e){const t=this.getStackTop();t.client=e,t.scope.setClient(e),e&&e.setupIntegrations&&e.setupIntegrations()}pushScope(){const e=this.getScope().clone();return this.getStack().push({client:this.getClient(),scope:e}),e}popScope(){return!(this.getStack().length<=1)&&!!this.getStack().pop()}withScope(e){const t=this.pushScope();let n;try{n=e(t)}catch(s){throw this.popScope(),s}return(0,r.Qg)(n)?n.then((e=>(this.popScope(),e)),(e=>{throw this.popScope(),e})):(this.popScope(),n)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStack(){return this._stack}getStackTop(){return this._stack[this._stack.length-1]}captureException(e,t){const n=this._lastEventId=t&&t.event_id?t.event_id:(0,s.eJ)(),r=new Error("Sentry syntheticException");return this.getScope().captureException(e,{originalException:e,syntheticException:r,...t,event_id:n}),n}captureMessage(e,t,n){const r=this._lastEventId=n&&n.event_id?n.event_id:(0,s.eJ)(),i=new Error(e);return this.getScope().captureMessage(e,t,{originalException:e,syntheticException:i,...n,event_id:r}),r}captureEvent(e,t){const n=t&&t.event_id?t.event_id:(0,s.eJ)();return e.type||(this._lastEventId=n),this.getScope().captureEvent(e,{...t,event_id:n}),n}lastEventId(){return this._lastEventId}addBreadcrumb(e,t){const{scope:n,client:r}=this.getStackTop();if(!r)return;const{beforeBreadcrumb:s=null,maxBreadcrumbs:a=p}=r.getOptions&&r.getOptions()||{};if(a<=0)return;const c={timestamp:(0,i.lu)(),...e},l=s?(0,o.pq)((()=>s(c,t))):c;null!==l&&(r.emit&&r.emit("beforeAddBreadcrumb",l,t),n.addBreadcrumb(l,a))}setUser(e){this.getScope().setUser(e),this.getIsolationScope().setUser(e)}setTags(e){this.getScope().setTags(e),this.getIsolationScope().setTags(e)}setExtras(e){this.getScope().setExtras(e),this.getIsolationScope().setExtras(e)}setTag(e,t){this.getScope().setTag(e,t),this.getIsolationScope().setTag(e,t)}setExtra(e,t){this.getScope().setExtra(e,t),this.getIsolationScope().setExtra(e,t)}setContext(e,t){this.getScope().setContext(e,t),this.getIsolationScope().setContext(e,t)}configureScope(e){const{scope:t,client:n}=this.getStackTop();n&&e(t)}run(e){const t=_(this);try{e(this)}finally{_(t)}}getIntegration(e){const t=this.getClient();if(!t)return null;try{return t.getIntegration(e)}catch(n){return l.T&&o.vF.warn(`Cannot retrieve integration ${e.id} from the current Hub`),null}}startTransaction(e,t){const n=this._callExtensionMethod("startTransaction",e,t);if(l.T&&!n){this.getClient()?o.vF.warn("Tracing extension 'startTransaction' has not been added. Call 'addTracingExtensions' before calling 'init':\nSentry.addTracingExtensions();\nSentry.init({...});\n"):o.vF.warn("Tracing extension 'startTransaction' is missing. You should 'init' the SDK before calling 'startTransaction'")}return n}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(e=!1){if(e)return this.endSession();this._sendSessionUpdate()}endSession(){const e=this.getStackTop().scope,t=e.getSession();t&&(0,d.Vu)(t),this._sendSessionUpdate(),e.setSession()}startSession(e){const{scope:t,client:n}=this.getStackTop(),{release:r,environment:s=c.U}=n&&n.getOptions()||{},{userAgent:i}=a.OW.navigator||{},o=(0,d.fj)({release:r,environment:s,user:t.getUser(),...i&&{userAgent:i},...e}),l=t.getSession&&t.getSession();return l&&"ok"===l.status&&(0,d.qO)(l,{status:"exited"}),this.endSession(),t.setSession(o),o}shouldSendDefaultPii(){const e=this.getClient(),t=e&&e.getOptions();return Boolean(t&&t.sendDefaultPii)}_sendSessionUpdate(){const{scope:e,client:t}=this.getStackTop(),n=e.getSession();n&&t&&t.captureSession&&t.captureSession(n)}_callExtensionMethod(e,...t){const n=g().__SENTRY__;if(n&&n.extensions&&"function"===typeof n.extensions[e])return n.extensions[e].apply(this,t);l.T&&o.vF.warn(`Extension method ${e} couldn't be found, doing nothing.`)}}function g(){return a.OW.__SENTRY__=a.OW.__SENTRY__||{extensions:{},hub:void 0},a.OW}function _(e){const t=g(),n=S(t);return k(t,e),n}function v(){const e=g();if(e.__SENTRY__&&e.__SENTRY__.acs){const t=e.__SENTRY__.acs.getCurrentHub();if(t)return t}return b(e)}function y(){return v().getIsolationScope()}function b(e=g()){return w(e)&&!S(e).isOlderThan(f)||k(e,new m),S(e)}function w(e){return!!(e&&e.__SENTRY__&&e.__SENTRY__.hub)}function S(e){return(0,a.BY)("hub",(()=>new m),e)}function k(e,t){if(!e)return!1;return(e.__SENTRY__=e.__SENTRY__||{}).hub=t,!0}},48836:(e,t,n)=>{"use strict";n.d(t,{F:()=>f,P$:()=>u,_C:()=>p,lc:()=>d,mH:()=>l,qm:()=>h});var r=n(4475),s=n(83887),i=n(32436),o=n(64379),a=n(4681);const c=[];function l(e){const t=e.defaultIntegrations||[],n=e.integrations;let s;t.forEach((e=>{e.isDefaultInstance=!0})),s=Array.isArray(n)?[...t,...n]:"function"===typeof n?(0,r.k9)(n(t)):t;const i=function(e){const t={};return e.forEach((e=>{const{name:n}=e,r=t[n];r&&!r.isDefaultInstance&&e.isDefaultInstance||(t[n]=e)})),Object.keys(t).map((e=>t[e]))}(s),o=function(e,t){for(let n=0;n<e.length;n++)if(!0===t(e[n]))return n;return-1}(i,(e=>"Debug"===e.name));if(-1!==o){const[e]=i.splice(o,1);i.push(e)}return i}function u(e,t){const n={};return t.forEach((t=>{t&&h(e,t,n)})),n}function d(e,t){for(const n of t)n&&n.afterAllSetup&&n.afterAllSetup(e)}function h(e,t,n){if(n[t.name])i.T&&s.vF.log(`Integration skipped because it was already installed: ${t.name}`);else{if(n[t.name]=t,-1===c.indexOf(t.name)&&(t.setupOnce(o.lb,a.BF),c.push(t.name)),t.setup&&"function"===typeof t.setup&&t.setup(e),e.on&&"function"===typeof t.preprocessEvent){const n=t.preprocessEvent.bind(t);e.on("preprocessEvent",((t,r)=>n(t,r,e)))}if(e.addEventProcessor&&"function"===typeof t.processEvent){const n=t.processEvent.bind(t),r=Object.assign(((t,r)=>n(t,r,e)),{id:t.name});e.addEventProcessor(r)}i.T&&s.vF.log(`Integration installed: ${t.name}`)}}function f(e,t){return Object.assign((function(...e){return t(...e)}),{id:e})}function p(e){return e}},31310:(e,t,n)=>{"use strict";n.d(t,{HG:()=>d,m6:()=>h});var r=n(30747),s=n(46310),i=n(4475),o=n(83887),a=n(64379),c=n(8682),l=n(27847);let u;class d{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=f()}static clone(e){return e?e.clone():new d}clone(){const e=new d;return e._breadcrumbs=[...this._breadcrumbs],e._tags={...this._tags},e._extra={...this._extra},e._contexts={...this._contexts},e._user=this._user,e._level=this._level,e._span=this._span,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=[...this._eventProcessors],e._requestSession=this._requestSession,e._attachments=[...this._attachments],e._sdkProcessingMetadata={...this._sdkProcessingMetadata},e._propagationContext={...this._propagationContext},e._client=this._client,e}setClient(e){this._client=e}getClient(){return this._client}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,segment:void 0,username:void 0},this._session&&(0,c.qO)(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(e){return this._requestSession=e,this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this._tags={...this._tags,[e]:t},this._notifyScopeListeners(),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,t){return this._extra={...this._extra,[e]:t},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return null===t?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}setSpan(e){return this._span=e,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){const e=this._span;return e&&e.transaction}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;const t="function"===typeof e?e(this):e;if(t instanceof d){const e=t.getScopeData();this._tags={...this._tags,...e.tags},this._extra={...this._extra,...e.extra},this._contexts={...this._contexts,...e.contexts},e.user&&Object.keys(e.user).length&&(this._user=e.user),e.level&&(this._level=e.level),e.fingerprint.length&&(this._fingerprint=e.fingerprint),t.getRequestSession()&&(this._requestSession=t.getRequestSession()),e.propagationContext&&(this._propagationContext=e.propagationContext)}else if((0,r.Qd)(t)){const t=e;this._tags={...this._tags,...t.tags},this._extra={...this._extra,...t.extra},this._contexts={...this._contexts,...t.contexts},t.user&&(this._user=t.user),t.level&&(this._level=t.level),t.fingerprint&&(this._fingerprint=t.fingerprint),t.requestSession&&(this._requestSession=t.requestSession),t.propagationContext&&(this._propagationContext=t.propagationContext)}return this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this._propagationContext=f(),this}addBreadcrumb(e,t){const n="number"===typeof t?t:100;if(n<=0)return this;const r={timestamp:(0,s.lu)(),...e},i=this._breadcrumbs;return i.push(r),this._breadcrumbs=i.length>n?i.slice(-n):i,this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}getAttachments(){return this.getScopeData().attachments}clearAttachments(){return this._attachments=[],this}getScopeData(){const{_breadcrumbs:e,_attachments:t,_contexts:n,_tags:r,_extra:s,_user:i,_level:o,_fingerprint:a,_eventProcessors:c,_propagationContext:l,_sdkProcessingMetadata:u,_transactionName:d,_span:h}=this;return{breadcrumbs:e,attachments:t,contexts:n,tags:r,extra:s,user:i,level:o,fingerprint:a||[],eventProcessors:c,propagationContext:l,sdkProcessingMetadata:u,transactionName:d,span:h}}applyToEvent(e,t={},n=[]){(0,l.e2)(e,this.getScopeData());const r=[...n,...(0,a.lG)(),...this._eventProcessors];return(0,a.jB)(r,e,t)}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...e},this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,t){const n=t&&t.event_id?t.event_id:(0,i.eJ)();if(!this._client)return o.vF.warn("No client configured on scope - will not capture exception!"),n;const r=new Error("Sentry syntheticException");return this._client.captureException(e,{originalException:e,syntheticException:r,...t,event_id:n},this),n}captureMessage(e,t,n){const r=n&&n.event_id?n.event_id:(0,i.eJ)();if(!this._client)return o.vF.warn("No client configured on scope - will not capture message!"),r;const s=new Error(e);return this._client.captureMessage(e,t,{originalException:e,syntheticException:s,...n,event_id:r},this),r}captureEvent(e,t){const n=t&&t.event_id?t.event_id:(0,i.eJ)();return this._client?(this._client.captureEvent(e,{...t,event_id:n},this),n):(o.vF.warn("No client configured on scope - will not capture event!"),n)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach((e=>{e(this)})),this._notifyingListeners=!1)}}function h(){return u||(u=new d),u}function f(){return{traceId:(0,i.eJ)(),spanId:(0,i.eJ)().substring(16)}}},36084:(e,t,n)=>{"use strict";n.d(t,{k:()=>l,l:()=>c});var r=n(9576),s=n(93215),i=n(2917),o=n(71796),a=n(90973);function c(e,t,n){const i=t.getOptions(),{publicKey:o}=t.getDsn()||{},{segment:a}=n&&n.getUser()||{},c=(0,r.Ce)({environment:i.environment||s.U,release:i.release,user_segment:a,public_key:o,trace_id:e});return t.emit&&t.emit("createDsc",c),c}function l(e){const t=(0,i.KU)();if(!t)return{};const n=c((0,a.et)(e).trace_id||"",t,(0,i.o5)()),r=(0,o.z)(e);if(!r)return n;const s=r&&r._frozenDynamicSamplingContext;if(s)return s;const{sampleRate:l,source:u}=r.metadata;null!=l&&(n.sample_rate=`${l}`);const d=(0,a.et)(r);return u&&"url"!==u&&(n.transaction=d.description),n.sampled=String((0,a.pK)(r)),t.emit&&t.emit("createDsc",n),n}},27847:(e,t,n)=>{"use strict";n.d(t,{Rg:()=>l,e2:()=>c});var r=n(9576),s=n(4475),i=n(36084),o=n(71796),a=n(90973);function c(e,t){const{fingerprint:n,span:c,breadcrumbs:l,sdkProcessingMetadata:u}=t;!function(e,t){const{extra:n,tags:s,user:i,contexts:o,level:a,transactionName:c}=t,l=(0,r.Ce)(n);l&&Object.keys(l).length&&(e.extra={...l,...e.extra});const u=(0,r.Ce)(s);u&&Object.keys(u).length&&(e.tags={...u,...e.tags});const d=(0,r.Ce)(i);d&&Object.keys(d).length&&(e.user={...d,...e.user});const h=(0,r.Ce)(o);h&&Object.keys(h).length&&(e.contexts={...h,...e.contexts});a&&(e.level=a);c&&(e.transaction=c)}(e,t),c&&function(e,t){e.contexts={trace:(0,a.kX)(t),...e.contexts};const n=(0,o.z)(t);if(n){e.sdkProcessingMetadata={dynamicSamplingContext:(0,i.k)(t),...e.sdkProcessingMetadata};const r=(0,a.et)(n).description;r&&(e.tags={transaction:r,...e.tags})}}(e,c),function(e,t){e.fingerprint=e.fingerprint?(0,s.k9)(e.fingerprint):[],t&&(e.fingerprint=e.fingerprint.concat(t));e.fingerprint&&!e.fingerprint.length&&delete e.fingerprint}(e,n),function(e,t){const n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}(e,l),function(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}(e,u)}function l(e,t){const{extra:n,tags:r,user:s,contexts:i,level:o,sdkProcessingMetadata:a,breadcrumbs:c,fingerprint:l,eventProcessors:d,attachments:h,propagationContext:f,transactionName:p,span:m}=t;u(e,"extra",n),u(e,"tags",r),u(e,"user",s),u(e,"contexts",i),u(e,"sdkProcessingMetadata",a),o&&(e.level=o),p&&(e.transactionName=p),m&&(e.span=m),c.length&&(e.breadcrumbs=[...e.breadcrumbs,...c]),l.length&&(e.fingerprint=[...e.fingerprint,...l]),d.length&&(e.eventProcessors=[...e.eventProcessors,...d]),h.length&&(e.attachments=[...e.attachments,...h]),e.propagationContext={...e.propagationContext,...f}}function u(e,t,n){if(n&&Object.keys(n).length){e[t]={...e[t]};for(const r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[t][r]=n[r])}}},79355:(e,t,n)=>{"use strict";n.d(t,{li:()=>m,mG:()=>f});var r=n(4475),s=n(46310),i=n(78198),o=n(91444),a=n(96008),c=n(93215),l=n(64379),u=n(31310),d=n(27847),h=n(90973);function f(e,t,n,f,m,g){const{normalizeDepth:_=3,normalizeMaxBreadth:v=1e3}=e,y={...t,event_id:t.event_id||n.event_id||(0,r.eJ)(),timestamp:t.timestamp||(0,s.lu)()},b=n.integrations||e.integrations.map((e=>e.name));!function(e,t){const{environment:n,release:r,dist:s,maxValueLength:o=250}=t;"environment"in e||(e.environment="environment"in t?n:c.U);void 0===e.release&&void 0!==r&&(e.release=r);void 0===e.dist&&void 0!==s&&(e.dist=s);e.message&&(e.message=(0,i.xv)(e.message,o));const a=e.exception&&e.exception.values&&e.exception.values[0];a&&a.value&&(a.value=(0,i.xv)(a.value,o));const l=e.request;l&&l.url&&(l.url=(0,i.xv)(l.url,o))}(y,e),function(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}(y,b),void 0===t.type&&function(e,t){const n=o.OW._sentryDebugIds;if(!n)return;let r;const s=p.get(t);s?r=s:(r=new Map,p.set(t,r));const i=Object.keys(n).reduce(((e,s)=>{let i;const o=r.get(s);o?i=o:(i=t(s),r.set(s,i));for(let t=i.length-1;t>=0;t--){const r=i[t];if(r.filename){e[r.filename]=n[s];break}}return e}),{});try{e.exception.values.forEach((e=>{e.stacktrace.frames.forEach((e=>{e.filename&&(e.debug_id=i[e.filename])}))}))}catch(a){}}(y,e.stackParser);const w=function(e,t){if(!t)return e;const n=e?e.clone():new u.HG;return n.update(t),n}(f,n.captureContext);n.mechanism&&(0,r.M6)(y,n.mechanism);const S=m&&m.getEventProcessors?m.getEventProcessors():[],k=(0,u.m6)().getScopeData();if(g){const e=g.getScopeData();(0,d.Rg)(k,e)}if(w){const e=w.getScopeData();(0,d.Rg)(k,e)}const C=[...n.attachments||[],...k.attachments];C.length&&(n.attachments=C),(0,d.e2)(y,k);const x=[...S,...(0,l.lG)(),...k.eventProcessors];return(0,l.jB)(x,y,n).then((e=>(e&&function(e){const t={};try{e.exception.values.forEach((e=>{e.stacktrace.frames.forEach((e=>{e.debug_id&&(e.abs_path?t[e.abs_path]=e.debug_id:e.filename&&(t[e.filename]=e.debug_id),delete e.debug_id)}))}))}catch(r){}if(0===Object.keys(t).length)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];const n=e.debug_meta.images;Object.keys(t).forEach((e=>{n.push({type:"sourcemap",code_file:e,debug_id:t[e]})}))}(e),"number"===typeof _&&_>0?function(e,t,n){if(!e)return null;const r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map((e=>({...e,...e.data&&{data:(0,a.S8)(e.data,t,n)}})))},...e.user&&{user:(0,a.S8)(e.user,t,n)},...e.contexts&&{contexts:(0,a.S8)(e.contexts,t,n)},...e.extra&&{extra:(0,a.S8)(e.extra,t,n)}};e.contexts&&e.contexts.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=(0,a.S8)(e.contexts.trace.data,t,n)));e.spans&&(r.spans=e.spans.map((e=>{const r=(0,h.et)(e).data;return r&&(e.data=(0,a.S8)(r,t,n)),e})));return r}(e,_,v):e)))}const p=new WeakMap;function m(e){if(e)return function(e){return e instanceof u.HG||"function"===typeof e}(e)||function(e){return Object.keys(e).some((e=>g.includes(e)))}(e)?{captureContext:e}:e}const g=["user","level","extra","contexts","tags","fingerprint","requestSession","propagationContext"]},64045:(e,t,n)=>{"use strict";function r(e){let t,n=e[0],r=1;for(;r<e.length;){const s=e[r],i=e[r+1];if(r+=2,("optionalAccess"===s||"optionalCall"===s)&&null==n)return;"access"===s||"optionalAccess"===s?(t=n,n=i(n)):"call"!==s&&"optionalCall"!==s||(n=i(((...e)=>n.call(t,...e))),t=void 0)}return n}n.d(t,{J$:()=>Zr});var s=n(30747),i=n(4475),o=n(46310),a=n(83887),c=n(91444);const l="production",u="undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;var d=n(85195);function h(){return(0,c.BY)("globalEventProcessors",(()=>[]))}function f(e,t,n,r=0){return new d.T2(((i,o)=>{const c=e[r];if(null===t||"function"!==typeof c)i(t);else{const l=c({...t},n);u&&c.id&&null===l&&a.vF.log(`Event processor "${c.id}" dropped event`),(0,s.Qg)(l)?l.then((t=>f(e,t,n,r+1).then(i))).then(null,o):f(e,l,n,r+1).then(i).then(null,o)}}))}var p=n(9576);function m(e){const t=(0,o.zf)(),n={sid:(0,i.eJ)(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>function(e){return(0,p.Ce)({sid:`${e.sid}`,init:e.init,started:new Date(1e3*e.started).toISOString(),timestamp:new Date(1e3*e.timestamp).toISOString(),status:e.status,errors:e.errors,did:"number"===typeof e.did||"string"===typeof e.did?`${e.did}`:void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}})}(n)};return e&&g(n,e),n}function g(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),e.did||t.did||(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||(0,o.zf)(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=32===t.sid.length?t.sid:(0,i.eJ)()),void 0!==t.init&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),"number"===typeof t.started&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if("number"===typeof t.duration)e.duration=t.duration;else{const t=e.timestamp-e.started;e.duration=t>=0?t:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),"number"===typeof t.errors&&(e.errors=t.errors),t.status&&(e.status=t.status)}function _(e){return e.transaction}function v(e){const{spanId:t,traceId:n}=e.spanContext(),{data:r,op:s,parent_span_id:i,status:o,tags:a,origin:c}=y(e);return(0,p.Ce)({data:r,op:s,parent_span_id:i,span_id:t,status:o,tags:a,trace_id:n,origin:c})}function y(e){return function(e){return"function"===typeof e.getSpanJSON}(e)?e.getSpanJSON():"function"===typeof e.toJSON?e.toJSON():{}}function b(e){const{traceFlags:t}=e.spanContext();return Boolean(1&t)}function w(e){const t=q();if(!t)return{};const n=function(e,t,n){const r=t.getOptions(),{publicKey:s}=t.getDsn()||{},{segment:i}=n&&n.getUser()||{},o=(0,p.Ce)({environment:r.environment||l,release:r.release,user_segment:i,public_key:s,trace_id:e});return t.emit&&t.emit("createDsc",o),o}(y(e).trace_id||"",t,G()),r=_(e);if(!r)return n;const s=r&&r._frozenDynamicSamplingContext;if(s)return s;const{sampleRate:i,source:o}=r.metadata;null!=i&&(n.sample_rate=`${i}`);const a=y(r);return o&&"url"!==o&&(n.transaction=a.description),n.sampled=String(b(r)),t.emit&&t.emit("createDsc",n),n}function S(e,t){const{fingerprint:n,span:r,breadcrumbs:s,sdkProcessingMetadata:o}=t;!function(e,t){const{extra:n,tags:r,user:s,contexts:i,level:o,transactionName:a}=t,c=(0,p.Ce)(n);c&&Object.keys(c).length&&(e.extra={...c,...e.extra});const l=(0,p.Ce)(r);l&&Object.keys(l).length&&(e.tags={...l,...e.tags});const u=(0,p.Ce)(s);u&&Object.keys(u).length&&(e.user={...u,...e.user});const d=(0,p.Ce)(i);d&&Object.keys(d).length&&(e.contexts={...d,...e.contexts});o&&(e.level=o);a&&(e.transaction=a)}(e,t),r&&function(e,t){e.contexts={trace:v(t),...e.contexts};const n=_(t);if(n){e.sdkProcessingMetadata={dynamicSamplingContext:w(t),...e.sdkProcessingMetadata};const r=y(n).description;r&&(e.tags={transaction:r,...e.tags})}}(e,r),function(e,t){e.fingerprint=e.fingerprint?(0,i.k9)(e.fingerprint):[],t&&(e.fingerprint=e.fingerprint.concat(t));e.fingerprint&&!e.fingerprint.length&&delete e.fingerprint}(e,n),function(e,t){const n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}(e,s),function(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}(e,o)}function k(e,t){const{extra:n,tags:r,user:s,contexts:i,level:o,sdkProcessingMetadata:a,breadcrumbs:c,fingerprint:l,eventProcessors:u,attachments:d,propagationContext:h,transactionName:f,span:p}=t;C(e,"extra",n),C(e,"tags",r),C(e,"user",s),C(e,"contexts",i),C(e,"sdkProcessingMetadata",a),o&&(e.level=o),f&&(e.transactionName=f),p&&(e.span=p),c.length&&(e.breadcrumbs=[...e.breadcrumbs,...c]),l.length&&(e.fingerprint=[...e.fingerprint,...l]),u.length&&(e.eventProcessors=[...e.eventProcessors,...u]),d.length&&(e.attachments=[...e.attachments,...d]),e.propagationContext={...e.propagationContext,...h}}function C(e,t,n){if(n&&Object.keys(n).length){e[t]={...e[t]};for(const r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[t][r]=n[r])}}let x;class E{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=T()}static clone(e){return e?e.clone():new E}clone(){const e=new E;return e._breadcrumbs=[...this._breadcrumbs],e._tags={...this._tags},e._extra={...this._extra},e._contexts={...this._contexts},e._user=this._user,e._level=this._level,e._span=this._span,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=[...this._eventProcessors],e._requestSession=this._requestSession,e._attachments=[...this._attachments],e._sdkProcessingMetadata={...this._sdkProcessingMetadata},e._propagationContext={...this._propagationContext},e._client=this._client,e}setClient(e){this._client=e}getClient(){return this._client}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,segment:void 0,username:void 0},this._session&&g(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(e){return this._requestSession=e,this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this._tags={...this._tags,[e]:t},this._notifyScopeListeners(),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,t){return this._extra={...this._extra,[e]:t},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return null===t?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}setSpan(e){return this._span=e,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){const e=this._span;return e&&e.transaction}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;const t="function"===typeof e?e(this):e;if(t instanceof E){const e=t.getScopeData();this._tags={...this._tags,...e.tags},this._extra={...this._extra,...e.extra},this._contexts={...this._contexts,...e.contexts},e.user&&Object.keys(e.user).length&&(this._user=e.user),e.level&&(this._level=e.level),e.fingerprint.length&&(this._fingerprint=e.fingerprint),t.getRequestSession()&&(this._requestSession=t.getRequestSession()),e.propagationContext&&(this._propagationContext=e.propagationContext)}else if((0,s.Qd)(t)){const t=e;this._tags={...this._tags,...t.tags},this._extra={...this._extra,...t.extra},this._contexts={...this._contexts,...t.contexts},t.user&&(this._user=t.user),t.level&&(this._level=t.level),t.fingerprint&&(this._fingerprint=t.fingerprint),t.requestSession&&(this._requestSession=t.requestSession),t.propagationContext&&(this._propagationContext=t.propagationContext)}return this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this._propagationContext=T(),this}addBreadcrumb(e,t){const n="number"===typeof t?t:100;if(n<=0)return this;const r={timestamp:(0,o.lu)(),...e},s=this._breadcrumbs;return s.push(r),this._breadcrumbs=s.length>n?s.slice(-n):s,this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}getAttachments(){return this.getScopeData().attachments}clearAttachments(){return this._attachments=[],this}getScopeData(){const{_breadcrumbs:e,_attachments:t,_contexts:n,_tags:r,_extra:s,_user:i,_level:o,_fingerprint:a,_eventProcessors:c,_propagationContext:l,_sdkProcessingMetadata:u,_transactionName:d,_span:h}=this;return{breadcrumbs:e,attachments:t,contexts:n,tags:r,extra:s,user:i,level:o,fingerprint:a||[],eventProcessors:c,propagationContext:l,sdkProcessingMetadata:u,transactionName:d,span:h}}applyToEvent(e,t={},n=[]){S(e,this.getScopeData());return f([...n,...h(),...this._eventProcessors],e,t)}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...e},this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,t){const n=t&&t.event_id?t.event_id:(0,i.eJ)();if(!this._client)return a.vF.warn("No client configured on scope - will not capture exception!"),n;const r=new Error("Sentry syntheticException");return this._client.captureException(e,{originalException:e,syntheticException:r,...t,event_id:n},this),n}captureMessage(e,t,n){const r=n&&n.event_id?n.event_id:(0,i.eJ)();if(!this._client)return a.vF.warn("No client configured on scope - will not capture message!"),r;const s=new Error(e);return this._client.captureMessage(e,t,{originalException:e,syntheticException:s,...n,event_id:r},this),r}captureEvent(e,t){const n=t&&t.event_id?t.event_id:(0,i.eJ)();return this._client?(this._client.captureEvent(e,{...t,event_id:n},this),n):(a.vF.warn("No client configured on scope - will not capture event!"),n)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach((e=>{e(this)})),this._notifyingListeners=!1)}}function T(){return{traceId:(0,i.eJ)(),spanId:(0,i.eJ)().substring(16)}}const I=parseFloat("7.120.3"),O=100;class A{constructor(e,t,n,r=I){let s,i;this._version=r,t?s=t:(s=new E,s.setClient(e)),n?i=n:(i=new E,i.setClient(e)),this._stack=[{scope:s}],e&&this.bindClient(e),this._isolationScope=i}isOlderThan(e){return this._version<e}bindClient(e){const t=this.getStackTop();t.client=e,t.scope.setClient(e),e&&e.setupIntegrations&&e.setupIntegrations()}pushScope(){const e=this.getScope().clone();return this.getStack().push({client:this.getClient(),scope:e}),e}popScope(){return!(this.getStack().length<=1)&&!!this.getStack().pop()}withScope(e){const t=this.pushScope();let n;try{n=e(t)}catch(r){throw this.popScope(),r}return(0,s.Qg)(n)?n.then((e=>(this.popScope(),e)),(e=>{throw this.popScope(),e})):(this.popScope(),n)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStack(){return this._stack}getStackTop(){return this._stack[this._stack.length-1]}captureException(e,t){const n=this._lastEventId=t&&t.event_id?t.event_id:(0,i.eJ)(),r=new Error("Sentry syntheticException");return this.getScope().captureException(e,{originalException:e,syntheticException:r,...t,event_id:n}),n}captureMessage(e,t,n){const r=this._lastEventId=n&&n.event_id?n.event_id:(0,i.eJ)(),s=new Error(e);return this.getScope().captureMessage(e,t,{originalException:e,syntheticException:s,...n,event_id:r}),r}captureEvent(e,t){const n=t&&t.event_id?t.event_id:(0,i.eJ)();return e.type||(this._lastEventId=n),this.getScope().captureEvent(e,{...t,event_id:n}),n}lastEventId(){return this._lastEventId}addBreadcrumb(e,t){const{scope:n,client:r}=this.getStackTop();if(!r)return;const{beforeBreadcrumb:s=null,maxBreadcrumbs:i=O}=r.getOptions&&r.getOptions()||{};if(i<=0)return;const c={timestamp:(0,o.lu)(),...e},l=s?(0,a.pq)((()=>s(c,t))):c;null!==l&&(r.emit&&r.emit("beforeAddBreadcrumb",l,t),n.addBreadcrumb(l,i))}setUser(e){this.getScope().setUser(e),this.getIsolationScope().setUser(e)}setTags(e){this.getScope().setTags(e),this.getIsolationScope().setTags(e)}setExtras(e){this.getScope().setExtras(e),this.getIsolationScope().setExtras(e)}setTag(e,t){this.getScope().setTag(e,t),this.getIsolationScope().setTag(e,t)}setExtra(e,t){this.getScope().setExtra(e,t),this.getIsolationScope().setExtra(e,t)}setContext(e,t){this.getScope().setContext(e,t),this.getIsolationScope().setContext(e,t)}configureScope(e){const{scope:t,client:n}=this.getStackTop();n&&e(t)}run(e){const t=D(this);try{e(this)}finally{D(t)}}getIntegration(e){const t=this.getClient();if(!t)return null;try{return t.getIntegration(e)}catch(n){return u&&a.vF.warn(`Cannot retrieve integration ${e.id} from the current Hub`),null}}startTransaction(e,t){const n=this._callExtensionMethod("startTransaction",e,t);if(u&&!n){this.getClient()?a.vF.warn("Tracing extension 'startTransaction' has not been added. Call 'addTracingExtensions' before calling 'init':\nSentry.addTracingExtensions();\nSentry.init({...});\n"):a.vF.warn("Tracing extension 'startTransaction' is missing. You should 'init' the SDK before calling 'startTransaction'")}return n}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(e=!1){if(e)return this.endSession();this._sendSessionUpdate()}endSession(){const e=this.getStackTop().scope,t=e.getSession();t&&function(e,t){let n={};t?n={status:t}:"ok"===e.status&&(n={status:"exited"}),g(e,n)}(t),this._sendSessionUpdate(),e.setSession()}startSession(e){const{scope:t,client:n}=this.getStackTop(),{release:r,environment:s=l}=n&&n.getOptions()||{},{userAgent:i}=c.OW.navigator||{},o=m({release:r,environment:s,user:t.getUser(),...i&&{userAgent:i},...e}),a=t.getSession&&t.getSession();return a&&"ok"===a.status&&g(a,{status:"exited"}),this.endSession(),t.setSession(o),o}shouldSendDefaultPii(){const e=this.getClient(),t=e&&e.getOptions();return Boolean(t&&t.sendDefaultPii)}_sendSessionUpdate(){const{scope:e,client:t}=this.getStackTop(),n=e.getSession();n&&t&&t.captureSession&&t.captureSession(n)}_callExtensionMethod(e,...t){const n=R().__SENTRY__;if(n&&n.extensions&&"function"===typeof n.extensions[e])return n.extensions[e].apply(this,t);u&&a.vF.warn(`Extension method ${e} couldn't be found, doing nothing.`)}}function R(){return c.OW.__SENTRY__=c.OW.__SENTRY__||{extensions:{},hub:void 0},c.OW}function D(e){const t=R(),n=F(t);return P(t,e),n}function M(){const e=R();if(e.__SENTRY__&&e.__SENTRY__.acs){const t=e.__SENTRY__.acs.getCurrentHub();if(t)return t}return N(e)}function N(e=R()){return L(e)&&!F(e).isOlderThan(I)||P(e,new A),F(e)}function L(e){return!!(e&&e.__SENTRY__&&e.__SENTRY__.hub)}function F(e){return(0,c.BY)("hub",(()=>new A),e)}function P(e,t){if(!e)return!1;return(e.__SENTRY__=e.__SENTRY__||{}).hub=t,!0}var z=n(78198),j=n(96008);function B(e,t,n,r,s,a){const{normalizeDepth:u=3,normalizeMaxBreadth:d=1e3}=e,p={...t,event_id:t.event_id||n.event_id||(0,i.eJ)(),timestamp:t.timestamp||(0,o.lu)()},m=n.integrations||e.integrations.map((e=>e.name));!function(e,t){const{environment:n,release:r,dist:s,maxValueLength:i=250}=t;"environment"in e||(e.environment="environment"in t?n:l);void 0===e.release&&void 0!==r&&(e.release=r);void 0===e.dist&&void 0!==s&&(e.dist=s);e.message&&(e.message=(0,z.xv)(e.message,i));const o=e.exception&&e.exception.values&&e.exception.values[0];o&&o.value&&(o.value=(0,z.xv)(o.value,i));const a=e.request;a&&a.url&&(a.url=(0,z.xv)(a.url,i))}(p,e),function(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}(p,m),void 0===t.type&&function(e,t){const n=c.OW._sentryDebugIds;if(!n)return;let r;const s=$.get(t);s?r=s:(r=new Map,$.set(t,r));const i=Object.keys(n).reduce(((e,s)=>{let i;const o=r.get(s);o?i=o:(i=t(s),r.set(s,i));for(let t=i.length-1;t>=0;t--){const r=i[t];if(r.filename){e[r.filename]=n[s];break}}return e}),{});try{e.exception.values.forEach((e=>{e.stacktrace.frames.forEach((e=>{e.filename&&(e.debug_id=i[e.filename])}))}))}catch(o){}}(p,e.stackParser);const g=function(e,t){if(!t)return e;const n=e?e.clone():new E;return n.update(t),n}(r,n.captureContext);n.mechanism&&(0,i.M6)(p,n.mechanism);const _=s&&s.getEventProcessors?s.getEventProcessors():[],v=(x||(x=new E),x).getScopeData();if(a){k(v,a.getScopeData())}if(g){k(v,g.getScopeData())}const b=[...n.attachments||[],...v.attachments];b.length&&(n.attachments=b),S(p,v);return f([..._,...h(),...v.eventProcessors],p,n).then((e=>(e&&function(e){const t={};try{e.exception.values.forEach((e=>{e.stacktrace.frames.forEach((e=>{e.debug_id&&(e.abs_path?t[e.abs_path]=e.debug_id:e.filename&&(t[e.filename]=e.debug_id),delete e.debug_id)}))}))}catch(r){}if(0===Object.keys(t).length)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];const n=e.debug_meta.images;Object.keys(t).forEach((e=>{n.push({type:"sourcemap",code_file:e,debug_id:t[e]})}))}(e),"number"===typeof u&&u>0?function(e,t,n){if(!e)return null;const r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map((e=>({...e,...e.data&&{data:(0,j.S8)(e.data,t,n)}})))},...e.user&&{user:(0,j.S8)(e.user,t,n)},...e.contexts&&{contexts:(0,j.S8)(e.contexts,t,n)},...e.extra&&{extra:(0,j.S8)(e.extra,t,n)}};e.contexts&&e.contexts.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=(0,j.S8)(e.contexts.trace.data,t,n)));e.spans&&(r.spans=e.spans.map((e=>{const r=y(e).data;return r&&(e.data=(0,j.S8)(r,t,n)),e})));return r}(e,u,d):e)))}const $=new WeakMap;function U(e){if(e)return function(e){return e instanceof E||"function"===typeof e}(e)||function(e){return Object.keys(e).some((e=>W.includes(e)))}(e)?{captureContext:e}:e}const W=["user","level","extra","contexts","tags","fingerprint","requestSession","propagationContext"];function H(e,t){return M().captureException(e,U(t))}function q(){return M().getClient()}function G(){return M().getScope()}function V(e,t){const n=t&&function(e){return void 0!==e.getClient}(t)?t.getClient():t,r=n&&n.getDsn(),s=n&&n.getOptions().tunnel;return function(e,t){return!!t&&e.includes(t.host)}(e,r)||function(e,t){if(!t)return!1;return K(e)===K(t)}(e,s)}function K(e){return"/"===e[e.length-1]?e.slice(0,-1):e}var J=n(70411),Y=n(4795),Z=n(36733),X=n(5333),Q=n(22059),ee=n(44103),te=n(16350),ne=n(18631);function re(){return"undefined"!==typeof window&&(!(0,ne.wD)()||void 0!==c.OW.process&&"renderer"===c.OW.process.type)}var se=n(35172);const ie=c.OW,oe="sentryReplaySession",ae="Unable to send Replay",ce=15e4,le=5e3,ue=2e7,de=36e5;function he(e){let t,n=e[0],r=1;for(;r<e.length;){const s=e[r],i=e[r+1];if(r+=2,("optionalAccess"===s||"optionalCall"===s)&&null==n)return;"access"===s||"optionalAccess"===s?(t=n,n=i(n)):"call"!==s&&"optionalCall"!==s||(n=i(((...e)=>n.call(t,...e))),t=void 0)}return n}var fe;function pe(e){const t=he([e,"optionalAccess",e=>e.host]);return Boolean(he([t,"optionalAccess",e=>e.shadowRoot])===e)}function me(e){return"[object ShadowRoot]"===Object.prototype.toString.call(e)}function ge(e){try{const n=e.rules||e.cssRules;return n?((t=Array.from(n,_e).join("")).includes(" background-clip: text;")&&!t.includes(" -webkit-background-clip: text;")&&(t=t.replace(" background-clip: text;"," -webkit-background-clip: text; background-clip: text;")),t):null}catch(n){return null}var t}function _e(e){let t;if(function(e){return"styleSheet"in e}(e))try{t=ge(e.styleSheet)||function(e){const{cssText:t}=e;if(t.split('"').length<3)return t;const n=["@import",`url(${JSON.stringify(e.href)})`];return""===e.layerName?n.push("layer"):e.layerName&&n.push(`layer(${e.layerName})`),e.supportsText&&n.push(`supports(${e.supportsText})`),e.media.length&&n.push(e.media.mediaText),n.join(" ")+";"}(e)}catch(n){}else if(function(e){return"selectorText"in e}(e)&&e.selectorText.includes(":"))return function(e){const t=/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm;return e.replace(t,"$1\\$2")}(e.cssText);return t||e.cssText}!function(e){e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment"}(fe||(fe={}));class ve{constructor(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}getId(e){if(!e)return-1;const t=he([this,"access",e=>e.getMeta,"call",t=>t(e),"optionalAccess",e=>e.id]);return r=()=>-1,null!=(n=t)?n:r();var n,r}getNode(e){return this.idNodeMap.get(e)||null}getIds(){return Array.from(this.idNodeMap.keys())}getMeta(e){return this.nodeMetaMap.get(e)||null}removeNodeFromMap(e){const t=this.getId(e);this.idNodeMap.delete(t),e.childNodes&&e.childNodes.forEach((e=>this.removeNodeFromMap(e)))}has(e){return this.idNodeMap.has(e)}hasNode(e){return this.nodeMetaMap.has(e)}add(e,t){const n=t.id;this.idNodeMap.set(n,e),this.nodeMetaMap.set(e,t)}replace(e,t){const n=this.getNode(e);if(n){const e=this.nodeMetaMap.get(n);e&&this.nodeMetaMap.set(t,e)}this.idNodeMap.set(e,t)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}}function ye({maskInputOptions:e,tagName:t,type:n}){return"OPTION"===t&&(t="SELECT"),Boolean(e[t.toLowerCase()]||n&&e[n]||"password"===n||"INPUT"===t&&!n&&e.text)}function be({isMasked:e,element:t,value:n,maskInputFn:r}){let s=n||"";return e?(r&&(s=r(s,t)),"*".repeat(s.length)):s}function we(e){return e.toLowerCase()}function Se(e){return e.toUpperCase()}const ke="__rrweb_original__";function Ce(e){const t=e.type;return e.hasAttribute("data-rr-is-password")?"password":t?we(t):null}function xe(e,t,n){return"INPUT"!==t||"radio"!==n&&"checkbox"!==n?e.value:e.getAttribute("value")||""}let Ee=1;const Te=new RegExp("[^a-z0-9-_:]");function Ie(){return Ee++}let Oe,Ae;const Re=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,De=/^(?:[a-z+]+:)?\/\//i,Me=/^www\..*/i,Ne=/^(data:)([^,]*),(.*)/i;function Le(e,t){return(e||"").replace(Re,((e,n,r,s,i,o)=>{const a=r||i||o,c=n||s||"";if(!a)return e;if(De.test(a)||Me.test(a))return`url(${c}${a}${c})`;if(Ne.test(a))return`url(${c}${a}${c})`;if("/"===a[0])return`url(${c}${function(e){let t="";return t=e.indexOf("//")>-1?e.split("/").slice(0,3).join("/"):e.split("/")[0],t=t.split("?")[0],t}(t)+a}${c})`;const l=t.split("/"),u=a.split("/");l.pop();for(const t of u)"."!==t&&(".."===t?l.pop():l.push(t));return`url(${c}${l.join("/")}${c})`}))}const Fe=/^[^ \t\n\r\u000c]+/,Pe=/^[, \t\n\r\u000c]+/;function ze(e,t){if(!t||""===t.trim())return t;const n=e.createElement("a");return n.href=t,n.href}function je(e){return Boolean("svg"===e.tagName||e.ownerSVGElement)}function Be(){const e=document.createElement("a");return e.href="",e.href}function $e(e,t,n,r,s,i){return r?"src"===n||"href"===n&&("use"!==t||"#"!==r[0])||"xlink:href"===n&&"#"!==r[0]?ze(e,r):"background"!==n||"table"!==t&&"td"!==t&&"th"!==t?"srcset"===n?function(e,t){if(""===t.trim())return t;let n=0;function r(e){let r;const s=e.exec(t.substring(n));return s?(r=s[0],n+=r.length,r):""}const s=[];for(;r(Pe),!(n>=t.length);){let i=r(Fe);if(","===i.slice(-1))i=ze(e,i.substring(0,i.length-1)),s.push(i);else{let r="";i=ze(e,i);let o=!1;for(;;){const e=t.charAt(n);if(""===e){s.push((i+r).trim());break}if(o)")"===e&&(o=!1);else{if(","===e){n+=1,s.push((i+r).trim());break}"("===e&&(o=!0)}r+=e,n+=1}}}return s.join(", ")}(e,r):"style"===n?Le(r,Be()):"object"===t&&"data"===n?ze(e,r):"function"===typeof i?i(n,r,s):r:ze(e,r):r}function Ue(e,t,n){return("video"===e||"audio"===e)&&"autoplay"===t}function We(e,t,n=1/0,r=0){return e?e.nodeType!==e.ELEMENT_NODE||r>n?-1:t(e)?r:We(e.parentNode,t,n,r+1):-1}function He(e,t){return n=>{const r=n;if(null===r)return!1;try{if(e)if("string"===typeof e){if(r.matches(`.${e}`))return!0}else if(function(e,t){for(let n=e.classList.length;n--;){const r=e.classList[n];if(t.test(r))return!0}return!1}(r,e))return!0;return!(!t||!r.matches(t))}catch(s){return!1}}}function qe(e,t,n,r,s,i){try{const o=e.nodeType===e.ELEMENT_NODE?e:e.parentElement;if(null===o)return!1;if("INPUT"===o.tagName){const e=o.getAttribute("autocomplete");if(["current-password","new-password","cc-number","cc-exp","cc-exp-month","cc-exp-year","cc-csc"].includes(e))return!0}let a=-1,c=-1;if(i){if(c=We(o,He(r,s)),c<0)return!0;a=We(o,He(t,n),c>=0?c:1/0)}else{if(a=We(o,He(t,n)),a<0)return!1;c=We(o,He(r,s),a>=0?a:1/0)}return a>=0?!(c>=0)||a<=c:!(c>=0)&&!!i}catch(o){}return!!i}function Ge(e,t){const{doc:n,mirror:r,blockClass:s,blockSelector:i,unblockSelector:o,maskAllText:a,maskAttributeFn:c,maskTextClass:l,unmaskTextClass:u,maskTextSelector:d,unmaskTextSelector:h,inlineStylesheet:f,maskInputOptions:p={},maskTextFn:m,maskInputFn:g,dataURLOptions:_={},inlineImages:v,recordCanvas:y,keepIframeSrcFn:b,newlyAddedElement:w=!1}=t,S=function(e,t){if(!t.hasNode(e))return;const n=t.getId(e);return 1===n?void 0:n}(n,r);switch(e.nodeType){case e.DOCUMENT_NODE:return"CSS1Compat"!==e.compatMode?{type:fe.Document,childNodes:[],compatMode:e.compatMode}:{type:fe.Document,childNodes:[]};case e.DOCUMENT_TYPE_NODE:return{type:fe.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:S};case e.ELEMENT_NODE:return function(e,t){const{doc:n,blockClass:r,blockSelector:s,unblockSelector:i,inlineStylesheet:o,maskInputOptions:a={},maskAttributeFn:c,maskInputFn:l,dataURLOptions:u={},inlineImages:d,recordCanvas:h,keepIframeSrcFn:f,newlyAddedElement:p=!1,rootId:m,maskAllText:g,maskTextClass:_,unmaskTextClass:v,maskTextSelector:y,unmaskTextSelector:b}=t,w=function(e,t,n,r){try{if(r&&e.matches(r))return!1;if("string"===typeof t){if(e.classList.contains(t))return!0}else for(let n=e.classList.length;n--;){const r=e.classList[n];if(t.test(r))return!0}if(n)return e.matches(n)}catch(s){}return!1}(e,r,s,i),S=function(e){if(e instanceof HTMLFormElement)return"form";const t=we(e.tagName);return Te.test(t)?"div":t}(e);let k={};const C=e.attributes.length;for(let T=0;T<C;T++){const t=e.attributes[T];t.name&&!Ue(S,t.name,t.value)&&(k[t.name]=$e(n,S,we(t.name),t.value,e,c))}if("link"===S&&o){const t=Array.from(n.styleSheets).find((t=>t.href===e.href));let r=null;t&&(r=ge(t)),r&&(delete k.rel,delete k.href,k._cssText=Le(r,t.href))}if("style"===S&&e.sheet&&!(e.innerText||e.textContent||"").trim().length){const t=ge(e.sheet);t&&(k._cssText=Le(t,Be()))}if("input"===S||"textarea"===S||"select"===S||"option"===S){const t=e,n=Ce(t),r=xe(t,Se(S),n),s=t.checked;if("submit"!==n&&"button"!==n&&r){const e=qe(t,_,y,v,b,ye({type:n,tagName:Se(S),maskInputOptions:a}));k.value=be({isMasked:e,element:t,value:r,maskInputFn:l})}s&&(k.checked=s)}"option"===S&&(e.selected&&!a.select?k.selected=!0:delete k.selected);if("canvas"===S&&h)if("2d"===e.__context)(function(e){const t=e.getContext("2d");if(!t)return!0;for(let n=0;n<e.width;n+=50)for(let r=0;r<e.height;r+=50){const s=t.getImageData,i=ke in s?s[ke]:s;if(new Uint32Array(i.call(t,n,r,Math.min(50,e.width-n),Math.min(50,e.height-r)).data.buffer).some((e=>0!==e)))return!1}return!0})(e)||(k.rr_dataURL=e.toDataURL(u.type,u.quality));else if(!("__context"in e)){const t=e.toDataURL(u.type,u.quality),n=document.createElement("canvas");n.width=e.width,n.height=e.height;t!==n.toDataURL(u.type,u.quality)&&(k.rr_dataURL=t)}if("img"===S&&d){Oe||(Oe=n.createElement("canvas"),Ae=Oe.getContext("2d"));const t=e,r=t.crossOrigin;t.crossOrigin="anonymous";const s=()=>{t.removeEventListener("load",s);try{Oe.width=t.naturalWidth,Oe.height=t.naturalHeight,Ae.drawImage(t,0,0),k.rr_dataURL=Oe.toDataURL(u.type,u.quality)}catch(e){}r?k.crossOrigin=r:t.removeAttribute("crossorigin")};t.complete&&0!==t.naturalWidth?s():t.addEventListener("load",s)}"audio"!==S&&"video"!==S||(k.rr_mediaState=e.paused?"paused":"played",k.rr_mediaCurrentTime=e.currentTime);p||(e.scrollLeft&&(k.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(k.rr_scrollTop=e.scrollTop));if(w){const{width:t,height:n}=e.getBoundingClientRect();k={class:k.class,rr_width:`${t}px`,rr_height:`${n}px`}}"iframe"!==S||f(k.src)||(e.contentDocument||(k.rr_src=k.src),delete k.src);let x;try{customElements.get(S)&&(x=!0)}catch(E){}return{type:fe.Element,tagName:S,attributes:k,childNodes:[],isSVG:je(e)||void 0,needBlock:w,rootId:m,isCustom:x}}(e,{doc:n,blockClass:s,blockSelector:i,unblockSelector:o,inlineStylesheet:f,maskAttributeFn:c,maskInputOptions:p,maskInputFn:g,dataURLOptions:_,inlineImages:v,recordCanvas:y,keepIframeSrcFn:b,newlyAddedElement:w,rootId:S,maskAllText:a,maskTextClass:l,unmaskTextClass:u,maskTextSelector:d,unmaskTextSelector:h});case e.TEXT_NODE:return function(e,t){const{maskAllText:n,maskTextClass:r,unmaskTextClass:s,maskTextSelector:i,unmaskTextSelector:o,maskTextFn:a,maskInputOptions:c,maskInputFn:l,rootId:u}=t,d=e.parentNode&&e.parentNode.tagName;let h=e.textContent;const f="STYLE"===d||void 0,p="SCRIPT"===d||void 0,m="TEXTAREA"===d||void 0;if(f&&h){try{e.nextSibling||e.previousSibling||he([e,"access",e=>e.parentNode,"access",e=>e.sheet,"optionalAccess",e=>e.cssRules])&&(h=ge(e.parentNode.sheet))}catch(_){}h=Le(h,Be())}p&&(h="SCRIPT_PLACEHOLDER");const g=qe(e,r,i,s,o,n);f||p||m||!h||!g||(h=a?a(h,e.parentElement):h.replace(/[\S]/g,"*"));m&&h&&(c.textarea||g)&&(h=l?l(h,e.parentNode):h.replace(/[\S]/g,"*"));if("OPTION"===d&&h){h=be({isMasked:qe(e,r,i,s,o,ye({type:null,tagName:d,maskInputOptions:c})),element:e,value:h,maskInputFn:l})}return{type:fe.Text,textContent:h||"",isStyle:f,rootId:u}}(e,{maskAllText:a,maskTextClass:l,unmaskTextClass:u,maskTextSelector:d,unmaskTextSelector:h,maskTextFn:m,maskInputOptions:p,maskInputFn:g,rootId:S});case e.CDATA_SECTION_NODE:return{type:fe.CDATA,textContent:"",rootId:S};case e.COMMENT_NODE:return{type:fe.Comment,textContent:e.textContent||"",rootId:S};default:return!1}}function Ve(e){return void 0===e||null===e?"":e.toLowerCase()}function Ke(e,t){const{doc:n,mirror:r,blockClass:s,blockSelector:i,unblockSelector:o,maskAllText:a,maskTextClass:c,unmaskTextClass:l,maskTextSelector:u,unmaskTextSelector:d,skipChild:h=!1,inlineStylesheet:f=!0,maskInputOptions:p={},maskAttributeFn:m,maskTextFn:g,maskInputFn:_,slimDOMOptions:v,dataURLOptions:y={},inlineImages:b=!1,recordCanvas:w=!1,onSerialize:S,onIframeLoad:k,iframeLoadTimeout:C=5e3,onStylesheetLoad:x,stylesheetLoadTimeout:E=5e3,keepIframeSrcFn:T=()=>!1,newlyAddedElement:I=!1}=t;let{preserveWhiteSpace:O=!0}=t;const A=Ge(e,{doc:n,mirror:r,blockClass:s,blockSelector:i,maskAllText:a,unblockSelector:o,maskTextClass:c,unmaskTextClass:l,maskTextSelector:u,unmaskTextSelector:d,inlineStylesheet:f,maskInputOptions:p,maskAttributeFn:m,maskTextFn:g,maskInputFn:_,dataURLOptions:y,inlineImages:b,recordCanvas:w,keepIframeSrcFn:T,newlyAddedElement:I});if(!A)return null;let R;R=r.hasNode(e)?r.getId(e):!function(e,t){if(t.comment&&e.type===fe.Comment)return!0;if(e.type===fe.Element){if(t.script&&("script"===e.tagName||"link"===e.tagName&&("preload"===e.attributes.rel||"modulepreload"===e.attributes.rel)&&"script"===e.attributes.as||"link"===e.tagName&&"prefetch"===e.attributes.rel&&"string"===typeof e.attributes.href&&e.attributes.href.endsWith(".js")))return!0;if(t.headFavicon&&("link"===e.tagName&&"shortcut icon"===e.attributes.rel||"meta"===e.tagName&&(Ve(e.attributes.name).match(/^msapplication-tile(image|color)$/)||"application-name"===Ve(e.attributes.name)||"icon"===Ve(e.attributes.rel)||"apple-touch-icon"===Ve(e.attributes.rel)||"shortcut icon"===Ve(e.attributes.rel))))return!0;if("meta"===e.tagName){if(t.headMetaDescKeywords&&Ve(e.attributes.name).match(/^description|keywords$/))return!0;if(t.headMetaSocial&&(Ve(e.attributes.property).match(/^(og|twitter|fb):/)||Ve(e.attributes.name).match(/^(og|twitter):/)||"pinterest"===Ve(e.attributes.name)))return!0;if(t.headMetaRobots&&("robots"===Ve(e.attributes.name)||"googlebot"===Ve(e.attributes.name)||"bingbot"===Ve(e.attributes.name)))return!0;if(t.headMetaHttpEquiv&&void 0!==e.attributes["http-equiv"])return!0;if(t.headMetaAuthorship&&("author"===Ve(e.attributes.name)||"generator"===Ve(e.attributes.name)||"framework"===Ve(e.attributes.name)||"publisher"===Ve(e.attributes.name)||"progid"===Ve(e.attributes.name)||Ve(e.attributes.property).match(/^article:/)||Ve(e.attributes.property).match(/^product:/)))return!0;if(t.headMetaVerification&&("google-site-verification"===Ve(e.attributes.name)||"yandex-verification"===Ve(e.attributes.name)||"csrf-token"===Ve(e.attributes.name)||"p:domain_verify"===Ve(e.attributes.name)||"verify-v1"===Ve(e.attributes.name)||"verification"===Ve(e.attributes.name)||"shopify-checkout-api-token"===Ve(e.attributes.name)))return!0}}return!1}(A,v)&&(O||A.type!==fe.Text||A.isStyle||A.textContent.replace(/^\s+|\s+$/gm,"").length)?Ie():-2;const D=Object.assign(A,{id:R});if(r.add(e,D),-2===R)return null;S&&S(e);let M=!h;if(D.type===fe.Element){M=M&&!D.needBlock,delete D.needBlock;const t=e.shadowRoot;t&&me(t)&&(D.isShadowHost=!0)}if((D.type===fe.Document||D.type===fe.Element)&&M){v.headWhitespace&&D.type===fe.Element&&"head"===D.tagName&&(O=!1);const t={doc:n,mirror:r,blockClass:s,blockSelector:i,maskAllText:a,unblockSelector:o,maskTextClass:c,unmaskTextClass:l,maskTextSelector:u,unmaskTextSelector:d,skipChild:h,inlineStylesheet:f,maskInputOptions:p,maskAttributeFn:m,maskTextFn:g,maskInputFn:_,slimDOMOptions:v,dataURLOptions:y,inlineImages:b,recordCanvas:w,preserveWhiteSpace:O,onSerialize:S,onIframeLoad:k,iframeLoadTimeout:C,onStylesheetLoad:x,stylesheetLoadTimeout:E,keepIframeSrcFn:T};for(const n of Array.from(e.childNodes)){const e=Ke(n,t);e&&D.childNodes.push(e)}if(function(e){return e.nodeType===e.ELEMENT_NODE}(e)&&e.shadowRoot)for(const n of Array.from(e.shadowRoot.childNodes)){const r=Ke(n,t);r&&(me(e.shadowRoot)&&(r.isShadow=!0),D.childNodes.push(r))}}return e.parentNode&&pe(e.parentNode)&&me(e.parentNode)&&(D.isShadow=!0),D.type===fe.Element&&"iframe"===D.tagName&&function(e,t,n){const r=e.contentWindow;if(!r)return;let s,i=!1;try{s=r.document.readyState}catch(a){return}if("complete"!==s){const r=setTimeout((()=>{i||(t(),i=!0)}),n);return void e.addEventListener("load",(()=>{clearTimeout(r),i=!0,t()}))}const o="about:blank";if(r.location.href!==o||e.src===o||""===e.src)return setTimeout(t,0),e.addEventListener("load",t);e.addEventListener("load",t)}(e,(()=>{const t=e.contentDocument;if(t&&k){const n=Ke(t,{doc:t,mirror:r,blockClass:s,blockSelector:i,unblockSelector:o,maskAllText:a,maskTextClass:c,unmaskTextClass:l,maskTextSelector:u,unmaskTextSelector:d,skipChild:!1,inlineStylesheet:f,maskInputOptions:p,maskAttributeFn:m,maskTextFn:g,maskInputFn:_,slimDOMOptions:v,dataURLOptions:y,inlineImages:b,recordCanvas:w,preserveWhiteSpace:O,onSerialize:S,onIframeLoad:k,iframeLoadTimeout:C,onStylesheetLoad:x,stylesheetLoadTimeout:E,keepIframeSrcFn:T});n&&k(e,n)}}),C),D.type===fe.Element&&"link"===D.tagName&&"stylesheet"===D.attributes.rel&&function(e,t,n){let r,s=!1;try{r=e.sheet}catch(o){return}if(r)return;const i=setTimeout((()=>{s||(t(),s=!0)}),n);e.addEventListener("load",(()=>{clearTimeout(i),s=!0,t()}))}(e,(()=>{if(x){const t=Ke(e,{doc:n,mirror:r,blockClass:s,blockSelector:i,unblockSelector:o,maskAllText:a,maskTextClass:c,unmaskTextClass:l,maskTextSelector:u,unmaskTextSelector:d,skipChild:!1,inlineStylesheet:f,maskInputOptions:p,maskAttributeFn:m,maskTextFn:g,maskInputFn:_,slimDOMOptions:v,dataURLOptions:y,inlineImages:b,recordCanvas:w,preserveWhiteSpace:O,onSerialize:S,onIframeLoad:k,iframeLoadTimeout:C,onStylesheetLoad:x,stylesheetLoadTimeout:E,keepIframeSrcFn:T});t&&x(e,t)}}),E),D}function Je(e){let t,n=e[0],r=1;for(;r<e.length;){const s=e[r],i=e[r+1];if(r+=2,("optionalAccess"===s||"optionalCall"===s)&&null==n)return;"access"===s||"optionalAccess"===s?(t=n,n=i(n)):"call"!==s&&"optionalCall"!==s||(n=i(((...e)=>n.call(t,...e))),t=void 0)}return n}function Ye(e,t,n=document){const r={capture:!0,passive:!0};return n.addEventListener(e,t,r),()=>n.removeEventListener(e,t,r)}let Ze={map:{},getId:()=>-1,getNode:()=>null,removeNodeFromMap(){},has:()=>!1,reset(){}};function Xe(e,t,n={}){let r=null,s=0;return function(...i){const o=Date.now();s||!1!==n.leading||(s=o);const a=t-(o-s),c=this;a<=0||a>t?(r&&(!function(...e){vt("clearTimeout")(...e)}(r),r=null),s=o,e.apply(c,i)):r||!1===n.trailing||(r=yt((()=>{s=!1===n.leading?0:Date.now(),r=null,e.apply(c,i)}),a))}}function Qe(e,t,n,r,s=window){const i=s.Object.getOwnPropertyDescriptor(e,t);return s.Object.defineProperty(e,t,r?n:{set(e){yt((()=>{n.set.call(this,e)}),0),i&&i.set&&i.set.call(this,e)}}),()=>Qe(e,t,i||{},!0)}function et(e,t,n){try{if(!(t in e))return()=>{};const r=e[t],s=n(r);return"function"===typeof s&&(s.prototype=s.prototype||{},Object.defineProperties(s,{__rrweb_original__:{enumerable:!1,value:r}})),e[t]=s,()=>{e[t]=r}}catch(r){return()=>{}}}"undefined"!==typeof window&&window.Proxy&&window.Reflect&&(Ze=new Proxy(Ze,{get:(e,t,n)=>Reflect.get(e,t,n)}));let tt=Date.now;function nt(e){const t=e.document;return{left:t.scrollingElement?t.scrollingElement.scrollLeft:void 0!==e.pageXOffset?e.pageXOffset:Je([t,"optionalAccess",e=>e.documentElement,"access",e=>e.scrollLeft])||Je([t,"optionalAccess",e=>e.body,"optionalAccess",e=>e.parentElement,"optionalAccess",e=>e.scrollLeft])||Je([t,"optionalAccess",e=>e.body,"optionalAccess",e=>e.scrollLeft])||0,top:t.scrollingElement?t.scrollingElement.scrollTop:void 0!==e.pageYOffset?e.pageYOffset:Je([t,"optionalAccess",e=>e.documentElement,"access",e=>e.scrollTop])||Je([t,"optionalAccess",e=>e.body,"optionalAccess",e=>e.parentElement,"optionalAccess",e=>e.scrollTop])||Je([t,"optionalAccess",e=>e.body,"optionalAccess",e=>e.scrollTop])||0}}function rt(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function st(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function it(e){if(!e)return null;return e.nodeType===e.ELEMENT_NODE?e:e.parentElement}function ot(e,t,n,r,s){if(!e)return!1;const i=it(e);if(!i)return!1;const o=He(t,n);if(!s){const e=r&&i.matches(r);return o(i)&&!e}const a=We(i,o);let c=-1;return!(a<0)&&(r&&(c=We(i,He(null,r))),a>-1&&c<0||a<c)}function at(e,t){return-2===t.getId(e)}function ct(e,t){if(pe(e))return!1;const n=t.getId(e);return!t.has(n)||(!e.parentNode||e.parentNode.nodeType!==e.DOCUMENT_NODE)&&(!e.parentNode||ct(e.parentNode,t))}function lt(e){return Boolean(e.changedTouches)}function ut(e,t){return Boolean("IFRAME"===e.nodeName&&t.getMeta(e))}function dt(e,t){return Boolean("LINK"===e.nodeName&&e.nodeType===e.ELEMENT_NODE&&e.getAttribute&&"stylesheet"===e.getAttribute("rel")&&t.getMeta(e))}function ht(e){return Boolean(Je([e,"optionalAccess",e=>e.shadowRoot]))}/[1-9][0-9]{12}/.test(Date.now().toString())||(tt=()=>(new Date).getTime());class ft{constructor(){this.id=1,this.styleIDMap=new WeakMap,this.idStyleMap=new Map}getId(e){return t=this.styleIDMap.get(e),n=()=>-1,null!=t?t:n();var t,n}has(e){return this.styleIDMap.has(e)}add(e,t){if(this.has(e))return this.getId(e);let n;return n=void 0===t?this.id++:t,this.styleIDMap.set(e,n),this.idStyleMap.set(n,e),n}getStyle(e){return this.idStyleMap.get(e)||null}reset(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1}generateId(){return this.id++}}function pt(e){let t=null;return Je([e,"access",e=>e.getRootNode,"optionalCall",e=>e(),"optionalAccess",e=>e.nodeType])===Node.DOCUMENT_FRAGMENT_NODE&&e.getRootNode().host&&(t=e.getRootNode().host),t}function mt(e){const t=e.ownerDocument;if(!t)return!1;const n=function(e){let t,n=e;for(;t=pt(n);)n=t;return n}(e);return t.contains(n)}function gt(e){const t=e.ownerDocument;return!!t&&(t.contains(e)||mt(e))}const _t={};function vt(e){const t=_t[e];if(t)return t;const n=window.document;let r=window[e];if(n&&"function"===typeof n.createElement)try{const t=n.createElement("iframe");t.hidden=!0,n.head.appendChild(t);const s=t.contentWindow;s&&s[e]&&(r=s[e]),n.head.removeChild(t)}catch(s){}return _t[e]=r.bind(window)}function yt(...e){return vt("setTimeout")(...e)}var bt=(e=>(e[e.DomContentLoaded=0]="DomContentLoaded",e[e.Load=1]="Load",e[e.FullSnapshot=2]="FullSnapshot",e[e.IncrementalSnapshot=3]="IncrementalSnapshot",e[e.Meta=4]="Meta",e[e.Custom=5]="Custom",e[e.Plugin=6]="Plugin",e))(bt||{}),wt=(e=>(e[e.Mutation=0]="Mutation",e[e.MouseMove=1]="MouseMove",e[e.MouseInteraction=2]="MouseInteraction",e[e.Scroll=3]="Scroll",e[e.ViewportResize=4]="ViewportResize",e[e.Input=5]="Input",e[e.TouchMove=6]="TouchMove",e[e.MediaInteraction=7]="MediaInteraction",e[e.StyleSheetRule=8]="StyleSheetRule",e[e.CanvasMutation=9]="CanvasMutation",e[e.Font=10]="Font",e[e.Log=11]="Log",e[e.Drag=12]="Drag",e[e.StyleDeclaration=13]="StyleDeclaration",e[e.Selection=14]="Selection",e[e.AdoptedStyleSheet=15]="AdoptedStyleSheet",e[e.CustomElement=16]="CustomElement",e))(wt||{}),St=(e=>(e[e.MouseUp=0]="MouseUp",e[e.MouseDown=1]="MouseDown",e[e.Click=2]="Click",e[e.ContextMenu=3]="ContextMenu",e[e.DblClick=4]="DblClick",e[e.Focus=5]="Focus",e[e.Blur=6]="Blur",e[e.TouchStart=7]="TouchStart",e[e.TouchMove_Departed=8]="TouchMove_Departed",e[e.TouchEnd=9]="TouchEnd",e[e.TouchCancel=10]="TouchCancel",e))(St||{}),kt=(e=>(e[e.Mouse=0]="Mouse",e[e.Pen=1]="Pen",e[e.Touch=2]="Touch",e))(kt||{});function Ct(e){let t,n=e[0],r=1;for(;r<e.length;){const s=e[r],i=e[r+1];if(r+=2,("optionalAccess"===s||"optionalCall"===s)&&null==n)return;"access"===s||"optionalAccess"===s?(t=n,n=i(n)):"call"!==s&&"optionalCall"!==s||(n=i(((...e)=>n.call(t,...e))),t=void 0)}return n}function xt(e){return"__ln"in e}class Et{constructor(){this.length=0,this.head=null,this.tail=null}get(e){if(e>=this.length)throw new Error("Position outside of list range");let t=this.head;for(let n=0;n<e;n++)t=Ct([t,"optionalAccess",e=>e.next])||null;return t}addNode(e){const t={value:e,previous:null,next:null};if(e.__ln=t,e.previousSibling&&xt(e.previousSibling)){const n=e.previousSibling.__ln.next;t.next=n,t.previous=e.previousSibling.__ln,e.previousSibling.__ln.next=t,n&&(n.previous=t)}else if(e.nextSibling&&xt(e.nextSibling)&&e.nextSibling.__ln.previous){const n=e.nextSibling.__ln.previous;t.previous=n,t.next=e.nextSibling.__ln,e.nextSibling.__ln.previous=t,n&&(n.next=t)}else this.head&&(this.head.previous=t),t.next=this.head,this.head=t;null===t.next&&(this.tail=t),this.length++}removeNode(e){const t=e.__ln;this.head&&(t.previous?(t.previous.next=t.next,t.next?t.next.previous=t.previous:this.tail=t.previous):(this.head=t.next,this.head?this.head.previous=null:this.tail=null),e.__ln&&delete e.__ln,this.length--)}}const Tt=(e,t)=>`${e}@${t}`;class It{constructor(){this.frozen=!1,this.locked=!1,this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.mapRemoves=[],this.movedMap={},this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.processMutations=e=>{e.forEach(this.processMutation),this.emit()},this.emit=()=>{if(this.frozen||this.locked)return;const e=[],t=new Set,n=new Et,r=e=>{let t=e,n=-2;for(;-2===n;)t=t&&t.nextSibling,n=t&&this.mirror.getId(t);return n},s=s=>{if(!s.parentNode||!gt(s))return;const i=pe(s.parentNode)?this.mirror.getId(pt(s)):this.mirror.getId(s.parentNode),o=r(s);if(-1===i||-1===o)return n.addNode(s);const a=Ke(s,{doc:this.doc,mirror:this.mirror,blockClass:this.blockClass,blockSelector:this.blockSelector,maskAllText:this.maskAllText,unblockSelector:this.unblockSelector,maskTextClass:this.maskTextClass,unmaskTextClass:this.unmaskTextClass,maskTextSelector:this.maskTextSelector,unmaskTextSelector:this.unmaskTextSelector,skipChild:!0,newlyAddedElement:!0,inlineStylesheet:this.inlineStylesheet,maskInputOptions:this.maskInputOptions,maskAttributeFn:this.maskAttributeFn,maskTextFn:this.maskTextFn,maskInputFn:this.maskInputFn,slimDOMOptions:this.slimDOMOptions,dataURLOptions:this.dataURLOptions,recordCanvas:this.recordCanvas,inlineImages:this.inlineImages,onSerialize:e=>{ut(e,this.mirror)&&this.iframeManager.addIframe(e),dt(e,this.mirror)&&this.stylesheetManager.trackLinkElement(e),ht(s)&&this.shadowDomManager.addShadowRoot(s.shadowRoot,this.doc)},onIframeLoad:(e,t)=>{this.iframeManager.attachIframe(e,t),this.shadowDomManager.observeAttachShadow(e)},onStylesheetLoad:(e,t)=>{this.stylesheetManager.attachLinkElement(e,t)}});a&&(e.push({parentId:i,nextId:o,node:a}),t.add(a.id))};for(;this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift());for(const a of this.movedSet)At(this.removes,a,this.mirror)&&!this.movedSet.has(a.parentNode)||s(a);for(const a of this.addedSet)Dt(this.droppedSet,a)||At(this.removes,a,this.mirror)?Dt(this.movedSet,a)?s(a):this.droppedSet.add(a):s(a);let i=null;for(;n.length;){let e=null;if(i){const t=this.mirror.getId(i.value.parentNode),n=r(i.value);-1!==t&&-1!==n&&(e=i)}if(!e){let t=n.tail;for(;t;){const n=t;if(t=t.previous,n){const t=this.mirror.getId(n.value.parentNode);if(-1===r(n.value))continue;if(-1!==t){e=n;break}{const t=n.value;if(t.parentNode&&t.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE){const r=t.parentNode.host;if(-1!==this.mirror.getId(r)){e=n;break}}}}}}if(!e){for(;n.head;)n.removeNode(n.head.value);break}i=e.previous,n.removeNode(e.value),s(e.value)}const o={texts:this.texts.map((e=>({id:this.mirror.getId(e.node),value:e.value}))).filter((e=>!t.has(e.id))).filter((e=>this.mirror.has(e.id))),attributes:this.attributes.map((e=>{const{attributes:t}=e;if("string"===typeof t.style){const n=JSON.stringify(e.styleDiff),r=JSON.stringify(e._unchangedStyles);n.length<t.style.length&&(n+r).split("var(").length===t.style.split("var(").length&&(t.style=e.styleDiff)}return{id:this.mirror.getId(e.node),attributes:t}})).filter((e=>!t.has(e.id))).filter((e=>this.mirror.has(e.id))),removes:this.removes,adds:e};(o.texts.length||o.attributes.length||o.removes.length||o.adds.length)&&(this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.movedMap={},this.mutationCb(o))},this.processMutation=e=>{if(!at(e.target,this.mirror))switch(e.type){case"characterData":{const t=e.target.textContent;ot(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||t===e.oldValue||this.texts.push({value:qe(e.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,this.maskAllText)&&t?this.maskTextFn?this.maskTextFn(t,it(e.target)):t.replace(/[\S]/g,"*"):t,node:e.target});break}case"attributes":{const n=e.target;let r=e.attributeName,s=e.target.getAttribute(r);if("value"===r){const t=Ce(n),r=n.tagName;s=xe(n,r,t);const i=ye({maskInputOptions:this.maskInputOptions,tagName:r,type:t});s=be({isMasked:qe(e.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,i),element:n,value:s,maskInputFn:this.maskInputFn})}if(ot(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||s===e.oldValue)return;let i=this.attributeMap.get(e.target);if("IFRAME"===n.tagName&&"src"===r&&!this.keepIframeSrcFn(s)){if(n.contentDocument)return;r="rr_src"}if(i||(i={node:e.target,attributes:{},styleDiff:{},_unchangedStyles:{}},this.attributes.push(i),this.attributeMap.set(e.target,i)),"type"===r&&"INPUT"===n.tagName&&"password"===(e.oldValue||"").toLowerCase()&&n.setAttribute("data-rr-is-password","true"),!Ue(n.tagName,r)&&(i.attributes[r]=$e(this.doc,we(n.tagName),we(r),s,n,this.maskAttributeFn),"style"===r)){if(!this.unattachedDoc)try{this.unattachedDoc=document.implementation.createHTMLDocument()}catch(t){this.unattachedDoc=this.doc}const r=this.unattachedDoc.createElement("span");e.oldValue&&r.setAttribute("style",e.oldValue);for(const e of Array.from(n.style)){const t=n.style.getPropertyValue(e),s=n.style.getPropertyPriority(e);t!==r.style.getPropertyValue(e)||s!==r.style.getPropertyPriority(e)?i.styleDiff[e]=""===s?t:[t,s]:i._unchangedStyles[e]=[t,s]}for(const e of Array.from(r.style))""===n.style.getPropertyValue(e)&&(i.styleDiff[e]=!1)}break}case"childList":if(ot(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!0))return;e.addedNodes.forEach((t=>this.genAdds(t,e.target))),e.removedNodes.forEach((t=>{const n=this.mirror.getId(t),r=pe(e.target)?this.mirror.getId(e.target.host):this.mirror.getId(e.target);ot(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||at(t,this.mirror)||!function(e,t){return-1!==t.getId(e)}(t,this.mirror)||(this.addedSet.has(t)?(Ot(this.addedSet,t),this.droppedSet.add(t)):this.addedSet.has(e.target)&&-1===n||ct(e.target,this.mirror)||(this.movedSet.has(t)&&this.movedMap[Tt(n,r)]?Ot(this.movedSet,t):this.removes.push({parentId:r,id:n,isShadow:!(!pe(e.target)||!me(e.target))||void 0})),this.mapRemoves.push(t))}))}},this.genAdds=(e,t)=>{if(!this.processedNodeManager.inOtherBuffer(e,this)&&!this.addedSet.has(e)&&!this.movedSet.has(e)){if(this.mirror.hasNode(e)){if(at(e,this.mirror))return;this.movedSet.add(e);let n=null;t&&this.mirror.hasNode(t)&&(n=this.mirror.getId(t)),n&&-1!==n&&(this.movedMap[Tt(this.mirror.getId(e),n)]=!0)}else this.addedSet.add(e),this.droppedSet.delete(e);ot(e,this.blockClass,this.blockSelector,this.unblockSelector,!1)||(e.childNodes.forEach((e=>this.genAdds(e))),ht(e)&&e.shadowRoot.childNodes.forEach((t=>{this.processedNodeManager.add(t,this),this.genAdds(t,e)})))}}}init(e){["mutationCb","blockClass","blockSelector","unblockSelector","maskAllText","maskTextClass","unmaskTextClass","maskTextSelector","unmaskTextSelector","inlineStylesheet","maskInputOptions","maskAttributeFn","maskTextFn","maskInputFn","keepIframeSrcFn","recordCanvas","inlineImages","slimDOMOptions","dataURLOptions","doc","mirror","iframeManager","stylesheetManager","shadowDomManager","canvasManager","processedNodeManager"].forEach((t=>{this[t]=e[t]}))}freeze(){this.frozen=!0,this.canvasManager.freeze()}unfreeze(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit()}isFrozen(){return this.frozen}lock(){this.locked=!0,this.canvasManager.lock()}unlock(){this.locked=!1,this.canvasManager.unlock(),this.emit()}reset(){this.shadowDomManager.reset(),this.canvasManager.reset()}}function Ot(e,t){e.delete(t),t.childNodes.forEach((t=>Ot(e,t)))}function At(e,t,n){return 0!==e.length&&Rt(e,t,n)}function Rt(e,t,n){const{parentNode:r}=t;if(!r)return!1;const s=n.getId(r);return!!e.some((e=>e.id===s))||Rt(e,r,n)}function Dt(e,t){return 0!==e.size&&Mt(e,t)}function Mt(e,t){const{parentNode:n}=t;return!!n&&(!!e.has(n)||Mt(e,n))}let Nt;function Lt(e){Nt=e}function Ft(){Nt=void 0}const Pt=e=>{if(!Nt)return e;return(...t)=>{try{return e(...t)}catch(n){if(Nt&&!0===Nt(n))return()=>{};throw n}}};function zt(e){let t,n=e[0],r=1;for(;r<e.length;){const s=e[r],i=e[r+1];if(r+=2,("optionalAccess"===s||"optionalCall"===s)&&null==n)return;"access"===s||"optionalAccess"===s?(t=n,n=i(n)):"call"!==s&&"optionalCall"!==s||(n=i(((...e)=>n.call(t,...e))),t=void 0)}return n}const jt=[];function Bt(e){try{if("composedPath"in e){const t=e.composedPath();if(t.length)return t[0]}else if("path"in e&&e.path.length)return e.path[0]}catch(t){}return e&&e.target}function $t(e,t){const n=new It;jt.push(n),n.init(e);let r=window.MutationObserver||window.__rrMutationObserver;const s=zt([window,"optionalAccess",e=>e.Zone,"optionalAccess",e=>e.__symbol__,"optionalCall",e=>e("MutationObserver")]);s&&window[s]&&(r=window[s]);const i=new r(Pt((t=>{e.onMutation&&!1===e.onMutation(t)||n.processMutations.bind(n)(t)})));return i.observe(t,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),i}function Ut({mouseInteractionCb:e,doc:t,mirror:n,blockClass:r,blockSelector:s,unblockSelector:i,sampling:o}){if(!1===o.mouseInteraction)return()=>{};const a=!0===o.mouseInteraction||void 0===o.mouseInteraction?{}:o.mouseInteraction,c=[];let l=null;return Object.keys(St).filter((e=>Number.isNaN(Number(e))&&!e.endsWith("_Departed")&&!1!==a[e])).forEach((o=>{let a=we(o);const u=(t=>o=>{const a=Bt(o);if(ot(a,r,s,i,!0))return;let c=null,u=t;if("pointerType"in o){switch(o.pointerType){case"mouse":c=kt.Mouse;break;case"touch":c=kt.Touch;break;case"pen":c=kt.Pen}c===kt.Touch?St[t]===St.MouseDown?u="TouchStart":St[t]===St.MouseUp&&(u="TouchEnd"):kt.Pen}else lt(o)&&(c=kt.Touch);null!==c?(l=c,(u.startsWith("Touch")&&c===kt.Touch||u.startsWith("Mouse")&&c===kt.Mouse)&&(c=null)):St[t]===St.Click&&(c=l,l=null);const d=lt(o)?o.changedTouches[0]:o;if(!d)return;const h=n.getId(a),{clientX:f,clientY:p}=d;Pt(e)({type:St[u],id:h,x:f,y:p,...null!==c&&{pointerType:c}})})(o);if(window.PointerEvent)switch(St[o]){case St.MouseDown:case St.MouseUp:a=a.replace("mouse","pointer");break;case St.TouchStart:case St.TouchEnd:return}c.push(Ye(a,u,t))})),Pt((()=>{c.forEach((e=>e()))}))}function Wt({scrollCb:e,doc:t,mirror:n,blockClass:r,blockSelector:s,unblockSelector:i,sampling:o}){return Ye("scroll",Pt(Xe(Pt((o=>{const a=Bt(o);if(!a||ot(a,r,s,i,!0))return;const c=n.getId(a);if(a===t&&t.defaultView){const n=nt(t.defaultView);e({id:c,x:n.left,y:n.top})}else e({id:c,x:a.scrollLeft,y:a.scrollTop})})),o.scroll||100)),t)}const Ht=["INPUT","TEXTAREA","SELECT"],qt=new WeakMap;function Gt({inputCb:e,doc:t,mirror:n,blockClass:r,blockSelector:s,unblockSelector:i,ignoreClass:o,ignoreSelector:a,maskInputOptions:c,maskInputFn:l,sampling:u,userTriggeredOnInput:d,maskTextClass:h,unmaskTextClass:f,maskTextSelector:p,unmaskTextSelector:m}){function g(e){let n=Bt(e);const u=e.isTrusted,g=n&&Se(n.tagName);if("OPTION"===g&&(n=n.parentElement),!n||!g||Ht.indexOf(g)<0||ot(n,r,s,i,!0))return;const v=n;if(v.classList.contains(o)||a&&v.matches(a))return;const y=Ce(n);let b=xe(v,g,y),w=!1;const S=ye({maskInputOptions:c,tagName:g,type:y}),k=qe(n,h,p,f,m,S);"radio"!==y&&"checkbox"!==y||(w=n.checked),b=be({isMasked:k,element:n,value:b,maskInputFn:l}),_(n,d?{text:b,isChecked:w,userTriggered:u}:{text:b,isChecked:w});const C=n.name;"radio"===y&&C&&w&&t.querySelectorAll(`input[type="radio"][name="${C}"]`).forEach((e=>{if(e!==n){const t=be({isMasked:k,element:e,value:xe(e,g,y),maskInputFn:l});_(e,d?{text:t,isChecked:!w,userTriggered:!1}:{text:t,isChecked:!w})}}))}function _(t,r){const s=qt.get(t);if(!s||s.text!==r.text||s.isChecked!==r.isChecked){qt.set(t,r);const s=n.getId(t);Pt(e)({...r,id:s})}}const v=("last"===u.input?["change"]:["input","change"]).map((e=>Ye(e,Pt(g),t))),y=t.defaultView;if(!y)return()=>{v.forEach((e=>e()))};const b=y.Object.getOwnPropertyDescriptor(y.HTMLInputElement.prototype,"value"),w=[[y.HTMLInputElement.prototype,"value"],[y.HTMLInputElement.prototype,"checked"],[y.HTMLSelectElement.prototype,"value"],[y.HTMLTextAreaElement.prototype,"value"],[y.HTMLSelectElement.prototype,"selectedIndex"],[y.HTMLOptionElement.prototype,"selected"]];return b&&b.set&&v.push(...w.map((e=>Qe(e[0],e[1],{set(){Pt(g)({target:this,isTrusted:!1})}},!1,y)))),Pt((()=>{v.forEach((e=>e()))}))}function Vt(e){return function(e,t){if(Zt("CSSGroupingRule")&&e.parentRule instanceof CSSGroupingRule||Zt("CSSMediaRule")&&e.parentRule instanceof CSSMediaRule||Zt("CSSSupportsRule")&&e.parentRule instanceof CSSSupportsRule||Zt("CSSConditionRule")&&e.parentRule instanceof CSSConditionRule){const n=Array.from(e.parentRule.cssRules).indexOf(e);t.unshift(n)}else if(e.parentStyleSheet){const n=Array.from(e.parentStyleSheet.cssRules).indexOf(e);t.unshift(n)}return t}(e,[])}function Kt(e,t,n){let r,s;return e?(e.ownerNode?r=t.getId(e.ownerNode):s=n.getId(e),{styleId:s,id:r}):{}}function Jt({mirror:e,stylesheetManager:t},n){let r=null;r="#document"===n.nodeName?e.getId(n):e.getId(n.host);const s="#document"===n.nodeName?zt([n,"access",e=>e.defaultView,"optionalAccess",e=>e.Document]):zt([n,"access",e=>e.ownerDocument,"optionalAccess",e=>e.defaultView,"optionalAccess",e=>e.ShadowRoot]),i=zt([s,"optionalAccess",e=>e.prototype])?Object.getOwnPropertyDescriptor(zt([s,"optionalAccess",e=>e.prototype]),"adoptedStyleSheets"):void 0;return null!==r&&-1!==r&&s&&i?(Object.defineProperty(n,"adoptedStyleSheets",{configurable:i.configurable,enumerable:i.enumerable,get(){return zt([i,"access",e=>e.get,"optionalAccess",e=>e.call,"call",e=>e(this)])},set(e){const n=zt([i,"access",e=>e.set,"optionalAccess",e=>e.call,"call",t=>t(this,e)]);if(null!==r&&-1!==r)try{t.adoptStyleSheets(e,r)}catch(s){}return n}}),Pt((()=>{Object.defineProperty(n,"adoptedStyleSheets",{configurable:i.configurable,enumerable:i.enumerable,get:i.get,set:i.set})}))):()=>{}}function Yt(e,t={}){const n=e.doc.defaultView;if(!n)return()=>{};const r=$t(e,e.doc),s=function({mousemoveCb:e,sampling:t,doc:n,mirror:r}){if(!1===t.mousemove)return()=>{};const s="number"===typeof t.mousemove?t.mousemove:50,i="number"===typeof t.mousemoveCallback?t.mousemoveCallback:500;let o,a=[];const c=Xe(Pt((t=>{const n=Date.now()-o;e(a.map((e=>(e.timeOffset-=n,e))),t),a=[],o=null})),i),l=Pt(Xe(Pt((e=>{const t=Bt(e),{clientX:n,clientY:s}=lt(e)?e.changedTouches[0]:e;o||(o=tt()),a.push({x:n,y:s,id:r.getId(t),timeOffset:tt()-o}),c("undefined"!==typeof DragEvent&&e instanceof DragEvent?wt.Drag:e instanceof MouseEvent?wt.MouseMove:wt.TouchMove)})),s,{trailing:!1})),u=[Ye("mousemove",l,n),Ye("touchmove",l,n),Ye("drag",l,n)];return Pt((()=>{u.forEach((e=>e()))}))}(e),i=Ut(e),o=Wt(e),a=function({viewportResizeCb:e},{win:t}){let n=-1,r=-1;return Ye("resize",Pt(Xe(Pt((()=>{const t=rt(),s=st();n===t&&r===s||(e({width:Number(s),height:Number(t)}),n=t,r=s)})),200)),t)}(e,{win:n}),c=Gt(e),l=function({mediaInteractionCb:e,blockClass:t,blockSelector:n,unblockSelector:r,mirror:s,sampling:i,doc:o}){const a=Pt((o=>Xe(Pt((i=>{const a=Bt(i);if(!a||ot(a,t,n,r,!0))return;const{currentTime:c,volume:l,muted:u,playbackRate:d}=a;e({type:o,id:s.getId(a),currentTime:c,volume:l,muted:u,playbackRate:d})})),i.media||500))),c=[Ye("play",a(0),o),Ye("pause",a(1),o),Ye("seeked",a(2),o),Ye("volumechange",a(3),o),Ye("ratechange",a(4),o)];return Pt((()=>{c.forEach((e=>e()))}))}(e),u=function({styleSheetRuleCb:e,mirror:t,stylesheetManager:n},{win:r}){if(!r.CSSStyleSheet||!r.CSSStyleSheet.prototype)return()=>{};const s=r.CSSStyleSheet.prototype.insertRule;r.CSSStyleSheet.prototype.insertRule=new Proxy(s,{apply:Pt(((r,s,i)=>{const[o,a]=i,{id:c,styleId:l}=Kt(s,t,n.styleMirror);return(c&&-1!==c||l&&-1!==l)&&e({id:c,styleId:l,adds:[{rule:o,index:a}]}),r.apply(s,i)}))});const i=r.CSSStyleSheet.prototype.deleteRule;let o,a;r.CSSStyleSheet.prototype.deleteRule=new Proxy(i,{apply:Pt(((r,s,i)=>{const[o]=i,{id:a,styleId:c}=Kt(s,t,n.styleMirror);return(a&&-1!==a||c&&-1!==c)&&e({id:a,styleId:c,removes:[{index:o}]}),r.apply(s,i)}))}),r.CSSStyleSheet.prototype.replace&&(o=r.CSSStyleSheet.prototype.replace,r.CSSStyleSheet.prototype.replace=new Proxy(o,{apply:Pt(((r,s,i)=>{const[o]=i,{id:a,styleId:c}=Kt(s,t,n.styleMirror);return(a&&-1!==a||c&&-1!==c)&&e({id:a,styleId:c,replace:o}),r.apply(s,i)}))})),r.CSSStyleSheet.prototype.replaceSync&&(a=r.CSSStyleSheet.prototype.replaceSync,r.CSSStyleSheet.prototype.replaceSync=new Proxy(a,{apply:Pt(((r,s,i)=>{const[o]=i,{id:a,styleId:c}=Kt(s,t,n.styleMirror);return(a&&-1!==a||c&&-1!==c)&&e({id:a,styleId:c,replaceSync:o}),r.apply(s,i)}))}));const c={};Xt("CSSGroupingRule")?c.CSSGroupingRule=r.CSSGroupingRule:(Xt("CSSMediaRule")&&(c.CSSMediaRule=r.CSSMediaRule),Xt("CSSConditionRule")&&(c.CSSConditionRule=r.CSSConditionRule),Xt("CSSSupportsRule")&&(c.CSSSupportsRule=r.CSSSupportsRule));const l={};return Object.entries(c).forEach((([r,s])=>{l[r]={insertRule:s.prototype.insertRule,deleteRule:s.prototype.deleteRule},s.prototype.insertRule=new Proxy(l[r].insertRule,{apply:Pt(((r,s,i)=>{const[o,a]=i,{id:c,styleId:l}=Kt(s.parentStyleSheet,t,n.styleMirror);return(c&&-1!==c||l&&-1!==l)&&e({id:c,styleId:l,adds:[{rule:o,index:[...Vt(s),a||0]}]}),r.apply(s,i)}))}),s.prototype.deleteRule=new Proxy(l[r].deleteRule,{apply:Pt(((r,s,i)=>{const[o]=i,{id:a,styleId:c}=Kt(s.parentStyleSheet,t,n.styleMirror);return(a&&-1!==a||c&&-1!==c)&&e({id:a,styleId:c,removes:[{index:[...Vt(s),o]}]}),r.apply(s,i)}))})})),Pt((()=>{r.CSSStyleSheet.prototype.insertRule=s,r.CSSStyleSheet.prototype.deleteRule=i,o&&(r.CSSStyleSheet.prototype.replace=o),a&&(r.CSSStyleSheet.prototype.replaceSync=a),Object.entries(c).forEach((([e,t])=>{t.prototype.insertRule=l[e].insertRule,t.prototype.deleteRule=l[e].deleteRule}))}))}(e,{win:n}),d=Jt(e,e.doc),h=function({styleDeclarationCb:e,mirror:t,ignoreCSSAttributes:n,stylesheetManager:r},{win:s}){const i=s.CSSStyleDeclaration.prototype.setProperty;s.CSSStyleDeclaration.prototype.setProperty=new Proxy(i,{apply:Pt(((s,o,a)=>{const[c,l,u]=a;if(n.has(c))return i.apply(o,[c,l,u]);const{id:d,styleId:h}=Kt(zt([o,"access",e=>e.parentRule,"optionalAccess",e=>e.parentStyleSheet]),t,r.styleMirror);return(d&&-1!==d||h&&-1!==h)&&e({id:d,styleId:h,set:{property:c,value:l,priority:u},index:Vt(o.parentRule)}),s.apply(o,a)}))});const o=s.CSSStyleDeclaration.prototype.removeProperty;return s.CSSStyleDeclaration.prototype.removeProperty=new Proxy(o,{apply:Pt(((s,i,a)=>{const[c]=a;if(n.has(c))return o.apply(i,[c]);const{id:l,styleId:u}=Kt(zt([i,"access",e=>e.parentRule,"optionalAccess",e=>e.parentStyleSheet]),t,r.styleMirror);return(l&&-1!==l||u&&-1!==u)&&e({id:l,styleId:u,remove:{property:c},index:Vt(i.parentRule)}),s.apply(i,a)}))}),Pt((()=>{s.CSSStyleDeclaration.prototype.setProperty=i,s.CSSStyleDeclaration.prototype.removeProperty=o}))}(e,{win:n}),f=e.collectFonts?function({fontCb:e,doc:t}){const n=t.defaultView;if(!n)return()=>{};const r=[],s=new WeakMap,i=n.FontFace;n.FontFace=function(e,t,n){const r=new i(e,t,n);return s.set(r,{family:e,buffer:"string"!==typeof t,descriptors:n,fontSource:"string"===typeof t?t:JSON.stringify(Array.from(new Uint8Array(t)))}),r};const o=et(t.fonts,"add",(function(t){return function(n){return yt(Pt((()=>{const t=s.get(n);t&&(e(t),s.delete(n))})),0),t.apply(this,[n])}}));return r.push((()=>{n.FontFace=i})),r.push(o),Pt((()=>{r.forEach((e=>e()))}))}(e):()=>{},p=function(e){const{doc:t,mirror:n,blockClass:r,blockSelector:s,unblockSelector:i,selectionCb:o}=e;let a=!0;const c=Pt((()=>{const e=t.getSelection();if(!e||a&&zt([e,"optionalAccess",e=>e.isCollapsed]))return;a=e.isCollapsed||!1;const c=[],l=e.rangeCount||0;for(let t=0;t<l;t++){const o=e.getRangeAt(t),{startContainer:a,startOffset:l,endContainer:u,endOffset:d}=o;ot(a,r,s,i,!0)||ot(u,r,s,i,!0)||c.push({start:n.getId(a),startOffset:l,end:n.getId(u),endOffset:d})}o({ranges:c})}));return c(),Ye("selectionchange",c)}(e),m=function({doc:e,customElementCb:t}){const n=e.defaultView;return n&&n.customElements?et(n.customElements,"define",(function(e){return function(n,r,s){try{t({define:{name:n}})}catch(i){}return e.apply(this,[n,r,s])}})):()=>{}}(e),g=[];for(const _ of e.plugins)g.push(_.observer(_.callback,n,_.options));return Pt((()=>{jt.forEach((e=>e.reset())),r.disconnect(),s(),i(),o(),a(),c(),l(),u(),d(),h(),f(),p(),m(),g.forEach((e=>e()))}))}function Zt(e){return"undefined"!==typeof window[e]}function Xt(e){return Boolean("undefined"!==typeof window[e]&&window[e].prototype&&"insertRule"in window[e].prototype&&"deleteRule"in window[e].prototype)}class Qt{constructor(e){this.generateIdFn=e,this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap}getId(e,t,n,r){const s=n||this.getIdToRemoteIdMap(e),i=r||this.getRemoteIdToIdMap(e);let o=s.get(t);return o||(o=this.generateIdFn(),s.set(t,o),i.set(o,t)),o}getIds(e,t){const n=this.getIdToRemoteIdMap(e),r=this.getRemoteIdToIdMap(e);return t.map((t=>this.getId(e,t,n,r)))}getRemoteId(e,t,n){const r=n||this.getRemoteIdToIdMap(e);if("number"!==typeof t)return t;const s=r.get(t);return s||-1}getRemoteIds(e,t){const n=this.getRemoteIdToIdMap(e);return t.map((t=>this.getRemoteId(e,t,n)))}reset(e){if(!e)return this.iframeIdToRemoteIdMap=new WeakMap,void(this.iframeRemoteIdToIdMap=new WeakMap);this.iframeIdToRemoteIdMap.delete(e),this.iframeRemoteIdToIdMap.delete(e)}getIdToRemoteIdMap(e){let t=this.iframeIdToRemoteIdMap.get(e);return t||(t=new Map,this.iframeIdToRemoteIdMap.set(e,t)),t}getRemoteIdToIdMap(e){let t=this.iframeRemoteIdToIdMap.get(e);return t||(t=new Map,this.iframeRemoteIdToIdMap.set(e,t)),t}}function en(e){let t,n=e[0],r=1;for(;r<e.length;){const s=e[r],i=e[r+1];if(r+=2,("optionalAccess"===s||"optionalCall"===s)&&null==n)return;"access"===s||"optionalAccess"===s?(t=n,n=i(n)):"call"!==s&&"optionalCall"!==s||(n=i(((...e)=>n.call(t,...e))),t=void 0)}return n}class tn{constructor(){this.crossOriginIframeMirror=new Qt(Ie),this.crossOriginIframeRootIdMap=new WeakMap}addIframe(){}addLoadListener(){}attachIframe(){}}class nn{constructor(e){this.iframes=new WeakMap,this.crossOriginIframeMap=new WeakMap,this.crossOriginIframeMirror=new Qt(Ie),this.crossOriginIframeRootIdMap=new WeakMap,this.mutationCb=e.mutationCb,this.wrappedEmit=e.wrappedEmit,this.stylesheetManager=e.stylesheetManager,this.recordCrossOriginIframes=e.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new Qt(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror)),this.mirror=e.mirror,this.recordCrossOriginIframes&&window.addEventListener("message",this.handleMessage.bind(this))}addIframe(e){this.iframes.set(e,!0),e.contentWindow&&this.crossOriginIframeMap.set(e.contentWindow,e)}addLoadListener(e){this.loadListener=e}attachIframe(e,t){this.mutationCb({adds:[{parentId:this.mirror.getId(e),nextId:null,node:t}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),en([this,"access",e=>e.loadListener,"optionalCall",t=>t(e)]),e.contentDocument&&e.contentDocument.adoptedStyleSheets&&e.contentDocument.adoptedStyleSheets.length>0&&this.stylesheetManager.adoptStyleSheets(e.contentDocument.adoptedStyleSheets,this.mirror.getId(e.contentDocument))}handleMessage(e){const t=e;if("rrweb"!==t.data.type||t.origin!==t.data.origin)return;if(!e.source)return;const n=this.crossOriginIframeMap.get(e.source);if(!n)return;const r=this.transformCrossOriginEvent(n,t.data.event);r&&this.wrappedEmit(r,t.data.isCheckout)}transformCrossOriginEvent(e,t){switch(t.type){case bt.FullSnapshot:{this.crossOriginIframeMirror.reset(e),this.crossOriginIframeStyleMirror.reset(e),this.replaceIdOnNode(t.data.node,e);const n=t.data.node.id;return this.crossOriginIframeRootIdMap.set(e,n),this.patchRootIdOnNode(t.data.node,n),{timestamp:t.timestamp,type:bt.IncrementalSnapshot,data:{source:wt.Mutation,adds:[{parentId:this.mirror.getId(e),nextId:null,node:t.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}}}case bt.Meta:case bt.Load:case bt.DomContentLoaded:return!1;case bt.Plugin:return t;case bt.Custom:return this.replaceIds(t.data.payload,e,["id","parentId","previousId","nextId"]),t;case bt.IncrementalSnapshot:switch(t.data.source){case wt.Mutation:return t.data.adds.forEach((t=>{this.replaceIds(t,e,["parentId","nextId","previousId"]),this.replaceIdOnNode(t.node,e);const n=this.crossOriginIframeRootIdMap.get(e);n&&this.patchRootIdOnNode(t.node,n)})),t.data.removes.forEach((t=>{this.replaceIds(t,e,["parentId","id"])})),t.data.attributes.forEach((t=>{this.replaceIds(t,e,["id"])})),t.data.texts.forEach((t=>{this.replaceIds(t,e,["id"])})),t;case wt.Drag:case wt.TouchMove:case wt.MouseMove:return t.data.positions.forEach((t=>{this.replaceIds(t,e,["id"])})),t;case wt.ViewportResize:return!1;case wt.MediaInteraction:case wt.MouseInteraction:case wt.Scroll:case wt.CanvasMutation:case wt.Input:return this.replaceIds(t.data,e,["id"]),t;case wt.StyleSheetRule:case wt.StyleDeclaration:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleId"]),t;case wt.Font:return t;case wt.Selection:return t.data.ranges.forEach((t=>{this.replaceIds(t,e,["start","end"])})),t;case wt.AdoptedStyleSheet:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleIds"]),en([t,"access",e=>e.data,"access",e=>e.styles,"optionalAccess",e=>e.forEach,"call",t=>t((t=>{this.replaceStyleIds(t,e,["styleId"])}))]),t}}return!1}replace(e,t,n,r){for(const s of r)(Array.isArray(t[s])||"number"===typeof t[s])&&(Array.isArray(t[s])?t[s]=e.getIds(n,t[s]):t[s]=e.getId(n,t[s]));return t}replaceIds(e,t,n){return this.replace(this.crossOriginIframeMirror,e,t,n)}replaceStyleIds(e,t,n){return this.replace(this.crossOriginIframeStyleMirror,e,t,n)}replaceIdOnNode(e,t){this.replaceIds(e,t,["id","rootId"]),"childNodes"in e&&e.childNodes.forEach((e=>{this.replaceIdOnNode(e,t)}))}patchRootIdOnNode(e,t){e.type===fe.Document||e.rootId||(e.rootId=t),"childNodes"in e&&e.childNodes.forEach((e=>{this.patchRootIdOnNode(e,t)}))}}class rn{init(){}addShadowRoot(){}observeAttachShadow(){}reset(){}}class sn{constructor(e){this.shadowDoms=new WeakSet,this.restoreHandlers=[],this.mutationCb=e.mutationCb,this.scrollCb=e.scrollCb,this.bypassOptions=e.bypassOptions,this.mirror=e.mirror,this.init()}init(){this.reset(),this.patchAttachShadow(Element,document)}addShadowRoot(e,t){if(!me(e))return;if(this.shadowDoms.has(e))return;this.shadowDoms.add(e);const n=$t({...this.bypassOptions,doc:t,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this},e);this.restoreHandlers.push((()=>n.disconnect())),this.restoreHandlers.push(Wt({...this.bypassOptions,scrollCb:this.scrollCb,doc:e,mirror:this.mirror})),yt((()=>{e.adoptedStyleSheets&&e.adoptedStyleSheets.length>0&&this.bypassOptions.stylesheetManager.adoptStyleSheets(e.adoptedStyleSheets,this.mirror.getId(e.host)),this.restoreHandlers.push(Jt({mirror:this.mirror,stylesheetManager:this.bypassOptions.stylesheetManager},e))}),0)}observeAttachShadow(e){e.contentWindow&&e.contentDocument&&this.patchAttachShadow(e.contentWindow.Element,e.contentDocument)}patchAttachShadow(e,t){const n=this;this.restoreHandlers.push(et(e.prototype,"attachShadow",(function(e){return function(r){const s=e.call(this,r);return this.shadowRoot&>(this)&&n.addShadowRoot(this.shadowRoot,t),s}})))}reset(){this.restoreHandlers.forEach((e=>{try{e()}catch(t){}})),this.restoreHandlers=[],this.shadowDoms=new WeakSet}}class on{reset(){}freeze(){}unfreeze(){}lock(){}unlock(){}snapshot(){}}class an{constructor(e){this.trackedLinkElements=new WeakSet,this.styleMirror=new ft,this.mutationCb=e.mutationCb,this.adoptedStyleSheetCb=e.adoptedStyleSheetCb}attachLinkElement(e,t){"_cssText"in t.attributes&&this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:t.id,attributes:t.attributes}]}),this.trackLinkElement(e)}trackLinkElement(e){this.trackedLinkElements.has(e)||(this.trackedLinkElements.add(e),this.trackStylesheetInLinkElement(e))}adoptStyleSheets(e,t){if(0===e.length)return;const n={id:t,styleIds:[]},r=[];for(const s of e){let e;this.styleMirror.has(s)?e=this.styleMirror.getId(s):(e=this.styleMirror.add(s),r.push({styleId:e,rules:Array.from(s.rules||CSSRule,((e,t)=>({rule:_e(e),index:t})))})),n.styleIds.push(e)}r.length>0&&(n.styles=r),this.adoptedStyleSheetCb(n)}reset(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet}trackStylesheetInLinkElement(e){}}class cn{constructor(){this.nodeMap=new WeakMap,this.loop=!0,this.periodicallyClear()}periodicallyClear(){!function(...e){vt("requestAnimationFrame")(...e)}((()=>{this.clear(),this.loop&&this.periodicallyClear()}))}inOtherBuffer(e,t){const n=this.nodeMap.get(e);return n&&Array.from(n).some((e=>e!==t))}add(e,t){this.nodeMap.set(e,(this.nodeMap.get(e)||new Set).add(t))}clear(){this.nodeMap=new WeakMap}destroy(){this.loop=!1}}let ln,un;const dn=new ve;function hn(e={}){const{emit:t,checkoutEveryNms:n,checkoutEveryNth:s,blockClass:i="rr-block",blockSelector:o=null,unblockSelector:a=null,ignoreClass:c="rr-ignore",ignoreSelector:l=null,maskAllText:u=!1,maskTextClass:d="rr-mask",unmaskTextClass:h=null,maskTextSelector:f=null,unmaskTextSelector:p=null,inlineStylesheet:m=!0,maskAllInputs:g,maskInputOptions:_,slimDOMOptions:v,maskAttributeFn:y,maskInputFn:b,maskTextFn:w,maxCanvasSize:S=null,packFn:k,sampling:C={},dataURLOptions:x={},mousemoveWait:E,recordCanvas:T=!1,recordCrossOriginIframes:I=!1,recordAfter:O=("DOMContentLoaded"===e.recordAfter?e.recordAfter:"load"),userTriggeredOnInput:A=!1,collectFonts:R=!1,inlineImages:D=!1,plugins:M,keepIframeSrcFn:N=()=>!1,ignoreCSSAttributes:L=new Set([]),errorHandler:F,onMutation:P,getCanvasManager:z}=e;Lt(F);const j=!I||window.parent===window;let B=!1;if(!j)try{window.parent.document&&(B=!1)}catch(te){B=!0}if(j&&!t)throw new Error("emit function is required");void 0!==E&&void 0===C.mousemove&&(C.mousemove=E),dn.reset();const $=!0===g?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,radio:!0,checkbox:!0}:void 0!==_?_:{},U=!0===v||"all"===v?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:"all"===v,headMetaDescKeywords:"all"===v}:v||{};let W;!function(e=window){"NodeList"in e&&!e.NodeList.prototype.forEach&&(e.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in e&&!e.DOMTokenList.prototype.forEach&&(e.DOMTokenList.prototype.forEach=Array.prototype.forEach),Node.prototype.contains||(Node.prototype.contains=(...e)=>{let t=e[0];if(!(0 in e))throw new TypeError("1 argument is required");do{if(this===t)return!0}while(t=t&&t.parentNode);return!1})}();let H=0;const q=e=>{for(const t of M||[])t.eventProcessor&&(e=t.eventProcessor(e));return k&&!B&&(e=k(e)),e};ln=(e,i)=>{const o=e;if(o.timestamp=tt(),!r([jt,"access",e=>e[0],"optionalAccess",e=>e.isFrozen,"call",e=>e()])||o.type===bt.FullSnapshot||o.type===bt.IncrementalSnapshot&&o.data.source===wt.Mutation||jt.forEach((e=>e.unfreeze())),j)r([t,"optionalCall",e=>e(q(o),i)]);else if(B){const e={type:"rrweb",event:q(o),origin:window.location.origin,isCheckout:i};window.parent.postMessage(e,"*")}if(o.type===bt.FullSnapshot)W=o,H=0;else if(o.type===bt.IncrementalSnapshot){if(o.data.source===wt.Mutation&&o.data.isAttachIframe)return;H++;const e=s&&H>=s,t=n&&W&&o.timestamp-W.timestamp>n;(e||t)&&ee(!0)}};const G=e=>{ln({type:bt.IncrementalSnapshot,data:{source:wt.Mutation,...e}})},V=e=>ln({type:bt.IncrementalSnapshot,data:{source:wt.Scroll,...e}}),K=e=>ln({type:bt.IncrementalSnapshot,data:{source:wt.CanvasMutation,...e}}),J=new an({mutationCb:G,adoptedStyleSheetCb:e=>ln({type:bt.IncrementalSnapshot,data:{source:wt.AdoptedStyleSheet,...e}})}),Y="boolean"===typeof __RRWEB_EXCLUDE_IFRAME__&&__RRWEB_EXCLUDE_IFRAME__?new tn:new nn({mirror:dn,mutationCb:G,stylesheetManager:J,recordCrossOriginIframes:I,wrappedEmit:ln});for(const r of M||[])r.getMirror&&r.getMirror({nodeMirror:dn,crossOriginIframeMirror:Y.crossOriginIframeMirror,crossOriginIframeStyleMirror:Y.crossOriginIframeStyleMirror});const Z=new cn,X=function(e,t){try{return e?e(t):new on}catch(n){return new on}}(z,{mirror:dn,win:window,mutationCb:e=>ln({type:bt.IncrementalSnapshot,data:{source:wt.CanvasMutation,...e}}),recordCanvas:T,blockClass:i,blockSelector:o,unblockSelector:a,maxCanvasSize:S,sampling:C.canvas,dataURLOptions:x,errorHandler:F}),Q="boolean"===typeof __RRWEB_EXCLUDE_SHADOW_DOM__&&__RRWEB_EXCLUDE_SHADOW_DOM__?new rn:new sn({mutationCb:G,scrollCb:V,bypassOptions:{onMutation:P,blockClass:i,blockSelector:o,unblockSelector:a,maskAllText:u,maskTextClass:d,unmaskTextClass:h,maskTextSelector:f,unmaskTextSelector:p,inlineStylesheet:m,maskInputOptions:$,dataURLOptions:x,maskAttributeFn:y,maskTextFn:w,maskInputFn:b,recordCanvas:T,inlineImages:D,sampling:C,slimDOMOptions:U,iframeManager:Y,stylesheetManager:J,canvasManager:X,keepIframeSrcFn:N,processedNodeManager:Z},mirror:dn}),ee=(e=!1)=>{ln({type:bt.Meta,data:{href:window.location.href,width:st(),height:rt()}},e),J.reset(),Q.init(),jt.forEach((e=>e.lock()));const t=function(e,t){const{mirror:n=new ve,blockClass:r="rr-block",blockSelector:s=null,unblockSelector:i=null,maskAllText:o=!1,maskTextClass:a="rr-mask",unmaskTextClass:c=null,maskTextSelector:l=null,unmaskTextSelector:u=null,inlineStylesheet:d=!0,inlineImages:h=!1,recordCanvas:f=!1,maskAllInputs:p=!1,maskAttributeFn:m,maskTextFn:g,maskInputFn:_,slimDOM:v=!1,dataURLOptions:y,preserveWhiteSpace:b,onSerialize:w,onIframeLoad:S,iframeLoadTimeout:k,onStylesheetLoad:C,stylesheetLoadTimeout:x,keepIframeSrcFn:E=()=>!1}=t||{};return Ke(e,{doc:e,mirror:n,blockClass:r,blockSelector:s,unblockSelector:i,maskAllText:o,maskTextClass:a,unmaskTextClass:c,maskTextSelector:l,unmaskTextSelector:u,skipChild:!1,inlineStylesheet:d,maskInputOptions:!0===p?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0}:!1===p?{}:p,maskAttributeFn:m,maskTextFn:g,maskInputFn:_,slimDOMOptions:!0===v||"all"===v?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:"all"===v,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:!1===v?{}:v,dataURLOptions:y,inlineImages:h,recordCanvas:f,preserveWhiteSpace:b,onSerialize:w,onIframeLoad:S,iframeLoadTimeout:k,onStylesheetLoad:C,stylesheetLoadTimeout:x,keepIframeSrcFn:E,newlyAddedElement:!1})}(document,{mirror:dn,blockClass:i,blockSelector:o,unblockSelector:a,maskAllText:u,maskTextClass:d,unmaskTextClass:h,maskTextSelector:f,unmaskTextSelector:p,inlineStylesheet:m,maskAllInputs:$,maskAttributeFn:y,maskInputFn:b,maskTextFn:w,slimDOM:U,dataURLOptions:x,recordCanvas:T,inlineImages:D,onSerialize:e=>{ut(e,dn)&&Y.addIframe(e),dt(e,dn)&&J.trackLinkElement(e),ht(e)&&Q.addShadowRoot(e.shadowRoot,document)},onIframeLoad:(e,t)=>{Y.attachIframe(e,t),Q.observeAttachShadow(e)},onStylesheetLoad:(e,t)=>{J.attachLinkElement(e,t)},keepIframeSrcFn:N});t&&(ln({type:bt.FullSnapshot,data:{node:t,initialOffset:nt(window)}}),jt.forEach((e=>e.unlock())),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&J.adoptStyleSheets(document.adoptedStyleSheets,dn.getId(document)))};un=ee;try{const e=[],t=e=>Pt(Yt)({onMutation:P,mutationCb:G,mousemoveCb:(e,t)=>ln({type:bt.IncrementalSnapshot,data:{source:t,positions:e}}),mouseInteractionCb:e=>ln({type:bt.IncrementalSnapshot,data:{source:wt.MouseInteraction,...e}}),scrollCb:V,viewportResizeCb:e=>ln({type:bt.IncrementalSnapshot,data:{source:wt.ViewportResize,...e}}),inputCb:e=>ln({type:bt.IncrementalSnapshot,data:{source:wt.Input,...e}}),mediaInteractionCb:e=>ln({type:bt.IncrementalSnapshot,data:{source:wt.MediaInteraction,...e}}),styleSheetRuleCb:e=>ln({type:bt.IncrementalSnapshot,data:{source:wt.StyleSheetRule,...e}}),styleDeclarationCb:e=>ln({type:bt.IncrementalSnapshot,data:{source:wt.StyleDeclaration,...e}}),canvasMutationCb:K,fontCb:e=>ln({type:bt.IncrementalSnapshot,data:{source:wt.Font,...e}}),selectionCb:e=>{ln({type:bt.IncrementalSnapshot,data:{source:wt.Selection,...e}})},customElementCb:e=>{ln({type:bt.IncrementalSnapshot,data:{source:wt.CustomElement,...e}})},blockClass:i,ignoreClass:c,ignoreSelector:l,maskAllText:u,maskTextClass:d,unmaskTextClass:h,maskTextSelector:f,unmaskTextSelector:p,maskInputOptions:$,inlineStylesheet:m,sampling:C,recordCanvas:T,inlineImages:D,userTriggeredOnInput:A,collectFonts:R,doc:e,maskAttributeFn:y,maskInputFn:b,maskTextFn:w,keepIframeSrcFn:N,blockSelector:o,unblockSelector:a,slimDOMOptions:U,dataURLOptions:x,mirror:dn,iframeManager:Y,stylesheetManager:J,shadowDomManager:Q,processedNodeManager:Z,canvasManager:X,ignoreCSSAttributes:L,plugins:r([M,"optionalAccess",e=>e.filter,"call",e=>e((e=>e.observer)),"optionalAccess",e=>e.map,"call",e=>e((e=>({observer:e.observer,options:e.options,callback:t=>ln({type:bt.Plugin,data:{plugin:e.name,payload:t}})})))])||[]},{});Y.addLoadListener((n=>{try{e.push(t(n.contentDocument))}catch(r){}}));const n=()=>{ee(),e.push(t(document))};return"interactive"===document.readyState||"complete"===document.readyState?n():(e.push(Ye("DOMContentLoaded",(()=>{ln({type:bt.DomContentLoaded,data:{}}),"DOMContentLoaded"===O&&n()}))),e.push(Ye("load",(()=>{ln({type:bt.Load,data:{}}),"load"===O&&n()}),window))),()=>{e.forEach((e=>e())),Z.destroy(),un=void 0,Ft()}}catch(ne){}}hn.mirror=dn,hn.takeFullSnapshot=function(e){if(!un)throw new Error("please take full snapshot after start recording");un(e)};function fn(e){return e>9999999999?e:1e3*e}function pn(e){return e>9999999999?e/1e3:e}function mn(e,t){"sentry.transaction"!==t.category&&(["ui.click","ui.input"].includes(t.category)?e.triggerUserActivity():e.checkAndHandleExpiredSession(),e.addUpdate((()=>(e.throttledAddEvent({type:bt.Custom,timestamp:1e3*(t.timestamp||0),data:{tag:"breadcrumb",payload:(0,j.S8)(t,10,1e3)}}),"console"===t.category))))}function gn(e){return e.closest("button,a")||e}function _n(e){const t=vn(e);return t&&t instanceof Element?gn(t):t}function vn(e){return function(e){return"object"===typeof e&&!!e&&"target"in e}(e)?e.target:e}let yn;function bn(e){return yn||(yn=[],(0,p.GS)(ie,"open",(function(e){return function(...t){if(yn)try{yn.forEach((e=>e()))}catch(n){}return e.apply(ie,t)}}))),yn.push(e),()=>{const t=yn?yn.indexOf(e):-1;t>-1&&yn.splice(t,1)}}class wn{constructor(e,t,n=mn){this._lastMutation=0,this._lastScroll=0,this._clicks=[],this._timeout=t.timeout/1e3,this._threshold=t.threshold/1e3,this._scollTimeout=t.scrollTimeout/1e3,this._replay=e,this._ignoreSelector=t.ignoreSelector,this._addBreadcrumbEvent=n}addListeners(){const e=bn((()=>{this._lastMutation=kn()}));this._teardown=()=>{e(),this._clicks=[],this._lastMutation=0,this._lastScroll=0}}removeListeners(){this._teardown&&this._teardown(),this._checkClickTimeout&&clearTimeout(this._checkClickTimeout)}handleClick(e,t){if(function(e,t){if(!Sn.includes(e.tagName))return!0;if("INPUT"===e.tagName&&!["submit","button"].includes(e.getAttribute("type")||""))return!0;if("A"===e.tagName&&(e.hasAttribute("download")||e.hasAttribute("target")&&"_self"!==e.getAttribute("target")))return!0;if(t&&e.matches(t))return!0;return!1}(t,this._ignoreSelector)||!function(e){return!(!e.data||"number"!==typeof e.data.nodeId||!e.timestamp)}(e))return;const n={timestamp:pn(e.timestamp),clickBreadcrumb:e,clickCount:0,node:t};this._clicks.some((e=>e.node===n.node&&Math.abs(e.timestamp-n.timestamp)<1))||(this._clicks.push(n),1===this._clicks.length&&this._scheduleCheckClicks())}registerMutation(e=Date.now()){this._lastMutation=pn(e)}registerScroll(e=Date.now()){this._lastScroll=pn(e)}registerClick(e){const t=gn(e);this._handleMultiClick(t)}_handleMultiClick(e){this._getClicks(e).forEach((e=>{e.clickCount++}))}_getClicks(e){return this._clicks.filter((t=>t.node===e))}_checkClicks(){const e=[],t=kn();this._clicks.forEach((n=>{!n.mutationAfter&&this._lastMutation&&(n.mutationAfter=n.timestamp<=this._lastMutation?this._lastMutation-n.timestamp:void 0),!n.scrollAfter&&this._lastScroll&&(n.scrollAfter=n.timestamp<=this._lastScroll?this._lastScroll-n.timestamp:void 0),n.timestamp+this._timeout<=t&&e.push(n)}));for(const n of e){const e=this._clicks.indexOf(n);e>-1&&(this._generateBreadcrumbs(n),this._clicks.splice(e,1))}this._clicks.length&&this._scheduleCheckClicks()}_generateBreadcrumbs(e){const t=this._replay,n=e.scrollAfter&&e.scrollAfter<=this._scollTimeout,r=e.mutationAfter&&e.mutationAfter<=this._threshold,s=!n&&!r,{clickCount:i,clickBreadcrumb:o}=e;if(s){const n=1e3*Math.min(e.mutationAfter||this._timeout,this._timeout),r=n<1e3*this._timeout?"mutation":"timeout",s={type:"default",message:o.message,timestamp:o.timestamp,category:"ui.slowClickDetected",data:{...o.data,url:ie.location.href,route:t.getCurrentRoute(),timeAfterClickMs:n,endReason:r,clickCount:i||1}};this._addBreadcrumbEvent(t,s)}else if(i>1){const e={type:"default",message:o.message,timestamp:o.timestamp,category:"ui.multiClick",data:{...o.data,url:ie.location.href,route:t.getCurrentRoute(),clickCount:i,metric:!0}};this._addBreadcrumbEvent(t,e)}}_scheduleCheckClicks(){this._checkClickTimeout&&clearTimeout(this._checkClickTimeout),this._checkClickTimeout=setTimeout((()=>this._checkClicks()),1e3)}}const Sn=["A","BUTTON","INPUT"];function kn(){return Date.now()/1e3}function Cn(e,t){try{if(!function(e){return 3===e.type}(t))return;const{source:n}=t.data;if(n===wt.Mutation&&e.registerMutation(t.timestamp),n===wt.Scroll&&e.registerScroll(t.timestamp),function(e){return e.data.source===wt.MouseInteraction}(t)){const{type:n,id:r}=t.data,s=hn.mirror.getNode(r);s instanceof HTMLElement&&n===St.Click&&e.registerClick(s)}}catch(n){}}function xn(e){return{timestamp:Date.now()/1e3,type:"default",...e}}var En;!function(e){e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment"}(En||(En={}));const Tn=new Set(["id","class","aria-label","role","name","alt","title","data-test-id","data-testid","disabled","aria-disabled","data-sentry-component"]);function In(e){const t={};for(const n in e)if(Tn.has(n)){let r=n;"data-testid"!==n&&"data-test-id"!==n||(r="testId"),t[r]=e[n]}return t}const On=e=>t=>{if(!e.isEnabled())return;const n=function(e){const{target:t,message:n}=function(e){const t="click"===e.name;let n,r=null;try{r=t?_n(e.event):vn(e.event),n=(0,J.Hd)(r,{maxStringLength:200})||"<unknown>"}catch(s){n="<unknown>"}return{target:r,message:n}}(e);return xn({category:`ui.${e.name}`,...An(t,n)})}(t);if(!n)return;const r="click"===t.name,s=r?t.event:void 0;!(r&&e.clickDetector&&s&&s.target)||s.altKey||s.metaKey||s.ctrlKey||s.shiftKey||function(e,t,n){e.handleClick(t,n)}(e.clickDetector,n,_n(t.event)),mn(e,n)};function An(e,t){const n=hn.mirror.getId(e),r=n&&hn.mirror.getNode(n),s=r&&hn.mirror.getMeta(r),i=s&&function(e){return e.type===En.Element}(s)?s:null;return{message:t,data:i?{nodeId:n,node:{id:n,tagName:i.tagName,textContent:Array.from(i.childNodes).map((e=>e.type===En.Text&&e.textContent)).filter(Boolean).map((e=>e.trim())).join(""),attributes:In(i.attributes)}}:{}}}function Rn(e,t){if(!e.isEnabled())return;e.updateUserActivity();const n=function(e){const{metaKey:t,shiftKey:n,ctrlKey:r,altKey:s,key:i,target:o}=e;if(!o||function(e){return"INPUT"===e.tagName||"TEXTAREA"===e.tagName||e.isContentEditable}(o)||!i)return null;const a=t||r||s,c=1===i.length;if(!a&&c)return null;const l=(0,J.Hd)(o,{maxStringLength:200})||"<unknown>",u=An(o,l);return xn({category:"ui.keyDown",message:l,data:{...u.data,metaKey:t,shiftKey:n,ctrlKey:r,altKey:s,key:i}})}(t);n&&mn(e,n)}const Dn={resource:function(e){const{entryType:t,initiatorType:n,name:r,responseEnd:s,startTime:i,decodedBodySize:o,encodedBodySize:a,responseStatus:c,transferSize:l}=e;if(["fetch","xmlhttprequest"].includes(n))return null;return{type:`${t}.${n}`,start:Nn(i),end:Nn(s),name:r,data:{size:l,statusCode:c,decodedBodySize:o,encodedBodySize:a}}},paint:function(e){const{duration:t,entryType:n,name:r,startTime:s}=e,i=Nn(s);return{type:n,name:r,start:i,end:i+t,data:void 0}},navigation:function(e){const{entryType:t,name:n,decodedBodySize:r,duration:s,domComplete:i,encodedBodySize:o,domContentLoadedEventStart:a,domContentLoadedEventEnd:c,domInteractive:l,loadEventStart:u,loadEventEnd:d,redirectCount:h,startTime:f,transferSize:p,type:m}=e;if(0===s)return null;return{type:`${t}.${m}`,start:Nn(f),end:Nn(i),name:n,data:{size:p,decodedBodySize:r,encodedBodySize:o,duration:s,domInteractive:l,domContentLoadedEventStart:a,domContentLoadedEventEnd:c,loadEventStart:u,loadEventEnd:d,domComplete:i,redirectCount:h}}}};function Mn(e){return Dn[e.entryType]?Dn[e.entryType](e):null}function Nn(e){return((o.k3||ie.performance.timeOrigin)+e)/1e3}function Ln(e){function t(t){e.performanceEntries.includes(t)||e.performanceEntries.push(t)}function n({entries:e}){e.forEach(t)}const r=[];return["navigation","paint","resource"].forEach((e=>{r.push((0,se.wv)(e,n))})),r.push((0,se.Pt)((({metric:t})=>{e.replayPerformanceEntries.push(function(e){const t=e.entries,n=t[t.length-1],r=n?n.element:void 0,s=e.value,i=Nn(s);return{type:"largest-contentful-paint",name:"largest-contentful-paint",start:i,end:i,data:{value:s,size:s,nodeId:r?hn.mirror.getId(r):void 0}}}(t))}))),()=>{r.forEach((e=>e()))}}const Fn="undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;function Pn(e,t){Fn&&(a.vF.info(e),t&&jn(e))}function zn(e,t){Fn&&(a.vF.info(e),t&&setTimeout((()=>{jn(e)}),0))}function jn(e){var t,n;t={category:"console",data:{logger:"replay"},level:"info",message:e},n={level:"info"},M().addBreadcrumb(t,n)}class Bn extends Error{constructor(){super("Event buffer exceeded maximum size of 20000000.")}}class $n{constructor(){this.events=[],this._totalSize=0,this.hasCheckout=!1}get hasEvents(){return this.events.length>0}get type(){return"sync"}destroy(){this.events=[]}async addEvent(e){const t=JSON.stringify(e).length;if(this._totalSize+=t,this._totalSize>ue)throw new Bn;this.events.push(e)}finish(){return new Promise((e=>{const t=this.events;this.clear(),e(JSON.stringify(t))}))}clear(){this.events=[],this._totalSize=0,this.hasCheckout=!1}getEarliestTimestamp(){const e=this.events.map((e=>e.timestamp)).sort()[0];return e?fn(e):null}}class Un{constructor(e){this._worker=e,this._id=0}ensureReady(){return this._ensureReadyPromise||(this._ensureReadyPromise=new Promise(((e,t)=>{this._worker.addEventListener("message",(({data:n})=>{n.success?e():t()}),{once:!0}),this._worker.addEventListener("error",(e=>{t(e)}),{once:!0})}))),this._ensureReadyPromise}destroy(){Pn("[Replay] Destroying compression worker"),this._worker.terminate()}postMessage(e,t){const n=this._getAndIncrementId();return new Promise(((r,s)=>{const i=({data:t})=>{const o=t;if(o.method===e&&o.id===n){if(this._worker.removeEventListener("message",i),!o.success)return Fn&&a.vF.error("[Replay]",o.response),void s(new Error("Error in compression worker"));r(o.response)}};this._worker.addEventListener("message",i),this._worker.postMessage({id:n,method:e,arg:t})}))}_getAndIncrementId(){return this._id++}}class Wn{constructor(e){this._worker=new Un(e),this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1}get hasEvents(){return!!this._earliestTimestamp}get type(){return"worker"}ensureReady(){return this._worker.ensureReady()}destroy(){this._worker.destroy()}addEvent(e){const t=fn(e.timestamp);(!this._earliestTimestamp||t<this._earliestTimestamp)&&(this._earliestTimestamp=t);const n=JSON.stringify(e);return this._totalSize+=n.length,this._totalSize>ue?Promise.reject(new Bn):this._sendEventToWorker(n)}finish(){return this._finishRequest()}clear(){this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this._worker.postMessage("clear").then(null,(e=>{Fn&&a.vF.warn('[Replay] Sending "clear" message to worker failed',e)}))}getEarliestTimestamp(){return this._earliestTimestamp}_sendEventToWorker(e){return this._worker.postMessage("addEvent",e)}async _finishRequest(){const e=await this._worker.postMessage("finish");return this._earliestTimestamp=null,this._totalSize=0,e}}class Hn{constructor(e){this._fallback=new $n,this._compression=new Wn(e),this._used=this._fallback,this._ensureWorkerIsLoadedPromise=this._ensureWorkerIsLoaded()}get type(){return this._used.type}get hasEvents(){return this._used.hasEvents}get hasCheckout(){return this._used.hasCheckout}set hasCheckout(e){this._used.hasCheckout=e}destroy(){this._fallback.destroy(),this._compression.destroy()}clear(){return this._used.clear()}getEarliestTimestamp(){return this._used.getEarliestTimestamp()}addEvent(e){return this._used.addEvent(e)}async finish(){return await this.ensureWorkerIsLoaded(),this._used.finish()}ensureWorkerIsLoaded(){return this._ensureWorkerIsLoadedPromise}async _ensureWorkerIsLoaded(){try{await this._compression.ensureReady()}catch(e){return void Pn("[Replay] Failed to load the compression worker, falling back to simple buffer")}await this._switchToCompressionWorker()}async _switchToCompressionWorker(){const{events:e,hasCheckout:t}=this._fallback,n=[];for(const s of e)n.push(this._compression.addEvent(s));this._compression.hasCheckout=t,this._used=this._compression;try{await Promise.all(n)}catch(r){Fn&&a.vF.warn("[Replay] Failed to add events when switching buffers.",r)}}}function qn({useCompression:e,workerUrl:t}){if(e&&window.Worker){const e=function(e){try{const t=e||function(){if("undefined"===typeof __SENTRY_EXCLUDE_REPLAY_WORKER__||!__SENTRY_EXCLUDE_REPLAY_WORKER__)return function(){const e=new Blob(['var t=Uint8Array,n=Uint16Array,r=Int32Array,e=new t([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),i=new t([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),a=new t([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),s=function(t,e){for(var i=new n(31),a=0;a<31;++a)i[a]=e+=1<<t[a-1];var s=new r(i[30]);for(a=1;a<30;++a)for(var o=i[a];o<i[a+1];++o)s[o]=o-i[a]<<5|a;return{b:i,r:s}},o=s(e,2),f=o.b,h=o.r;f[28]=258,h[258]=28;for(var l=s(i,0).r,u=new n(32768),c=0;c<32768;++c){var v=(43690&c)>>1|(21845&c)<<1;v=(61680&(v=(52428&v)>>2|(13107&v)<<2))>>4|(3855&v)<<4,u[c]=((65280&v)>>8|(255&v)<<8)>>1}var d=function(t,r,e){for(var i=t.length,a=0,s=new n(r);a<i;++a)t[a]&&++s[t[a]-1];var o,f=new n(r);for(a=1;a<r;++a)f[a]=f[a-1]+s[a-1]<<1;if(e){o=new n(1<<r);var h=15-r;for(a=0;a<i;++a)if(t[a])for(var l=a<<4|t[a],c=r-t[a],v=f[t[a]-1]++<<c,d=v|(1<<c)-1;v<=d;++v)o[u[v]>>h]=l}else for(o=new n(i),a=0;a<i;++a)t[a]&&(o[a]=u[f[t[a]-1]++]>>15-t[a]);return o},g=new t(288);for(c=0;c<144;++c)g[c]=8;for(c=144;c<256;++c)g[c]=9;for(c=256;c<280;++c)g[c]=7;for(c=280;c<288;++c)g[c]=8;var w=new t(32);for(c=0;c<32;++c)w[c]=5;var p=d(g,9,0),y=d(w,5,0),m=function(t){return(t+7)/8|0},b=function(n,r,e){return(null==r||r<0)&&(r=0),(null==e||e>n.length)&&(e=n.length),new t(n.subarray(r,e))},M=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],E=function(t,n,r){var e=new Error(n||M[t]);if(e.code=t,Error.captureStackTrace&&Error.captureStackTrace(e,E),!r)throw e;return e},z=function(t,n,r){r<<=7&n;var e=n/8|0;t[e]|=r,t[e+1]|=r>>8},A=function(t,n,r){r<<=7&n;var e=n/8|0;t[e]|=r,t[e+1]|=r>>8,t[e+2]|=r>>16},_=function(r,e){for(var i=[],a=0;a<r.length;++a)r[a]&&i.push({s:a,f:r[a]});var s=i.length,o=i.slice();if(!s)return{t:F,l:0};if(1==s){var f=new t(i[0].s+1);return f[i[0].s]=1,{t:f,l:1}}i.sort((function(t,n){return t.f-n.f})),i.push({s:-1,f:25001});var h=i[0],l=i[1],u=0,c=1,v=2;for(i[0]={s:-1,f:h.f+l.f,l:h,r:l};c!=s-1;)h=i[i[u].f<i[v].f?u++:v++],l=i[u!=c&&i[u].f<i[v].f?u++:v++],i[c++]={s:-1,f:h.f+l.f,l:h,r:l};var d=o[0].s;for(a=1;a<s;++a)o[a].s>d&&(d=o[a].s);var g=new n(d+1),w=x(i[c-1],g,0);if(w>e){a=0;var p=0,y=w-e,m=1<<y;for(o.sort((function(t,n){return g[n.s]-g[t.s]||t.f-n.f}));a<s;++a){var b=o[a].s;if(!(g[b]>e))break;p+=m-(1<<w-g[b]),g[b]=e}for(p>>=y;p>0;){var M=o[a].s;g[M]<e?p-=1<<e-g[M]++-1:++a}for(;a>=0&&p;--a){var E=o[a].s;g[E]==e&&(--g[E],++p)}w=e}return{t:new t(g),l:w}},x=function(t,n,r){return-1==t.s?Math.max(x(t.l,n,r+1),x(t.r,n,r+1)):n[t.s]=r},D=function(t){for(var r=t.length;r&&!t[--r];);for(var e=new n(++r),i=0,a=t[0],s=1,o=function(t){e[i++]=t},f=1;f<=r;++f)if(t[f]==a&&f!=r)++s;else{if(!a&&s>2){for(;s>138;s-=138)o(32754);s>2&&(o(s>10?s-11<<5|28690:s-3<<5|12305),s=0)}else if(s>3){for(o(a),--s;s>6;s-=6)o(8304);s>2&&(o(s-3<<5|8208),s=0)}for(;s--;)o(a);s=1,a=t[f]}return{c:e.subarray(0,i),n:r}},T=function(t,n){for(var r=0,e=0;e<n.length;++e)r+=t[e]*n[e];return r},k=function(t,n,r){var e=r.length,i=m(n+2);t[i]=255&e,t[i+1]=e>>8,t[i+2]=255^t[i],t[i+3]=255^t[i+1];for(var a=0;a<e;++a)t[i+a+4]=r[a];return 8*(i+4+e)},C=function(t,r,s,o,f,h,l,u,c,v,m){z(r,m++,s),++f[256];for(var b=_(f,15),M=b.t,E=b.l,x=_(h,15),C=x.t,U=x.l,F=D(M),I=F.c,S=F.n,L=D(C),O=L.c,j=L.n,q=new n(19),B=0;B<I.length;++B)++q[31&I[B]];for(B=0;B<O.length;++B)++q[31&O[B]];for(var G=_(q,7),H=G.t,J=G.l,K=19;K>4&&!H[a[K-1]];--K);var N,P,Q,R,V=v+5<<3,W=T(f,g)+T(h,w)+l,X=T(f,M)+T(h,C)+l+14+3*K+T(q,H)+2*q[16]+3*q[17]+7*q[18];if(c>=0&&V<=W&&V<=X)return k(r,m,t.subarray(c,c+v));if(z(r,m,1+(X<W)),m+=2,X<W){N=d(M,E,0),P=M,Q=d(C,U,0),R=C;var Y=d(H,J,0);z(r,m,S-257),z(r,m+5,j-1),z(r,m+10,K-4),m+=14;for(B=0;B<K;++B)z(r,m+3*B,H[a[B]]);m+=3*K;for(var Z=[I,O],$=0;$<2;++$){var tt=Z[$];for(B=0;B<tt.length;++B){var nt=31&tt[B];z(r,m,Y[nt]),m+=H[nt],nt>15&&(z(r,m,tt[B]>>5&127),m+=tt[B]>>12)}}}else N=p,P=g,Q=y,R=w;for(B=0;B<u;++B){var rt=o[B];if(rt>255){A(r,m,N[(nt=rt>>18&31)+257]),m+=P[nt+257],nt>7&&(z(r,m,rt>>23&31),m+=e[nt]);var et=31&rt;A(r,m,Q[et]),m+=R[et],et>3&&(A(r,m,rt>>5&8191),m+=i[et])}else A(r,m,N[rt]),m+=P[rt]}return A(r,m,N[256]),m+P[256]},U=new r([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),F=new t(0),I=function(){for(var t=new Int32Array(256),n=0;n<256;++n){for(var r=n,e=9;--e;)r=(1&r&&-306674912)^r>>>1;t[n]=r}return t}(),S=function(){var t=1,n=0;return{p:function(r){for(var e=t,i=n,a=0|r.length,s=0;s!=a;){for(var o=Math.min(s+2655,a);s<o;++s)i+=e+=r[s];e=(65535&e)+15*(e>>16),i=(65535&i)+15*(i>>16)}t=e,n=i},d:function(){return(255&(t%=65521))<<24|(65280&t)<<8|(255&(n%=65521))<<8|n>>8}}},L=function(a,s,o,f,u){if(!u&&(u={l:1},s.dictionary)){var c=s.dictionary.subarray(-32768),v=new t(c.length+a.length);v.set(c),v.set(a,c.length),a=v,u.w=c.length}return function(a,s,o,f,u,c){var v=c.z||a.length,d=new t(f+v+5*(1+Math.ceil(v/7e3))+u),g=d.subarray(f,d.length-u),w=c.l,p=7&(c.r||0);if(s){p&&(g[0]=c.r>>3);for(var y=U[s-1],M=y>>13,E=8191&y,z=(1<<o)-1,A=c.p||new n(32768),_=c.h||new n(z+1),x=Math.ceil(o/3),D=2*x,T=function(t){return(a[t]^a[t+1]<<x^a[t+2]<<D)&z},F=new r(25e3),I=new n(288),S=new n(32),L=0,O=0,j=c.i||0,q=0,B=c.w||0,G=0;j+2<v;++j){var H=T(j),J=32767&j,K=_[H];if(A[J]=K,_[H]=J,B<=j){var N=v-j;if((L>7e3||q>24576)&&(N>423||!w)){p=C(a,g,0,F,I,S,O,q,G,j-G,p),q=L=O=0,G=j;for(var P=0;P<286;++P)I[P]=0;for(P=0;P<30;++P)S[P]=0}var Q=2,R=0,V=E,W=J-K&32767;if(N>2&&H==T(j-W))for(var X=Math.min(M,N)-1,Y=Math.min(32767,j),Z=Math.min(258,N);W<=Y&&--V&&J!=K;){if(a[j+Q]==a[j+Q-W]){for(var $=0;$<Z&&a[j+$]==a[j+$-W];++$);if($>Q){if(Q=$,R=W,$>X)break;var tt=Math.min(W,$-2),nt=0;for(P=0;P<tt;++P){var rt=j-W+P&32767,et=rt-A[rt]&32767;et>nt&&(nt=et,K=rt)}}}W+=(J=K)-(K=A[J])&32767}if(R){F[q++]=268435456|h[Q]<<18|l[R];var it=31&h[Q],at=31&l[R];O+=e[it]+i[at],++I[257+it],++S[at],B=j+Q,++L}else F[q++]=a[j],++I[a[j]]}}for(j=Math.max(j,B);j<v;++j)F[q++]=a[j],++I[a[j]];p=C(a,g,w,F,I,S,O,q,G,j-G,p),w||(c.r=7&p|g[p/8|0]<<3,p-=7,c.h=_,c.p=A,c.i=j,c.w=B)}else{for(j=c.w||0;j<v+w;j+=65535){var st=j+65535;st>=v&&(g[p/8|0]=w,st=v),p=k(g,p+1,a.subarray(j,st))}c.i=v}return b(d,0,f+m(p)+u)}(a,null==s.level?6:s.level,null==s.mem?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(a.length)))):12+s.mem,o,f,u)},O=function(t,n,r){for(;r;++n)t[n]=r,r>>>=8},j=function(){function n(n,r){if("function"==typeof n&&(r=n,n={}),this.ondata=r,this.o=n||{},this.s={l:0,i:32768,w:32768,z:32768},this.b=new t(98304),this.o.dictionary){var e=this.o.dictionary.subarray(-32768);this.b.set(e,32768-e.length),this.s.i=32768-e.length}}return n.prototype.p=function(t,n){this.ondata(L(t,this.o,0,0,this.s),n)},n.prototype.push=function(n,r){this.ondata||E(5),this.s.l&&E(4);var e=n.length+this.s.z;if(e>this.b.length){if(e>2*this.b.length-32768){var i=new t(-32768&e);i.set(this.b.subarray(0,this.s.z)),this.b=i}var a=this.b.length-this.s.z;a&&(this.b.set(n.subarray(0,a),this.s.z),this.s.z=this.b.length,this.p(this.b,!1)),this.b.set(this.b.subarray(-32768)),this.b.set(n.subarray(a),32768),this.s.z=n.length-a+32768,this.s.i=32766,this.s.w=32768}else this.b.set(n,this.s.z),this.s.z+=n.length;this.s.l=1&r,(this.s.z>this.s.w+8191||r)&&(this.p(this.b,r||!1),this.s.w=this.s.i,this.s.i-=2)},n}();function q(t,n){n||(n={});var r=function(){var t=-1;return{p:function(n){for(var r=t,e=0;e<n.length;++e)r=I[255&r^n[e]]^r>>>8;t=r},d:function(){return~t}}}(),e=t.length;r.p(t);var i,a=L(t,n,10+((i=n).filename?i.filename.length+1:0),8),s=a.length;return function(t,n){var r=n.filename;if(t[0]=31,t[1]=139,t[2]=8,t[8]=n.level<2?4:9==n.level?2:0,t[9]=3,0!=n.mtime&&O(t,4,Math.floor(new Date(n.mtime||Date.now())/1e3)),r){t[3]=8;for(var e=0;e<=r.length;++e)t[e+10]=r.charCodeAt(e)}}(a,n),O(a,s-8,r.d()),O(a,s-4,e),a}var B=function(){function t(t,n){this.c=S(),this.v=1,j.call(this,t,n)}return t.prototype.push=function(t,n){this.c.p(t),j.prototype.push.call(this,t,n)},t.prototype.p=function(t,n){var r=L(t,this.o,this.v&&(this.o.dictionary?6:2),n&&4,this.s);this.v&&(function(t,n){var r=n.level,e=0==r?0:r<6?1:9==r?3:2;if(t[0]=120,t[1]=e<<6|(n.dictionary&&32),t[1]|=31-(t[0]<<8|t[1])%31,n.dictionary){var i=S();i.p(n.dictionary),O(t,2,i.d())}}(r,this.o),this.v=0),n&&O(r,r.length-4,this.c.d()),this.ondata(r,n)},t}(),G="undefined"!=typeof TextEncoder&&new TextEncoder,H="undefined"!=typeof TextDecoder&&new TextDecoder;try{H.decode(F,{stream:!0})}catch(t){}var J=function(){function t(t){this.ondata=t}return t.prototype.push=function(t,n){this.ondata||E(5),this.d&&E(4),this.ondata(K(t),this.d=n||!1)},t}();function K(n,r){if(r){for(var e=new t(n.length),i=0;i<n.length;++i)e[i]=n.charCodeAt(i);return e}if(G)return G.encode(n);var a=n.length,s=new t(n.length+(n.length>>1)),o=0,f=function(t){s[o++]=t};for(i=0;i<a;++i){if(o+5>s.length){var h=new t(o+8+(a-i<<1));h.set(s),s=h}var l=n.charCodeAt(i);l<128||r?f(l):l<2048?(f(192|l>>6),f(128|63&l)):l>55295&&l<57344?(f(240|(l=65536+(1047552&l)|1023&n.charCodeAt(++i))>>18),f(128|l>>12&63),f(128|l>>6&63),f(128|63&l)):(f(224|l>>12),f(128|l>>6&63),f(128|63&l))}return b(s,0,o)}const N=new class{constructor(){this._init()}clear(){this._init()}addEvent(t){if(!t)throw new Error("Adding invalid event");const n=this._hasEvents?",":"";this.stream.push(n+t),this._hasEvents=!0}finish(){this.stream.push("]",!0);const t=function(t){let n=0;for(let r=0,e=t.length;r<e;r++)n+=t[r].length;const r=new Uint8Array(n);for(let n=0,e=0,i=t.length;n<i;n++){const i=t[n];r.set(i,e),e+=i.length}return r}(this._deflatedData);return this._init(),t}_init(){this._hasEvents=!1,this._deflatedData=[],this.deflate=new B,this.deflate.ondata=(t,n)=>{this._deflatedData.push(t)},this.stream=new J(((t,n)=>{this.deflate.push(t,n)})),this.stream.push("[")}},P={clear:()=>{N.clear()},addEvent:t=>N.addEvent(t),finish:()=>N.finish(),compress:t=>function(t){return q(K(t))}(t)};addEventListener("message",(function(t){const n=t.data.method,r=t.data.id,e=t.data.arg;if(n in P&&"function"==typeof P[n])try{const t=P[n](e);postMessage({id:r,method:n,success:!0,response:t})}catch(t){postMessage({id:r,method:n,success:!1,response:t.message}),console.error(t)}})),postMessage({id:void 0,method:"init",success:!0,response:void 0});']);return URL.createObjectURL(e)}();return""}();if(!t)return;Pn("[Replay] Using compression worker"+(e?` from ${e}`:""));const n=new Worker(t);return new Hn(n)}catch(t){Pn("[Replay] Failed to create compression worker")}}(t);if(e)return e}return Pn("[Replay] Using simple buffer"),new $n}function Gn(){try{return"sessionStorage"in ie&&!!ie.sessionStorage}catch(e){return!1}}function Vn(e){!function(){if(!Gn())return;try{ie.sessionStorage.removeItem(oe)}catch(e){}}(),e.session=void 0}function Kn(e){return void 0!==e&&Math.random()<e}function Jn(e){const t=Date.now();return{id:e.id||(0,i.eJ)(),started:e.started||t,lastActivity:e.lastActivity||t,segmentId:e.segmentId||0,sampled:e.sampled,previousSessionId:e.previousSessionId}}function Yn(e){if(Gn())try{ie.sessionStorage.setItem(oe,JSON.stringify(e))}catch(t){}}function Zn({sessionSampleRate:e,allowBuffering:t,stickySession:n=!1},{previousSessionId:r}={}){const s=function(e,t){return Kn(e)?"session":!!t&&"buffer"}(e,t),i=Jn({sampled:s,previousSessionId:r});return n&&Yn(i),i}function Xn(e,t,n=+new Date){return null===e||void 0===t||t<0||0!==t&&e+t<=n}function Qn(e,{maxReplayDuration:t,sessionIdleExpire:n,targetTime:r=Date.now()}){return Xn(e.started,t,r)||Xn(e.lastActivity,n,r)}function er(e,{sessionIdleExpire:t,maxReplayDuration:n}){return!!Qn(e,{sessionIdleExpire:t,maxReplayDuration:n})&&("buffer"!==e.sampled||0!==e.segmentId)}function tr({traceInternals:e,sessionIdleExpire:t,maxReplayDuration:n,previousSessionId:r},s){const i=s.stickySession&&function(e){if(!Gn())return null;try{const t=ie.sessionStorage.getItem(oe);if(!t)return null;const n=JSON.parse(t);return zn("[Replay] Loading existing session",e),Jn(n)}catch(t){return null}}(e);return i?er(i,{sessionIdleExpire:t,maxReplayDuration:n})?(zn("[Replay] Session in sessionStorage is expired, creating new one..."),Zn(s,{previousSessionId:i.id})):i:(zn("[Replay] Creating new session",e),Zn(s,{previousSessionId:r}))}function nr(e,t,n){return!!sr(e,t)&&(rr(e,t,n),!0)}async function rr(e,t,n){if(!e.eventBuffer)return null;try{n&&"buffer"===e.recordingMode&&e.eventBuffer.clear(),n&&(e.eventBuffer.hasCheckout=!0);const r=function(e,t){try{if("function"===typeof t&&function(e){return e.type===bt.Custom}(e))return t(e)}catch(n){return Fn&&a.vF.error("[Replay] An error occured in the `beforeAddRecordingEvent` callback, skipping the event...",n),null}return e}(t,e.getOptions().beforeAddRecordingEvent);if(!r)return;return await e.eventBuffer.addEvent(r)}catch(r){const t=r&&r instanceof Bn?"addEventSizeExceeded":"addEvent";Fn&&a.vF.error(r),await e.stop({reason:t});const n=q();n&&n.recordDroppedEvent("internal_sdk_error","replay")}}function sr(e,t){if(!e.eventBuffer||e.isPaused()||!e.isEnabled())return!1;const n=fn(t.timestamp);return!(n+e.timeouts.sessionIdlePause<Date.now())&&(!(n>e.getContext().initialTimestamp+e.getOptions().maxReplayDuration)||(Pn(`[Replay] Skipping event with timestamp ${n} because it is after maxReplayDuration`,e.getOptions()._experiments.traceInternals),!1))}function ir(e){return!e.type}function or(e){return"transaction"===e.type}function ar(e){return"feedback"===e.type}function cr(e){const t=function(){const e=q();if(!e)return!1;const t=e.getTransport();if(!t)return!1;return t.send.__sentry__baseTransport__||!1}();return(n,r)=>{if(!e.isEnabled()||!ir(n)&&!or(n))return;const s=r&&r.statusCode;t&&(!s||s<200||s>=300)||(or(n)?function(e,t){const n=e.getContext();t.contexts&&t.contexts.trace&&t.contexts.trace.trace_id&&n.traceIds.size<100&&n.traceIds.add(t.contexts.trace.trace_id)}(e,n):function(e,t){const n=e.getContext();t.event_id&&n.errorIds.size<100&&n.errorIds.add(t.event_id);if("buffer"!==e.recordingMode||!t.tags||!t.tags.replayId)return;const{beforeErrorSampling:r}=e.getOptions();if("function"===typeof r&&!r(t))return;setTimeout((()=>{e.sendBufferedReplayOrFlush()}))}(e,n))}}function lr(e){return t=>{e.isEnabled()&&ir(t)&&function(e,t){const n=t.exception&&t.exception.values&&t.exception.values[0].value;if("string"!==typeof n)return;if(n.match(/reactjs\.org\/docs\/error-decoder\.html\?invariant=(418|419|422|423|425)/)||n.match(/(does not match server-rendered HTML|Hydration failed because)/i)){mn(e,xn({category:"replay.hydrate-error"}))}}(e,t)}}function ur(e,t=!1){const n=t?cr(e):void 0;return Object.assign(((t,r)=>{if(!e.isEnabled())return t;if(function(e){return"replay_event"===e.type}(t))return delete t.breadcrumbs,t;if(!ir(t)&&!or(t)&&!ar(t))return t;if(!e.checkAndHandleExpiredSession())return t;if(ar(t))return e.flush(),t.contexts.feedback.replay_id=e.getSessionId(),function(e,t){e.triggerUserActivity(),e.addUpdate((()=>!t.timestamp||(e.throttledAddEvent({type:bt.Custom,timestamp:1e3*t.timestamp,data:{tag:"breadcrumb",payload:{timestamp:t.timestamp,type:"default",category:"sentry.feedback",data:{feedbackId:t.event_id}}}}),!1)))}(e,t),t;if(function(e,t){return!(e.type||!e.exception||!e.exception.values||!e.exception.values.length)&&!(!t.originalException||!t.originalException.__rrweb__)}(t,r)&&!e.getOptions()._experiments.captureExceptions)return Fn&&a.vF.log("[Replay] Ignoring error from rrweb internals",t),null;const s=function(e,t){return"buffer"===e.recordingMode&&t.message!==ae&&!(!t.exception||t.type)&&Kn(e.getOptions().errorSampleRate)}(e,t);return(s||"session"===e.recordingMode)&&(t.tags={...t.tags,replayId:e.getSessionId()}),n&&n(t,{statusCode:200}),t}),{id:"Replay"})}function dr(e,t){return t.map((({type:t,start:n,end:r,name:s,data:i})=>{const o=e.throttledAddEvent({type:bt.Custom,timestamp:n,data:{tag:"performanceSpan",payload:{op:t,description:s,startTimestamp:n,endTimestamp:r,data:i}}});return"string"===typeof o?Promise.resolve(null):o}))}function hr(e){return t=>{if(!e.isEnabled())return;const n=function(e){const{from:t,to:n}=e,r=Date.now()/1e3;return{type:"navigation.push",start:r,end:r,name:n,data:{previous:t}}}(t);null!==n&&(e.getContext().urls.push(n.name),e.triggerUserActivity(),e.addUpdate((()=>(dr(e,[n]),!1))))}}function fr(e,t){e.isEnabled()&&null!==t&&(function(e,t){return(!Fn||!e.getOptions()._experiments.traceInternals)&&V(t,q())}(e,t.name)||e.addUpdate((()=>(dr(e,[t]),!0))))}function pr(e){return t=>{if(!e.isEnabled())return;const n=function(e){const{startTimestamp:t,endTimestamp:n,xhr:r}=e,s=r[Y.Er];if(!t||!n||!s)return null;const{method:i,url:o,status_code:a}=s;return void 0===o?null:{type:"resource.xhr",name:o,start:t/1e3,end:n/1e3,data:{method:i,statusCode:a}}}(t);fr(e,n)}}function mr(e,t){if(e)try{if("string"===typeof e)return t.encode(e).length;if(e instanceof URLSearchParams)return t.encode(e.toString()).length;if(e instanceof FormData){const n=kr(e);return t.encode(n).length}if(e instanceof Blob)return e.size;if(e instanceof ArrayBuffer)return e.byteLength}catch(n){}}function gr(e){if(!e)return;const t=parseInt(e,10);return isNaN(t)?void 0:t}function _r(e){try{if("string"===typeof e)return[e];if(e instanceof URLSearchParams)return[e.toString()];if(e instanceof FormData)return[kr(e)];if(!e)return[void 0]}catch(t){return Fn&&a.vF.warn("[Replay] Failed to serialize body",e),[void 0,"BODY_PARSE_ERROR"]}return Fn&&a.vF.info("[Replay] Skipping network body because of body type",e),[void 0,"UNPARSEABLE_BODY_TYPE"]}function vr(e,t){if(!e)return{headers:{},size:void 0,_meta:{warnings:[t]}};const n={...e._meta},r=n.warnings||[];return n.warnings=[...r,t],e._meta=n,e}function yr(e,t){if(!t)return null;const{startTimestamp:n,endTimestamp:r,url:s,method:i,statusCode:o,request:a,response:c}=t;return{type:e,start:n/1e3,end:r/1e3,name:s,data:(0,p.Ce)({method:i,statusCode:o,request:a,response:c})}}function br(e){return{headers:{},size:e,_meta:{warnings:["URL_SKIPPED"]}}}function wr(e,t,n){if(!t&&0===Object.keys(e).length)return;if(!t)return{headers:e};if(!n)return{headers:e,size:t};const r={headers:e,size:t},{body:s,warnings:i}=function(e){if(!e||"string"!==typeof e)return{body:e};const t=e.length>ce,n=function(e){const t=e[0],n=e[e.length-1];return"["===t&&"]"===n||"{"===t&&"}"===n}(e);if(t){const t=e.slice(0,ce);return n?{body:t,warnings:["MAYBE_JSON_TRUNCATED"]}:{body:`${t}\u2026`,warnings:["TEXT_TRUNCATED"]}}if(n)try{return{body:JSON.parse(e)}}catch(r){}return{body:e}}(n);return r.body=s,i&&i.length>0&&(r._meta={warnings:i}),r}function Sr(e,t){return Object.keys(e).reduce(((n,r)=>{const s=r.toLowerCase();return t.includes(s)&&e[r]&&(n[s]=e[r]),n}),{})}function kr(e){return new URLSearchParams(e).toString()}function Cr(e,t){const n=function(e,t=ie.document.baseURI){if(e.startsWith("http://")||e.startsWith("https://")||e.startsWith(ie.location.origin))return e;const n=new URL(e,t);if(n.origin!==new URL(t).origin)return e;const r=n.href;if(!e.endsWith("/")&&r.endsWith("/"))return r.slice(0,-1);return r}(e);return(0,z.Xr)(n,t)}async function xr(e,t,n){try{const r=await async function(e,t,n){const r=Date.now(),{startTimestamp:s=r,endTimestamp:i=r}=t,{url:o,method:c,status_code:l=0,request_body_size:u,response_body_size:d}=e.data,h=Cr(o,n.networkDetailAllowUrls)&&!Cr(o,n.networkDetailDenyUrls),f=h?function({networkCaptureBodies:e,networkRequestHeaders:t},n,r){const s=n?function(e,t){if(1===e.length&&"string"!==typeof e[0])return Ir(e[0],t);if(2===e.length)return Ir(e[1],t);return{}}(n,t):{};if(!e)return wr(s,r,void 0);const i=Er(n),[o,a]=_r(i),c=wr(s,r,o);if(a)return vr(c,a);return c}(n,t.input,u):br(u),p=await async function(e,{networkCaptureBodies:t,textEncoder:n,networkResponseHeaders:r},s,i){if(!e&&void 0!==i)return br(i);const o=s?Tr(s.headers,r):{};if(!s||!t&&void 0!==i)return wr(o,i,void 0);const[c,l]=await async function(e){const t=function(e){try{return e.clone()}catch(t){Fn&&a.vF.warn("[Replay] Failed to clone response body",t)}}(e);if(!t)return[void 0,"BODY_PARSE_ERROR"];try{const e=await function(e){return new Promise(((t,n)=>{const r=setTimeout((()=>n(new Error("Timeout while trying to read response body"))),500);(async function(e){return await e.text()})(e).then((e=>t(e)),(e=>n(e))).finally((()=>clearTimeout(r)))}))}(t);return[e]}catch(n){return Fn&&a.vF.warn("[Replay] Failed to get text body from response",n),[void 0,"BODY_PARSE_ERROR"]}}(s),u=function(e,{networkCaptureBodies:t,textEncoder:n,responseBodySize:r,captureDetails:s,headers:i}){try{const o=e&&e.length&&void 0===r?mr(e,n):r;return s?wr(i,o,t?e:void 0):br(o)}catch(o){return Fn&&a.vF.warn("[Replay] Failed to serialize response body",o),wr(i,r,void 0)}}(c,{networkCaptureBodies:t,textEncoder:n,responseBodySize:i,captureDetails:e,headers:o});if(l)return vr(u,l);return u}(h,n,t.response,d);return{startTimestamp:s,endTimestamp:i,url:o,method:c,statusCode:l,request:f,response:p}}(e,t,n),s=yr("resource.fetch",r);fr(n.replay,s)}catch(r){Fn&&a.vF.error("[Replay] Failed to capture fetch breadcrumb",r)}}function Er(e=[]){if(2===e.length&&"object"===typeof e[1])return e[1].body}function Tr(e,t){const n={};return t.forEach((t=>{e.get(t)&&(n[t]=e.get(t))})),n}function Ir(e,t){if(!e)return{};const n=e.headers;return n?n instanceof Headers?Tr(n,t):Array.isArray(n)?{}:Sr(n,t):{}}async function Or(e,t,n){try{const r=function(e,t,n){const r=Date.now(),{startTimestamp:s=r,endTimestamp:i=r,input:o,xhr:c}=t,{url:l,method:u,status_code:d=0,request_body_size:h,response_body_size:f}=e.data;if(!l)return null;if(!c||!Cr(l,n.networkDetailAllowUrls)||Cr(l,n.networkDetailDenyUrls)){return{startTimestamp:s,endTimestamp:i,url:l,method:u,statusCode:d,request:br(h),response:br(f)}}const p=c[Y.Er],m=p?Sr(p.request_headers,n.networkRequestHeaders):{},g=Sr(function(e){const t=e.getAllResponseHeaders();if(!t)return{};return t.split("\r\n").reduce(((e,t)=>{const[n,r]=t.split(": ");return e[n.toLowerCase()]=r,e}),{})}(c),n.networkResponseHeaders),[_,v]=n.networkCaptureBodies?_r(o):[void 0],[y,b]=n.networkCaptureBodies?function(e){const t=[];try{return[e.responseText]}catch(n){t.push(n)}try{return function(e,t){try{if("string"===typeof e)return[e];if(e instanceof Document)return[e.body.outerHTML];if("json"===t&&e&&"object"===typeof e)return[JSON.stringify(e)];if(!e)return[void 0]}catch(n){return Fn&&a.vF.warn("[Replay] Failed to serialize body",e),[void 0,"BODY_PARSE_ERROR"]}return Fn&&a.vF.info("[Replay] Skipping network body because of body type",e),[void 0,"UNPARSEABLE_BODY_TYPE"]}(e.response,e.responseType)}catch(n){t.push(n)}return Fn&&a.vF.warn("[Replay] Failed to get xhr response body",...t),[void 0]}(c):[void 0],w=wr(m,h,_),S=wr(g,f,y);return{startTimestamp:s,endTimestamp:i,url:l,method:u,statusCode:d,request:v?vr(w,v):w,response:b?vr(S,b):S}}(e,t,n),s=yr("resource.xhr",r);fr(n.replay,s)}catch(r){Fn&&a.vF.error("[Replay] Failed to capture xhr breadcrumb",r)}}function Ar(e,t,n){const{xhr:r,input:s}=t;if(!r)return;const i=mr(s,n.textEncoder),o=r.getResponseHeader("content-length")?gr(r.getResponseHeader("content-length")):function(e,t,n){try{return mr("json"===t&&e&&"object"===typeof e?JSON.stringify(e):e,n)}catch(r){return}}(r.response,r.responseType,n.textEncoder);void 0!==i&&(e.data.request_body_size=i),void 0!==o&&(e.data.response_body_size=o)}function Rr(e){const t=q();try{const n=new TextEncoder,{networkDetailAllowUrls:r,networkDetailDenyUrls:s,networkCaptureBodies:i,networkRequestHeaders:o,networkResponseHeaders:c}=e.getOptions(),l={replay:e,textEncoder:n,networkDetailAllowUrls:r,networkDetailDenyUrls:s,networkCaptureBodies:i,networkRequestHeaders:o,networkResponseHeaders:c};t&&t.on?t.on("beforeAddBreadcrumb",((e,t)=>function(e,t,n){if(!t.data)return;try{(function(e){return"xhr"===e.category})(t)&&function(e){return e&&e.xhr}(n)&&(Ar(t,n,e),Or(t,n,e)),function(e){return"fetch"===e.category}(t)&&function(e){return e&&e.response}(n)&&(!function(e,t,n){const{input:r,response:s}=t,i=mr(r?Er(r):void 0,n.textEncoder),o=s?gr(s.headers.get("content-length")):void 0;void 0!==i&&(e.data.request_body_size=i),void 0!==o&&(e.data.response_body_size=o)}(t,n,e),xr(t,n,e))}catch(r){Fn&&a.vF.warn("Error when enriching network breadcrumb")}}(l,e,t))):((0,Z.u)(function(e){return t=>{if(!e.isEnabled())return;const n=function(e){const{startTimestamp:t,endTimestamp:n,fetchData:r,response:s}=e;if(!n)return null;const{method:i,url:o}=r;return{type:"resource.fetch",start:t/1e3,end:n/1e3,name:o,data:{method:i,statusCode:s?s.status:void 0}}}(t);fr(e,n)}}(e)),(0,Y.Mn)(pr(e)))}catch(n){}}let Dr=null;const Mr=e=>t=>{if(!e.isEnabled())return;const n=function(e){const t=e.getLastBreadcrumb&&e.getLastBreadcrumb();if(Dr===t||!t)return null;if(Dr=t,!function(e){return!!e.category}(t)||["fetch","xhr","sentry.event","sentry.transaction"].includes(t.category)||t.category.startsWith("ui."))return null;if("console"===t.category)return function(e){const t=e.data&&e.data.arguments;if(!Array.isArray(t)||0===t.length)return xn(e);let n=!1;const r=t.map((e=>{if(!e)return e;if("string"===typeof e)return e.length>le?(n=!0,`${e.slice(0,le)}\u2026`):e;if("object"===typeof e)try{const t=(0,j.S8)(e,7);return JSON.stringify(t).length>le?(n=!0,`${JSON.stringify(t,null,2).slice(0,le)}\u2026`):t}catch(t){}return e}));return xn({...e,data:{...e.data,arguments:r,...n?{_meta:{warnings:["CONSOLE_ARG_TRUNCATED"]}}:{}}})}(t);return xn(t)}(t);n&&mn(e,n)};function Nr(e){const t=G(),n=q();t.addScopeListener(Mr(e)),(0,X.i)(On(e)),(0,Q._)(hr(e)),Rr(e);const r=ur(e,!Lr(n));n&&n.addEventProcessor?n.addEventProcessor(r):function(e){const t=q();t&&t.addEventProcessor&&t.addEventProcessor(e)}(r),Lr(n)&&(n.on("beforeSendEvent",lr(e)),n.on("afterSendEvent",cr(e)),n.on("createDsc",(t=>{const n=e.getSessionId();if(n&&e.isEnabled()&&"session"===e.recordingMode){e.checkAndHandleExpiredSession()&&(t.replay_id=n)}})),n.on("startTransaction",(t=>{e.lastTransaction=t})),n.on("finishTransaction",(t=>{e.lastTransaction=t})),n.on("beforeSendFeedback",((t,n)=>{const r=e.getSessionId();n&&n.includeReplay&&e.isEnabled()&&r&&t.contexts&&t.contexts.feedback&&(t.contexts.feedback.replay_id=r)})))}function Lr(e){return!(!e||!e.on)}function Fr(e){const{jsHeapSizeLimit:t,totalJSHeapSize:n,usedJSHeapSize:r}=e,s=Date.now()/1e3;return{type:"memory",name:"memory",start:s,end:s,data:{memory:{jsHeapSizeLimit:t,totalJSHeapSize:n,usedJSHeapSize:r}}}}function Pr(e){let t=!1;return(n,r)=>{if(!e.checkAndHandleExpiredSession())return void(Fn&&a.vF.warn("[Replay] Received replay event after session expired."));const s=r||!t;t=!0,e.clickDetector&&Cn(e.clickDetector,n),e.addUpdate((()=>{if("buffer"===e.recordingMode&&s&&e.setInitialState(),!nr(e,n,s))return!0;if(!s)return!1;if(function(e,t){if(!t||!e.session||0!==e.session.segmentId)return;nr(e,function(e){const t=e.getOptions();return{type:bt.Custom,timestamp:Date.now(),data:{tag:"options",payload:{shouldRecordCanvas:e.isRecordingCanvas(),sessionSampleRate:t.sessionSampleRate,errorSampleRate:t.errorSampleRate,useCompressionOption:t.useCompression,blockAllMedia:t.blockAllMedia,maskAllText:t.maskAllText,maskAllInputs:t.maskAllInputs,useCompression:!!e.eventBuffer&&"worker"===e.eventBuffer.type,networkDetailHasUrls:t.networkDetailAllowUrls.length>0,networkCaptureBodies:t.networkCaptureBodies,networkRequestHasHeaders:t.networkRequestHeaders.length>0,networkResponseHasHeaders:t.networkResponseHeaders.length>0}}}}(e),!1)}(e,s),e.session&&e.session.previousSessionId)return!0;if("buffer"===e.recordingMode&&e.session&&e.eventBuffer){const t=e.eventBuffer.getEarliestTimestamp();t&&(Pn(`[Replay] Updating session start time to earliest event in buffer to ${new Date(t)}`,e.getOptions()._experiments.traceInternals),e.session.started=t,e.getOptions().stickySession&&Yn(e.session))}return"session"===e.recordingMode&&e.flush(),!0}))}}function zr(e,t,n,r){return(0,ee.h4)((0,ee.n2)(e,(0,ee.Cj)(e),r,n),[[{type:"replay_event"},e],[{type:"replay_recording",length:"string"===typeof t?(new TextEncoder).encode(t).length:t.length},t]])}async function jr({client:e,scope:t,replayId:n,event:r}){const s={event_id:n,integrations:"object"!==typeof e._integrations||null===e._integrations||Array.isArray(e._integrations)?void 0:Object.keys(e._integrations)};e.emit&&e.emit("preprocessEvent",r,s);const i=await B(e.getOptions(),r,s,t,e,M().getIsolationScope());if(!i)return null;i.platform=i.platform||"javascript";const o=e.getSdkMetadata&&e.getSdkMetadata(),{name:a,version:c}=o&&o.sdk||{};return i.sdk={...i.sdk,name:a||"sentry.javascript.unknown",version:c||"0.0.0"},i}async function Br({recordingData:e,replayId:t,segmentId:n,eventContext:r,timestamp:s,session:i}){const o=function({recordingData:e,headers:t}){let n;const r=`${JSON.stringify(t)}\n`;if("string"===typeof e)n=`${r}${e}`;else{const t=(new TextEncoder).encode(r);n=new Uint8Array(t.length+e.length),n.set(t),n.set(e,t.length)}return n}({recordingData:e,headers:{segment_id:n}}),{urls:a,errorIds:c,traceIds:l,initialTimestamp:u}=r,d=q(),h=G(),f=d&&d.getTransport(),p=d&&d.getDsn();if(!d||!f||!p||!i.sampled)return;const m={type:"replay_event",replay_start_timestamp:u/1e3,timestamp:s/1e3,error_ids:c,trace_ids:l,urls:a,replay_id:t,segment_id:n,replay_type:i.sampled},g=await jr({scope:h,client:d,replayId:t,event:m});if(!g)return d.recordDroppedEvent("event_processor","replay",m),void Pn("An event processor returned `null`, will not send event.");delete g.sdkProcessingMetadata;const _=zr(g,o,p,d.getOptions().tunnel);let v;try{v=await f.send(_)}catch(b){const e=new Error(ae);try{e.cause=b}catch(w){}throw e}if(!v)return v;if("number"===typeof v.statusCode&&(v.statusCode<200||v.statusCode>=300))throw new $r(v.statusCode);const y=(0,te.wq)({},v);if((0,te.Jz)(y,"replay"))throw new Ur(y);return v}class $r extends Error{constructor(e){super(`Transport returned status code ${e}`)}}class Ur extends Error{constructor(e){super("Rate limit hit"),this.rateLimits=e}}async function Wr(e,t={count:0,interval:5e3}){const{recordingData:n,options:r}=e;var s,i;if(n.length)try{return await Br(e),!0}catch(o){if(o instanceof $r||o instanceof Ur)throw o;if(s="Replays",i={_retryCount:t.count},M().setContext(s,i),Fn&&r._experiments&&r._experiments.captureExceptions&&H(o),t.count>=3){const e=new Error(`${ae} - max retries exceeded`);try{e.cause=o}catch(a){}throw e}return t.interval*=++t.count,new Promise(((n,r)=>{setTimeout((async()=>{try{await Wr(e,t),n(!0)}catch(o){r(o)}}),t.interval)}))}}const Hr="__THROTTLED";function qr(e,t,n){const r=new Map;let s=!1;return(...i)=>{const o=Math.floor(Date.now()/1e3);if((e=>{const t=e-n;r.forEach(((e,n)=>{n<t&&r.delete(n)}))})(o),[...r.values()].reduce(((e,t)=>e+t),0)>=t){const e=s;return s=!0,e?"__SKIPPED":Hr}s=!1;const a=r.get(o)||0;return r.set(o,a+1),e(...i)}}class Gr{constructor({options:e,recordingOptions:t}){Gr.prototype.__init.call(this),Gr.prototype.__init2.call(this),Gr.prototype.__init3.call(this),Gr.prototype.__init4.call(this),Gr.prototype.__init5.call(this),Gr.prototype.__init6.call(this),this.eventBuffer=null,this.performanceEntries=[],this.replayPerformanceEntries=[],this.recordingMode="session",this.timeouts={sessionIdlePause:3e5,sessionIdleExpire:9e5},this._lastActivity=Date.now(),this._isEnabled=!1,this._isPaused=!1,this._hasInitializedCoreListeners=!1,this._context={errorIds:new Set,traceIds:new Set,urls:[],initialTimestamp:Date.now(),initialUrl:""},this._recordingOptions=t,this._options=e,this._debouncedFlush=function(e,t,n){let r,s,i;const o=n&&n.maxWait?Math.max(n.maxWait,t):0;function a(){return c(),r=e(),r}function c(){void 0!==s&&clearTimeout(s),void 0!==i&&clearTimeout(i),s=i=void 0}function l(){return s&&clearTimeout(s),s=setTimeout(a,t),o&&void 0===i&&(i=setTimeout(a,o)),r}return l.cancel=c,l.flush=function(){return void 0!==s||void 0!==i?a():r},l}((()=>this._flush()),this._options.flushMinDelay,{maxWait:this._options.flushMaxDelay}),this._throttledAddEvent=qr(((e,t)=>function(e,t,n){return sr(e,t)?rr(e,t,n):Promise.resolve(null)}(this,e,t)),300,5);const{slowClickTimeout:n,slowClickIgnoreSelectors:r}=this.getOptions(),s=n?{threshold:Math.min(3e3,n),timeout:n,scrollTimeout:300,ignoreSelector:r?r.join(","):""}:void 0;s&&(this.clickDetector=new wn(this,s))}getContext(){return this._context}isEnabled(){return this._isEnabled}isPaused(){return this._isPaused}isRecordingCanvas(){return Boolean(this._canvas)}getOptions(){return this._options}initializeSampling(e){const{errorSampleRate:t,sessionSampleRate:n}=this._options;t<=0&&n<=0||(this._initializeSessionForSampling(e),this.session?!1!==this.session.sampled&&(this.recordingMode="buffer"===this.session.sampled&&0===this.session.segmentId?"buffer":"session",zn(`[Replay] Starting replay in ${this.recordingMode} mode`,this._options._experiments.traceInternals),this._initializeRecording()):this._handleException(new Error("Unable to initialize and create session")))}start(){if(this._isEnabled&&"session"===this.recordingMode)throw new Error("Replay recording is already in progress");if(this._isEnabled&&"buffer"===this.recordingMode)throw new Error("Replay buffering is in progress, call `flush()` to save the replay");zn("[Replay] Starting replay in session mode",this._options._experiments.traceInternals),this._updateUserActivity();const e=tr({maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire,traceInternals:this._options._experiments.traceInternals},{stickySession:this._options.stickySession,sessionSampleRate:1,allowBuffering:!1});this.session=e,this._initializeRecording()}startBuffering(){if(this._isEnabled)throw new Error("Replay recording is already in progress");zn("[Replay] Starting replay in buffer mode",this._options._experiments.traceInternals);const e=tr({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration,traceInternals:this._options._experiments.traceInternals},{stickySession:this._options.stickySession,sessionSampleRate:0,allowBuffering:!0});this.session=e,this.recordingMode="buffer",this._initializeRecording()}startRecording(){try{const e=this._canvas;this._stopRecording=hn({...this._recordingOptions,..."buffer"===this.recordingMode&&{checkoutEveryNms:6e4},emit:Pr(this),onMutation:this._onMutationHandler,...e?{recordCanvas:e.recordCanvas,getCanvasManager:e.getCanvasManager,sampling:e.sampling,dataURLOptions:e.dataURLOptions}:{}})}catch(e){this._handleException(e)}}stopRecording(){try{return this._stopRecording&&(this._stopRecording(),this._stopRecording=void 0),!0}catch(e){return this._handleException(e),!1}}async stop({forceFlush:e=!1,reason:t}={}){if(this._isEnabled){this._isEnabled=!1;try{Pn("[Replay] Stopping Replay"+(t?` triggered by ${t}`:""),this._options._experiments.traceInternals),this._removeListeners(),this.stopRecording(),this._debouncedFlush.cancel(),e&&await this._flush({force:!0}),this.eventBuffer&&this.eventBuffer.destroy(),this.eventBuffer=null,Vn(this)}catch(n){this._handleException(n)}}}pause(){this._isPaused||(this._isPaused=!0,this.stopRecording(),Pn("[Replay] Pausing replay",this._options._experiments.traceInternals))}resume(){this._isPaused&&this._checkSession()&&(this._isPaused=!1,this.startRecording(),Pn("[Replay] Resuming replay",this._options._experiments.traceInternals))}async sendBufferedReplayOrFlush({continueRecording:e=!0}={}){if("session"===this.recordingMode)return this.flushImmediate();const t=Date.now();Pn("[Replay] Converting buffer to session",this._options._experiments.traceInternals),await this.flushImmediate();const n=this.stopRecording();e&&n&&"session"!==this.recordingMode&&(this.recordingMode="session",this.session&&(this._updateUserActivity(t),this._updateSessionActivity(t),this._maybeSaveSession()),this.startRecording())}addUpdate(e){const t=e();"buffer"!==this.recordingMode&&!0!==t&&this._debouncedFlush()}triggerUserActivity(){if(this._updateUserActivity(),this._stopRecording)this.checkAndHandleExpiredSession(),this._updateSessionActivity();else{if(!this._checkSession())return;this.resume()}}updateUserActivity(){this._updateUserActivity(),this._updateSessionActivity()}conditionalFlush(){return"buffer"===this.recordingMode?Promise.resolve():this.flushImmediate()}flush(){return this._debouncedFlush()}flushImmediate(){return this._debouncedFlush(),this._debouncedFlush.flush()}cancelFlush(){this._debouncedFlush.cancel()}getSessionId(){return this.session&&this.session.id}checkAndHandleExpiredSession(){if(!(this._lastActivity&&Xn(this._lastActivity,this.timeouts.sessionIdlePause)&&this.session&&"session"===this.session.sampled))return!!this._checkSession();this.pause()}setInitialState(){const e=`${ie.location.pathname}${ie.location.hash}${ie.location.search}`,t=`${ie.location.origin}${e}`;this.performanceEntries=[],this.replayPerformanceEntries=[],this._clearContext(),this._context.initialUrl=t,this._context.initialTimestamp=Date.now(),this._context.urls.push(t)}throttledAddEvent(e,t){const n=this._throttledAddEvent(e,t);if(n===Hr){const e=xn({category:"replay.throttled"});this.addUpdate((()=>!nr(this,{type:5,timestamp:e.timestamp||0,data:{tag:"breadcrumb",payload:e,metric:!0}})))}return n}getCurrentRoute(){const e=this.lastTransaction||G().getTransaction(),t=(e&&y(e).data||{})["sentry.source"];if(e&&t&&["route","custom"].includes(t))return y(e).description}_initializeRecording(){this.setInitialState(),this._updateSessionActivity(),this.eventBuffer=qn({useCompression:this._options.useCompression,workerUrl:this._options.workerUrl}),this._removeListeners(),this._addListeners(),this._isEnabled=!0,this._isPaused=!1,this.startRecording()}_handleException(e){Fn&&a.vF.error("[Replay]",e),Fn&&this._options._experiments&&this._options._experiments.captureExceptions&&H(e)}_initializeSessionForSampling(e){const t=this._options.errorSampleRate>0,n=tr({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration,traceInternals:this._options._experiments.traceInternals,previousSessionId:e},{stickySession:this._options.stickySession,sessionSampleRate:this._options.sessionSampleRate,allowBuffering:t});this.session=n}_checkSession(){if(!this.session)return!1;const e=this.session;return!er(e,{sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration})||(this._refreshSession(e),!1)}async _refreshSession(e){this._isEnabled&&(await this.stop({reason:"refresh session"}),this.initializeSampling(e.id))}_addListeners(){try{ie.document.addEventListener("visibilitychange",this._handleVisibilityChange),ie.addEventListener("blur",this._handleWindowBlur),ie.addEventListener("focus",this._handleWindowFocus),ie.addEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.addListeners(),this._hasInitializedCoreListeners||(Nr(this),this._hasInitializedCoreListeners=!0)}catch(e){this._handleException(e)}this._performanceCleanupCallback=Ln(this)}_removeListeners(){try{ie.document.removeEventListener("visibilitychange",this._handleVisibilityChange),ie.removeEventListener("blur",this._handleWindowBlur),ie.removeEventListener("focus",this._handleWindowFocus),ie.removeEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.removeListeners(),this._performanceCleanupCallback&&this._performanceCleanupCallback()}catch(e){this._handleException(e)}}__init(){this._handleVisibilityChange=()=>{"visible"===ie.document.visibilityState?this._doChangeToForegroundTasks():this._doChangeToBackgroundTasks()}}__init2(){this._handleWindowBlur=()=>{const e=xn({category:"ui.blur"});this._doChangeToBackgroundTasks(e)}}__init3(){this._handleWindowFocus=()=>{const e=xn({category:"ui.focus"});this._doChangeToForegroundTasks(e)}}__init4(){this._handleKeyboardEvent=e=>{Rn(this,e)}}_doChangeToBackgroundTasks(e){if(!this.session)return;Qn(this.session,{maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire})||(e&&this._createCustomBreadcrumb(e),this.conditionalFlush())}_doChangeToForegroundTasks(e){if(!this.session)return;this.checkAndHandleExpiredSession()?e&&this._createCustomBreadcrumb(e):Pn("[Replay] Document has become active, but session has expired")}_updateUserActivity(e=Date.now()){this._lastActivity=e}_updateSessionActivity(e=Date.now()){this.session&&(this.session.lastActivity=e,this._maybeSaveSession())}_createCustomBreadcrumb(e){this.addUpdate((()=>{this.throttledAddEvent({type:bt.Custom,timestamp:e.timestamp||0,data:{tag:"breadcrumb",payload:e}})}))}_addPerformanceEntries(){const e=(t=this.performanceEntries,t.map(Mn).filter(Boolean)).concat(this.replayPerformanceEntries);var t;return this.performanceEntries=[],this.replayPerformanceEntries=[],Promise.all(dr(this,e))}_clearContext(){this._context.errorIds.clear(),this._context.traceIds.clear(),this._context.urls=[]}_updateInitialTimestampFromEventBuffer(){const{session:e,eventBuffer:t}=this;if(!e||!t)return;if(e.segmentId)return;const n=t.getEarliestTimestamp();n&&n<this._context.initialTimestamp&&(this._context.initialTimestamp=n)}_popEventContext(){const e={initialTimestamp:this._context.initialTimestamp,initialUrl:this._context.initialUrl,errorIds:Array.from(this._context.errorIds),traceIds:Array.from(this._context.traceIds),urls:this._context.urls};return this._clearContext(),e}async _runFlush(){const e=this.getSessionId();if(this.session&&this.eventBuffer&&e){if(await this._addPerformanceEntries(),this.eventBuffer&&this.eventBuffer.hasEvents&&(await async function(e){try{return Promise.all(dr(e,[Fr(ie.performance.memory)]))}catch(t){return[]}}(this),this.eventBuffer&&e===this.getSessionId()))try{this._updateInitialTimestampFromEventBuffer();const t=Date.now();if(t-this._context.initialTimestamp>this._options.maxReplayDuration+3e4)throw new Error("Session is too long, not sending replay");const n=this._popEventContext(),r=this.session.segmentId++;this._maybeSaveSession();const s=await this.eventBuffer.finish();await Wr({replayId:e,recordingData:s,segmentId:r,eventContext:n,session:this.session,options:this.getOptions(),timestamp:t})}catch(t){this._handleException(t),this.stop({reason:"sendReplay"});const e=q();e&&e.recordDroppedEvent("send_error","replay")}}else Fn&&a.vF.error("[Replay] No session or eventBuffer found to flush.")}__init5(){this._flush=async({force:e=!1}={})=>{if(!this._isEnabled&&!e)return;if(!this.checkAndHandleExpiredSession())return void(Fn&&a.vF.error("[Replay] Attempting to finish replay event after session expired."));if(!this.session)return;const t=this.session.started,n=Date.now()-t;this._debouncedFlush.cancel();const r=n<this._options.minReplayDuration,s=n>this._options.maxReplayDuration+5e3;if(r||s)return Pn(`[Replay] Session duration (${Math.floor(n/1e3)}s) is too ${r?"short":"long"}, not sending replay.`,this._options._experiments.traceInternals),void(r&&this._debouncedFlush());const i=this.eventBuffer;if(i&&0===this.session.segmentId&&!i.hasCheckout&&Pn("[Replay] Flushing initial segment without checkout.",this._options._experiments.traceInternals),!this._flushLock)return this._flushLock=this._runFlush(),await this._flushLock,void(this._flushLock=void 0);try{await this._flushLock}catch(o){Fn&&a.vF.error(o)}finally{this._debouncedFlush()}}}_maybeSaveSession(){this.session&&this._options.stickySession&&Yn(this.session)}__init6(){this._onMutationHandler=e=>{const t=e.length,n=this._options.mutationLimit,r=n&&t>n;if(t>this._options.mutationBreadcrumbLimit||r){const e=xn({category:"replay.mutations",data:{count:t,limit:r}});this._createCustomBreadcrumb(e)}return!r||(this.stop({reason:"mutationLimit",forceFlush:"session"===this.recordingMode}),!1)}}}function Vr(e,t,n,r){const s=[...e,..."string"===typeof r?r.split(","):[],...t];return"undefined"!==typeof n&&("string"===typeof n&&s.push(`.${n}`),(0,a.pq)((()=>{}))),s.join(",")}const Kr='img,image,svg,video,object,picture,embed,map,audio,link[rel="icon"],link[rel="apple-touch-icon"]',Jr=["content-length","content-type","accept"];let Yr=!1;const Zr=e=>new Xr(e);class Xr{static __initStatic(){this.id="Replay"}constructor({flushMinDelay:e=5e3,flushMaxDelay:t=5500,minReplayDuration:n=4999,maxReplayDuration:r=36e5,stickySession:s=!0,useCompression:i=!0,workerUrl:o,_experiments:a={},sessionSampleRate:c,errorSampleRate:l,maskAllText:u=!0,maskAllInputs:d=!0,blockAllMedia:h=!0,mutationBreadcrumbLimit:f=750,mutationLimit:p=1e4,slowClickTimeout:m=7e3,slowClickIgnoreSelectors:g=[],networkDetailAllowUrls:_=[],networkDetailDenyUrls:v=[],networkCaptureBodies:y=!0,networkRequestHeaders:b=[],networkResponseHeaders:w=[],mask:S=[],maskAttributes:k=["title","placeholder"],unmask:C=[],block:x=[],unblock:E=[],ignore:T=[],maskFn:I,beforeAddRecordingEvent:O,beforeErrorSampling:A,blockClass:R,blockSelector:D,maskInputOptions:M,maskTextClass:N,maskTextSelector:L,ignoreClass:F}={}){this.name=Xr.id;const P=function({mask:e,unmask:t,block:n,unblock:r,ignore:s,blockClass:i,blockSelector:o,maskTextClass:a,maskTextSelector:c,ignoreClass:l}){const u={maskTextSelector:Vr(e,[".sentry-mask","[data-sentry-mask]"],a,c),unmaskTextSelector:Vr(t,[".sentry-unmask","[data-sentry-unmask]"]),blockSelector:Vr(n,[".sentry-block","[data-sentry-block]",'base[href="/"]'],i,o),unblockSelector:Vr(r,[".sentry-unblock","[data-sentry-unblock]"]),ignoreSelector:Vr(s,[".sentry-ignore","[data-sentry-ignore]",'input[type="file"]'],l)};return i instanceof RegExp&&(u.blockClass=i),a instanceof RegExp&&(u.maskTextClass=a),u}({mask:S,unmask:C,block:x,unblock:E,ignore:T,blockClass:R,blockSelector:D,maskTextClass:N,maskTextSelector:L,ignoreClass:F});if(this._recordingOptions={maskAllInputs:d,maskAllText:u,maskInputOptions:{...M||{},password:!0},maskTextFn:I,maskInputFn:I,maskAttributeFn:(e,t,n)=>function({el:e,key:t,maskAttributes:n,maskAllText:r,privacyOptions:s,value:i}){return r?s.unmaskTextSelector&&e.matches(s.unmaskTextSelector)?i:n.includes(t)||"value"===t&&"INPUT"===e.tagName&&["submit","button"].includes(e.getAttribute("type")||"")?i.replace(/[\S]/g,"*"):i:i}({maskAttributes:k,maskAllText:u,privacyOptions:P,key:e,value:t,el:n}),...P,slimDOMOptions:"all",inlineStylesheet:!0,inlineImages:!1,collectFonts:!0,errorHandler:e=>{try{e.__rrweb__=!0}catch(t){}}},this._initialOptions={flushMinDelay:e,flushMaxDelay:t,minReplayDuration:Math.min(n,15e3),maxReplayDuration:Math.min(r,de),stickySession:s,sessionSampleRate:c,errorSampleRate:l,useCompression:i,workerUrl:o,blockAllMedia:h,maskAllInputs:d,maskAllText:u,mutationBreadcrumbLimit:f,mutationLimit:p,slowClickTimeout:m,slowClickIgnoreSelectors:g,networkDetailAllowUrls:_,networkDetailDenyUrls:v,networkCaptureBodies:y,networkRequestHeaders:Qr(b),networkResponseHeaders:Qr(w),beforeAddRecordingEvent:O,beforeErrorSampling:A,_experiments:a},"number"===typeof c&&(this._initialOptions.sessionSampleRate=c),"number"===typeof l&&(this._initialOptions.errorSampleRate=l),this._initialOptions.blockAllMedia&&(this._recordingOptions.blockSelector=this._recordingOptions.blockSelector?`${this._recordingOptions.blockSelector},${Kr}`:Kr),this._isInitialized&&re())throw new Error("Multiple Sentry Session Replay instances are not supported");this._isInitialized=!0}get _isInitialized(){return Yr}set _isInitialized(e){Yr=e}setupOnce(){re()&&(this._setup(),setTimeout((()=>this._initialize())))}start(){this._replay&&this._replay.start()}startBuffering(){this._replay&&this._replay.startBuffering()}stop(){return this._replay?this._replay.stop({forceFlush:"session"===this._replay.recordingMode}):Promise.resolve()}flush(e){return this._replay&&this._replay.isEnabled()?this._replay.sendBufferedReplayOrFlush(e):Promise.resolve()}getReplayId(){if(this._replay&&this._replay.isEnabled())return this._replay.getSessionId()}_initialize(){this._replay&&(this._maybeLoadFromReplayCanvasIntegration(),this._replay.initializeSampling())}_setup(){const e=function(e){const t=q(),n=t&&t.getOptions(),r={sessionSampleRate:0,errorSampleRate:0,...(0,p.Ce)(e)};if(!n)return(0,a.pq)((()=>{})),r;null==e.sessionSampleRate&&null==e.errorSampleRate&&null==n.replaysSessionSampleRate&&null==n.replaysOnErrorSampleRate&&(0,a.pq)((()=>{}));"number"===typeof n.replaysSessionSampleRate&&(r.sessionSampleRate=n.replaysSessionSampleRate);"number"===typeof n.replaysOnErrorSampleRate&&(r.errorSampleRate=n.replaysOnErrorSampleRate);return r}(this._initialOptions);this._replay=new Gr({options:e,recordingOptions:this._recordingOptions})}_maybeLoadFromReplayCanvasIntegration(){try{const e=q().getIntegrationByName("ReplayCanvas");if(!e)return;this._replay._canvas=e.getOptions()}catch(e){}}}function Qr(e){return[...Jr,...e.map((e=>e.toLowerCase()))]}Xr.__initStatic()},70411:(e,t,n)=>{"use strict";n.d(t,{$N:()=>c,Hd:()=>o,NX:()=>l,xE:()=>u});var r=n(30747);const s=(0,n(91444).VZ)(),i=80;function o(e,t={}){if(!e)return"<unknown>";try{let n=e;const r=5,s=[];let o=0,c=0;const l=" > ",u=l.length;let d;const h=Array.isArray(t)?t:t.keyAttrs,f=!Array.isArray(t)&&t.maxStringLength||i;for(;n&&o++<r&&(d=a(n,h),!("html"===d||o>1&&c+s.length*u+d.length>=f));)s.push(d),c+=d.length,n=n.parentNode;return s.reverse().join(l)}catch(n){return"<unknown>"}}function a(e,t){const n=e,i=[];let o,a,c,l,u;if(!n||!n.tagName)return"";if(s.HTMLElement&&n instanceof HTMLElement&&n.dataset&&n.dataset.sentryComponent)return n.dataset.sentryComponent;i.push(n.tagName.toLowerCase());const d=t&&t.length?t.filter((e=>n.getAttribute(e))).map((e=>[e,n.getAttribute(e)])):null;if(d&&d.length)d.forEach((e=>{i.push(`[${e[0]}="${e[1]}"]`)}));else if(n.id&&i.push(`#${n.id}`),o=n.className,o&&(0,r.Kg)(o))for(a=o.split(/\s+/),u=0;u<a.length;u++)i.push(`.${a[u]}`);const h=["aria-label","type","name","title","alt"];for(u=0;u<h.length;u++)c=h[u],l=n.getAttribute(c),l&&i.push(`[${c}="${l}"]`);return i.join("")}function c(){try{return s.document.location.href}catch(e){return""}}function l(e){return s.document&&s.document.querySelector?s.document.querySelector(e):null}function u(e){if(!s.HTMLElement)return null;let t=e;for(let n=0;n<5;n++){if(!t)return null;if(t instanceof HTMLElement&&t.dataset.sentryComponent)return t.dataset.sentryComponent;t=t.parentNode}return null}},30246:(e,t,n)=>{"use strict";n.d(t,{AD:()=>c,SB:()=>o});var r=n(5189),s=n(83887);const i=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function o(e,t=!1){const{host:n,path:r,pass:s,port:i,projectId:o,protocol:a,publicKey:c}=e;return`${a}://${c}${t&&s?`:${s}`:""}@${n}${i?`:${i}`:""}/${r?`${r}/`:r}${o}`}function a(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function c(e){const t="string"===typeof e?function(e){const t=i.exec(e);if(!t)return void(0,s.pq)((()=>{}));const[n,r,o="",c,l="",u]=t.slice(1);let d="",h=u;const f=h.split("/");if(f.length>1&&(d=f.slice(0,-1).join("/"),h=f.pop()),h){const e=h.match(/^\d+/);e&&(h=e[0])}return a({host:c,pass:o,path:d,projectId:h,port:l,protocol:n,publicKey:r})}(e):a(e);if(t&&function(e){if(!r.T)return!0;const{port:t,projectId:n,protocol:i}=e;return!["protocol","publicKey","host","projectId"].find((t=>!e[t]&&(s.vF.error(`Invalid Sentry Dsn: ${t} missing`),!0)))&&(n.match(/^\d+$/)?function(e){return"http"===e||"https"===e}(i)?!t||!isNaN(parseInt(t,10))||(s.vF.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):(s.vF.error(`Invalid Sentry Dsn: Invalid protocol ${i}`),!1):(s.vF.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1))}(t))return t}},49728:(e,t,n)=>{"use strict";function r(){return"undefined"!==typeof __SENTRY_BROWSER_BUNDLE__&&!!__SENTRY_BROWSER_BUNDLE__}function s(){return"npm"}n.d(t,{Z:()=>r,e:()=>s})},44103:(e,t,n)=>{"use strict";n.d(t,{Cj:()=>p,W3:()=>a,bN:()=>u,bm:()=>d,h4:()=>o,n2:()=>m,yH:()=>c,zk:()=>f});var r=n(30246),s=n(96008),i=n(9576);function o(e,t=[]){return[e,t]}function a(e,t){const[n,r]=e;return[n,[...r,t]]}function c(e,t){const n=e[1];for(const r of n){if(t(r,r[0].type))return!0}return!1}function l(e,t){return(t||new TextEncoder).encode(e)}function u(e,t){const[n,r]=e;let i=JSON.stringify(n);function o(e){"string"===typeof i?i="string"===typeof e?i+e:[l(i,t),e]:i.push("string"===typeof e?l(e,t):e)}for(const c of r){const[e,t]=c;if(o(`\n${JSON.stringify(e)}\n`),"string"===typeof t||t instanceof Uint8Array)o(t);else{let e;try{e=JSON.stringify(t)}catch(a){e=JSON.stringify((0,s.S8)(t))}o(e)}}return"string"===typeof i?i:function(e){const t=e.reduce(((e,t)=>e+t.length),0),n=new Uint8Array(t);let r=0;for(const s of e)n.set(s,r),r+=s.length;return n}(i)}function d(e,t){const n="string"===typeof e.data?l(e.data,t):e.data;return[(0,i.Ce)({type:"attachment",length:n.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType}),n]}const h={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",statsd:"metric_bucket"};function f(e){return h[e]}function p(e){if(!e||!e.sdk)return;const{name:t,version:n}=e.sdk;return{name:t,version:n}}function m(e,t,n,s){const o=e.sdkProcessingMetadata&&e.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:e.event_id,sent_at:(new Date).toISOString(),...t&&{sdk:t},...!!n&&s&&{dsn:(0,r.SB)(s)},...o&&{trace:(0,i.Ce)({...o})}}}},6957:(e,t,n)=>{"use strict";n.d(t,{AS:()=>l,aj:()=>u,s5:()=>c});var r=n(5189),s=n(83887),i=n(84814);const o={},a={};function c(e,t){o[e]=o[e]||[],o[e].push(t)}function l(e,t){a[e]||(t(),a[e]=!0)}function u(e,t){const n=e&&o[e];if(n)for(const o of n)try{o(t)}catch(a){r.T&&s.vF.error(`Error while triggering instrumentation handler.\nType: ${e}\nName: ${(0,i.qQ)(o)}\nError:`,a)}}},5333:(e,t,n)=>{"use strict";n.d(t,{i:()=>h});var r=n(4475),s=n(9576),i=n(91444),o=n(6957);const a=i.OW,c=1e3;let l,u,d;function h(e){(0,o.s5)("dom",e),(0,o.AS)("dom",f)}function f(){if(!a.document)return;const e=o.aj.bind(null,"dom"),t=p(e,!0);a.document.addEventListener("click",t,!1),a.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach((t=>{const n=a[t]&&a[t].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&((0,s.GS)(n,"addEventListener",(function(t){return function(n,r,s){if("click"===n||"keypress"==n)try{const r=this,i=r.__sentry_instrumentation_handlers__=r.__sentry_instrumentation_handlers__||{},o=i[n]=i[n]||{refCount:0};if(!o.handler){const r=p(e);o.handler=r,t.call(this,n,r,s)}o.refCount++}catch(i){}return t.call(this,n,r,s)}})),(0,s.GS)(n,"removeEventListener",(function(e){return function(t,n,r){if("click"===t||"keypress"==t)try{const n=this,s=n.__sentry_instrumentation_handlers__||{},i=s[t];i&&(i.refCount--,i.refCount<=0&&(e.call(this,t,i.handler,r),i.handler=void 0,delete s[t]),0===Object.keys(s).length&&delete n.__sentry_instrumentation_handlers__)}catch(s){}return e.call(this,t,n,r)}})))}))}function p(e,t=!1){return n=>{if(!n||n._sentryCaptured)return;const i=function(e){try{return e.target}catch(t){return null}}(n);if(function(e,t){return"keypress"===e&&(!t||!t.tagName||"INPUT"!==t.tagName&&"TEXTAREA"!==t.tagName&&!t.isContentEditable)}(n.type,i))return;(0,s.my)(n,"_sentryCaptured",!0),i&&!i._sentryId&&(0,s.my)(i,"_sentryId",(0,r.eJ)());const o="keypress"===n.type?"input":n.type;if(!function(e){if(e.type!==u)return!1;try{if(!e.target||e.target._sentryId!==d)return!1}catch(t){}return!0}(n)){e({event:n,name:o,global:t}),u=n.type,d=i?i._sentryId:void 0}clearTimeout(l),l=a.setTimeout((()=>{d=void 0,u=void 0}),c)}}},36733:(e,t,n)=>{"use strict";n.d(t,{u:()=>a});var r=n(9576),s=n(9863),i=n(91444),o=n(6957);function a(e){const t="fetch";(0,o.s5)(t,e),(0,o.AS)(t,c)}function c(){(0,s.m7)()&&(0,r.GS)(i.OW,"fetch",(function(e){return function(...t){const{method:n,url:r}=function(e){if(0===e.length)return{method:"GET",url:""};if(2===e.length){const[t,n]=e;return{url:u(t),method:l(n,"method")?String(n.method).toUpperCase():"GET"}}const t=e[0];return{url:u(t),method:l(t,"method")?String(t.method).toUpperCase():"GET"}}(t),s={args:t,fetchData:{method:n,url:r},startTimestamp:Date.now()};return(0,o.aj)("fetch",{...s}),e.apply(i.OW,t).then((e=>{const t={...s,endTimestamp:Date.now(),response:e};return(0,o.aj)("fetch",t),e}),(e=>{const t={...s,endTimestamp:Date.now(),error:e};throw(0,o.aj)("fetch",t),e}))}}))}function l(e,t){return!!e&&"object"===typeof e&&!!e[t]}function u(e){return"string"===typeof e?e:e?l(e,"url")?e.url:e.toString?e.toString():"":""}},19150:(e,t,n)=>{"use strict";n.d(t,{L:()=>o});var r=n(91444),s=n(6957);let i=null;function o(e){const t="error";(0,s.s5)(t,e),(0,s.AS)(t,a)}function a(){i=r.OW.onerror,r.OW.onerror=function(e,t,n,r,o){const a={column:r,error:o,line:n,msg:e,url:t};return(0,s.aj)("error",a),!(!i||i.__SENTRY_LOADER__)&&i.apply(this,arguments)},r.OW.onerror.__SENTRY_INSTRUMENTED__=!0}},87976:(e,t,n)=>{"use strict";n.d(t,{r:()=>o});var r=n(91444),s=n(6957);let i=null;function o(e){const t="unhandledrejection";(0,s.s5)(t,e),(0,s.AS)(t,a)}function a(){i=r.OW.onunhandledrejection,r.OW.onunhandledrejection=function(e){const t=e;return(0,s.aj)("unhandledrejection",t),!(i&&!i.__SENTRY_LOADER__)||i.apply(this,arguments)},r.OW.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}},22059:(e,t,n)=>{"use strict";n.d(t,{_:()=>l});var r=n(9576),s=n(91444);const i=(0,s.VZ)();var o=n(6957);const a=s.OW;let c;function l(e){const t="history";(0,o.s5)(t,e),(0,o.AS)(t,u)}function u(){if(!function(){const e=i.chrome,t=e&&e.app&&e.app.runtime,n="history"in i&&!!i.history.pushState&&!!i.history.replaceState;return!t&&n}())return;const e=a.onpopstate;function t(e){return function(...t){const n=t.length>2?t[2]:void 0;if(n){const e=c,t=String(n);c=t;const r={from:e,to:t};(0,o.aj)("history",r)}return e.apply(this,t)}}a.onpopstate=function(...t){const n=a.location.href,r=c;c=n;const s={from:r,to:n};if((0,o.aj)("history",s),e)try{return e.apply(this,t)}catch(i){}},(0,r.GS)(a.history,"pushState",t),(0,r.GS)(a.history,"replaceState",t)}},4795:(e,t,n)=>{"use strict";n.d(t,{Er:()=>c,Mn:()=>l});var r=n(30747),s=n(9576),i=n(91444),o=n(6957);const a=i.OW,c="__sentry_xhr_v3__";function l(e){(0,o.s5)("xhr",e),(0,o.AS)("xhr",u)}function u(){if(!a.XMLHttpRequest)return;const e=XMLHttpRequest.prototype;(0,s.GS)(e,"open",(function(e){return function(...t){const n=Date.now(),i=(0,r.Kg)(t[0])?t[0].toUpperCase():void 0,a=function(e){if((0,r.Kg)(e))return e;try{return e.toString()}catch(t){}return}(t[1]);if(!i||!a)return e.apply(this,t);this[c]={method:i,url:a,request_headers:{}},"POST"===i&&a.match(/sentry_key/)&&(this.__sentry_own_request__=!0);const l=()=>{const e=this[c];if(e&&4===this.readyState){try{e.status_code=this.status}catch(t){}const r={args:[i,a],endTimestamp:Date.now(),startTimestamp:n,xhr:this};(0,o.aj)("xhr",r)}};return"onreadystatechange"in this&&"function"===typeof this.onreadystatechange?(0,s.GS)(this,"onreadystatechange",(function(e){return function(...t){return l(),e.apply(this,t)}})):this.addEventListener("readystatechange",l),(0,s.GS)(this,"setRequestHeader",(function(e){return function(...t){const[n,s]=t,i=this[c];return i&&(0,r.Kg)(n)&&(0,r.Kg)(s)&&(i.request_headers[n.toLowerCase()]=s),e.apply(this,t)}})),e.apply(this,t)}})),(0,s.GS)(e,"send",(function(e){return function(...t){const n=this[c];if(!n)return e.apply(this,t);void 0!==t[0]&&(n.body=t[0]);const r={args:[n.method,n.url],startTimestamp:Date.now(),xhr:this};return(0,o.aj)("xhr",r),e.apply(this,t)}}))}},30747:(e,t,n)=>{"use strict";n.d(t,{BD:()=>a,Kg:()=>l,L2:()=>b,NF:()=>u,Qd:()=>h,Qg:()=>g,T2:()=>o,W6:()=>c,bJ:()=>s,gd:()=>m,mE:()=>_,sO:()=>d,tH:()=>y,vq:()=>p,xH:()=>f,yr:()=>v});const r=Object.prototype.toString;function s(e){switch(r.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return y(e,Error)}}function i(e,t){return r.call(e)===`[object ${t}]`}function o(e){return i(e,"ErrorEvent")}function a(e){return i(e,"DOMError")}function c(e){return i(e,"DOMException")}function l(e){return i(e,"String")}function u(e){return"object"===typeof e&&null!==e&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function d(e){return null===e||u(e)||"object"!==typeof e&&"function"!==typeof e}function h(e){return i(e,"Object")}function f(e){return"undefined"!==typeof Event&&y(e,Event)}function p(e){return"undefined"!==typeof Element&&y(e,Element)}function m(e){return i(e,"RegExp")}function g(e){return Boolean(e&&e.then&&"function"===typeof e.then)}function _(e){return h(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function v(e){return"number"===typeof e&&e!==e}function y(e,t){try{return e instanceof t}catch(n){return!1}}function b(e){return!("object"!==typeof e||null===e||!e.__isVue&&!e._isVue)}},83887:(e,t,n)=>{"use strict";n.d(t,{Ow:()=>i,Z9:()=>o,pq:()=>a,vF:()=>c});var r=n(5189),s=n(91444);const i=["debug","info","warn","error","log","assert","trace"],o={};function a(e){if(!("console"in s.OW))return e();const t=s.OW.console,n={},r=Object.keys(o);r.forEach((e=>{const r=o[e];n[e]=t[e],t[e]=r}));try{return e()}finally{r.forEach((e=>{t[e]=n[e]}))}}const c=function(){let e=!1;const t={enable:()=>{e=!0},disable:()=>{e=!1},isEnabled:()=>e};return r.T?i.forEach((n=>{t[n]=(...t)=>{e&&a((()=>{s.OW.console[n](`Sentry Logger [${n}]:`,...t)}))}})):i.forEach((e=>{t[e]=()=>{}})),t}()},4475:(e,t,n)=>{"use strict";n.d(t,{$X:()=>a,GR:()=>u,M6:()=>l,eJ:()=>i,gO:()=>c,k9:()=>d});var r=n(9576),s=n(91444);function i(){const e=s.OW,t=e.crypto||e.msCrypto;let n=()=>16*Math.random();try{if(t&&t.randomUUID)return t.randomUUID().replace(/-/g,"");t&&t.getRandomValues&&(n=()=>{const e=new Uint8Array(1);return t.getRandomValues(e),e[0]})}catch(r){}return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,(e=>(e^(15&n())>>e/4).toString(16)))}function o(e){return e.exception&&e.exception.values?e.exception.values[0]:void 0}function a(e){const{message:t,event_id:n}=e;if(t)return t;const r=o(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"<unknown>":n||"<unknown>"}function c(e,t,n){const r=e.exception=e.exception||{},s=r.values=r.values||[],i=s[0]=s[0]||{};i.value||(i.value=t||""),i.type||(i.type=n||"Error")}function l(e,t){const n=o(e);if(!n)return;const r=n.mechanism;if(n.mechanism={type:"generic",handled:!0,...r,...t},t&&"data"in t){const e={...r&&r.data,...t.data};n.mechanism.data=e}}function u(e){if(e&&e.__sentry_captured__)return!0;try{(0,r.my)(e,"__sentry_captured__",!0)}catch(t){}return!1}function d(e){return Array.isArray(e)?e:[e]}},18631:(e,t,n)=>{"use strict";n.d(t,{wD:()=>i});var r=n(49728);e=n.hmd(e);var s=n(88295);function i(){return!(0,r.Z)()&&"[object process]"===Object.prototype.toString.call("undefined"!==typeof s?s:0)}},96008:(e,t,n)=>{"use strict";n.d(t,{S8:()=>o,cd:()=>a});var r=n(30747);var s=n(9576),i=n(84814);function o(e,t=100,n=1/0){try{return c("",e,t,n)}catch(r){return{ERROR:`**non-serializable** (${r})`}}}function a(e,t=3,n=102400){const r=o(e,t);return s=r,function(e){return~-encodeURI(e).split(/%..|./).length}(JSON.stringify(s))>n?a(e,t-1,n):r;var s}function c(e,t,o=1/0,a=1/0,l=function(){const e="function"===typeof WeakSet,t=e?new WeakSet:[];return[function(n){if(e)return!!t.has(n)||(t.add(n),!1);for(let e=0;e<t.length;e++)if(t[e]===n)return!0;return t.push(n),!1},function(n){if(e)t.delete(n);else for(let e=0;e<t.length;e++)if(t[e]===n){t.splice(e,1);break}}]}()){const[u,d]=l;if(null==t||["number","boolean","string"].includes(typeof t)&&!(0,r.yr)(t))return t;const h=function(e,t){try{if("domain"===e&&t&&"object"===typeof t&&t._events)return"[Domain]";if("domainEmitter"===e)return"[DomainEmitter]";if("undefined"!==typeof n.g&&t===n.g)return"[Global]";if("undefined"!==typeof window&&t===window)return"[Window]";if("undefined"!==typeof document&&t===document)return"[Document]";if((0,r.L2)(t))return"[VueViewModel]";if((0,r.mE)(t))return"[SyntheticEvent]";if("number"===typeof t&&t!==t)return"[NaN]";if("function"===typeof t)return`[Function: ${(0,i.qQ)(t)}]`;if("symbol"===typeof t)return`[${String(t)}]`;if("bigint"===typeof t)return`[BigInt: ${String(t)}]`;const s=function(e){const t=Object.getPrototypeOf(e);return t?t.constructor.name:"null prototype"}(t);return/^HTML(\w*)Element$/.test(s)?`[HTMLElement: ${s}]`:`[object ${s}]`}catch(s){return`**non-serializable** (${s})`}}(e,t);if(!h.startsWith("[object "))return h;if(t.__sentry_skip_normalization__)return t;const f="number"===typeof t.__sentry_override_normalization_depth__?t.__sentry_override_normalization_depth__:o;if(0===f)return h.replace("object ","");if(u(t))return"[Circular ~]";const p=t;if(p&&"function"===typeof p.toJSON)try{return c("",p.toJSON(),f-1,a,l)}catch(v){}const m=Array.isArray(t)?[]:{};let g=0;const _=(0,s.W4)(t);for(const n in _){if(!Object.prototype.hasOwnProperty.call(_,n))continue;if(g>=a){m[n]="[MaxProperties ~]";break}const e=_[n];m[n]=c(n,e,f-1,a,l),g++}return d(t),m}},9576:(e,t,n)=>{"use strict";n.d(t,{Ce:()=>_,GS:()=>c,HF:()=>g,W4:()=>f,my:()=>l,pO:()=>u,sp:()=>d,u4:()=>h});var r=n(70411),s=n(5189),i=n(30747),o=n(83887),a=n(78198);function c(e,t,n){if(!(t in e))return;const r=e[t],s=n(r);"function"===typeof s&&u(s,r),e[t]=s}function l(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch(r){s.T&&o.vF.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function u(e,t){try{const n=t.prototype||{};e.prototype=t.prototype=n,l(e,"__sentry_original__",t)}catch(n){}}function d(e){return e.__sentry_original__}function h(e){return Object.keys(e).map((t=>`${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`)).join("&")}function f(e){if((0,i.bJ)(e))return{message:e.message,name:e.name,stack:e.stack,...m(e)};if((0,i.xH)(e)){const t={type:e.type,target:p(e.target),currentTarget:p(e.currentTarget),...m(e)};return"undefined"!==typeof CustomEvent&&(0,i.tH)(e,CustomEvent)&&(t.detail=e.detail),t}return e}function p(e){try{return(0,i.vq)(e)?(0,r.Hd)(e):Object.prototype.toString.call(e)}catch(t){return"<unknown>"}}function m(e){if("object"===typeof e&&null!==e){const t={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}return{}}function g(e,t=40){const n=Object.keys(f(e));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=t)return(0,a.xv)(n[0],t);for(let r=n.length;r>0;r--){const e=n.slice(0,r).join(", ");if(!(e.length>t))return r===n.length?e:(0,a.xv)(e,t)}return""}function _(e){return v(e,new Map)}function v(e,t){if(function(e){if(!(0,i.Qd)(e))return!1;try{const t=Object.getPrototypeOf(e).constructor.name;return!t||"Object"===t}catch(t){return!0}}(e)){const n=t.get(e);if(void 0!==n)return n;const r={};t.set(e,r);for(const s of Object.keys(e))"undefined"!==typeof e[s]&&(r[s]=v(e[s],t));return r}if(Array.isArray(e)){const n=t.get(e);if(void 0!==n)return n;const r=[];return t.set(e,r),e.forEach((e=>{r.push(v(e,t))})),r}return e}},16350:(e,t,n)=>{"use strict";n.d(t,{Jz:()=>s,wq:()=>i});const r=6e4;function s(e,t,n=Date.now()){return function(e,t){return e[t]||e.all||0}(e,t)>n}function i(e,{statusCode:t,headers:n},s=Date.now()){const i={...e},o=n&&n["x-sentry-rate-limits"],a=n&&n["retry-after"];if(o)for(const r of o.trim().split(",")){const[e,t,,,n]=r.split(":",5),o=parseInt(e,10),a=1e3*(isNaN(o)?60:o);if(t)for(const r of t.split(";"))"metric_bucket"===r&&n&&!n.split(";").includes("custom")||(i[r]=s+a);else i.all=s+a}else a?i.all=s+function(e,t=Date.now()){const n=parseInt(`${e}`,10);if(!isNaN(n))return 1e3*n;const s=Date.parse(`${e}`);return isNaN(s)?r:s-t}(a,s):429===t&&(i.all=s+6e4);return i}},84814:(e,t,n)=>{"use strict";n.d(t,{gd:()=>o,qQ:()=>l,vk:()=>a});const r=50,s=/\(error: (.*)\)/,i=/captureMessage|captureException/;function o(...e){const t=e.sort(((e,t)=>e[0]-t[0])).map((e=>e[1]));return(e,n=0)=>{const o=[],a=e.split("\n");for(let i=n;i<a.length;i++){const e=a[i];if(e.length>1024)continue;const n=s.test(e)?e.replace(s,"$1"):e;if(!n.match(/\S*Error: /)){for(const e of t){const t=e(n);if(t){o.push(t);break}}if(o.length>=r)break}}return function(e){if(!e.length)return[];const t=Array.from(e);/sentryWrapped/.test(t[t.length-1].function||"")&&t.pop();t.reverse(),i.test(t[t.length-1].function||"")&&(t.pop(),i.test(t[t.length-1].function||"")&&t.pop());return t.slice(0,r).map((e=>({...e,filename:e.filename||t[t.length-1].filename,function:e.function||"?"})))}(o)}}function a(e){return Array.isArray(e)?o(...e):e}const c="<anonymous>";function l(e){try{return e&&"function"===typeof e&&e.name||c}catch(t){return c}}},78198:(e,t,n)=>{"use strict";n.d(t,{Xr:()=>o,gt:()=>i,xv:()=>s});var r=n(30747);function s(e,t=0){return"string"!==typeof e||0===t||e.length<=t?e:`${e.slice(0,t)}...`}function i(e,t){if(!Array.isArray(e))return"";const n=[];for(let i=0;i<e.length;i++){const t=e[i];try{(0,r.L2)(t)?n.push("[VueViewModel]"):n.push(String(t))}catch(s){n.push("[value cannot be serialized]")}}return n.join(t)}function o(e,t=[],n=!1){return t.some((t=>function(e,t,n=!1){return!!(0,r.Kg)(e)&&((0,r.gd)(t)?t.test(e):!!(0,r.Kg)(t)&&(n?e===t:e.includes(t)))}(e,t,n)))}},9863:(e,t,n)=>{"use strict";n.d(t,{ap:()=>a,m7:()=>c,vm:()=>o});var r=n(5189),s=n(83887);const i=(0,n(91444).VZ)();function o(){if(!("fetch"in i))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(e){return!1}}function a(e){return e&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function c(){if("string"===typeof EdgeRuntime)return!0;if(!o())return!1;if(a(i.fetch))return!0;let e=!1;const t=i.document;if(t&&"function"===typeof t.createElement)try{const n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(e=a(n.contentWindow.fetch)),t.head.removeChild(n)}catch(n){r.T&&s.vF.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",n)}return e}},85195:(e,t,n)=>{"use strict";n.d(t,{T2:()=>a,XW:()=>i,xg:()=>o});var r,s=n(30747);function i(e){return new a((t=>{t(e)}))}function o(e){return new a(((t,n)=>{n(e)}))}!function(e){e[e.PENDING=0]="PENDING";e[e.RESOLVED=1]="RESOLVED";e[e.REJECTED=2]="REJECTED"}(r||(r={}));class a{constructor(e){a.prototype.__init.call(this),a.prototype.__init2.call(this),a.prototype.__init3.call(this),a.prototype.__init4.call(this),this._state=r.PENDING,this._handlers=[];try{e(this._resolve,this._reject)}catch(t){this._reject(t)}}then(e,t){return new a(((n,r)=>{this._handlers.push([!1,t=>{if(e)try{n(e(t))}catch(s){r(s)}else n(t)},e=>{if(t)try{n(t(e))}catch(s){r(s)}else r(e)}]),this._executeHandlers()}))}catch(e){return this.then((e=>e),e)}finally(e){return new a(((t,n)=>{let r,s;return this.then((t=>{s=!1,r=t,e&&e()}),(t=>{s=!0,r=t,e&&e()})).then((()=>{s?n(r):t(r)}))}))}__init(){this._resolve=e=>{this._setResult(r.RESOLVED,e)}}__init2(){this._reject=e=>{this._setResult(r.REJECTED,e)}}__init3(){this._setResult=(e,t)=>{this._state===r.PENDING&&((0,s.Qg)(t)?t.then(this._resolve,this._reject):(this._state=e,this._value=t,this._executeHandlers()))}}__init4(){this._executeHandlers=()=>{if(this._state===r.PENDING)return;const e=this._handlers.slice();this._handlers=[],e.forEach((e=>{e[0]||(this._state===r.RESOLVED&&e[1](this._value),this._state===r.REJECTED&&e[2](this._value),e[0]=!0)}))}}}},46310:(e,t,n)=>{"use strict";n.d(t,{k3:()=>c,lu:()=>i,zf:()=>o});var r=n(91444);const s=1e3;function i(){return Date.now()/s}const o=function(){const{performance:e}=r.OW;if(!e||!e.now)return i;const t=Date.now()-e.now(),n=void 0==e.timeOrigin?t:e.timeOrigin;return()=>(n+e.now())/s}();let a;const c=(()=>{const{performance:e}=r.OW;if(!e||!e.now)return void(a="none");const t=36e5,n=e.now(),s=Date.now(),i=e.timeOrigin?Math.abs(e.timeOrigin+n-s):t,o=i<t,c=e.timing&&e.timing.navigationStart,l="number"===typeof c?Math.abs(c+n-s):t;return o||l<t?i<=l?(a="timeOrigin",e.timeOrigin):(a="navigationStart",c):(a="dateNow",s)})()},50014:(e,t,n)=>{"use strict";function r(e){if(!e)return{};const t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};const n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:n,hash:r,relative:t[5]+n+r}}n.d(t,{Dl:()=>r})},91444:(e,t,n)=>{"use strict";function r(e){return e&&e.Math==Math?e:void 0}n.d(t,{BY:()=>o,OW:()=>s,VZ:()=>i});const s="object"==typeof globalThis&&r(globalThis)||"object"==typeof window&&r(window)||"object"==typeof self&&r(self)||"object"==typeof n.g&&r(n.g)||function(){return this}()||{};function i(){return s}function o(e,t,n){const r=n||s,i=r.__SENTRY__=r.__SENTRY__||{};return i[e]||(i[e]=t())}},23255:(e,t,n)=>{"use strict";n.d(t,{A:()=>I});var r=n(98173),s=n(85591),i=n.n(s),o=n(77275),a=n(45400),c=n(93790),l=n(5462),u=n(28420),d=n(56532);const h=r.createContext({});var f=n(76660),p=n(33456),m=n(41887);const g=e=>{const{antCls:t,componentCls:n,iconCls:r,avatarBg:s,avatarColor:i,containerSize:o,containerSizeLG:a,containerSizeSM:c,textFontSize:l,textFontSizeLG:u,textFontSizeSM:d,borderRadius:h,borderRadiusLG:p,borderRadiusSM:m,lineWidth:g,lineType:_}=e,v=(e,t,s)=>({width:e,height:e,lineHeight:e-2*g+"px",borderRadius:"50%",[`&${n}-square`]:{borderRadius:s},[`${n}-string`]:{position:"absolute",left:{_skip_check_:!0,value:"50%"},transformOrigin:"0 center"},[`&${n}-icon`]:{fontSize:t,[`> ${r}`]:{margin:0}}});return{[n]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,f.dF)(e)),{position:"relative",display:"inline-block",overflow:"hidden",color:i,whiteSpace:"nowrap",textAlign:"center",verticalAlign:"middle",background:s,border:`${g}px ${_} transparent`,"&-image":{background:"transparent"},[`${t}-image-img`]:{display:"block"}}),v(o,l,h)),{"&-lg":Object.assign({},v(a,u,p)),"&-sm":Object.assign({},v(c,d,m)),"> img":{display:"block",width:"100%",height:"100%",objectFit:"cover"}})}},_=e=>{const{componentCls:t,groupBorderColor:n,groupOverlapping:r,groupSpace:s}=e;return{[`${t}-group`]:{display:"inline-flex",[`${t}`]:{borderColor:n},"> *:not(:first-child)":{marginInlineStart:r}},[`${t}-group-popover`]:{[`${t} + ${t}`]:{marginInlineStart:s}}}},v=(0,p.A)("Avatar",(e=>{const{colorTextLightSolid:t,colorTextPlaceholder:n}=e,r=(0,m.h1)(e,{avatarBg:n,avatarColor:t});return[g(r),_(r)]}),(e=>{const{controlHeight:t,controlHeightLG:n,controlHeightSM:r,fontSize:s,fontSizeLG:i,fontSizeXL:o,fontSizeHeading3:a,marginXS:c,marginXXS:l,colorBorderBg:u}=e;return{containerSize:t,containerSizeLG:n,containerSizeSM:r,textFontSize:Math.round((i+o)/2),textFontSizeLG:a,textFontSizeSM:s,groupSpace:l,groupOverlapping:-c,groupBorderColor:u}}));var y=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var s=0;for(r=Object.getOwnPropertySymbols(e);s<r.length;s++)t.indexOf(r[s])<0&&Object.prototype.propertyIsEnumerable.call(e,r[s])&&(n[r[s]]=e[r[s]])}return n};const b=(e,t)=>{const[n,s]=r.useState(1),[f,p]=r.useState(!1),[m,g]=r.useState(!0),_=r.useRef(null),b=r.useRef(null),w=(0,a.K4)(t,_),{getPrefixCls:S,avatar:k}=r.useContext(l.QO),C=r.useContext(h),x=()=>{if(!b.current||!_.current)return;const t=b.current.offsetWidth,n=_.current.offsetWidth;if(0!==t&&0!==n){const{gap:r=4}=e;2*r<n&&s(n-2*r<t?(n-2*r)/t:1)}};r.useEffect((()=>{p(!0)}),[]),r.useEffect((()=>{g(!0),s(1)}),[e.src]),r.useEffect(x,[e.gap]);const E=()=>{const{onError:t}=e;!1!==(null===t||void 0===t?void 0:t())&&g(!1)},{prefixCls:T,shape:I,size:O,src:A,srcSet:R,icon:D,className:M,rootClassName:N,alt:L,draggable:F,children:P,crossOrigin:z}=e,j=y(e,["prefixCls","shape","size","src","srcSet","icon","className","rootClassName","alt","draggable","children","crossOrigin"]),B=(0,u.A)((e=>{var t,n;return null!==(n=null!==(t=null!==O&&void 0!==O?O:null===C||void 0===C?void 0:C.size)&&void 0!==t?t:e)&&void 0!==n?n:"default"})),$=Object.keys("object"===typeof B&&B||{}).some((e=>["xs","sm","md","lg","xl","xxl"].includes(e))),U=(0,d.A)($),W=r.useMemo((()=>{if("object"!==typeof B)return{};const e=c.ye.find((e=>U[e])),t=B[e];return t?{width:t,height:t,lineHeight:`${t}px`,fontSize:t&&(D||P)?t/2:18}:{}}),[U,B]);const H=S("avatar",T),[q,G]=v(H),V=i()({[`${H}-lg`]:"large"===B,[`${H}-sm`]:"small"===B}),K=r.isValidElement(A),J=I||(null===C||void 0===C?void 0:C.shape)||"circle",Y=i()(H,V,null===k||void 0===k?void 0:k.className,`${H}-${J}`,{[`${H}-image`]:K||A&&m,[`${H}-icon`]:!!D},M,N,G),Z="number"===typeof B?{width:B,height:B,lineHeight:`${B}px`,fontSize:D?B/2:18}:{};let X;if("string"===typeof A&&m)X=r.createElement("img",{src:A,draggable:F,srcSet:R,onError:E,alt:L,crossOrigin:z});else if(K)X=A;else if(D)X=D;else if(f||1!==n){const e=`scale(${n}) translateX(-50%)`,t={msTransform:e,WebkitTransform:e,transform:e},s="number"===typeof B?{lineHeight:`${B}px`}:{};X=r.createElement(o.A,{onResize:x},r.createElement("span",{className:`${H}-string`,ref:b,style:Object.assign(Object.assign({},s),t)},P))}else X=r.createElement("span",{className:`${H}-string`,style:{opacity:0},ref:b},P);return delete j.onError,delete j.gap,q(r.createElement("span",Object.assign({},j,{style:Object.assign(Object.assign(Object.assign(Object.assign({},Z),W),null===k||void 0===k?void 0:k.style),j.style),className:Y,ref:w}),X))};const w=r.forwardRef(b);var S=n(87191),k=n(29684),C=n(66823);const x=e=>{const{size:t,shape:n}=r.useContext(h),s=r.useMemo((()=>({size:e.size||t,shape:e.shape||n})),[e.size,e.shape,t,n]);return r.createElement(h.Provider,{value:s},e.children)},E=e=>{const{getPrefixCls:t,direction:n}=r.useContext(l.QO),{prefixCls:s,className:o,rootClassName:a,style:c,maxCount:u,maxStyle:d,size:h,shape:f,maxPopoverPlacement:p="top",maxPopoverTrigger:m="hover",children:g}=e,_=t("avatar",s),y=`${_}-group`,[b,E]=v(_),T=i()(y,{[`${y}-rtl`]:"rtl"===n},o,a,E),I=(0,S.A)(g).map(((e,t)=>(0,C.Ob)(e,{key:`avatar-key-${t}`}))),O=I.length;if(u&&u<O){const e=I.slice(0,u),t=I.slice(u,O);return e.push(r.createElement(k.A,{key:"avatar-popover-key",content:t,trigger:m,placement:p,overlayClassName:`${y}-popover`},r.createElement(w,{style:d},"+"+(O-u)))),b(r.createElement(x,{shape:f,size:h},r.createElement("div",{className:T,style:c},e)))}return b(r.createElement(x,{shape:f,size:h},r.createElement("div",{className:T,style:c},I)))},T=w;T.Group=E;const I=T},6476:(e,t,n)=>{"use strict";n.d(t,{A:()=>te});var r=n(98173),s=n(63448),i=n(36236),o=n(42567),a=n(80320),c=n(85591),l=n.n(c),u=n(89408),d=n(5462),h=n(9793),f=n(2250),p=n(64916),m={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},g=function(){var e=(0,r.useRef)([]),t=(0,r.useRef)(null);return(0,r.useEffect)((function(){var n=Date.now(),r=!1;e.current.forEach((function(e){if(e){r=!0;var s=e.style;s.transitionDuration=".3s, .3s, .3s, .06s",t.current&&n-t.current<100&&(s.transitionDuration="0s, 0s")}})),r&&(t.current=Date.now())})),e.current};var _=n(53575),v=n(712),y=n(15717),b=0,w=(0,y.A)();const S=function(e){var t=r.useState(),n=(0,v.A)(t,2),s=n[0],i=n[1];return r.useEffect((function(){i("rc_progress_".concat(function(){var e;return w?(e=b,b+=1):e="TEST_OR_SSR",e}()))}),[]),e||s};var k=function(e){var t=e.bg,n=e.children;return r.createElement("div",{style:{width:"100%",height:"100%",background:t}},n)};function C(e,t){return Object.keys(e).map((function(n){var r=parseFloat(n),s="".concat(Math.floor(r*t),"%");return"".concat(e[n]," ").concat(s)}))}const x=r.forwardRef((function(e,t){var n=e.prefixCls,s=e.color,i=e.gradientId,o=e.radius,a=e.style,c=e.ptg,l=e.strokeLinecap,u=e.strokeWidth,d=e.size,h=e.gapDegree,f=s&&"object"===(0,_.A)(s),p=f?"#FFF":void 0,m=d/2,g=r.createElement("circle",{className:"".concat(n,"-circle-path"),r:o,cx:m,cy:m,stroke:p,strokeLinecap:l,strokeWidth:u,opacity:0===c?0:1,style:a,ref:t});if(!f)return g;var v="".concat(i,"-conic"),y=h?"".concat(180+h/2,"deg"):"0deg",b=C(s,(360-h)/360),w=C(s,1),S="conic-gradient(from ".concat(y,", ").concat(b.join(", "),")"),x="linear-gradient(to ".concat(h?"bottom":"top",", ").concat(w.join(", "),")");return r.createElement(r.Fragment,null,r.createElement("mask",{id:v},g),r.createElement("foreignObject",{x:0,y:0,width:d,height:d,mask:"url(#".concat(v,")")},r.createElement(k,{bg:x},r.createElement(k,{bg:S}))))}));var E=100,T=function(e,t,n,r,s,i,o,a,c,l){var u=arguments.length>10&&void 0!==arguments[10]?arguments[10]:0,d=n/100*360*((360-i)/360),h=0===i?0:{bottom:0,top:180,left:90,right:-90}[o],f=(100-r)/100*t;"round"===c&&100!==r&&(f+=l/2)>=t&&(f=t-.01);return{stroke:"string"===typeof a?a:void 0,strokeDasharray:"".concat(t,"px ").concat(e),strokeDashoffset:f+u,transform:"rotate(".concat(s+d+h,"deg)"),transformOrigin:"".concat(50,"px ").concat(50,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},I=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function O(e){var t=null!==e&&void 0!==e?e:[];return Array.isArray(t)?t:[t]}const A=function(e){var t=(0,f.A)((0,f.A)({},m),e),n=t.id,s=t.prefixCls,i=t.steps,o=t.strokeWidth,a=t.trailWidth,c=t.gapDegree,u=void 0===c?0:c,d=t.gapPosition,v=t.trailColor,y=t.strokeLinecap,b=t.style,w=t.className,k=t.strokeColor,C=t.percent,A=(0,p.A)(t,I),R=S(n),D="".concat(R,"-gradient"),M=50-o/2,N=2*Math.PI*M,L=u>0?90+u/2:-90,F=N*((360-u)/360),P="object"===(0,_.A)(i)?i:{count:i,space:2},z=P.count,j=P.space,B=O(C),$=O(k),U=$.find((function(e){return e&&"object"===(0,_.A)(e)})),W=U&&"object"===(0,_.A)(U)?"butt":y,H=T(N,F,0,100,L,u,d,v,W,o),q=g();return r.createElement("svg",(0,h.A)({className:l()("".concat(s,"-circle"),w),viewBox:"0 0 ".concat(E," ").concat(E),style:b,id:n,role:"presentation"},A),!z&&r.createElement("circle",{className:"".concat(s,"-circle-trail"),r:M,cx:50,cy:50,stroke:v,strokeLinecap:W,strokeWidth:a||o,style:H}),z?function(){var e=Math.round(z*(B[0]/100)),t=100/z,n=0;return new Array(z).fill(null).map((function(i,a){var c=a<=e-1?$[0]:v,l=c&&"object"===(0,_.A)(c)?"url(#".concat(D,")"):void 0,h=T(N,F,n,t,L,u,d,c,"butt",o,j);return n+=100*(F-h.strokeDashoffset+j)/F,r.createElement("circle",{key:a,className:"".concat(s,"-circle-path"),r:M,cx:50,cy:50,stroke:l,strokeWidth:o,opacity:1,style:h,ref:function(e){q[a]=e}})}))}():function(){var e=0;return B.map((function(t,n){var i=$[n]||$[$.length-1],a=T(N,F,e,t,L,u,d,i,W,o);return e+=t,r.createElement(x,{key:n,color:i,ptg:t,radius:M,prefixCls:s,gradientId:D,style:a,strokeLinecap:W,strokeWidth:o,gapDegree:u,ref:function(e){q[n]=e},size:E})})).reverse()}())};var R=n(13785),D=n(46695);function M(e){return!e||e<0?0:e>100?100:e}function N(e){let{success:t,successPercent:n}=e,r=n;return t&&"progress"in t&&(r=t.progress),t&&"percent"in t&&(r=t.percent),r}const L=e=>{let{percent:t,success:n,successPercent:r}=e;const s=M(N({success:n,successPercent:r}));return[s,M(M(t)-s)]},F=(e,t,n)=>{var r,s,i,o;let a=-1,c=-1;if("step"===t){const t=n.steps,r=n.strokeWidth;"string"===typeof e||"undefined"===typeof e?(a="small"===e?2:14,c=null!==r&&void 0!==r?r:8):"number"===typeof e?[a,c]=[e,e]:[a=14,c=8]=e,a*=t}else if("line"===t){const t=null===n||void 0===n?void 0:n.strokeWidth;"string"===typeof e||"undefined"===typeof e?c=t||("small"===e?6:8):"number"===typeof e?[a,c]=[e,e]:[a=-1,c=8]=e}else"circle"!==t&&"dashboard"!==t||("string"===typeof e||"undefined"===typeof e?[a,c]="small"===e?[60,60]:[120,120]:"number"===typeof e?[a,c]=[e,e]:(a=null!==(s=null!==(r=e[0])&&void 0!==r?r:e[1])&&void 0!==s?s:120,c=null!==(o=null!==(i=e[0])&&void 0!==i?i:e[1])&&void 0!==o?o:120));return[a,c]},P=e=>{const{prefixCls:t,trailColor:n=null,strokeLinecap:s="round",gapPosition:i,gapDegree:o,width:a=120,type:c,children:u,success:d,size:h=a}=e,[f,p]=F(h,"circle");let{strokeWidth:m}=e;void 0===m&&(m=Math.max((e=>3/e*100)(f),6));const g={width:f,height:p,fontSize:.15*f+6},_=r.useMemo((()=>o||0===o?o:"dashboard"===c?75:void 0),[o,c]),v=i||"dashboard"===c&&"bottom"||void 0,y="[object Object]"===Object.prototype.toString.call(e.strokeColor),b=(e=>{let{success:t={},strokeColor:n}=e;const{strokeColor:r}=t;return[r||D.uy.green,n||null]})({success:d,strokeColor:e.strokeColor}),w=l()(`${t}-inner`,{[`${t}-circle-gradient`]:y}),S=r.createElement(A,{percent:L(e),strokeWidth:m,trailWidth:m,strokeColor:b,strokeLinecap:s,trailColor:n,prefixCls:t,gapDegree:_,gapPosition:v});return r.createElement("div",{className:w,style:g},f<=20?r.createElement(R.A,{title:u},r.createElement("span",null,S)):r.createElement(r.Fragment,null,S,u))};var z=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var s=0;for(r=Object.getOwnPropertySymbols(e);s<r.length;s++)t.indexOf(r[s])<0&&Object.prototype.propertyIsEnumerable.call(e,r[s])&&(n[r[s]]=e[r[s]])}return n};const j=(e,t)=>{const{from:n=D.uy.blue,to:r=D.uy.blue,direction:s=("rtl"===t?"to left":"to right")}=e,i=z(e,["from","to","direction"]);if(0!==Object.keys(i).length){return{backgroundImage:`linear-gradient(${s}, ${(e=>{let t=[];return Object.keys(e).forEach((n=>{const r=parseFloat(n.replace(/%/g,""));isNaN(r)||t.push({key:r,value:e[n]})})),t=t.sort(((e,t)=>e.key-t.key)),t.map((e=>{let{key:t,value:n}=e;return`${n} ${t}%`})).join(", ")})(i)})`}}return{backgroundImage:`linear-gradient(${s}, ${n}, ${r})`}},B=e=>{const{prefixCls:t,direction:n,percent:s,size:i,strokeWidth:o,strokeColor:a,strokeLinecap:c="round",children:l,trailColor:u=null,success:d}=e,h=a&&"string"!==typeof a?j(a,n):{backgroundColor:a},f="square"===c||"butt"===c?0:void 0,p={backgroundColor:u||void 0,borderRadius:f},m=null!==i&&void 0!==i?i:[-1,o||("small"===i?6:8)],[g,_]=F(m,"line",{strokeWidth:o});const v=Object.assign({width:`${M(s)}%`,height:_,borderRadius:f},h),y=N(e),b={width:`${M(y)}%`,height:_,borderRadius:f,backgroundColor:null===d||void 0===d?void 0:d.strokeColor},w={width:g<0?"100%":g,height:_};return r.createElement(r.Fragment,null,r.createElement("div",{className:`${t}-outer`,style:w},r.createElement("div",{className:`${t}-inner`,style:p},r.createElement("div",{className:`${t}-bg`,style:v}),void 0!==y?r.createElement("div",{className:`${t}-success-bg`,style:b}):null)),l)},$=e=>{const{size:t,steps:n,percent:s=0,strokeWidth:i=8,strokeColor:o,trailColor:a=null,prefixCls:c,children:u}=e,d=Math.round(n*(s/100)),h=null!==t&&void 0!==t?t:["small"===t?2:14,i],[f,p]=F(h,"step",{steps:n,strokeWidth:i}),m=f/n,g=new Array(n);for(let _=0;_<n;_++){const e=Array.isArray(o)?o[_]:o;g[_]=r.createElement("div",{key:_,className:l()(`${c}-steps-item`,{[`${c}-steps-item-active`]:_<=d-1}),style:{backgroundColor:_<=d-1?e:a,width:m,height:p}})}return r.createElement("div",{className:`${c}-steps-outer`},g,u)};var U=n(12602),W=n(76660),H=n(33456),q=n(41887);const G=e=>{const t=e?"100%":"-100%";return new U.Mo(`antProgress${e?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${t}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${t}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},V=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:Object.assign(Object.assign({},(0,W.dF)(e)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:e.fontSize,marginInlineEnd:e.marginXS,marginBottom:e.marginXS},[`${t}-outer`]:{display:"inline-block",width:"100%"},[`&${t}-show-info`]:{[`${t}-outer`]:{marginInlineEnd:`calc(-2em - ${e.marginXS}px)`,paddingInlineEnd:`calc(2em + ${e.paddingXS}px)`}},[`${t}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:e.remainingColor,borderRadius:e.lineBorderRadius},[`${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.defaultColor}},[`${t}-success-bg, ${t}-bg`]:{position:"relative",backgroundColor:e.defaultColor,borderRadius:e.lineBorderRadius,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`},[`${t}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:e.colorSuccess},[`${t}-text`]:{display:"inline-block",width:"2em",marginInlineStart:e.marginXS,color:e.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[n]:{fontSize:e.fontSize}},[`&${t}-status-active`]:{[`${t}-bg::before`]:{position:"absolute",inset:0,backgroundColor:e.colorBgContainer,borderRadius:e.lineBorderRadius,opacity:0,animationName:G(),animationDuration:e.progressActiveMotionDuration,animationTimingFunction:e.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${t}-rtl${t}-status-active`]:{[`${t}-bg::before`]:{animationName:G(!0)}},[`&${t}-status-exception`]:{[`${t}-bg`]:{backgroundColor:e.colorError},[`${t}-text`]:{color:e.colorError}},[`&${t}-status-exception ${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorError}},[`&${t}-status-success`]:{[`${t}-bg`]:{backgroundColor:e.colorSuccess},[`${t}-text`]:{color:e.colorSuccess}},[`&${t}-status-success ${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorSuccess}}})}},K=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:{[`${t}-circle-trail`]:{stroke:e.remainingColor},[`&${t}-circle ${t}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${t}-circle ${t}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:e.circleTextColor,fontSize:e.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[n]:{fontSize:e.fontSize/e.fontSizeSM+"em"}},[`${t}-circle&-status-exception`]:{[`${t}-text`]:{color:e.colorError}},[`${t}-circle&-status-success`]:{[`${t}-text`]:{color:e.colorSuccess}}},[`${t}-inline-circle`]:{lineHeight:1,[`${t}-inner`]:{verticalAlign:"bottom"}}}},J=e=>{const{componentCls:t}=e;return{[t]:{[`${t}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:e.progressStepMinWidth,marginInlineEnd:e.progressStepMarginInlineEnd,backgroundColor:e.remainingColor,transition:`all ${e.motionDurationSlow}`,"&-active":{backgroundColor:e.defaultColor}}}}}},Y=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:{[`${t}-small&-line, ${t}-small&-line ${t}-text ${n}`]:{fontSize:e.fontSizeSM}}}},Z=(0,H.A)("Progress",(e=>{const t=e.marginXXS/2,n=(0,q.h1)(e,{progressStepMarginInlineEnd:t,progressStepMinWidth:t,progressActiveMotionDuration:"2.4s"});return[V(n),K(n),J(n),Y(n)]}),(e=>({circleTextColor:e.colorText,defaultColor:e.colorInfo,remainingColor:e.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})));var X=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var s=0;for(r=Object.getOwnPropertySymbols(e);s<r.length;s++)t.indexOf(r[s])<0&&Object.prototype.propertyIsEnumerable.call(e,r[s])&&(n[r[s]]=e[r[s]])}return n};const Q=["normal","exception","active","success"],ee=r.forwardRef(((e,t)=>{const{prefixCls:n,className:c,rootClassName:h,steps:f,strokeColor:p,percent:m=0,size:g="default",showInfo:_=!0,type:v="line",status:y,format:b,style:w}=e,S=X(e,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),k=r.useMemo((()=>{var t,n;const r=N(e);return parseInt(void 0!==r?null===(t=null!==r&&void 0!==r?r:0)||void 0===t?void 0:t.toString():null===(n=null!==m&&void 0!==m?m:0)||void 0===n?void 0:n.toString(),10)}),[m,e.success,e.successPercent]),C=r.useMemo((()=>!Q.includes(y)&&k>=100?"success":y||"normal"),[y,k]),{getPrefixCls:x,direction:E,progress:T}=r.useContext(d.QO),I=x("progress",n),[O,A]=Z(I),R=r.useMemo((()=>{if(!_)return null;const t=N(e);let n;const c="line"===v;return b||"exception"!==C&&"success"!==C?n=(b||(e=>`${e}%`))(M(m),M(t)):"exception"===C?n=c?r.createElement(o.A,null):r.createElement(a.A,null):"success"===C&&(n=c?r.createElement(s.A,null):r.createElement(i.A,null)),r.createElement("span",{className:`${I}-text`,title:"string"===typeof n?n:void 0},n)}),[_,m,k,C,v,I,b]);const D=Array.isArray(p)?p[0]:p,L="string"===typeof p||Array.isArray(p)?p:void 0;let z;"line"===v?z=f?r.createElement($,Object.assign({},e,{strokeColor:L,prefixCls:I,steps:f}),R):r.createElement(B,Object.assign({},e,{strokeColor:D,prefixCls:I,direction:E}),R):"circle"!==v&&"dashboard"!==v||(z=r.createElement(P,Object.assign({},e,{strokeColor:D,prefixCls:I,progressStatus:C}),R));const j=l()(I,`${I}-status-${C}`,`${I}-${("dashboard"===v?"circle":f&&"steps")||v}`,{[`${I}-inline-circle`]:"circle"===v&&F(g,"circle")[0]<=20,[`${I}-show-info`]:_,[`${I}-${g}`]:"string"===typeof g,[`${I}-rtl`]:"rtl"===E},null===T||void 0===T?void 0:T.className,c,h,A);return O(r.createElement("div",Object.assign({ref:t,style:Object.assign(Object.assign({},null===T||void 0===T?void 0:T.style),w),className:j,role:"progressbar","aria-valuenow":k},(0,u.A)(S,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),z))}));const te=ee},94049:(e,t,n)=>{var r=n(45764).Buffer,s=n(88295);e.exports=function e(t,n,r){function s(o,a){if(!n[o]){if(!t[o]){if(i)return i(o,!0);var c=new Error("Cannot find module '"+o+"'");throw c.code="MODULE_NOT_FOUND",c}var l=n[o]={exports:{}};t[o][0].call(l.exports,(function(e){return s(t[o][1][e]||e)}),l,l.exports,e,t,n,r)}return n[o].exports}for(var i=void 0,o=0;o<r.length;o++)s(r[o]);return s}({1:[function(e,t,n){"use strict";var r=e("./utils"),s=e("./support"),i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";n.encode=function(e){for(var t,n,s,o,a,c,l,u=[],d=0,h=e.length,f=h,p="string"!==r.getTypeOf(e);d<e.length;)f=h-d,s=p?(t=e[d++],n=d<h?e[d++]:0,d<h?e[d++]:0):(t=e.charCodeAt(d++),n=d<h?e.charCodeAt(d++):0,d<h?e.charCodeAt(d++):0),o=t>>2,a=(3&t)<<4|n>>4,c=1<f?(15&n)<<2|s>>6:64,l=2<f?63&s:64,u.push(i.charAt(o)+i.charAt(a)+i.charAt(c)+i.charAt(l));return u.join("")},n.decode=function(e){var t,n,r,o,a,c,l=0,u=0,d="data:";if(e.substr(0,d.length)===d)throw new Error("Invalid base64 input, it looks like a data url.");var h,f=3*(e=e.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(e.charAt(e.length-1)===i.charAt(64)&&f--,e.charAt(e.length-2)===i.charAt(64)&&f--,f%1!=0)throw new Error("Invalid base64 input, bad content length.");for(h=s.uint8array?new Uint8Array(0|f):new Array(0|f);l<e.length;)t=i.indexOf(e.charAt(l++))<<2|(o=i.indexOf(e.charAt(l++)))>>4,n=(15&o)<<4|(a=i.indexOf(e.charAt(l++)))>>2,r=(3&a)<<6|(c=i.indexOf(e.charAt(l++))),h[u++]=t,64!==a&&(h[u++]=n),64!==c&&(h[u++]=r);return h}},{"./support":30,"./utils":32}],2:[function(e,t,n){"use strict";var r=e("./external"),s=e("./stream/DataWorker"),i=e("./stream/Crc32Probe"),o=e("./stream/DataLengthProbe");function a(e,t,n,r,s){this.compressedSize=e,this.uncompressedSize=t,this.crc32=n,this.compression=r,this.compressedContent=s}a.prototype={getContentWorker:function(){var e=new s(r.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new o("data_length")),t=this;return e.on("end",(function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")})),e},getCompressedWorker:function(){return new s(r.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},a.createWorkerFrom=function(e,t,n){return e.pipe(new i).pipe(new o("uncompressedSize")).pipe(t.compressWorker(n)).pipe(new o("compressedSize")).withStreamInfo("compression",t)},t.exports=a},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(e,t,n){"use strict";var r=e("./stream/GenericWorker");n.STORE={magic:"\0\0",compressWorker:function(){return new r("STORE compression")},uncompressWorker:function(){return new r("STORE decompression")}},n.DEFLATE=e("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(e,t,n){"use strict";var r=e("./utils"),s=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}();t.exports=function(e,t){return void 0!==e&&e.length?"string"!==r.getTypeOf(e)?function(e,t,n,r){var i=s,o=r+n;e^=-1;for(var a=r;a<o;a++)e=e>>>8^i[255&(e^t[a])];return~e}(0|t,e,e.length,0):function(e,t,n,r){var i=s,o=r+n;e^=-1;for(var a=r;a<o;a++)e=e>>>8^i[255&(e^t.charCodeAt(a))];return~e}(0|t,e,e.length,0):0}},{"./utils":32}],5:[function(e,t,n){"use strict";n.base64=!1,n.binary=!1,n.dir=!1,n.createFolders=!0,n.date=null,n.compression=null,n.compressionOptions=null,n.comment=null,n.unixPermissions=null,n.dosPermissions=null},{}],6:[function(e,t,n){"use strict";var r=null;r="undefined"!=typeof Promise?Promise:e("lie"),t.exports={Promise:r}},{lie:37}],7:[function(e,t,n){"use strict";var r="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,s=e("pako"),i=e("./utils"),o=e("./stream/GenericWorker"),a=r?"uint8array":"array";function c(e,t){o.call(this,"FlateWorker/"+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}n.magic="\b\0",i.inherits(c,o),c.prototype.processChunk=function(e){this.meta=e.meta,null===this._pako&&this._createPako(),this._pako.push(i.transformTo(a,e.data),!1)},c.prototype.flush=function(){o.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},c.prototype.cleanUp=function(){o.prototype.cleanUp.call(this),this._pako=null},c.prototype._createPako=function(){this._pako=new s[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},n.compressWorker=function(e){return new c("Deflate",e)},n.uncompressWorker=function(){return new c("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(e,t,n){"use strict";function r(e,t){var n,r="";for(n=0;n<t;n++)r+=String.fromCharCode(255&e),e>>>=8;return r}function s(e,t,n,s,o,u){var d,h,f=e.file,p=e.compression,m=u!==a.utf8encode,g=i.transformTo("string",u(f.name)),_=i.transformTo("string",a.utf8encode(f.name)),v=f.comment,y=i.transformTo("string",u(v)),b=i.transformTo("string",a.utf8encode(v)),w=_.length!==f.name.length,S=b.length!==v.length,k="",C="",x="",E=f.dir,T=f.date,I={crc32:0,compressedSize:0,uncompressedSize:0};t&&!n||(I.crc32=e.crc32,I.compressedSize=e.compressedSize,I.uncompressedSize=e.uncompressedSize);var O=0;t&&(O|=8),m||!w&&!S||(O|=2048);var A=0,R=0;E&&(A|=16),"UNIX"===o?(R=798,A|=function(e,t){var n=e;return e||(n=t?16893:33204),(65535&n)<<16}(f.unixPermissions,E)):(R=20,A|=function(e){return 63&(e||0)}(f.dosPermissions)),d=T.getUTCHours(),d<<=6,d|=T.getUTCMinutes(),d<<=5,d|=T.getUTCSeconds()/2,h=T.getUTCFullYear()-1980,h<<=4,h|=T.getUTCMonth()+1,h<<=5,h|=T.getUTCDate(),w&&(C=r(1,1)+r(c(g),4)+_,k+="up"+r(C.length,2)+C),S&&(x=r(1,1)+r(c(y),4)+b,k+="uc"+r(x.length,2)+x);var D="";return D+="\n\0",D+=r(O,2),D+=p.magic,D+=r(d,2),D+=r(h,2),D+=r(I.crc32,4),D+=r(I.compressedSize,4),D+=r(I.uncompressedSize,4),D+=r(g.length,2),D+=r(k.length,2),{fileRecord:l.LOCAL_FILE_HEADER+D+g+k,dirRecord:l.CENTRAL_FILE_HEADER+r(R,2)+D+r(y.length,2)+"\0\0\0\0"+r(A,4)+r(s,4)+g+k+y}}var i=e("../utils"),o=e("../stream/GenericWorker"),a=e("../utf8"),c=e("../crc32"),l=e("../signature");function u(e,t,n,r){o.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=t,this.zipPlatform=n,this.encodeFileName=r,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}i.inherits(u,o),u.prototype.push=function(e){var t=e.meta.percent||0,n=this.entriesCount,r=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,o.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:n?(t+100*(n-r-1))/n:100}}))},u.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var n=s(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:n.fileRecord,meta:{percent:0}})}else this.accumulate=!0},u.prototype.closedSource=function(e){this.accumulate=!1;var t=this.streamFiles&&!e.file.dir,n=s(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(n.dirRecord),t)this.push({data:function(e){return l.DATA_DESCRIPTOR+r(e.crc32,4)+r(e.compressedSize,4)+r(e.uncompressedSize,4)}(e),meta:{percent:100}});else for(this.push({data:n.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},u.prototype.flush=function(){for(var e=this.bytesWritten,t=0;t<this.dirRecords.length;t++)this.push({data:this.dirRecords[t],meta:{percent:100}});var n=this.bytesWritten-e,s=function(e,t,n,s,o){var a=i.transformTo("string",o(s));return l.CENTRAL_DIRECTORY_END+"\0\0\0\0"+r(e,2)+r(e,2)+r(t,4)+r(n,4)+r(a.length,2)+a}(this.dirRecords.length,n,e,this.zipComment,this.encodeFileName);this.push({data:s,meta:{percent:100}})},u.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},u.prototype.registerPrevious=function(e){this._sources.push(e);var t=this;return e.on("data",(function(e){t.processChunk(e)})),e.on("end",(function(){t.closedSource(t.previous.streamInfo),t._sources.length?t.prepareNextSource():t.end()})),e.on("error",(function(e){t.error(e)})),this},u.prototype.resume=function(){return!!o.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},u.prototype.error=function(e){var t=this._sources;if(!o.prototype.error.call(this,e))return!1;for(var n=0;n<t.length;n++)try{t[n].error(e)}catch(e){}return!0},u.prototype.lock=function(){o.prototype.lock.call(this);for(var e=this._sources,t=0;t<e.length;t++)e[t].lock()},t.exports=u},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(e,t,n){"use strict";var r=e("../compressions"),s=e("./ZipFileWorker");n.generateWorker=function(e,t,n){var i=new s(t.streamFiles,n,t.platform,t.encodeFileName),o=0;try{e.forEach((function(e,n){o++;var s=function(e,t){var n=e||t,s=r[n];if(!s)throw new Error(n+" is not a valid compression method !");return s}(n.options.compression,t.compression),a=n.options.compressionOptions||t.compressionOptions||{},c=n.dir,l=n.date;n._compressWorker(s,a).withStreamInfo("file",{name:e,dir:c,date:l,comment:n.comment||"",unixPermissions:n.unixPermissions,dosPermissions:n.dosPermissions}).pipe(i)})),i.entriesCount=o}catch(e){i.error(e)}return i}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(e,t,n){"use strict";function r(){if(!(this instanceof r))return new r;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var e=new r;for(var t in this)"function"!=typeof this[t]&&(e[t]=this[t]);return e}}(r.prototype=e("./object")).loadAsync=e("./load"),r.support=e("./support"),r.defaults=e("./defaults"),r.version="3.10.1",r.loadAsync=function(e,t){return(new r).loadAsync(e,t)},r.external=e("./external"),t.exports=r},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(e,t,n){"use strict";var r=e("./utils"),s=e("./external"),i=e("./utf8"),o=e("./zipEntries"),a=e("./stream/Crc32Probe"),c=e("./nodejsUtils");function l(e){return new s.Promise((function(t,n){var r=e.decompressed.getContentWorker().pipe(new a);r.on("error",(function(e){n(e)})).on("end",(function(){r.streamInfo.crc32!==e.decompressed.crc32?n(new Error("Corrupted zip : CRC32 mismatch")):t()})).resume()}))}t.exports=function(e,t){var n=this;return t=r.extend(t||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:i.utf8decode}),c.isNode&&c.isStream(e)?s.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):r.prepareContent("the loaded zip file",e,!0,t.optimizedBinaryString,t.base64).then((function(e){var n=new o(t);return n.load(e),n})).then((function(e){var n=[s.Promise.resolve(e)],r=e.files;if(t.checkCRC32)for(var i=0;i<r.length;i++)n.push(l(r[i]));return s.Promise.all(n)})).then((function(e){for(var s=e.shift(),i=s.files,o=0;o<i.length;o++){var a=i[o],c=a.fileNameStr,l=r.resolve(a.fileNameStr);n.file(l,a.decompressed,{binary:!0,optimizedBinaryString:!0,date:a.date,dir:a.dir,comment:a.fileCommentStr.length?a.fileCommentStr:null,unixPermissions:a.unixPermissions,dosPermissions:a.dosPermissions,createFolders:t.createFolders}),a.dir||(n.file(l).unsafeOriginalName=c)}return s.zipComment.length&&(n.comment=s.zipComment),n}))}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(e,t,n){"use strict";var r=e("../utils"),s=e("../stream/GenericWorker");function i(e,t){s.call(this,"Nodejs stream input adapter for "+e),this._upstreamEnded=!1,this._bindStream(t)}r.inherits(i,s),i.prototype._bindStream=function(e){var t=this;(this._stream=e).pause(),e.on("data",(function(e){t.push({data:e,meta:{percent:0}})})).on("error",(function(e){t.isPaused?this.generatedError=e:t.error(e)})).on("end",(function(){t.isPaused?t._upstreamEnded=!0:t.end()}))},i.prototype.pause=function(){return!!s.prototype.pause.call(this)&&(this._stream.pause(),!0)},i.prototype.resume=function(){return!!s.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},t.exports=i},{"../stream/GenericWorker":28,"../utils":32}],13:[function(e,t,n){"use strict";var r=e("readable-stream").Readable;function s(e,t,n){r.call(this,t),this._helper=e;var s=this;e.on("data",(function(e,t){s.push(e)||s._helper.pause(),n&&n(t)})).on("error",(function(e){s.emit("error",e)})).on("end",(function(){s.push(null)}))}e("../utils").inherits(s,r),s.prototype._read=function(){this._helper.resume()},t.exports=s},{"../utils":32,"readable-stream":16}],14:[function(e,t,n){"use strict";t.exports={isNode:"undefined"!=typeof r,newBufferFrom:function(e,t){if(r.from&&r.from!==Uint8Array.from)return r.from(e,t);if("number"==typeof e)throw new Error('The "data" argument must not be a number');return new r(e,t)},allocBuffer:function(e){if(r.alloc)return r.alloc(e);var t=new r(e);return t.fill(0),t},isBuffer:function(e){return r.isBuffer(e)},isStream:function(e){return e&&"function"==typeof e.on&&"function"==typeof e.pause&&"function"==typeof e.resume}}},{}],15:[function(e,t,n){"use strict";function r(e,t,n){var r,s=i.getTypeOf(t),a=i.extend(n||{},c);a.date=a.date||new Date,null!==a.compression&&(a.compression=a.compression.toUpperCase()),"string"==typeof a.unixPermissions&&(a.unixPermissions=parseInt(a.unixPermissions,8)),a.unixPermissions&&16384&a.unixPermissions&&(a.dir=!0),a.dosPermissions&&16&a.dosPermissions&&(a.dir=!0),a.dir&&(e=m(e)),a.createFolders&&(r=p(e))&&g.call(this,r,!0);var d="string"===s&&!1===a.binary&&!1===a.base64;n&&void 0!==n.binary||(a.binary=!d),(t instanceof l&&0===t.uncompressedSize||a.dir||!t||0===t.length)&&(a.base64=!1,a.binary=!0,t="",a.compression="STORE",s="string");var _=null;_=t instanceof l||t instanceof o?t:h.isNode&&h.isStream(t)?new f(e,t):i.prepareContent(e,t,a.binary,a.optimizedBinaryString,a.base64);var v=new u(e,_,a);this.files[e]=v}var s=e("./utf8"),i=e("./utils"),o=e("./stream/GenericWorker"),a=e("./stream/StreamHelper"),c=e("./defaults"),l=e("./compressedObject"),u=e("./zipObject"),d=e("./generate"),h=e("./nodejsUtils"),f=e("./nodejs/NodejsStreamInputAdapter"),p=function(e){"/"===e.slice(-1)&&(e=e.substring(0,e.length-1));var t=e.lastIndexOf("/");return 0<t?e.substring(0,t):""},m=function(e){return"/"!==e.slice(-1)&&(e+="/"),e},g=function(e,t){return t=void 0!==t?t:c.createFolders,e=m(e),this.files[e]||r.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]};function _(e){return"[object RegExp]"===Object.prototype.toString.call(e)}var v={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(e){var t,n,r;for(t in this.files)r=this.files[t],(n=t.slice(this.root.length,t.length))&&t.slice(0,this.root.length)===this.root&&e(n,r)},filter:function(e){var t=[];return this.forEach((function(n,r){e(n,r)&&t.push(r)})),t},file:function(e,t,n){if(1!==arguments.length)return e=this.root+e,r.call(this,e,t,n),this;if(_(e)){var s=e;return this.filter((function(e,t){return!t.dir&&s.test(e)}))}var i=this.files[this.root+e];return i&&!i.dir?i:null},folder:function(e){if(!e)return this;if(_(e))return this.filter((function(t,n){return n.dir&&e.test(t)}));var t=this.root+e,n=g.call(this,t),r=this.clone();return r.root=n.name,r},remove:function(e){e=this.root+e;var t=this.files[e];if(t||("/"!==e.slice(-1)&&(e+="/"),t=this.files[e]),t&&!t.dir)delete this.files[e];else for(var n=this.filter((function(t,n){return n.name.slice(0,e.length)===e})),r=0;r<n.length;r++)delete this.files[n[r].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(e){var t,n={};try{if((n=i.extend(e||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:s.utf8encode})).type=n.type.toLowerCase(),n.compression=n.compression.toUpperCase(),"binarystring"===n.type&&(n.type="string"),!n.type)throw new Error("No output type specified.");i.checkSupport(n.type),"darwin"!==n.platform&&"freebsd"!==n.platform&&"linux"!==n.platform&&"sunos"!==n.platform||(n.platform="UNIX"),"win32"===n.platform&&(n.platform="DOS");var r=n.comment||this.comment||"";t=d.generateWorker(this,n,r)}catch(e){(t=new o("error")).error(e)}return new a(t,n.type||"string",n.mimeType)},generateAsync:function(e,t){return this.generateInternalStream(e).accumulate(t)},generateNodeStream:function(e,t){return(e=e||{}).type||(e.type="nodebuffer"),this.generateInternalStream(e).toNodejsStream(t)}};t.exports=v},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(e,t,n){"use strict";t.exports=e("stream")},{stream:void 0}],17:[function(e,t,n){"use strict";var r=e("./DataReader");function s(e){r.call(this,e);for(var t=0;t<this.data.length;t++)e[t]=255&e[t]}e("../utils").inherits(s,r),s.prototype.byteAt=function(e){return this.data[this.zero+e]},s.prototype.lastIndexOfSignature=function(e){for(var t=e.charCodeAt(0),n=e.charCodeAt(1),r=e.charCodeAt(2),s=e.charCodeAt(3),i=this.length-4;0<=i;--i)if(this.data[i]===t&&this.data[i+1]===n&&this.data[i+2]===r&&this.data[i+3]===s)return i-this.zero;return-1},s.prototype.readAndCheckSignature=function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1),r=e.charCodeAt(2),s=e.charCodeAt(3),i=this.readData(4);return t===i[0]&&n===i[1]&&r===i[2]&&s===i[3]},s.prototype.readData=function(e){if(this.checkOffset(e),0===e)return[];var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=s},{"../utils":32,"./DataReader":18}],18:[function(e,t,n){"use strict";var r=e("../utils");function s(e){this.data=e,this.length=e.length,this.index=0,this.zero=0}s.prototype={checkOffset:function(e){this.checkIndex(this.index+e)},checkIndex:function(e){if(this.length<this.zero+e||e<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+e+"). Corrupted zip ?")},setIndex:function(e){this.checkIndex(e),this.index=e},skip:function(e){this.setIndex(this.index+e)},byteAt:function(){},readInt:function(e){var t,n=0;for(this.checkOffset(e),t=this.index+e-1;t>=this.index;t--)n=(n<<8)+this.byteAt(t);return this.index+=e,n},readString:function(e){return r.transformTo("string",this.readData(e))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1))}},t.exports=s},{"../utils":32}],19:[function(e,t,n){"use strict";var r=e("./Uint8ArrayReader");function s(e){r.call(this,e)}e("../utils").inherits(s,r),s.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=s},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(e,t,n){"use strict";var r=e("./DataReader");function s(e){r.call(this,e)}e("../utils").inherits(s,r),s.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},s.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},s.prototype.readAndCheckSignature=function(e){return e===this.readData(4)},s.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=s},{"../utils":32,"./DataReader":18}],21:[function(e,t,n){"use strict";var r=e("./ArrayReader");function s(e){r.call(this,e)}e("../utils").inherits(s,r),s.prototype.readData=function(e){if(this.checkOffset(e),0===e)return new Uint8Array(0);var t=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=s},{"../utils":32,"./ArrayReader":17}],22:[function(e,t,n){"use strict";var r=e("../utils"),s=e("../support"),i=e("./ArrayReader"),o=e("./StringReader"),a=e("./NodeBufferReader"),c=e("./Uint8ArrayReader");t.exports=function(e){var t=r.getTypeOf(e);return r.checkSupport(t),"string"!==t||s.uint8array?"nodebuffer"===t?new a(e):s.uint8array?new c(r.transformTo("uint8array",e)):new i(r.transformTo("array",e)):new o(e)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(e,t,n){"use strict";n.LOCAL_FILE_HEADER="PK\x03\x04",n.CENTRAL_FILE_HEADER="PK\x01\x02",n.CENTRAL_DIRECTORY_END="PK\x05\x06",n.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x06\x07",n.ZIP64_CENTRAL_DIRECTORY_END="PK\x06\x06",n.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(e,t,n){"use strict";var r=e("./GenericWorker"),s=e("../utils");function i(e){r.call(this,"ConvertWorker to "+e),this.destType=e}s.inherits(i,r),i.prototype.processChunk=function(e){this.push({data:s.transformTo(this.destType,e.data),meta:e.meta})},t.exports=i},{"../utils":32,"./GenericWorker":28}],25:[function(e,t,n){"use strict";var r=e("./GenericWorker"),s=e("../crc32");function i(){r.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}e("../utils").inherits(i,r),i.prototype.processChunk=function(e){this.streamInfo.crc32=s(e.data,this.streamInfo.crc32||0),this.push(e)},t.exports=i},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(e,t,n){"use strict";var r=e("../utils"),s=e("./GenericWorker");function i(e){s.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}r.inherits(i,s),i.prototype.processChunk=function(e){if(e){var t=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=t+e.data.length}s.prototype.processChunk.call(this,e)},t.exports=i},{"../utils":32,"./GenericWorker":28}],27:[function(e,t,n){"use strict";var r=e("../utils"),s=e("./GenericWorker");function i(e){s.call(this,"DataWorker");var t=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,e.then((function(e){t.dataIsReady=!0,t.data=e,t.max=e&&e.length||0,t.type=r.getTypeOf(e),t.isPaused||t._tickAndRepeat()}),(function(e){t.error(e)}))}r.inherits(i,s),i.prototype.cleanUp=function(){s.prototype.cleanUp.call(this),this.data=null},i.prototype.resume=function(){return!!s.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,r.delay(this._tickAndRepeat,[],this)),!0)},i.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(r.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},i.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var e=null,t=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":e=this.data.substring(this.index,t);break;case"uint8array":e=this.data.subarray(this.index,t);break;case"array":case"nodebuffer":e=this.data.slice(this.index,t)}return this.index=t,this.push({data:e,meta:{percent:this.max?this.index/this.max*100:0}})},t.exports=i},{"../utils":32,"./GenericWorker":28}],28:[function(e,t,n){"use strict";function r(e){this.name=e||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}r.prototype={push:function(e){this.emit("data",e)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(e){this.emit("error",e)}return!0},error:function(e){return!this.isFinished&&(this.isPaused?this.generatedError=e:(this.isFinished=!0,this.emit("error",e),this.previous&&this.previous.error(e),this.cleanUp()),!0)},on:function(e,t){return this._listeners[e].push(t),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(e,t){if(this._listeners[e])for(var n=0;n<this._listeners[e].length;n++)this._listeners[e][n].call(this,t)},pipe:function(e){return e.registerPrevious(this)},registerPrevious:function(e){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=e.streamInfo,this.mergeStreamInfo(),this.previous=e;var t=this;return e.on("data",(function(e){t.processChunk(e)})),e.on("end",(function(){t.end()})),e.on("error",(function(e){t.error(e)})),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var e=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),e=!0),this.previous&&this.previous.resume(),!e},flush:function(){},processChunk:function(e){this.push(e)},withStreamInfo:function(e,t){return this.extraStreamInfo[e]=t,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var e in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,e)&&(this.streamInfo[e]=this.extraStreamInfo[e])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var e="Worker "+this.name;return this.previous?this.previous+" -> "+e:e}},t.exports=r},{}],29:[function(e,t,n){"use strict";var s=e("../utils"),i=e("./ConvertWorker"),o=e("./GenericWorker"),a=e("../base64"),c=e("../support"),l=e("../external"),u=null;if(c.nodestream)try{u=e("../nodejs/NodejsStreamOutputAdapter")}catch(e){}function d(e,t){return new l.Promise((function(n,i){var o=[],c=e._internalType,l=e._outputType,u=e._mimeType;e.on("data",(function(e,n){o.push(e),t&&t(n)})).on("error",(function(e){o=[],i(e)})).on("end",(function(){try{var e=function(e,t,n){switch(e){case"blob":return s.newBlob(s.transformTo("arraybuffer",t),n);case"base64":return a.encode(t);default:return s.transformTo(e,t)}}(l,function(e,t){var n,s=0,i=null,o=0;for(n=0;n<t.length;n++)o+=t[n].length;switch(e){case"string":return t.join("");case"array":return Array.prototype.concat.apply([],t);case"uint8array":for(i=new Uint8Array(o),n=0;n<t.length;n++)i.set(t[n],s),s+=t[n].length;return i;case"nodebuffer":return r.concat(t);default:throw new Error("concat : unsupported type '"+e+"'")}}(c,o),u);n(e)}catch(e){i(e)}o=[]})).resume()}))}function h(e,t,n){var r=t;switch(t){case"blob":case"arraybuffer":r="uint8array";break;case"base64":r="string"}try{this._internalType=r,this._outputType=t,this._mimeType=n,s.checkSupport(r),this._worker=e.pipe(new i(r)),e.lock()}catch(e){this._worker=new o("error"),this._worker.error(e)}}h.prototype={accumulate:function(e){return d(this,e)},on:function(e,t){var n=this;return"data"===e?this._worker.on(e,(function(e){t.call(n,e.data,e.meta)})):this._worker.on(e,(function(){s.delay(t,arguments,n)})),this},resume:function(){return s.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(e){if(s.checkSupport("nodestream"),"nodebuffer"!==this._outputType)throw new Error(this._outputType+" is not supported by this method");return new u(this,{objectMode:"nodebuffer"!==this._outputType},e)}},t.exports=h},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(e,t,n){"use strict";if(n.base64=!0,n.array=!0,n.string=!0,n.arraybuffer="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,n.nodebuffer="undefined"!=typeof r,n.uint8array="undefined"!=typeof Uint8Array,"undefined"==typeof ArrayBuffer)n.blob=!1;else{var s=new ArrayBuffer(0);try{n.blob=0===new Blob([s],{type:"application/zip"}).size}catch(e){try{var i=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);i.append(s),n.blob=0===i.getBlob("application/zip").size}catch(e){n.blob=!1}}}try{n.nodestream=!!e("readable-stream").Readable}catch(e){n.nodestream=!1}},{"readable-stream":16}],31:[function(e,t,n){"use strict";for(var r=e("./utils"),s=e("./support"),i=e("./nodejsUtils"),o=e("./stream/GenericWorker"),a=new Array(256),c=0;c<256;c++)a[c]=252<=c?6:248<=c?5:240<=c?4:224<=c?3:192<=c?2:1;function l(){o.call(this,"utf-8 decode"),this.leftOver=null}function u(){o.call(this,"utf-8 encode")}a[254]=a[254]=1,n.utf8encode=function(e){return s.nodebuffer?i.newBufferFrom(e,"utf-8"):function(e){var t,n,r,i,o,a=e.length,c=0;for(i=0;i<a;i++)55296==(64512&(n=e.charCodeAt(i)))&&i+1<a&&56320==(64512&(r=e.charCodeAt(i+1)))&&(n=65536+(n-55296<<10)+(r-56320),i++),c+=n<128?1:n<2048?2:n<65536?3:4;for(t=s.uint8array?new Uint8Array(c):new Array(c),i=o=0;o<c;i++)55296==(64512&(n=e.charCodeAt(i)))&&i+1<a&&56320==(64512&(r=e.charCodeAt(i+1)))&&(n=65536+(n-55296<<10)+(r-56320),i++),n<128?t[o++]=n:(n<2048?t[o++]=192|n>>>6:(n<65536?t[o++]=224|n>>>12:(t[o++]=240|n>>>18,t[o++]=128|n>>>12&63),t[o++]=128|n>>>6&63),t[o++]=128|63&n);return t}(e)},n.utf8decode=function(e){return s.nodebuffer?r.transformTo("nodebuffer",e).toString("utf-8"):function(e){var t,n,s,i,o=e.length,c=new Array(2*o);for(t=n=0;t<o;)if((s=e[t++])<128)c[n++]=s;else if(4<(i=a[s]))c[n++]=65533,t+=i-1;else{for(s&=2===i?31:3===i?15:7;1<i&&t<o;)s=s<<6|63&e[t++],i--;1<i?c[n++]=65533:s<65536?c[n++]=s:(s-=65536,c[n++]=55296|s>>10&1023,c[n++]=56320|1023&s)}return c.length!==n&&(c.subarray?c=c.subarray(0,n):c.length=n),r.applyFromCharCode(c)}(e=r.transformTo(s.uint8array?"uint8array":"array",e))},r.inherits(l,o),l.prototype.processChunk=function(e){var t=r.transformTo(s.uint8array?"uint8array":"array",e.data);if(this.leftOver&&this.leftOver.length){if(s.uint8array){var i=t;(t=new Uint8Array(i.length+this.leftOver.length)).set(this.leftOver,0),t.set(i,this.leftOver.length)}else t=this.leftOver.concat(t);this.leftOver=null}var o=function(e,t){var n;for((t=t||e.length)>e.length&&(t=e.length),n=t-1;0<=n&&128==(192&e[n]);)n--;return n<0||0===n?t:n+a[e[n]]>t?n:t}(t),c=t;o!==t.length&&(s.uint8array?(c=t.subarray(0,o),this.leftOver=t.subarray(o,t.length)):(c=t.slice(0,o),this.leftOver=t.slice(o,t.length))),this.push({data:n.utf8decode(c),meta:e.meta})},l.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:n.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},n.Utf8DecodeWorker=l,r.inherits(u,o),u.prototype.processChunk=function(e){this.push({data:n.utf8encode(e.data),meta:e.meta})},n.Utf8EncodeWorker=u},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(e,t,n){"use strict";var r=e("./support"),s=e("./base64"),i=e("./nodejsUtils"),o=e("./external");function a(e){return e}function c(e,t){for(var n=0;n<e.length;++n)t[n]=255&e.charCodeAt(n);return t}e("setimmediate"),n.newBlob=function(t,r){n.checkSupport("blob");try{return new Blob([t],{type:r})}catch(e){try{var s=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return s.append(t),s.getBlob(r)}catch(e){throw new Error("Bug : can't construct the Blob.")}}};var l={stringifyByChunk:function(e,t,n){var r=[],s=0,i=e.length;if(i<=n)return String.fromCharCode.apply(null,e);for(;s<i;)"array"===t||"nodebuffer"===t?r.push(String.fromCharCode.apply(null,e.slice(s,Math.min(s+n,i)))):r.push(String.fromCharCode.apply(null,e.subarray(s,Math.min(s+n,i)))),s+=n;return r.join("")},stringifyByChar:function(e){for(var t="",n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return t},applyCanBeUsed:{uint8array:function(){try{return r.uint8array&&1===String.fromCharCode.apply(null,new Uint8Array(1)).length}catch(e){return!1}}(),nodebuffer:function(){try{return r.nodebuffer&&1===String.fromCharCode.apply(null,i.allocBuffer(1)).length}catch(e){return!1}}()}};function u(e){var t=65536,r=n.getTypeOf(e),s=!0;if("uint8array"===r?s=l.applyCanBeUsed.uint8array:"nodebuffer"===r&&(s=l.applyCanBeUsed.nodebuffer),s)for(;1<t;)try{return l.stringifyByChunk(e,r,t)}catch(e){t=Math.floor(t/2)}return l.stringifyByChar(e)}function d(e,t){for(var n=0;n<e.length;n++)t[n]=e[n];return t}n.applyFromCharCode=u;var h={};h.string={string:a,array:function(e){return c(e,new Array(e.length))},arraybuffer:function(e){return h.string.uint8array(e).buffer},uint8array:function(e){return c(e,new Uint8Array(e.length))},nodebuffer:function(e){return c(e,i.allocBuffer(e.length))}},h.array={string:u,array:a,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return i.newBufferFrom(e)}},h.arraybuffer={string:function(e){return u(new Uint8Array(e))},array:function(e){return d(new Uint8Array(e),new Array(e.byteLength))},arraybuffer:a,uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return i.newBufferFrom(new Uint8Array(e))}},h.uint8array={string:u,array:function(e){return d(e,new Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:a,nodebuffer:function(e){return i.newBufferFrom(e)}},h.nodebuffer={string:u,array:function(e){return d(e,new Array(e.length))},arraybuffer:function(e){return h.nodebuffer.uint8array(e).buffer},uint8array:function(e){return d(e,new Uint8Array(e.length))},nodebuffer:a},n.transformTo=function(e,t){if(t=t||"",!e)return t;n.checkSupport(e);var r=n.getTypeOf(t);return h[r][e](t)},n.resolve=function(e){for(var t=e.split("/"),n=[],r=0;r<t.length;r++){var s=t[r];"."===s||""===s&&0!==r&&r!==t.length-1||(".."===s?n.pop():n.push(s))}return n.join("/")},n.getTypeOf=function(e){return"string"==typeof e?"string":"[object Array]"===Object.prototype.toString.call(e)?"array":r.nodebuffer&&i.isBuffer(e)?"nodebuffer":r.uint8array&&e instanceof Uint8Array?"uint8array":r.arraybuffer&&e instanceof ArrayBuffer?"arraybuffer":void 0},n.checkSupport=function(e){if(!r[e.toLowerCase()])throw new Error(e+" is not supported by this platform")},n.MAX_VALUE_16BITS=65535,n.MAX_VALUE_32BITS=-1,n.pretty=function(e){var t,n,r="";for(n=0;n<(e||"").length;n++)r+="\\x"+((t=e.charCodeAt(n))<16?"0":"")+t.toString(16).toUpperCase();return r},n.delay=function(e,t,n){setImmediate((function(){e.apply(n||null,t||[])}))},n.inherits=function(e,t){function n(){}n.prototype=t.prototype,e.prototype=new n},n.extend=function(){var e,t,n={};for(e=0;e<arguments.length;e++)for(t in arguments[e])Object.prototype.hasOwnProperty.call(arguments[e],t)&&void 0===n[t]&&(n[t]=arguments[e][t]);return n},n.prepareContent=function(e,t,i,a,l){return o.Promise.resolve(t).then((function(e){return r.blob&&(e instanceof Blob||-1!==["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(e)))&&"undefined"!=typeof FileReader?new o.Promise((function(t,n){var r=new FileReader;r.onload=function(e){t(e.target.result)},r.onerror=function(e){n(e.target.error)},r.readAsArrayBuffer(e)})):e})).then((function(t){var u=n.getTypeOf(t);return u?("arraybuffer"===u?t=n.transformTo("uint8array",t):"string"===u&&(l?t=s.decode(t):i&&!0!==a&&(t=function(e){return c(e,r.uint8array?new Uint8Array(e.length):new Array(e.length))}(t))),t):o.Promise.reject(new Error("Can't read the data of '"+e+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))}))}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(e,t,n){"use strict";var r=e("./reader/readerFor"),s=e("./utils"),i=e("./signature"),o=e("./zipEntry"),a=e("./support");function c(e){this.files=[],this.loadOptions=e}c.prototype={checkSignature:function(e){if(!this.reader.readAndCheckSignature(e)){this.reader.index-=4;var t=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+s.pretty(t)+", expected "+s.pretty(e)+")")}},isSignature:function(e,t){var n=this.reader.index;this.reader.setIndex(e);var r=this.reader.readString(4)===t;return this.reader.setIndex(n),r},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var e=this.reader.readData(this.zipCommentLength),t=a.uint8array?"uint8array":"array",n=s.transformTo(t,e);this.zipComment=this.loadOptions.decodeFileName(n)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var e,t,n,r=this.zip64EndOfCentralSize-44;0<r;)e=this.reader.readInt(2),t=this.reader.readInt(4),n=this.reader.readData(t),this.zip64ExtensibleData[e]={id:e,length:t,value:n}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var e,t;for(e=0;e<this.files.length;e++)t=this.files[e],this.reader.setIndex(t.localHeaderOffset),this.checkSignature(i.LOCAL_FILE_HEADER),t.readLocalPart(this.reader),t.handleUTF8(),t.processAttributes()},readCentralDir:function(){var e;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(i.CENTRAL_FILE_HEADER);)(e=new o({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(e);if(this.centralDirRecords!==this.files.length&&0!==this.centralDirRecords&&0===this.files.length)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var e=this.reader.lastIndexOfSignature(i.CENTRAL_DIRECTORY_END);if(e<0)throw this.isSignature(0,i.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(e);var t=e;if(this.checkSignature(i.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===s.MAX_VALUE_16BITS||this.diskWithCentralDirStart===s.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===s.MAX_VALUE_16BITS||this.centralDirRecords===s.MAX_VALUE_16BITS||this.centralDirSize===s.MAX_VALUE_32BITS||this.centralDirOffset===s.MAX_VALUE_32BITS){if(this.zip64=!0,(e=this.reader.lastIndexOfSignature(i.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(e),this.checkSignature(i.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,i.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(i.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(i.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var n=this.centralDirOffset+this.centralDirSize;this.zip64&&(n+=20,n+=12+this.zip64EndOfCentralSize);var r=t-n;if(0<r)this.isSignature(t,i.CENTRAL_FILE_HEADER)||(this.reader.zero=r);else if(r<0)throw new Error("Corrupted zip: missing "+Math.abs(r)+" bytes.")},prepareReader:function(e){this.reader=r(e)},load:function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},t.exports=c},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(e,t,n){"use strict";var r=e("./reader/readerFor"),s=e("./utils"),i=e("./compressedObject"),o=e("./crc32"),a=e("./utf8"),c=e("./compressions"),l=e("./support");function u(e,t){this.options=e,this.loadOptions=t}u.prototype={isEncrypted:function(){return 1==(1&this.bitFlag)},useUTF8:function(){return 2048==(2048&this.bitFlag)},readLocalPart:function(e){var t,n;if(e.skip(22),this.fileNameLength=e.readInt(2),n=e.readInt(2),this.fileName=e.readData(this.fileNameLength),e.skip(n),-1===this.compressedSize||-1===this.uncompressedSize)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(null===(t=function(e){for(var t in c)if(Object.prototype.hasOwnProperty.call(c,t)&&c[t].magic===e)return c[t];return null}(this.compressionMethod)))throw new Error("Corrupted zip : compression "+s.pretty(this.compressionMethod)+" unknown (inner file : "+s.transformTo("string",this.fileName)+")");this.decompressed=new i(this.compressedSize,this.uncompressedSize,this.crc32,t,e.readData(this.compressedSize))},readCentralPart:function(e){this.versionMadeBy=e.readInt(2),e.skip(2),this.bitFlag=e.readInt(2),this.compressionMethod=e.readString(2),this.date=e.readDate(),this.crc32=e.readInt(4),this.compressedSize=e.readInt(4),this.uncompressedSize=e.readInt(4);var t=e.readInt(2);if(this.extraFieldsLength=e.readInt(2),this.fileCommentLength=e.readInt(2),this.diskNumberStart=e.readInt(2),this.internalFileAttributes=e.readInt(2),this.externalFileAttributes=e.readInt(4),this.localHeaderOffset=e.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");e.skip(t),this.readExtraFields(e),this.parseZIP64ExtraField(e),this.fileComment=e.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var e=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),0==e&&(this.dosPermissions=63&this.externalFileAttributes),3==e&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var e=r(this.extraFields[1].value);this.uncompressedSize===s.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===s.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===s.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===s.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4))}},readExtraFields:function(e){var t,n,r,s=e.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});e.index+4<s;)t=e.readInt(2),n=e.readInt(2),r=e.readData(n),this.extraFields[t]={id:t,length:n,value:r};e.setIndex(s)},handleUTF8:function(){var e=l.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=a.utf8decode(this.fileName),this.fileCommentStr=a.utf8decode(this.fileComment);else{var t=this.findExtraFieldUnicodePath();if(null!==t)this.fileNameStr=t;else{var n=s.transformTo(e,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(n)}var r=this.findExtraFieldUnicodeComment();if(null!==r)this.fileCommentStr=r;else{var i=s.transformTo(e,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(i)}}},findExtraFieldUnicodePath:function(){var e=this.extraFields[28789];if(e){var t=r(e.value);return 1!==t.readInt(1)||o(this.fileName)!==t.readInt(4)?null:a.utf8decode(t.readData(e.length-5))}return null},findExtraFieldUnicodeComment:function(){var e=this.extraFields[25461];if(e){var t=r(e.value);return 1!==t.readInt(1)||o(this.fileComment)!==t.readInt(4)?null:a.utf8decode(t.readData(e.length-5))}return null}},t.exports=u},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(e,t,n){"use strict";function r(e,t,n){this.name=e,this.dir=n.dir,this.date=n.date,this.comment=n.comment,this.unixPermissions=n.unixPermissions,this.dosPermissions=n.dosPermissions,this._data=t,this._dataBinary=n.binary,this.options={compression:n.compression,compressionOptions:n.compressionOptions}}var s=e("./stream/StreamHelper"),i=e("./stream/DataWorker"),o=e("./utf8"),a=e("./compressedObject"),c=e("./stream/GenericWorker");r.prototype={internalStream:function(e){var t=null,n="string";try{if(!e)throw new Error("No output type specified.");var r="string"===(n=e.toLowerCase())||"text"===n;"binarystring"!==n&&"text"!==n||(n="string"),t=this._decompressWorker();var i=!this._dataBinary;i&&!r&&(t=t.pipe(new o.Utf8EncodeWorker)),!i&&r&&(t=t.pipe(new o.Utf8DecodeWorker))}catch(e){(t=new c("error")).error(e)}return new s(t,n,"")},async:function(e,t){return this.internalStream(e).accumulate(t)},nodeStream:function(e,t){return this.internalStream(e||"nodebuffer").toNodejsStream(t)},_compressWorker:function(e,t){if(this._data instanceof a&&this._data.compression.magic===e.magic)return this._data.getCompressedWorker();var n=this._decompressWorker();return this._dataBinary||(n=n.pipe(new o.Utf8EncodeWorker)),a.createWorkerFrom(n,e,t)},_decompressWorker:function(){return this._data instanceof a?this._data.getContentWorker():this._data instanceof c?this._data:new i(this._data)}};for(var l=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],u=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},d=0;d<l.length;d++)r.prototype[l[d]]=u;t.exports=r},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(e,t,r){(function(e){"use strict";var n,r,s=e.MutationObserver||e.WebKitMutationObserver;if(s){var i=0,o=new s(u),a=e.document.createTextNode("");o.observe(a,{characterData:!0}),n=function(){a.data=i=++i%2}}else if(e.setImmediate||void 0===e.MessageChannel)n="document"in e&&"onreadystatechange"in e.document.createElement("script")?function(){var t=e.document.createElement("script");t.onreadystatechange=function(){u(),t.onreadystatechange=null,t.parentNode.removeChild(t),t=null},e.document.documentElement.appendChild(t)}:function(){setTimeout(u,0)};else{var c=new e.MessageChannel;c.port1.onmessage=u,n=function(){c.port2.postMessage(0)}}var l=[];function u(){var e,t;r=!0;for(var n=l.length;n;){for(t=l,l=[],e=-1;++e<n;)t[e]();n=l.length}r=!1}t.exports=function(e){1!==l.push(e)||r||n()}}).call(this,"undefined"!=typeof n.g?n.g:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],37:[function(e,t,n){"use strict";var r=e("immediate");function s(){}var i={},o=["REJECTED"],a=["FULFILLED"],c=["PENDING"];function l(e){if("function"!=typeof e)throw new TypeError("resolver must be a function");this.state=c,this.queue=[],this.outcome=void 0,e!==s&&f(this,e)}function u(e,t,n){this.promise=e,"function"==typeof t&&(this.onFulfilled=t,this.callFulfilled=this.otherCallFulfilled),"function"==typeof n&&(this.onRejected=n,this.callRejected=this.otherCallRejected)}function d(e,t,n){r((function(){var r;try{r=t(n)}catch(r){return i.reject(e,r)}r===e?i.reject(e,new TypeError("Cannot resolve promise with itself")):i.resolve(e,r)}))}function h(e){var t=e&&e.then;if(e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof t)return function(){t.apply(e,arguments)}}function f(e,t){var n=!1;function r(t){n||(n=!0,i.reject(e,t))}function s(t){n||(n=!0,i.resolve(e,t))}var o=p((function(){t(s,r)}));"error"===o.status&&r(o.value)}function p(e,t){var n={};try{n.value=e(t),n.status="success"}catch(e){n.status="error",n.value=e}return n}(t.exports=l).prototype.finally=function(e){if("function"!=typeof e)return this;var t=this.constructor;return this.then((function(n){return t.resolve(e()).then((function(){return n}))}),(function(n){return t.resolve(e()).then((function(){throw n}))}))},l.prototype.catch=function(e){return this.then(null,e)},l.prototype.then=function(e,t){if("function"!=typeof e&&this.state===a||"function"!=typeof t&&this.state===o)return this;var n=new this.constructor(s);return this.state!==c?d(n,this.state===a?e:t,this.outcome):this.queue.push(new u(n,e,t)),n},u.prototype.callFulfilled=function(e){i.resolve(this.promise,e)},u.prototype.otherCallFulfilled=function(e){d(this.promise,this.onFulfilled,e)},u.prototype.callRejected=function(e){i.reject(this.promise,e)},u.prototype.otherCallRejected=function(e){d(this.promise,this.onRejected,e)},i.resolve=function(e,t){var n=p(h,t);if("error"===n.status)return i.reject(e,n.value);var r=n.value;if(r)f(e,r);else{e.state=a,e.outcome=t;for(var s=-1,o=e.queue.length;++s<o;)e.queue[s].callFulfilled(t)}return e},i.reject=function(e,t){e.state=o,e.outcome=t;for(var n=-1,r=e.queue.length;++n<r;)e.queue[n].callRejected(t);return e},l.resolve=function(e){return e instanceof this?e:i.resolve(new this(s),e)},l.reject=function(e){var t=new this(s);return i.reject(t,e)},l.all=function(e){var t=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var n=e.length,r=!1;if(!n)return this.resolve([]);for(var o=new Array(n),a=0,c=-1,l=new this(s);++c<n;)u(e[c],c);return l;function u(e,s){t.resolve(e).then((function(e){o[s]=e,++a!==n||r||(r=!0,i.resolve(l,o))}),(function(e){r||(r=!0,i.reject(l,e))}))}},l.race=function(e){var t=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var n=e.length,r=!1;if(!n)return this.resolve([]);for(var o,a=-1,c=new this(s);++a<n;)o=e[a],t.resolve(o).then((function(e){r||(r=!0,i.resolve(c,e))}),(function(e){r||(r=!0,i.reject(c,e))}));return c}},{immediate:36}],38:[function(e,t,n){"use strict";var r={};(0,e("./lib/utils/common").assign)(r,e("./lib/deflate"),e("./lib/inflate"),e("./lib/zlib/constants")),t.exports=r},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(e,t,n){"use strict";var r=e("./zlib/deflate"),s=e("./utils/common"),i=e("./utils/strings"),o=e("./zlib/messages"),a=e("./zlib/zstream"),c=Object.prototype.toString,l=0,u=-1,d=0,h=8;function f(e){if(!(this instanceof f))return new f(e);this.options=s.assign({level:u,method:h,chunkSize:16384,windowBits:15,memLevel:8,strategy:d,to:""},e||{});var t=this.options;t.raw&&0<t.windowBits?t.windowBits=-t.windowBits:t.gzip&&0<t.windowBits&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new a,this.strm.avail_out=0;var n=r.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(n!==l)throw new Error(o[n]);if(t.header&&r.deflateSetHeader(this.strm,t.header),t.dictionary){var p;if(p="string"==typeof t.dictionary?i.string2buf(t.dictionary):"[object ArrayBuffer]"===c.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,(n=r.deflateSetDictionary(this.strm,p))!==l)throw new Error(o[n]);this._dict_set=!0}}function p(e,t){var n=new f(t);if(n.push(e,!0),n.err)throw n.msg||o[n.err];return n.result}f.prototype.push=function(e,t){var n,o,a=this.strm,u=this.options.chunkSize;if(this.ended)return!1;o=t===~~t?t:!0===t?4:0,"string"==typeof e?a.input=i.string2buf(e):"[object ArrayBuffer]"===c.call(e)?a.input=new Uint8Array(e):a.input=e,a.next_in=0,a.avail_in=a.input.length;do{if(0===a.avail_out&&(a.output=new s.Buf8(u),a.next_out=0,a.avail_out=u),1!==(n=r.deflate(a,o))&&n!==l)return this.onEnd(n),!(this.ended=!0);0!==a.avail_out&&(0!==a.avail_in||4!==o&&2!==o)||("string"===this.options.to?this.onData(i.buf2binstring(s.shrinkBuf(a.output,a.next_out))):this.onData(s.shrinkBuf(a.output,a.next_out)))}while((0<a.avail_in||0===a.avail_out)&&1!==n);return 4===o?(n=r.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===l):2!==o||(this.onEnd(l),!(a.avail_out=0))},f.prototype.onData=function(e){this.chunks.push(e)},f.prototype.onEnd=function(e){e===l&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=s.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},n.Deflate=f,n.deflate=p,n.deflateRaw=function(e,t){return(t=t||{}).raw=!0,p(e,t)},n.gzip=function(e,t){return(t=t||{}).gzip=!0,p(e,t)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(e,t,n){"use strict";var r=e("./zlib/inflate"),s=e("./utils/common"),i=e("./utils/strings"),o=e("./zlib/constants"),a=e("./zlib/messages"),c=e("./zlib/zstream"),l=e("./zlib/gzheader"),u=Object.prototype.toString;function d(e){if(!(this instanceof d))return new d(e);this.options=s.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&0<=t.windowBits&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(0<=t.windowBits&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),15<t.windowBits&&t.windowBits<48&&0==(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new c,this.strm.avail_out=0;var n=r.inflateInit2(this.strm,t.windowBits);if(n!==o.Z_OK)throw new Error(a[n]);this.header=new l,r.inflateGetHeader(this.strm,this.header)}function h(e,t){var n=new d(t);if(n.push(e,!0),n.err)throw n.msg||a[n.err];return n.result}d.prototype.push=function(e,t){var n,a,c,l,d,h,f=this.strm,p=this.options.chunkSize,m=this.options.dictionary,g=!1;if(this.ended)return!1;a=t===~~t?t:!0===t?o.Z_FINISH:o.Z_NO_FLUSH,"string"==typeof e?f.input=i.binstring2buf(e):"[object ArrayBuffer]"===u.call(e)?f.input=new Uint8Array(e):f.input=e,f.next_in=0,f.avail_in=f.input.length;do{if(0===f.avail_out&&(f.output=new s.Buf8(p),f.next_out=0,f.avail_out=p),(n=r.inflate(f,o.Z_NO_FLUSH))===o.Z_NEED_DICT&&m&&(h="string"==typeof m?i.string2buf(m):"[object ArrayBuffer]"===u.call(m)?new Uint8Array(m):m,n=r.inflateSetDictionary(this.strm,h)),n===o.Z_BUF_ERROR&&!0===g&&(n=o.Z_OK,g=!1),n!==o.Z_STREAM_END&&n!==o.Z_OK)return this.onEnd(n),!(this.ended=!0);f.next_out&&(0!==f.avail_out&&n!==o.Z_STREAM_END&&(0!==f.avail_in||a!==o.Z_FINISH&&a!==o.Z_SYNC_FLUSH)||("string"===this.options.to?(c=i.utf8border(f.output,f.next_out),l=f.next_out-c,d=i.buf2string(f.output,c),f.next_out=l,f.avail_out=p-l,l&&s.arraySet(f.output,f.output,c,l,0),this.onData(d)):this.onData(s.shrinkBuf(f.output,f.next_out)))),0===f.avail_in&&0===f.avail_out&&(g=!0)}while((0<f.avail_in||0===f.avail_out)&&n!==o.Z_STREAM_END);return n===o.Z_STREAM_END&&(a=o.Z_FINISH),a===o.Z_FINISH?(n=r.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===o.Z_OK):a!==o.Z_SYNC_FLUSH||(this.onEnd(o.Z_OK),!(f.avail_out=0))},d.prototype.onData=function(e){this.chunks.push(e)},d.prototype.onEnd=function(e){e===o.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=s.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},n.Inflate=d,n.inflate=h,n.inflateRaw=function(e,t){return(t=t||{}).raw=!0,h(e,t)},n.ungzip=h},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(e,t,n){"use strict";var r="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;n.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var n=t.shift();if(n){if("object"!=typeof n)throw new TypeError(n+"must be non-object");for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])}}return e},n.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var s={arraySet:function(e,t,n,r,s){if(t.subarray&&e.subarray)e.set(t.subarray(n,n+r),s);else for(var i=0;i<r;i++)e[s+i]=t[n+i]},flattenChunks:function(e){var t,n,r,s,i,o;for(t=r=0,n=e.length;t<n;t++)r+=e[t].length;for(o=new Uint8Array(r),t=s=0,n=e.length;t<n;t++)i=e[t],o.set(i,s),s+=i.length;return o}},i={arraySet:function(e,t,n,r,s){for(var i=0;i<r;i++)e[s+i]=t[n+i]},flattenChunks:function(e){return[].concat.apply([],e)}};n.setTyped=function(e){e?(n.Buf8=Uint8Array,n.Buf16=Uint16Array,n.Buf32=Int32Array,n.assign(n,s)):(n.Buf8=Array,n.Buf16=Array,n.Buf32=Array,n.assign(n,i))},n.setTyped(r)},{}],42:[function(e,t,n){"use strict";var r=e("./common"),s=!0,i=!0;try{String.fromCharCode.apply(null,[0])}catch(e){s=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){i=!1}for(var o=new r.Buf8(256),a=0;a<256;a++)o[a]=252<=a?6:248<=a?5:240<=a?4:224<=a?3:192<=a?2:1;function c(e,t){if(t<65537&&(e.subarray&&i||!e.subarray&&s))return String.fromCharCode.apply(null,r.shrinkBuf(e,t));for(var n="",o=0;o<t;o++)n+=String.fromCharCode(e[o]);return n}o[254]=o[254]=1,n.string2buf=function(e){var t,n,s,i,o,a=e.length,c=0;for(i=0;i<a;i++)55296==(64512&(n=e.charCodeAt(i)))&&i+1<a&&56320==(64512&(s=e.charCodeAt(i+1)))&&(n=65536+(n-55296<<10)+(s-56320),i++),c+=n<128?1:n<2048?2:n<65536?3:4;for(t=new r.Buf8(c),i=o=0;o<c;i++)55296==(64512&(n=e.charCodeAt(i)))&&i+1<a&&56320==(64512&(s=e.charCodeAt(i+1)))&&(n=65536+(n-55296<<10)+(s-56320),i++),n<128?t[o++]=n:(n<2048?t[o++]=192|n>>>6:(n<65536?t[o++]=224|n>>>12:(t[o++]=240|n>>>18,t[o++]=128|n>>>12&63),t[o++]=128|n>>>6&63),t[o++]=128|63&n);return t},n.buf2binstring=function(e){return c(e,e.length)},n.binstring2buf=function(e){for(var t=new r.Buf8(e.length),n=0,s=t.length;n<s;n++)t[n]=e.charCodeAt(n);return t},n.buf2string=function(e,t){var n,r,s,i,a=t||e.length,l=new Array(2*a);for(n=r=0;n<a;)if((s=e[n++])<128)l[r++]=s;else if(4<(i=o[s]))l[r++]=65533,n+=i-1;else{for(s&=2===i?31:3===i?15:7;1<i&&n<a;)s=s<<6|63&e[n++],i--;1<i?l[r++]=65533:s<65536?l[r++]=s:(s-=65536,l[r++]=55296|s>>10&1023,l[r++]=56320|1023&s)}return c(l,r)},n.utf8border=function(e,t){var n;for((t=t||e.length)>e.length&&(t=e.length),n=t-1;0<=n&&128==(192&e[n]);)n--;return n<0||0===n?t:n+o[e[n]]>t?n:t}},{"./common":41}],43:[function(e,t,n){"use strict";t.exports=function(e,t,n,r){for(var s=65535&e,i=e>>>16&65535,o=0;0!==n;){for(n-=o=2e3<n?2e3:n;i=i+(s=s+t[r++]|0)|0,--o;);s%=65521,i%=65521}return s|i<<16}},{}],44:[function(e,t,n){"use strict";t.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(e,t,n){"use strict";var r=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}();t.exports=function(e,t,n,s){var i=r,o=s+n;e^=-1;for(var a=s;a<o;a++)e=e>>>8^i[255&(e^t[a])];return~e}},{}],46:[function(e,t,n){"use strict";var r,s=e("../utils/common"),i=e("./trees"),o=e("./adler32"),a=e("./crc32"),c=e("./messages"),l=0,u=4,d=0,h=-2,f=-1,p=4,m=2,g=8,_=9,v=286,y=30,b=19,w=2*v+1,S=15,k=3,C=258,x=C+k+1,E=42,T=113,I=1,O=2,A=3,R=4;function D(e,t){return e.msg=c[t],t}function M(e){return(e<<1)-(4<e?9:0)}function N(e){for(var t=e.length;0<=--t;)e[t]=0}function L(e){var t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),0!==n&&(s.arraySet(e.output,t.pending_buf,t.pending_out,n,e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,0===t.pending&&(t.pending_out=0))}function F(e,t){i._tr_flush_block(e,0<=e.block_start?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,L(e.strm)}function P(e,t){e.pending_buf[e.pending++]=t}function z(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function j(e,t){var n,r,s=e.max_chain_length,i=e.strstart,o=e.prev_length,a=e.nice_match,c=e.strstart>e.w_size-x?e.strstart-(e.w_size-x):0,l=e.window,u=e.w_mask,d=e.prev,h=e.strstart+C,f=l[i+o-1],p=l[i+o];e.prev_length>=e.good_match&&(s>>=2),a>e.lookahead&&(a=e.lookahead);do{if(l[(n=t)+o]===p&&l[n+o-1]===f&&l[n]===l[i]&&l[++n]===l[i+1]){i+=2,n++;do{}while(l[++i]===l[++n]&&l[++i]===l[++n]&&l[++i]===l[++n]&&l[++i]===l[++n]&&l[++i]===l[++n]&&l[++i]===l[++n]&&l[++i]===l[++n]&&l[++i]===l[++n]&&i<h);if(r=C-(h-i),i=h-C,o<r){if(e.match_start=t,a<=(o=r))break;f=l[i+o-1],p=l[i+o]}}}while((t=d[t&u])>c&&0!=--s);return o<=e.lookahead?o:e.lookahead}function B(e){var t,n,r,i,c,l,u,d,h,f,p=e.w_size;do{if(i=e.window_size-e.lookahead-e.strstart,e.strstart>=p+(p-x)){for(s.arraySet(e.window,e.window,p,p,0),e.match_start-=p,e.strstart-=p,e.block_start-=p,t=n=e.hash_size;r=e.head[--t],e.head[t]=p<=r?r-p:0,--n;);for(t=n=p;r=e.prev[--t],e.prev[t]=p<=r?r-p:0,--n;);i+=p}if(0===e.strm.avail_in)break;if(l=e.strm,u=e.window,d=e.strstart+e.lookahead,f=void 0,(h=i)<(f=l.avail_in)&&(f=h),n=0===f?0:(l.avail_in-=f,s.arraySet(u,l.input,l.next_in,f,d),1===l.state.wrap?l.adler=o(l.adler,u,f,d):2===l.state.wrap&&(l.adler=a(l.adler,u,f,d)),l.next_in+=f,l.total_in+=f,f),e.lookahead+=n,e.lookahead+e.insert>=k)for(c=e.strstart-e.insert,e.ins_h=e.window[c],e.ins_h=(e.ins_h<<e.hash_shift^e.window[c+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[c+k-1])&e.hash_mask,e.prev[c&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=c,c++,e.insert--,!(e.lookahead+e.insert<k)););}while(e.lookahead<x&&0!==e.strm.avail_in)}function $(e,t){for(var n,r;;){if(e.lookahead<x){if(B(e),e.lookahead<x&&t===l)return I;if(0===e.lookahead)break}if(n=0,e.lookahead>=k&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+k-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==n&&e.strstart-n<=e.w_size-x&&(e.match_length=j(e,n)),e.match_length>=k)if(r=i._tr_tally(e,e.strstart-e.match_start,e.match_length-k),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=k){for(e.match_length--;e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+k-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart,0!=--e.match_length;);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else r=i._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(r&&(F(e,!1),0===e.strm.avail_out))return I}return e.insert=e.strstart<k-1?e.strstart:k-1,t===u?(F(e,!0),0===e.strm.avail_out?A:R):e.last_lit&&(F(e,!1),0===e.strm.avail_out)?I:O}function U(e,t){for(var n,r,s;;){if(e.lookahead<x){if(B(e),e.lookahead<x&&t===l)return I;if(0===e.lookahead)break}if(n=0,e.lookahead>=k&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+k-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=k-1,0!==n&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-x&&(e.match_length=j(e,n),e.match_length<=5&&(1===e.strategy||e.match_length===k&&4096<e.strstart-e.match_start)&&(e.match_length=k-1)),e.prev_length>=k&&e.match_length<=e.prev_length){for(s=e.strstart+e.lookahead-k,r=i._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-k),e.lookahead-=e.prev_length-1,e.prev_length-=2;++e.strstart<=s&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+k-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!=--e.prev_length;);if(e.match_available=0,e.match_length=k-1,e.strstart++,r&&(F(e,!1),0===e.strm.avail_out))return I}else if(e.match_available){if((r=i._tr_tally(e,0,e.window[e.strstart-1]))&&F(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return I}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(r=i._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<k-1?e.strstart:k-1,t===u?(F(e,!0),0===e.strm.avail_out?A:R):e.last_lit&&(F(e,!1),0===e.strm.avail_out)?I:O}function W(e,t,n,r,s){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=r,this.func=s}function H(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=g,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new s.Buf16(2*w),this.dyn_dtree=new s.Buf16(2*(2*y+1)),this.bl_tree=new s.Buf16(2*(2*b+1)),N(this.dyn_ltree),N(this.dyn_dtree),N(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new s.Buf16(S+1),this.heap=new s.Buf16(2*v+1),N(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new s.Buf16(2*v+1),N(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function q(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=m,(t=e.state).pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?E:T,e.adler=2===t.wrap?0:1,t.last_flush=l,i._tr_init(t),d):D(e,h)}function G(e){var t=q(e);return t===d&&function(e){e.window_size=2*e.w_size,N(e.head),e.max_lazy_match=r[e.level].max_lazy,e.good_match=r[e.level].good_length,e.nice_match=r[e.level].nice_length,e.max_chain_length=r[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=k-1,e.match_available=0,e.ins_h=0}(e.state),t}function V(e,t,n,r,i,o){if(!e)return h;var a=1;if(t===f&&(t=6),r<0?(a=0,r=-r):15<r&&(a=2,r-=16),i<1||_<i||n!==g||r<8||15<r||t<0||9<t||o<0||p<o)return D(e,h);8===r&&(r=9);var c=new H;return(e.state=c).strm=e,c.wrap=a,c.gzhead=null,c.w_bits=r,c.w_size=1<<c.w_bits,c.w_mask=c.w_size-1,c.hash_bits=i+7,c.hash_size=1<<c.hash_bits,c.hash_mask=c.hash_size-1,c.hash_shift=~~((c.hash_bits+k-1)/k),c.window=new s.Buf8(2*c.w_size),c.head=new s.Buf16(c.hash_size),c.prev=new s.Buf16(c.w_size),c.lit_bufsize=1<<i+6,c.pending_buf_size=4*c.lit_bufsize,c.pending_buf=new s.Buf8(c.pending_buf_size),c.d_buf=1*c.lit_bufsize,c.l_buf=3*c.lit_bufsize,c.level=t,c.strategy=o,c.method=n,G(e)}r=[new W(0,0,0,0,(function(e,t){var n=65535;for(n>e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(B(e),0===e.lookahead&&t===l)return I;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var r=e.block_start+n;if((0===e.strstart||e.strstart>=r)&&(e.lookahead=e.strstart-r,e.strstart=r,F(e,!1),0===e.strm.avail_out))return I;if(e.strstart-e.block_start>=e.w_size-x&&(F(e,!1),0===e.strm.avail_out))return I}return e.insert=0,t===u?(F(e,!0),0===e.strm.avail_out?A:R):(e.strstart>e.block_start&&(F(e,!1),e.strm.avail_out),I)})),new W(4,4,8,4,$),new W(4,5,16,8,$),new W(4,6,32,32,$),new W(4,4,16,16,U),new W(8,16,32,32,U),new W(8,16,128,128,U),new W(8,32,128,256,U),new W(32,128,258,1024,U),new W(32,258,258,4096,U)],n.deflateInit=function(e,t){return V(e,t,g,15,8,0)},n.deflateInit2=V,n.deflateReset=G,n.deflateResetKeep=q,n.deflateSetHeader=function(e,t){return e&&e.state?2!==e.state.wrap?h:(e.state.gzhead=t,d):h},n.deflate=function(e,t){var n,s,o,c;if(!e||!e.state||5<t||t<0)return e?D(e,h):h;if(s=e.state,!e.output||!e.input&&0!==e.avail_in||666===s.status&&t!==u)return D(e,0===e.avail_out?-5:h);if(s.strm=e,n=s.last_flush,s.last_flush=t,s.status===E)if(2===s.wrap)e.adler=0,P(s,31),P(s,139),P(s,8),s.gzhead?(P(s,(s.gzhead.text?1:0)+(s.gzhead.hcrc?2:0)+(s.gzhead.extra?4:0)+(s.gzhead.name?8:0)+(s.gzhead.comment?16:0)),P(s,255&s.gzhead.time),P(s,s.gzhead.time>>8&255),P(s,s.gzhead.time>>16&255),P(s,s.gzhead.time>>24&255),P(s,9===s.level?2:2<=s.strategy||s.level<2?4:0),P(s,255&s.gzhead.os),s.gzhead.extra&&s.gzhead.extra.length&&(P(s,255&s.gzhead.extra.length),P(s,s.gzhead.extra.length>>8&255)),s.gzhead.hcrc&&(e.adler=a(e.adler,s.pending_buf,s.pending,0)),s.gzindex=0,s.status=69):(P(s,0),P(s,0),P(s,0),P(s,0),P(s,0),P(s,9===s.level?2:2<=s.strategy||s.level<2?4:0),P(s,3),s.status=T);else{var f=g+(s.w_bits-8<<4)<<8;f|=(2<=s.strategy||s.level<2?0:s.level<6?1:6===s.level?2:3)<<6,0!==s.strstart&&(f|=32),f+=31-f%31,s.status=T,z(s,f),0!==s.strstart&&(z(s,e.adler>>>16),z(s,65535&e.adler)),e.adler=1}if(69===s.status)if(s.gzhead.extra){for(o=s.pending;s.gzindex<(65535&s.gzhead.extra.length)&&(s.pending!==s.pending_buf_size||(s.gzhead.hcrc&&s.pending>o&&(e.adler=a(e.adler,s.pending_buf,s.pending-o,o)),L(e),o=s.pending,s.pending!==s.pending_buf_size));)P(s,255&s.gzhead.extra[s.gzindex]),s.gzindex++;s.gzhead.hcrc&&s.pending>o&&(e.adler=a(e.adler,s.pending_buf,s.pending-o,o)),s.gzindex===s.gzhead.extra.length&&(s.gzindex=0,s.status=73)}else s.status=73;if(73===s.status)if(s.gzhead.name){o=s.pending;do{if(s.pending===s.pending_buf_size&&(s.gzhead.hcrc&&s.pending>o&&(e.adler=a(e.adler,s.pending_buf,s.pending-o,o)),L(e),o=s.pending,s.pending===s.pending_buf_size)){c=1;break}c=s.gzindex<s.gzhead.name.length?255&s.gzhead.name.charCodeAt(s.gzindex++):0,P(s,c)}while(0!==c);s.gzhead.hcrc&&s.pending>o&&(e.adler=a(e.adler,s.pending_buf,s.pending-o,o)),0===c&&(s.gzindex=0,s.status=91)}else s.status=91;if(91===s.status)if(s.gzhead.comment){o=s.pending;do{if(s.pending===s.pending_buf_size&&(s.gzhead.hcrc&&s.pending>o&&(e.adler=a(e.adler,s.pending_buf,s.pending-o,o)),L(e),o=s.pending,s.pending===s.pending_buf_size)){c=1;break}c=s.gzindex<s.gzhead.comment.length?255&s.gzhead.comment.charCodeAt(s.gzindex++):0,P(s,c)}while(0!==c);s.gzhead.hcrc&&s.pending>o&&(e.adler=a(e.adler,s.pending_buf,s.pending-o,o)),0===c&&(s.status=103)}else s.status=103;if(103===s.status&&(s.gzhead.hcrc?(s.pending+2>s.pending_buf_size&&L(e),s.pending+2<=s.pending_buf_size&&(P(s,255&e.adler),P(s,e.adler>>8&255),e.adler=0,s.status=T)):s.status=T),0!==s.pending){if(L(e),0===e.avail_out)return s.last_flush=-1,d}else if(0===e.avail_in&&M(t)<=M(n)&&t!==u)return D(e,-5);if(666===s.status&&0!==e.avail_in)return D(e,-5);if(0!==e.avail_in||0!==s.lookahead||t!==l&&666!==s.status){var p=2===s.strategy?function(e,t){for(var n;;){if(0===e.lookahead&&(B(e),0===e.lookahead)){if(t===l)return I;break}if(e.match_length=0,n=i._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(F(e,!1),0===e.strm.avail_out))return I}return e.insert=0,t===u?(F(e,!0),0===e.strm.avail_out?A:R):e.last_lit&&(F(e,!1),0===e.strm.avail_out)?I:O}(s,t):3===s.strategy?function(e,t){for(var n,r,s,o,a=e.window;;){if(e.lookahead<=C){if(B(e),e.lookahead<=C&&t===l)return I;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=k&&0<e.strstart&&(r=a[s=e.strstart-1])===a[++s]&&r===a[++s]&&r===a[++s]){o=e.strstart+C;do{}while(r===a[++s]&&r===a[++s]&&r===a[++s]&&r===a[++s]&&r===a[++s]&&r===a[++s]&&r===a[++s]&&r===a[++s]&&s<o);e.match_length=C-(o-s),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=k?(n=i._tr_tally(e,1,e.match_length-k),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=i._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(F(e,!1),0===e.strm.avail_out))return I}return e.insert=0,t===u?(F(e,!0),0===e.strm.avail_out?A:R):e.last_lit&&(F(e,!1),0===e.strm.avail_out)?I:O}(s,t):r[s.level].func(s,t);if(p!==A&&p!==R||(s.status=666),p===I||p===A)return 0===e.avail_out&&(s.last_flush=-1),d;if(p===O&&(1===t?i._tr_align(s):5!==t&&(i._tr_stored_block(s,0,0,!1),3===t&&(N(s.head),0===s.lookahead&&(s.strstart=0,s.block_start=0,s.insert=0))),L(e),0===e.avail_out))return s.last_flush=-1,d}return t!==u?d:s.wrap<=0?1:(2===s.wrap?(P(s,255&e.adler),P(s,e.adler>>8&255),P(s,e.adler>>16&255),P(s,e.adler>>24&255),P(s,255&e.total_in),P(s,e.total_in>>8&255),P(s,e.total_in>>16&255),P(s,e.total_in>>24&255)):(z(s,e.adler>>>16),z(s,65535&e.adler)),L(e),0<s.wrap&&(s.wrap=-s.wrap),0!==s.pending?d:1)},n.deflateEnd=function(e){var t;return e&&e.state?(t=e.state.status)!==E&&69!==t&&73!==t&&91!==t&&103!==t&&t!==T&&666!==t?D(e,h):(e.state=null,t===T?D(e,-3):d):h},n.deflateSetDictionary=function(e,t){var n,r,i,a,c,l,u,f,p=t.length;if(!e||!e.state)return h;if(2===(a=(n=e.state).wrap)||1===a&&n.status!==E||n.lookahead)return h;for(1===a&&(e.adler=o(e.adler,t,p,0)),n.wrap=0,p>=n.w_size&&(0===a&&(N(n.head),n.strstart=0,n.block_start=0,n.insert=0),f=new s.Buf8(n.w_size),s.arraySet(f,t,p-n.w_size,n.w_size,0),t=f,p=n.w_size),c=e.avail_in,l=e.next_in,u=e.input,e.avail_in=p,e.next_in=0,e.input=t,B(n);n.lookahead>=k;){for(r=n.strstart,i=n.lookahead-(k-1);n.ins_h=(n.ins_h<<n.hash_shift^n.window[r+k-1])&n.hash_mask,n.prev[r&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=r,r++,--i;);n.strstart=r,n.lookahead=k-1,B(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=k-1,n.match_available=0,e.next_in=l,e.input=u,e.avail_in=c,n.wrap=a,d},n.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(e,t,n){"use strict";t.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(e,t,n){"use strict";t.exports=function(e,t){var n,r,s,i,o,a,c,l,u,d,h,f,p,m,g,_,v,y,b,w,S,k,C,x,E;n=e.state,r=e.next_in,x=e.input,s=r+(e.avail_in-5),i=e.next_out,E=e.output,o=i-(t-e.avail_out),a=i+(e.avail_out-257),c=n.dmax,l=n.wsize,u=n.whave,d=n.wnext,h=n.window,f=n.hold,p=n.bits,m=n.lencode,g=n.distcode,_=(1<<n.lenbits)-1,v=(1<<n.distbits)-1;e:do{p<15&&(f+=x[r++]<<p,p+=8,f+=x[r++]<<p,p+=8),y=m[f&_];t:for(;;){if(f>>>=b=y>>>24,p-=b,0===(b=y>>>16&255))E[i++]=65535&y;else{if(!(16&b)){if(0==(64&b)){y=m[(65535&y)+(f&(1<<b)-1)];continue t}if(32&b){n.mode=12;break e}e.msg="invalid literal/length code",n.mode=30;break e}w=65535&y,(b&=15)&&(p<b&&(f+=x[r++]<<p,p+=8),w+=f&(1<<b)-1,f>>>=b,p-=b),p<15&&(f+=x[r++]<<p,p+=8,f+=x[r++]<<p,p+=8),y=g[f&v];n:for(;;){if(f>>>=b=y>>>24,p-=b,!(16&(b=y>>>16&255))){if(0==(64&b)){y=g[(65535&y)+(f&(1<<b)-1)];continue n}e.msg="invalid distance code",n.mode=30;break e}if(S=65535&y,p<(b&=15)&&(f+=x[r++]<<p,(p+=8)<b&&(f+=x[r++]<<p,p+=8)),c<(S+=f&(1<<b)-1)){e.msg="invalid distance too far back",n.mode=30;break e}if(f>>>=b,p-=b,(b=i-o)<S){if(u<(b=S-b)&&n.sane){e.msg="invalid distance too far back",n.mode=30;break e}if(C=h,(k=0)===d){if(k+=l-b,b<w){for(w-=b;E[i++]=h[k++],--b;);k=i-S,C=E}}else if(d<b){if(k+=l+d-b,(b-=d)<w){for(w-=b;E[i++]=h[k++],--b;);if(k=0,d<w){for(w-=b=d;E[i++]=h[k++],--b;);k=i-S,C=E}}}else if(k+=d-b,b<w){for(w-=b;E[i++]=h[k++],--b;);k=i-S,C=E}for(;2<w;)E[i++]=C[k++],E[i++]=C[k++],E[i++]=C[k++],w-=3;w&&(E[i++]=C[k++],1<w&&(E[i++]=C[k++]))}else{for(k=i-S;E[i++]=E[k++],E[i++]=E[k++],E[i++]=E[k++],2<(w-=3););w&&(E[i++]=E[k++],1<w&&(E[i++]=E[k++]))}break}}break}}while(r<s&&i<a);r-=w=p>>3,f&=(1<<(p-=w<<3))-1,e.next_in=r,e.next_out=i,e.avail_in=r<s?s-r+5:5-(r-s),e.avail_out=i<a?a-i+257:257-(i-a),n.hold=f,n.bits=p}},{}],49:[function(e,t,n){"use strict";var r=e("../utils/common"),s=e("./adler32"),i=e("./crc32"),o=e("./inffast"),a=e("./inftrees"),c=1,l=2,u=0,d=-2,h=1,f=852,p=592;function m(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function g(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new r.Buf16(320),this.work=new r.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function _(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=h,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new r.Buf32(f),t.distcode=t.distdyn=new r.Buf32(p),t.sane=1,t.back=-1,u):d}function v(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,_(e)):d}function y(e,t){var n,r;return e&&e.state?(r=e.state,t<0?(n=0,t=-t):(n=1+(t>>4),t<48&&(t&=15)),t&&(t<8||15<t)?d:(null!==r.window&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,v(e))):d}function b(e,t){var n,r;return e?(r=new g,(e.state=r).window=null,(n=y(e,t))!==u&&(e.state=null),n):d}var w,S,k=!0;function C(e){if(k){var t;for(w=new r.Buf32(512),S=new r.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(a(c,e.lens,0,288,w,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;a(l,e.lens,0,32,S,0,e.work,{bits:5}),k=!1}e.lencode=w,e.lenbits=9,e.distcode=S,e.distbits=5}function x(e,t,n,s){var i,o=e.state;return null===o.window&&(o.wsize=1<<o.wbits,o.wnext=0,o.whave=0,o.window=new r.Buf8(o.wsize)),s>=o.wsize?(r.arraySet(o.window,t,n-o.wsize,o.wsize,0),o.wnext=0,o.whave=o.wsize):(s<(i=o.wsize-o.wnext)&&(i=s),r.arraySet(o.window,t,n-s,i,o.wnext),(s-=i)?(r.arraySet(o.window,t,n-s,s,0),o.wnext=s,o.whave=o.wsize):(o.wnext+=i,o.wnext===o.wsize&&(o.wnext=0),o.whave<o.wsize&&(o.whave+=i))),0}n.inflateReset=v,n.inflateReset2=y,n.inflateResetKeep=_,n.inflateInit=function(e){return b(e,15)},n.inflateInit2=b,n.inflate=function(e,t){var n,f,p,g,_,v,y,b,w,S,k,E,T,I,O,A,R,D,M,N,L,F,P,z,j=0,B=new r.Buf8(4),$=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&0!==e.avail_in)return d;12===(n=e.state).mode&&(n.mode=13),_=e.next_out,p=e.output,y=e.avail_out,g=e.next_in,f=e.input,v=e.avail_in,b=n.hold,w=n.bits,S=v,k=y,F=u;e:for(;;)switch(n.mode){case h:if(0===n.wrap){n.mode=13;break}for(;w<16;){if(0===v)break e;v--,b+=f[g++]<<w,w+=8}if(2&n.wrap&&35615===b){B[n.check=0]=255&b,B[1]=b>>>8&255,n.check=i(n.check,B,2,0),w=b=0,n.mode=2;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&b)<<8)+(b>>8))%31){e.msg="incorrect header check",n.mode=30;break}if(8!=(15&b)){e.msg="unknown compression method",n.mode=30;break}if(w-=4,L=8+(15&(b>>>=4)),0===n.wbits)n.wbits=L;else if(L>n.wbits){e.msg="invalid window size",n.mode=30;break}n.dmax=1<<L,e.adler=n.check=1,n.mode=512&b?10:12,w=b=0;break;case 2:for(;w<16;){if(0===v)break e;v--,b+=f[g++]<<w,w+=8}if(n.flags=b,8!=(255&n.flags)){e.msg="unknown compression method",n.mode=30;break}if(57344&n.flags){e.msg="unknown header flags set",n.mode=30;break}n.head&&(n.head.text=b>>8&1),512&n.flags&&(B[0]=255&b,B[1]=b>>>8&255,n.check=i(n.check,B,2,0)),w=b=0,n.mode=3;case 3:for(;w<32;){if(0===v)break e;v--,b+=f[g++]<<w,w+=8}n.head&&(n.head.time=b),512&n.flags&&(B[0]=255&b,B[1]=b>>>8&255,B[2]=b>>>16&255,B[3]=b>>>24&255,n.check=i(n.check,B,4,0)),w=b=0,n.mode=4;case 4:for(;w<16;){if(0===v)break e;v--,b+=f[g++]<<w,w+=8}n.head&&(n.head.xflags=255&b,n.head.os=b>>8),512&n.flags&&(B[0]=255&b,B[1]=b>>>8&255,n.check=i(n.check,B,2,0)),w=b=0,n.mode=5;case 5:if(1024&n.flags){for(;w<16;){if(0===v)break e;v--,b+=f[g++]<<w,w+=8}n.length=b,n.head&&(n.head.extra_len=b),512&n.flags&&(B[0]=255&b,B[1]=b>>>8&255,n.check=i(n.check,B,2,0)),w=b=0}else n.head&&(n.head.extra=null);n.mode=6;case 6:if(1024&n.flags&&(v<(E=n.length)&&(E=v),E&&(n.head&&(L=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),r.arraySet(n.head.extra,f,g,E,L)),512&n.flags&&(n.check=i(n.check,f,E,g)),v-=E,g+=E,n.length-=E),n.length))break e;n.length=0,n.mode=7;case 7:if(2048&n.flags){if(0===v)break e;for(E=0;L=f[g+E++],n.head&&L&&n.length<65536&&(n.head.name+=String.fromCharCode(L)),L&&E<v;);if(512&n.flags&&(n.check=i(n.check,f,E,g)),v-=E,g+=E,L)break e}else n.head&&(n.head.name=null);n.length=0,n.mode=8;case 8:if(4096&n.flags){if(0===v)break e;for(E=0;L=f[g+E++],n.head&&L&&n.length<65536&&(n.head.comment+=String.fromCharCode(L)),L&&E<v;);if(512&n.flags&&(n.check=i(n.check,f,E,g)),v-=E,g+=E,L)break e}else n.head&&(n.head.comment=null);n.mode=9;case 9:if(512&n.flags){for(;w<16;){if(0===v)break e;v--,b+=f[g++]<<w,w+=8}if(b!==(65535&n.check)){e.msg="header crc mismatch",n.mode=30;break}w=b=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=12;break;case 10:for(;w<32;){if(0===v)break e;v--,b+=f[g++]<<w,w+=8}e.adler=n.check=m(b),w=b=0,n.mode=11;case 11:if(0===n.havedict)return e.next_out=_,e.avail_out=y,e.next_in=g,e.avail_in=v,n.hold=b,n.bits=w,2;e.adler=n.check=1,n.mode=12;case 12:if(5===t||6===t)break e;case 13:if(n.last){b>>>=7&w,w-=7&w,n.mode=27;break}for(;w<3;){if(0===v)break e;v--,b+=f[g++]<<w,w+=8}switch(n.last=1&b,w-=1,3&(b>>>=1)){case 0:n.mode=14;break;case 1:if(C(n),n.mode=20,6!==t)break;b>>>=2,w-=2;break e;case 2:n.mode=17;break;case 3:e.msg="invalid block type",n.mode=30}b>>>=2,w-=2;break;case 14:for(b>>>=7&w,w-=7&w;w<32;){if(0===v)break e;v--,b+=f[g++]<<w,w+=8}if((65535&b)!=(b>>>16^65535)){e.msg="invalid stored block lengths",n.mode=30;break}if(n.length=65535&b,w=b=0,n.mode=15,6===t)break e;case 15:n.mode=16;case 16:if(E=n.length){if(v<E&&(E=v),y<E&&(E=y),0===E)break e;r.arraySet(p,f,g,E,_),v-=E,g+=E,y-=E,_+=E,n.length-=E;break}n.mode=12;break;case 17:for(;w<14;){if(0===v)break e;v--,b+=f[g++]<<w,w+=8}if(n.nlen=257+(31&b),b>>>=5,w-=5,n.ndist=1+(31&b),b>>>=5,w-=5,n.ncode=4+(15&b),b>>>=4,w-=4,286<n.nlen||30<n.ndist){e.msg="too many length or distance symbols",n.mode=30;break}n.have=0,n.mode=18;case 18:for(;n.have<n.ncode;){for(;w<3;){if(0===v)break e;v--,b+=f[g++]<<w,w+=8}n.lens[$[n.have++]]=7&b,b>>>=3,w-=3}for(;n.have<19;)n.lens[$[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,P={bits:n.lenbits},F=a(0,n.lens,0,19,n.lencode,0,n.work,P),n.lenbits=P.bits,F){e.msg="invalid code lengths set",n.mode=30;break}n.have=0,n.mode=19;case 19:for(;n.have<n.nlen+n.ndist;){for(;A=(j=n.lencode[b&(1<<n.lenbits)-1])>>>16&255,R=65535&j,!((O=j>>>24)<=w);){if(0===v)break e;v--,b+=f[g++]<<w,w+=8}if(R<16)b>>>=O,w-=O,n.lens[n.have++]=R;else{if(16===R){for(z=O+2;w<z;){if(0===v)break e;v--,b+=f[g++]<<w,w+=8}if(b>>>=O,w-=O,0===n.have){e.msg="invalid bit length repeat",n.mode=30;break}L=n.lens[n.have-1],E=3+(3&b),b>>>=2,w-=2}else if(17===R){for(z=O+3;w<z;){if(0===v)break e;v--,b+=f[g++]<<w,w+=8}w-=O,L=0,E=3+(7&(b>>>=O)),b>>>=3,w-=3}else{for(z=O+7;w<z;){if(0===v)break e;v--,b+=f[g++]<<w,w+=8}w-=O,L=0,E=11+(127&(b>>>=O)),b>>>=7,w-=7}if(n.have+E>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=30;break}for(;E--;)n.lens[n.have++]=L}}if(30===n.mode)break;if(0===n.lens[256]){e.msg="invalid code -- missing end-of-block",n.mode=30;break}if(n.lenbits=9,P={bits:n.lenbits},F=a(c,n.lens,0,n.nlen,n.lencode,0,n.work,P),n.lenbits=P.bits,F){e.msg="invalid literal/lengths set",n.mode=30;break}if(n.distbits=6,n.distcode=n.distdyn,P={bits:n.distbits},F=a(l,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,P),n.distbits=P.bits,F){e.msg="invalid distances set",n.mode=30;break}if(n.mode=20,6===t)break e;case 20:n.mode=21;case 21:if(6<=v&&258<=y){e.next_out=_,e.avail_out=y,e.next_in=g,e.avail_in=v,n.hold=b,n.bits=w,o(e,k),_=e.next_out,p=e.output,y=e.avail_out,g=e.next_in,f=e.input,v=e.avail_in,b=n.hold,w=n.bits,12===n.mode&&(n.back=-1);break}for(n.back=0;A=(j=n.lencode[b&(1<<n.lenbits)-1])>>>16&255,R=65535&j,!((O=j>>>24)<=w);){if(0===v)break e;v--,b+=f[g++]<<w,w+=8}if(A&&0==(240&A)){for(D=O,M=A,N=R;A=(j=n.lencode[N+((b&(1<<D+M)-1)>>D)])>>>16&255,R=65535&j,!(D+(O=j>>>24)<=w);){if(0===v)break e;v--,b+=f[g++]<<w,w+=8}b>>>=D,w-=D,n.back+=D}if(b>>>=O,w-=O,n.back+=O,n.length=R,0===A){n.mode=26;break}if(32&A){n.back=-1,n.mode=12;break}if(64&A){e.msg="invalid literal/length code",n.mode=30;break}n.extra=15&A,n.mode=22;case 22:if(n.extra){for(z=n.extra;w<z;){if(0===v)break e;v--,b+=f[g++]<<w,w+=8}n.length+=b&(1<<n.extra)-1,b>>>=n.extra,w-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;A=(j=n.distcode[b&(1<<n.distbits)-1])>>>16&255,R=65535&j,!((O=j>>>24)<=w);){if(0===v)break e;v--,b+=f[g++]<<w,w+=8}if(0==(240&A)){for(D=O,M=A,N=R;A=(j=n.distcode[N+((b&(1<<D+M)-1)>>D)])>>>16&255,R=65535&j,!(D+(O=j>>>24)<=w);){if(0===v)break e;v--,b+=f[g++]<<w,w+=8}b>>>=D,w-=D,n.back+=D}if(b>>>=O,w-=O,n.back+=O,64&A){e.msg="invalid distance code",n.mode=30;break}n.offset=R,n.extra=15&A,n.mode=24;case 24:if(n.extra){for(z=n.extra;w<z;){if(0===v)break e;v--,b+=f[g++]<<w,w+=8}n.offset+=b&(1<<n.extra)-1,b>>>=n.extra,w-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=30;break}n.mode=25;case 25:if(0===y)break e;if(E=k-y,n.offset>E){if((E=n.offset-E)>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=30;break}T=E>n.wnext?(E-=n.wnext,n.wsize-E):n.wnext-E,E>n.length&&(E=n.length),I=n.window}else I=p,T=_-n.offset,E=n.length;for(y<E&&(E=y),y-=E,n.length-=E;p[_++]=I[T++],--E;);0===n.length&&(n.mode=21);break;case 26:if(0===y)break e;p[_++]=n.length,y--,n.mode=21;break;case 27:if(n.wrap){for(;w<32;){if(0===v)break e;v--,b|=f[g++]<<w,w+=8}if(k-=y,e.total_out+=k,n.total+=k,k&&(e.adler=n.check=n.flags?i(n.check,p,k,_-k):s(n.check,p,k,_-k)),k=y,(n.flags?b:m(b))!==n.check){e.msg="incorrect data check",n.mode=30;break}w=b=0}n.mode=28;case 28:if(n.wrap&&n.flags){for(;w<32;){if(0===v)break e;v--,b+=f[g++]<<w,w+=8}if(b!==(4294967295&n.total)){e.msg="incorrect length check",n.mode=30;break}w=b=0}n.mode=29;case 29:F=1;break e;case 30:F=-3;break e;case 31:return-4;default:return d}return e.next_out=_,e.avail_out=y,e.next_in=g,e.avail_in=v,n.hold=b,n.bits=w,(n.wsize||k!==e.avail_out&&n.mode<30&&(n.mode<27||4!==t))&&x(e,e.output,e.next_out,k-e.avail_out)?(n.mode=31,-4):(S-=e.avail_in,k-=e.avail_out,e.total_in+=S,e.total_out+=k,n.total+=k,n.wrap&&k&&(e.adler=n.check=n.flags?i(n.check,p,k,e.next_out-k):s(n.check,p,k,e.next_out-k)),e.data_type=n.bits+(n.last?64:0)+(12===n.mode?128:0)+(20===n.mode||15===n.mode?256:0),(0==S&&0===k||4===t)&&F===u&&(F=-5),F)},n.inflateEnd=function(e){if(!e||!e.state)return d;var t=e.state;return t.window&&(t.window=null),e.state=null,u},n.inflateGetHeader=function(e,t){var n;return e&&e.state?0==(2&(n=e.state).wrap)?d:((n.head=t).done=!1,u):d},n.inflateSetDictionary=function(e,t){var n,r=t.length;return e&&e.state?0!==(n=e.state).wrap&&11!==n.mode?d:11===n.mode&&s(1,t,r,0)!==n.check?-3:x(e,t,r,r)?(n.mode=31,-4):(n.havedict=1,u):d},n.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(e,t,n){"use strict";var r=e("../utils/common"),s=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],i=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],o=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],a=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];t.exports=function(e,t,n,c,l,u,d,h){var f,p,m,g,_,v,y,b,w,S=h.bits,k=0,C=0,x=0,E=0,T=0,I=0,O=0,A=0,R=0,D=0,M=null,N=0,L=new r.Buf16(16),F=new r.Buf16(16),P=null,z=0;for(k=0;k<=15;k++)L[k]=0;for(C=0;C<c;C++)L[t[n+C]]++;for(T=S,E=15;1<=E&&0===L[E];E--);if(E<T&&(T=E),0===E)return l[u++]=20971520,l[u++]=20971520,h.bits=1,0;for(x=1;x<E&&0===L[x];x++);for(T<x&&(T=x),k=A=1;k<=15;k++)if(A<<=1,(A-=L[k])<0)return-1;if(0<A&&(0===e||1!==E))return-1;for(F[1]=0,k=1;k<15;k++)F[k+1]=F[k]+L[k];for(C=0;C<c;C++)0!==t[n+C]&&(d[F[t[n+C]]++]=C);if(v=0===e?(M=P=d,19):1===e?(M=s,N-=257,P=i,z-=257,256):(M=o,P=a,-1),k=x,_=u,O=C=D=0,m=-1,g=(R=1<<(I=T))-1,1===e&&852<R||2===e&&592<R)return 1;for(;;){for(y=k-O,w=d[C]<v?(b=0,d[C]):d[C]>v?(b=P[z+d[C]],M[N+d[C]]):(b=96,0),f=1<<k-O,x=p=1<<I;l[_+(D>>O)+(p-=f)]=y<<24|b<<16|w,0!==p;);for(f=1<<k-1;D&f;)f>>=1;if(0!==f?(D&=f-1,D+=f):D=0,C++,0==--L[k]){if(k===E)break;k=t[n+d[C]]}if(T<k&&(D&g)!==m){for(0===O&&(O=T),_+=x,A=1<<(I=k-O);I+O<E&&!((A-=L[I+O])<=0);)I++,A<<=1;if(R+=1<<I,1===e&&852<R||2===e&&592<R)return 1;l[m=D&g]=T<<24|I<<16|_-u}}return 0!==D&&(l[_+D]=k-O<<24|64<<16),h.bits=T,0}},{"../utils/common":41}],51:[function(e,t,n){"use strict";t.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(e,t,n){"use strict";var r=e("../utils/common"),s=0,i=1;function o(e){for(var t=e.length;0<=--t;)e[t]=0}var a=0,c=29,l=256,u=l+1+c,d=30,h=19,f=2*u+1,p=15,m=16,g=7,_=256,v=16,y=17,b=18,w=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],S=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],k=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],C=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],x=new Array(2*(u+2));o(x);var E=new Array(2*d);o(E);var T=new Array(512);o(T);var I=new Array(256);o(I);var O=new Array(c);o(O);var A,R,D,M=new Array(d);function N(e,t,n,r,s){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=s,this.has_stree=e&&e.length}function L(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function F(e){return e<256?T[e]:T[256+(e>>>7)]}function P(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function z(e,t,n){e.bi_valid>m-n?(e.bi_buf|=t<<e.bi_valid&65535,P(e,e.bi_buf),e.bi_buf=t>>m-e.bi_valid,e.bi_valid+=n-m):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)}function j(e,t,n){z(e,n[2*t],n[2*t+1])}function B(e,t){for(var n=0;n|=1&e,e>>>=1,n<<=1,0<--t;);return n>>>1}function $(e,t,n){var r,s,i=new Array(p+1),o=0;for(r=1;r<=p;r++)i[r]=o=o+n[r-1]<<1;for(s=0;s<=t;s++){var a=e[2*s+1];0!==a&&(e[2*s]=B(i[a]++,a))}}function U(e){var t;for(t=0;t<u;t++)e.dyn_ltree[2*t]=0;for(t=0;t<d;t++)e.dyn_dtree[2*t]=0;for(t=0;t<h;t++)e.bl_tree[2*t]=0;e.dyn_ltree[2*_]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function W(e){8<e.bi_valid?P(e,e.bi_buf):0<e.bi_valid&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function H(e,t,n,r){var s=2*t,i=2*n;return e[s]<e[i]||e[s]===e[i]&&r[t]<=r[n]}function q(e,t,n){for(var r=e.heap[n],s=n<<1;s<=e.heap_len&&(s<e.heap_len&&H(t,e.heap[s+1],e.heap[s],e.depth)&&s++,!H(t,r,e.heap[s],e.depth));)e.heap[n]=e.heap[s],n=s,s<<=1;e.heap[n]=r}function G(e,t,n){var r,s,i,o,a=0;if(0!==e.last_lit)for(;r=e.pending_buf[e.d_buf+2*a]<<8|e.pending_buf[e.d_buf+2*a+1],s=e.pending_buf[e.l_buf+a],a++,0===r?j(e,s,t):(j(e,(i=I[s])+l+1,t),0!==(o=w[i])&&z(e,s-=O[i],o),j(e,i=F(--r),n),0!==(o=S[i])&&z(e,r-=M[i],o)),a<e.last_lit;);j(e,_,t)}function V(e,t){var n,r,s,i=t.dyn_tree,o=t.stat_desc.static_tree,a=t.stat_desc.has_stree,c=t.stat_desc.elems,l=-1;for(e.heap_len=0,e.heap_max=f,n=0;n<c;n++)0!==i[2*n]?(e.heap[++e.heap_len]=l=n,e.depth[n]=0):i[2*n+1]=0;for(;e.heap_len<2;)i[2*(s=e.heap[++e.heap_len]=l<2?++l:0)]=1,e.depth[s]=0,e.opt_len--,a&&(e.static_len-=o[2*s+1]);for(t.max_code=l,n=e.heap_len>>1;1<=n;n--)q(e,i,n);for(s=c;n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],q(e,i,1),r=e.heap[1],e.heap[--e.heap_max]=n,e.heap[--e.heap_max]=r,i[2*s]=i[2*n]+i[2*r],e.depth[s]=(e.depth[n]>=e.depth[r]?e.depth[n]:e.depth[r])+1,i[2*n+1]=i[2*r+1]=s,e.heap[1]=s++,q(e,i,1),2<=e.heap_len;);e.heap[--e.heap_max]=e.heap[1],function(e,t){var n,r,s,i,o,a,c=t.dyn_tree,l=t.max_code,u=t.stat_desc.static_tree,d=t.stat_desc.has_stree,h=t.stat_desc.extra_bits,m=t.stat_desc.extra_base,g=t.stat_desc.max_length,_=0;for(i=0;i<=p;i++)e.bl_count[i]=0;for(c[2*e.heap[e.heap_max]+1]=0,n=e.heap_max+1;n<f;n++)g<(i=c[2*c[2*(r=e.heap[n])+1]+1]+1)&&(i=g,_++),c[2*r+1]=i,l<r||(e.bl_count[i]++,o=0,m<=r&&(o=h[r-m]),a=c[2*r],e.opt_len+=a*(i+o),d&&(e.static_len+=a*(u[2*r+1]+o)));if(0!==_){do{for(i=g-1;0===e.bl_count[i];)i--;e.bl_count[i]--,e.bl_count[i+1]+=2,e.bl_count[g]--,_-=2}while(0<_);for(i=g;0!==i;i--)for(r=e.bl_count[i];0!==r;)l<(s=e.heap[--n])||(c[2*s+1]!==i&&(e.opt_len+=(i-c[2*s+1])*c[2*s],c[2*s+1]=i),r--)}}(e,t),$(i,l,e.bl_count)}function K(e,t,n){var r,s,i=-1,o=t[1],a=0,c=7,l=4;for(0===o&&(c=138,l=3),t[2*(n+1)+1]=65535,r=0;r<=n;r++)s=o,o=t[2*(r+1)+1],++a<c&&s===o||(a<l?e.bl_tree[2*s]+=a:0!==s?(s!==i&&e.bl_tree[2*s]++,e.bl_tree[2*v]++):a<=10?e.bl_tree[2*y]++:e.bl_tree[2*b]++,i=s,l=(a=0)===o?(c=138,3):s===o?(c=6,3):(c=7,4))}function J(e,t,n){var r,s,i=-1,o=t[1],a=0,c=7,l=4;for(0===o&&(c=138,l=3),r=0;r<=n;r++)if(s=o,o=t[2*(r+1)+1],!(++a<c&&s===o)){if(a<l)for(;j(e,s,e.bl_tree),0!=--a;);else 0!==s?(s!==i&&(j(e,s,e.bl_tree),a--),j(e,v,e.bl_tree),z(e,a-3,2)):a<=10?(j(e,y,e.bl_tree),z(e,a-3,3)):(j(e,b,e.bl_tree),z(e,a-11,7));i=s,l=(a=0)===o?(c=138,3):s===o?(c=6,3):(c=7,4)}}o(M);var Y=!1;function Z(e,t,n,s){z(e,(a<<1)+(s?1:0),3),function(e,t,n,s){W(e),s&&(P(e,n),P(e,~n)),r.arraySet(e.pending_buf,e.window,t,n,e.pending),e.pending+=n}(e,t,n,!0)}n._tr_init=function(e){Y||(function(){var e,t,n,r,s,i=new Array(p+1);for(r=n=0;r<c-1;r++)for(O[r]=n,e=0;e<1<<w[r];e++)I[n++]=r;for(I[n-1]=r,r=s=0;r<16;r++)for(M[r]=s,e=0;e<1<<S[r];e++)T[s++]=r;for(s>>=7;r<d;r++)for(M[r]=s<<7,e=0;e<1<<S[r]-7;e++)T[256+s++]=r;for(t=0;t<=p;t++)i[t]=0;for(e=0;e<=143;)x[2*e+1]=8,e++,i[8]++;for(;e<=255;)x[2*e+1]=9,e++,i[9]++;for(;e<=279;)x[2*e+1]=7,e++,i[7]++;for(;e<=287;)x[2*e+1]=8,e++,i[8]++;for($(x,u+1,i),e=0;e<d;e++)E[2*e+1]=5,E[2*e]=B(e,5);A=new N(x,w,l+1,u,p),R=new N(E,S,0,d,p),D=new N(new Array(0),k,0,h,g)}(),Y=!0),e.l_desc=new L(e.dyn_ltree,A),e.d_desc=new L(e.dyn_dtree,R),e.bl_desc=new L(e.bl_tree,D),e.bi_buf=0,e.bi_valid=0,U(e)},n._tr_stored_block=Z,n._tr_flush_block=function(e,t,n,r){var o,a,c=0;0<e.level?(2===e.strm.data_type&&(e.strm.data_type=function(e){var t,n=4093624447;for(t=0;t<=31;t++,n>>>=1)if(1&n&&0!==e.dyn_ltree[2*t])return s;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return i;for(t=32;t<l;t++)if(0!==e.dyn_ltree[2*t])return i;return s}(e)),V(e,e.l_desc),V(e,e.d_desc),c=function(e){var t;for(K(e,e.dyn_ltree,e.l_desc.max_code),K(e,e.dyn_dtree,e.d_desc.max_code),V(e,e.bl_desc),t=h-1;3<=t&&0===e.bl_tree[2*C[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),o=e.opt_len+3+7>>>3,(a=e.static_len+3+7>>>3)<=o&&(o=a)):o=a=n+5,n+4<=o&&-1!==t?Z(e,t,n,r):4===e.strategy||a===o?(z(e,2+(r?1:0),3),G(e,x,E)):(z(e,4+(r?1:0),3),function(e,t,n,r){var s;for(z(e,t-257,5),z(e,n-1,5),z(e,r-4,4),s=0;s<r;s++)z(e,e.bl_tree[2*C[s]+1],3);J(e,e.dyn_ltree,t-1),J(e,e.dyn_dtree,n-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,c+1),G(e,e.dyn_ltree,e.dyn_dtree)),U(e),r&&W(e)},n._tr_tally=function(e,t,n){return e.pending_buf[e.d_buf+2*e.last_lit]=t>>>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*(I[n]+l+1)]++,e.dyn_dtree[2*F(t)]++),e.last_lit===e.lit_bufsize-1},n._tr_align=function(e){z(e,2,3),j(e,_,x),function(e){16===e.bi_valid?(P(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):8<=e.bi_valid&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}(e)}},{"../utils/common":41}],53:[function(e,t,n){"use strict";t.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}},{}],54:[function(e,t,r){(function(e){!function(e,t){"use strict";if(!e.setImmediate){var n,r,i,o,a=1,c={},l=!1,u=e.document,d=Object.getPrototypeOf&&Object.getPrototypeOf(e);d=d&&d.setTimeout?d:e,n="[object process]"==={}.toString.call(e.process)?function(e){s.nextTick((function(){f(e)}))}:function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?(o="setImmediate$"+Math.random()+"$",e.addEventListener?e.addEventListener("message",p,!1):e.attachEvent("onmessage",p),function(t){e.postMessage(o+t,"*")}):e.MessageChannel?((i=new MessageChannel).port1.onmessage=function(e){f(e.data)},function(e){i.port2.postMessage(e)}):u&&"onreadystatechange"in u.createElement("script")?(r=u.documentElement,function(e){var t=u.createElement("script");t.onreadystatechange=function(){f(e),t.onreadystatechange=null,r.removeChild(t),t=null},r.appendChild(t)}):function(e){setTimeout(f,0,e)},d.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),r=0;r<t.length;r++)t[r]=arguments[r+1];var s={callback:e,args:t};return c[a]=s,n(a),a++},d.clearImmediate=h}function h(e){delete c[e]}function f(e){if(l)setTimeout(f,0,e);else{var n=c[e];if(n){l=!0;try{!function(e){var n=e.callback,r=e.args;switch(r.length){case 0:n();break;case 1:n(r[0]);break;case 2:n(r[0],r[1]);break;case 3:n(r[0],r[1],r[2]);break;default:n.apply(t,r)}}(n)}finally{h(e),l=!1}}}}function p(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(o)&&f(+t.data.slice(o.length))}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,"undefined"!=typeof n.g?n.g:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[10])(10)},477:(e,t,n)=>{"use strict";n.d(t,{w:()=>o});var r=n(45247),s=n(23906);function i(e){void 0===e&&(e=r.t);var t=e===r.t?s.P:(0,s.N)(e);return function(){return t().dispatch}}var o=i()},26926:(e,t,n)=>{"use strict";n.d(t,{n:()=>i});var r=n(98173),s=n(45247);function i(){return(0,r.useContext)(s.t)}},91270:(e,t,n)=>{"use strict";n.d(t,{d:()=>u});var r=n(98173),s=n(26926),i=n(41968),o=n(14812),a=n(45247),c=function(e,t){return e===t};function l(e){void 0===e&&(e=a.t);var t=e===a.t?s.n:function(){return(0,r.useContext)(e)};return function(e,n){void 0===n&&(n=c);var s=t(),a=function(e,t,n,s){var a,c=(0,r.useReducer)((function(e){return e+1}),0)[1],l=(0,r.useMemo)((function(){return(0,i.K)(n,s)}),[n,s]),u=(0,r.useRef)(),d=(0,r.useRef)(),h=(0,r.useRef)(),f=(0,r.useRef)(),p=n.getState();try{if(e!==d.current||p!==h.current||u.current){var m=e(p);a=void 0!==f.current&&t(m,f.current)?f.current:m}else a=f.current}catch(g){throw u.current&&(g.message+="\nThe error may be correlated with this previous error:\n"+u.current.stack+"\n\n"),g}return(0,o.E)((function(){d.current=e,h.current=p,f.current=a,u.current=void 0})),(0,o.E)((function(){function e(){try{var e=n.getState();if(e===h.current)return;var r=d.current(e);if(t(r,f.current))return;f.current=r,h.current=e}catch(g){u.current=g}c()}return l.onStateChange=e,l.trySubscribe(),e(),function(){return l.tryUnsubscribe()}}),[n,l]),a}(e,n,s.store,s.subscription);return(0,r.useDebugValue)(a),a}}var u=l()},79245:(e,t,n)=>{"use strict";n.d(t,{Kd:()=>u,N_:()=>d,ok:()=>p});var r=n(98173),s=n(62272),i=n(80699);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o.apply(this,arguments)}function a(e,t){if(null==e)return{};var n,r,s={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(s[n]=e[n]);return s}function c(e){return void 0===e&&(e=""),new URLSearchParams("string"===typeof e||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce(((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map((e=>[n,e])):[[n,r]])}),[]))}const l=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"];function u(e){let{basename:t,children:n,window:o}=e,a=r.useRef();null==a.current&&(a.current=(0,i.zR)({window:o,v5Compat:!0}));let c=a.current,[l,u]=r.useState({action:c.action,location:c.location});return r.useLayoutEffect((()=>c.listen(u)),[c]),r.createElement(s.Ix,{basename:t,children:n,location:l.location,navigationType:l.action,navigator:c})}const d=r.forwardRef((function(e,t){let{onClick:n,relative:c,reloadDocument:u,replace:d,state:h,target:f,to:p,preventScrollReset:m}=e,g=a(e,l),_=(0,s.$P)(p,{relative:c}),v=function(e,t){let{target:n,replace:o,state:a,preventScrollReset:c,relative:l}=void 0===t?{}:t,u=(0,s.Zp)(),d=(0,s.zy)(),h=(0,s.x$)(e,{relative:l});return r.useCallback((t=>{if(function(e,t){return 0===e.button&&(!t||"_self"===t)&&!function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)}(t,n)){t.preventDefault();let n=void 0!==o?o:(0,i.AO)(d)===(0,i.AO)(h);u(e,{replace:n,state:a,preventScrollReset:c,relative:l})}}),[d,u,h,o,a,n,e,c,l])}(p,{replace:d,state:h,target:f,preventScrollReset:m,relative:c});return r.createElement("a",o({},g,{href:_,onClick:u?n:function(e){n&&n(e),e.defaultPrevented||v(e)},ref:t,target:f}))}));var h,f;function p(e){let t=r.useRef(c(e)),n=(0,s.zy)(),i=r.useMemo((()=>function(e,t){let n=c(e);for(let r of t.keys())n.has(r)||t.getAll(r).forEach((e=>{n.append(r,e)}));return n}(n.search,t.current)),[n.search]),o=(0,s.Zp)(),a=r.useCallback(((e,t)=>{const n=c("function"===typeof e?e(i):e);o("?"+n,t)}),[o,i]);return[i,a]}(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmitImpl="useSubmitImpl",e.UseFetcher="useFetcher"})(h||(h={})),function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(f||(f={}))},80699:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}var s;n.d(t,{AO:()=>l,Gh:()=>O,HS:()=>A,Rr:()=>u,V1:()=>E,pX:()=>F,pb:()=>x,rc:()=>s,tH:()=>N,ue:()=>f,zR:()=>o}),function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(s||(s={}));const i="popstate";function o(e){return void 0===e&&(e={}),d((function(e,t){let{pathname:n,search:r,hash:s}=e.location;return c("",{pathname:n,search:r,hash:s},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){return"string"===typeof t?t:l(t)}),null,e)}function a(e){return{usr:e.state,key:e.key}}function c(e,t,n,s){return void 0===n&&(n=null),r({pathname:"string"===typeof e?e:e.pathname,search:"",hash:""},"string"===typeof t?u(t):t,{state:n,key:t&&t.key||s||Math.random().toString(36).substr(2,8)})}function l(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&"?"!==n&&(t+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(t+="#"===r.charAt(0)?r:"#"+r),t}function u(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function d(e,t,n,r){void 0===r&&(r={});let{window:o=document.defaultView,v5Compat:l=!1}=r,u=o.history,d=s.Pop,h=null;function f(){d=s.Pop,h&&h({action:d,location:p.location})}let p={get action(){return d},get location(){return e(o,u)},listen(e){if(h)throw new Error("A history only accepts one active listener");return o.addEventListener(i,f),h=e,()=>{o.removeEventListener(i,f),h=null}},createHref:e=>t(o,e),push:function(e,t){d=s.Push;let r=c(p.location,e,t);n&&n(r,e);let i=a(r),f=p.createHref(r);try{u.pushState(i,"",f)}catch(m){o.location.assign(f)}l&&h&&h({action:d,location:r})},replace:function(e,t){d=s.Replace;let r=c(p.location,e,t);n&&n(r,e);let i=a(r),o=p.createHref(r);u.replaceState(i,"",o),l&&h&&h({action:d,location:r})},go:e=>u.go(e)};return p}var h;function f(e,t,n){void 0===n&&(n="/");let r=x(("string"===typeof t?u(t):t).pathname||"/",n);if(null==r)return null;let s=p(e);!function(e){e.sort(((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){let n=e.length===t.length&&e.slice(0,-1).every(((e,n)=>e===t[n]));return n?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),t.routesMeta.map((e=>e.childrenIndex)))))}(s);let i=null;for(let o=0;null==i&&o<s.length;++o)i=k(s[o],r);return i}function p(e,t,n,r){return void 0===t&&(t=[]),void 0===n&&(n=[]),void 0===r&&(r=""),e.forEach(((e,s)=>{let i={relativePath:e.path||"",caseSensitive:!0===e.caseSensitive,childrenIndex:s,route:e};i.relativePath.startsWith("/")&&(E(i.relativePath.startsWith(r),'Absolute route path "'+i.relativePath+'" nested under path "'+r+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),i.relativePath=i.relativePath.slice(r.length));let o=A([r,i.relativePath]),a=n.concat(i);e.children&&e.children.length>0&&(E(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+o+'".'),p(e.children,t,a,o)),(null!=e.path||e.index)&&t.push({path:o,score:S(o,e.index),routesMeta:a})})),t}!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(h||(h={}));const m=/^:\w+$/,g=3,_=2,v=1,y=10,b=-2,w=e=>"*"===e;function S(e,t){let n=e.split("/"),r=n.length;return n.some(w)&&(r+=b),t&&(r+=_),n.filter((e=>!w(e))).reduce(((e,t)=>e+(m.test(t)?g:""===t?v:y)),r)}function k(e,t){let{routesMeta:n}=e,r={},s="/",i=[];for(let o=0;o<n.length;++o){let e=n[o],a=o===n.length-1,c="/"===s?t:t.slice(s.length)||"/",l=C({path:e.relativePath,caseSensitive:e.caseSensitive,end:a},c);if(!l)return null;Object.assign(r,l.params);let u=e.route;i.push({params:r,pathname:A([s,l.pathname]),pathnameBase:R(A([s,l.pathnameBase])),route:u}),"/"!==l.pathnameBase&&(s=A([s,l.pathnameBase]))}return i}function C(e,t){"string"===typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=function(e,t,n){void 0===t&&(t=!1);void 0===n&&(n=!0);T("*"===e||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were "'+e.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+e.replace(/\*$/,"/*")+'".');let r=[],s="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/:(\w+)/g,((e,t)=>(r.push(t),"([^\\/]+)")));e.endsWith("*")?(r.push("*"),s+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?s+="\\/*$":""!==e&&"/"!==e&&(s+="(?:(?=\\/|$))");let i=new RegExp(s,t?void 0:"i");return[i,r]}(e.path,e.caseSensitive,e.end),s=t.match(n);if(!s)return null;let i=s[0],o=i.replace(/(.)\/+$/,"$1"),a=s.slice(1);return{params:r.reduce(((e,t,n)=>{if("*"===t){let e=a[n]||"";o=i.slice(0,i.length-e.length).replace(/(.)\/+$/,"$1")}return e[t]=function(e,t){try{return decodeURIComponent(e)}catch(n){return T(!1,'The value for the URL param "'+t+'" will not be decoded because the string "'+e+'" is a malformed URL segment. This is probably due to a bad percent encoding ('+n+")."),e}}(a[n]||"",t),e}),{}),pathname:i,pathnameBase:o,pattern:e}}function x(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&"/"!==r?null:e.slice(n)||"/"}function E(e,t){if(!1===e||null===e||"undefined"===typeof e)throw new Error(t)}function T(e,t){if(!e)try{throw new Error(t)}catch(n){}}function I(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the `to."+n+'` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.'}function O(e,t,n,s){let i;void 0===s&&(s=!1),"string"===typeof e?i=u(e):(i=r({},e),E(!i.pathname||!i.pathname.includes("?"),I("?","pathname","search",i)),E(!i.pathname||!i.pathname.includes("#"),I("#","pathname","hash",i)),E(!i.search||!i.search.includes("#"),I("#","search","hash",i)));let o,a=""===e||""===i.pathname,c=a?"/":i.pathname;if(s||null==c)o=n;else{let e=t.length-1;if(c.startsWith("..")){let t=c.split("/");for(;".."===t[0];)t.shift(),e-=1;i.pathname=t.join("/")}o=e>=0?t[e]:"/"}let l=function(e,t){void 0===t&&(t="/");let{pathname:n,search:r="",hash:s=""}="string"===typeof e?u(e):e,i=n?n.startsWith("/")?n:function(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)})),n.length>1?n.join("/"):"/"}(n,t):t;return{pathname:i,search:D(r),hash:M(s)}}(i,o),d=c&&"/"!==c&&c.endsWith("/"),h=(a||"."===c)&&n.endsWith("/");return l.pathname.endsWith("/")||!d&&!h||(l.pathname+="/"),l}const A=e=>e.join("/").replace(/\/\/+/g,"/"),R=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),D=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",M=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";class N extends Error{}class L{constructor(e,t,n){this.status=e,this.statusText=t||"",this.data=n}}function F(e){return e instanceof L}},62272:(e,t,n)=>{"use strict";var r;n.d(t,{$P:()=>b,BV:()=>B,C5:()=>F,Ix:()=>j,KC:()=>E,Zp:()=>C,g:()=>T,qh:()=>z,sv:()=>P,x$:()=>I,zy:()=>S});var s=n(80699),i=n(98173);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o.apply(this,arguments)}const a="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},{useState:c,useEffect:l,useLayoutEffect:u,useDebugValue:d}=r||(r=n.t(i,2));function h(e){const t=e.getSnapshot,n=e.value;try{const e=t();return!a(n,e)}catch(r){return!0}}"undefined"===typeof window||"undefined"===typeof window.document||window.document.createElement,(r||(r=n.t(i,2))).useSyncExternalStore;const f=i.createContext(null);const p=i.createContext(null);const m=i.createContext(null);const g=i.createContext(null);const _=i.createContext(null);const v=i.createContext({outlet:null,matches:[]});const y=i.createContext(null);function b(e,t){let{relative:n}=void 0===t?{}:t;w()||(0,s.V1)(!1);let{basename:r,navigator:o}=i.useContext(g),{hash:a,pathname:c,search:l}=I(e,{relative:n}),u=c;return"/"!==r&&(u="/"===c?r:(0,s.HS)([r,c])),o.createHref({pathname:u,search:l,hash:a})}function w(){return null!=i.useContext(_)}function S(){return w()||(0,s.V1)(!1),i.useContext(_).location}function k(e){return e.filter(((t,n)=>0===n||!t.route.index&&t.pathnameBase!==e[n-1].pathnameBase))}function C(){w()||(0,s.V1)(!1);let{basename:e,navigator:t}=i.useContext(g),{matches:n}=i.useContext(v),{pathname:r}=S(),o=JSON.stringify(k(n).map((e=>e.pathnameBase))),a=i.useRef(!1);return i.useEffect((()=>{a.current=!0})),i.useCallback((function(n,i){if(void 0===i&&(i={}),!a.current)return;if("number"===typeof n)return void t.go(n);let c=(0,s.Gh)(n,JSON.parse(o),r,"path"===i.relative);"/"!==e&&(c.pathname="/"===c.pathname?e:(0,s.HS)([e,c.pathname])),(i.replace?t.replace:t.push)(c,i.state,i)}),[e,t,o,r])}const x=i.createContext(null);function E(){return i.useContext(x)}function T(){let{matches:e}=i.useContext(v),t=e[e.length-1];return t?t.params:{}}function I(e,t){let{relative:n}=void 0===t?{}:t,{matches:r}=i.useContext(v),{pathname:o}=S(),a=JSON.stringify(k(r).map((e=>e.pathnameBase)));return i.useMemo((()=>(0,s.Gh)(e,JSON.parse(a),o,"path"===n)),[e,a,o,n])}function O(){let e=function(){var e;let t=i.useContext(y),n=L(N.UseRouteError),r=i.useContext(v),o=r.matches[r.matches.length-1];if(t)return t;return r||(0,s.V1)(!1),!o.route.id&&(0,s.V1)(!1),null==(e=n.errors)?void 0:e[o.route.id]}(),t=(0,s.pX)(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",o={padding:"0.5rem",backgroundColor:r},a={padding:"2px 4px",backgroundColor:r};return i.createElement(i.Fragment,null,i.createElement("h2",null,"Unhandled Thrown Error!"),i.createElement("h3",{style:{fontStyle:"italic"}},t),n?i.createElement("pre",{style:o},n):null,i.createElement("p",null,"\ud83d\udcbf Hey developer \ud83d\udc4b"),i.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own\xa0",i.createElement("code",{style:a},"errorElement")," props on\xa0",i.createElement("code",{style:a},"<Route>")))}class A extends i.Component{constructor(e){super(e),this.state={location:e.location,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location?{error:e.error,location:e.location}:{error:e.error||t.error,location:t.location}}componentDidCatch(e,t){}render(){return this.state.error?i.createElement(y.Provider,{value:this.state.error,children:this.props.component}):this.props.children}}function R(e){let{routeContext:t,match:n,children:r}=e,s=i.useContext(f);return s&&n.route.errorElement&&(s._deepestRenderedBoundaryId=n.route.id),i.createElement(v.Provider,{value:t},r)}function D(e,t,n){if(void 0===t&&(t=[]),null==e){if(null==n||!n.errors)return null;e=n.matches}let r=e,o=null==n?void 0:n.errors;if(null!=o){let e=r.findIndex((e=>e.route.id&&(null==o?void 0:o[e.route.id])));e>=0||(0,s.V1)(!1),r=r.slice(0,Math.min(r.length,e+1))}return r.reduceRight(((e,s,a)=>{let c=s.route.id?null==o?void 0:o[s.route.id]:null,l=n?s.route.errorElement||i.createElement(O,null):null,u=()=>i.createElement(R,{match:s,routeContext:{outlet:e,matches:t.concat(r.slice(0,a+1))}},c?l:void 0!==s.route.element?s.route.element:e);return n&&(s.route.errorElement||0===a)?i.createElement(A,{location:n.location,component:l,error:c,children:u()}):u()}),null)}var M,N;function L(e){let t=i.useContext(m);return t||(0,s.V1)(!1),t}!function(e){e.UseRevalidator="useRevalidator"}(M||(M={})),function(e){e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator"}(N||(N={}));function F(e){let{to:t,replace:n,state:r,relative:o}=e;w()||(0,s.V1)(!1);let a=i.useContext(m),c=C();return i.useEffect((()=>{a&&"idle"!==a.navigation.state||c(t,{replace:n,state:r,relative:o})})),null}function P(e){return function(e){let t=i.useContext(v).outlet;return t?i.createElement(x.Provider,{value:e},t):t}(e.context)}function z(e){(0,s.V1)(!1)}function j(e){let{basename:t="/",children:n=null,location:r,navigationType:o=s.rc.Pop,navigator:a,static:c=!1}=e;w()&&(0,s.V1)(!1);let l=t.replace(/^\/*/,"/"),u=i.useMemo((()=>({basename:l,navigator:a,static:c})),[l,a,c]);"string"===typeof r&&(r=(0,s.Rr)(r));let{pathname:d="/",search:h="",hash:f="",state:p=null,key:m="default"}=r,v=i.useMemo((()=>{let e=(0,s.pb)(d,l);return null==e?null:{pathname:e,search:h,hash:f,state:p,key:m}}),[l,d,h,f,p,m]);return null==v?null:i.createElement(g.Provider,{value:u},i.createElement(_.Provider,{children:n,value:{location:v,navigationType:o}}))}function B(e){let{children:t,location:n}=e,r=i.useContext(p);return function(e,t){w()||(0,s.V1)(!1);let n=i.useContext(m),{matches:r}=i.useContext(v),a=r[r.length-1],c=a?a.params:{},l=(a&&a.pathname,a?a.pathnameBase:"/");a&&a.route;let u,d=S();if(t){var h;let e="string"===typeof t?(0,s.Rr)(t):t;"/"===l||(null==(h=e.pathname)?void 0:h.startsWith(l))||(0,s.V1)(!1),u=e}else u=d;let f=u.pathname||"/",p="/"===l?f:f.slice(l.length)||"/",g=(0,s.ue)(e,{pathname:p}),y=D(g&&g.map((e=>Object.assign({},e,{params:Object.assign({},c,e.params),pathname:(0,s.HS)([l,e.pathname]),pathnameBase:"/"===e.pathnameBase?l:(0,s.HS)([l,e.pathnameBase])}))),r,n||void 0);return t?i.createElement(_.Provider,{value:{location:o({pathname:"/",search:"",hash:"",state:null,key:"default"},u),navigationType:s.rc.Pop}},y):y}(r&&!t?r.router.routes:U(t),n)}var $;!function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"}($||($={}));new Promise((()=>{}));i.Component;function U(e,t){void 0===t&&(t=[]);let n=[];return i.Children.forEach(e,((e,r)=>{if(!i.isValidElement(e))return;if(e.type===i.Fragment)return void n.push.apply(n,U(e.props.children,t));e.type!==z&&(0,s.V1)(!1),e.props.index&&e.props.children&&(0,s.V1)(!1);let o=[...t,r],a={id:e.props.id||o.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,hasErrorBoundary:null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle};e.props.children&&(a.children=U(e.props.children,o)),n.push(a)})),n}},40512:(e,t,n)=>{"use strict";n.d(t,{A:()=>I});var r=n(98173),s=n(2407),i=n.n(s),o="undefined"!==typeof window?window:null,a=null===o,c=a?void 0:o.document,l="addEventListener",u="removeEventListener",d="getBoundingClientRect",h="_a",f="_b",p="_c",m="horizontal",g=function(){return!1},_=a?"calc":["","-webkit-","-moz-","-o-"].filter((function(e){var t=c.createElement("div");return t.style.cssText="width:"+e+"calc(9px)",!!t.style.length})).shift()+"calc",v=function(e){return"string"===typeof e||e instanceof String},y=function(e){if(v(e)){var t=c.querySelector(e);if(!t)throw new Error("Selector "+e+" did not match a DOM element");return t}return e},b=function(e,t,n){var r=e[t];return void 0!==r?r:n},w=function(e,t,n,r){if(t){if("end"===r)return 0;if("center"===r)return e/2}else if(n){if("start"===r)return 0;if("center"===r)return e/2}return e},S=function(e,t){var n=c.createElement("div");return n.className="gutter gutter-"+t,n},k=function(e,t,n){var r={};return v(t)?r[e]=t:r[e]=_+"("+t+"% - "+n+"px)",r},C=function(e,t){var n;return(n={})[e]=t+"px",n};const x=function(e,t){if(void 0===t&&(t={}),a)return{};var n,r,s,i,_,v,x=e;Array.from&&(x=Array.from(x));var E=y(x[0]).parentNode,T=getComputedStyle?getComputedStyle(E):null,I=T?T.flexDirection:null,O=b(t,"sizes")||x.map((function(){return 100/x.length})),A=b(t,"minSize",100),R=Array.isArray(A)?A:x.map((function(){return A})),D=b(t,"maxSize",1/0),M=Array.isArray(D)?D:x.map((function(){return D})),N=b(t,"expandToMin",!1),L=b(t,"gutterSize",10),F=b(t,"gutterAlign","center"),P=b(t,"snapOffset",30),z=Array.isArray(P)?P:x.map((function(){return P})),j=b(t,"dragInterval",1),B=b(t,"direction",m),$=b(t,"cursor",B===m?"col-resize":"row-resize"),U=b(t,"gutter",S),W=b(t,"elementStyle",k),H=b(t,"gutterStyle",C);function q(e,t,r,s){var i=W(n,t,r,s);Object.keys(i).forEach((function(t){e.style[t]=i[t]}))}function G(){return v.map((function(e){return e.size}))}function V(e){return"touches"in e?e.touches[0][r]:e[r]}function K(e){var t=v[this.a],n=v[this.b],r=t.size+n.size;t.size=e/this.size*r,n.size=r-e/this.size*r,q(t.element,t.size,this[f],t.i),q(n.element,n.size,this[p],n.i)}function J(e){var n,r=v[this.a],s=v[this.b];this.dragging&&(n=V(e)-this.start+(this[f]-this.dragOffset),j>1&&(n=Math.round(n/j)*j),n<=r.minSize+r.snapOffset+this[f]?n=r.minSize+this[f]:n>=this.size-(s.minSize+s.snapOffset+this[p])&&(n=this.size-(s.minSize+this[p])),n>=r.maxSize-r.snapOffset+this[f]?n=r.maxSize+this[f]:n<=this.size-(s.maxSize-s.snapOffset+this[p])&&(n=this.size-(s.maxSize+this[p])),K.call(this,n),b(t,"onDrag",g)(G()))}function Y(){var e=v[this.a].element,t=v[this.b].element,r=e[d](),o=t[d]();this.size=r[n]+o[n]+this[f]+this[p],this.start=r[s],this.end=r[i]}function Z(e){var t=function(e){if(!getComputedStyle)return null;var t=getComputedStyle(e);if(!t)return null;var n=e[_];return 0===n?null:n-=B===m?parseFloat(t.paddingLeft)+parseFloat(t.paddingRight):parseFloat(t.paddingTop)+parseFloat(t.paddingBottom)}(E);if(null===t)return e;if(R.reduce((function(e,t){return e+t}),0)>t)return e;var n=0,r=[],s=e.map((function(s,i){var o=t*s/100,a=w(L,0===i,i===e.length-1,F),c=R[i]+a;return o<c?(n+=c-o,r.push(0),c):(r.push(o-c),o)}));return 0===n?e:s.map((function(e,s){var i=e;if(n>0&&r[s]-n>0){var o=Math.min(n,r[s]-n);n-=o,i=e-o}return i/t*100}))}function X(){var e=this,n=v[e.a].element,r=v[e.b].element;e.dragging&&b(t,"onDragEnd",g)(G()),e.dragging=!1,o[u]("mouseup",e.stop),o[u]("touchend",e.stop),o[u]("touchcancel",e.stop),o[u]("mousemove",e.move),o[u]("touchmove",e.move),e.stop=null,e.move=null,n[u]("selectstart",g),n[u]("dragstart",g),r[u]("selectstart",g),r[u]("dragstart",g),n.style.userSelect="",n.style.webkitUserSelect="",n.style.MozUserSelect="",n.style.pointerEvents="",r.style.userSelect="",r.style.webkitUserSelect="",r.style.MozUserSelect="",r.style.pointerEvents="",e.gutter.style.cursor="",e.parent.style.cursor="",c.body.style.cursor=""}function Q(e){if(!("button"in e)||0===e.button){var n=this,r=v[n.a].element,s=v[n.b].element;n.dragging||b(t,"onDragStart",g)(G()),e.preventDefault(),n.dragging=!0,n.move=J.bind(n),n.stop=X.bind(n),o[l]("mouseup",n.stop),o[l]("touchend",n.stop),o[l]("touchcancel",n.stop),o[l]("mousemove",n.move),o[l]("touchmove",n.move),r[l]("selectstart",g),r[l]("dragstart",g),s[l]("selectstart",g),s[l]("dragstart",g),r.style.userSelect="none",r.style.webkitUserSelect="none",r.style.MozUserSelect="none",r.style.pointerEvents="none",s.style.userSelect="none",s.style.webkitUserSelect="none",s.style.MozUserSelect="none",s.style.pointerEvents="none",n.gutter.style.cursor=$,n.parent.style.cursor=$,c.body.style.cursor=$,Y.call(n),n.dragOffset=V(e)-n.end}}B===m?(n="width",r="clientX",s="left",i="right",_="clientWidth"):"vertical"===B&&(n="height",r="clientY",s="top",i="bottom",_="clientHeight"),O=Z(O);var ee=[];function te(e){var t=e.i===ee.length,n=t?ee[e.i-1]:ee[e.i];Y.call(n);var r=t?n.size-e.minSize-n[p]:e.minSize+n[f];K.call(n,r)}return(v=x.map((function(e,t){var r,s={element:y(e),size:O[t],minSize:R[t],maxSize:M[t],snapOffset:z[t],i:t};if(t>0&&((r={a:t-1,b:t,dragging:!1,direction:B,parent:E})[f]=w(L,t-1===0,!1,F),r[p]=w(L,!1,t===x.length-1,F),"row-reverse"===I||"column-reverse"===I)){var i=r.a;r.a=r.b,r.b=i}if(t>0){var o=U(t,B,s.element);!function(e,t,r){var s=H(n,t,r);Object.keys(s).forEach((function(t){e.style[t]=s[t]}))}(o,L,t),r[h]=Q.bind(r),o[l]("mousedown",r[h]),o[l]("touchstart",r[h]),E.insertBefore(o,s.element),r.gutter=o}return q(s.element,s.size,w(L,0===t,t===x.length-1,F),t),t>0&&ee.push(r),s}))).forEach((function(e){var t=e.element[d]()[n];t<e.minSize&&(N?te(e):e.minSize=t)})),{setSizes:function(e){var t=Z(e);t.forEach((function(e,n){if(n>0){var r=ee[n-1],s=v[r.a],i=v[r.b];s.size=t[n-1],i.size=e,q(s.element,s.size,r[f],s.i),q(i.element,i.size,r[p],i.i)}}))},getSizes:G,collapse:function(e){te(v[e])},destroy:function(e,t){ee.forEach((function(r){if(!0!==t?r.parent.removeChild(r.gutter):(r.gutter[u]("mousedown",r[h]),r.gutter[u]("touchstart",r[h])),!0!==e){var s=W(n,r.a.size,r[f]);Object.keys(s).forEach((function(e){v[r.a].element.style[e]="",v[r.b].element.style[e]=""}))}}))},parent:E,pairs:ee}};function E(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&-1===t.indexOf(r)&&(n[r]=e[r]);return n}var T=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.componentDidMount=function(){var e=this.props;e.children;var t=e.gutter,n=E(e,["children","gutter"]);n.gutter=function(e,n){var r;return t?r=t(e,n):(r=document.createElement("div")).className="gutter gutter-"+n,r.__isSplitGutter=!0,r},this.split=x(this.parent.children,n)},t.prototype.componentDidUpdate=function(e){var t=this,n=this.props;n.children;var r=n.minSize,s=n.sizes,i=n.collapsed,o=E(n,["children","minSize","sizes","collapsed"]),a=e.minSize,c=e.sizes,l=e.collapsed,u=["maxSize","expandToMin","gutterSize","gutterAlign","snapOffset","dragInterval","direction","cursor"].map((function(n){return t.props[n]!==e[n]})).reduce((function(e,t){return e||t}),!1);if(Array.isArray(r)&&Array.isArray(a)){var d=!1;r.forEach((function(e,t){d=d||e!==a[t]})),u=u||d}else u=!(!Array.isArray(r)&&!Array.isArray(a))||(u||r!==a);if(u)o.minSize=r,o.sizes=s||this.split.getSizes(),this.split.destroy(!0,!0),o.gutter=function(e,t,n){return n.previousSibling},this.split=x(Array.from(this.parent.children).filter((function(e){return!e.__isSplitGutter})),o);else if(s){var h=!1;s.forEach((function(e,t){h=h||e!==c[t]})),h&&this.split.setSizes(this.props.sizes)}Number.isInteger(i)&&(i!==l||u)&&this.split.collapse(i)},t.prototype.componentWillUnmount=function(){this.split.destroy(),delete this.split},t.prototype.render=function(){var e=this,t=this.props;t.sizes,t.minSize,t.maxSize,t.expandToMin,t.gutterSize,t.gutterAlign,t.snapOffset,t.dragInterval,t.direction,t.cursor,t.gutter,t.elementStyle,t.gutterStyle,t.onDrag,t.onDragStart,t.onDragEnd,t.collapsed;var n=t.children,s=E(t,["sizes","minSize","maxSize","expandToMin","gutterSize","gutterAlign","snapOffset","dragInterval","direction","cursor","gutter","elementStyle","gutterStyle","onDrag","onDragStart","onDragEnd","collapsed","children"]);return r.createElement("div",Object.assign({},{ref:function(t){e.parent=t}},s),n)},t}(r.Component);T.propTypes={sizes:i().arrayOf(i().number),minSize:i().oneOfType([i().number,i().arrayOf(i().number)]),maxSize:i().oneOfType([i().number,i().arrayOf(i().number)]),expandToMin:i().bool,gutterSize:i().number,gutterAlign:i().string,snapOffset:i().oneOfType([i().number,i().arrayOf(i().number)]),dragInterval:i().number,direction:i().string,cursor:i().string,gutter:i().func,elementStyle:i().func,gutterStyle:i().func,onDrag:i().func,onDragStart:i().func,onDragEnd:i().func,collapsed:i().number,children:i().arrayOf(i().element)},T.defaultProps={sizes:void 0,minSize:void 0,maxSize:void 0,expandToMin:void 0,gutterSize:void 0,gutterAlign:void 0,snapOffset:void 0,dragInterval:void 0,direction:void 0,cursor:void 0,gutter:void 0,elementStyle:void 0,gutterStyle:void 0,onDrag:void 0,onDragStart:void 0,onDragEnd:void 0,collapsed:void 0,children:void 0};const I=T},83339:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(65214),s=n(21679);const i=new(n(62175).A)(s.A,r.A)._freeze()}}]);
|