@emailmaker/emailmaker 1.0.116-alpha.1 → 1.0.117-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.
Files changed (91) hide show
  1. package/README.md +275 -109
  2. package/asset-manifest.json +63 -67
  3. package/emailmaker-esm.js +1 -1
  4. package/emailmaker.d.ts +306 -38
  5. package/emailmaker.js +1 -1
  6. package/fonts/SegoeUI-Bold.woff2 +0 -0
  7. package/fonts/SegoeUI-Semibold.woff2 +0 -0
  8. package/fonts/SegoeUI.woff2 +0 -0
  9. package/iframe/429.js +1 -1
  10. package/iframe/766.js +1 -1
  11. package/iframe/iframe-eblock.3b8240bd8d75c6ee2a77.html +1 -0
  12. package/iframe/iframe.3b8240bd8d75c6ee2a77.html +1 -0
  13. package/iframe/index.html +1 -1
  14. package/iframe/js/525.7e478fc1.js +1 -0
  15. package/iframe/js/667.4d0450c5.js +1 -0
  16. package/iframe/js/882.46943f9a.js +1 -0
  17. package/iframe/sandbox-eblock.js +1 -1
  18. package/package.json +1 -1
  19. package/static/css/2854.257728de.chunk.css +2 -0
  20. package/static/css/5072.f959228f.chunk.css +2 -0
  21. package/static/css/{2557.2ede4a53.chunk.css → 8727.2f8ba497.chunk.css} +1 -1
  22. package/static/css/main.f5e75ca4.css +2 -0
  23. package/static/js/1345.70eac4ec.js +3 -0
  24. package/static/js/1345.70eac4ec.js.LICENSE.txt +101 -0
  25. package/static/js/1532.5ef52703.js +3 -0
  26. package/static/js/{2491.d65e25c3.js.LICENSE.txt → 1532.5ef52703.js.LICENSE.txt} +8 -0
  27. package/static/js/1716.2d977604.js +3 -0
  28. package/static/js/1716.2d977604.js.LICENSE.txt +11 -0
  29. package/static/js/1902.fa7e9fe6.js +3 -0
  30. package/static/js/{9503.529740b0.js.LICENSE.txt → 1902.fa7e9fe6.js.LICENSE.txt} +41 -5
  31. package/static/js/1940.e77ca441.js +3 -0
  32. package/static/js/2022.b4591f7e.js +3 -0
  33. package/static/js/{566.a759ee99.js.LICENSE.txt → 2022.b4591f7e.js.LICENSE.txt} +0 -13
  34. package/static/js/{327.31ca6e0d.js → 262.19eb7dd4.js} +3 -3
  35. package/static/js/2798.9c98addb.js +3 -0
  36. package/static/js/2798.9c98addb.js.LICENSE.txt +97 -0
  37. package/static/js/284.7faba600.js +2 -0
  38. package/static/js/2854.95e1c8d0.js +2 -0
  39. package/static/js/3718.76cec3de.js +2 -0
  40. package/static/js/5072.e5ce1614.js +3 -0
  41. package/static/js/5072.e5ce1614.js.LICENSE.txt +10 -0
  42. package/static/js/5333.afbfef64.js +3 -0
  43. package/static/js/{emailmaker_core.03a31b5b.js.LICENSE.txt → 5333.afbfef64.js.LICENSE.txt} +15 -3
  44. package/static/js/598.61e6a78a.js +2 -0
  45. package/static/js/8430.12bfa59b.js +2 -0
  46. package/static/js/8466.44341e69.js +2 -0
  47. package/static/js/{8580.fb06c399.js → 8580.47fa4f83.js} +2 -2
  48. package/static/js/8722.cfde4eb7.js +3 -0
  49. package/static/js/8727.ef480f4b.js +2 -0
  50. package/static/js/emailmaker_core.1f145e15.js +2 -0
  51. package/iframe/iframe-eblock.8216ee8050e216f489af.html +0 -1
  52. package/iframe/iframe.8216ee8050e216f489af.html +0 -1
  53. package/iframe/js/525.87bb307e.js +0 -1
  54. package/iframe/js/667.5b6da6e1.js +0 -1
  55. package/iframe/js/882.46d35112.js +0 -1
  56. package/static/css/6310.98e625aa.chunk.css +0 -2
  57. package/static/css/9617.0a8094c7.chunk.css +0 -2
  58. package/static/css/main.b7275454.css +0 -2
  59. package/static/js/1902.8d2f3fce.js +0 -2
  60. package/static/js/1940.524f0244.js +0 -3
  61. package/static/js/2491.d65e25c3.js +0 -3
  62. package/static/js/2557.c5dfa9a5.js +0 -2
  63. package/static/js/284.efb80df6.js +0 -2
  64. package/static/js/3628.b5eb07c2.js +0 -3
  65. package/static/js/566.a759ee99.js +0 -3
  66. package/static/js/6310.cafc9a48.js +0 -2
  67. package/static/js/7234.d3966e99.js +0 -2
  68. package/static/js/7673.2db4eeee.js +0 -3
  69. package/static/js/7673.2db4eeee.js.LICENSE.txt +0 -48
  70. package/static/js/8013.e4dee415.js +0 -2
  71. package/static/js/8466.d3339ec9.js +0 -2
  72. package/static/js/912.42ae1bb7.js +0 -3
  73. package/static/js/912.42ae1bb7.js.LICENSE.txt +0 -32
  74. package/static/js/9503.529740b0.js +0 -3
  75. package/static/js/9578.629b57ca.js +0 -2
  76. package/static/js/9617.54df440a.js +0 -3
  77. package/static/js/9617.54df440a.js.LICENSE.txt +0 -32
  78. package/static/js/emailmaker_core.03a31b5b.js +0 -3
  79. package/static/media/fb.ff10384394f8044ec889.png +0 -0
  80. package/static/media/ig.47a89992b4bec92d4364.png +0 -0
  81. package/static/media/tg.10f004529a98df9732b9.png +0 -0
  82. package/static/media/vk.fe41df919f4e8718e0b3.png +0 -0
  83. package/static/media/xa.8e9f984ff84e3f51c6f6.png +0 -0
  84. package/static/media/yd.c40d05dde64ef695fdf2.png +0 -0
  85. package/static/media/yt.4ac57e55d158b40c7fc1.png +0 -0
  86. /package/iframe/js/{525.87bb307e.js.LICENSE.txt → 525.7e478fc1.js.LICENSE.txt} +0 -0
  87. /package/iframe/js/{667.5b6da6e1.js.LICENSE.txt → 667.4d0450c5.js.LICENSE.txt} +0 -0
  88. /package/iframe/js/{882.46d35112.js.LICENSE.txt → 882.46943f9a.js.LICENSE.txt} +0 -0
  89. /package/static/js/{1940.524f0244.js.LICENSE.txt → 1940.e77ca441.js.LICENSE.txt} +0 -0
  90. /package/static/js/{327.31ca6e0d.js.LICENSE.txt → 262.19eb7dd4.js.LICENSE.txt} +0 -0
  91. /package/static/js/{3628.b5eb07c2.js.LICENSE.txt → 8722.cfde4eb7.js.LICENSE.txt} +0 -0
@@ -0,0 +1,3 @@
1
+ /*! For license information please see 2798.9c98addb.js.LICENSE.txt */
2
+ (globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[]).push([[2798],{12759:(e,t,n)=>{"use strict";function r(e){return e?e.replace(/\$\((.*?)\)/g,(e,t)=>` ${t} `).trim():""}n.d(t,{R$:()=>r,W6:()=>i,j3:()=>o});class i{constructor(e,t,n){this.id=e,this.definition=t,this.description=n,i._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 i._allCodicons}}var o;i._allCodicons=[],i.add=new i("add",{fontCharacter:"\\ea60"}),i.plus=new i("plus",i.add.definition),i.gistNew=new i("gist-new",i.add.definition),i.repoCreate=new i("repo-create",i.add.definition),i.lightbulb=new i("lightbulb",{fontCharacter:"\\ea61"}),i.lightBulb=new i("light-bulb",{fontCharacter:"\\ea61"}),i.repo=new i("repo",{fontCharacter:"\\ea62"}),i.repoDelete=new i("repo-delete",{fontCharacter:"\\ea62"}),i.gistFork=new i("gist-fork",{fontCharacter:"\\ea63"}),i.repoForked=new i("repo-forked",{fontCharacter:"\\ea63"}),i.gitPullRequest=new i("git-pull-request",{fontCharacter:"\\ea64"}),i.gitPullRequestAbandoned=new i("git-pull-request-abandoned",{fontCharacter:"\\ea64"}),i.recordKeys=new i("record-keys",{fontCharacter:"\\ea65"}),i.keyboard=new i("keyboard",{fontCharacter:"\\ea65"}),i.tag=new i("tag",{fontCharacter:"\\ea66"}),i.tagAdd=new i("tag-add",{fontCharacter:"\\ea66"}),i.tagRemove=new i("tag-remove",{fontCharacter:"\\ea66"}),i.person=new i("person",{fontCharacter:"\\ea67"}),i.personFollow=new i("person-follow",{fontCharacter:"\\ea67"}),i.personOutline=new i("person-outline",{fontCharacter:"\\ea67"}),i.personFilled=new i("person-filled",{fontCharacter:"\\ea67"}),i.gitBranch=new i("git-branch",{fontCharacter:"\\ea68"}),i.gitBranchCreate=new i("git-branch-create",{fontCharacter:"\\ea68"}),i.gitBranchDelete=new i("git-branch-delete",{fontCharacter:"\\ea68"}),i.sourceControl=new i("source-control",{fontCharacter:"\\ea68"}),i.mirror=new i("mirror",{fontCharacter:"\\ea69"}),i.mirrorPublic=new i("mirror-public",{fontCharacter:"\\ea69"}),i.star=new i("star",{fontCharacter:"\\ea6a"}),i.starAdd=new i("star-add",{fontCharacter:"\\ea6a"}),i.starDelete=new i("star-delete",{fontCharacter:"\\ea6a"}),i.starEmpty=new i("star-empty",{fontCharacter:"\\ea6a"}),i.comment=new i("comment",{fontCharacter:"\\ea6b"}),i.commentAdd=new i("comment-add",{fontCharacter:"\\ea6b"}),i.alert=new i("alert",{fontCharacter:"\\ea6c"}),i.warning=new i("warning",{fontCharacter:"\\ea6c"}),i.search=new i("search",{fontCharacter:"\\ea6d"}),i.searchSave=new i("search-save",{fontCharacter:"\\ea6d"}),i.logOut=new i("log-out",{fontCharacter:"\\ea6e"}),i.signOut=new i("sign-out",{fontCharacter:"\\ea6e"}),i.logIn=new i("log-in",{fontCharacter:"\\ea6f"}),i.signIn=new i("sign-in",{fontCharacter:"\\ea6f"}),i.eye=new i("eye",{fontCharacter:"\\ea70"}),i.eyeUnwatch=new i("eye-unwatch",{fontCharacter:"\\ea70"}),i.eyeWatch=new i("eye-watch",{fontCharacter:"\\ea70"}),i.circleFilled=new i("circle-filled",{fontCharacter:"\\ea71"}),i.primitiveDot=new i("primitive-dot",{fontCharacter:"\\ea71"}),i.closeDirty=new i("close-dirty",{fontCharacter:"\\ea71"}),i.debugBreakpoint=new i("debug-breakpoint",{fontCharacter:"\\ea71"}),i.debugBreakpointDisabled=new i("debug-breakpoint-disabled",{fontCharacter:"\\ea71"}),i.debugHint=new i("debug-hint",{fontCharacter:"\\ea71"}),i.primitiveSquare=new i("primitive-square",{fontCharacter:"\\ea72"}),i.edit=new i("edit",{fontCharacter:"\\ea73"}),i.pencil=new i("pencil",{fontCharacter:"\\ea73"}),i.info=new i("info",{fontCharacter:"\\ea74"}),i.issueOpened=new i("issue-opened",{fontCharacter:"\\ea74"}),i.gistPrivate=new i("gist-private",{fontCharacter:"\\ea75"}),i.gitForkPrivate=new i("git-fork-private",{fontCharacter:"\\ea75"}),i.lock=new i("lock",{fontCharacter:"\\ea75"}),i.mirrorPrivate=new i("mirror-private",{fontCharacter:"\\ea75"}),i.close=new i("close",{fontCharacter:"\\ea76"}),i.removeClose=new i("remove-close",{fontCharacter:"\\ea76"}),i.x=new i("x",{fontCharacter:"\\ea76"}),i.repoSync=new i("repo-sync",{fontCharacter:"\\ea77"}),i.sync=new i("sync",{fontCharacter:"\\ea77"}),i.clone=new i("clone",{fontCharacter:"\\ea78"}),i.desktopDownload=new i("desktop-download",{fontCharacter:"\\ea78"}),i.beaker=new i("beaker",{fontCharacter:"\\ea79"}),i.microscope=new i("microscope",{fontCharacter:"\\ea79"}),i.vm=new i("vm",{fontCharacter:"\\ea7a"}),i.deviceDesktop=new i("device-desktop",{fontCharacter:"\\ea7a"}),i.file=new i("file",{fontCharacter:"\\ea7b"}),i.fileText=new i("file-text",{fontCharacter:"\\ea7b"}),i.more=new i("more",{fontCharacter:"\\ea7c"}),i.ellipsis=new i("ellipsis",{fontCharacter:"\\ea7c"}),i.kebabHorizontal=new i("kebab-horizontal",{fontCharacter:"\\ea7c"}),i.mailReply=new i("mail-reply",{fontCharacter:"\\ea7d"}),i.reply=new i("reply",{fontCharacter:"\\ea7d"}),i.organization=new i("organization",{fontCharacter:"\\ea7e"}),i.organizationFilled=new i("organization-filled",{fontCharacter:"\\ea7e"}),i.organizationOutline=new i("organization-outline",{fontCharacter:"\\ea7e"}),i.newFile=new i("new-file",{fontCharacter:"\\ea7f"}),i.fileAdd=new i("file-add",{fontCharacter:"\\ea7f"}),i.newFolder=new i("new-folder",{fontCharacter:"\\ea80"}),i.fileDirectoryCreate=new i("file-directory-create",{fontCharacter:"\\ea80"}),i.trash=new i("trash",{fontCharacter:"\\ea81"}),i.trashcan=new i("trashcan",{fontCharacter:"\\ea81"}),i.history=new i("history",{fontCharacter:"\\ea82"}),i.clock=new i("clock",{fontCharacter:"\\ea82"}),i.folder=new i("folder",{fontCharacter:"\\ea83"}),i.fileDirectory=new i("file-directory",{fontCharacter:"\\ea83"}),i.symbolFolder=new i("symbol-folder",{fontCharacter:"\\ea83"}),i.logoGithub=new i("logo-github",{fontCharacter:"\\ea84"}),i.markGithub=new i("mark-github",{fontCharacter:"\\ea84"}),i.github=new i("github",{fontCharacter:"\\ea84"}),i.terminal=new i("terminal",{fontCharacter:"\\ea85"}),i.console=new i("console",{fontCharacter:"\\ea85"}),i.repl=new i("repl",{fontCharacter:"\\ea85"}),i.zap=new i("zap",{fontCharacter:"\\ea86"}),i.symbolEvent=new i("symbol-event",{fontCharacter:"\\ea86"}),i.error=new i("error",{fontCharacter:"\\ea87"}),i.stop=new i("stop",{fontCharacter:"\\ea87"}),i.variable=new i("variable",{fontCharacter:"\\ea88"}),i.symbolVariable=new i("symbol-variable",{fontCharacter:"\\ea88"}),i.array=new i("array",{fontCharacter:"\\ea8a"}),i.symbolArray=new i("symbol-array",{fontCharacter:"\\ea8a"}),i.symbolModule=new i("symbol-module",{fontCharacter:"\\ea8b"}),i.symbolPackage=new i("symbol-package",{fontCharacter:"\\ea8b"}),i.symbolNamespace=new i("symbol-namespace",{fontCharacter:"\\ea8b"}),i.symbolObject=new i("symbol-object",{fontCharacter:"\\ea8b"}),i.symbolMethod=new i("symbol-method",{fontCharacter:"\\ea8c"}),i.symbolFunction=new i("symbol-function",{fontCharacter:"\\ea8c"}),i.symbolConstructor=new i("symbol-constructor",{fontCharacter:"\\ea8c"}),i.symbolBoolean=new i("symbol-boolean",{fontCharacter:"\\ea8f"}),i.symbolNull=new i("symbol-null",{fontCharacter:"\\ea8f"}),i.symbolNumeric=new i("symbol-numeric",{fontCharacter:"\\ea90"}),i.symbolNumber=new i("symbol-number",{fontCharacter:"\\ea90"}),i.symbolStructure=new i("symbol-structure",{fontCharacter:"\\ea91"}),i.symbolStruct=new i("symbol-struct",{fontCharacter:"\\ea91"}),i.symbolParameter=new i("symbol-parameter",{fontCharacter:"\\ea92"}),i.symbolTypeParameter=new i("symbol-type-parameter",{fontCharacter:"\\ea92"}),i.symbolKey=new i("symbol-key",{fontCharacter:"\\ea93"}),i.symbolText=new i("symbol-text",{fontCharacter:"\\ea93"}),i.symbolReference=new i("symbol-reference",{fontCharacter:"\\ea94"}),i.goToFile=new i("go-to-file",{fontCharacter:"\\ea94"}),i.symbolEnum=new i("symbol-enum",{fontCharacter:"\\ea95"}),i.symbolValue=new i("symbol-value",{fontCharacter:"\\ea95"}),i.symbolRuler=new i("symbol-ruler",{fontCharacter:"\\ea96"}),i.symbolUnit=new i("symbol-unit",{fontCharacter:"\\ea96"}),i.activateBreakpoints=new i("activate-breakpoints",{fontCharacter:"\\ea97"}),i.archive=new i("archive",{fontCharacter:"\\ea98"}),i.arrowBoth=new i("arrow-both",{fontCharacter:"\\ea99"}),i.arrowDown=new i("arrow-down",{fontCharacter:"\\ea9a"}),i.arrowLeft=new i("arrow-left",{fontCharacter:"\\ea9b"}),i.arrowRight=new i("arrow-right",{fontCharacter:"\\ea9c"}),i.arrowSmallDown=new i("arrow-small-down",{fontCharacter:"\\ea9d"}),i.arrowSmallLeft=new i("arrow-small-left",{fontCharacter:"\\ea9e"}),i.arrowSmallRight=new i("arrow-small-right",{fontCharacter:"\\ea9f"}),i.arrowSmallUp=new i("arrow-small-up",{fontCharacter:"\\eaa0"}),i.arrowUp=new i("arrow-up",{fontCharacter:"\\eaa1"}),i.bell=new i("bell",{fontCharacter:"\\eaa2"}),i.bold=new i("bold",{fontCharacter:"\\eaa3"}),i.book=new i("book",{fontCharacter:"\\eaa4"}),i.bookmark=new i("bookmark",{fontCharacter:"\\eaa5"}),i.debugBreakpointConditionalUnverified=new i("debug-breakpoint-conditional-unverified",{fontCharacter:"\\eaa6"}),i.debugBreakpointConditional=new i("debug-breakpoint-conditional",{fontCharacter:"\\eaa7"}),i.debugBreakpointConditionalDisabled=new i("debug-breakpoint-conditional-disabled",{fontCharacter:"\\eaa7"}),i.debugBreakpointDataUnverified=new i("debug-breakpoint-data-unverified",{fontCharacter:"\\eaa8"}),i.debugBreakpointData=new i("debug-breakpoint-data",{fontCharacter:"\\eaa9"}),i.debugBreakpointDataDisabled=new i("debug-breakpoint-data-disabled",{fontCharacter:"\\eaa9"}),i.debugBreakpointLogUnverified=new i("debug-breakpoint-log-unverified",{fontCharacter:"\\eaaa"}),i.debugBreakpointLog=new i("debug-breakpoint-log",{fontCharacter:"\\eaab"}),i.debugBreakpointLogDisabled=new i("debug-breakpoint-log-disabled",{fontCharacter:"\\eaab"}),i.briefcase=new i("briefcase",{fontCharacter:"\\eaac"}),i.broadcast=new i("broadcast",{fontCharacter:"\\eaad"}),i.browser=new i("browser",{fontCharacter:"\\eaae"}),i.bug=new i("bug",{fontCharacter:"\\eaaf"}),i.calendar=new i("calendar",{fontCharacter:"\\eab0"}),i.caseSensitive=new i("case-sensitive",{fontCharacter:"\\eab1"}),i.check=new i("check",{fontCharacter:"\\eab2"}),i.checklist=new i("checklist",{fontCharacter:"\\eab3"}),i.chevronDown=new i("chevron-down",{fontCharacter:"\\eab4"}),i.dropDownButton=new i("drop-down-button",i.chevronDown.definition),i.chevronLeft=new i("chevron-left",{fontCharacter:"\\eab5"}),i.chevronRight=new i("chevron-right",{fontCharacter:"\\eab6"}),i.chevronUp=new i("chevron-up",{fontCharacter:"\\eab7"}),i.chromeClose=new i("chrome-close",{fontCharacter:"\\eab8"}),i.chromeMaximize=new i("chrome-maximize",{fontCharacter:"\\eab9"}),i.chromeMinimize=new i("chrome-minimize",{fontCharacter:"\\eaba"}),i.chromeRestore=new i("chrome-restore",{fontCharacter:"\\eabb"}),i.circleOutline=new i("circle-outline",{fontCharacter:"\\eabc"}),i.debugBreakpointUnverified=new i("debug-breakpoint-unverified",{fontCharacter:"\\eabc"}),i.circleSlash=new i("circle-slash",{fontCharacter:"\\eabd"}),i.circuitBoard=new i("circuit-board",{fontCharacter:"\\eabe"}),i.clearAll=new i("clear-all",{fontCharacter:"\\eabf"}),i.clippy=new i("clippy",{fontCharacter:"\\eac0"}),i.closeAll=new i("close-all",{fontCharacter:"\\eac1"}),i.cloudDownload=new i("cloud-download",{fontCharacter:"\\eac2"}),i.cloudUpload=new i("cloud-upload",{fontCharacter:"\\eac3"}),i.code=new i("code",{fontCharacter:"\\eac4"}),i.collapseAll=new i("collapse-all",{fontCharacter:"\\eac5"}),i.colorMode=new i("color-mode",{fontCharacter:"\\eac6"}),i.commentDiscussion=new i("comment-discussion",{fontCharacter:"\\eac7"}),i.compareChanges=new i("compare-changes",{fontCharacter:"\\eafd"}),i.creditCard=new i("credit-card",{fontCharacter:"\\eac9"}),i.dash=new i("dash",{fontCharacter:"\\eacc"}),i.dashboard=new i("dashboard",{fontCharacter:"\\eacd"}),i.database=new i("database",{fontCharacter:"\\eace"}),i.debugContinue=new i("debug-continue",{fontCharacter:"\\eacf"}),i.debugDisconnect=new i("debug-disconnect",{fontCharacter:"\\ead0"}),i.debugPause=new i("debug-pause",{fontCharacter:"\\ead1"}),i.debugRestart=new i("debug-restart",{fontCharacter:"\\ead2"}),i.debugStart=new i("debug-start",{fontCharacter:"\\ead3"}),i.debugStepInto=new i("debug-step-into",{fontCharacter:"\\ead4"}),i.debugStepOut=new i("debug-step-out",{fontCharacter:"\\ead5"}),i.debugStepOver=new i("debug-step-over",{fontCharacter:"\\ead6"}),i.debugStop=new i("debug-stop",{fontCharacter:"\\ead7"}),i.debug=new i("debug",{fontCharacter:"\\ead8"}),i.deviceCameraVideo=new i("device-camera-video",{fontCharacter:"\\ead9"}),i.deviceCamera=new i("device-camera",{fontCharacter:"\\eada"}),i.deviceMobile=new i("device-mobile",{fontCharacter:"\\eadb"}),i.diffAdded=new i("diff-added",{fontCharacter:"\\eadc"}),i.diffIgnored=new i("diff-ignored",{fontCharacter:"\\eadd"}),i.diffModified=new i("diff-modified",{fontCharacter:"\\eade"}),i.diffRemoved=new i("diff-removed",{fontCharacter:"\\eadf"}),i.diffRenamed=new i("diff-renamed",{fontCharacter:"\\eae0"}),i.diff=new i("diff",{fontCharacter:"\\eae1"}),i.discard=new i("discard",{fontCharacter:"\\eae2"}),i.editorLayout=new i("editor-layout",{fontCharacter:"\\eae3"}),i.emptyWindow=new i("empty-window",{fontCharacter:"\\eae4"}),i.exclude=new i("exclude",{fontCharacter:"\\eae5"}),i.extensions=new i("extensions",{fontCharacter:"\\eae6"}),i.eyeClosed=new i("eye-closed",{fontCharacter:"\\eae7"}),i.fileBinary=new i("file-binary",{fontCharacter:"\\eae8"}),i.fileCode=new i("file-code",{fontCharacter:"\\eae9"}),i.fileMedia=new i("file-media",{fontCharacter:"\\eaea"}),i.filePdf=new i("file-pdf",{fontCharacter:"\\eaeb"}),i.fileSubmodule=new i("file-submodule",{fontCharacter:"\\eaec"}),i.fileSymlinkDirectory=new i("file-symlink-directory",{fontCharacter:"\\eaed"}),i.fileSymlinkFile=new i("file-symlink-file",{fontCharacter:"\\eaee"}),i.fileZip=new i("file-zip",{fontCharacter:"\\eaef"}),i.files=new i("files",{fontCharacter:"\\eaf0"}),i.filter=new i("filter",{fontCharacter:"\\eaf1"}),i.flame=new i("flame",{fontCharacter:"\\eaf2"}),i.foldDown=new i("fold-down",{fontCharacter:"\\eaf3"}),i.foldUp=new i("fold-up",{fontCharacter:"\\eaf4"}),i.fold=new i("fold",{fontCharacter:"\\eaf5"}),i.folderActive=new i("folder-active",{fontCharacter:"\\eaf6"}),i.folderOpened=new i("folder-opened",{fontCharacter:"\\eaf7"}),i.gear=new i("gear",{fontCharacter:"\\eaf8"}),i.gift=new i("gift",{fontCharacter:"\\eaf9"}),i.gistSecret=new i("gist-secret",{fontCharacter:"\\eafa"}),i.gist=new i("gist",{fontCharacter:"\\eafb"}),i.gitCommit=new i("git-commit",{fontCharacter:"\\eafc"}),i.gitCompare=new i("git-compare",{fontCharacter:"\\eafd"}),i.gitMerge=new i("git-merge",{fontCharacter:"\\eafe"}),i.githubAction=new i("github-action",{fontCharacter:"\\eaff"}),i.githubAlt=new i("github-alt",{fontCharacter:"\\eb00"}),i.globe=new i("globe",{fontCharacter:"\\eb01"}),i.grabber=new i("grabber",{fontCharacter:"\\eb02"}),i.graph=new i("graph",{fontCharacter:"\\eb03"}),i.gripper=new i("gripper",{fontCharacter:"\\eb04"}),i.heart=new i("heart",{fontCharacter:"\\eb05"}),i.home=new i("home",{fontCharacter:"\\eb06"}),i.horizontalRule=new i("horizontal-rule",{fontCharacter:"\\eb07"}),i.hubot=new i("hubot",{fontCharacter:"\\eb08"}),i.inbox=new i("inbox",{fontCharacter:"\\eb09"}),i.issueClosed=new i("issue-closed",{fontCharacter:"\\eba4"}),i.issueReopened=new i("issue-reopened",{fontCharacter:"\\eb0b"}),i.issues=new i("issues",{fontCharacter:"\\eb0c"}),i.italic=new i("italic",{fontCharacter:"\\eb0d"}),i.jersey=new i("jersey",{fontCharacter:"\\eb0e"}),i.json=new i("json",{fontCharacter:"\\eb0f"}),i.kebabVertical=new i("kebab-vertical",{fontCharacter:"\\eb10"}),i.key=new i("key",{fontCharacter:"\\eb11"}),i.law=new i("law",{fontCharacter:"\\eb12"}),i.lightbulbAutofix=new i("lightbulb-autofix",{fontCharacter:"\\eb13"}),i.linkExternal=new i("link-external",{fontCharacter:"\\eb14"}),i.link=new i("link",{fontCharacter:"\\eb15"}),i.listOrdered=new i("list-ordered",{fontCharacter:"\\eb16"}),i.listUnordered=new i("list-unordered",{fontCharacter:"\\eb17"}),i.liveShare=new i("live-share",{fontCharacter:"\\eb18"}),i.loading=new i("loading",{fontCharacter:"\\eb19"}),i.location=new i("location",{fontCharacter:"\\eb1a"}),i.mailRead=new i("mail-read",{fontCharacter:"\\eb1b"}),i.mail=new i("mail",{fontCharacter:"\\eb1c"}),i.markdown=new i("markdown",{fontCharacter:"\\eb1d"}),i.megaphone=new i("megaphone",{fontCharacter:"\\eb1e"}),i.mention=new i("mention",{fontCharacter:"\\eb1f"}),i.milestone=new i("milestone",{fontCharacter:"\\eb20"}),i.mortarBoard=new i("mortar-board",{fontCharacter:"\\eb21"}),i.move=new i("move",{fontCharacter:"\\eb22"}),i.multipleWindows=new i("multiple-windows",{fontCharacter:"\\eb23"}),i.mute=new i("mute",{fontCharacter:"\\eb24"}),i.noNewline=new i("no-newline",{fontCharacter:"\\eb25"}),i.note=new i("note",{fontCharacter:"\\eb26"}),i.octoface=new i("octoface",{fontCharacter:"\\eb27"}),i.openPreview=new i("open-preview",{fontCharacter:"\\eb28"}),i.package_=new i("package",{fontCharacter:"\\eb29"}),i.paintcan=new i("paintcan",{fontCharacter:"\\eb2a"}),i.pin=new i("pin",{fontCharacter:"\\eb2b"}),i.play=new i("play",{fontCharacter:"\\eb2c"}),i.run=new i("run",{fontCharacter:"\\eb2c"}),i.plug=new i("plug",{fontCharacter:"\\eb2d"}),i.preserveCase=new i("preserve-case",{fontCharacter:"\\eb2e"}),i.preview=new i("preview",{fontCharacter:"\\eb2f"}),i.project=new i("project",{fontCharacter:"\\eb30"}),i.pulse=new i("pulse",{fontCharacter:"\\eb31"}),i.question=new i("question",{fontCharacter:"\\eb32"}),i.quote=new i("quote",{fontCharacter:"\\eb33"}),i.radioTower=new i("radio-tower",{fontCharacter:"\\eb34"}),i.reactions=new i("reactions",{fontCharacter:"\\eb35"}),i.references=new i("references",{fontCharacter:"\\eb36"}),i.refresh=new i("refresh",{fontCharacter:"\\eb37"}),i.regex=new i("regex",{fontCharacter:"\\eb38"}),i.remoteExplorer=new i("remote-explorer",{fontCharacter:"\\eb39"}),i.remote=new i("remote",{fontCharacter:"\\eb3a"}),i.remove=new i("remove",{fontCharacter:"\\eb3b"}),i.replaceAll=new i("replace-all",{fontCharacter:"\\eb3c"}),i.replace=new i("replace",{fontCharacter:"\\eb3d"}),i.repoClone=new i("repo-clone",{fontCharacter:"\\eb3e"}),i.repoForcePush=new i("repo-force-push",{fontCharacter:"\\eb3f"}),i.repoPull=new i("repo-pull",{fontCharacter:"\\eb40"}),i.repoPush=new i("repo-push",{fontCharacter:"\\eb41"}),i.report=new i("report",{fontCharacter:"\\eb42"}),i.requestChanges=new i("request-changes",{fontCharacter:"\\eb43"}),i.rocket=new i("rocket",{fontCharacter:"\\eb44"}),i.rootFolderOpened=new i("root-folder-opened",{fontCharacter:"\\eb45"}),i.rootFolder=new i("root-folder",{fontCharacter:"\\eb46"}),i.rss=new i("rss",{fontCharacter:"\\eb47"}),i.ruby=new i("ruby",{fontCharacter:"\\eb48"}),i.saveAll=new i("save-all",{fontCharacter:"\\eb49"}),i.saveAs=new i("save-as",{fontCharacter:"\\eb4a"}),i.save=new i("save",{fontCharacter:"\\eb4b"}),i.screenFull=new i("screen-full",{fontCharacter:"\\eb4c"}),i.screenNormal=new i("screen-normal",{fontCharacter:"\\eb4d"}),i.searchStop=new i("search-stop",{fontCharacter:"\\eb4e"}),i.server=new i("server",{fontCharacter:"\\eb50"}),i.settingsGear=new i("settings-gear",{fontCharacter:"\\eb51"}),i.settings=new i("settings",{fontCharacter:"\\eb52"}),i.shield=new i("shield",{fontCharacter:"\\eb53"}),i.smiley=new i("smiley",{fontCharacter:"\\eb54"}),i.sortPrecedence=new i("sort-precedence",{fontCharacter:"\\eb55"}),i.splitHorizontal=new i("split-horizontal",{fontCharacter:"\\eb56"}),i.splitVertical=new i("split-vertical",{fontCharacter:"\\eb57"}),i.squirrel=new i("squirrel",{fontCharacter:"\\eb58"}),i.starFull=new i("star-full",{fontCharacter:"\\eb59"}),i.starHalf=new i("star-half",{fontCharacter:"\\eb5a"}),i.symbolClass=new i("symbol-class",{fontCharacter:"\\eb5b"}),i.symbolColor=new i("symbol-color",{fontCharacter:"\\eb5c"}),i.symbolCustomColor=new i("symbol-customcolor",{fontCharacter:"\\eb5c"}),i.symbolConstant=new i("symbol-constant",{fontCharacter:"\\eb5d"}),i.symbolEnumMember=new i("symbol-enum-member",{fontCharacter:"\\eb5e"}),i.symbolField=new i("symbol-field",{fontCharacter:"\\eb5f"}),i.symbolFile=new i("symbol-file",{fontCharacter:"\\eb60"}),i.symbolInterface=new i("symbol-interface",{fontCharacter:"\\eb61"}),i.symbolKeyword=new i("symbol-keyword",{fontCharacter:"\\eb62"}),i.symbolMisc=new i("symbol-misc",{fontCharacter:"\\eb63"}),i.symbolOperator=new i("symbol-operator",{fontCharacter:"\\eb64"}),i.symbolProperty=new i("symbol-property",{fontCharacter:"\\eb65"}),i.wrench=new i("wrench",{fontCharacter:"\\eb65"}),i.wrenchSubaction=new i("wrench-subaction",{fontCharacter:"\\eb65"}),i.symbolSnippet=new i("symbol-snippet",{fontCharacter:"\\eb66"}),i.tasklist=new i("tasklist",{fontCharacter:"\\eb67"}),i.telescope=new i("telescope",{fontCharacter:"\\eb68"}),i.textSize=new i("text-size",{fontCharacter:"\\eb69"}),i.threeBars=new i("three-bars",{fontCharacter:"\\eb6a"}),i.thumbsdown=new i("thumbsdown",{fontCharacter:"\\eb6b"}),i.thumbsup=new i("thumbsup",{fontCharacter:"\\eb6c"}),i.tools=new i("tools",{fontCharacter:"\\eb6d"}),i.triangleDown=new i("triangle-down",{fontCharacter:"\\eb6e"}),i.triangleLeft=new i("triangle-left",{fontCharacter:"\\eb6f"}),i.triangleRight=new i("triangle-right",{fontCharacter:"\\eb70"}),i.triangleUp=new i("triangle-up",{fontCharacter:"\\eb71"}),i.twitter=new i("twitter",{fontCharacter:"\\eb72"}),i.unfold=new i("unfold",{fontCharacter:"\\eb73"}),i.unlock=new i("unlock",{fontCharacter:"\\eb74"}),i.unmute=new i("unmute",{fontCharacter:"\\eb75"}),i.unverified=new i("unverified",{fontCharacter:"\\eb76"}),i.verified=new i("verified",{fontCharacter:"\\eb77"}),i.versions=new i("versions",{fontCharacter:"\\eb78"}),i.vmActive=new i("vm-active",{fontCharacter:"\\eb79"}),i.vmOutline=new i("vm-outline",{fontCharacter:"\\eb7a"}),i.vmRunning=new i("vm-running",{fontCharacter:"\\eb7b"}),i.watch=new i("watch",{fontCharacter:"\\eb7c"}),i.whitespace=new i("whitespace",{fontCharacter:"\\eb7d"}),i.wholeWord=new i("whole-word",{fontCharacter:"\\eb7e"}),i.window=new i("window",{fontCharacter:"\\eb7f"}),i.wordWrap=new i("word-wrap",{fontCharacter:"\\eb80"}),i.zoomIn=new i("zoom-in",{fontCharacter:"\\eb81"}),i.zoomOut=new i("zoom-out",{fontCharacter:"\\eb82"}),i.listFilter=new i("list-filter",{fontCharacter:"\\eb83"}),i.listFlat=new i("list-flat",{fontCharacter:"\\eb84"}),i.listSelection=new i("list-selection",{fontCharacter:"\\eb85"}),i.selection=new i("selection",{fontCharacter:"\\eb85"}),i.listTree=new i("list-tree",{fontCharacter:"\\eb86"}),i.debugBreakpointFunctionUnverified=new i("debug-breakpoint-function-unverified",{fontCharacter:"\\eb87"}),i.debugBreakpointFunction=new i("debug-breakpoint-function",{fontCharacter:"\\eb88"}),i.debugBreakpointFunctionDisabled=new i("debug-breakpoint-function-disabled",{fontCharacter:"\\eb88"}),i.debugStackframeActive=new i("debug-stackframe-active",{fontCharacter:"\\eb89"}),i.circleSmallFilled=new i("circle-small-filled",{fontCharacter:"\\eb8a"}),i.debugStackframeDot=new i("debug-stackframe-dot",i.circleSmallFilled.definition),i.debugStackframe=new i("debug-stackframe",{fontCharacter:"\\eb8b"}),i.debugStackframeFocused=new i("debug-stackframe-focused",{fontCharacter:"\\eb8b"}),i.debugBreakpointUnsupported=new i("debug-breakpoint-unsupported",{fontCharacter:"\\eb8c"}),i.symbolString=new i("symbol-string",{fontCharacter:"\\eb8d"}),i.debugReverseContinue=new i("debug-reverse-continue",{fontCharacter:"\\eb8e"}),i.debugStepBack=new i("debug-step-back",{fontCharacter:"\\eb8f"}),i.debugRestartFrame=new i("debug-restart-frame",{fontCharacter:"\\eb90"}),i.callIncoming=new i("call-incoming",{fontCharacter:"\\eb92"}),i.callOutgoing=new i("call-outgoing",{fontCharacter:"\\eb93"}),i.menu=new i("menu",{fontCharacter:"\\eb94"}),i.expandAll=new i("expand-all",{fontCharacter:"\\eb95"}),i.feedback=new i("feedback",{fontCharacter:"\\eb96"}),i.groupByRefType=new i("group-by-ref-type",{fontCharacter:"\\eb97"}),i.ungroupByRefType=new i("ungroup-by-ref-type",{fontCharacter:"\\eb98"}),i.account=new i("account",{fontCharacter:"\\eb99"}),i.bellDot=new i("bell-dot",{fontCharacter:"\\eb9a"}),i.debugConsole=new i("debug-console",{fontCharacter:"\\eb9b"}),i.library=new i("library",{fontCharacter:"\\eb9c"}),i.output=new i("output",{fontCharacter:"\\eb9d"}),i.runAll=new i("run-all",{fontCharacter:"\\eb9e"}),i.syncIgnored=new i("sync-ignored",{fontCharacter:"\\eb9f"}),i.pinned=new i("pinned",{fontCharacter:"\\eba0"}),i.githubInverted=new i("github-inverted",{fontCharacter:"\\eba1"}),i.debugAlt=new i("debug-alt",{fontCharacter:"\\eb91"}),i.serverProcess=new i("server-process",{fontCharacter:"\\eba2"}),i.serverEnvironment=new i("server-environment",{fontCharacter:"\\eba3"}),i.pass=new i("pass",{fontCharacter:"\\eba4"}),i.stopCircle=new i("stop-circle",{fontCharacter:"\\eba5"}),i.playCircle=new i("play-circle",{fontCharacter:"\\eba6"}),i.record=new i("record",{fontCharacter:"\\eba7"}),i.debugAltSmall=new i("debug-alt-small",{fontCharacter:"\\eba8"}),i.vmConnect=new i("vm-connect",{fontCharacter:"\\eba9"}),i.cloud=new i("cloud",{fontCharacter:"\\ebaa"}),i.merge=new i("merge",{fontCharacter:"\\ebab"}),i.exportIcon=new i("export",{fontCharacter:"\\ebac"}),i.graphLeft=new i("graph-left",{fontCharacter:"\\ebad"}),i.magnet=new i("magnet",{fontCharacter:"\\ebae"}),i.notebook=new i("notebook",{fontCharacter:"\\ebaf"}),i.redo=new i("redo",{fontCharacter:"\\ebb0"}),i.checkAll=new i("check-all",{fontCharacter:"\\ebb1"}),i.pinnedDirty=new i("pinned-dirty",{fontCharacter:"\\ebb2"}),i.passFilled=new i("pass-filled",{fontCharacter:"\\ebb3"}),i.circleLargeFilled=new i("circle-large-filled",{fontCharacter:"\\ebb4"}),i.circleLargeOutline=new i("circle-large-outline",{fontCharacter:"\\ebb5"}),i.combine=new i("combine",{fontCharacter:"\\ebb6"}),i.gather=new i("gather",{fontCharacter:"\\ebb6"}),i.table=new i("table",{fontCharacter:"\\ebb7"}),i.variableGroup=new i("variable-group",{fontCharacter:"\\ebb8"}),i.typeHierarchy=new i("type-hierarchy",{fontCharacter:"\\ebb9"}),i.typeHierarchySub=new i("type-hierarchy-sub",{fontCharacter:"\\ebba"}),i.typeHierarchySuper=new i("type-hierarchy-super",{fontCharacter:"\\ebbb"}),i.gitPullRequestCreate=new i("git-pull-request-create",{fontCharacter:"\\ebbc"}),i.runAbove=new i("run-above",{fontCharacter:"\\ebbd"}),i.runBelow=new i("run-below",{fontCharacter:"\\ebbe"}),i.notebookTemplate=new i("notebook-template",{fontCharacter:"\\ebbf"}),i.debugRerun=new i("debug-rerun",{fontCharacter:"\\ebc0"}),i.workspaceTrusted=new i("workspace-trusted",{fontCharacter:"\\ebc1"}),i.workspaceUntrusted=new i("workspace-untrusted",{fontCharacter:"\\ebc2"}),i.workspaceUnspecified=new i("workspace-unspecified",{fontCharacter:"\\ebc3"}),i.terminalCmd=new i("terminal-cmd",{fontCharacter:"\\ebc4"}),i.terminalDebian=new i("terminal-debian",{fontCharacter:"\\ebc5"}),i.terminalLinux=new i("terminal-linux",{fontCharacter:"\\ebc6"}),i.terminalPowershell=new i("terminal-powershell",{fontCharacter:"\\ebc7"}),i.terminalTmux=new i("terminal-tmux",{fontCharacter:"\\ebc8"}),i.terminalUbuntu=new i("terminal-ubuntu",{fontCharacter:"\\ebc9"}),i.terminalBash=new i("terminal-bash",{fontCharacter:"\\ebca"}),i.arrowSwap=new i("arrow-swap",{fontCharacter:"\\ebcb"}),i.copy=new i("copy",{fontCharacter:"\\ebcc"}),i.personAdd=new i("person-add",{fontCharacter:"\\ebcd"}),i.filterFilled=new i("filter-filled",{fontCharacter:"\\ebce"}),i.wand=new i("wand",{fontCharacter:"\\ebcf"}),i.debugLineByLine=new i("debug-line-by-line",{fontCharacter:"\\ebd0"}),i.inspect=new i("inspect",{fontCharacter:"\\ebd1"}),i.layers=new i("layers",{fontCharacter:"\\ebd2"}),i.layersDot=new i("layers-dot",{fontCharacter:"\\ebd3"}),i.layersActive=new i("layers-active",{fontCharacter:"\\ebd4"}),i.compass=new i("compass",{fontCharacter:"\\ebd5"}),i.compassDot=new i("compass-dot",{fontCharacter:"\\ebd6"}),i.compassActive=new i("compass-active",{fontCharacter:"\\ebd7"}),i.azure=new i("azure",{fontCharacter:"\\ebd8"}),i.issueDraft=new i("issue-draft",{fontCharacter:"\\ebd9"}),i.gitPullRequestClosed=new i("git-pull-request-closed",{fontCharacter:"\\ebda"}),i.gitPullRequestDraft=new i("git-pull-request-draft",{fontCharacter:"\\ebdb"}),i.debugAll=new i("debug-all",{fontCharacter:"\\ebdc"}),i.debugCoverage=new i("debug-coverage",{fontCharacter:"\\ebdd"}),i.runErrors=new i("run-errors",{fontCharacter:"\\ebde"}),i.folderLibrary=new i("folder-library",{fontCharacter:"\\ebdf"}),i.debugContinueSmall=new i("debug-continue-small",{fontCharacter:"\\ebe0"}),i.beakerStop=new i("beaker-stop",{fontCharacter:"\\ebe1"}),i.graphLine=new i("graph-line",{fontCharacter:"\\ebe2"}),i.graphScatter=new i("graph-scatter",{fontCharacter:"\\ebe3"}),i.pieChart=new i("pie-chart",{fontCharacter:"\\ebe4"}),i.bracket=new i("bracket",i.json.definition),i.bracketDot=new i("bracket-dot",{fontCharacter:"\\ebe5"}),i.bracketError=new i("bracket-error",{fontCharacter:"\\ebe6"}),i.lockSmall=new i("lock-small",{fontCharacter:"\\ebe7"}),i.azureDevops=new i("azure-devops",{fontCharacter:"\\ebe8"}),i.verifiedFilled=new i("verified-filled",{fontCharacter:"\\ebe9"}),i.newLine=new i("newline",{fontCharacter:"\\ebea"}),i.layout=new i("layout",{fontCharacter:"\\ebeb"}),i.layoutActivitybarLeft=new i("layout-activitybar-left",{fontCharacter:"\\ebec"}),i.layoutActivitybarRight=new i("layout-activitybar-right",{fontCharacter:"\\ebed"}),i.layoutPanelLeft=new i("layout-panel-left",{fontCharacter:"\\ebee"}),i.layoutPanelCenter=new i("layout-panel-center",{fontCharacter:"\\ebef"}),i.layoutPanelJustify=new i("layout-panel-justify",{fontCharacter:"\\ebf0"}),i.layoutPanelRight=new i("layout-panel-right",{fontCharacter:"\\ebf1"}),i.layoutPanel=new i("layout-panel",{fontCharacter:"\\ebf2"}),i.layoutSidebarLeft=new i("layout-sidebar-left",{fontCharacter:"\\ebf3"}),i.layoutSidebarRight=new i("layout-sidebar-right",{fontCharacter:"\\ebf4"}),i.layoutStatusbar=new i("layout-statusbar",{fontCharacter:"\\ebf5"}),i.layoutMenubar=new i("layout-menubar",{fontCharacter:"\\ebf6"}),i.layoutCentered=new i("layout-centered",{fontCharacter:"\\ebf7"}),i.layoutSidebarRightOff=new i("layout-sidebar-right-off",{fontCharacter:"\\ec00"}),i.layoutPanelOff=new i("layout-panel-off",{fontCharacter:"\\ec01"}),i.layoutSidebarLeftOff=new i("layout-sidebar-left-off",{fontCharacter:"\\ec02"}),i.target=new i("target",{fontCharacter:"\\ebf8"}),i.indent=new i("indent",{fontCharacter:"\\ebf9"}),i.recordSmall=new i("record-small",{fontCharacter:"\\ebfa"}),i.errorSmall=new i("error-small",{fontCharacter:"\\ebfb"}),i.arrowCircleDown=new i("arrow-circle-down",{fontCharacter:"\\ebfc"}),i.arrowCircleLeft=new i("arrow-circle-left",{fontCharacter:"\\ebfd"}),i.arrowCircleRight=new i("arrow-circle-right",{fontCharacter:"\\ebfe"}),i.arrowCircleUp=new i("arrow-circle-up",{fontCharacter:"\\ebff"}),i.heartFilled=new i("heart-filled",{fontCharacter:"\\ec04"}),i.map=new i("map",{fontCharacter:"\\ec05"}),i.mapFilled=new i("map-filled",{fontCharacter:"\\ec06"}),i.circleSmall=new i("circle-small",{fontCharacter:"\\ec07"}),i.bellSlash=new i("bell-slash",{fontCharacter:"\\ec08"}),i.bellSlashDot=new i("bell-slash-dot",{fontCharacter:"\\ec09"}),i.commentUnresolved=new i("comment-unresolved",{fontCharacter:"\\ec0a"}),i.dialogError=new i("dialog-error",i.error.definition),i.dialogWarning=new i("dialog-warning",i.warning.definition),i.dialogInfo=new i("dialog-info",i.info.definition),i.dialogClose=new i("dialog-close",i.close.definition),i.treeItemExpanded=new i("tree-item-expanded",i.chevronDown.definition),i.treeFilterOnTypeOn=new i("tree-filter-on-type-on",i.listFilter.definition),i.treeFilterOnTypeOff=new i("tree-filter-on-type-off",i.listSelection.definition),i.treeFilterClear=new i("tree-filter-clear",i.close.definition),i.treeItemLoading=new i("tree-item-loading",i.loading.definition),i.menuSelection=new i("menu-selection",i.check.definition),i.menuSubmenu=new i("menu-submenu",i.chevronRight.definition),i.menuBarMore=new i("menubar-more",i.more.definition),i.scrollbarButtonLeft=new i("scrollbar-button-left",i.triangleLeft.definition),i.scrollbarButtonRight=new i("scrollbar-button-right",i.triangleRight.definition),i.scrollbarButtonUp=new i("scrollbar-button-up",i.triangleUp.definition),i.scrollbarButtonDown=new i("scrollbar-button-down",i.triangleDown.definition),i.toolBarMore=new i("toolbar-more",i.more.definition),i.quickInputBack=new i("quick-input-back",i.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 i)return["codicon","codicon-"+e.id];const r=t.exec(e.id);if(!r)return n(i.error);const[,o,a]=r,s=["codicon","codicon-"+o];return a&&s.push("codicon-modifier-"+a.substr(1)),s}e.asClassNameArray=n,e.asClassName=function(e){return n(e).join(" ")},e.asCSSSelector=function(e){return"."+n(e).join(".")}}(o||(o={}))},21336:(e,t,n)=>{"use strict";n.d(t,{AL:()=>c,D7:()=>m,EM:()=>h,MB:()=>u,M_:()=>o,Qg:()=>f,aD:()=>l,cU:()=>a,dz:()=>i,iH:()=>d});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 i(e){u(e)||r.onUnexpectedError(e)}function o(e){u(e)||r.onUnexpectedExternalError(e)}function a(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 s="Canceled";function u(e){return e instanceof c||e instanceof Error&&e.name===s&&e.message===s}class c extends Error{constructor(){super(s),this.name=this.message}}function l(){const e=new Error(s);return e.name=e.message,e}function f(e){return e?new Error(`Illegal argument: ${e}`):new Error("Illegal argument")}function d(e){return e?new Error(`Illegal state: ${e}`):new Error("Illegal state")}class h 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)}}},56095:(e,t,n)=>{"use strict";n.d(t,{AS:()=>d,BO:()=>w,Cm:()=>m,HE:()=>y,St:()=>b,Xm:()=>f,jG:()=>g,lC:()=>c,mp:()=>v,qE:()=>h,s:()=>p});var r=n(58258),i=n(87577);let o=null;function a(e){return null===o||void 0===o||o.trackDisposable(e),e}function s(e){null===o||void 0===o||o.markAsDisposed(e)}function u(e,t){null===o||void 0===o||o.setParent(e,t)}function c(e){return null===o||void 0===o||o.markAsSingleton(e),e}class l extends Error{constructor(e){super(`Encountered errors while disposing of store. Errors: [${e.join(", ")}]`),this.errors=e}}function f(e){return"function"===typeof e.dispose&&0===e.dispose.length}function d(e){if(i.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 l(n);return Array.isArray(e)?[]:e}if(e)return e.dispose(),e}function h(...e){const t=p(()=>d(e));return function(e,t){if(o)for(const n of e)o.setParent(n,t)}(e,t),t}function p(e){const t=a({dispose:(0,r.O)(()=>{s(t),e()})});return t}class m{constructor(){this._toDispose=new Set,this._isDisposed=!1,a(this)}dispose(){this._isDisposed||(s(this),this._isDisposed=!0,this.clear())}get isDisposed(){return this._isDisposed}clear(){try{d(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 u(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,a(this),u(this._store,this)}dispose(){s(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 y{constructor(){this._isDisposed=!1,a(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&&u(e,this),this._value=e)}clear(){this.value=void 0}dispose(){var e;this._isDisposed=!0,s(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&&u(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 b{constructor(){this.dispose=()=>{},this.unset=()=>{},this.isset=()=>!1,a(this)}set(e){let t=e;return this.unset=()=>t=void 0,this.isset=()=>void 0!==t,this.dispose=()=>{t&&(t(),t=void 0,s(this))},this}}class w{constructor(e){this.object=e}dispose(){}}},80402:(e,t,n)=>{"use strict";n.d(t,{B6:()=>k,Fd:()=>v,LC:()=>m,P8:()=>p,Pi:()=>h,er:()=>f,iZ:()=>b,n4:()=>d,o1:()=>w,pD:()=>g,su:()=>c,uJ:()=>y});var r=n(64471),i=n(10461),o=n(52120),a=n(47916),s=n(9221),u=n(62553);function c(e){return(0,u.I)(e,!0)}class l{constructor(e){this._ignorePathCasing=e}compare(e,t,n=!1){return e===t?0:(0,s.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===i.ny.file)return r._1(c(e),c(t),this._ignorePathCasing(e))&&e.query===t.query&&(n||e.fragment===t.fragment);if(_(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 u.r.joinPath(e,...t)}basenameOrAuthority(e){return p(e)||e.authority}basename(e){return o.SA.basename(e.path)}extname(e){return o.SA.extname(e.path)}dirname(e){if(0===e.path.length)return e;let t;return e.scheme===i.ny.file?t=u.r.file(o.pD(c(e))).path:(t=o.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===i.ny.file?u.r.file(o.S8(c(e))).path:o.SA.normalize(e.path),e.with({path:t})}relativePath(e,t){if(e.scheme!==t.scheme||!_(e.authority,t.authority))return;if(e.scheme===i.ny.file){const n=o.V8(c(e),c(t));return a.uF?r.TH(n):n}let n=e.path||"/";const s=t.path||"/";if(this._ignorePathCasing(e)){let e=0;for(const t=Math.min(n.length,s.length);e<t&&(n.charCodeAt(e)===s.charCodeAt(e)||n.charAt(e).toLowerCase()===s.charAt(e).toLowerCase());e++);n=s.substr(0,e)+n.substr(e)}return o.SA.relative(n,s)}resolvePath(e,t){if(e.scheme===i.ny.file){const n=u.r.file(o.hd(c(e),t));return e.with({authority:n.authority,path:n.path})}return t=r.kb(t),e.with({path:o.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,s.Q_)(e,t)}hasTrailingPathSeparator(e,t=o.Vn){if(e.scheme===i.ny.file){const n=c(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=o.Vn){return S(e,t)?e.with({path:e.path.substr(0,e.path.length-1)}):e}addTrailingPathSeparator(e,t=o.Vn){let n=!1;if(e.scheme===i.ny.file){const i=c(e);n=void 0!==i&&i.length===r.Zn(i).length&&i[i.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 f=new l(()=>!1),d=(new l(e=>e.scheme!==i.ny.file||!a.j9),new l(e=>!0),f.isEqual.bind(f)),h=(f.isEqualOrParent.bind(f),f.getComparisonKey.bind(f),f.basenameOrAuthority.bind(f)),p=f.basename.bind(f),m=f.extname.bind(f),g=f.dirname.bind(f),y=f.joinPath.bind(f),v=f.normalizePath.bind(f),b=f.relativePath.bind(f),w=f.resolvePath.bind(f),_=(f.isAbsolutePath.bind(f),f.isEqualAuthority.bind(f)),S=f.hasTrailingPathSeparator.bind(f);f.removeTrailingPathSeparator.bind(f),f.addTrailingPathSeparator.bind(f);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={}))},33579:(e,t,n)=>{"use strict";n.d(t,{C1:()=>o,Ym:()=>r,kF:()=>i});const r={ctrlCmd:!1,alt:!1};var i,o;!function(e){e[e.Blur=1]="Blur",e[e.Gesture=2]="Gesture",e[e.Other=3]="Other"}(i||(i={})),function(e){e[e.NONE=0]="NONE",e[e.FIRST=1]="FIRST",e[e.SECOND=2]="SECOND",e[e.LAST=3]="LAST"}(o||(o={}));new class{constructor(e){this.options=e}}},49555:(e,t,n)=>{"use strict";n.d(t,{Du:()=>d,Su:()=>h,aI:()=>f,b7:()=>l});var r=n(9221),i=n(47916),o=n(97257);let a,s,u;function c(){return a||(a=new TextDecoder("UTF-16LE")),a}function l(){return u||(u=i.cm()?c():(s||(s=new TextDecoder("UTF-16BE")),s)),u}const f="undefined"!==typeof TextDecoder;let d,h;function p(e,t,n){const r=[];let i=0;for(let a=0;a<n;a++){const n=o.$l(e,t);t+=2,r[i++]=String.fromCharCode(n)}return r.join("")}f?(d=e=>new m(e),h=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 c().decode(r)}):(d=e=>new g,h=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 l().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}}},68077:(e,t,n)=>{"use strict";n.d(t,{i:()=>o});var r=n(33029);class i 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 o=function(e){const t={};return n=>(t.hasOwnProperty(n)||(t[n]=e(n)),t[n])}(e=>new i(e))},80681:(e,t,n)=>{"use strict";n.d(t,{L:()=>r});const r=(0,n(10174).u1)("languageService")},88638:(e,t,n)=>{"use strict";n.d(t,{A5:()=>r,Dg:()=>u,F4:()=>f,L5:()=>l,R3:()=>i,VW:()=>o,Wo:()=>c,X2:()=>s,vd:()=>d});var r,i,o,a=n(75007);!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"}(i||(i={})),function(e){e[e.Both=0]="Both",e[e.Right=1]="Right",e[e.Left=2]="Left",e[e.None=3]="None"}(o||(o={}));class s{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,a.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 u{constructor(e,t){this._findMatchBrand=void 0,this.range=e,this.matches=t}}class c{constructor(e,t,n,r,i,o){this.identifier=e,this.range=t,this.text=n,this.forceMoveMarkers=r,this.isAutoWhitespaceEdit=i,this._isTracked=o}}class l{constructor(e,t,n){this.regex=e,this.wordSeparators=t,this.simpleSearch=n}}class f{constructor(e,t,n){this.reverseEdits=e,this.changes=t,this.trimAutoWhitespaceLineNumbers=n}}function d(e){return!e.isTooLargeForSyncing()&&!e.isForSimpleWidget}},48349:(e,t,n)=>{"use strict";n.d(t,{S:()=>r});const r=(0,n(10174).u1)("modelService")},81897:(e,t,n)=>{"use strict";n.d(t,{b:()=>r});const r=(0,n(10174).u1)("textModelService")},91504:(e,t,n)=>{"use strict";n.d(t,{E6:()=>l,Hw:()=>o,YN:()=>i,b2:()=>r,gf:()=>s,n9:()=>u,oq:()=>a,tu:()=>f,vp:()=>c});var r,i,o,a,s,u,c,l,f,d=n(54500);!function(e){e.noSelection=d.kg("noSelection","No selection"),e.singleSelectionRange=d.kg("singleSelectionRange","Line {0}, Column {1} ({2} selected)"),e.singleSelection=d.kg("singleSelection","Line {0}, Column {1}"),e.multiSelectionRange=d.kg("multiSelectionRange","{0} selections ({1} characters selected)"),e.multiSelection=d.kg("multiSelection","{0} selections"),e.emergencyConfOn=d.kg("emergencyConfOn","Now changing the setting `accessibilitySupport` to 'on'."),e.openingDocs=d.kg("openingDocs","Now opening the Editor Accessibility documentation page."),e.readonlyDiffEditor=d.kg("readonlyDiffEditor"," in a read-only pane of a diff editor."),e.editableDiffEditor=d.kg("editableDiffEditor"," in a pane of a diff editor."),e.readonlyEditor=d.kg("readonlyEditor"," in a read-only code editor"),e.editableEditor=d.kg("editableEditor"," in a code editor"),e.changeConfigToOnMac=d.kg("changeConfigToOnMac","To configure the editor to be optimized for usage with a Screen Reader press Command+E now."),e.changeConfigToOnWinLinux=d.kg("changeConfigToOnWinLinux","To configure the editor to be optimized for usage with a Screen Reader press Control+E now."),e.auto_on=d.kg("auto_on","The editor is configured to be optimized for usage with a Screen Reader."),e.auto_off=d.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=d.kg("tabFocusModeOnMsg","Pressing Tab in the current editor will move focus to the next focusable element. Toggle this behavior by pressing {0}."),e.tabFocusModeOnMsgNoKb=d.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=d.kg("tabFocusModeOffMsg","Pressing Tab in the current editor will insert the tab character. Toggle this behavior by pressing {0}."),e.tabFocusModeOffMsgNoKb=d.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=d.kg("openDocMac","Press Command+H now to open a browser window with more information related to editor accessibility."),e.openDocWinLinux=d.kg("openDocWinLinux","Press Control+H now to open a browser window with more information related to editor accessibility."),e.outroMsg=d.kg("outroMsg","You can dismiss this tooltip and return to the editor by pressing Escape or Shift+Escape."),e.showAccessibilityHelpAction=d.kg("showAccessibilityHelpAction","Show Accessibility Help")}(r||(r={})),function(e){e.inspectTokensAction=d.kg("inspectTokens","Developer: Inspect Tokens")}(i||(i={})),function(e){e.gotoLineActionLabel=d.kg("gotoLineActionLabel","Go to Line/Column...")}(o||(o={})),function(e){e.helpQuickAccessActionLabel=d.kg("helpQuickAccess","Show all Quick Access Providers")}(a||(a={})),function(e){e.quickCommandActionLabel=d.kg("quickCommandActionLabel","Command Palette"),e.quickCommandHelp=d.kg("quickCommandActionHelp","Show And Run Commands")}(s||(s={})),function(e){e.quickOutlineActionLabel=d.kg("quickOutlineActionLabel","Go to Symbol..."),e.quickOutlineByCategoryActionLabel=d.kg("quickOutlineByCategoryActionLabel","Go to Symbol by Category...")}(u||(u={})),function(e){e.editorViewAccessibleLabel=d.kg("editorViewAccessibleLabel","Editor content"),e.accessibilityHelpMessage=d.kg("accessibilityHelpMessage","Press Alt+F1 for Accessibility Options.")}(c||(c={})),function(e){e.toggleHighContrast=d.kg("toggleHighContrast","Toggle High Contrast Theme")}(l||(l={})),function(e){e.bulkEditServiceSummary=d.kg("bulkEditServiceSummary","Made {0} edits in {1} files")}(f||(f={}))},30831:(e,t,n)=>{"use strict";n.d(t,{QE:()=>$e,XB:()=>Ie,Zc:()=>je});n(86460),n(23513),n(30054),n(30011),n(53323);var r=n(9221),i=n(68026),o=n(9569),a=n(11779),s=n(3390),u=n(56095),c=n(47916),l=n(85360),f=n(62553),d=n(32340),h=n(73820),p=n(29158),m=n(62456),g=n(13462),y=n(48349),v=n(81897),b=n(57651),w=n(92542),_=n(55368),S=n(59018),k=n(26714),C=n(18934),E=n(10174),x=n(22889),T=n(64642),O=n(56788),A=n(26254),I=n(34349),R=n(82988),P=n(21764),D=n(20242),z=n(99794),M=n(79386),N=n(98526),j=n(2484),L=n(91504),F=n(80402),B=n(25812),U=n(79040),q=n(46718),$=n(65223),W=n(96464),H=n(99948),K=n(79515),Q=n(48419),Y=n(28557),V=n(95038),J=n(52057),G=n(6167),Z=n(80681),X=n(62502),ee=n(54569),te=n(41034),ne=n(77965),re=n(52558),ie=n(15703),oe=n(22688),ae=n(12544),se=n(18086),ue=n(79423),ce=n(66828),le=n(36573),fe=n(25800),de=n(63817),he=n(96055),pe=n(78104),me=n(42832),ge=n(41494),ye=n(77964),ve=n(51350),be=n(89822),we=n(77702),_e=(n(12345),n(26423)),Se=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},ke=function(e,t){return function(n,r){t(n,r,e)}},Ce=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{u(r.next(e))}catch(t){o(t)}}function s(e){try{u(r.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}u((r=r.apply(e,t||[])).next())})};class Ee{constructor(e){this.disposed=!1,this.model=e,this._onWillDispose=new a.vl}get textEditorModel(){return this.model}dispose(){this.disposed=!0,this._onWillDispose.fire()}}let xe=class{constructor(e){this.modelService=e}createModelReference(e){const t=this.modelService.getModel(e);return t?Promise.resolve(new u.BO(new Ee(t))):Promise.reject(new Error("Model not found"))}};xe=Se([ke(0,y.S)],xe);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 Oe{info(e){return this.notify({severity:l.A.Info,message:e})}warn(e){return this.notify({severity:l.A.Warning,message:e})}error(e){return this.notify({severity:l.A.Error,message:e})}notify(e){switch(e.severity){case l.A.Error:case l.A.Warning:}return Oe.NO_OP}status(e,t){return u.jG.None}}Oe.NO_OP=new D.Kz;let Ae=class{constructor(e){this._onWillExecuteCommand=new a.vl,this._onDidExecuteCommand=new a.vl,this.onWillExecuteCommand=this._onWillExecuteCommand.event,this.onDidExecuteCommand=this._onDidExecuteCommand.event,this._instantiationService=e}executeCommand(e,...t){const n=w.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)}}};Ae=Se([ke(0,E._Y)],Ae);let Ie=class extends x.E{constructor(e,t,n,r,a,s){super(e,t,n,r,a),this._cachedResolver=null,this._dynamicKeybindings=[],this._domNodeListeners=[];const c=e=>{const t=new u.Cm;t.add(i.ko(e,i.Bx.KEY_DOWN,e=>{const t=new o.Z(e);this._dispatch(t,t.target)&&(t.preventDefault(),t.stopPropagation())})),t.add(i.ko(e,i.Bx.KEY_UP,e=>{const t=new o.Z(e);this._singleModifierDispatch(t,t.target)&&t.preventDefault()})),this._domNodeListeners.push(new Re(e,t))},l=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())}},f=e=>{e.getOption(55)||c(e.getContainerDomNode())};this._register(s.onCodeEditorAdd(f)),this._register(s.onCodeEditorRemove(e=>{e.getOption(55)||l(e.getContainerDomNode())})),s.listCodeEditors().forEach(f);const d=e=>{c(e.getContainerDomNode())};this._register(s.onDiffEditorAdd(d)),this._register(s.onDiffEditorRemove(e=>{l(e.getContainerDomNode())})),s.listDiffEditors().forEach(d)}addDynamicKeybinding(e,t,n,r){const i=(0,s.ZU)(t,c.OS),o=new u.Cm;return i&&(this._dynamicKeybindings.push({keybinding:i.parts,command:e,when:r,weight1:1e3,weight2:0,extensionId:null,isBuiltinExtension:!1}),o.add((0,u.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()}}))),o.add(w.wb.registerCommand(e,n)),this.updateResolver(),o}updateResolver(){this._cachedResolver=null,this._onDidUpdateKeybindings.fire()}_getResolver(){if(!this._cachedResolver){const e=this._toNormalizedKeybindingItems(A.f.getDefaultKeybindings(),!0),t=this._toNormalizedKeybindingItems(this._dynamicKeybindings,!1);this._cachedResolver=new O.f(e,t,e=>this._log(e))}return this._cachedResolver}_documentHasFocus(){return document.hasFocus()}_toNormalizedKeybindingItems(e,t){const n=[];let r=0;for(const i of e){const e=i.when||void 0,o=i.keybinding;if(o){const a=R.j.resolveUserBinding(o,c.OS);for(const o of a)n[r++]=new I.u(o,i.command,i.commandArgs,e,t,null,!1)}else n[r++]=new I.u(void 0,i.command,i.commandArgs,e,t,null,!1)}return n}resolveKeyboardEvent(e){const t=new s.h$(e.ctrlKey,e.shiftKey,e.altKey,e.metaKey,e.keyCode).toChord();return new R.j(t,c.OS)}};Ie=Se([ke(0,k.fN),ke(1,w.wT),ke(2,M.k),ke(3,D.Ot),ke(4,U.rr),ke(5,B.T)],Ie);class Re extends u.jG{constructor(e,t){super(),this.domNode=e,this._register(t)}}function Pe(e){return e&&"object"===typeof e&&(!e.overrideIdentifier||"string"===typeof e.overrideIdentifier)&&(!e.resource||e.resource instanceof f.r)}class De{constructor(){this._onDidChangeConfiguration=new a.vl,this.onDidChangeConfiguration=this._onDidChangeConfiguration.event,this._configuration=new S.Vk(new _e.z,new S.S1,new S.S1,new S.S1)}getValue(e,t){const n="string"===typeof e?e:void 0,r=Pe(e)?e:Pe(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 ze=class{constructor(e){this.configurationService=e,this._onDidChangeConfiguration=new a.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)}};ze=Se([ke(0,_.pG)],ze);let Me=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:c.j9||c.zx?"\n":"\r\n"}};Me=Se([ke(0,_.pG)],Me);class Ne{constructor(){const e=f.r.from({scheme:Ne.SCHEME,authority:"model",path:"/"});this.workspace={id:"4064f6ec-cb38-4ad0-af64-ee6467e63c82",folders:[new N.mX({uri:e,name:"",index:0})]}}getWorkspace(){return this.workspace}getWorkspaceFolder(e){return e&&e.scheme===Ne.SCHEME?this.workspace.folders[0]:null}}function je(e,t,n){if(!t)return;if(!(e instanceof De))return;const r=[];Object.keys(t).forEach(e=>{(0,h.vf)(e)&&r.push([`editor.${e}`,t[e]]),n&&(0,h.Gn)(e)&&r.push([`diffEditor.${e}`,t[e]])}),r.length>0&&e.updateValues(r)}Ne.SCHEME="inmemory";let Le=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 d.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,i=0;for(const[e,r]of t)e.pushStackElement(),e.pushEditOperations([],r,()=>[]),e.pushStackElement(),i+=1,n+=r.length;return{ariaSummary:r.GP(L.tu.bulkEditServiceSummary,n,i)}})}};Le=Se([ke(0,y.S)],Le);let Fe=class extends W.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)}};Fe=Se([ke(0,j.x),ke(1,B.T)],Fe);class Be extends H.g{constructor(){super()}}class Ue extends U.Kc{constructor(){super(new U.Cr)}}let qe=class extends K.K{constructor(e,t,n,r,i){super(e,t,n,r,i),this.configure({blockMouse:!1})}};var $e;qe=Se([ke(0,M.k),ke(1,D.Ot),ke(2,$.l),ke(3,T.b),ke(4,Q.Gy)],qe),(0,Y.v)(_.pG,De),(0,Y.v)(b.U,ze),(0,Y.v)(b.J,Me),(0,Y.v)(N.VR,Ne),(0,Y.v)(P.L,class{getUriLabel(e,t){return"file"===e.scheme?e.fsPath:e.path}getUriBasenameLabel(e){return(0,F.P8)(e)}}),(0,Y.v)(M.k,class{publicLog(e,t){return Promise.resolve(void 0)}publicLog2(e,t){return this.publicLog(e,t)}}),(0,Y.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,Y.v)(D.Ot,Oe),(0,Y.v)(ge.DR,ye.m),(0,Y.v)(Z.L,Be),(0,Y.v)(ie.L,re.Sx),(0,Y.v)(U.rr,Ue),(0,Y.v)(y.S,te.JW),(0,Y.v)(ee.A,X.D),(0,Y.v)(k.fN,fe.i7),(0,Y.v)(z.G5,class{withProgress(e,t,n){return t({report:()=>{}})}}),(0,Y.v)(z.N8,Te),(0,Y.v)(we.CS,we.pc),(0,Y.v)(J.w,G.Bc),(0,Y.v)(d.nu,Le),(0,Y.v)(q.L,class{constructor(){this._neverEmitter=new a.vl,this.onDidChangeTrust=this._neverEmitter.event}isWorkspaceTrusted(){return!0}}),(0,Y.v)(v.b,xe),(0,Y.v)(ae.j,oe.s),(0,Y.v)(me.PE,me.aG),(0,Y.v)(w.wT,Ae),(0,Y.v)(T.b,Ie),(0,Y.v)(be.GK,ne.oC),(0,Y.v)($.l,Fe),(0,Y.v)(ve.Cr,V.J),(0,Y.v)(le.h,ce.w),(0,Y.v)($.Z,qe),(0,Y.v)(se.ez,ue.$),function(e){const t=new pe.a;for(const[i,o]of(0,Y.N)())t.set(i,o);const n=new he.n(t,!0);t.set(E._Y,n),e.get=function(e){const r=t.get(e);if(!r)throw new Error("Missing service "+e);return r instanceof de.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,Y.N)())t.get(n)||t.set(n,r);for(const n in e)if(e.hasOwnProperty(n)){const r=(0,E.u1)(n);t.get(r)instanceof de.d&&t.set(r,e[n])}return n}}($e||($e={}))},54500:(e,t,n)=>{"use strict";n.d(t,{AM:()=>a,kg:()=>o});let r="undefined"!==typeof document&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;function i(e,t){let n;return n=0===t.length?e:e.replace(/\{(\d+)\}/g,(e,n)=>{const r=n[0],i=t[r];let o=e;return"string"===typeof i?o=i:"number"!==typeof i&&"boolean"!==typeof i&&void 0!==i&&null!==i||(o=String(i)),o}),r&&(n="\uff3b"+n.replace(/[aouei]/g,"$&$&")+"\uff3d"),n}function o(e,t,...n){return i(t,n)}function a(e){}},10174:(e,t,n)=>{"use strict";var r;n.d(t,{_$:()=>r,_Y:()=>i,u1:()=>o}),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 i=o("instantiationService");function o(e){if(r.serviceIds.has(e))return r.serviceIds.get(e);const t=function(e,n,i){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,i)};return t.toString=()=>e,r.serviceIds.set(e,t),t}},4950:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Keyframes:()=>s.A,NaNLinter:()=>u.cH,StyleContext:()=>c.Ay,StyleProvider:()=>c.N7,Theme:()=>l.Sx,_experimental:()=>m,createCache:()=>c.VC,createTheme:()=>l.an,extractStyle:()=>r.A,genCalc:()=>l.Q7,getComputedToken:()=>i.lO,legacyLogicalPropertiesTransformer:()=>f.A,legacyNotSelectorLinter:()=>u.Qn,logicalPropertiesLinter:()=>u.bM,parentSelectorLinter:()=>u.QY,px2remTransformer:()=>d.A,token2CSSVar:()=>p.Ki,unit:()=>h.zA,useCSSVarRegister:()=>o.Ay,useCacheToken:()=>i.Ay,useStyleRegister:()=>a.Ay});var r=n(5658),i=n(44965),o=n(54691),a=n(38596),s=n(25755),u=n(57888),c=n(51752),l=n(95026),f=n(88820),d=n(93585),h=n(99487),p=n(60092),m={supportModernCSS:function(){return(0,h.n6)()&&(0,h.kZ)()}}},12591:(e,t,n)=>{"use strict";n.d(t,{BD:()=>p});var r=n(42660),i=n(88710);const o="data-rc-order",a="data-rc-priority",s="rc-util-key",u=new Map;function c({mark:e}={}){return e?e.startsWith("data-")?e:`data-${e}`:s}function l(e){if(e.attachTo)return e.attachTo;return document.querySelector("head")||document.body}function f(e){return Array.from((u.get(e)||e).children).filter(e=>"STYLE"===e.tagName)}function d(e,t={}){if(!(0,r.A)())return null;const{csp:n,prepend:i,priority:s=0}=t,u=function(e){return"queue"===e?"prependQueue":e?"prepend":"append"}(i),c="prependQueue"===u,d=document.createElement("style");d.setAttribute(o,u),c&&s&&d.setAttribute(a,`${s}`),n?.nonce&&(d.nonce=n?.nonce),d.innerHTML=e;const h=l(t),{firstChild:p}=h;if(i){if(c){const e=(t.styles||f(h)).filter(e=>{if(!["prepend","prependQueue"].includes(e.getAttribute(o)))return!1;const t=Number(e.getAttribute(a)||0);return s>=t});if(e.length)return h.insertBefore(d,e[e.length-1].nextSibling),d}h.insertBefore(d,p)}else h.appendChild(d);return d}function h(e,t={}){let{styles:n}=t;return n||=f(l(t)),n.find(n=>n.getAttribute(c(t))===e)}function p(e,t,n={}){const r=l(n),o=f(r),a={...n,styles:o};!function(e,t){const n=u.get(e);if(!n||!(0,i.A)(document,n)){const n=d("",t),{parentNode:r}=n;u.set(e,r),e.removeChild(n)}}(r,a);const s=h(t,a);if(s)return a.csp?.nonce&&s.nonce!==a.csp?.nonce&&(s.nonce=a.csp?.nonce),s.innerHTML!==e&&(s.innerHTML=e),s;const p=d(e,a);return p.setAttribute(c(a),t),p}},55492:(e,t,n)=>{"use strict";n.d(t,{kw:()=>u});let r={};const i=[];function o(e,t){0}function a(e,t){0}function s(e,t,n){t||r[n]||(e(!1,n),r[n]=!0)}function u(e,t){s(o,e,t)}u.preMessage=e=>{i.push(e)},u.resetWarned=function(){r={}},u.noteOnce=function(e,t){s(a,e,t)}},10950:(e,t,n)=>{"use strict";n.d(t,{G_:()=>o});var r=n(1936);const i=(0,r.createContext)(null);function o({clientId:e,nonce:t,onScriptLoadSuccess:n,onScriptLoadError:o,children:a}){const s=function(e={}){const{nonce:t,onScriptLoadSuccess:n,onScriptLoadError:i}=e,[o,a]=(0,r.useState)(!1),s=(0,r.useRef)(n);s.current=n;const u=(0,r.useRef)(i);return u.current=i,(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;a(!0),null===(e=s.current)||void 0===e||e.call(s)},e.onerror=()=>{var e;a(!1),null===(e=u.current)||void 0===e||e.call(u)},document.body.appendChild(e),()=>{document.body.removeChild(e)}},[t]),o}({nonce:t,onScriptLoadSuccess:n,onScriptLoadError:o}),u=(0,r.useMemo)(()=>({clientId:e,scriptLoadedSuccessfully:s}),[e,s]);return r.createElement(i.Provider,{value:u},a)}},94104:(e,t,n)=>{"use strict";n.d(t,{xP:()=>R});var r=n(53366),i=n(35157),o=n(1936),a=n(69962),s=n(65913),u=(n(54650),function(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e}),c=Object.defineProperty,l=Object.defineProperties,f=Object.getOwnPropertyDescriptors,d=Object.getOwnPropertySymbols,h=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,m=function(e,t,n){return t in e?c(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n},g=function(e,t){for(var n in t||(t={}))h.call(t,n)&&m(e,n,t[n]);if(d)for(var r=0,i=d(t);r<i.length;r++){n=i[r];p.call(t,n)&&m(e,n,t[n])}return e},y=function(e,t){return l(e,f(t))};function v(e,t,n,r){var i=(0,o.useMemo)(function(){return{queryArgs:e,serialized:"object"==typeof e?t({queryArgs:e,endpointDefinition:n,endpointName:r}):e}},[e,t,n,r]),a=(0,o.useRef)(i);return(0,o.useEffect)(function(){a.current.serialized!==i.serialized&&(a.current=i)},[i]),a.current.serialized===i.serialized?a.current.queryArgs:e}var b=Symbol();function w(e){var t=(0,o.useRef)(e);return(0,o.useEffect)(function(){(0,a.bN)(t.current,e)||(t.current=e)},[e]),(0,a.bN)(t.current,e)?t.current:e}var _,S,k=WeakMap?new WeakMap:void 0,C=function(e){var t=e.endpointName,n=e.queryArgs,r="",i=null==k?void 0:k.get(n);if("string"===typeof i)r=i;else{var o=JSON.stringify(n,function(e,t){return(0,s.isPlainObject)(t)?Object.keys(t).sort().reduce(function(e,n){return e[n]=t[n],e},{}):t});(0,s.isPlainObject)(n)&&(null==k||k.set(n,o)),r=o}return t+"("+r+")"},E="undefined"!==typeof window&&window.document&&window.document.createElement?o.useLayoutEffect:o.useEffect,x=function(e){return e},T=function(e){return e.isUninitialized?y(g({},e),{isUninitialized:!1,isFetching:!0,isLoading:void 0===e.data,status:r.RE.pending}):e};function O(e){return e.replace(e[0],e[0].toUpperCase())}function A(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];Object.assign.apply(Object,u([e],t))}(S=_||(_={})).query="query",S.mutation="mutation";var I=Symbol();var R=(0,r.l0)((0,r.m7)(),function(e){var t=void 0===e?{}:e,n=t.batch,s=void 0===n?a.vA:n,u=t.useDispatch,c=void 0===u?a.wA:u,l=t.useSelector,f=void 0===l?a.d4:l,d=t.useStore,h=void 0===d?a.Pj:d,p=t.unstable__sideEffectsInRender,m=void 0!==p&&p;return{name:I,init:function(e,t,n){var u=t.serializeQueryArgs,l=e,d=function(e){var t=e.api,n=e.moduleOptions,s=n.batch,u=n.useDispatch,c=n.useSelector,l=n.useStore,f=n.unstable__sideEffectsInRender,d=e.serializeQueryArgs,h=e.context,p=f?function(e){return e()}:o.useEffect;return{buildQueryHooks:function(e){var n=function(n,i){var a=void 0===i?{}:i,s=a.refetchOnReconnect,c=a.refetchOnFocus,l=a.refetchOnMountOrArgChange,f=a.skip,d=void 0!==f&&f,m=a.pollingInterval,g=void 0===m?0:m,y=t.endpoints[e].initiate,b=u(),_=v(d?r.hT:n,C,h.endpointDefinitions[e],e),S=w({refetchOnReconnect:s,refetchOnFocus:c,pollingInterval:g}),k=(0,o.useRef)(!1),E=(0,o.useRef)(),x=E.current||{},T=x.queryCacheKey,O=x.requestId,A=!1;if(T&&O){var I=b(t.internalActions.internal_probeSubscription({queryCacheKey:T,requestId:O}));A=!!I}var R=!A&&k.current;return p(function(){k.current=A}),p(function(){R&&(E.current=void 0)},[R]),p(function(){var e,t=E.current;if(_===r.hT)return null==t||t.unsubscribe(),void(E.current=void 0);var n=null==(e=E.current)?void 0:e.subscriptionOptions;if(t&&t.arg===_)S!==n&&t.updateSubscriptionOptions(S);else{null==t||t.unsubscribe();var i=b(y(_,{subscriptionOptions:S,forceRefetch:l}));E.current=i}},[b,y,l,_,S,R]),(0,o.useEffect)(function(){return function(){var e;null==(e=E.current)||e.unsubscribe(),E.current=void 0}},[]),(0,o.useMemo)(function(){return{refetch:function(){var e;if(!E.current)throw new Error("Cannot refetch a query that has not been started yet.");return null==(e=E.current)?void 0:e.refetch()}}},[])},f=function(n){var r=void 0===n?{}:n,i=r.refetchOnReconnect,a=r.refetchOnFocus,c=r.pollingInterval,l=void 0===c?0:c,f=t.endpoints[e].initiate,d=u(),h=(0,o.useState)(b),m=h[0],g=h[1],y=(0,o.useRef)(),v=w({refetchOnReconnect:i,refetchOnFocus:a,pollingInterval:l});p(function(){var e,t,n=null==(e=y.current)?void 0:e.subscriptionOptions;v!==n&&(null==(t=y.current)||t.updateSubscriptionOptions(v))},[v]);var _=(0,o.useRef)(v);p(function(){_.current=v},[v]);var S=(0,o.useCallback)(function(e,t){var n;return void 0===t&&(t=!1),s(function(){var r;null==(r=y.current)||r.unsubscribe(),y.current=n=d(f(e,{subscriptionOptions:_.current,forceRefetch:!t})),g(e)}),n},[d,f]);return(0,o.useEffect)(function(){return function(){var e;null==(e=null==y?void 0:y.current)||e.unsubscribe()}},[]),(0,o.useEffect)(function(){m===b||y.current||S(m,!0)},[m,S]),(0,o.useMemo)(function(){return[S,m]},[S,m])},_=function(n,s){var u=void 0===s?{}:s,f=u.skip,p=void 0!==f&&f,g=u.selectFromResult,y=t.endpoints[e].select,b=v(p?r.hT:n,d,h.endpointDefinitions[e],e),w=(0,o.useRef)(),_=(0,o.useMemo)(function(){return(0,i.createSelector)([y(b),function(e,t){return t},function(e){return b}],m)},[y,b]),S=(0,o.useMemo)(function(){return g?(0,i.createSelector)([_],g):_},[_,g]),k=c(function(e){return S(e,w.current)},a.bN),C=l(),x=_(C.getState(),w.current);return E(function(){w.current=x},[x]),k};return{useQueryState:_,useQuerySubscription:n,useLazyQuerySubscription:f,useLazyQuery:function(e){var t=f(e),n=t[0],r=t[1],i=_(r,y(g({},e),{skip:r===b})),a=(0,o.useMemo)(function(){return{lastArg:r}},[r]);return(0,o.useMemo)(function(){return[n,i,a]},[n,i,a])},useQuery:function(e,t){var i=n(e,t),a=_(e,g({selectFromResult:e===r.hT||(null==t?void 0:t.skip)?void 0:T},t)),s=a.data,u=a.status,c=a.isLoading,l=a.isSuccess,f=a.isError,d=a.error;return(0,o.useDebugValue)({data:s,status:u,isLoading:c,isSuccess:l,isError:f,error:d}),(0,o.useMemo)(function(){return g(g({},a),i)},[a,i])}}},buildMutationHook:function(e){return function(n){var r=void 0===n?{}:n,l=r.selectFromResult,f=void 0===l?x:l,d=r.fixedCacheKey,h=t.endpoints[e],p=h.select,m=h.initiate,v=u(),b=(0,o.useState)(),w=b[0],_=b[1];(0,o.useEffect)(function(){return function(){(null==w?void 0:w.arg.fixedCacheKey)||null==w||w.reset()}},[w]);var S=(0,o.useCallback)(function(e){var t=v(m(e,{fixedCacheKey:d}));return _(t),t},[v,m,d]),k=(w||{}).requestId,C=(0,o.useMemo)(function(){return(0,i.createSelector)([p({fixedCacheKey:d,requestId:null==w?void 0:w.requestId})],f)},[p,w,f,d]),E=c(C,a.bN),T=null==d?null==w?void 0:w.arg.originalArgs:void 0,O=(0,o.useCallback)(function(){s(function(){w&&_(void 0),d&&v(t.internalActions.removeMutationResult({requestId:k,fixedCacheKey:d}))})},[v,d,w,k]),A=E.endpointName,I=E.data,R=E.status,P=E.isLoading,D=E.isSuccess,z=E.isError,M=E.error;(0,o.useDebugValue)({endpointName:A,data:I,status:R,isLoading:P,isSuccess:D,isError:z,error:M});var N=(0,o.useMemo)(function(){return y(g({},E),{originalArgs:T,reset:O})},[E,T,O]);return(0,o.useMemo)(function(){return[S,N]},[S,N])}},usePrefetch:function(e,n){var r=u(),i=w(n);return(0,o.useCallback)(function(n,o){return r(t.util.prefetch(e,n,g(g({},i),o)))},[e,r,i])}};function m(e,t,n){if((null==t?void 0:t.endpointName)&&e.isUninitialized){var r=t.endpointName,i=h.endpointDefinitions[r];d({queryArgs:t.originalArgs,endpointDefinition:i,endpointName:r})===d({queryArgs:n,endpointDefinition:i,endpointName:r})&&(t=void 0)}var o=e.isSuccess?e.data:null==t?void 0:t.data;void 0===o&&(o=e.data);var a=void 0!==o,s=e.isLoading,u=!a&&s,c=e.isSuccess||s&&a;return y(g({},e),{data:o,currentData:e.data,isFetching:s,isLoading:u,isSuccess:c})}}({api:e,moduleOptions:{batch:s,useDispatch:c,useSelector:f,useStore:h,unstable__sideEffectsInRender:m},serializeQueryArgs:u,context:n}),p=d.buildQueryHooks,S=d.buildMutationHook,k=d.usePrefetch;return A(l,{usePrefetch:k}),A(n,{batch:s}),{injectEndpoint:function(t,n){if(n.type===_.query){var r=p(t),i=r.useQuery,o=r.useLazyQuery,a=r.useLazyQuerySubscription,s=r.useQueryState,u=r.useQuerySubscription;A(l.endpoints[t],{useQuery:i,useLazyQuery:o,useLazyQuerySubscription:a,useQueryState:s,useQuerySubscription:u}),e["use"+O(t)+"Query"]=i,e["useLazy"+O(t)+"Query"]=o}else if(function(e){return e.type===_.mutation}(n)){var c=S(t);A(l.endpoints[t],{useMutation:c}),e["use"+O(t)+"Mutation"]=c}}}}}}())},51260:function(e,t,n){var r,i,o=this&&this.__generator||function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},a=this&&this.__spreadArray||function(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e},s=Object.create,u=Object.defineProperty,c=Object.defineProperties,l=Object.getOwnPropertyDescriptor,f=Object.getOwnPropertyDescriptors,d=Object.getOwnPropertyNames,h=Object.getOwnPropertySymbols,p=Object.getPrototypeOf,m=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable,y=function(e,t,n){return t in e?u(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n},v=function(e,t){for(var n in t||(t={}))m.call(t,n)&&y(e,n,t[n]);if(h)for(var r=0,i=h(t);r<i.length;r++)g.call(t,n=i[r])&&y(e,n,t[n]);return e},b=function(e,t){return c(e,f(t))},w=function(e){return u(e,"__esModule",{value:!0})},_=function(e,t){var n={};for(var r in e)m.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&h)for(var i=0,o=h(e);i<o.length;i++)t.indexOf(r=o[i])<0&&g.call(e,r)&&(n[r]=e[r]);return n},S=function(e){return function(e,t,n){if(t&&"object"==typeof t||"function"==typeof t)for(var r=function(r){m.call(e,r)||"default"===r||u(e,r,{get:function(){return t[r]},enumerable:!(n=l(t,r))||n.enumerable})},i=0,o=d(t);i<o.length;i++)r(o[i]);return e}(w(u(null!=e?s(p(e)):{},"default",e&&e.__esModule&&"default"in e?{get:function(){return e.default},enumerable:!0}:{value:e,enumerable:!0})),e)},k=function(e,t,n){return new Promise(function(r,i){var o=function(e){try{s(n.next(e))}catch(e){i(e)}},a=function(e){try{s(n.throw(e))}catch(e){i(e)}},s=function(e){return e.done?r(e.value):Promise.resolve(e.value).then(o,a)};s((n=n.apply(e,t)).next())})};w(t),function(e,t){for(var n in t)u(e,n,{get:t[n],enumerable:!0})}(t,{QueryStatus:function(){return r},buildCreateApi:function(){return _e},copyWithStructuralSharing:function(){return x},coreModule:function(){return Be},coreModuleName:function(){return Fe},createApi:function(){return Ue},defaultSerializeQueryArgs:function(){return ve},fakeBaseQuery:function(){return Se},fetchBaseQuery:function(){return P},retry:function(){return N},setupListeners:function(){return $},skipSelector:function(){return de},skipToken:function(){return fe}}),(i=r||(r={})).uninitialized="uninitialized",i.pending="pending",i.fulfilled="fulfilled",i.rejected="rejected";var C=function(e){return[].concat.apply([],e)},E=S(n(65913)).isPlainObject;function x(e,t){if(e===t||!(E(e)&&E(t)||Array.isArray(e)&&Array.isArray(t)))return t;for(var n=Object.keys(t),r=Object.keys(e),i=n.length===r.length,o=Array.isArray(t)?[]:{},a=0,s=n;a<s.length;a++){var u=s[a];o[u]=x(e[u],t[u]),i&&(i=e[u]===o[u])}return i?e:o}var T=S(n(65913)),O=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return fetch.apply(void 0,e)},A=function(e){return e.status>=200&&e.status<=299},I=function(e){return/ion\/(vnd\.api\+)?json/.test(e.get("content-type")||"")};function R(e){if(!(0,T.isPlainObject)(e))return e;for(var t=v({},e),n=0,r=Object.entries(t);n<r.length;n++){var i=r[n];void 0===i[1]&&delete t[i[0]]}return t}function P(e){var t=this;void 0===e&&(e={});var n=e.baseUrl,r=e.prepareHeaders,i=void 0===r?function(e){return e}:r,a=e.fetchFn,s=void 0===a?O:a,u=e.paramsSerializer,c=e.isJsonContentType,l=void 0===c?I:c,f=e.jsonContentType,d=void 0===f?"application/json":f,h=e.jsonReplacer,p=e.timeout,m=e.responseHandler,g=e.validateStatus,y=_(e,["baseUrl","prepareHeaders","fetchFn","paramsSerializer","isJsonContentType","jsonContentType","jsonReplacer","timeout","responseHandler","validateStatus"]);return function(e,r){return k(t,null,function(){var t,a,c,f,S,k,C,E,x,O,I,P,D,z,M,N,j,L,F,B,U,q,$,W,H,K,Q,Y,V,J,G,Z,X,ee,te,ne;return o(this,function(o){switch(o.label){case 0:return t=r.signal,a=r.getState,c=r.extra,f=r.endpoint,S=r.forced,k=r.type,x=(E="string"==typeof e?{url:e}:e).url,I=void 0===(O=E.headers)?new Headers(y.headers):O,D=void 0===(P=E.params)?void 0:P,M=void 0===(z=E.responseHandler)?null!=m?m:"json":z,j=void 0===(N=E.validateStatus)?null!=g?g:A:N,F=void 0===(L=E.timeout)?p:L,B=_(E,["url","headers","params","responseHandler","validateStatus","timeout"]),U=v(b(v({},y),{signal:t}),B),I=new Headers(R(I)),q=U,[4,i(I,{getState:a,extra:c,endpoint:f,forced:S,type:k})];case 1:q.headers=o.sent()||I,$=function(e){return"object"==typeof e&&((0,T.isPlainObject)(e)||Array.isArray(e)||"function"==typeof e.toJSON)},!U.headers.has("content-type")&&$(U.body)&&U.headers.set("content-type",d),$(U.body)&&l(U.headers)&&(U.body=JSON.stringify(U.body,h)),D&&(W=~x.indexOf("?")?"&":"?",H=u?u(D):new URLSearchParams(R(D)),x+=W+H),x=function(e,t){if(!e)return t;if(!t)return e;if(function(e){return new RegExp("(^|:)//").test(e)}(t))return t;var n=e.endsWith("/")||!t.startsWith("?")?"/":"";return""+(e=function(e){return e.replace(/\/$/,"")}(e))+n+function(e){return e.replace(/^\//,"")}(t)}(n,x),K=new Request(x,U),Q=new Request(x,U),C={request:Q},V=!1,J=F&&setTimeout(function(){V=!0,r.abort()},F),o.label=2;case 2:return o.trys.push([2,4,5,6]),[4,s(K)];case 3:return Y=o.sent(),[3,6];case 4:return G=o.sent(),[2,{error:{status:V?"TIMEOUT_ERROR":"FETCH_ERROR",error:String(G)},meta:C}];case 5:return J&&clearTimeout(J),[7];case 6:Z=Y.clone(),C.response=Z,ee="",o.label=7;case 7:return o.trys.push([7,9,,10]),[4,Promise.all([w(Y,M).then(function(e){return X=e},function(e){return te=e}),Z.text().then(function(e){return ee=e},function(){})])];case 8:if(o.sent(),te)throw te;return[3,10];case 9:return ne=o.sent(),[2,{error:{status:"PARSING_ERROR",originalStatus:Y.status,data:ee,error:String(ne)},meta:C}];case 10:return[2,j(Y,X)?{data:X,meta:C}:{error:{status:Y.status,data:X},meta:C}]}})})};function w(e,t){return k(this,null,function(){var n;return o(this,function(r){switch(r.label){case 0:return"function"==typeof t?[2,t(e)]:("content-type"===t&&(t=l(e.headers)?"json":"text"),"json"!==t?[3,2]:[4,e.text()]);case 1:return[2,(n=r.sent()).length?JSON.parse(n):null];case 2:return[2,e.text()]}})})}}var D=function(e,t){void 0===t&&(t=void 0),this.value=e,this.meta=t};function z(e,t){return void 0===e&&(e=0),void 0===t&&(t=5),k(this,null,function(){var n,r;return o(this,function(i){switch(i.label){case 0:return n=Math.min(e,t),r=~~((Math.random()+.4)*(300<<n)),[4,new Promise(function(e){return setTimeout(function(t){return e(t)},r)})];case 1:return i.sent(),[2]}})})}var M={},N=Object.assign(function(e,t){return function(n,r,i){return k(void 0,null,function(){var a,s,u,c,l,f,d;return o(this,function(o){switch(o.label){case 0:a=[5,(t||M).maxRetries,(i||M).maxRetries].filter(function(e){return void 0!==e}),s=a.slice(-1)[0],u=function(e,t,n){return n.attempt<=s},c=v(v({maxRetries:s,backoff:z,retryCondition:u},t),i),l=0,o.label=1;case 1:o.label=2;case 2:return o.trys.push([2,4,,6]),[4,e(n,r,i)];case 3:if((f=o.sent()).error)throw new D(f);return[2,f];case 4:if(d=o.sent(),l++,d.throwImmediately){if(d instanceof D)return[2,d.value];throw d}return d instanceof D&&!c.retryCondition(d.value.error,n,{attempt:l,baseQueryApi:r,extraOptions:i})?[2,d.value]:[4,c.backoff(l,c.maxRetries)];case 5:return o.sent(),[3,6];case 6:return[3,1];case 7:return[2]}})})}},{fail:function(e){throw Object.assign(new D({error:e}),{throwImmediately:!0})}}),j=S(n(65913)),L=(0,j.createAction)("__rtkq/focused"),F=(0,j.createAction)("__rtkq/unfocused"),B=(0,j.createAction)("__rtkq/online"),U=(0,j.createAction)("__rtkq/offline"),q=!1;function $(e,t){return t?t(e,{onFocus:L,onFocusLost:F,onOffline:U,onOnline:B}):(n=function(){return e(L())},r=function(){return e(B())},i=function(){return e(U())},o=function(){"visible"===window.document.visibilityState?n():e(F())},q||"undefined"!=typeof window&&window.addEventListener&&(window.addEventListener("visibilitychange",o,!1),window.addEventListener("focus",n,!1),window.addEventListener("online",r,!1),window.addEventListener("offline",i,!1),q=!0),function(){window.removeEventListener("focus",n),window.removeEventListener("visibilitychange",o),window.removeEventListener("online",r),window.removeEventListener("offline",i),q=!1});var n,r,i,o}var W,H,K=S(n(65913));function Q(e){return e.type===W.query}function Y(e,t,n,r,i,o){return"function"==typeof e?e(t,n,r,i).map(V).map(o):Array.isArray(e)?e.map(V).map(o):[]}function V(e){return"string"==typeof e?{type:e}:e}(H=W||(W={})).query="query",H.mutation="mutation";var J=S(n(65913));function G(e){return null!=e}var Z=Symbol("forceQueryFn"),X=function(e){return"function"==typeof e[Z]},ee=S(n(65913)),te=S(n(67606)),ne=S(n(65913));function re(e){return e}function ie(e,t,n,r){return Y(n[e.meta.arg.endpointName][t],(0,ee.isFulfilled)(e)?e.payload:void 0,(0,ee.isRejectedWithValue)(e)?e.payload:void 0,e.meta.arg.originalArgs,"baseQueryMeta"in e.meta?e.meta.baseQueryMeta:void 0,r)}var oe=S(n(67606)),ae=S(n(67606));function se(e,t,n){var r=e[t];r&&n(r)}function ue(e){var t;return null!=(t="arg"in e?e.arg.fixedCacheKey:e.fixedCacheKey)?t:e.requestId}function ce(e,t,n){var r=e[ue(t)];r&&n(r)}var le={},fe=Symbol.for("RTKQ/skipToken"),de=fe,he={status:r.uninitialized},pe=(0,K.createNextState)(he,function(){}),me=(0,K.createNextState)(he,function(){}),ge=S(n(65913)),ye=WeakMap?new WeakMap:void 0,ve=function(e){var t=e.endpointName,n=e.queryArgs,r="",i=null==ye?void 0:ye.get(n);if("string"==typeof i)r=i;else{var o=JSON.stringify(n,function(e,t){return(0,ge.isPlainObject)(t)?Object.keys(t).sort().reduce(function(e,n){return e[n]=t[n],e},{}):t});(0,ge.isPlainObject)(n)&&(null==ye||ye.set(n,o)),r=o}return t+"("+r+")"},be=S(n(65913)),we=S(n(35157));function _e(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){var n=(0,we.defaultMemoize)(function(e){var n,r;return null==(r=t.extractRehydrationInfo)?void 0:r.call(t,e,{reducerPath:null!=(n=t.reducerPath)?n:"api"})}),r=b(v({reducerPath:"api",keepUnusedDataFor:60,refetchOnMountOrArgChange:!1,refetchOnFocus:!1,refetchOnReconnect:!1},t),{extractRehydrationInfo:n,serializeQueryArgs:function(e){var n=ve;if("serializeQueryArgs"in e.endpointDefinition){var r=e.endpointDefinition.serializeQueryArgs;n=function(e){var t=r(e);return"string"==typeof t?t:ve(b(v({},e),{queryArgs:t}))}}else t.serializeQueryArgs&&(n=t.serializeQueryArgs);return n(e)},tagTypes:a([],t.tagTypes||[])}),i={endpointDefinitions:{},batch:function(e){e()},apiUid:(0,be.nanoid)(),extractRehydrationInfo:n,hasRehydrationInfo:(0,we.defaultMemoize)(function(e){return null!=n(e)})},o={injectEndpoints:function(e){for(var t=e.endpoints({query:function(e){return b(v({},e),{type:W.query})},mutation:function(e){return b(v({},e),{type:W.mutation})}}),n=0,r=Object.entries(t);n<r.length;n++){var a=r[n],u=a[0],c=a[1];if(e.overrideExisting||!(u in i.endpointDefinitions)){i.endpointDefinitions[u]=c;for(var l=0,f=s;l<f.length;l++)f[l].injectEndpoint(u,c)}}return o},enhanceEndpoints:function(e){var t=e.addTagTypes,n=e.endpoints;if(t)for(var a=0,s=t;a<s.length;a++){var u=s[a];r.tagTypes.includes(u)||r.tagTypes.push(u)}if(n)for(var c=0,l=Object.entries(n);c<l.length;c++){var f=l[c],d=f[0],h=f[1];"function"==typeof h?h(i.endpointDefinitions[d]):Object.assign(i.endpointDefinitions[d]||{},h)}return o}},s=e.map(function(e){return e.init(o,r,i)});return o.injectEndpoints({endpoints:t.endpoints})}}function Se(){return function(){throw new Error("When using `fakeBaseQuery`, all queries & mutations must use the `queryFn` definition syntax.")}}var ke,Ce=S(n(65913)),Ee=function(e){var t=e.reducerPath,n=e.api,r=e.context,i=e.internalState,o=n.internalActions,a=o.removeQueryResult,s=o.unsubscribeQueryResult;function u(e){var t=i.currentSubscriptions[e];return!!t&&!function(e){for(var t in e)return!1;return!0}(t)}var c={};function l(e,t,n,i){var o,s=r.endpointDefinitions[t],l=null!=(o=null==s?void 0:s.keepUnusedDataFor)?o:i.keepUnusedDataFor;if(1/0!==l){var f=Math.max(0,Math.min(l,2147482.647));if(!u(e)){var d=c[e];d&&clearTimeout(d),c[e]=setTimeout(function(){u(e)||n.dispatch(a({queryCacheKey:e})),delete c[e]},1e3*f)}}}return function(e,i,o){var a;if(s.match(e)){var u=i.getState()[t];l(b=e.payload.queryCacheKey,null==(a=u.queries[b])?void 0:a.endpointName,i,u.config)}if(n.util.resetApiState.match(e))for(var f=0,d=Object.entries(c);f<d.length;f++){var h=d[f],p=h[0],m=h[1];m&&clearTimeout(m),delete c[p]}if(r.hasRehydrationInfo(e)){u=i.getState()[t];for(var g=r.extractRehydrationInfo(e).queries,y=0,v=Object.entries(g);y<v.length;y++){var b,w=v[y],_=w[1];l(b=w[0],null==_?void 0:_.endpointName,i,u.config)}}}},xe=S(n(65913)),Te=function(e){var t=e.reducerPath,n=e.context,i=e.context.endpointDefinitions,o=e.mutationThunk,a=e.api,s=e.assertTagType,u=e.refetchQuery,c=a.internalActions.removeQueryResult,l=(0,xe.isAnyOf)((0,xe.isFulfilled)(o),(0,xe.isRejectedWithValue)(o));function f(e,i){var o=i.getState(),s=o[t],l=a.util.selectInvalidatedBy(o,e);n.batch(function(){for(var e,t=0,n=Array.from(l.values());t<n.length;t++){var o=n[t].queryCacheKey,a=s.queries[o],f=null!=(e=s.subscriptions[o])?e:{};a&&(0===Object.keys(f).length?i.dispatch(c({queryCacheKey:o})):a.status!==r.uninitialized&&i.dispatch(u(a,o)))}})}return function(e,t){l(e)&&f(ie(e,"invalidatesTags",i,s),t),a.util.invalidateTags.match(e)&&f(Y(e.payload,void 0,void 0,void 0,void 0,s),t)}},Oe=function(e){var t=e.reducerPath,n=e.queryThunk,i=e.api,o=e.refetchQuery,a=e.internalState,s={};function u(e,n){var i=e.queryCacheKey,u=n.getState()[t].queries[i];if(u&&u.status!==r.uninitialized){var c=f(a.currentSubscriptions[i]);if(Number.isFinite(c)){var l=s[i];(null==l?void 0:l.timeout)&&(clearTimeout(l.timeout),l.timeout=void 0);var d=Date.now()+c,h=s[i]={nextPollTimestamp:d,pollingInterval:c,timeout:setTimeout(function(){h.timeout=void 0,n.dispatch(o(u,i))},c)}}}}function c(e,n){var i=e.queryCacheKey,o=n.getState()[t].queries[i];if(o&&o.status!==r.uninitialized){var c=f(a.currentSubscriptions[i]);if(Number.isFinite(c)){var d=s[i],h=Date.now()+c;(!d||h<d.nextPollTimestamp)&&u({queryCacheKey:i},n)}else l(i)}}function l(e){var t=s[e];(null==t?void 0:t.timeout)&&clearTimeout(t.timeout),delete s[e]}function f(e){void 0===e&&(e={});var t=Number.POSITIVE_INFINITY;for(var n in e)e[n].pollingInterval&&(t=Math.min(e[n].pollingInterval,t));return t}return function(e,t){(i.internalActions.updateSubscriptionOptions.match(e)||i.internalActions.unsubscribeQueryResult.match(e))&&c(e.payload,t),(n.pending.match(e)||n.rejected.match(e)&&e.meta.condition)&&c(e.meta.arg,t),(n.fulfilled.match(e)||n.rejected.match(e)&&!e.meta.condition)&&u(e.meta.arg,t),i.util.resetApiState.match(e)&&function(){for(var e=0,t=Object.keys(s);e<t.length;e++)l(t[e])}()}},Ae=S(n(65913)),Ie=new Error("Promise never resolved before cacheEntryRemoved."),Re=function(e){var t=e.api,n=e.reducerPath,r=e.context,i=e.queryThunk,o=e.mutationThunk,a=(0,Ae.isAsyncThunkAction)(i),s=(0,Ae.isAsyncThunkAction)(o),u=(0,Ae.isFulfilled)(i,o),c={};function l(e,n,i,o,a){var s=r.endpointDefinitions[e],u=null==s?void 0:s.onCacheEntryAdded;if(u){var l={},f=new Promise(function(e){l.cacheEntryRemoved=e}),d=Promise.race([new Promise(function(e){l.valueResolved=e}),f.then(function(){throw Ie})]);d.catch(function(){}),c[i]=l;var h=t.endpoints[e].select(s.type===W.query?n:i),p=o.dispatch(function(e,t,n){return n}),m=b(v({},o),{getCacheEntry:function(){return h(o.getState())},requestId:a,extra:p,updateCachedData:s.type===W.query?function(r){return o.dispatch(t.util.updateQueryData(e,n,r))}:void 0,cacheDataLoaded:d,cacheEntryRemoved:f}),g=u(n,m);Promise.resolve(g).catch(function(e){if(e!==Ie)throw e})}}return function(e,r,f){var d=function(e){return a(e)?e.meta.arg.queryCacheKey:s(e)?e.meta.requestId:t.internalActions.removeQueryResult.match(e)?e.payload.queryCacheKey:t.internalActions.removeMutationResult.match(e)?ue(e.payload):""}(e);if(i.pending.match(e)){var h=f[n].queries[d],p=r.getState()[n].queries[d];!h&&p&&l(e.meta.arg.endpointName,e.meta.arg.originalArgs,d,r,e.meta.requestId)}else if(o.pending.match(e))(p=r.getState()[n].mutations[d])&&l(e.meta.arg.endpointName,e.meta.arg.originalArgs,d,r,e.meta.requestId);else if(u(e))(null==(v=c[d])?void 0:v.valueResolved)&&(v.valueResolved({data:e.payload,meta:e.meta.baseQueryMeta}),delete v.valueResolved);else if(t.internalActions.removeQueryResult.match(e)||t.internalActions.removeMutationResult.match(e))(v=c[d])&&(delete c[d],v.cacheEntryRemoved());else if(t.util.resetApiState.match(e))for(var m=0,g=Object.entries(c);m<g.length;m++){var y=g[m],v=y[1];delete c[y[0]],v.cacheEntryRemoved()}}},Pe=S(n(65913)),De=function(e){var t=e.api,n=e.context,r=e.queryThunk,i=e.mutationThunk,o=(0,Pe.isPending)(r,i),a=(0,Pe.isRejected)(r,i),s=(0,Pe.isFulfilled)(r,i),u={};return function(e,r){var i,c,l;if(o(e)){var f=e.meta,d=f.requestId,h=f.arg,p=h.endpointName,m=h.originalArgs,g=n.endpointDefinitions[p],y=null==g?void 0:g.onQueryStarted;if(y){var w={},_=new Promise(function(e,t){w.resolve=e,w.reject=t});_.catch(function(){}),u[d]=w;var S=t.endpoints[p].select(g.type===W.query?m:d),k=r.dispatch(function(e,t,n){return n}),C=b(v({},r),{getCacheEntry:function(){return S(r.getState())},requestId:d,extra:k,updateCachedData:g.type===W.query?function(e){return r.dispatch(t.util.updateQueryData(p,m,e))}:void 0,queryFulfilled:_});y(m,C)}}else if(s(e)){var E=e.meta,x=E.baseQueryMeta;null==(i=u[d=E.requestId])||i.resolve({data:e.payload,meta:x}),delete u[d]}else if(a(e)){var T=e.meta;x=T.baseQueryMeta,null==(l=u[d=T.requestId])||l.reject({error:null!=(c=e.payload)?c:e.error,isUnhandledError:!T.rejectedWithValue,meta:x}),delete u[d]}}},ze=function(e){var t=e.api,n=e.context.apiUid;return function(e,r){t.util.resetApiState.match(e)&&r.dispatch(t.internalActions.middlewareRegistered(n))}},Me=S(n(67606)),Ne="function"==typeof queueMicrotask?queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof n.g?n.g:globalThis):function(e){return(ke||(ke=Promise.resolve())).then(e).catch(function(e){return setTimeout(function(){throw e},0)})};function je(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];Object.assign.apply(Object,a([e],t))}var Le=S(n(67606)),Fe=Symbol(),Be=function(){return{name:Fe,init:function(e,t,n){var i=t.baseQuery,s=t.reducerPath,u=t.serializeQueryArgs,c=t.keepUnusedDataFor,l=t.refetchOnMountOrArgChange,f=t.refetchOnFocus,d=t.refetchOnReconnect;(0,Le.enablePatches)();var h=function(e){return e};Object.assign(e,{reducerPath:s,endpoints:{},internalActions:{onOnline:B,onOffline:U,onFocus:L,onFocusLost:F},util:{}});var p=function(e){var t=this,n=e.reducerPath,i=e.baseQuery,a=e.context.endpointDefinitions,s=e.serializeQueryArgs,u=e.api,c=e.assertTagType,l=function(e,n){return k(t,[e,n],function(e,t){var n,r,s,u,c,l,d,h,p,m,g,y,v,b=t.signal,w=t.abort,_=t.rejectWithValue,S=t.fulfillWithValue,k=t.dispatch,C=t.getState,E=t.extra;return o(this,function(t){switch(t.label){case 0:n=a[e.endpointName],t.label=1;case 1:return t.trys.push([1,8,,13]),r=re,s=void 0,u={signal:b,abort:w,dispatch:k,getState:C,extra:E,endpoint:e.endpointName,type:e.type,forced:"query"===e.type?f(e,C()):void 0},(c="query"===e.type?e[Z]:void 0)?(s=c(),[3,6]):[3,2];case 2:return n.query?[4,i(n.query(e.originalArgs),u,n.extraOptions)]:[3,4];case 3:return s=t.sent(),n.transformResponse&&(r=n.transformResponse),[3,6];case 4:return[4,n.queryFn(e.originalArgs,u,n.extraOptions,function(e){return i(e,u,n.extraOptions)})];case 5:s=t.sent(),t.label=6;case 6:if(s.error)throw new D(s.error,s.meta);return l=S,[4,r(s.data,s.meta,e.originalArgs)];case 7:return[2,l.apply(void 0,[t.sent(),(y={fulfilledTimeStamp:Date.now(),baseQueryMeta:s.meta},y[ne.SHOULD_AUTOBATCH]=!0,y)])];case 8:if(d=t.sent(),!((h=d)instanceof D))return[3,12];p=re,n.query&&n.transformErrorResponse&&(p=n.transformErrorResponse),t.label=9;case 9:return t.trys.push([9,11,,12]),m=_,[4,p(h.value,h.meta,e.originalArgs)];case 10:return[2,m.apply(void 0,[t.sent(),(v={baseQueryMeta:h.meta},v[ne.SHOULD_AUTOBATCH]=!0,v)])];case 11:return g=t.sent(),h=g,[3,12];case 12:throw h;case 13:return[2]}})})};function f(e,t){var r,i,o,a,s=null==(i=null==(r=t[n])?void 0:r.queries)?void 0:i[e.queryCacheKey],u=null==(o=t[n])?void 0:o.config.refetchOnMountOrArgChange,c=null==s?void 0:s.fulfilledTimeStamp,l=null!=(a=e.forceRefetch)?a:e.subscribe&&u;return!!l&&(!0===l||(Number(new Date)-Number(c))/1e3>=l)}var d=(0,ne.createAsyncThunk)(n+"/executeQuery",l,{getPendingMeta:function(){var e;return(e={startedTimeStamp:Date.now()})[ne.SHOULD_AUTOBATCH]=!0,e},condition:function(e,t){var r,i,o,s=(0,t.getState)(),u=null==(i=null==(r=s[n])?void 0:r.queries)?void 0:i[e.queryCacheKey],c=null==u?void 0:u.fulfilledTimeStamp,l=e.originalArgs,d=null==u?void 0:u.originalArgs,h=a[e.endpointName];return!(!X(e)&&("pending"===(null==u?void 0:u.status)||!f(e,s)&&(!Q(h)||!(null==(o=null==h?void 0:h.forceRefetch)?void 0:o.call(h,{currentArg:l,previousArg:d,endpointState:u,state:s})))&&c))},dispatchConditionRejection:!0}),h=(0,ne.createAsyncThunk)(n+"/executeMutation",l,{getPendingMeta:function(){var e;return(e={startedTimeStamp:Date.now()})[ne.SHOULD_AUTOBATCH]=!0,e}});function p(e){return function(t){var n,r;return(null==(r=null==(n=null==t?void 0:t.meta)?void 0:n.arg)?void 0:r.endpointName)===e}}return{queryThunk:d,mutationThunk:h,prefetch:function(e,t,n){return function(r,i){var o=function(e){return"force"in e}(n)&&n.force,a=function(e){return"ifOlderThan"in e}(n)&&n.ifOlderThan,s=function(n){return void 0===n&&(n=!0),u.endpoints[e].initiate(t,{forceRefetch:n})},c=u.endpoints[e].select(t)(i());if(o)r(s());else if(a){var l=null==c?void 0:c.fulfilledTimeStamp;if(!l)return void r(s());(Number(new Date)-Number(new Date(l)))/1e3>=a&&r(s())}else r(s(!1))}},updateQueryData:function(e,t,n,i){return void 0===i&&(i=!0),function(o,a){var s,c,l,f=u.endpoints[e].select(t)(a()),d={patches:[],inversePatches:[],undo:function(){return o(u.util.patchQueryData(e,t,d.inversePatches,i))}};if(f.status===r.uninitialized)return d;if("data"in f)if((0,te.isDraftable)(f.data)){var h=(0,te.produceWithPatches)(f.data,n),p=h[0],m=h[2];(s=d.patches).push.apply(s,h[1]),(c=d.inversePatches).push.apply(c,m),l=p}else l=n(f.data),d.patches.push({op:"replace",path:[],value:l}),d.inversePatches.push({op:"replace",path:[],value:f.data});return o(u.util.patchQueryData(e,t,d.patches,i)),d}},upsertQueryData:function(e,t,n){return function(r){var i;return r(u.endpoints[e].initiate(t,((i={subscribe:!1,forceRefetch:!0})[Z]=function(){return{data:n}},i)))}},patchQueryData:function(e,t,n,r){return function(i,o){var l=a[e],f=s({queryArgs:t,endpointDefinition:l,endpointName:e});if(i(u.internalActions.queryResultPatched({queryCacheKey:f,patches:n})),r){var d=u.endpoints[e].select(t)(o()),h=Y(l.providesTags,d.data,void 0,t,{},c);i(u.internalActions.updateProvidedBy({queryCacheKey:f,providedTags:h}))}}},buildMatchThunkActions:function(e,t){return{matchPending:(0,ee.isAllOf)((0,ee.isPending)(e),p(t)),matchFulfilled:(0,ee.isAllOf)((0,ee.isFulfilled)(e),p(t)),matchRejected:(0,ee.isAllOf)((0,ee.isRejected)(e),p(t))}}}}({baseQuery:i,reducerPath:s,context:n,api:e,serializeQueryArgs:u,assertTagType:h}),m=p.queryThunk,g=p.mutationThunk,y=p.patchQueryData,w=p.updateQueryData,_=p.upsertQueryData,S=p.prefetch,E=p.buildMatchThunkActions,T=function(e){var t=e.reducerPath,n=e.queryThunk,i=e.mutationThunk,o=e.context,a=o.endpointDefinitions,s=o.apiUid,u=o.extractRehydrationInfo,c=o.hasRehydrationInfo,l=e.assertTagType,f=e.config,d=(0,J.createAction)(t+"/resetApiState"),h=(0,J.createSlice)({name:t+"/queries",initialState:le,reducers:{removeQueryResult:{reducer:function(e,t){delete e[t.payload.queryCacheKey]},prepare:(0,J.prepareAutoBatched)()},queryResultPatched:{reducer:function(e,t){var n=t.payload,r=n.patches;se(e,n.queryCacheKey,function(e){e.data=(0,ae.applyPatches)(e.data,r.concat())})},prepare:(0,J.prepareAutoBatched)()}},extraReducers:function(e){e.addCase(n.pending,function(e,t){var n,i=t.meta,o=t.meta.arg,a=X(o);(o.subscribe||a)&&(null!=e[n=o.queryCacheKey]||(e[n]={status:r.uninitialized,endpointName:o.endpointName})),se(e,o.queryCacheKey,function(e){e.status=r.pending,e.requestId=a&&e.requestId?e.requestId:i.requestId,void 0!==o.originalArgs&&(e.originalArgs=o.originalArgs),e.startedTimeStamp=i.startedTimeStamp})}).addCase(n.fulfilled,function(e,t){var n=t.meta,i=t.payload;se(e,n.arg.queryCacheKey,function(e){var t;if(e.requestId===n.requestId||X(n.arg)){var o=a[n.arg.endpointName].merge;if(e.status=r.fulfilled,o)if(void 0!==e.data){var s=n.fulfilledTimeStamp,u=n.arg,c=n.baseQueryMeta,l=n.requestId,f=(0,J.createNextState)(e.data,function(e){return o(e,i,{arg:u.originalArgs,baseQueryMeta:c,fulfilledTimeStamp:s,requestId:l})});e.data=f}else e.data=i;else e.data=null==(t=a[n.arg.endpointName].structuralSharing)||t?x((0,oe.isDraft)(e.data)?(0,ae.original)(e.data):e.data,i):i;delete e.error,e.fulfilledTimeStamp=n.fulfilledTimeStamp}})}).addCase(n.rejected,function(e,t){var n=t.meta,i=n.condition,o=n.requestId,a=t.error,s=t.payload;se(e,n.arg.queryCacheKey,function(e){if(i);else{if(e.requestId!==o)return;e.status=r.rejected,e.error=null!=s?s:a}})}).addMatcher(c,function(e,t){for(var n=u(t).queries,i=0,o=Object.entries(n);i<o.length;i++){var a=o[i],s=a[1];(null==s?void 0:s.status)!==r.fulfilled&&(null==s?void 0:s.status)!==r.rejected||(e[a[0]]=s)}})}}),p=(0,J.createSlice)({name:t+"/mutations",initialState:le,reducers:{removeMutationResult:{reducer:function(e,t){var n=ue(t.payload);n in e&&delete e[n]},prepare:(0,J.prepareAutoBatched)()}},extraReducers:function(e){e.addCase(i.pending,function(e,t){var n=t.meta,i=n.requestId,o=n.arg,a=n.startedTimeStamp;o.track&&(e[ue(t.meta)]={requestId:i,status:r.pending,endpointName:o.endpointName,startedTimeStamp:a})}).addCase(i.fulfilled,function(e,t){var n=t.payload,i=t.meta;i.arg.track&&ce(e,i,function(e){e.requestId===i.requestId&&(e.status=r.fulfilled,e.data=n,e.fulfilledTimeStamp=i.fulfilledTimeStamp)})}).addCase(i.rejected,function(e,t){var n=t.payload,i=t.error,o=t.meta;o.arg.track&&ce(e,o,function(e){e.requestId===o.requestId&&(e.status=r.rejected,e.error=null!=n?n:i)})}).addMatcher(c,function(e,t){for(var n=u(t).mutations,i=0,o=Object.entries(n);i<o.length;i++){var a=o[i],s=a[0],c=a[1];(null==c?void 0:c.status)!==r.fulfilled&&(null==c?void 0:c.status)!==r.rejected||s===(null==c?void 0:c.requestId)||(e[s]=c)}})}}),m=(0,J.createSlice)({name:t+"/invalidation",initialState:le,reducers:{updateProvidedBy:{reducer:function(e,t){for(var n,r,i,o,a=t.payload,s=a.queryCacheKey,u=a.providedTags,c=0,l=Object.values(e);c<l.length;c++)for(var f=0,d=Object.values(l[c]);f<d.length;f++){var h=d[f],p=h.indexOf(s);-1!==p&&h.splice(p,1)}for(var m=0,g=u;m<g.length;m++){var y=g[m],v=y.type,b=y.id,w=null!=(o=(r=null!=(n=e[v])?n:e[v]={})[i=b||"__internal_without_id"])?o:r[i]=[];w.includes(s)||w.push(s)}},prepare:(0,J.prepareAutoBatched)()}},extraReducers:function(e){e.addCase(h.actions.removeQueryResult,function(e,t){for(var n=t.payload.queryCacheKey,r=0,i=Object.values(e);r<i.length;r++)for(var o=0,a=Object.values(i[r]);o<a.length;o++){var s=a[o],u=s.indexOf(n);-1!==u&&s.splice(u,1)}}).addMatcher(c,function(e,t){for(var n,r,i,o,a=u(t).provided,s=0,c=Object.entries(a);s<c.length;s++)for(var l=c[s],f=l[0],d=0,h=Object.entries(l[1]);d<h.length;d++)for(var p=h[d],m=p[0],g=p[1],y=null!=(o=(r=null!=(n=e[f])?n:e[f]={})[i=m||"__internal_without_id"])?o:r[i]=[],v=0,b=g;v<b.length;v++){var w=b[v];y.includes(w)||y.push(w)}}).addMatcher((0,J.isAnyOf)((0,J.isFulfilled)(n),(0,J.isRejectedWithValue)(n)),function(e,t){var n=ie(t,"providesTags",a,l);m.caseReducers.updateProvidedBy(e,m.actions.updateProvidedBy({queryCacheKey:t.meta.arg.queryCacheKey,providedTags:n}))})}}),g=(0,J.createSlice)({name:t+"/subscriptions",initialState:le,reducers:{updateSubscriptionOptions:function(e,t){},unsubscribeQueryResult:function(e,t){},internal_probeSubscription:function(e,t){}}}),y=(0,J.createSlice)({name:t+"/internalSubscriptions",initialState:le,reducers:{subscriptionsUpdated:{reducer:function(e,t){return(0,ae.applyPatches)(e,t.payload)},prepare:(0,J.prepareAutoBatched)()}}}),w=(0,J.createSlice)({name:t+"/config",initialState:v({online:"undefined"==typeof navigator||void 0===navigator.onLine||navigator.onLine,focused:"undefined"==typeof document||"hidden"!==document.visibilityState,middlewareRegistered:!1},f),reducers:{middlewareRegistered:function(e,t){e.middlewareRegistered="conflict"!==e.middlewareRegistered&&s===t.payload||"conflict"}},extraReducers:function(e){e.addCase(B,function(e){e.online=!0}).addCase(U,function(e){e.online=!1}).addCase(L,function(e){e.focused=!0}).addCase(F,function(e){e.focused=!1}).addMatcher(c,function(e){return v({},e)})}}),_=(0,J.combineReducers)({queries:h.reducer,mutations:p.reducer,provided:m.reducer,subscriptions:y.reducer,config:w.reducer});return{reducer:function(e,t){return _(d.match(t)?void 0:e,t)},actions:b(v(v(v(v(v(v({},w.actions),h.actions),g.actions),y.actions),p.actions),m.actions),{unsubscribeMutationResult:p.actions.removeMutationResult,resetApiState:d})}}({context:n,queryThunk:m,mutationThunk:g,reducerPath:s,assertTagType:h,config:{refetchOnFocus:f,refetchOnReconnect:d,refetchOnMountOrArgChange:l,keepUnusedDataFor:c,reducerPath:s}}),O=T.reducer,A=T.actions;je(e.util,{patchQueryData:y,updateQueryData:w,upsertQueryData:_,prefetch:S,resetApiState:A.resetApiState}),je(e.internalActions,A);var I=function(e){var t=e.reducerPath,n=e.queryThunk,i=e.api,o=e.context,a=o.apiUid,s={invalidateTags:(0,Ce.createAction)(t+"/invalidateTags")},u=[ze,Ee,Te,Oe,Re,De];return{middleware:function(n){var s=!1,l=b(v({},e),{internalState:{currentSubscriptions:{}},refetchQuery:c}),f=u.map(function(e){return e(l)}),d=function(e){var t=e.api,n=e.queryThunk,r=e.internalState,i=t.reducerPath+"/subscriptions",o=null,a=!1,s=t.internalActions,u=s.updateSubscriptionOptions,c=s.unsubscribeQueryResult;return function(e,s){var l,f;if(o||(o=JSON.parse(JSON.stringify(r.currentSubscriptions))),t.util.resetApiState.match(e))return o=r.currentSubscriptions={},[!0,!1];if(t.internalActions.internal_probeSubscription.match(e)){var d=e.payload;return[!1,!!(null==(l=r.currentSubscriptions[d.queryCacheKey])?void 0:l[d.requestId])]}var h=function(e,r){var i,o,a,s,l,f,d,h,p;if(u.match(r)){var m=r.payload,g=m.queryCacheKey,y=m.requestId;return(null==(i=null==e?void 0:e[g])?void 0:i[y])&&(e[g][y]=m.options),!0}if(c.match(r)){var v=r.payload;return y=v.requestId,e[g=v.queryCacheKey]&&delete e[g][y],!0}if(t.internalActions.removeQueryResult.match(r))return delete e[r.payload.queryCacheKey],!0;if(n.pending.match(r)){var b=r.meta;if(y=b.requestId,(S=b.arg).subscribe)return(w=null!=(a=e[o=S.queryCacheKey])?a:e[o]={})[y]=null!=(l=null!=(s=S.subscriptionOptions)?s:w[y])?l:{},!0}if(n.rejected.match(r)){var w,_=r.meta,S=_.arg;if(y=_.requestId,_.condition&&S.subscribe)return(w=null!=(d=e[f=S.queryCacheKey])?d:e[f]={})[y]=null!=(p=null!=(h=S.subscriptionOptions)?h:w[y])?p:{},!0}return!1}(r.currentSubscriptions,e);if(h){a||(Ne(function(){var e=JSON.parse(JSON.stringify(r.currentSubscriptions)),n=(0,Me.produceWithPatches)(o,function(){return e});s.next(t.internalActions.subscriptionsUpdated(n[1])),o=e,a=!1}),a=!0);var p=!!(null==(f=e.type)?void 0:f.startsWith(i)),m=n.rejected.match(e)&&e.meta.condition&&!!e.meta.arg.subscribe;return[!p&&!m,!1]}return[!0,!1]}}(l),h=function(e){var t=e.reducerPath,n=e.context,i=e.refetchQuery,o=e.internalState,a=e.api.internalActions.removeQueryResult;function s(e,s){var u=e.getState()[t],c=u.queries,l=o.currentSubscriptions;n.batch(function(){for(var t=0,n=Object.keys(l);t<n.length;t++){var o=n[t],f=c[o],d=l[o];d&&f&&(Object.values(d).some(function(e){return!0===e[s]})||Object.values(d).every(function(e){return void 0===e[s]})&&u.config[s])&&(0===Object.keys(d).length?e.dispatch(a({queryCacheKey:o})):f.status!==r.uninitialized&&e.dispatch(i(f,o)))}})}return function(e,t){L.match(e)&&s(t,"refetchOnFocus"),B.match(e)&&s(t,"refetchOnReconnect")}}(l);return function(e){return function(r){s||(s=!0,n.dispatch(i.internalActions.middlewareRegistered(a)));var u,c=b(v({},n),{next:e}),l=n.getState(),p=d(r,c,l),m=p[1];if(u=p[0]?e(r):m,n.getState()[t]&&(h(r,c,l),function(e){return!!e&&"string"==typeof e.type&&e.type.startsWith(t+"/")}(r)||o.hasRehydrationInfo(r)))for(var g=0,y=f;g<y.length;g++)(0,y[g])(r,c,l);return u}}},actions:s};function c(e,t,r){return void 0===r&&(r={}),n(v({type:"query",endpointName:e.endpointName,originalArgs:e.originalArgs,subscribe:!1,forceRefetch:!0,queryCacheKey:t},r))}}({reducerPath:s,context:n,queryThunk:m,mutationThunk:g,api:e,assertTagType:h}),R=I.middleware;je(e.util,I.actions),je(e,{reducer:O,middleware:R});var P=function(e){var t=e.serializeQueryArgs,n=e.reducerPath,i=function(e){return pe},o=function(e){return me};return{buildQuerySelector:function(e,n){return function(r){var o=t({queryArgs:r,endpointDefinition:n,endpointName:e});return(0,K.createSelector)(r===fe?i:function(e){var t,n,r;return null!=(r=null==(n=null==(t=s(e))?void 0:t.queries)?void 0:n[o])?r:pe},a)}},buildMutationSelector:function(){return function(e){var t,n;return n="object"==typeof e?null!=(t=ue(e))?t:fe:e,(0,K.createSelector)(n===fe?o:function(e){var t,r,i;return null!=(i=null==(r=null==(t=s(e))?void 0:t.mutations)?void 0:r[n])?i:me},a)}},selectInvalidatedBy:function(e,t){for(var r,i=e[n],o=new Set,a=0,s=t.map(V);a<s.length;a++){var u=s[a],c=i.provided[u.type];if(c)for(var l=0,f=null!=(r=void 0!==u.id?c[u.id]:C(Object.values(c)))?r:[];l<f.length;l++)o.add(f[l])}return C(Array.from(o.values()).map(function(e){var t=i.queries[e];return t?[{queryCacheKey:e,endpointName:t.endpointName,originalArgs:t.originalArgs}]:[]}))}};function a(e){return v(v({},e),{status:t=e.status,isUninitialized:t===r.uninitialized,isLoading:t===r.pending,isSuccess:t===r.fulfilled,isError:t===r.rejected});var t}function s(e){return e[n]}}({serializeQueryArgs:u,reducerPath:s}),z=P.buildQuerySelector,M=P.buildMutationSelector;je(e.util,{selectInvalidatedBy:P.selectInvalidatedBy});var N=function(e){var t=e.serializeQueryArgs,n=e.queryThunk,r=e.mutationThunk,i=e.api,s=e.context,u=new Map,c=new Map,l=i.internalActions,f=l.unsubscribeQueryResult,d=l.removeMutationResult,h=l.updateSubscriptionOptions;return{buildInitiateQuery:function(e,r){var a=function(s,c){var l=void 0===c?{}:c,d=l.subscribe,p=void 0===d||d,m=l.forceRefetch,g=l.subscriptionOptions,y=l[Z];return function(c,l){var d,v,b=t({queryArgs:s,endpointDefinition:r,endpointName:e}),w=n(((d={type:"query",subscribe:p,forceRefetch:m,subscriptionOptions:g,endpointName:e,originalArgs:s,queryCacheKey:b})[Z]=y,d)),_=i.endpoints[e].select(s),S=c(w),C=_(l()),E=S.requestId,x=S.abort,T=C.requestId!==E,O=null==(v=u.get(c))?void 0:v[b],A=function(){return _(l())},I=Object.assign(y?S.then(A):T&&!O?Promise.resolve(C):Promise.all([O,S]).then(A),{arg:s,requestId:E,subscriptionOptions:g,queryCacheKey:b,abort:x,unwrap:function(){return k(this,null,function(){var e;return o(this,function(t){switch(t.label){case 0:return[4,I];case 1:if((e=t.sent()).isError)throw e.error;return[2,e.data]}})})},refetch:function(){return c(a(s,{subscribe:!1,forceRefetch:!0}))},unsubscribe:function(){p&&c(f({queryCacheKey:b,requestId:E}))},updateSubscriptionOptions:function(t){I.subscriptionOptions=t,c(h({endpointName:e,requestId:E,queryCacheKey:b,options:t}))}});if(!O&&!T&&!y){var R=u.get(c)||{};R[b]=I,u.set(c,R),I.then(function(){delete R[b],Object.keys(R).length||u.delete(c)})}return I}};return a},buildInitiateMutation:function(e){return function(t,n){var i=void 0===n?{}:n,o=i.track,a=void 0===o||o,s=i.fixedCacheKey;return function(n,i){var o=r({type:"mutation",endpointName:e,originalArgs:t,track:a,fixedCacheKey:s}),u=n(o),l=u.requestId,f=u.abort,h=u.unwrap,p=u.unwrap().then(function(e){return{data:e}}).catch(function(e){return{error:e}}),m=function(){n(d({requestId:l,fixedCacheKey:s}))},g=Object.assign(p,{arg:u.arg,requestId:l,abort:f,unwrap:h,unsubscribe:m,reset:m}),y=c.get(n)||{};return c.set(n,y),y[l]=g,g.then(function(){delete y[l],Object.keys(y).length||c.delete(n)}),s&&(y[s]=g,g.then(function(){y[s]===g&&(delete y[s],Object.keys(y).length||c.delete(n))})),g}}},getRunningQueryThunk:function(e,n){return function(r){var i,o=t({queryArgs:n,endpointDefinition:s.endpointDefinitions[e],endpointName:e});return null==(i=u.get(r))?void 0:i[o]}},getRunningMutationThunk:function(e,t){return function(e){var n;return null==(n=c.get(e))?void 0:n[t]}},getRunningQueriesThunk:function(){return function(e){return Object.values(u.get(e)||{}).filter(G)}},getRunningMutationsThunk:function(){return function(e){return Object.values(c.get(e)||{}).filter(G)}},getRunningOperationPromises:function(){var e=function(e){return Array.from(e.values()).flatMap(function(e){return e?Object.values(e):[]})};return a(a([],e(u)),e(c)).filter(G)},removalWarning:function(){throw new Error("This method had to be removed due to a conceptual bug in RTK.\n Please see https://github.com/reduxjs/redux-toolkit/pull/2481 for details.\n See https://redux-toolkit.js.org/rtk-query/usage/server-side-rendering for new guidance on SSR.")}}}({queryThunk:m,mutationThunk:g,api:e,serializeQueryArgs:u,context:n}),j=N.buildInitiateQuery,q=N.buildInitiateMutation;return je(e.util,{getRunningOperationPromises:N.getRunningOperationPromises,getRunningOperationPromise:N.removalWarning,getRunningMutationThunk:N.getRunningMutationThunk,getRunningMutationsThunk:N.getRunningMutationsThunk,getRunningQueryThunk:N.getRunningQueryThunk,getRunningQueriesThunk:N.getRunningQueriesThunk}),{name:Fe,injectEndpoint:function(t,n){var r,i=e;null!=(r=i.endpoints)[t]||(r[t]={}),Q(n)?je(i.endpoints[t],{name:t,select:z(t,n),initiate:j(t,n)},E(m,t)):n.type===W.mutation&&je(i.endpoints[t],{name:t,select:M(),initiate:q(t)},E(g,t))}}}}},Ue=_e(Be())},53366:(e,t,n)=>{"use strict";n.d(t,{$k:()=>q,RE:()=>r,cw:()=>D,hT:()=>ne,l0:()=>ce,m7:()=>ke});var r,i,o=n(65913),a=n(8229),s=n(35157),u=n(5620),c=n(51134),l=(n(54650),function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}),f=function(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e},d=Object.defineProperty,h=Object.defineProperties,p=Object.getOwnPropertyDescriptors,m=Object.getOwnPropertySymbols,g=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable,v=function(e,t,n){return t in e?d(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n},b=function(e,t){for(var n in t||(t={}))g.call(t,n)&&v(e,n,t[n]);if(m)for(var r=0,i=m(t);r<i.length;r++){n=i[r];y.call(t,n)&&v(e,n,t[n])}return e},w=function(e,t){return h(e,p(t))},_=function(e,t){var n={};for(var r in e)g.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&m)for(var i=0,o=m(e);i<o.length;i++){r=o[i];t.indexOf(r)<0&&y.call(e,r)&&(n[r]=e[r])}return n},S=function(e,t,n){return new Promise(function(r,i){var o=function(e){try{s(n.next(e))}catch(t){i(t)}},a=function(e){try{s(n.throw(e))}catch(t){i(t)}},s=function(e){return e.done?r(e.value):Promise.resolve(e.value).then(o,a)};s((n=n.apply(e,t)).next())})};(i=r||(r={})).uninitialized="uninitialized",i.pending="pending",i.fulfilled="fulfilled",i.rejected="rejected";var k=function(e){return e.replace(/\/$/,"")},C=function(e){return e.replace(/^\//,"")};function E(e,t){if(!e)return t;if(!t)return e;if(function(e){return new RegExp("(^|:)//").test(e)}(t))return t;var n=e.endsWith("/")||!t.startsWith("?")?"/":"";return""+(e=k(e))+n+(t=C(t))}var x=function(e){return[].concat.apply([],e)};var T=o.isPlainObject;function O(e,t){if(e===t||!(T(e)&&T(t)||Array.isArray(e)&&Array.isArray(t)))return t;for(var n=Object.keys(t),r=Object.keys(e),i=n.length===r.length,o=Array.isArray(t)?[]:{},a=0,s=n;a<s.length;a++){var u=s[a];o[u]=O(e[u],t[u]),i&&(i=e[u]===o[u])}return i?e:o}var A=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return fetch.apply(void 0,e)},I=function(e){return e.status>=200&&e.status<=299},R=function(e){return/ion\/(vnd\.api\+)?json/.test(e.get("content-type")||"")};function P(e){if(!(0,o.isPlainObject)(e))return e;for(var t=b({},e),n=0,r=Object.entries(t);n<r.length;n++){var i=r[n],a=i[0];void 0===i[1]&&delete t[a]}return t}function D(e){var t=this;void 0===e&&(e={});var n=e,r=n.baseUrl,i=n.prepareHeaders,a=void 0===i?function(e){return e}:i,s=n.fetchFn,u=void 0===s?A:s,c=n.paramsSerializer,f=n.isJsonContentType,d=void 0===f?R:f,h=n.jsonContentType,p=void 0===h?"application/json":h,m=n.jsonReplacer,g=n.timeout,y=n.responseHandler,v=n.validateStatus,k=_(n,["baseUrl","prepareHeaders","fetchFn","paramsSerializer","isJsonContentType","jsonContentType","jsonReplacer","timeout","responseHandler","validateStatus"]);return function(e,n){return S(t,null,function(){var t,i,s,f,h,S,x,T,O,A,R,D,z,M,N,j,L,F,B,U,q,$,W,H,K,Q,Y,V,J,G,Z,X,ee,te,ne,re;return l(this,function(l){switch(l.label){case 0:return t=n.signal,i=n.getState,s=n.extra,f=n.endpoint,h=n.forced,S=n.type,O=(T="string"==typeof e?{url:e}:e).url,A=T.headers,R=void 0===A?new Headers(k.headers):A,D=T.params,z=void 0===D?void 0:D,M=T.responseHandler,N=void 0===M?null!=y?y:"json":M,j=T.validateStatus,L=void 0===j?null!=v?v:I:j,F=T.timeout,B=void 0===F?g:F,U=_(T,["url","headers","params","responseHandler","validateStatus","timeout"]),q=b(w(b({},k),{signal:t}),U),R=new Headers(P(R)),$=q,[4,a(R,{getState:i,extra:s,endpoint:f,forced:h,type:S})];case 1:$.headers=l.sent()||R,W=function(e){return"object"===typeof e&&((0,o.isPlainObject)(e)||Array.isArray(e)||"function"===typeof e.toJSON)},!q.headers.has("content-type")&&W(q.body)&&q.headers.set("content-type",p),W(q.body)&&d(q.headers)&&(q.body=JSON.stringify(q.body,m)),z&&(H=~O.indexOf("?")?"&":"?",K=c?c(z):new URLSearchParams(P(z)),O+=H+K),O=E(r,O),Q=new Request(O,q),Y=new Request(O,q),x={request:Y},J=!1,G=B&&setTimeout(function(){J=!0,n.abort()},B),l.label=2;case 2:return l.trys.push([2,4,5,6]),[4,u(Q)];case 3:return V=l.sent(),[3,6];case 4:return Z=l.sent(),[2,{error:{status:J?"TIMEOUT_ERROR":"FETCH_ERROR",error:String(Z)},meta:x}];case 5:return G&&clearTimeout(G),[7];case 6:X=V.clone(),x.response=X,te="",l.label=7;case 7:return l.trys.push([7,9,,10]),[4,Promise.all([C(V,N).then(function(e){return ee=e},function(e){return ne=e}),X.text().then(function(e){return te=e},function(){})])];case 8:if(l.sent(),ne)throw ne;return[3,10];case 9:return re=l.sent(),[2,{error:{status:"PARSING_ERROR",originalStatus:V.status,data:te,error:String(re)},meta:x}];case 10:return[2,L(V,ee)?{data:ee,meta:x}:{error:{status:V.status,data:ee},meta:x}]}})})};function C(e,t){return S(this,null,function(){var n;return l(this,function(r){switch(r.label){case 0:return"function"===typeof t?[2,t(e)]:("content-type"===t&&(t=d(e.headers)?"json":"text"),"json"!==t?[3,2]:[4,e.text()]);case 1:return[2,(n=r.sent()).length?JSON.parse(n):null];case 2:return[2,e.text()]}})})}}var z=function(e,t){void 0===t&&(t=void 0),this.value=e,this.meta=t};var M,N,j=(0,o.createAction)("__rtkq/focused"),L=(0,o.createAction)("__rtkq/unfocused"),F=(0,o.createAction)("__rtkq/online"),B=(0,o.createAction)("__rtkq/offline"),U=!1;function q(e,t){return t?t(e,{onFocus:j,onFocusLost:L,onOffline:B,onOnline:F}):function(){var t=function(){return e(j())},n=function(){return e(F())},r=function(){return e(B())},i=function(){"visible"===window.document.visibilityState?t():e(L())};return U||"undefined"!==typeof window&&window.addEventListener&&(window.addEventListener("visibilitychange",i,!1),window.addEventListener("focus",t,!1),window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),U=!0),function(){window.removeEventListener("focus",t),window.removeEventListener("visibilitychange",i),window.removeEventListener("online",n),window.removeEventListener("offline",r),U=!1}}()}function $(e){return e.type===M.query}function W(e,t,n,r,i,o){return"function"===typeof e?e(t,n,r,i).map(H).map(o):Array.isArray(e)?e.map(H).map(o):[]}function H(e){return"string"===typeof e?{type:e}:e}function K(e){return null!=e}(N=M||(M={})).query="query",N.mutation="mutation";var Q=Symbol("forceQueryFn"),Y=function(e){return"function"===typeof e[Q]};function V(e){return e}function J(e,t,n,r){return W(n[e.meta.arg.endpointName][t],(0,o.isFulfilled)(e)?e.payload:void 0,(0,o.isRejectedWithValue)(e)?e.payload:void 0,e.meta.arg.originalArgs,"baseQueryMeta"in e.meta?e.meta.baseQueryMeta:void 0,r)}function G(e,t,n){var r=e[t];r&&n(r)}function Z(e){var t;return null!=(t="arg"in e?e.arg.fixedCacheKey:e.fixedCacheKey)?t:e.requestId}function X(e,t,n){var r=e[Z(t)];r&&n(r)}var ee={};function te(e){var t=e.reducerPath,n=e.queryThunk,i=e.mutationThunk,s=e.context,c=s.endpointDefinitions,l=s.apiUid,f=s.extractRehydrationInfo,d=s.hasRehydrationInfo,h=e.assertTagType,p=e.config,m=(0,o.createAction)(t+"/resetApiState"),g=(0,o.createSlice)({name:t+"/queries",initialState:ee,reducers:{removeQueryResult:{reducer:function(e,t){delete e[t.payload.queryCacheKey]},prepare:(0,o.prepareAutoBatched)()},queryResultPatched:{reducer:function(e,t){var n=t.payload,r=n.queryCacheKey,i=n.patches;G(e,r,function(e){e.data=(0,a.$i)(e.data,i.concat())})},prepare:(0,o.prepareAutoBatched)()}},extraReducers:function(e){e.addCase(n.pending,function(e,t){var n,i=t.meta,o=t.meta.arg,a=Y(o);(o.subscribe||a)&&(null!=e[n=o.queryCacheKey]||(e[n]={status:r.uninitialized,endpointName:o.endpointName})),G(e,o.queryCacheKey,function(e){e.status=r.pending,e.requestId=a&&e.requestId?e.requestId:i.requestId,void 0!==o.originalArgs&&(e.originalArgs=o.originalArgs),e.startedTimeStamp=i.startedTimeStamp})}).addCase(n.fulfilled,function(e,t){var n=t.meta,i=t.payload;G(e,n.arg.queryCacheKey,function(e){var t;if(e.requestId===n.requestId||Y(n.arg)){var o=c[n.arg.endpointName].merge;if(e.status=r.fulfilled,o)if(void 0!==e.data){var s=n.fulfilledTimeStamp,u=n.arg,l=n.baseQueryMeta,f=n.requestId,d=(0,a.Ay)(e.data,function(e){return o(e,i,{arg:u.originalArgs,baseQueryMeta:l,fulfilledTimeStamp:s,requestId:f})});e.data=d}else e.data=i;else e.data=null==(t=c[n.arg.endpointName].structuralSharing)||t?O((0,a.Qx)(e.data)?(0,a.c2)(e.data):e.data,i):i;delete e.error,e.fulfilledTimeStamp=n.fulfilledTimeStamp}})}).addCase(n.rejected,function(e,t){var n=t.meta,i=n.condition,o=n.arg,a=n.requestId,s=t.error,u=t.payload;G(e,o.queryCacheKey,function(e){if(i);else{if(e.requestId!==a)return;e.status=r.rejected,e.error=null!=u?u:s}})}).addMatcher(d,function(e,t){for(var n=f(t).queries,i=0,o=Object.entries(n);i<o.length;i++){var a=o[i],s=a[0],u=a[1];(null==u?void 0:u.status)!==r.fulfilled&&(null==u?void 0:u.status)!==r.rejected||(e[s]=u)}})}}),y=(0,o.createSlice)({name:t+"/mutations",initialState:ee,reducers:{removeMutationResult:{reducer:function(e,t){var n=Z(t.payload);n in e&&delete e[n]},prepare:(0,o.prepareAutoBatched)()}},extraReducers:function(e){e.addCase(i.pending,function(e,t){var n=t.meta,i=t.meta,o=i.requestId,a=i.arg,s=i.startedTimeStamp;a.track&&(e[Z(n)]={requestId:o,status:r.pending,endpointName:a.endpointName,startedTimeStamp:s})}).addCase(i.fulfilled,function(e,t){var n=t.payload,i=t.meta;i.arg.track&&X(e,i,function(e){e.requestId===i.requestId&&(e.status=r.fulfilled,e.data=n,e.fulfilledTimeStamp=i.fulfilledTimeStamp)})}).addCase(i.rejected,function(e,t){var n=t.payload,i=t.error,o=t.meta;o.arg.track&&X(e,o,function(e){e.requestId===o.requestId&&(e.status=r.rejected,e.error=null!=n?n:i)})}).addMatcher(d,function(e,t){for(var n=f(t).mutations,i=0,o=Object.entries(n);i<o.length;i++){var a=o[i],s=a[0],u=a[1];(null==u?void 0:u.status)!==r.fulfilled&&(null==u?void 0:u.status)!==r.rejected||s===(null==u?void 0:u.requestId)||(e[s]=u)}})}}),v=(0,o.createSlice)({name:t+"/invalidation",initialState:ee,reducers:{updateProvidedBy:{reducer:function(e,t){for(var n,r,i,o,a=t.payload,s=a.queryCacheKey,u=a.providedTags,c=0,l=Object.values(e);c<l.length;c++)for(var f=l[c],d=0,h=Object.values(f);d<h.length;d++){var p=h[d],m=p.indexOf(s);-1!==m&&p.splice(m,1)}for(var g=0,y=u;g<y.length;g++){var v=y[g],b=v.type,w=v.id,_=null!=(o=(r=null!=(n=e[b])?n:e[b]={})[i=w||"__internal_without_id"])?o:r[i]=[];_.includes(s)||_.push(s)}},prepare:(0,o.prepareAutoBatched)()}},extraReducers:function(e){e.addCase(g.actions.removeQueryResult,function(e,t){for(var n=t.payload.queryCacheKey,r=0,i=Object.values(e);r<i.length;r++)for(var o=i[r],a=0,s=Object.values(o);a<s.length;a++){var u=s[a],c=u.indexOf(n);-1!==c&&u.splice(c,1)}}).addMatcher(d,function(e,t){for(var n,r,i,o,a=f(t).provided,s=0,u=Object.entries(a);s<u.length;s++)for(var c=u[s],l=c[0],d=c[1],h=0,p=Object.entries(d);h<p.length;h++)for(var m=p[h],g=m[0],y=m[1],v=null!=(o=(r=null!=(n=e[l])?n:e[l]={})[i=g||"__internal_without_id"])?o:r[i]=[],b=0,w=y;b<w.length;b++){var _=w[b];v.includes(_)||v.push(_)}}).addMatcher((0,o.isAnyOf)((0,o.isFulfilled)(n),(0,o.isRejectedWithValue)(n)),function(e,t){var n=J(t,"providesTags",c,h),r=t.meta.arg.queryCacheKey;v.caseReducers.updateProvidedBy(e,v.actions.updateProvidedBy({queryCacheKey:r,providedTags:n}))})}}),_=(0,o.createSlice)({name:t+"/subscriptions",initialState:ee,reducers:{updateSubscriptionOptions:function(e,t){},unsubscribeQueryResult:function(e,t){},internal_probeSubscription:function(e,t){}}}),S=(0,o.createSlice)({name:t+"/internalSubscriptions",initialState:ee,reducers:{subscriptionsUpdated:{reducer:function(e,t){return(0,a.$i)(e,t.payload)},prepare:(0,o.prepareAutoBatched)()}}}),k=(0,o.createSlice)({name:t+"/config",initialState:b({online:"undefined"===typeof navigator||void 0===navigator.onLine||navigator.onLine,focused:"undefined"===typeof document||"hidden"!==document.visibilityState,middlewareRegistered:!1},p),reducers:{middlewareRegistered:function(e,t){var n=t.payload;e.middlewareRegistered="conflict"!==e.middlewareRegistered&&l===n||"conflict"}},extraReducers:function(e){e.addCase(F,function(e){e.online=!0}).addCase(B,function(e){e.online=!1}).addCase(j,function(e){e.focused=!0}).addCase(L,function(e){e.focused=!1}).addMatcher(d,function(e){return b({},e)})}}),C=(0,u.HY)({queries:g.reducer,mutations:y.reducer,provided:v.reducer,subscriptions:S.reducer,config:k.reducer});return{reducer:function(e,t){return C(m.match(t)?void 0:e,t)},actions:w(b(b(b(b(b(b({},k.actions),g.actions),_.actions),S.actions),y.actions),v.actions),{unsubscribeMutationResult:y.actions.removeMutationResult,resetApiState:m})}}var ne=Symbol.for("RTKQ/skipToken"),re={status:r.uninitialized},ie=(0,a.Ay)(re,function(){}),oe=(0,a.Ay)(re,function(){});function ae(e){var t=e.serializeQueryArgs,n=e.reducerPath,i=function(e){return ie},o=function(e){return oe};return{buildQuerySelector:function(e,n){return function(r){var o=t({queryArgs:r,endpointDefinition:n,endpointName:e}),c=r===ne?i:function(e){var t,n,r;return null!=(r=null==(n=null==(t=u(e))?void 0:t.queries)?void 0:n[o])?r:ie};return(0,s.createSelector)(c,a)}},buildMutationSelector:function(){return function(e){var t,n,r=(n="object"===typeof e?null!=(t=Z(e))?t:ne:e)===ne?o:function(e){var t,r,i;return null!=(i=null==(r=null==(t=u(e))?void 0:t.mutations)?void 0:r[n])?i:oe};return(0,s.createSelector)(r,a)}},selectInvalidatedBy:function(e,t){for(var r,i=e[n],o=new Set,a=0,s=t.map(H);a<s.length;a++){var u=s[a],c=i.provided[u.type];if(c)for(var l=0,f=null!=(r=void 0!==u.id?c[u.id]:x(Object.values(c)))?r:[];l<f.length;l++){var d=f[l];o.add(d)}}return x(Array.from(o.values()).map(function(e){var t=i.queries[e];return t?[{queryCacheKey:e,endpointName:t.endpointName,originalArgs:t.originalArgs}]:[]}))}};function a(e){return b(b({},e),{status:t=e.status,isUninitialized:t===r.uninitialized,isLoading:t===r.pending,isSuccess:t===r.fulfilled,isError:t===r.rejected});var t}function u(e){return e[n]}}var se=WeakMap?new WeakMap:void 0,ue=function(e){var t=e.endpointName,n=e.queryArgs,r="",i=null==se?void 0:se.get(n);if("string"===typeof i)r=i;else{var a=JSON.stringify(n,function(e,t){return(0,o.isPlainObject)(t)?Object.keys(t).sort().reduce(function(e,n){return e[n]=t[n],e},{}):t});(0,o.isPlainObject)(n)&&(null==se||se.set(n,a)),r=a}return t+"("+r+")"};function ce(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){var n=(0,c.UI)(function(e){var n,r;return null==(r=t.extractRehydrationInfo)?void 0:r.call(t,e,{reducerPath:null!=(n=t.reducerPath)?n:"api"})}),r=w(b({reducerPath:"api",keepUnusedDataFor:60,refetchOnMountOrArgChange:!1,refetchOnFocus:!1,refetchOnReconnect:!1},t),{extractRehydrationInfo:n,serializeQueryArgs:function(e){var n=ue;if("serializeQueryArgs"in e.endpointDefinition){var r=e.endpointDefinition.serializeQueryArgs;n=function(e){var t=r(e);return"string"===typeof t?t:ue(w(b({},e),{queryArgs:t}))}}else t.serializeQueryArgs&&(n=t.serializeQueryArgs);return n(e)},tagTypes:f([],t.tagTypes||[])}),i={endpointDefinitions:{},batch:function(e){e()},apiUid:(0,o.nanoid)(),extractRehydrationInfo:n,hasRehydrationInfo:(0,c.UI)(function(e){return null!=n(e)})},a={injectEndpoints:function(e){for(var t=e.endpoints({query:function(e){return w(b({},e),{type:M.query})},mutation:function(e){return w(b({},e),{type:M.mutation})}}),n=0,r=Object.entries(t);n<r.length;n++){var o=r[n],u=o[0],c=o[1];if(e.overrideExisting||!(u in i.endpointDefinitions)){i.endpointDefinitions[u]=c;for(var l=0,f=s;l<f.length;l++){f[l].injectEndpoint(u,c)}}}return a},enhanceEndpoints:function(e){var t=e.addTagTypes,n=e.endpoints;if(t)for(var o=0,s=t;o<s.length;o++){var u=s[o];r.tagTypes.includes(u)||r.tagTypes.push(u)}if(n)for(var c=0,l=Object.entries(n);c<l.length;c++){var f=l[c],d=f[0],h=f[1];"function"===typeof h?h(i.endpointDefinitions[d]):Object.assign(i.endpointDefinitions[d]||{},h)}return a}},s=e.map(function(e){return e.init(a,r,i)});return a.injectEndpoints({endpoints:t.endpoints})}}var le,fe=function(e){var t=e.reducerPath,n=e.api,r=e.context,i=e.internalState,o=n.internalActions,a=o.removeQueryResult,s=o.unsubscribeQueryResult;function u(e){var t=i.currentSubscriptions[e];return!!t&&!function(e){for(var t in e)return!1;return!0}(t)}var c={};function l(e,t,n,i){var o,s=r.endpointDefinitions[t],l=null!=(o=null==s?void 0:s.keepUnusedDataFor)?o:i.keepUnusedDataFor;if(l!==1/0){var f=Math.max(0,Math.min(l,2147482.647));if(!u(e)){var d=c[e];d&&clearTimeout(d),c[e]=setTimeout(function(){u(e)||n.dispatch(a({queryCacheKey:e})),delete c[e]},1e3*f)}}}return function(e,i,o){var a;if(s.match(e)){var u=i.getState()[t];l(w=e.payload.queryCacheKey,null==(a=u.queries[w])?void 0:a.endpointName,i,u.config)}if(n.util.resetApiState.match(e))for(var f=0,d=Object.entries(c);f<d.length;f++){var h=d[f],p=h[0],m=h[1];m&&clearTimeout(m),delete c[p]}if(r.hasRehydrationInfo(e)){u=i.getState()[t];for(var g=r.extractRehydrationInfo(e).queries,y=0,v=Object.entries(g);y<v.length;y++){var b=v[y],w=b[0],_=b[1];l(w,null==_?void 0:_.endpointName,i,u.config)}}}},de=function(e){var t=e.reducerPath,n=e.context,i=e.context.endpointDefinitions,a=e.mutationThunk,s=e.api,u=e.assertTagType,c=e.refetchQuery,l=s.internalActions.removeQueryResult,f=(0,o.isAnyOf)((0,o.isFulfilled)(a),(0,o.isRejectedWithValue)(a));function d(e,i){var o=i.getState(),a=o[t],u=s.util.selectInvalidatedBy(o,e);n.batch(function(){for(var e,t=0,n=Array.from(u.values());t<n.length;t++){var o=n[t].queryCacheKey,s=a.queries[o],f=null!=(e=a.subscriptions[o])?e:{};s&&(0===Object.keys(f).length?i.dispatch(l({queryCacheKey:o})):s.status!==r.uninitialized&&i.dispatch(c(s,o)))}})}return function(e,t){f(e)&&d(J(e,"invalidatesTags",i,u),t),s.util.invalidateTags.match(e)&&d(W(e.payload,void 0,void 0,void 0,void 0,u),t)}},he=function(e){var t=e.reducerPath,n=e.queryThunk,i=e.api,o=e.refetchQuery,a=e.internalState,s={};function u(e,n){var i=e.queryCacheKey,u=n.getState()[t].queries[i],c=a.currentSubscriptions[i];if(u&&u.status!==r.uninitialized){var l=f(c);if(Number.isFinite(l)){var d=s[i];(null==d?void 0:d.timeout)&&(clearTimeout(d.timeout),d.timeout=void 0);var h=Date.now()+l,p=s[i]={nextPollTimestamp:h,pollingInterval:l,timeout:setTimeout(function(){p.timeout=void 0,n.dispatch(o(u,i))},l)}}}}function c(e,n){var i=e.queryCacheKey,o=n.getState()[t].queries[i],c=a.currentSubscriptions[i];if(o&&o.status!==r.uninitialized){var d=f(c);if(Number.isFinite(d)){var h=s[i],p=Date.now()+d;(!h||p<h.nextPollTimestamp)&&u({queryCacheKey:i},n)}else l(i)}}function l(e){var t=s[e];(null==t?void 0:t.timeout)&&clearTimeout(t.timeout),delete s[e]}function f(e){void 0===e&&(e={});var t=Number.POSITIVE_INFINITY;for(var n in e)e[n].pollingInterval&&(t=Math.min(e[n].pollingInterval,t));return t}return function(e,t){(i.internalActions.updateSubscriptionOptions.match(e)||i.internalActions.unsubscribeQueryResult.match(e))&&c(e.payload,t),(n.pending.match(e)||n.rejected.match(e)&&e.meta.condition)&&c(e.meta.arg,t),(n.fulfilled.match(e)||n.rejected.match(e)&&!e.meta.condition)&&u(e.meta.arg,t),i.util.resetApiState.match(e)&&function(){for(var e=0,t=Object.keys(s);e<t.length;e++){l(t[e])}}()}},pe=new Error("Promise never resolved before cacheEntryRemoved."),me=function(e){var t=e.api,n=e.reducerPath,r=e.context,i=e.queryThunk,a=e.mutationThunk,s=(e.internalState,(0,o.isAsyncThunkAction)(i)),u=(0,o.isAsyncThunkAction)(a),c=(0,o.isFulfilled)(i,a),l={};function f(e,n,i,o,a){var s=r.endpointDefinitions[e],u=null==s?void 0:s.onCacheEntryAdded;if(u){var c={},f=new Promise(function(e){c.cacheEntryRemoved=e}),d=Promise.race([new Promise(function(e){c.valueResolved=e}),f.then(function(){throw pe})]);d.catch(function(){}),l[i]=c;var h=t.endpoints[e].select(s.type===M.query?n:i),p=o.dispatch(function(e,t,n){return n}),m=w(b({},o),{getCacheEntry:function(){return h(o.getState())},requestId:a,extra:p,updateCachedData:s.type===M.query?function(r){return o.dispatch(t.util.updateQueryData(e,n,r))}:void 0,cacheDataLoaded:d,cacheEntryRemoved:f}),g=u(n,m);Promise.resolve(g).catch(function(e){if(e!==pe)throw e})}}return function(e,r,o){var d=function(e){return s(e)?e.meta.arg.queryCacheKey:u(e)?e.meta.requestId:t.internalActions.removeQueryResult.match(e)?e.payload.queryCacheKey:t.internalActions.removeMutationResult.match(e)?Z(e.payload):""}(e);if(i.pending.match(e)){var h=o[n].queries[d],p=r.getState()[n].queries[d];!h&&p&&f(e.meta.arg.endpointName,e.meta.arg.originalArgs,d,r,e.meta.requestId)}else if(a.pending.match(e)){(p=r.getState()[n].mutations[d])&&f(e.meta.arg.endpointName,e.meta.arg.originalArgs,d,r,e.meta.requestId)}else if(c(e)){(null==(b=l[d])?void 0:b.valueResolved)&&(b.valueResolved({data:e.payload,meta:e.meta.baseQueryMeta}),delete b.valueResolved)}else if(t.internalActions.removeQueryResult.match(e)||t.internalActions.removeMutationResult.match(e)){(b=l[d])&&(delete l[d],b.cacheEntryRemoved())}else if(t.util.resetApiState.match(e))for(var m=0,g=Object.entries(l);m<g.length;m++){var y=g[m],v=y[0],b=y[1];delete l[v],b.cacheEntryRemoved()}}},ge=function(e){var t=e.api,n=e.context,r=e.queryThunk,i=e.mutationThunk,a=(0,o.isPending)(r,i),s=(0,o.isRejected)(r,i),u=(0,o.isFulfilled)(r,i),c={};return function(e,r){var i,o,l;if(a(e)){var f=e.meta,d=f.requestId,h=f.arg,p=h.endpointName,m=h.originalArgs,g=n.endpointDefinitions[p],y=null==g?void 0:g.onQueryStarted;if(y){var v={},_=new Promise(function(e,t){v.resolve=e,v.reject=t});_.catch(function(){}),c[d]=v;var S=t.endpoints[p].select(g.type===M.query?m:d),k=r.dispatch(function(e,t,n){return n}),C=w(b({},r),{getCacheEntry:function(){return S(r.getState())},requestId:d,extra:k,updateCachedData:g.type===M.query?function(e){return r.dispatch(t.util.updateQueryData(p,m,e))}:void 0,queryFulfilled:_});y(m,C)}}else if(u(e)){var E=e.meta,x=(d=E.requestId,E.baseQueryMeta);null==(i=c[d])||i.resolve({data:e.payload,meta:x}),delete c[d]}else if(s(e)){var T=e.meta,O=(d=T.requestId,T.rejectedWithValue);x=T.baseQueryMeta;null==(l=c[d])||l.reject({error:null!=(o=e.payload)?o:e.error,isUnhandledError:!O,meta:x}),delete c[d]}}},ye=function(e){var t=e.api,n=e.context.apiUid;e.reducerPath;return function(e,r){t.util.resetApiState.match(e)&&r.dispatch(t.internalActions.middlewareRegistered(n))}},ve="function"===typeof queueMicrotask?queueMicrotask.bind("undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:globalThis):function(e){return(le||(le=Promise.resolve())).then(e).catch(function(e){return setTimeout(function(){throw e},0)})},be=function(e){var t=e.api,n=e.queryThunk,r=e.internalState,i=t.reducerPath+"/subscriptions",o=null,s=!1,u=t.internalActions,c=u.updateSubscriptionOptions,l=u.unsubscribeQueryResult;return function(e,u){var f,d;if(o||(o=JSON.parse(JSON.stringify(r.currentSubscriptions))),t.util.resetApiState.match(e))return o=r.currentSubscriptions={},[!0,!1];if(t.internalActions.internal_probeSubscription.match(e)){var h=e.payload,p=h.queryCacheKey,m=h.requestId;return[!1,!!(null==(f=r.currentSubscriptions[p])?void 0:f[m])]}var g=function(e,r){var i,o,a,s,u,f,d,h,p;if(c.match(r)){var m=r.payload,g=m.queryCacheKey,y=m.requestId,v=m.options;return(null==(i=null==e?void 0:e[g])?void 0:i[y])&&(e[g][y]=v),!0}if(l.match(r)){var b=r.payload;return g=b.queryCacheKey,y=b.requestId,e[g]&&delete e[g][y],!0}if(t.internalActions.removeQueryResult.match(r))return delete e[r.payload.queryCacheKey],!0;if(n.pending.match(r)){var w=r.meta,_=w.arg;if(y=w.requestId,_.subscribe)return(S=null!=(a=e[o=_.queryCacheKey])?a:e[o]={})[y]=null!=(u=null!=(s=_.subscriptionOptions)?s:S[y])?u:{},!0}if(n.rejected.match(r)){var S,k=r.meta,C=k.condition;if(_=k.arg,y=k.requestId,C&&_.subscribe)return(S=null!=(d=e[f=_.queryCacheKey])?d:e[f]={})[y]=null!=(p=null!=(h=_.subscriptionOptions)?h:S[y])?p:{},!0}return!1}(r.currentSubscriptions,e);if(g){s||(ve(function(){var e=JSON.parse(JSON.stringify(r.currentSubscriptions)),n=(0,a.vI)(o,function(){return e})[1];u.next(t.internalActions.subscriptionsUpdated(n)),o=e,s=!1}),s=!0);var y=!!(null==(d=e.type)?void 0:d.startsWith(i)),v=n.rejected.match(e)&&e.meta.condition&&!!e.meta.arg.subscribe;return[!y&&!v,!1]}return[!0,!1]}};function we(e){var t=e.reducerPath,n=e.queryThunk,i=e.api,a=e.context,s=a.apiUid,u={invalidateTags:(0,o.createAction)(t+"/invalidateTags")},c=[ye,fe,de,he,me,ge];return{middleware:function(n){var o=!1,u=w(b({},e),{internalState:{currentSubscriptions:{}},refetchQuery:l}),f=c.map(function(e){return e(u)}),d=be(u),h=function(e){var t=e.reducerPath,n=e.context,i=e.api,o=e.refetchQuery,a=e.internalState,s=i.internalActions.removeQueryResult;function u(e,i){var u=e.getState()[t],c=u.queries,l=a.currentSubscriptions;n.batch(function(){for(var t=0,n=Object.keys(l);t<n.length;t++){var a=n[t],f=c[a],d=l[a];d&&f&&(Object.values(d).some(function(e){return!0===e[i]})||Object.values(d).every(function(e){return void 0===e[i]})&&u.config[i])&&(0===Object.keys(d).length?e.dispatch(s({queryCacheKey:a})):f.status!==r.uninitialized&&e.dispatch(o(f,a)))}})}return function(e,t){j.match(e)&&u(t,"refetchOnFocus"),F.match(e)&&u(t,"refetchOnReconnect")}}(u);return function(e){return function(r){o||(o=!0,n.dispatch(i.internalActions.middlewareRegistered(s)));var u,c=w(b({},n),{next:e}),l=n.getState(),p=d(r,c,l),m=p[0],g=p[1];if(u=m?e(r):g,n.getState()[t]&&(h(r,c,l),function(e){return!!e&&"string"===typeof e.type&&e.type.startsWith(t+"/")}(r)||a.hasRehydrationInfo(r)))for(var y=0,v=f;y<v.length;y++){(0,v[y])(r,c,l)}return u}}},actions:u};function l(e,t,r){return void 0===r&&(r={}),n(b({type:"query",endpointName:e.endpointName,originalArgs:e.originalArgs,subscribe:!1,forceRefetch:!0,queryCacheKey:t},r))}}function _e(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];Object.assign.apply(Object,f([e],t))}var Se=Symbol(),ke=function(){return{name:Se,init:function(e,t,n){var i=t.baseQuery,s=(t.tagTypes,t.reducerPath),u=t.serializeQueryArgs,c=t.keepUnusedDataFor,d=t.refetchOnMountOrArgChange,h=t.refetchOnFocus,p=t.refetchOnReconnect;(0,a.YT)();var m=function(e){return e};Object.assign(e,{reducerPath:s,endpoints:{},internalActions:{onOnline:F,onOffline:B,onFocus:j,onFocusLost:L},util:{}});var g=function(e){var t=this,n=e.reducerPath,i=e.baseQuery,s=e.context.endpointDefinitions,u=e.serializeQueryArgs,c=e.api,f=e.assertTagType,d=function(e,n){return S(t,[e,n],function(e,t){var n,r,a,u,c,f,d,p,m,g,y,v,b,w=t.signal,_=t.abort,S=t.rejectWithValue,k=t.fulfillWithValue,C=t.dispatch,E=t.getState,x=t.extra;return l(this,function(t){switch(t.label){case 0:n=s[e.endpointName],t.label=1;case 1:return t.trys.push([1,8,,13]),r=V,a=void 0,u={signal:w,abort:_,dispatch:C,getState:E,extra:x,endpoint:e.endpointName,type:e.type,forced:"query"===e.type?h(e,E()):void 0},(c="query"===e.type?e[Q]:void 0)?(a=c(),[3,6]):[3,2];case 2:return n.query?[4,i(n.query(e.originalArgs),u,n.extraOptions)]:[3,4];case 3:return a=t.sent(),n.transformResponse&&(r=n.transformResponse),[3,6];case 4:return[4,n.queryFn(e.originalArgs,u,n.extraOptions,function(e){return i(e,u,n.extraOptions)})];case 5:a=t.sent(),t.label=6;case 6:if(a.error)throw new z(a.error,a.meta);return f=k,[4,r(a.data,a.meta,e.originalArgs)];case 7:return[2,f.apply(void 0,[t.sent(),(v={fulfilledTimeStamp:Date.now(),baseQueryMeta:a.meta},v[o.SHOULD_AUTOBATCH]=!0,v)])];case 8:if(d=t.sent(),!((p=d)instanceof z))return[3,12];m=V,n.query&&n.transformErrorResponse&&(m=n.transformErrorResponse),t.label=9;case 9:return t.trys.push([9,11,,12]),g=S,[4,m(p.value,p.meta,e.originalArgs)];case 10:return[2,g.apply(void 0,[t.sent(),(b={baseQueryMeta:p.meta},b[o.SHOULD_AUTOBATCH]=!0,b)])];case 11:return y=t.sent(),p=y,[3,12];case 12:throw p;case 13:return[2]}})})};function h(e,t){var r,i,o,a,s=null==(i=null==(r=t[n])?void 0:r.queries)?void 0:i[e.queryCacheKey],u=null==(o=t[n])?void 0:o.config.refetchOnMountOrArgChange,c=null==s?void 0:s.fulfilledTimeStamp,l=null!=(a=e.forceRefetch)?a:e.subscribe&&u;return!!l&&(!0===l||(Number(new Date)-Number(c))/1e3>=l)}var p=(0,o.createAsyncThunk)(n+"/executeQuery",d,{getPendingMeta:function(){var e;return(e={startedTimeStamp:Date.now()})[o.SHOULD_AUTOBATCH]=!0,e},condition:function(e,t){var r,i,o,a=(0,t.getState)(),u=null==(i=null==(r=a[n])?void 0:r.queries)?void 0:i[e.queryCacheKey],c=null==u?void 0:u.fulfilledTimeStamp,l=e.originalArgs,f=null==u?void 0:u.originalArgs,d=s[e.endpointName];return!!Y(e)||"pending"!==(null==u?void 0:u.status)&&(!!h(e,a)||!(!$(d)||!(null==(o=null==d?void 0:d.forceRefetch)?void 0:o.call(d,{currentArg:l,previousArg:f,endpointState:u,state:a})))||!c)},dispatchConditionRejection:!0}),m=(0,o.createAsyncThunk)(n+"/executeMutation",d,{getPendingMeta:function(){var e;return(e={startedTimeStamp:Date.now()})[o.SHOULD_AUTOBATCH]=!0,e}});function g(e){return function(t){var n,r;return(null==(r=null==(n=null==t?void 0:t.meta)?void 0:n.arg)?void 0:r.endpointName)===e}}return{queryThunk:p,mutationThunk:m,prefetch:function(e,t,n){return function(r,i){var o=function(e){return"force"in e}(n)&&n.force,a=function(e){return"ifOlderThan"in e}(n)&&n.ifOlderThan,s=function(n){return void 0===n&&(n=!0),c.endpoints[e].initiate(t,{forceRefetch:n})},u=c.endpoints[e].select(t)(i());if(o)r(s());else if(a){var l=null==u?void 0:u.fulfilledTimeStamp;if(!l)return void r(s());(Number(new Date)-Number(new Date(l)))/1e3>=a&&r(s())}else r(s(!1))}},updateQueryData:function(e,t,n,i){return void 0===i&&(i=!0),function(o,s){var u,l,f,d=c.endpoints[e].select(t)(s()),h={patches:[],inversePatches:[],undo:function(){return o(c.util.patchQueryData(e,t,h.inversePatches,i))}};if(d.status===r.uninitialized)return h;if("data"in d)if((0,a.a6)(d.data)){var p=(0,a.vI)(d.data,n),m=p[0],g=p[1],y=p[2];(u=h.patches).push.apply(u,g),(l=h.inversePatches).push.apply(l,y),f=m}else f=n(d.data),h.patches.push({op:"replace",path:[],value:f}),h.inversePatches.push({op:"replace",path:[],value:d.data});return o(c.util.patchQueryData(e,t,h.patches,i)),h}},upsertQueryData:function(e,t,n){return function(r){var i;return r(c.endpoints[e].initiate(t,((i={subscribe:!1,forceRefetch:!0})[Q]=function(){return{data:n}},i)))}},patchQueryData:function(e,t,n,r){return function(i,o){var a=s[e],l=u({queryArgs:t,endpointDefinition:a,endpointName:e});if(i(c.internalActions.queryResultPatched({queryCacheKey:l,patches:n})),r){var d=c.endpoints[e].select(t)(o()),h=W(a.providesTags,d.data,void 0,t,{},f);i(c.internalActions.updateProvidedBy({queryCacheKey:l,providedTags:h}))}}},buildMatchThunkActions:function(e,t){return{matchPending:(0,o.isAllOf)((0,o.isPending)(e),g(t)),matchFulfilled:(0,o.isAllOf)((0,o.isFulfilled)(e),g(t)),matchRejected:(0,o.isAllOf)((0,o.isRejected)(e),g(t))}}}}({baseQuery:i,reducerPath:s,context:n,api:e,serializeQueryArgs:u,assertTagType:m}),y=g.queryThunk,v=g.mutationThunk,b=g.patchQueryData,w=g.updateQueryData,_=g.upsertQueryData,k=g.prefetch,C=g.buildMatchThunkActions,E=te({context:n,queryThunk:y,mutationThunk:v,reducerPath:s,assertTagType:m,config:{refetchOnFocus:h,refetchOnReconnect:p,refetchOnMountOrArgChange:d,keepUnusedDataFor:c,reducerPath:s}}),x=E.reducer,T=E.actions;_e(e.util,{patchQueryData:b,updateQueryData:w,upsertQueryData:_,prefetch:k,resetApiState:T.resetApiState}),_e(e.internalActions,T);var O=we({reducerPath:s,context:n,queryThunk:y,mutationThunk:v,api:e,assertTagType:m}),A=O.middleware,I=O.actions;_e(e.util,I),_e(e,{reducer:x,middleware:A});var R=ae({serializeQueryArgs:u,reducerPath:s}),P=R.buildQuerySelector,D=R.buildMutationSelector,N=R.selectInvalidatedBy;_e(e.util,{selectInvalidatedBy:N});var U=function(e){var t=e.serializeQueryArgs,n=e.queryThunk,r=e.mutationThunk,i=e.api,o=e.context,a=new Map,s=new Map,u=i.internalActions,c=u.unsubscribeQueryResult,d=u.removeMutationResult,h=u.updateSubscriptionOptions;return{buildInitiateQuery:function(e,r){var o=function(s,u){var f=void 0===u?{}:u,d=f.subscribe,m=void 0===d||d,g=f.forceRefetch,y=f.subscriptionOptions,v=f[Q];return function(u,f){var d,b,w=t({queryArgs:s,endpointDefinition:r,endpointName:e}),_=n(((d={type:"query",subscribe:m,forceRefetch:g,subscriptionOptions:y,endpointName:e,originalArgs:s,queryCacheKey:w})[Q]=v,d)),k=i.endpoints[e].select(s),C=u(_),E=k(f());p(u);var x=C.requestId,T=C.abort,O=E.requestId!==x,A=null==(b=a.get(u))?void 0:b[w],I=function(){return k(f())},R=Object.assign(v?C.then(I):O&&!A?Promise.resolve(E):Promise.all([A,C]).then(I),{arg:s,requestId:x,subscriptionOptions:y,queryCacheKey:w,abort:T,unwrap:function(){return S(this,null,function(){var e;return l(this,function(t){switch(t.label){case 0:return[4,R];case 1:if((e=t.sent()).isError)throw e.error;return[2,e.data]}})})},refetch:function(){return u(o(s,{subscribe:!1,forceRefetch:!0}))},unsubscribe:function(){m&&u(c({queryCacheKey:w,requestId:x}))},updateSubscriptionOptions:function(t){R.subscriptionOptions=t,u(h({endpointName:e,requestId:x,queryCacheKey:w,options:t}))}});if(!A&&!O&&!v){var P=a.get(u)||{};P[w]=R,a.set(u,P),R.then(function(){delete P[w],Object.keys(P).length||a.delete(u)})}return R}};return o},buildInitiateMutation:function(e){return function(t,n){var i=void 0===n?{}:n,o=i.track,a=void 0===o||o,u=i.fixedCacheKey;return function(n,i){var o=r({type:"mutation",endpointName:e,originalArgs:t,track:a,fixedCacheKey:u}),c=n(o);p(n);var l=c.requestId,f=c.abort,h=c.unwrap,m=c.unwrap().then(function(e){return{data:e}}).catch(function(e){return{error:e}}),g=function(){n(d({requestId:l,fixedCacheKey:u}))},y=Object.assign(m,{arg:c.arg,requestId:l,abort:f,unwrap:h,unsubscribe:g,reset:g}),v=s.get(n)||{};return s.set(n,v),v[l]=y,y.then(function(){delete v[l],Object.keys(v).length||s.delete(n)}),u&&(v[u]=y,y.then(function(){v[u]===y&&(delete v[u],Object.keys(v).length||s.delete(n))})),y}}},getRunningQueryThunk:function(e,n){return function(r){var i,s=o.endpointDefinitions[e],u=t({queryArgs:n,endpointDefinition:s,endpointName:e});return null==(i=a.get(r))?void 0:i[u]}},getRunningMutationThunk:function(e,t){return function(e){var n;return null==(n=s.get(e))?void 0:n[t]}},getRunningQueriesThunk:function(){return function(e){return Object.values(a.get(e)||{}).filter(K)}},getRunningMutationsThunk:function(){return function(e){return Object.values(s.get(e)||{}).filter(K)}},getRunningOperationPromises:function(){var e=function(e){return Array.from(e.values()).flatMap(function(e){return e?Object.values(e):[]})};return f(f([],e(a)),e(s)).filter(K)},removalWarning:function(){throw new Error("This method had to be removed due to a conceptual bug in RTK.\n Please see https://github.com/reduxjs/redux-toolkit/pull/2481 for details.\n See https://redux-toolkit.js.org/rtk-query/usage/server-side-rendering for new guidance on SSR.")}};function p(e){}}({queryThunk:y,mutationThunk:v,api:e,serializeQueryArgs:u,context:n}),q=U.buildInitiateQuery,H=U.buildInitiateMutation,J=U.getRunningMutationThunk,G=U.getRunningMutationsThunk,Z=U.getRunningQueriesThunk,X=U.getRunningQueryThunk,ee=U.getRunningOperationPromises,ne=U.removalWarning;return _e(e.util,{getRunningOperationPromises:ee,getRunningOperationPromise:ne,getRunningMutationThunk:J,getRunningMutationsThunk:G,getRunningQueryThunk:X,getRunningQueriesThunk:Z}),{name:Se,injectEndpoint:function(t,n){var r,i=e;null!=(r=i.endpoints)[t]||(r[t]={}),$(n)?_e(i.endpoints[t],{name:t,select:P(t,n),initiate:q(t,n)},C(y,t)):n.type===M.mutation&&_e(i.endpoints[t],{name:t,select:D(),initiate:H(t)},C(v,t))}}}}};ke()},65913:(e,t,n)=>{"use strict";n.r(t),n.d(t,{EnhancerArray:()=>z,MiddlewareArray:()=>D,SHOULD_AUTOBATCH:()=>Ge,TaskAbortError:()=>Ie,__DO_NOT_USE__ActionTypes:()=>i.$d,addListener:()=>He,applyMiddleware:()=>i.Tw,autoBatchEnhancer:()=>nt,bindActionCreators:()=>i.zH,clearAllListeners:()=>Ke,combineReducers:()=>i.HY,compose:()=>i.Zz,configureStore:()=>W,createAction:()=>x,createActionCreatorInvariantMiddleware:()=>P,createAsyncThunk:()=>ae,createDraftSafeSelector:()=>S,createEntityAdapter:()=>ee,createImmutableStateInvariantMiddleware:()=>j,createListenerMiddleware:()=>Ve,createNextState:()=>r.Ay,createReducer:()=>K,createSelector:()=>o.createSelector,createSerializableStateInvariantMiddleware:()=>U,createSlice:()=>Q,createStore:()=>i.y$,current:()=>r.ss,findNonSerializableValue:()=>F,freeze:()=>r.CN,getDefaultMiddleware:()=>q,getType:()=>R,isAction:()=>T,isActionCreator:()=>O,isAllOf:()=>le,isAnyOf:()=>ce,isAsyncThunkAction:()=>ye,isDraft:()=>r.Qx,isFluxStandardAction:()=>A,isFulfilled:()=>ge,isImmutableDefault:()=>N,isPending:()=>he,isPlain:()=>L,isPlainObject:()=>C,isRejected:()=>pe,isRejectedWithValue:()=>me,legacy_createStore:()=>i.Yl,miniSerializeError:()=>oe,nanoid:()=>te,original:()=>r.c2,prepareAutoBatched:()=>Ze,removeListener:()=>Qe,unwrapResult:()=>se});var r=n(8229),i=n(5620),o=n(35157);function a(e){return function(t){var n=t.dispatch,r=t.getState;return function(t){return function(i){return"function"===typeof i?i(n,r,e):t(i)}}}}var s=a();s.withExtraArgument=a;const u=s;n(54650);var c=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),l=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},f=function(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e},d=Object.defineProperty,h=Object.defineProperties,p=Object.getOwnPropertyDescriptors,m=Object.getOwnPropertySymbols,g=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable,v=function(e,t,n){return t in e?d(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n},b=function(e,t){for(var n in t||(t={}))g.call(t,n)&&v(e,n,t[n]);if(m)for(var r=0,i=m(t);r<i.length;r++){n=i[r];y.call(t,n)&&v(e,n,t[n])}return e},w=function(e,t){return h(e,p(t))},_=function(e,t,n){return new Promise(function(r,i){var o=function(e){try{s(n.next(e))}catch(t){i(t)}},a=function(e){try{s(n.throw(e))}catch(t){i(t)}},s=function(e){return e.done?r(e.value):Promise.resolve(e.value).then(o,a)};s((n=n.apply(e,t)).next())})},S=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=o.createSelector.apply(void 0,e);return function(e){for(var t=[],i=1;i<arguments.length;i++)t[i-1]=arguments[i];return n.apply(void 0,f([(0,r.Qx)(e)?(0,r.ss)(e):e],t))}},k="undefined"!==typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"===typeof arguments[0]?i.Zz:i.Zz.apply(null,arguments)};"undefined"!==typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__;function C(e){if("object"!==typeof e||null===e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;for(var n=t;null!==Object.getPrototypeOf(n);)n=Object.getPrototypeOf(n);return t===n}var E=function(e){return e&&"function"===typeof e.match};function x(e,t){function n(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];if(t){var i=t.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return b(b({type:e,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:e,payload:n[0]}}return n.toString=function(){return""+e},n.type=e,n.match=function(t){return t.type===e},n}function T(e){return C(e)&&"type"in e}function O(e){return"function"===typeof e&&"type"in e&&E(e)}function A(e){return T(e)&&"string"===typeof e.type&&Object.keys(e).every(I)}function I(e){return["type","payload","error","meta"].indexOf(e)>-1}function R(e){return""+e}function P(e){return void 0===e&&(e={}),function(){return function(e){return function(t){return e(t)}}}}var D=function(e){function t(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i=e.apply(this,n)||this;return Object.setPrototypeOf(i,t.prototype),i}return c(t,e),Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.prototype.concat.apply(this,t)},t.prototype.prepend=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return 1===e.length&&Array.isArray(e[0])?new(t.bind.apply(t,f([void 0],e[0].concat(this)))):new(t.bind.apply(t,f([void 0],e.concat(this))))},t}(Array),z=function(e){function t(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i=e.apply(this,n)||this;return Object.setPrototypeOf(i,t.prototype),i}return c(t,e),Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.prototype.concat.apply(this,t)},t.prototype.prepend=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return 1===e.length&&Array.isArray(e[0])?new(t.bind.apply(t,f([void 0],e[0].concat(this)))):new(t.bind.apply(t,f([void 0],e.concat(this))))},t}(Array);function M(e){return(0,r.a6)(e)?(0,r.Ay)(e,function(){}):e}function N(e){return"object"!==typeof e||null==e||Object.isFrozen(e)}function j(e){return void 0===e&&(e={}),function(){return function(e){return function(t){return e(t)}}}}function L(e){var t=typeof e;return null==e||"string"===t||"boolean"===t||"number"===t||Array.isArray(e)||C(e)}function F(e,t,n,r,i,o){var a;if(void 0===t&&(t=""),void 0===n&&(n=L),void 0===i&&(i=[]),!n(e))return{keyPath:t||"<root>",value:e};if("object"!==typeof e||null===e)return!1;if(null==o?void 0:o.has(e))return!1;for(var s=null!=r?r(e):Object.entries(e),u=i.length>0,c=function(e,s){var c=t?t+"."+e:e;if(u&&i.some(function(e){return e instanceof RegExp?e.test(c):c===e}))return"continue";return n(s)?"object"===typeof s&&(a=F(s,c,n,r,i,o))?{value:a}:void 0:{value:{keyPath:c,value:s}}},l=0,f=s;l<f.length;l++){var d=f[l],h=c(d[0],d[1]);if("object"===typeof h)return h.value}return o&&B(e)&&o.add(e),!1}function B(e){if(!Object.isFrozen(e))return!1;for(var t=0,n=Object.values(e);t<n.length;t++){var r=n[t];if("object"===typeof r&&null!==r&&!B(r))return!1}return!0}function U(e){return void 0===e&&(e={}),function(){return function(e){return function(t){return e(t)}}}}function q(e){void 0===e&&(e={});var t=e.thunk,n=void 0===t||t,r=(e.immutableCheck,e.serializableCheck,e.actionCreatorCheck,new D);return n&&("boolean"===typeof n?r.push(u):r.push(u.withExtraArgument(n.extraArgument))),r}var $=!0;function W(e){var t,n=function(e){return q(e)},r=e||{},o=r.reducer,a=void 0===o?void 0:o,s=r.middleware,u=void 0===s?n():s,c=r.devTools,l=void 0===c||c,d=r.preloadedState,h=void 0===d?void 0:d,p=r.enhancers,m=void 0===p?void 0:p;if("function"===typeof a)t=a;else{if(!C(a))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');t=(0,i.HY)(a)}var g=u;if("function"===typeof g&&(g=g(n),!$&&!Array.isArray(g)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!$&&g.some(function(e){return"function"!==typeof e}))throw new Error("each middleware provided to configureStore must be a function");var y=i.Tw.apply(void 0,g),v=i.Zz;l&&(v=k(b({trace:!$},"object"===typeof l&&l)));var w=new z(y),_=w;Array.isArray(m)?_=f([y],m):"function"===typeof m&&(_=m(w));var S=v.apply(void 0,_);return(0,i.y$)(t,h,S)}function H(e){var t,n={},r=[],i={addCase:function(e,t){var r="string"===typeof e?e:e.type;if(!r)throw new Error("`builder.addCase` cannot be called with an empty action type");if(r in n)throw new Error("`builder.addCase` cannot be called with two reducers for the same action type");return n[r]=t,i},addMatcher:function(e,t){return r.push({matcher:e,reducer:t}),i},addDefaultCase:function(e){return t=e,i}};return e(i),[n,r,t]}function K(e,t,n,i){void 0===n&&(n=[]);var o,a="function"===typeof t?H(t):[t,n,i],s=a[0],u=a[1],c=a[2];if("function"===typeof e)o=function(){return M(e())};else{var l=M(e);o=function(){return l}}function d(e,t){void 0===e&&(e=o());var n=f([s[t.type]],u.filter(function(e){return(0,e.matcher)(t)}).map(function(e){return e.reducer}));return 0===n.filter(function(e){return!!e}).length&&(n=[c]),n.reduce(function(e,n){if(n){var i;if((0,r.Qx)(e))return void 0===(i=n(e,t))?e:i;if((0,r.a6)(e))return(0,r.Ay)(e,function(e){return n(e,t)});if(void 0===(i=n(e,t))){if(null===e)return e;throw Error("A case reducer on a non-draftable value must not return undefined")}return i}return e},e)}return d.getInitialState=o,d}function Q(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");var n,r="function"==typeof e.initialState?e.initialState:M(e.initialState),i=e.reducers||{},o=Object.keys(i),a={},s={},u={};function c(){var t="function"===typeof e.extraReducers?H(e.extraReducers):[e.extraReducers],n=t[0],i=void 0===n?{}:n,o=t[1],a=void 0===o?[]:o,u=t[2],c=void 0===u?void 0:u,l=b(b({},i),s);return K(r,function(e){for(var t in l)e.addCase(t,l[t]);for(var n=0,r=a;n<r.length;n++){var i=r[n];e.addMatcher(i.matcher,i.reducer)}c&&e.addDefaultCase(c)})}return o.forEach(function(e){var n,r,o=i[e],c=t+"/"+e;"reducer"in o?(n=o.reducer,r=o.prepare):n=o,a[e]=n,s[c]=n,u[e]=r?x(c,r):x(c)}),{name:t,reducer:function(e,t){return n||(n=c()),n(e,t)},actions:u,caseReducers:a,getInitialState:function(){return n||(n=c()),n.getInitialState()}}}function Y(e){var t=V(function(t,n){return e(n)});return function(e){return t(e,void 0)}}function V(e){return function(t,n){var i=function(t){A(n)?e(n.payload,t):e(n,t)};return(0,r.Qx)(t)?(i(t),t):(0,r.Ay)(t,i)}}function J(e,t){return t(e)}function G(e){return Array.isArray(e)||(e=Object.values(e)),e}function Z(e,t,n){for(var r=[],i=[],o=0,a=e=G(e);o<a.length;o++){var s=a[o],u=J(s,t);u in n.entities?i.push({id:u,changes:s}):r.push(s)}return[r,i]}function X(e){function t(t,n){var r=J(t,e);r in n.entities||(n.ids.push(r),n.entities[r]=t)}function n(e,n){for(var r=0,i=e=G(e);r<i.length;r++){t(i[r],n)}}function r(t,n){var r=J(t,e);r in n.entities||n.ids.push(r),n.entities[r]=t}function i(e,t){var n=!1;e.forEach(function(e){e in t.entities&&(delete t.entities[e],n=!0)}),n&&(t.ids=t.ids.filter(function(e){return e in t.entities}))}function o(t,n){var r={},i={};if(t.forEach(function(e){e.id in n.entities&&(i[e.id]={id:e.id,changes:b(b({},i[e.id]?i[e.id].changes:null),e.changes)})}),(t=Object.values(i)).length>0){var o=t.filter(function(t){return function(t,n,r){var i=r.entities[n.id],o=Object.assign({},i,n.changes),a=J(o,e),s=a!==n.id;return s&&(t[n.id]=a,delete r.entities[n.id]),r.entities[a]=o,s}(r,t,n)}).length>0;o&&(n.ids=Object.keys(n.entities))}}function a(t,r){var i=Z(t,e,r),a=i[0];o(i[1],r),n(a,r)}return{removeAll:Y(function(e){Object.assign(e,{ids:[],entities:{}})}),addOne:V(t),addMany:V(n),setOne:V(r),setMany:V(function(e,t){for(var n=0,i=e=G(e);n<i.length;n++){r(i[n],t)}}),setAll:V(function(e,t){e=G(e),t.ids=[],t.entities={},n(e,t)}),updateOne:V(function(e,t){return o([e],t)}),updateMany:V(o),upsertOne:V(function(e,t){return a([e],t)}),upsertMany:V(a),removeOne:V(function(e,t){return i([e],t)}),removeMany:V(i)}}function ee(e){void 0===e&&(e={});var t=b({sortComparer:!1,selectId:function(e){return e.id}},e),n=t.selectId,r=t.sortComparer,i={getInitialState:function(e){return void 0===e&&(e={}),Object.assign({ids:[],entities:{}},e)}},o={getSelectors:function(e){var t=function(e){return e.ids},n=function(e){return e.entities},r=S(t,n,function(e,t){return e.map(function(e){return t[e]})}),i=function(e,t){return t},o=function(e,t){return e[t]},a=S(t,function(e){return e.length});if(!e)return{selectIds:t,selectEntities:n,selectAll:r,selectTotal:a,selectById:S(n,i,o)};var s=S(e,n);return{selectIds:S(e,t),selectEntities:s,selectAll:S(e,r),selectTotal:S(e,a),selectById:S(s,i,o)}}},a=r?function(e,t){var n=X(e);function r(t,n){var r=(t=G(t)).filter(function(t){return!(J(t,e)in n.entities)});0!==r.length&&s(r,n)}function i(e,t){0!==(e=G(e)).length&&s(e,t)}function o(t,n){for(var r=!1,i=0,o=t;i<o.length;i++){var a=o[i],s=n.entities[a.id];if(s){r=!0,Object.assign(s,a.changes);var c=e(s);a.id!==c&&(delete n.entities[a.id],n.entities[c]=s)}}r&&u(n)}function a(t,n){var i=Z(t,e,n),a=i[0];o(i[1],n),r(a,n)}function s(t,n){t.forEach(function(t){n.entities[e(t)]=t}),u(n)}function u(n){var r=Object.values(n.entities);r.sort(t);var i=r.map(e);(function(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length&&n<t.length;n++)if(e[n]!==t[n])return!1;return!0})(n.ids,i)||(n.ids=i)}return{removeOne:n.removeOne,removeMany:n.removeMany,removeAll:n.removeAll,addOne:V(function(e,t){return r([e],t)}),updateOne:V(function(e,t){return o([e],t)}),upsertOne:V(function(e,t){return a([e],t)}),setOne:V(function(e,t){return i([e],t)}),setMany:V(i),setAll:V(function(e,t){e=G(e),t.entities={},t.ids=[],r(e,t)}),addMany:V(r),updateMany:V(o),upsertMany:V(a)}}(n,r):X(n);return b(b(b({selectId:n,sortComparer:r},i),o),a)}var te=function(e){void 0===e&&(e=21);for(var t="",n=e;n--;)t+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return t},ne=["name","message","stack","code"],re=function(e,t){this.payload=e,this.meta=t},ie=function(e,t){this.payload=e,this.meta=t},oe=function(e){if("object"===typeof e&&null!==e){for(var t={},n=0,r=ne;n<r.length;n++){var i=r[n];"string"===typeof e[i]&&(t[i]=e[i])}return t}return{message:String(e)}},ae=function(){function e(e,t,n){var r=x(e+"/fulfilled",function(e,t,n,r){return{payload:e,meta:w(b({},r||{}),{arg:n,requestId:t,requestStatus:"fulfilled"})}}),i=x(e+"/pending",function(e,t,n){return{payload:void 0,meta:w(b({},n||{}),{arg:t,requestId:e,requestStatus:"pending"})}}),o=x(e+"/rejected",function(e,t,r,i,o){return{payload:i,error:(n&&n.serializeError||oe)(e||"Rejected"),meta:w(b({},o||{}),{arg:r,requestId:t,rejectedWithValue:!!i,requestStatus:"rejected",aborted:"AbortError"===(null==e?void 0:e.name),condition:"ConditionError"===(null==e?void 0:e.name)})}}),a="undefined"!==typeof AbortController?AbortController:function(){function e(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return e.prototype.abort=function(){0},e}();return Object.assign(function(e){return function(s,u,c){var f,d=(null==n?void 0:n.idGenerator)?n.idGenerator(e):te(),h=new a;function p(e){f=e,h.abort()}var m=function(){return _(this,null,function(){var a,m,g,y,v,b;return l(this,function(l){switch(l.label){case 0:return l.trys.push([0,4,,5]),y=null==(a=null==n?void 0:n.condition)?void 0:a.call(n,e,{getState:u,extra:c}),null===(w=y)||"object"!==typeof w||"function"!==typeof w.then?[3,2]:[4,y];case 1:y=l.sent(),l.label=2;case 2:if(!1===y||h.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return v=new Promise(function(e,t){return h.signal.addEventListener("abort",function(){return t({name:"AbortError",message:f||"Aborted"})})}),s(i(d,e,null==(m=null==n?void 0:n.getPendingMeta)?void 0:m.call(n,{requestId:d,arg:e},{getState:u,extra:c}))),[4,Promise.race([v,Promise.resolve(t(e,{dispatch:s,getState:u,extra:c,requestId:d,signal:h.signal,abort:p,rejectWithValue:function(e,t){return new re(e,t)},fulfillWithValue:function(e,t){return new ie(e,t)}})).then(function(t){if(t instanceof re)throw t;return t instanceof ie?r(t.payload,d,e,t.meta):r(t,d,e)})])];case 3:return g=l.sent(),[3,5];case 4:return b=l.sent(),g=b instanceof re?o(null,d,e,b.payload,b.meta):o(b,d,e),[3,5];case 5:return n&&!n.dispatchConditionRejection&&o.match(g)&&g.meta.condition||s(g),[2,g]}var w})})}();return Object.assign(m,{abort:p,requestId:d,arg:e,unwrap:function(){return m.then(se)}})}},{pending:i,rejected:o,fulfilled:r,typePrefix:e})}return e.withTypes=function(){return e},e}();function se(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}var ue=function(e,t){return E(e)?e.match(t):e(t)};function ce(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){return e.some(function(e){return ue(e,t)})}}function le(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){return e.every(function(e){return ue(e,t)})}}function fe(e,t){if(!e||!e.meta)return!1;var n="string"===typeof e.meta.requestId,r=t.indexOf(e.meta.requestStatus)>-1;return n&&r}function de(e){return"function"===typeof e[0]&&"pending"in e[0]&&"fulfilled"in e[0]&&"rejected"in e[0]}function he(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 0===e.length?function(e){return fe(e,["pending"])}:de(e)?function(t){var n=e.map(function(e){return e.pending});return ce.apply(void 0,n)(t)}:he()(e[0])}function pe(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 0===e.length?function(e){return fe(e,["rejected"])}:de(e)?function(t){var n=e.map(function(e){return e.rejected});return ce.apply(void 0,n)(t)}:pe()(e[0])}function me(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=function(e){return e&&e.meta&&e.meta.rejectedWithValue};return 0===e.length||de(e)?function(t){return le(pe.apply(void 0,e),n)(t)}:me()(e[0])}function ge(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 0===e.length?function(e){return fe(e,["fulfilled"])}:de(e)?function(t){var n=e.map(function(e){return e.fulfilled});return ce.apply(void 0,n)(t)}:ge()(e[0])}function ye(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 0===e.length?function(e){return fe(e,["pending","fulfilled","rejected"])}:de(e)?function(t){for(var n=[],r=0,i=e;r<i.length;r++){var o=i[r];n.push(o.pending,o.rejected,o.fulfilled)}return ce.apply(void 0,n)(t)}:ye()(e[0])}var ve=function(e,t){if("function"!==typeof e)throw new TypeError(t+" is not a function")},be=function(){},we=function(e,t){return void 0===t&&(t=be),e.catch(t),e},_e=function(e,t){return e.addEventListener("abort",t,{once:!0}),function(){return e.removeEventListener("abort",t)}},Se=function(e,t){var n=e.signal;n.aborted||("reason"in n||Object.defineProperty(n,"reason",{enumerable:!0,value:t,configurable:!0,writable:!0}),e.abort(t))},ke="listener",Ce="completed",Ee="cancelled",xe="task-"+Ee,Te="task-"+Ce,Oe=ke+"-"+Ee,Ae=ke+"-"+Ce,Ie=function(e){this.code=e,this.name="TaskAbortError",this.message="task "+Ee+" (reason: "+e+")"},Re=function(e){if(e.aborted)throw new Ie(e.reason)};function Pe(e,t){var n=be;return new Promise(function(r,i){var o=function(){return i(new Ie(e.reason))};e.aborted?o():(n=_e(e,o),t.finally(function(){return n()}).then(r,i))}).finally(function(){n=be})}var De=function(e){return function(t){return we(Pe(e,t).then(function(t){return Re(e),t}))}},ze=function(e){var t=De(e);return function(e){return t(new Promise(function(t){return setTimeout(t,e)}))}},Me=Object.assign,Ne={},je="listenerMiddleware",Le=function(e,t){return function(n,r){ve(n,"taskExecutor");var i,o=new AbortController;i=o,_e(e,function(){return Se(i,e.reason)});var a,s,u=(a=function(){return _(void 0,null,function(){var t;return l(this,function(r){switch(r.label){case 0:return Re(e),Re(o.signal),[4,n({pause:De(o.signal),delay:ze(o.signal),signal:o.signal})];case 1:return t=r.sent(),Re(o.signal),[2,t]}})})},s=function(){return Se(o,Te)},_(void 0,null,function(){var e;return l(this,function(t){switch(t.label){case 0:return t.trys.push([0,3,4,5]),[4,Promise.resolve()];case 1:return t.sent(),[4,a()];case 2:return[2,{status:"ok",value:t.sent()}];case 3:return[2,{status:(e=t.sent())instanceof Ie?"cancelled":"rejected",error:e}];case 4:return null==s||s(),[7];case 5:return[2]}})}));return(null==r?void 0:r.autoJoin)&&t.push(u),{result:De(e)(u),cancel:function(){Se(o,xe)}}}},Fe=function(e,t){return function(n,r){return we(function(n,r){return _(void 0,null,function(){var i,o,a,s;return l(this,function(u){switch(u.label){case 0:Re(t),i=function(){},o=new Promise(function(t,r){var o=e({predicate:n,effect:function(e,n){n.unsubscribe(),t([e,n.getState(),n.getOriginalState()])}});i=function(){o(),r()}}),a=[o],null!=r&&a.push(new Promise(function(e){return setTimeout(e,r,null)})),u.label=1;case 1:return u.trys.push([1,,3,4]),[4,Pe(t,Promise.race(a))];case 2:return s=u.sent(),Re(t),[2,s];case 3:return i(),[7];case 4:return[2]}})})}(n,r))}},Be=function(e){var t=e.type,n=e.actionCreator,r=e.matcher,i=e.predicate,o=e.effect;if(t)i=x(t).match;else if(n)t=n.type,i=n.match;else if(r)i=r;else if(!i)throw new Error("Creating or removing a listener requires one of the known fields for matching an action");return ve(o,"options.listener"),{predicate:i,type:t,effect:o}},Ue=function(e){var t=Be(e),n=t.type,r=t.predicate,i=t.effect;return{id:te(),effect:i,type:n,predicate:r,pending:new Set,unsubscribe:function(){throw new Error("Unsubscribe not initialized")}}},qe=function(e){e.pending.forEach(function(e){Se(e,Oe)})},$e=function(e){return function(){e.forEach(qe),e.clear()}},We=function(e,t,n){try{e(t,n)}catch(r){setTimeout(function(){throw r},0)}},He=x(je+"/add"),Ke=x(je+"/removeAll"),Qe=x(je+"/remove"),Ye=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]};function Ve(e){var t=this;void 0===e&&(e={});var n=new Map,r=e.extra,i=e.onError,o=void 0===i?Ye:i;ve(o,"onError");var a=function(e){for(var t=0,r=Array.from(n.values());t<r.length;t++){var i=r[t];if(e(i))return i}},s=function(e){var t=a(function(t){return t.effect===e.effect});return t||(t=Ue(e)),function(e){return e.unsubscribe=function(){return n.delete(e.id)},n.set(e.id,e),function(t){e.unsubscribe(),(null==t?void 0:t.cancelActive)&&qe(e)}}(t)},u=function(e){var t=Be(e),n=t.type,r=t.effect,i=t.predicate,o=a(function(e){return("string"===typeof n?e.type===n:e.predicate===i)&&e.effect===r});return o&&(o.unsubscribe(),e.cancelActive&&qe(o)),!!o},c=function(e,i,a,u){return _(t,null,function(){var t,c,f,d;return l(this,function(l){switch(l.label){case 0:t=new AbortController,c=Fe(s,t.signal),f=[],l.label=1;case 1:return l.trys.push([1,3,4,6]),e.pending.add(t),[4,Promise.resolve(e.effect(i,Me({},a,{getOriginalState:u,condition:function(e,t){return c(e,t).then(Boolean)},take:c,delay:ze(t.signal),pause:De(t.signal),extra:r,signal:t.signal,fork:Le(t.signal,f),unsubscribe:e.unsubscribe,subscribe:function(){n.set(e.id,e)},cancelActiveListeners:function(){e.pending.forEach(function(e,n,r){e!==t&&(Se(e,Oe),r.delete(e))})}})))];case 2:return l.sent(),[3,6];case 3:return(d=l.sent())instanceof Ie||We(o,d,{raisedBy:"effect"}),[3,6];case 4:return[4,Promise.allSettled(f)];case 5:return l.sent(),Se(t,Ae),e.pending.delete(t),[7];case 6:return[2]}})})},f=$e(n);return{middleware:function(e){return function(t){return function(r){if(!T(r))return t(r);if(He.match(r))return s(r.payload);if(!Ke.match(r)){if(Qe.match(r))return u(r.payload);var i,a=e.getState(),l=function(){if(a===Ne)throw new Error(je+": getOriginalState can only be called synchronously");return a};try{if(i=t(r),n.size>0)for(var d=e.getState(),h=Array.from(n.values()),p=0,m=h;p<m.length;p++){var g=m[p],y=!1;try{y=g.predicate(r,d,a)}catch(v){y=!1,We(o,v,{raisedBy:"predicate"})}y&&c(g,r,e,l)}}finally{a=Ne}return i}f()}}},startListening:s,stopListening:u,clearListeners:f}}var Je,Ge="RTK_autoBatch",Ze=function(){return function(e){var t;return{payload:e,meta:(t={},t[Ge]=!0,t)}}},Xe="function"===typeof queueMicrotask?queueMicrotask.bind("undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:globalThis):function(e){return(Je||(Je=Promise.resolve())).then(e).catch(function(e){return setTimeout(function(){throw e},0)})},et=function(e){return function(t){setTimeout(t,e)}},tt="undefined"!==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame:et(10),nt=function(e){return void 0===e&&(e={type:"raf"}),function(t){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i=t.apply(void 0,n),o=!0,a=!1,s=!1,u=new Set,c="tick"===e.type?Xe:"raf"===e.type?tt:"callback"===e.type?e.queueNotification:et(e.timeout),l=function(){s=!1,a&&(a=!1,u.forEach(function(e){return e()}))};return Object.assign({},i,{subscribe:function(e){var t=i.subscribe(function(){return o&&e()});return u.add(e),function(){t(),u.delete(e)}},dispatch:function(e){var t;try{return o=!(null==(t=null==e?void 0:e.meta)?void 0:t[Ge]),(a=!o)&&(s||(s=!0,c(l))),i.dispatch(e)}finally{o=!0}}})}}};(0,r.rF)()},44301:(e,t)=>{function n(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+e+(n.length?" "+n.map(function(e){return"'"+e+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function r(e){return!!e&&!!e[Y]}function i(e){var t;return!!e&&(function(e){if(!e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object||"function"==typeof n&&Function.toString.call(n)===J}(e)||Array.isArray(e)||!!e[Q]||!!(null===(t=e.constructor)||void 0===t?void 0:t[Q])||f(e)||d(e))}function o(e,t,n){void 0===n&&(n=!1),0===a(e)?(n?Object.keys:G)(e).forEach(function(r){n&&"symbol"==typeof r||t(r,e[r],e)}):e.forEach(function(n,r){return t(r,n,e)})}function a(e){var t=e[Y];return t?t.t>3?t.t-4:t.t:Array.isArray(e)?1:f(e)?2:d(e)?3:0}function s(e,t){return 2===a(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function u(e,t){return 2===a(e)?e.get(t):e[t]}function c(e,t,n){var r=a(e);2===r?e.set(t,n):3===r?e.add(n):e[t]=n}function l(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function f(e){return $&&e instanceof Map}function d(e){return W&&e instanceof Set}function h(e){return e.i||e.u}function p(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Z(e);delete t[Y];for(var n=G(t),r=0;r<n.length;r++){var i=n[r],o=t[i];!1===o.writable&&(o.writable=!0,o.configurable=!0),(o.get||o.set)&&(t[i]={configurable:!0,writable:!0,enumerable:o.enumerable,value:e[i]})}return Object.create(Object.getPrototypeOf(e),t)}function m(e,t){return void 0===t&&(t=!1),y(e)||r(e)||!i(e)||(a(e)>1&&(e.set=e.add=e.clear=e.delete=g),Object.freeze(e),t&&o(e,function(e,t){return m(t,!0)},!0)),e}function g(){n(2)}function y(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function v(e){var t=X[e];return t||n(18,e),t}function b(e,t){X[e]||(X[e]=t)}function w(){return U}function _(e,t){t&&(v("Patches"),e.o=[],e.v=[],e.s=t)}function S(e){k(e),e.p.forEach(E),e.p=null}function k(e){e===U&&(U=e.l)}function C(e){return U={p:[],l:U,h:e,_:!0,m:0}}function E(e){var t=e[Y];0===t.t||1===t.t?t.j():t.O=!0}function x(e,t){t.m=t.p.length;var r=t.p[0],o=void 0!==e&&e!==r;return t.h.S||v("ES5").P(t,e,o),o?(r[Y].g&&(S(t),n(4)),i(e)&&(e=T(t,e),t.l||A(t,e)),t.o&&v("Patches").M(r[Y].u,e,t.o,t.v)):e=T(t,r,[]),S(t),t.o&&t.s(t.o,t.v),e!==K?e:void 0}function T(e,t,n){if(y(t))return t;var r=t[Y];if(!r)return o(t,function(i,o){return O(e,r,t,i,o,n)},!0),t;if(r.A!==e)return t;if(!r.g)return A(e,r.u,!0),r.u;if(!r.R){r.R=!0,r.A.m--;var i=4===r.t||5===r.t?r.i=p(r.k):r.i,a=i,s=!1;3===r.t&&(a=new Set(i),i.clear(),s=!0),o(a,function(t,o){return O(e,r,i,t,o,n,s)}),A(e,i,!1),n&&e.o&&v("Patches").F(r,n,e.o,e.v)}return r.i}function O(e,t,n,o,a,u,l){if(r(a)){var f=T(e,a,u&&t&&3!==t.t&&!s(t.N,o)?u.concat(o):void 0);if(c(n,o,f),!r(f))return;e._=!1}else l&&n.add(a);if(i(a)&&!y(a)){if(!e.h.D&&e.m<1)return;T(e,a),t&&t.A.l||A(e,a)}}function A(e,t,n){void 0===n&&(n=!1),!e.l&&e.h.D&&e._&&m(t,n)}function I(e,t){var n=e[Y];return(n?h(n):e)[t]}function R(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function P(e){e.g||(e.g=!0,e.l&&P(e.l))}function D(e){e.i||(e.i=p(e.u))}function z(e,t,n){var r=f(t)?v("MapSet").K(t,n):d(t)?v("MapSet").$(t,n):e.S?function(e,t){var n=Array.isArray(e),r={t:n?1:0,A:t?t.A:w(),g:!1,R:!1,N:{},l:t,u:e,k:null,i:null,j:null,C:!1},i=r,o=ee;n&&(i=[r],o=te);var a=Proxy.revocable(i,o),s=a.revoke,u=a.proxy;return r.k=u,r.j=s,u}(t,n):v("ES5").I(t,n);return(n?n.A:w()).p.push(r),r}function M(e){return r(e)||n(22,e),function e(t){if(!i(t))return t;var n,r=t[Y],s=a(t);if(r){if(!r.g&&(r.t<4||!v("ES5").J(r)))return r.u;r.R=!0,n=N(t,s),r.R=!1}else n=N(t,s);return o(n,function(t,i){r&&u(r.u,t)===i||c(n,t,e(i))}),3===s?new Set(n):n}(e)}function N(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return p(e)}function j(){function e(e,t){var n=a[e];return n?n.enumerable=t:a[e]=n={configurable:!0,enumerable:t,get:function(){return ee.get(this[Y],e)},set:function(t){ee.set(this[Y],e,t)}},n}function t(e){for(var t=e.length-1;t>=0;t--){var r=e[t][Y];if(!r.g)switch(r.t){case 5:i(r)&&P(r);break;case 4:n(r)&&P(r)}}}function n(e){for(var t=e.u,n=e.k,r=G(n),i=r.length-1;i>=0;i--){var o=r[i];if(o!==Y){var a=t[o];if(void 0===a&&!s(t,o))return!0;var u=n[o],c=u&&u[Y];if(c?c.u!==a:!l(u,a))return!0}}var f=!!t[Y];return r.length!==G(t).length+(f?0:1)}function i(e){var t=e.k;if(t.length!==e.u.length)return!0;var n=Object.getOwnPropertyDescriptor(t,t.length-1);if(n&&!n.get)return!0;for(var r=0;r<t.length;r++)if(!t.hasOwnProperty(r))return!0;return!1}var a={};b("ES5",{I:function(t,n){var r=Array.isArray(t),i=function(t,n){if(t){for(var r=Array(n.length),i=0;i<n.length;i++)Object.defineProperty(r,""+i,e(i,!0));return r}var o=Z(n);delete o[Y];for(var a=G(o),s=0;s<a.length;s++){var u=a[s];o[u]=e(u,t||!!o[u].enumerable)}return Object.create(Object.getPrototypeOf(n),o)}(r,t),o={t:r?5:4,A:n?n.A:w(),g:!1,R:!1,N:{},l:n,u:t,k:i,i:null,O:!1,C:!1};return Object.defineProperty(i,Y,{value:o,writable:!0}),i},P:function(e,n,a){a?r(n)&&n[Y].A===e&&t(e.p):(e.o&&function e(t){if(t&&"object"==typeof t){var n=t[Y];if(n){var r=n.u,a=n.k,u=n.N,c=n.t;if(4===c)o(a,function(t){t!==Y&&(void 0!==r[t]||s(r,t)?u[t]||e(a[t]):(u[t]=!0,P(n)))}),o(r,function(e){void 0!==a[e]||s(a,e)||(u[e]=!1,P(n))});else if(5===c){if(i(n)&&(P(n),u.length=!0),a.length<r.length)for(var l=a.length;l<r.length;l++)u[l]=!1;else for(var f=r.length;f<a.length;f++)u[f]=!0;for(var d=Math.min(a.length,r.length),h=0;h<d;h++)a.hasOwnProperty(h)||(u[h]=!0),void 0===u[h]&&e(a[h])}}}}(e.p[0]),t(e.p))},J:function(e){return 4===e.t?n(e):i(e)}})}function L(){function e(t){if(!i(t))return t;if(Array.isArray(t))return t.map(e);if(f(t))return new Map(Array.from(t.entries()).map(function(t){return[t[0],e(t[1])]}));if(d(t))return new Set(Array.from(t).map(e));var n=Object.create(Object.getPrototypeOf(t));for(var r in t)n[r]=e(t[r]);return s(t,Q)&&(n[Q]=t[Q]),n}function t(t){return r(t)?e(t):t}var c="add";b("Patches",{W:function(t,r){return r.forEach(function(r){for(var i=r.path,o=r.op,s=t,l=0;l<i.length-1;l++){var f=a(s),d=i[l];"string"!=typeof d&&"number"!=typeof d&&(d=""+d),0!==f&&1!==f||"__proto__"!==d&&"constructor"!==d||n(24),"function"==typeof s&&"prototype"===d&&n(24),"object"!=typeof(s=u(s,d))&&n(15,i.join("/"))}var h=a(s),p=e(r.value),m=i[i.length-1];switch(o){case"replace":switch(h){case 2:return s.set(m,p);case 3:n(16);default:return s[m]=p}case c:switch(h){case 1:return"-"===m?s.push(p):s.splice(m,0,p);case 2:return s.set(m,p);case 3:return s.add(p);default:return s[m]=p}case"remove":switch(h){case 1:return s.splice(m,1);case 2:return s.delete(m);case 3:return s.delete(r.value);default:return delete s[m]}default:n(17,o)}}),t},F:function(e,n,r,i){switch(e.t){case 0:case 4:case 2:return function(e,n,r,i){var a=e.u,l=e.i;o(e.N,function(e,o){var f=u(a,e),d=u(l,e),h=o?s(a,e)?"replace":c:"remove";if(f!==d||"replace"!==h){var p=n.concat(e);r.push("remove"===h?{op:h,path:p}:{op:h,path:p,value:d}),i.push(h===c?{op:"remove",path:p}:"remove"===h?{op:c,path:p,value:t(f)}:{op:"replace",path:p,value:t(f)})}})}(e,n,r,i);case 5:case 1:return function(e,n,r,i){var o=e.u,a=e.N,s=e.i;if(s.length<o.length){var u=[s,o];o=u[0],s=u[1];var l=[i,r];r=l[0],i=l[1]}for(var f=0;f<o.length;f++)if(a[f]&&s[f]!==o[f]){var d=n.concat([f]);r.push({op:"replace",path:d,value:t(s[f])}),i.push({op:"replace",path:d,value:t(o[f])})}for(var h=o.length;h<s.length;h++){var p=n.concat([h]);r.push({op:c,path:p,value:t(s[h])})}o.length<s.length&&i.push({op:"replace",path:n.concat(["length"]),value:o.length})}(e,n,r,i);case 3:return function(e,t,n,r){var i=e.u,o=e.i,a=0;i.forEach(function(e){if(!o.has(e)){var i=t.concat([a]);n.push({op:"remove",path:i,value:e}),r.unshift({op:c,path:i,value:e})}a++}),a=0,o.forEach(function(e){if(!i.has(e)){var o=t.concat([a]);n.push({op:c,path:o,value:e}),r.unshift({op:"remove",path:o,value:e})}a++})}(e,n,r,i)}},M:function(e,t,n,r){n.push({op:"replace",path:[],value:t===K?void 0:t}),r.push({op:"replace",path:[],value:e})}})}function F(){function e(e,t){function n(){this.constructor=e}s(e,t),e.prototype=(n.prototype=t.prototype,new n)}function t(e){e.i||(e.N=new Map,e.i=new Map(e.u))}function r(e){e.i||(e.i=new Set,e.u.forEach(function(t){if(i(t)){var n=z(e.A.h,t,e);e.p.set(t,n),e.i.add(n)}else e.i.add(t)}))}function a(e){e.O&&n(3,JSON.stringify(h(e)))}var s=function(e,t){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},u=function(){function n(e,t){return this[Y]={t:2,l:t,A:t?t.A:w(),g:!1,R:!1,i:void 0,N:void 0,u:e,k:this,C:!1,O:!1},this}e(n,Map);var r=n.prototype;return Object.defineProperty(r,"size",{get:function(){return h(this[Y]).size}}),r.has=function(e){return h(this[Y]).has(e)},r.set=function(e,n){var r=this[Y];return a(r),h(r).has(e)&&h(r).get(e)===n||(t(r),P(r),r.N.set(e,!0),r.i.set(e,n),r.N.set(e,!0)),this},r.delete=function(e){if(!this.has(e))return!1;var n=this[Y];return a(n),t(n),P(n),n.u.has(e)?n.N.set(e,!1):n.N.delete(e),n.i.delete(e),!0},r.clear=function(){var e=this[Y];a(e),h(e).size&&(t(e),P(e),e.N=new Map,o(e.u,function(t){e.N.set(t,!1)}),e.i.clear())},r.forEach=function(e,t){var n=this;h(this[Y]).forEach(function(r,i){e.call(t,n.get(i),i,n)})},r.get=function(e){var n=this[Y];a(n);var r=h(n).get(e);if(n.R||!i(r))return r;if(r!==n.u.get(e))return r;var o=z(n.A.h,r,n);return t(n),n.i.set(e,o),o},r.keys=function(){return h(this[Y]).keys()},r.values=function(){var e,t=this,n=this.keys();return(e={})[V]=function(){return t.values()},e.next=function(){var e=n.next();return e.done?e:{done:!1,value:t.get(e.value)}},e},r.entries=function(){var e,t=this,n=this.keys();return(e={})[V]=function(){return t.entries()},e.next=function(){var e=n.next();if(e.done)return e;var r=t.get(e.value);return{done:!1,value:[e.value,r]}},e},r[V]=function(){return this.entries()},n}(),c=function(){function t(e,t){return this[Y]={t:3,l:t,A:t?t.A:w(),g:!1,R:!1,i:void 0,u:e,k:this,p:new Map,O:!1,C:!1},this}e(t,Set);var n=t.prototype;return Object.defineProperty(n,"size",{get:function(){return h(this[Y]).size}}),n.has=function(e){var t=this[Y];return a(t),t.i?!!t.i.has(e)||!(!t.p.has(e)||!t.i.has(t.p.get(e))):t.u.has(e)},n.add=function(e){var t=this[Y];return a(t),this.has(e)||(r(t),P(t),t.i.add(e)),this},n.delete=function(e){if(!this.has(e))return!1;var t=this[Y];return a(t),r(t),P(t),t.i.delete(e)||!!t.p.has(e)&&t.i.delete(t.p.get(e))},n.clear=function(){var e=this[Y];a(e),h(e).size&&(r(e),P(e),e.i.clear())},n.values=function(){var e=this[Y];return a(e),r(e),e.i.values()},n.entries=function(){var e=this[Y];return a(e),r(e),e.i.entries()},n.keys=function(){return this.values()},n[V]=function(){return this.values()},n.forEach=function(e,t){for(var n=this.values(),r=n.next();!r.done;)e.call(t,r.value,r.value,this),r=n.next()},t}();b("MapSet",{K:function(e,t){return new u(e,t)},$:function(e,t){return new c(e,t)}})}var B;Object.defineProperty(t,"__esModule",{value:!0});var U,q="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),$="undefined"!=typeof Map,W="undefined"!=typeof Set,H="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,K=q?Symbol.for("immer-nothing"):((B={})["immer-nothing"]=!0,B),Q=q?Symbol.for("immer-draftable"):"__$immer_draftable",Y=q?Symbol.for("immer-state"):"__$immer_state",V="undefined"!=typeof Symbol&&Symbol.iterator||"@@iterator",J=""+Object.prototype.constructor,G="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Z=Object.getOwnPropertyDescriptors||function(e){var t={};return G(e).forEach(function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)}),t},X={},ee={get:function(e,t){if(t===Y)return e;var n=h(e);if(!s(n,t))return function(e,t,n){var r,i=R(t,n);return i?"value"in i?i.value:null===(r=i.get)||void 0===r?void 0:r.call(e.k):void 0}(e,n,t);var r=n[t];return e.R||!i(r)?r:r===I(e.u,t)?(D(e),e.i[t]=z(e.A.h,r,e)):r},has:function(e,t){return t in h(e)},ownKeys:function(e){return Reflect.ownKeys(h(e))},set:function(e,t,n){var r=R(h(e),t);if(null==r?void 0:r.set)return r.set.call(e.k,n),!0;if(!e.g){var i=I(h(e),t),o=null==i?void 0:i[Y];if(o&&o.u===n)return e.i[t]=n,e.N[t]=!1,!0;if(l(n,i)&&(void 0!==n||s(e.u,t)))return!0;D(e),P(e)}return e.i[t]===n&&(void 0!==n||t in e.i)||Number.isNaN(n)&&Number.isNaN(e.i[t])||(e.i[t]=n,e.N[t]=!0),!0},deleteProperty:function(e,t){return void 0!==I(e.u,t)||t in e.u?(e.N[t]=!1,D(e),P(e)):delete e.N[t],e.i&&delete e.i[t],!0},getOwnPropertyDescriptor:function(e,t){var n=h(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r?{writable:!0,configurable:1!==e.t||"length"!==t,enumerable:r.enumerable,value:n[t]}:r},defineProperty:function(){n(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.u)},setPrototypeOf:function(){n(12)}},te={};o(ee,function(e,t){te[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),te.deleteProperty=function(e,t){return te.set.call(this,e,t,void 0)},te.set=function(e,t,n){return ee.set.call(this,e[0],t,n,e[0])};var ne=function(){function e(e){var t=this;this.S=H,this.D=!0,this.produce=function(e,r,o){if("function"==typeof e&&"function"!=typeof r){var a=r;r=e;var s=t;return function(e){var t=this;void 0===e&&(e=a);for(var n=arguments.length,i=Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];return s.produce(e,function(e){var n;return(n=r).call.apply(n,[t,e].concat(i))})}}var u;if("function"!=typeof r&&n(6),void 0!==o&&"function"!=typeof o&&n(7),i(e)){var c=C(t),l=z(t,e,void 0),f=!0;try{u=r(l),f=!1}finally{f?S(c):k(c)}return"undefined"!=typeof Promise&&u instanceof Promise?u.then(function(e){return _(c,o),x(e,c)},function(e){throw S(c),e}):(_(c,o),x(u,c))}if(!e||"object"!=typeof e){if(void 0===(u=r(e))&&(u=e),u===K&&(u=void 0),t.D&&m(u,!0),o){var d=[],h=[];v("Patches").M(e,u,d,h),o(d,h)}return u}n(21,e)},this.produceWithPatches=function(e,n){if("function"==typeof e)return function(n){for(var r=arguments.length,i=Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];return t.produceWithPatches(n,function(t){return e.apply(void 0,[t].concat(i))})};var r,i,o=t.produce(e,n,function(e,t){r=e,i=t});return"undefined"!=typeof Promise&&o instanceof Promise?o.then(function(e){return[e,r,i]}):[o,r,i]},"boolean"==typeof(null==e?void 0:e.useProxies)&&this.setUseProxies(e.useProxies),"boolean"==typeof(null==e?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze)}var t=e.prototype;return t.createDraft=function(e){i(e)||n(8),r(e)&&(e=M(e));var t=C(this),o=z(this,e,void 0);return o[Y].C=!0,k(t),o},t.finishDraft=function(e,t){var n=(e&&e[Y]).A;return _(n,t),x(void 0,n)},t.setAutoFreeze=function(e){this.D=e},t.setUseProxies=function(e){e&&!H&&n(20),this.S=e},t.applyPatches=function(e,t){var n;for(n=t.length-1;n>=0;n--){var i=t[n];if(0===i.path.length&&"replace"===i.op){e=i.value;break}}n>-1&&(t=t.slice(n+1));var o=v("Patches").W;return r(e)?o(e,t):this.produce(e,function(e){return o(e,t)})},e}(),re=new ne,ie=re.produce,oe=re.produceWithPatches.bind(re),ae=re.setAutoFreeze.bind(re),se=re.setUseProxies.bind(re),ue=re.applyPatches.bind(re),ce=re.createDraft.bind(re),le=re.finishDraft.bind(re);t.Immer=ne,t.applyPatches=ue,t.castDraft=function(e){return e},t.castImmutable=function(e){return e},t.createDraft=ce,t.current=M,t.default=ie,t.enableAllPlugins=function(){j(),F(),L()},t.enableES5=j,t.enableMapSet=F,t.enablePatches=L,t.finishDraft=le,t.freeze=m,t.immerable=Q,t.isDraft=r,t.isDraftable=i,t.nothing=K,t.original=function(e){return r(e)||n(23,e),e[Y].u},t.produce=ie,t.produceWithPatches=oe,t.setAutoFreeze=ae,t.setUseProxies=se},67606:(e,t,n)=>{"use strict";e.exports=n(44301)},90648:(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 i;n.d(t,{AO:()=>f,Gh:()=>j,HS:()=>L,Oi:()=>s,Rr:()=>d,pX:()=>$,pb:()=>I,rc:()=>i,tH:()=>q,ue:()=>m,yD:()=>N,zR:()=>a}),function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(i||(i={}));const o="popstate";function a(e){return void 0===e&&(e={}),h(function(e,t){let{pathname:n,search:r,hash:i}=e.location;return l("",{pathname:n,search:r,hash:i},t.state&&t.state.usr||null,t.state&&t.state.key||"default")},function(e,t){return"string"===typeof t?t:f(t)},null,e)}function s(e,t){if(!1===e||null===e||"undefined"===typeof e)throw new Error(t)}function u(e,t){if(!e)try{throw new Error(t)}catch(n){}}function c(e,t){return{usr:e.state,key:e.key,idx:t}}function l(e,t,n,i){return void 0===n&&(n=null),r({pathname:"string"===typeof e?e:e.pathname,search:"",hash:""},"string"===typeof t?d(t):t,{state:n,key:t&&t.key||i||Math.random().toString(36).substr(2,8)})}function f(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 d(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 h(e,t,n,a){void 0===a&&(a={});let{window:u=document.defaultView,v5Compat:d=!1}=a,h=u.history,p=i.Pop,m=null,g=y();function y(){return(h.state||{idx:null}).idx}function v(){p=i.Pop;let e=y(),t=null==e?null:e-g;g=e,m&&m({action:p,location:w.location,delta:t})}function b(e){let t="null"!==u.location.origin?u.location.origin:u.location.href,n="string"===typeof e?e:f(e);return n=n.replace(/ $/,"%20"),s(t,"No window.location.(origin|href) available to create URL for href: "+n),new URL(n,t)}null==g&&(g=0,h.replaceState(r({},h.state,{idx:g}),""));let w={get action(){return p},get location(){return e(u,h)},listen(e){if(m)throw new Error("A history only accepts one active listener");return u.addEventListener(o,v),m=e,()=>{u.removeEventListener(o,v),m=null}},createHref:e=>t(u,e),createURL:b,encodeLocation(e){let t=b(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){p=i.Push;let r=l(w.location,e,t);n&&n(r,e),g=y()+1;let o=c(r,g),a=w.createHref(r);try{h.pushState(o,"",a)}catch(s){if(s instanceof DOMException&&"DataCloneError"===s.name)throw s;u.location.assign(a)}d&&m&&m({action:p,location:w.location,delta:1})},replace:function(e,t){p=i.Replace;let r=l(w.location,e,t);n&&n(r,e),g=y();let o=c(r,g),a=w.createHref(r);h.replaceState(o,"",a),d&&m&&m({action:p,location:w.location,delta:0})},go:e=>h.go(e)};return w}var p;!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(p||(p={}));new Set(["lazy","caseSensitive","path","id","index","children"]);function m(e,t,n){return void 0===n&&(n="/"),g(e,t,n,!1)}function g(e,t,n,r){let i=I(("string"===typeof t?d(t):t).pathname||"/",n);if(null==i)return null;let o=y(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)))}(o);let a=null;for(let s=0;null==a&&s<o.length;++s){let e=A(i);a=T(o[s],e,r)}return a}function y(e,t,n,r){void 0===t&&(t=[]),void 0===n&&(n=[]),void 0===r&&(r="");let i=(e,i,o)=>{let a={relativePath:void 0===o?e.path||"":o,caseSensitive:!0===e.caseSensitive,childrenIndex:i,route:e};a.relativePath.startsWith("/")&&(s(a.relativePath.startsWith(r),'Absolute route path "'+a.relativePath+'" nested under path "'+r+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),a.relativePath=a.relativePath.slice(r.length));let u=L([r,a.relativePath]),c=n.concat(a);e.children&&e.children.length>0&&(s(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+u+'".'),y(e.children,t,c,u)),(null!=e.path||e.index)&&t.push({path:u,score:x(u,e.index),routesMeta:c})};return e.forEach((e,t)=>{var n;if(""!==e.path&&null!=(n=e.path)&&n.includes("?"))for(let r of v(e.path))i(e,t,r);else i(e,t)}),t}function v(e){let t=e.split("/");if(0===t.length)return[];let[n,...r]=t,i=n.endsWith("?"),o=n.replace(/\?$/,"");if(0===r.length)return i?[o,""]:[o];let a=v(r.join("/")),s=[];return s.push(...a.map(e=>""===e?o:[o,e].join("/"))),i&&s.push(...a),s.map(t=>e.startsWith("/")&&""===t?"/":t)}const b=/^:[\w-]+$/,w=3,_=2,S=1,k=10,C=-2,E=e=>"*"===e;function x(e,t){let n=e.split("/"),r=n.length;return n.some(E)&&(r+=C),t&&(r+=_),n.filter(e=>!E(e)).reduce((e,t)=>e+(b.test(t)?w:""===t?S:k),r)}function T(e,t,n){void 0===n&&(n=!1);let{routesMeta:r}=e,i={},o="/",a=[];for(let s=0;s<r.length;++s){let e=r[s],u=s===r.length-1,c="/"===o?t:t.slice(o.length)||"/",l=O({path:e.relativePath,caseSensitive:e.caseSensitive,end:u},c),f=e.route;if(!l&&u&&n&&!r[r.length-1].route.index&&(l=O({path:e.relativePath,caseSensitive:e.caseSensitive,end:!1},c)),!l)return null;Object.assign(i,l.params),a.push({params:i,pathname:L([o,l.pathname]),pathnameBase:F(L([o,l.pathnameBase])),route:f}),"/"!==l.pathnameBase&&(o=L([o,l.pathnameBase]))}return a}function O(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);u("*"===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=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(e,t,n)=>(r.push({paramName:t,isOptional:null!=n}),n?"/?([^\\/]+)?":"/([^\\/]+)"));e.endsWith("*")?(r.push({paramName:"*"}),i+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":""!==e&&"/"!==e&&(i+="(?:(?=\\/|$))");let o=new RegExp(i,t?void 0:"i");return[o,r]}(e.path,e.caseSensitive,e.end),i=t.match(n);if(!i)return null;let o=i[0],a=o.replace(/(.)\/+$/,"$1"),s=i.slice(1);return{params:r.reduce((e,t,n)=>{let{paramName:r,isOptional:i}=t;if("*"===r){let e=s[n]||"";a=o.slice(0,o.length-e.length).replace(/(.)\/+$/,"$1")}const u=s[n];return e[r]=i&&!u?void 0:(u||"").replace(/%2F/g,"/"),e},{}),pathname:o,pathnameBase:a,pattern:e}}function A(e){try{return e.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(t){return u(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}function I(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)||"/"}const R=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,P=e=>R.test(e);function D(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("/"):"/"}function z(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 M(e){return e.filter((e,t)=>0===t||e.route.path&&e.route.path.length>0)}function N(e,t){let n=M(e);return t?n.map((e,t)=>t===n.length-1?e.pathname:e.pathnameBase):n.map(e=>e.pathnameBase)}function j(e,t,n,i){let o;void 0===i&&(i=!1),"string"===typeof e?o=d(e):(o=r({},e),s(!o.pathname||!o.pathname.includes("?"),z("?","pathname","search",o)),s(!o.pathname||!o.pathname.includes("#"),z("#","pathname","hash",o)),s(!o.search||!o.search.includes("#"),z("#","search","hash",o)));let a,c=""===e||""===o.pathname,l=c?"/":o.pathname;if(null==l)a=n;else{let e=t.length-1;if(!i&&l.startsWith("..")){let t=l.split("/");for(;".."===t[0];)t.shift(),e-=1;o.pathname=t.join("/")}a=e>=0?t[e]:"/"}let f=function(e,t){void 0===t&&(t="/");let n,{pathname:r,search:i="",hash:o=""}="string"===typeof e?d(e):e;if(r)if(P(r))n=r;else{if(r.includes("//")){let e=r;r=r.replace(/\/\/+/g,"/"),u(!1,"Pathnames cannot have embedded double slashes - normalizing "+e+" -> "+r)}n=r.startsWith("/")?D(r.substring(1),"/"):D(r,t)}else n=t;return{pathname:n,search:B(i),hash:U(o)}}(o,a),h=l&&"/"!==l&&l.endsWith("/"),p=(c||"."===l)&&n.endsWith("/");return f.pathname.endsWith("/")||!h&&!p||(f.pathname+="/"),f}const L=e=>e.join("/").replace(/\/\/+/g,"/"),F=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),B=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",U=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";class q extends Error{}function $(e){return null!=e&&"number"===typeof e.status&&"string"===typeof e.statusText&&"boolean"===typeof e.internal&&"data"in e}const W=["post","put","patch","delete"],H=(new Set(W),["get",...W]);new Set(H),new Set([301,302,303,307,308]),new Set([307,308]);Symbol("deferred")},79946:(e,t)=>{"use strict";t.byteLength=function(e){var t=s(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){var t,n,o=s(e),a=o[0],u=o[1],c=new i(function(e,t,n){return 3*(t+n)/4-n}(0,a,u)),l=0,f=u>0?a-4:a;for(n=0;n<f;n+=4)t=r[e.charCodeAt(n)]<<18|r[e.charCodeAt(n+1)]<<12|r[e.charCodeAt(n+2)]<<6|r[e.charCodeAt(n+3)],c[l++]=t>>16&255,c[l++]=t>>8&255,c[l++]=255&t;2===u&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,c[l++]=255&t);1===u&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,c[l++]=t>>8&255,c[l++]=255&t);return c},t.fromByteArray=function(e){for(var t,r=e.length,i=r%3,o=[],a=16383,s=0,u=r-i;s<u;s+=a)o.push(c(e,s,s+a>u?u:s+a));1===i?(t=e[r-1],o.push(n[t>>2]+n[t<<4&63]+"==")):2===i&&(t=(e[r-2]<<8)+e[r-1],o.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"="));return o.join("")};for(var n=[],r=[],i="undefined"!==typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0;a<64;++a)n[a]=o[a],r[o.charCodeAt(a)]=a;function s(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function u(e){return n[e>>18&63]+n[e>>12&63]+n[e>>6&63]+n[63&e]}function c(e,t,n){for(var r,i=[],o=t;o<n;o+=3)r=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(255&e[o+2]),i.push(u(r));return i.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},91691:(e,t,n)=>{"use strict";const r=n(79946),i=n(13935),o="function"===typeof Symbol&&"function"===typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=u,t.SlowBuffer=function(e){+e!=e&&(e=0);return u.alloc(+e)},t.INSPECT_MAX_BYTES=50;const a=2147483647;function s(e){if(e>a)throw new RangeError('The value "'+e+'" is invalid for option "size"');const t=new Uint8Array(e);return Object.setPrototypeOf(t,u.prototype),t}function u(e,t,n){if("number"===typeof e){if("string"===typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return f(e)}return c(e,t,n)}function c(e,t,n){if("string"===typeof e)return function(e,t){"string"===typeof t&&""!==t||(t="utf8");if(!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);const n=0|m(e,t);let r=s(n);const i=r.write(e,t);i!==n&&(r=r.slice(0,i));return r}(e,t);if(ArrayBuffer.isView(e))return function(e){if(V(e,Uint8Array)){const t=new Uint8Array(e);return h(t.buffer,t.byteOffset,t.byteLength)}return d(e)}(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(V(e,ArrayBuffer)||e&&V(e.buffer,ArrayBuffer))return h(e,t,n);if("undefined"!==typeof SharedArrayBuffer&&(V(e,SharedArrayBuffer)||e&&V(e.buffer,SharedArrayBuffer)))return h(e,t,n);if("number"===typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');const r=e.valueOf&&e.valueOf();if(null!=r&&r!==e)return u.from(r,t,n);const i=function(e){if(u.isBuffer(e)){const t=0|p(e.length),n=s(t);return 0===n.length||e.copy(n,0,0,t),n}if(void 0!==e.length)return"number"!==typeof e.length||J(e.length)?s(0):d(e);if("Buffer"===e.type&&Array.isArray(e.data))return d(e.data)}(e);if(i)return i;if("undefined"!==typeof Symbol&&null!=Symbol.toPrimitive&&"function"===typeof e[Symbol.toPrimitive])return u.from(e[Symbol.toPrimitive]("string"),t,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function l(e){if("number"!==typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function f(e){return l(e),s(e<0?0:0|p(e))}function d(e){const t=e.length<0?0:0|p(e.length),n=s(t);for(let r=0;r<t;r+=1)n[r]=255&e[r];return n}function h(e,t,n){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(n||0))throw new RangeError('"length" is outside of buffer bounds');let r;return r=void 0===t&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,t):new Uint8Array(e,t,n),Object.setPrototypeOf(r,u.prototype),r}function p(e){if(e>=a)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return 0|e}function m(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||V(e,ArrayBuffer))return e.byteLength;if("string"!==typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);const n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;let i=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return K(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return Q(e).length;default:if(i)return r?-1:K(e).length;t=(""+t).toLowerCase(),i=!0}}function g(e,t,n){let r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return I(this,t,n);case"utf8":case"utf-8":return x(this,t,n);case"ascii":return O(this,t,n);case"latin1":case"binary":return A(this,t,n);case"base64":return E(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return R(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function y(e,t,n){const r=e[t];e[t]=e[n],e[n]=r}function v(e,t,n,r,i){if(0===e.length)return-1;if("string"===typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),J(n=+n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"===typeof t&&(t=u.from(t,r)),u.isBuffer(t))return 0===t.length?-1:b(e,t,n,r,i);if("number"===typeof t)return t&=255,"function"===typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):b(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function b(e,t,n,r,i){let o,a=1,s=e.length,u=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,u/=2,n/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){let r=-1;for(o=n;o<s;o++)if(c(e,o)===c(t,-1===r?0:o-r)){if(-1===r&&(r=o),o-r+1===u)return r*a}else-1!==r&&(o-=o-r),r=-1}else for(n+u>s&&(n=s-u),o=n;o>=0;o--){let n=!0;for(let r=0;r<u;r++)if(c(e,o+r)!==c(t,r)){n=!1;break}if(n)return o}return-1}function w(e,t,n,r){n=Number(n)||0;const i=e.length-n;r?(r=Number(r))>i&&(r=i):r=i;const o=t.length;let a;for(r>o/2&&(r=o/2),a=0;a<r;++a){const r=parseInt(t.substr(2*a,2),16);if(J(r))return a;e[n+a]=r}return a}function _(e,t,n,r){return Y(K(t,e.length-n),e,n,r)}function S(e,t,n,r){return Y(function(e){const t=[];for(let n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function k(e,t,n,r){return Y(Q(t),e,n,r)}function C(e,t,n,r){return Y(function(e,t){let n,r,i;const o=[];for(let a=0;a<e.length&&!((t-=2)<0);++a)n=e.charCodeAt(a),r=n>>8,i=n%256,o.push(i),o.push(r);return o}(t,e.length-n),e,n,r)}function E(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function x(e,t,n){n=Math.min(e.length,n);const r=[];let i=t;for(;i<n;){const t=e[i];let o=null,a=t>239?4:t>223?3:t>191?2:1;if(i+a<=n){let n,r,s,u;switch(a){case 1:t<128&&(o=t);break;case 2:n=e[i+1],128===(192&n)&&(u=(31&t)<<6|63&n,u>127&&(o=u));break;case 3:n=e[i+1],r=e[i+2],128===(192&n)&&128===(192&r)&&(u=(15&t)<<12|(63&n)<<6|63&r,u>2047&&(u<55296||u>57343)&&(o=u));break;case 4:n=e[i+1],r=e[i+2],s=e[i+3],128===(192&n)&&128===(192&r)&&128===(192&s)&&(u=(15&t)<<18|(63&n)<<12|(63&r)<<6|63&s,u>65535&&u<1114112&&(o=u))}}null===o?(o=65533,a=1):o>65535&&(o-=65536,r.push(o>>>10&1023|55296),o=56320|1023&o),r.push(o),i+=a}return function(e){const t=e.length;if(t<=T)return String.fromCharCode.apply(String,e);let n="",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=T));return n}(r)}t.kMaxLength=a,u.TYPED_ARRAY_SUPPORT=function(){try{const e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),!u.TYPED_ARRAY_SUPPORT&&"undefined"!==typeof console&&console.error,Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.buffer}}),Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.byteOffset}}),u.poolSize=8192,u.from=function(e,t,n){return c(e,t,n)},Object.setPrototypeOf(u.prototype,Uint8Array.prototype),Object.setPrototypeOf(u,Uint8Array),u.alloc=function(e,t,n){return function(e,t,n){return l(e),e<=0?s(e):void 0!==t?"string"===typeof n?s(e).fill(t,n):s(e).fill(t):s(e)}(e,t,n)},u.allocUnsafe=function(e){return f(e)},u.allocUnsafeSlow=function(e){return f(e)},u.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==u.prototype},u.compare=function(e,t){if(V(e,Uint8Array)&&(e=u.from(e,e.offset,e.byteLength)),V(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),!u.isBuffer(e)||!u.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;let n=e.length,r=t.length;for(let i=0,o=Math.min(n,r);i<o;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0},u.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return u.alloc(0);let n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;const r=u.allocUnsafe(t);let i=0;for(n=0;n<e.length;++n){let t=e[n];if(V(t,Uint8Array))i+t.length>r.length?(u.isBuffer(t)||(t=u.from(t)),t.copy(r,i)):Uint8Array.prototype.set.call(r,t,i);else{if(!u.isBuffer(t))throw new TypeError('"list" argument must be an Array of Buffers');t.copy(r,i)}i+=t.length}return r},u.byteLength=m,u.prototype._isBuffer=!0,u.prototype.swap16=function(){const e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;t<e;t+=2)y(this,t,t+1);return this},u.prototype.swap32=function(){const e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let t=0;t<e;t+=4)y(this,t,t+3),y(this,t+1,t+2);return this},u.prototype.swap64=function(){const e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let t=0;t<e;t+=8)y(this,t,t+7),y(this,t+1,t+6),y(this,t+2,t+5),y(this,t+3,t+4);return this},u.prototype.toString=function(){const e=this.length;return 0===e?"":0===arguments.length?x(this,0,e):g.apply(this,arguments)},u.prototype.toLocaleString=u.prototype.toString,u.prototype.equals=function(e){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===u.compare(this,e)},u.prototype.inspect=function(){let e="";const n=t.INSPECT_MAX_BYTES;return e=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(e+=" ... "),"<Buffer "+e+">"},o&&(u.prototype[o]=u.prototype.inspect),u.prototype.compare=function(e,t,n,r,i){if(V(e,Uint8Array)&&(e=u.from(e,e.offset,e.byteLength)),!u.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;let o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0);const s=Math.min(o,a),c=this.slice(r,i),l=e.slice(t,n);for(let u=0;u<s;++u)if(c[u]!==l[u]){o=c[u],a=l[u];break}return o<a?-1:a<o?1:0},u.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},u.prototype.indexOf=function(e,t,n){return v(this,e,t,n,!0)},u.prototype.lastIndexOf=function(e,t,n){return v(this,e,t,n,!1)},u.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"===typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}const i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");let o=!1;for(;;)switch(r){case"hex":return w(this,e,t,n);case"utf8":case"utf-8":return _(this,e,t,n);case"ascii":case"latin1":case"binary":return S(this,e,t,n);case"base64":return k(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const T=4096;function O(e,t,n){let r="";n=Math.min(e.length,n);for(let i=t;i<n;++i)r+=String.fromCharCode(127&e[i]);return r}function A(e,t,n){let r="";n=Math.min(e.length,n);for(let i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}function I(e,t,n){const r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);let i="";for(let o=t;o<n;++o)i+=G[e[o]];return i}function R(e,t,n){const r=e.slice(t,n);let i="";for(let o=0;o<r.length-1;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function P(e,t,n){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function D(e,t,n,r,i,o){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function z(e,t,n,r,i){q(t,r,i,e,n,7);let o=Number(t&BigInt(4294967295));e[n++]=o,o>>=8,e[n++]=o,o>>=8,e[n++]=o,o>>=8,e[n++]=o;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,n}function M(e,t,n,r,i){q(t,r,i,e,n,7);let o=Number(t&BigInt(4294967295));e[n+7]=o,o>>=8,e[n+6]=o,o>>=8,e[n+5]=o,o>>=8,e[n+4]=o;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[n+3]=a,a>>=8,e[n+2]=a,a>>=8,e[n+1]=a,a>>=8,e[n]=a,n+8}function N(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function j(e,t,n,r,o){return t=+t,n>>>=0,o||N(e,0,n,4),i.write(e,t,n,r,23,4),n+4}function L(e,t,n,r,o){return t=+t,n>>>=0,o||N(e,0,n,8),i.write(e,t,n,r,52,8),n+8}u.prototype.slice=function(e,t){const n=this.length;(e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e);const r=this.subarray(e,t);return Object.setPrototypeOf(r,u.prototype),r},u.prototype.readUintLE=u.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||P(e,t,this.length);let r=this[e],i=1,o=0;for(;++o<t&&(i*=256);)r+=this[e+o]*i;return r},u.prototype.readUintBE=u.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,n||P(e,t,this.length);let r=this[e+--t],i=1;for(;t>0&&(i*=256);)r+=this[e+--t]*i;return r},u.prototype.readUint8=u.prototype.readUInt8=function(e,t){return e>>>=0,t||P(e,1,this.length),this[e]},u.prototype.readUint16LE=u.prototype.readUInt16LE=function(e,t){return e>>>=0,t||P(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUint16BE=u.prototype.readUInt16BE=function(e,t){return e>>>=0,t||P(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUint32LE=u.prototype.readUInt32LE=function(e,t){return e>>>=0,t||P(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUint32BE=u.prototype.readUInt32BE=function(e,t){return e>>>=0,t||P(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readBigUInt64LE=Z(function(e){$(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||W(e,this.length-8);const r=t+256*this[++e]+65536*this[++e]+this[++e]*2**24,i=this[++e]+256*this[++e]+65536*this[++e]+n*2**24;return BigInt(r)+(BigInt(i)<<BigInt(32))}),u.prototype.readBigUInt64BE=Z(function(e){$(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||W(e,this.length-8);const r=t*2**24+65536*this[++e]+256*this[++e]+this[++e],i=this[++e]*2**24+65536*this[++e]+256*this[++e]+n;return(BigInt(r)<<BigInt(32))+BigInt(i)}),u.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||P(e,t,this.length);let r=this[e],i=1,o=0;for(;++o<t&&(i*=256);)r+=this[e+o]*i;return i*=128,r>=i&&(r-=Math.pow(2,8*t)),r},u.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||P(e,t,this.length);let r=t,i=1,o=this[e+--r];for(;r>0&&(i*=256);)o+=this[e+--r]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*t)),o},u.prototype.readInt8=function(e,t){return e>>>=0,t||P(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){e>>>=0,t||P(e,2,this.length);const n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt16BE=function(e,t){e>>>=0,t||P(e,2,this.length);const n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt32LE=function(e,t){return e>>>=0,t||P(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return e>>>=0,t||P(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readBigInt64LE=Z(function(e){$(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||W(e,this.length-8);const r=this[e+4]+256*this[e+5]+65536*this[e+6]+(n<<24);return(BigInt(r)<<BigInt(32))+BigInt(t+256*this[++e]+65536*this[++e]+this[++e]*2**24)}),u.prototype.readBigInt64BE=Z(function(e){$(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||W(e,this.length-8);const r=(t<<24)+65536*this[++e]+256*this[++e]+this[++e];return(BigInt(r)<<BigInt(32))+BigInt(this[++e]*2**24+65536*this[++e]+256*this[++e]+n)}),u.prototype.readFloatLE=function(e,t){return e>>>=0,t||P(e,4,this.length),i.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return e>>>=0,t||P(e,4,this.length),i.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return e>>>=0,t||P(e,8,this.length),i.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return e>>>=0,t||P(e,8,this.length),i.read(this,e,!1,52,8)},u.prototype.writeUintLE=u.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){D(this,e,t,n,Math.pow(2,8*n)-1,0)}let i=1,o=0;for(this[t]=255&e;++o<n&&(i*=256);)this[t+o]=e/i&255;return t+n},u.prototype.writeUintBE=u.prototype.writeUIntBE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){D(this,e,t,n,Math.pow(2,8*n)-1,0)}let i=n-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+n},u.prototype.writeUint8=u.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||D(this,e,t,1,255,0),this[t]=255&e,t+1},u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||D(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||D(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||D(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||D(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},u.prototype.writeBigUInt64LE=Z(function(e,t=0){return z(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),u.prototype.writeBigUInt64BE=Z(function(e,t=0){return M(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),u.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){const r=Math.pow(2,8*n-1);D(this,e,t,n,r-1,-r)}let i=0,o=1,a=0;for(this[t]=255&e;++i<n&&(o*=256);)e<0&&0===a&&0!==this[t+i-1]&&(a=1),this[t+i]=(e/o|0)-a&255;return t+n},u.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){const r=Math.pow(2,8*n-1);D(this,e,t,n,r-1,-r)}let i=n-1,o=1,a=0;for(this[t+i]=255&e;--i>=0&&(o*=256);)e<0&&0===a&&0!==this[t+i+1]&&(a=1),this[t+i]=(e/o|0)-a&255;return t+n},u.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||D(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||D(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},u.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||D(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},u.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||D(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},u.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||D(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},u.prototype.writeBigInt64LE=Z(function(e,t=0){return z(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),u.prototype.writeBigInt64BE=Z(function(e,t=0){return M(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),u.prototype.writeFloatLE=function(e,t,n){return j(this,e,t,!0,n)},u.prototype.writeFloatBE=function(e,t,n){return j(this,e,t,!1,n)},u.prototype.writeDoubleLE=function(e,t,n){return L(this,e,t,!0,n)},u.prototype.writeDoubleBE=function(e,t,n){return L(this,e,t,!1,n)},u.prototype.copy=function(e,t,n,r){if(!u.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);const i=r-n;return this===e&&"function"===typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,n,r):Uint8Array.prototype.set.call(e,this.subarray(n,r),t),i},u.prototype.fill=function(e,t,n,r){if("string"===typeof e){if("string"===typeof t?(r=t,t=0,n=this.length):"string"===typeof n&&(r=n,n=this.length),void 0!==r&&"string"!==typeof r)throw new TypeError("encoding must be a string");if("string"===typeof r&&!u.isEncoding(r))throw new TypeError("Unknown encoding: "+r);if(1===e.length){const t=e.charCodeAt(0);("utf8"===r&&t<128||"latin1"===r)&&(e=t)}}else"number"===typeof e?e&=255:"boolean"===typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;let i;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"===typeof e)for(i=t;i<n;++i)this[i]=e;else{const o=u.isBuffer(e)?e:u.from(e,r),a=o.length;if(0===a)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<n-t;++i)this[i+t]=o[i%a]}return this};const F={};function B(e,t,n){F[e]=class extends n{constructor(){super(),Object.defineProperty(this,"message",{value:t.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${e}]`,this.stack,delete this.name}get code(){return e}set code(e){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:e,writable:!0})}toString(){return`${this.name} [${e}]: ${this.message}`}}}function U(e){let t="",n=e.length;const r="-"===e[0]?1:0;for(;n>=r+4;n-=3)t=`_${e.slice(n-3,n)}${t}`;return`${e.slice(0,n)}${t}`}function q(e,t,n,r,i,o){if(e>n||e<t){const r="bigint"===typeof t?"n":"";let i;throw i=o>3?0===t||t===BigInt(0)?`>= 0${r} and < 2${r} ** ${8*(o+1)}${r}`:`>= -(2${r} ** ${8*(o+1)-1}${r}) and < 2 ** ${8*(o+1)-1}${r}`:`>= ${t}${r} and <= ${n}${r}`,new F.ERR_OUT_OF_RANGE("value",i,e)}!function(e,t,n){$(t,"offset"),void 0!==e[t]&&void 0!==e[t+n]||W(t,e.length-(n+1))}(r,i,o)}function $(e,t){if("number"!==typeof e)throw new F.ERR_INVALID_ARG_TYPE(t,"number",e)}function W(e,t,n){if(Math.floor(e)!==e)throw $(e,n),new F.ERR_OUT_OF_RANGE(n||"offset","an integer",e);if(t<0)throw new F.ERR_BUFFER_OUT_OF_BOUNDS;throw new F.ERR_OUT_OF_RANGE(n||"offset",`>= ${n?1:0} and <= ${t}`,e)}B("ERR_BUFFER_OUT_OF_BOUNDS",function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),B("ERR_INVALID_ARG_TYPE",function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`},TypeError),B("ERR_OUT_OF_RANGE",function(e,t,n){let r=`The value of "${e}" is out of range.`,i=n;return Number.isInteger(n)&&Math.abs(n)>2**32?i=U(String(n)):"bigint"===typeof n&&(i=String(n),(n>BigInt(2)**BigInt(32)||n<-(BigInt(2)**BigInt(32)))&&(i=U(i)),i+="n"),r+=` It must be ${t}. Received ${i}`,r},RangeError);const H=/[^+/0-9A-Za-z-_]/g;function K(e,t){let n;t=t||1/0;const r=e.length;let i=null;const o=[];for(let a=0;a<r;++a){if(n=e.charCodeAt(a),n>55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function Q(e){return r.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(H,"")).length<2)return"";for(;e.length%4!==0;)e+="=";return e}(e))}function Y(e,t,n,r){let i;for(i=0;i<r&&!(i+n>=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function V(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function J(e){return e!==e}const G=function(){const e="0123456789abcdef",t=new Array(256);for(let n=0;n<16;++n){const r=16*n;for(let i=0;i<16;++i)t[r+i]=e[n]+e[i]}return t}();function Z(e){return"undefined"===typeof BigInt?X:e}function X(){throw new Error("BigInt not supported")}},22403:(e,t,n)=>{"use strict";function r(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}n.d(t,{A:()=>r})},74291:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});Math.pow(10,8);var r=6e4,i=36e5,o=n(22403);function a(e,t){var n;(0,o.A)(1,arguments);var a=function(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}(null!==(n=null===t||void 0===t?void 0:t.additionalDigits)&&void 0!==n?n:2);if(2!==a&&1!==a&&0!==a)throw new RangeError("additionalDigits must be 0, 1 or 2");if("string"!==typeof e&&"[object String]"!==Object.prototype.toString.call(e))return new Date(NaN);var m,g=function(e){var t,n={},r=e.split(s.dateTimeDelimiter);if(r.length>2)return n;/:/.test(r[0])?t=r[0]:(n.date=r[0],t=r[1],s.timeZoneDelimiter.test(n.date)&&(n.date=e.split(s.timeZoneDelimiter)[0],t=e.substr(n.date.length,e.length)));if(t){var i=s.timezone.exec(t);i?(n.time=t.replace(i[1],""),n.timezone=i[1]):n.time=t}return n}(e);if(g.date){var y=function(e,t){var n=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),r=e.match(n);if(!r)return{year:NaN,restDateString:""};var i=r[1]?parseInt(r[1]):null,o=r[2]?parseInt(r[2]):null;return{year:null===o?i:100*o,restDateString:e.slice((r[1]||r[2]).length)}}(g.date,a);m=function(e,t){if(null===t)return new Date(NaN);var n=e.match(u);if(!n)return new Date(NaN);var r=!!n[4],i=f(n[1]),o=f(n[2])-1,a=f(n[3]),s=f(n[4]),c=f(n[5])-1;if(r)return function(e,t,n){return t>=1&&t<=53&&n>=0&&n<=6}(0,s,c)?function(e,t,n){var r=new Date(0);r.setUTCFullYear(e,0,4);var i=r.getUTCDay()||7,o=7*(t-1)+n+1-i;return r.setUTCDate(r.getUTCDate()+o),r}(t,s,c):new Date(NaN);var l=new Date(0);return function(e,t,n){return t>=0&&t<=11&&n>=1&&n<=(h[t]||(p(e)?29:28))}(t,o,a)&&function(e,t){return t>=1&&t<=(p(e)?366:365)}(t,i)?(l.setUTCFullYear(t,o,Math.max(i,a)),l):new Date(NaN)}(y.restDateString,y.year)}if(!m||isNaN(m.getTime()))return new Date(NaN);var v,b=m.getTime(),w=0;if(g.time&&(w=function(e){var t=e.match(c);if(!t)return NaN;var n=d(t[1]),o=d(t[2]),a=d(t[3]);if(!function(e,t,n){if(24===e)return 0===t&&0===n;return n>=0&&n<60&&t>=0&&t<60&&e>=0&&e<25}(n,o,a))return NaN;return n*i+o*r+1e3*a}(g.time),isNaN(w)))return new Date(NaN);if(!g.timezone){var _=new Date(b+w),S=new Date(0);return S.setFullYear(_.getUTCFullYear(),_.getUTCMonth(),_.getUTCDate()),S.setHours(_.getUTCHours(),_.getUTCMinutes(),_.getUTCSeconds(),_.getUTCMilliseconds()),S}return v=function(e){if("Z"===e)return 0;var t=e.match(l);if(!t)return 0;var n="+"===t[1]?-1:1,o=parseInt(t[2]),a=t[3]&&parseInt(t[3])||0;if(!function(e,t){return t>=0&&t<=59}(0,a))return NaN;return n*(o*i+a*r)}(g.timezone),isNaN(v)?new Date(NaN):new Date(b+w+v)}var s={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},u=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,c=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,l=/^([+-])(\d{2})(?::?(\d{2}))?$/;function f(e){return e?parseInt(e):1}function d(e){return e&&parseFloat(e.replace(",","."))||0}var h=[31,null,31,30,31,30,31,31,30,31,30,31];function p(e){return e%400===0||e%4===0&&e%100!==0}},90197:function(e,t){var n,r,i;!function(o){"use strict";var a=o.setTimeout,s=o.clearTimeout,u=o.XMLHttpRequest,c=o.XDomainRequest,l=o.ActiveXObject,f=o.EventSource,d=o.document,h=o.Promise,p=o.fetch,m=o.Response,g=o.TextDecoder,y=o.TextEncoder,v=o.AbortController;if("undefined"===typeof window||"undefined"===typeof d||"readyState"in d||null!=d.body||(d.readyState="loading",window.addEventListener("load",function(e){d.readyState="complete"},!1)),null==u&&null!=l&&(u=function(){return new l("Microsoft.XMLHTTP")}),void 0==Object.create&&(Object.create=function(e){function t(){}return t.prototype=e,new t}),Date.now||(Date.now=function(){return(new Date).getTime()}),void 0==v){var b=p;p=function(e,t){var n=t.signal;return b(e,{headers:t.headers,credentials:t.credentials,cache:t.cache}).then(function(e){var t=e.body.getReader();return n._reader=t,n._aborted&&n._reader.cancel(),{status:e.status,statusText:e.statusText,headers:e.headers,body:{getReader:function(){return t}}}})},v=function(){this.signal={_reader:null,_aborted:!1},this.abort=function(){null!=this.signal._reader&&this.signal._reader.cancel(),this.signal._aborted=!0}}}function w(){this.bitsNeeded=0,this.codePoint=0}w.prototype.decode=function(e){function t(e,t,n){if(1===n)return e>=128>>t&&e<<t<=2047;if(2===n)return e>=2048>>t&&e<<t<=55295||e>=57344>>t&&e<<t<=65535;if(3===n)return e>=65536>>t&&e<<t<=1114111;throw new Error}function n(e,t){if(6===e)return t>>6>15?3:t>31?2:1;if(12===e)return t>15?3:2;if(18===e)return 3;throw new Error}for(var r=65533,i="",o=this.bitsNeeded,a=this.codePoint,s=0;s<e.length;s+=1){var u=e[s];0!==o&&(u<128||u>191||!t(a<<6|63&u,o-6,n(o,a)))&&(o=0,a=r,i+=String.fromCharCode(a)),0===o?(u>=0&&u<=127?(o=0,a=u):u>=192&&u<=223?(o=6,a=31&u):u>=224&&u<=239?(o=12,a=15&u):u>=240&&u<=247?(o=18,a=7&u):(o=0,a=r),0===o||t(a,o,n(o,a))||(o=0,a=r)):(o-=6,a=a<<6|63&u),0===o&&(a<=65535?i+=String.fromCharCode(a):(i+=String.fromCharCode(55296+(a-65535-1>>10)),i+=String.fromCharCode(56320+(a-65535-1&1023))))}return this.bitsNeeded=o,this.codePoint=a,i};void 0!=g&&void 0!=y&&function(){try{return"test"===(new g).decode((new y).encode("test"),{stream:!0})}catch(e){}return!1}()||(g=w);var _=function(){};function S(e){this.withCredentials=!1,this.readyState=0,this.status=0,this.statusText="",this.responseText="",this.onprogress=_,this.onload=_,this.onerror=_,this.onreadystatechange=_,this._contentType="",this._xhr=e,this._sendTimeout=0,this._abort=_}function k(e){return e.replace(/[A-Z]/g,function(e){return String.fromCharCode(e.charCodeAt(0)+32)})}function C(e){for(var t=Object.create(null),n=e.split("\r\n"),r=0;r<n.length;r+=1){var i=n[r].split(": "),o=i.shift(),a=i.join(": ");t[k(o)]=a}this._map=t}function E(){}function x(e){this._headers=e}function T(){}function O(){this._listeners=Object.create(null)}function A(e){a(function(){throw e},0)}function I(e){this.type=e,this.target=void 0}function R(e,t){I.call(this,e),this.data=t.data,this.lastEventId=t.lastEventId}function P(e,t){I.call(this,e),this.status=t.status,this.statusText=t.statusText,this.headers=t.headers}function D(e,t){I.call(this,e),this.error=t.error}S.prototype.open=function(e,t){this._abort(!0);var n=this,r=this._xhr,i=1,o=0;this._abort=function(e){0!==n._sendTimeout&&(s(n._sendTimeout),n._sendTimeout=0),1!==i&&2!==i&&3!==i||(i=4,r.onload=_,r.onerror=_,r.onabort=_,r.onprogress=_,r.onreadystatechange=_,r.abort(),0!==o&&(s(o),o=0),e||(n.readyState=4,n.onabort(null),n.onreadystatechange())),i=0};var c=function(){if(1===i){var e=0,t="",o=void 0;if("contentType"in r)e=200,t="OK",o=r.contentType;else try{e=r.status,t=r.statusText,o=r.getResponseHeader("Content-Type")}catch(a){e=0,t="",o=void 0}0!==e&&(i=2,n.readyState=2,n.status=e,n.statusText=t,n._contentType=o,n.onreadystatechange())}},l=function(){if(c(),2===i||3===i){i=3;var e="";try{e=r.responseText}catch(t){}n.readyState=3,n.responseText=e,n.onprogress()}},f=function(e,t){if(null!=t&&null!=t.preventDefault||(t={preventDefault:_}),l(),1===i||2===i||3===i){if(i=4,0!==o&&(s(o),o=0),n.readyState=4,"load"===e)n.onload(t);else if("error"===e)n.onerror(t);else{if("abort"!==e)throw new TypeError;n.onabort(t)}n.onreadystatechange()}},d=function(){o=a(function(){d()},500),3===r.readyState&&l()};"onload"in r&&(r.onload=function(e){f("load",e)}),"onerror"in r&&(r.onerror=function(e){f("error",e)}),"onabort"in r&&(r.onabort=function(e){f("abort",e)}),"onprogress"in r&&(r.onprogress=l),"onreadystatechange"in r&&(r.onreadystatechange=function(e){!function(e){void 0!=r&&(4===r.readyState?"onload"in r&&"onerror"in r&&"onabort"in r||f(""===r.responseText?"error":"load",e):3===r.readyState?"onprogress"in r||l():2===r.readyState&&c())}(e)}),!("contentType"in r)&&"ontimeout"in u.prototype||(t+=(-1===t.indexOf("?")?"?":"&")+"padding=true"),r.open(e,t,!0),"readyState"in r&&(o=a(function(){d()},0))},S.prototype.abort=function(){this._abort(!1)},S.prototype.getResponseHeader=function(e){return this._contentType},S.prototype.setRequestHeader=function(e,t){var n=this._xhr;"setRequestHeader"in n&&n.setRequestHeader(e,t)},S.prototype.getAllResponseHeaders=function(){return void 0!=this._xhr.getAllResponseHeaders&&this._xhr.getAllResponseHeaders()||""},S.prototype.send=function(){if("ontimeout"in u.prototype&&("sendAsBinary"in u.prototype||"mozAnon"in u.prototype)||void 0==d||void 0==d.readyState||"complete"===d.readyState){var e=this._xhr;"withCredentials"in e&&(e.withCredentials=this.withCredentials);try{e.send(void 0)}catch(n){throw n}}else{var t=this;t._sendTimeout=a(function(){t._sendTimeout=0,t.send()},4)}},C.prototype.get=function(e){return this._map[k(e)]},null!=u&&null==u.HEADERS_RECEIVED&&(u.HEADERS_RECEIVED=2),E.prototype.open=function(e,t,n,r,i,o,a){e.open("GET",i);var s=0;for(var c in e.onprogress=function(){var t=e.responseText.slice(s);s+=t.length,n(t)},e.onerror=function(e){e.preventDefault(),r(new Error("NetworkError"))},e.onload=function(){r(null)},e.onabort=function(){r(null)},e.onreadystatechange=function(){if(e.readyState===u.HEADERS_RECEIVED){var n=e.status,r=e.statusText,i=e.getResponseHeader("Content-Type"),o=e.getAllResponseHeaders();t(n,r,i,new C(o))}},e.withCredentials=o,a)Object.prototype.hasOwnProperty.call(a,c)&&e.setRequestHeader(c,a[c]);return e.send(),e},x.prototype.get=function(e){return this._headers.get(e)},T.prototype.open=function(e,t,n,r,i,o,a){var s=null,u=new v,c=u.signal,l=new g;return p(i,{headers:a,credentials:o?"include":"same-origin",signal:c,cache:"no-store"}).then(function(e){return s=e.body.getReader(),t(e.status,e.statusText,e.headers.get("Content-Type"),new x(e.headers)),new h(function(e,t){var r=function(){s.read().then(function(t){if(t.done)e(void 0);else{var i=l.decode(t.value,{stream:!0});n(i),r()}}).catch(function(e){t(e)})};r()})}).catch(function(e){return"AbortError"===e.name?void 0:e}).then(function(e){r(e)}),{abort:function(){null!=s&&s.cancel(),u.abort()}}},O.prototype.dispatchEvent=function(e){e.target=this;var t=this._listeners[e.type];if(void 0!=t)for(var n=t.length,r=0;r<n;r+=1){var i=t[r];try{"function"===typeof i.handleEvent?i.handleEvent(e):i.call(this,e)}catch(o){A(o)}}},O.prototype.addEventListener=function(e,t){e=String(e);var n=this._listeners,r=n[e];void 0==r&&(r=[],n[e]=r);for(var i=!1,o=0;o<r.length;o+=1)r[o]===t&&(i=!0);i||r.push(t)},O.prototype.removeEventListener=function(e,t){e=String(e);var n=this._listeners,r=n[e];if(void 0!=r){for(var i=[],o=0;o<r.length;o+=1)r[o]!==t&&i.push(r[o]);0===i.length?delete n[e]:n[e]=i}},R.prototype=Object.create(I.prototype),P.prototype=Object.create(I.prototype),D.prototype=Object.create(I.prototype);var z=-1,M=-1,N=/^text\/event\-stream(;.*)?$/i,j=function(e,t){var n=null==e?t:parseInt(e,10);return n!==n&&(n=t),L(n)},L=function(e){return Math.min(Math.max(e,1e3),18e6)},F=function(e,t,n){try{"function"===typeof t&&t.call(e,n)}catch(r){A(r)}};function B(e,t){O.call(this),t=t||{},this.onopen=void 0,this.onmessage=void 0,this.onerror=void 0,this.url=void 0,this.readyState=void 0,this.withCredentials=void 0,this.headers=void 0,this._close=void 0,function(e,t,n){t=String(t);var r=Boolean(n.withCredentials),i=n.lastEventIdQueryParameterName||"lastEventId",o=L(1e3),l=j(n.heartbeatTimeout,45e3),f="",d=o,h=!1,p=0,m=n.headers||{},g=n.Transport,y=U&&void 0==g?void 0:new S(void 0!=g?new g:void 0!=u&&"withCredentials"in u.prototype||void 0==c?new u:new c),v=null!=g&&"string"!==typeof g?new g:void 0==y?new T:new E,b=void 0,w=0,_=z,k="",C="",x="",O="",A=0,I=0,B=0,q=function(t,n,r,i){if(0===_)if(200===t&&void 0!=r&&N.test(r)){_=1,h=Date.now(),d=o,e.readyState=1;var a=new P("open",{status:t,statusText:n,headers:i});e.dispatchEvent(a),F(e,e.onopen,a)}else{200!==t?(n&&(n=n.replace(/\s+/g," ")),"EventSource's response has a status "+t+" "+n+" that is not 200. Aborting the connection."):"EventSource's response has a Content-Type specifying an unsupported type: "+(void 0==r?"-":r.replace(/\s+/g," "))+". Aborting the connection.",H();a=new P("error",{status:t,statusText:n,headers:i});e.dispatchEvent(a),F(e,e.onerror,a)}},$=function(t){if(1===_){for(var n=-1,r=0;r<t.length;r+=1){(c=t.charCodeAt(r))!=="\n".charCodeAt(0)&&c!=="\r".charCodeAt(0)||(n=r)}var i=(-1!==n?O:"")+t.slice(0,n+1);O=(-1===n?O:"")+t.slice(n+1),""!==t&&(h=Date.now(),p+=t.length);for(var u=0;u<i.length;u+=1){var c=i.charCodeAt(u);if(A===M&&c==="\n".charCodeAt(0))A=0;else if(A===M&&(A=0),c==="\r".charCodeAt(0)||c==="\n".charCodeAt(0)){if(0!==A){1===A&&(B=u+1);var m=i.slice(I,B-1),g=i.slice(B+(B<u&&i.charCodeAt(B)===" ".charCodeAt(0)?1:0),u);"data"===m?(k+="\n",k+=g):"id"===m?C=g:"event"===m?x=g:"retry"===m?(o=j(g,o),d=o):"heartbeatTimeout"===m&&(l=j(g,l),0!==w&&(s(w),w=a(function(){K()},l)))}if(0===A){if(""!==k){f=C,""===x&&(x="message");var y=new R(x,{data:k.slice(1),lastEventId:C});if(e.dispatchEvent(y),"open"===x?F(e,e.onopen,y):"message"===x?F(e,e.onmessage,y):"error"===x&&F(e,e.onerror,y),2===_)return}k="",x=""}A=c==="\r".charCodeAt(0)?M:0}else 0===A&&(I=u,A=1),1===A?c===":".charCodeAt(0)&&(B=u+1,A=2):2===A&&(A=3)}}},W=function(t){if(1===_||0===_){_=z,0!==w&&(s(w),w=0),w=a(function(){K()},d),d=L(Math.min(16*o,2*d)),e.readyState=0;var n=new D("error",{error:t});e.dispatchEvent(n),F(e,e.onerror,n)}},H=function(){_=2,void 0!=b&&(b.abort(),b=void 0),0!==w&&(s(w),w=0),e.readyState=2},K=function(){if(w=0,_===z){h=!1,p=0,w=a(function(){K()},l),_=0,k="",x="",C=f,O="",I=0,B=0,A=0;var n=t;if("data:"!==t.slice(0,5)&&"blob:"!==t.slice(0,5)&&""!==f){var r=t.indexOf("?");n=-1===r?t:t.slice(0,r+1)+t.slice(r+1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g,function(e,t){return t===i?"":e}),n+=(-1===t.indexOf("?")?"?":"&")+i+"="+encodeURIComponent(f)}var o=e.withCredentials,s={Accept:"text/event-stream"},u=e.headers;if(void 0!=u)for(var c in u)Object.prototype.hasOwnProperty.call(u,c)&&(s[c]=u[c]);try{b=v.open(y,q,$,W,n,o,s)}catch(m){throw H(),m}}else if(h||void 0==b){var d=Math.max((h||Date.now())+l-Date.now(),1);h=!1,w=a(function(){K()},d)}else W(new Error("No activity within "+l+" milliseconds. "+(0===_?"No response received.":p+" chars received.")+" Reconnecting.")),void 0!=b&&(b.abort(),b=void 0)};e.url=t,e.readyState=0,e.withCredentials=r,e.headers=m,e._close=H,K()}(this,e,t)}var U=void 0!=p&&void 0!=m&&"body"in m.prototype;B.prototype=Object.create(O.prototype),B.prototype.CONNECTING=0,B.prototype.OPEN=1,B.prototype.CLOSED=2,B.prototype.close=function(){this._close()},B.CONNECTING=0,B.OPEN=1,B.CLOSED=2,B.prototype.withCredentials=void 0;var q=f;void 0==u||void 0!=f&&"withCredentials"in f.prototype||(q=B),function(o){if("object"===typeof e.exports){var a=o(t);void 0!==a&&(e.exports=a)}else r=[t],void 0===(i="function"===typeof(n=o)?n.apply(t,r):n)||(e.exports=i)}(function(e){e.EventSourcePolyfill=B,e.NativeEventSource=f,e.EventSource=q})}("undefined"===typeof globalThis?"undefined"!==typeof window?window:"undefined"!==typeof self?self:this:globalThis)},53910:(e,t,n)=>{"use strict";var r=n(112),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function u(e){return r.isMemo(e)?a:s[e.$$typeof]||i}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var c=Object.defineProperty,l=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,n,r){if("string"!==typeof n){if(p){var i=h(n);i&&i!==p&&e(t,i,r)}var a=l(n);f&&(a=a.concat(f(n)));for(var s=u(t),m=u(n),g=0;g<a.length;++g){var y=a[g];if(!o[y]&&(!r||!r[y])&&(!m||!m[y])&&(!s||!s[y])){var v=d(n,y);try{c(t,y,v)}catch(b){}}}}return t}},65548:(e,t)=>{"use strict";var n="function"===typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,u=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,l=n?Symbol.for("react.async_mode"):60111,f=n?Symbol.for("react.concurrent_mode"):60111,d=n?Symbol.for("react.forward_ref"):60112,h=n?Symbol.for("react.suspense"):60113,p=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,y=n?Symbol.for("react.block"):60121,v=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function _(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case l:case f:case o:case s:case a:case h:return e;default:switch(e=e&&e.$$typeof){case c:case d:case g:case m:case u:return e;default:return t}}case i:return t}}}function S(e){return _(e)===f}t.AsyncMode=l,t.ConcurrentMode=f,t.ContextConsumer=c,t.ContextProvider=u,t.Element=r,t.ForwardRef=d,t.Fragment=o,t.Lazy=g,t.Memo=m,t.Portal=i,t.Profiler=s,t.StrictMode=a,t.Suspense=h,t.isAsyncMode=function(e){return S(e)||_(e)===l},t.isConcurrentMode=S,t.isContextConsumer=function(e){return _(e)===c},t.isContextProvider=function(e){return _(e)===u},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return _(e)===d},t.isFragment=function(e){return _(e)===o},t.isLazy=function(e){return _(e)===g},t.isMemo=function(e){return _(e)===m},t.isPortal=function(e){return _(e)===i},t.isProfiler=function(e){return _(e)===s},t.isStrictMode=function(e){return _(e)===a},t.isSuspense=function(e){return _(e)===h},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===o||e===f||e===s||e===a||e===h||e===p||"object"===typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===u||e.$$typeof===c||e.$$typeof===d||e.$$typeof===v||e.$$typeof===b||e.$$typeof===w||e.$$typeof===y)},t.typeOf=_},112:(e,t,n)=>{"use strict";e.exports=n(65548)},13935:(e,t)=>{t.read=function(e,t,n,r,i){var o,a,s=8*i-r-1,u=(1<<s)-1,c=u>>1,l=-7,f=n?i-1:0,d=n?-1:1,h=e[t+f];for(f+=d,o=h&(1<<-l)-1,h>>=-l,l+=s;l>0;o=256*o+e[t+f],f+=d,l-=8);for(a=o&(1<<-l)-1,o>>=-l,l+=r;l>0;a=256*a+e[t+f],f+=d,l-=8);if(0===o)o=1-c;else{if(o===u)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,r),o-=c}return(h?-1:1)*a*Math.pow(2,o-r)},t.write=function(e,t,n,r,i,o){var a,s,u,c=8*o-i-1,l=(1<<c)-1,f=l>>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:o-1,p=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=l):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),(t+=a+f>=1?d/u:d*Math.pow(2,1-f))*u>=2&&(a++,u/=2),a+f>=l?(s=0,a=l):a+f>=1?(s=(t*u-1)*Math.pow(2,i),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;e[n+h]=255&s,h+=p,s/=256,i-=8);for(a=a<<i|s,c+=i;c>0;e[n+h]=255&a,h+=p,a/=256,c-=8);e[n+h-p]|=128*m}},15938:(e,t,n)=>{var r=n(91691).Buffer,i=n(54650);e.exports=function e(t,n,r){function i(a,s){if(!n[a]){if(!t[a]){if(o)return o(a,!0);var u=new Error("Cannot find module '"+a+"'");throw u.code="MODULE_NOT_FOUND",u}var c=n[a]={exports:{}};t[a][0].call(c.exports,function(e){return i(t[a][1][e]||e)},c,c.exports,e,t,n,r)}return n[a].exports}for(var o=void 0,a=0;a<r.length;a++)i(r[a]);return i}({1:[function(e,t,n){"use strict";var r=e("./utils"),i=e("./support"),o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";n.encode=function(e){for(var t,n,i,a,s,u,c,l=[],f=0,d=e.length,h=d,p="string"!==r.getTypeOf(e);f<e.length;)h=d-f,i=p?(t=e[f++],n=f<d?e[f++]:0,f<d?e[f++]:0):(t=e.charCodeAt(f++),n=f<d?e.charCodeAt(f++):0,f<d?e.charCodeAt(f++):0),a=t>>2,s=(3&t)<<4|n>>4,u=1<h?(15&n)<<2|i>>6:64,c=2<h?63&i:64,l.push(o.charAt(a)+o.charAt(s)+o.charAt(u)+o.charAt(c));return l.join("")},n.decode=function(e){var t,n,r,a,s,u,c=0,l=0,f="data:";if(e.substr(0,f.length)===f)throw new Error("Invalid base64 input, it looks like a data url.");var d,h=3*(e=e.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(e.charAt(e.length-1)===o.charAt(64)&&h--,e.charAt(e.length-2)===o.charAt(64)&&h--,h%1!=0)throw new Error("Invalid base64 input, bad content length.");for(d=i.uint8array?new Uint8Array(0|h):new Array(0|h);c<e.length;)t=o.indexOf(e.charAt(c++))<<2|(a=o.indexOf(e.charAt(c++)))>>4,n=(15&a)<<4|(s=o.indexOf(e.charAt(c++)))>>2,r=(3&s)<<6|(u=o.indexOf(e.charAt(c++))),d[l++]=t,64!==s&&(d[l++]=n),64!==u&&(d[l++]=r);return d}},{"./support":30,"./utils":32}],2:[function(e,t,n){"use strict";var r=e("./external"),i=e("./stream/DataWorker"),o=e("./stream/Crc32Probe"),a=e("./stream/DataLengthProbe");function s(e,t,n,r,i){this.compressedSize=e,this.uncompressedSize=t,this.crc32=n,this.compression=r,this.compressedContent=i}s.prototype={getContentWorker:function(){var e=new i(r.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new a("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 i(r.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},s.createWorkerFrom=function(e,t,n){return e.pipe(new o).pipe(new a("uncompressedSize")).pipe(t.compressWorker(n)).pipe(new a("compressedSize")).withStreamInfo("compression",t)},t.exports=s},{"./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"),i=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 o=i,a=r+n;e^=-1;for(var s=r;s<a;s++)e=e>>>8^o[255&(e^t[s])];return-1^e}(0|t,e,e.length,0):function(e,t,n,r){var o=i,a=r+n;e^=-1;for(var s=r;s<a;s++)e=e>>>8^o[255&(e^t.charCodeAt(s))];return-1^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,i=e("pako"),o=e("./utils"),a=e("./stream/GenericWorker"),s=r?"uint8array":"array";function u(e,t){a.call(this,"FlateWorker/"+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}n.magic="\b\0",o.inherits(u,a),u.prototype.processChunk=function(e){this.meta=e.meta,null===this._pako&&this._createPako(),this._pako.push(o.transformTo(s,e.data),!1)},u.prototype.flush=function(){a.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},u.prototype.cleanUp=function(){a.prototype.cleanUp.call(this),this._pako=null},u.prototype._createPako=function(){this._pako=new i[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 u("Deflate",e)},n.uncompressWorker=function(){return new u("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 i(e,t,n,i,a,l){var f,d,h=e.file,p=e.compression,m=l!==s.utf8encode,g=o.transformTo("string",l(h.name)),y=o.transformTo("string",s.utf8encode(h.name)),v=h.comment,b=o.transformTo("string",l(v)),w=o.transformTo("string",s.utf8encode(v)),_=y.length!==h.name.length,S=w.length!==v.length,k="",C="",E="",x=h.dir,T=h.date,O={crc32:0,compressedSize:0,uncompressedSize:0};t&&!n||(O.crc32=e.crc32,O.compressedSize=e.compressedSize,O.uncompressedSize=e.uncompressedSize);var A=0;t&&(A|=8),m||!_&&!S||(A|=2048);var I=0,R=0;x&&(I|=16),"UNIX"===a?(R=798,I|=function(e,t){var n=e;return e||(n=t?16893:33204),(65535&n)<<16}(h.unixPermissions,x)):(R=20,I|=function(e){return 63&(e||0)}(h.dosPermissions)),f=T.getUTCHours(),f<<=6,f|=T.getUTCMinutes(),f<<=5,f|=T.getUTCSeconds()/2,d=T.getUTCFullYear()-1980,d<<=4,d|=T.getUTCMonth()+1,d<<=5,d|=T.getUTCDate(),_&&(C=r(1,1)+r(u(g),4)+y,k+="up"+r(C.length,2)+C),S&&(E=r(1,1)+r(u(b),4)+w,k+="uc"+r(E.length,2)+E);var P="";return P+="\n\0",P+=r(A,2),P+=p.magic,P+=r(f,2),P+=r(d,2),P+=r(O.crc32,4),P+=r(O.compressedSize,4),P+=r(O.uncompressedSize,4),P+=r(g.length,2),P+=r(k.length,2),{fileRecord:c.LOCAL_FILE_HEADER+P+g+k,dirRecord:c.CENTRAL_FILE_HEADER+r(R,2)+P+r(b.length,2)+"\0\0\0\0"+r(I,4)+r(i,4)+g+k+b}}var o=e("../utils"),a=e("../stream/GenericWorker"),s=e("../utf8"),u=e("../crc32"),c=e("../signature");function l(e,t,n,r){a.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=[]}o.inherits(l,a),l.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,a.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:n?(t+100*(n-r-1))/n:100}}))},l.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var n=i(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:n.fileRecord,meta:{percent:0}})}else this.accumulate=!0},l.prototype.closedSource=function(e){this.accumulate=!1;var t=this.streamFiles&&!e.file.dir,n=i(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(n.dirRecord),t)this.push({data:function(e){return c.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},l.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,i=function(e,t,n,i,a){var s=o.transformTo("string",a(i));return c.CENTRAL_DIRECTORY_END+"\0\0\0\0"+r(e,2)+r(e,2)+r(t,4)+r(n,4)+r(s.length,2)+s}(this.dirRecords.length,n,e,this.zipComment,this.encodeFileName);this.push({data:i,meta:{percent:100}})},l.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},l.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},l.prototype.resume=function(){return!!a.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},l.prototype.error=function(e){var t=this._sources;if(!a.prototype.error.call(this,e))return!1;for(var n=0;n<t.length;n++)try{t[n].error(e)}catch(e){}return!0},l.prototype.lock=function(){a.prototype.lock.call(this);for(var e=this._sources,t=0;t<e.length;t++)e[t].lock()},t.exports=l},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(e,t,n){"use strict";var r=e("../compressions"),i=e("./ZipFileWorker");n.generateWorker=function(e,t,n){var o=new i(t.streamFiles,n,t.platform,t.encodeFileName),a=0;try{e.forEach(function(e,n){a++;var i=function(e,t){var n=e||t,i=r[n];if(!i)throw new Error(n+" is not a valid compression method !");return i}(n.options.compression,t.compression),s=n.options.compressionOptions||t.compressionOptions||{},u=n.dir,c=n.date;n._compressWorker(i,s).withStreamInfo("file",{name:e,dir:u,date:c,comment:n.comment||"",unixPermissions:n.unixPermissions,dosPermissions:n.dosPermissions}).pipe(o)}),o.entriesCount=a}catch(e){o.error(e)}return o}},{"../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"),i=e("./external"),o=e("./utf8"),a=e("./zipEntries"),s=e("./stream/Crc32Probe"),u=e("./nodejsUtils");function c(e){return new i.Promise(function(t,n){var r=e.decompressed.getContentWorker().pipe(new s);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:o.utf8decode}),u.isNode&&u.isStream(e)?i.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 a(t);return n.load(e),n}).then(function(e){var n=[i.Promise.resolve(e)],r=e.files;if(t.checkCRC32)for(var o=0;o<r.length;o++)n.push(c(r[o]));return i.Promise.all(n)}).then(function(e){for(var i=e.shift(),o=i.files,a=0;a<o.length;a++){var s=o[a],u=s.fileNameStr,c=r.resolve(s.fileNameStr);n.file(c,s.decompressed,{binary:!0,optimizedBinaryString:!0,date:s.date,dir:s.dir,comment:s.fileCommentStr.length?s.fileCommentStr:null,unixPermissions:s.unixPermissions,dosPermissions:s.dosPermissions,createFolders:t.createFolders}),s.dir||(n.file(c).unsafeOriginalName=u)}return i.zipComment.length&&(n.comment=i.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"),i=e("../stream/GenericWorker");function o(e,t){i.call(this,"Nodejs stream input adapter for "+e),this._upstreamEnded=!1,this._bindStream(t)}r.inherits(o,i),o.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()})},o.prototype.pause=function(){return!!i.prototype.pause.call(this)&&(this._stream.pause(),!0)},o.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},t.exports=o},{"../stream/GenericWorker":28,"../utils":32}],13:[function(e,t,n){"use strict";var r=e("readable-stream").Readable;function i(e,t,n){r.call(this,t),this._helper=e;var i=this;e.on("data",function(e,t){i.push(e)||i._helper.pause(),n&&n(t)}).on("error",function(e){i.emit("error",e)}).on("end",function(){i.push(null)})}e("../utils").inherits(i,r),i.prototype._read=function(){this._helper.resume()},t.exports=i},{"../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,i=o.getTypeOf(t),s=o.extend(n||{},u);s.date=s.date||new Date,null!==s.compression&&(s.compression=s.compression.toUpperCase()),"string"==typeof s.unixPermissions&&(s.unixPermissions=parseInt(s.unixPermissions,8)),s.unixPermissions&&16384&s.unixPermissions&&(s.dir=!0),s.dosPermissions&&16&s.dosPermissions&&(s.dir=!0),s.dir&&(e=m(e)),s.createFolders&&(r=p(e))&&g.call(this,r,!0);var f="string"===i&&!1===s.binary&&!1===s.base64;n&&void 0!==n.binary||(s.binary=!f),(t instanceof c&&0===t.uncompressedSize||s.dir||!t||0===t.length)&&(s.base64=!1,s.binary=!0,t="",s.compression="STORE",i="string");var y=null;y=t instanceof c||t instanceof a?t:d.isNode&&d.isStream(t)?new h(e,t):o.prepareContent(e,t,s.binary,s.optimizedBinaryString,s.base64);var v=new l(e,y,s);this.files[e]=v}var i=e("./utf8"),o=e("./utils"),a=e("./stream/GenericWorker"),s=e("./stream/StreamHelper"),u=e("./defaults"),c=e("./compressedObject"),l=e("./zipObject"),f=e("./generate"),d=e("./nodejsUtils"),h=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:u.createFolders,e=m(e),this.files[e]||r.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]};function y(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(y(e)){var i=e;return this.filter(function(e,t){return!t.dir&&i.test(e)})}var o=this.files[this.root+e];return o&&!o.dir?o:null},folder:function(e){if(!e)return this;if(y(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=o.extend(e||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:i.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.");o.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=f.generateWorker(this,n,r)}catch(e){(t=new a("error")).error(e)}return new s(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 i(e){r.call(this,e);for(var t=0;t<this.data.length;t++)e[t]=255&e[t]}e("../utils").inherits(i,r),i.prototype.byteAt=function(e){return this.data[this.zero+e]},i.prototype.lastIndexOfSignature=function(e){for(var t=e.charCodeAt(0),n=e.charCodeAt(1),r=e.charCodeAt(2),i=e.charCodeAt(3),o=this.length-4;0<=o;--o)if(this.data[o]===t&&this.data[o+1]===n&&this.data[o+2]===r&&this.data[o+3]===i)return o-this.zero;return-1},i.prototype.readAndCheckSignature=function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1),r=e.charCodeAt(2),i=e.charCodeAt(3),o=this.readData(4);return t===o[0]&&n===o[1]&&r===o[2]&&i===o[3]},i.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=i},{"../utils":32,"./DataReader":18}],18:[function(e,t,n){"use strict";var r=e("../utils");function i(e){this.data=e,this.length=e.length,this.index=0,this.zero=0}i.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=i},{"../utils":32}],19:[function(e,t,n){"use strict";var r=e("./Uint8ArrayReader");function i(e){r.call(this,e)}e("../utils").inherits(i,r),i.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=i},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(e,t,n){"use strict";var r=e("./DataReader");function i(e){r.call(this,e)}e("../utils").inherits(i,r),i.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},i.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},i.prototype.readAndCheckSignature=function(e){return e===this.readData(4)},i.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=i},{"../utils":32,"./DataReader":18}],21:[function(e,t,n){"use strict";var r=e("./ArrayReader");function i(e){r.call(this,e)}e("../utils").inherits(i,r),i.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=i},{"../utils":32,"./ArrayReader":17}],22:[function(e,t,n){"use strict";var r=e("../utils"),i=e("../support"),o=e("./ArrayReader"),a=e("./StringReader"),s=e("./NodeBufferReader"),u=e("./Uint8ArrayReader");t.exports=function(e){var t=r.getTypeOf(e);return r.checkSupport(t),"string"!==t||i.uint8array?"nodebuffer"===t?new s(e):i.uint8array?new u(r.transformTo("uint8array",e)):new o(r.transformTo("array",e)):new a(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"),i=e("../utils");function o(e){r.call(this,"ConvertWorker to "+e),this.destType=e}i.inherits(o,r),o.prototype.processChunk=function(e){this.push({data:i.transformTo(this.destType,e.data),meta:e.meta})},t.exports=o},{"../utils":32,"./GenericWorker":28}],25:[function(e,t,n){"use strict";var r=e("./GenericWorker"),i=e("../crc32");function o(){r.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}e("../utils").inherits(o,r),o.prototype.processChunk=function(e){this.streamInfo.crc32=i(e.data,this.streamInfo.crc32||0),this.push(e)},t.exports=o},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(e,t,n){"use strict";var r=e("../utils"),i=e("./GenericWorker");function o(e){i.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}r.inherits(o,i),o.prototype.processChunk=function(e){if(e){var t=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=t+e.data.length}i.prototype.processChunk.call(this,e)},t.exports=o},{"../utils":32,"./GenericWorker":28}],27:[function(e,t,n){"use strict";var r=e("../utils"),i=e("./GenericWorker");function o(e){i.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(o,i),o.prototype.cleanUp=function(){i.prototype.cleanUp.call(this),this.data=null},o.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,r.delay(this._tickAndRepeat,[],this)),!0)},o.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(r.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},o.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=o},{"../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 i=e("../utils"),o=e("./ConvertWorker"),a=e("./GenericWorker"),s=e("../base64"),u=e("../support"),c=e("../external"),l=null;if(u.nodestream)try{l=e("../nodejs/NodejsStreamOutputAdapter")}catch(e){}function f(e,t){return new c.Promise(function(n,o){var a=[],u=e._internalType,c=e._outputType,l=e._mimeType;e.on("data",function(e,n){a.push(e),t&&t(n)}).on("error",function(e){a=[],o(e)}).on("end",function(){try{var e=function(e,t,n){switch(e){case"blob":return i.newBlob(i.transformTo("arraybuffer",t),n);case"base64":return s.encode(t);default:return i.transformTo(e,t)}}(c,function(e,t){var n,i=0,o=null,a=0;for(n=0;n<t.length;n++)a+=t[n].length;switch(e){case"string":return t.join("");case"array":return Array.prototype.concat.apply([],t);case"uint8array":for(o=new Uint8Array(a),n=0;n<t.length;n++)o.set(t[n],i),i+=t[n].length;return o;case"nodebuffer":return r.concat(t);default:throw new Error("concat : unsupported type '"+e+"'")}}(u,a),l);n(e)}catch(e){o(e)}a=[]}).resume()})}function d(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,i.checkSupport(r),this._worker=e.pipe(new o(r)),e.lock()}catch(e){this._worker=new a("error"),this._worker.error(e)}}d.prototype={accumulate:function(e){return f(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(){i.delay(t,arguments,n)}),this},resume:function(){return i.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(e){if(i.checkSupport("nodestream"),"nodebuffer"!==this._outputType)throw new Error(this._outputType+" is not supported by this method");return new l(this,{objectMode:"nodebuffer"!==this._outputType},e)}},t.exports=d},{"../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 i=new ArrayBuffer(0);try{n.blob=0===new Blob([i],{type:"application/zip"}).size}catch(e){try{var o=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);o.append(i),n.blob=0===o.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"),i=e("./support"),o=e("./nodejsUtils"),a=e("./stream/GenericWorker"),s=new Array(256),u=0;u<256;u++)s[u]=252<=u?6:248<=u?5:240<=u?4:224<=u?3:192<=u?2:1;function c(){a.call(this,"utf-8 decode"),this.leftOver=null}function l(){a.call(this,"utf-8 encode")}s[254]=s[254]=1,n.utf8encode=function(e){return i.nodebuffer?o.newBufferFrom(e,"utf-8"):function(e){var t,n,r,o,a,s=e.length,u=0;for(o=0;o<s;o++)55296==(64512&(n=e.charCodeAt(o)))&&o+1<s&&56320==(64512&(r=e.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(r-56320),o++),u+=n<128?1:n<2048?2:n<65536?3:4;for(t=i.uint8array?new Uint8Array(u):new Array(u),o=a=0;a<u;o++)55296==(64512&(n=e.charCodeAt(o)))&&o+1<s&&56320==(64512&(r=e.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(r-56320),o++),n<128?t[a++]=n:(n<2048?t[a++]=192|n>>>6:(n<65536?t[a++]=224|n>>>12:(t[a++]=240|n>>>18,t[a++]=128|n>>>12&63),t[a++]=128|n>>>6&63),t[a++]=128|63&n);return t}(e)},n.utf8decode=function(e){return i.nodebuffer?r.transformTo("nodebuffer",e).toString("utf-8"):function(e){var t,n,i,o,a=e.length,u=new Array(2*a);for(t=n=0;t<a;)if((i=e[t++])<128)u[n++]=i;else if(4<(o=s[i]))u[n++]=65533,t+=o-1;else{for(i&=2===o?31:3===o?15:7;1<o&&t<a;)i=i<<6|63&e[t++],o--;1<o?u[n++]=65533:i<65536?u[n++]=i:(i-=65536,u[n++]=55296|i>>10&1023,u[n++]=56320|1023&i)}return u.length!==n&&(u.subarray?u=u.subarray(0,n):u.length=n),r.applyFromCharCode(u)}(e=r.transformTo(i.uint8array?"uint8array":"array",e))},r.inherits(c,a),c.prototype.processChunk=function(e){var t=r.transformTo(i.uint8array?"uint8array":"array",e.data);if(this.leftOver&&this.leftOver.length){if(i.uint8array){var o=t;(t=new Uint8Array(o.length+this.leftOver.length)).set(this.leftOver,0),t.set(o,this.leftOver.length)}else t=this.leftOver.concat(t);this.leftOver=null}var a=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+s[e[n]]>t?n:t}(t),u=t;a!==t.length&&(i.uint8array?(u=t.subarray(0,a),this.leftOver=t.subarray(a,t.length)):(u=t.slice(0,a),this.leftOver=t.slice(a,t.length))),this.push({data:n.utf8decode(u),meta:e.meta})},c.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:n.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},n.Utf8DecodeWorker=c,r.inherits(l,a),l.prototype.processChunk=function(e){this.push({data:n.utf8encode(e.data),meta:e.meta})},n.Utf8EncodeWorker=l},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(e,t,n){"use strict";var r=e("./support"),i=e("./base64"),o=e("./nodejsUtils"),a=e("./external");function s(e){return e}function u(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 i=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return i.append(t),i.getBlob(r)}catch(e){throw new Error("Bug : can't construct the Blob.")}}};var c={stringifyByChunk:function(e,t,n){var r=[],i=0,o=e.length;if(o<=n)return String.fromCharCode.apply(null,e);for(;i<o;)"array"===t||"nodebuffer"===t?r.push(String.fromCharCode.apply(null,e.slice(i,Math.min(i+n,o)))):r.push(String.fromCharCode.apply(null,e.subarray(i,Math.min(i+n,o)))),i+=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,o.allocBuffer(1)).length}catch(e){return!1}}()}};function l(e){var t=65536,r=n.getTypeOf(e),i=!0;if("uint8array"===r?i=c.applyCanBeUsed.uint8array:"nodebuffer"===r&&(i=c.applyCanBeUsed.nodebuffer),i)for(;1<t;)try{return c.stringifyByChunk(e,r,t)}catch(e){t=Math.floor(t/2)}return c.stringifyByChar(e)}function f(e,t){for(var n=0;n<e.length;n++)t[n]=e[n];return t}n.applyFromCharCode=l;var d={};d.string={string:s,array:function(e){return u(e,new Array(e.length))},arraybuffer:function(e){return d.string.uint8array(e).buffer},uint8array:function(e){return u(e,new Uint8Array(e.length))},nodebuffer:function(e){return u(e,o.allocBuffer(e.length))}},d.array={string:l,array:s,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return o.newBufferFrom(e)}},d.arraybuffer={string:function(e){return l(new Uint8Array(e))},array:function(e){return f(new Uint8Array(e),new Array(e.byteLength))},arraybuffer:s,uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return o.newBufferFrom(new Uint8Array(e))}},d.uint8array={string:l,array:function(e){return f(e,new Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:s,nodebuffer:function(e){return o.newBufferFrom(e)}},d.nodebuffer={string:l,array:function(e){return f(e,new Array(e.length))},arraybuffer:function(e){return d.nodebuffer.uint8array(e).buffer},uint8array:function(e){return f(e,new Uint8Array(e.length))},nodebuffer:s},n.transformTo=function(e,t){if(t=t||"",!e)return t;n.checkSupport(e);var r=n.getTypeOf(t);return d[r][e](t)},n.resolve=function(e){for(var t=e.split("/"),n=[],r=0;r<t.length;r++){var i=t[r];"."===i||""===i&&0!==r&&r!==t.length-1||(".."===i?n.pop():n.push(i))}return n.join("/")},n.getTypeOf=function(e){return"string"==typeof e?"string":"[object Array]"===Object.prototype.toString.call(e)?"array":r.nodebuffer&&o.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,o,s,c){return a.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 a.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 l=n.getTypeOf(t);return l?("arraybuffer"===l?t=n.transformTo("uint8array",t):"string"===l&&(c?t=i.decode(t):o&&!0!==s&&(t=function(e){return u(e,r.uint8array?new Uint8Array(e.length):new Array(e.length))}(t))),t):a.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"),i=e("./utils"),o=e("./signature"),a=e("./zipEntry"),s=e("./support");function u(e){this.files=[],this.loadOptions=e}u.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 ("+i.pretty(t)+", expected "+i.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=s.uint8array?"uint8array":"array",n=i.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(o.LOCAL_FILE_HEADER),t.readLocalPart(this.reader),t.handleUTF8(),t.processAttributes()},readCentralDir:function(){var e;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(o.CENTRAL_FILE_HEADER);)(e=new a({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(o.CENTRAL_DIRECTORY_END);if(e<0)throw this.isSignature(0,o.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(o.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===i.MAX_VALUE_16BITS||this.diskWithCentralDirStart===i.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===i.MAX_VALUE_16BITS||this.centralDirRecords===i.MAX_VALUE_16BITS||this.centralDirSize===i.MAX_VALUE_32BITS||this.centralDirOffset===i.MAX_VALUE_32BITS){if(this.zip64=!0,(e=this.reader.lastIndexOfSignature(o.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(o.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,o.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(o.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(o.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,o.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=u},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(e,t,n){"use strict";var r=e("./reader/readerFor"),i=e("./utils"),o=e("./compressedObject"),a=e("./crc32"),s=e("./utf8"),u=e("./compressions"),c=e("./support");function l(e,t){this.options=e,this.loadOptions=t}l.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 u)if(Object.prototype.hasOwnProperty.call(u,t)&&u[t].magic===e)return u[t];return null}(this.compressionMethod)))throw new Error("Corrupted zip : compression "+i.pretty(this.compressionMethod)+" unknown (inner file : "+i.transformTo("string",this.fileName)+")");this.decompressed=new o(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===i.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===i.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===i.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===i.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4))}},readExtraFields:function(e){var t,n,r,i=e.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});e.index+4<i;)t=e.readInt(2),n=e.readInt(2),r=e.readData(n),this.extraFields[t]={id:t,length:n,value:r};e.setIndex(i)},handleUTF8:function(){var e=c.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=s.utf8decode(this.fileName),this.fileCommentStr=s.utf8decode(this.fileComment);else{var t=this.findExtraFieldUnicodePath();if(null!==t)this.fileNameStr=t;else{var n=i.transformTo(e,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(n)}var r=this.findExtraFieldUnicodeComment();if(null!==r)this.fileCommentStr=r;else{var o=i.transformTo(e,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(o)}}},findExtraFieldUnicodePath:function(){var e=this.extraFields[28789];if(e){var t=r(e.value);return 1!==t.readInt(1)||a(this.fileName)!==t.readInt(4)?null:s.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)||a(this.fileComment)!==t.readInt(4)?null:s.utf8decode(t.readData(e.length-5))}return null}},t.exports=l},{"./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 i=e("./stream/StreamHelper"),o=e("./stream/DataWorker"),a=e("./utf8"),s=e("./compressedObject"),u=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 o=!this._dataBinary;o&&!r&&(t=t.pipe(new a.Utf8EncodeWorker)),!o&&r&&(t=t.pipe(new a.Utf8DecodeWorker))}catch(e){(t=new u("error")).error(e)}return new i(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 s&&this._data.compression.magic===e.magic)return this._data.getCompressedWorker();var n=this._decompressWorker();return this._dataBinary||(n=n.pipe(new a.Utf8EncodeWorker)),s.createWorkerFrom(n,e,t)},_decompressWorker:function(){return this._data instanceof s?this._data.getContentWorker():this._data instanceof u?this._data:new o(this._data)}};for(var c=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],l=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},f=0;f<c.length;f++)r.prototype[c[f]]=l;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,i=e.MutationObserver||e.WebKitMutationObserver;if(i){var o=0,a=new i(l),s=e.document.createTextNode("");a.observe(s,{characterData:!0}),n=function(){s.data=o=++o%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(){l(),t.onreadystatechange=null,t.parentNode.removeChild(t),t=null},e.document.documentElement.appendChild(t)}:function(){setTimeout(l,0)};else{var u=new e.MessageChannel;u.port1.onmessage=l,n=function(){u.port2.postMessage(0)}}var c=[];function l(){var e,t;r=!0;for(var n=c.length;n;){for(t=c,c=[],e=-1;++e<n;)t[e]();n=c.length}r=!1}t.exports=function(e){1!==c.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 i(){}var o={},a=["REJECTED"],s=["FULFILLED"],u=["PENDING"];function c(e){if("function"!=typeof e)throw new TypeError("resolver must be a function");this.state=u,this.queue=[],this.outcome=void 0,e!==i&&h(this,e)}function l(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 f(e,t,n){r(function(){var r;try{r=t(n)}catch(r){return o.reject(e,r)}r===e?o.reject(e,new TypeError("Cannot resolve promise with itself")):o.resolve(e,r)})}function d(e){var t=e&&e.then;if(e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof t)return function(){t.apply(e,arguments)}}function h(e,t){var n=!1;function r(t){n||(n=!0,o.reject(e,t))}function i(t){n||(n=!0,o.resolve(e,t))}var a=p(function(){t(i,r)});"error"===a.status&&r(a.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=c).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})})},c.prototype.catch=function(e){return this.then(null,e)},c.prototype.then=function(e,t){if("function"!=typeof e&&this.state===s||"function"!=typeof t&&this.state===a)return this;var n=new this.constructor(i);return this.state!==u?f(n,this.state===s?e:t,this.outcome):this.queue.push(new l(n,e,t)),n},l.prototype.callFulfilled=function(e){o.resolve(this.promise,e)},l.prototype.otherCallFulfilled=function(e){f(this.promise,this.onFulfilled,e)},l.prototype.callRejected=function(e){o.reject(this.promise,e)},l.prototype.otherCallRejected=function(e){f(this.promise,this.onRejected,e)},o.resolve=function(e,t){var n=p(d,t);if("error"===n.status)return o.reject(e,n.value);var r=n.value;if(r)h(e,r);else{e.state=s,e.outcome=t;for(var i=-1,a=e.queue.length;++i<a;)e.queue[i].callFulfilled(t)}return e},o.reject=function(e,t){e.state=a,e.outcome=t;for(var n=-1,r=e.queue.length;++n<r;)e.queue[n].callRejected(t);return e},c.resolve=function(e){return e instanceof this?e:o.resolve(new this(i),e)},c.reject=function(e){var t=new this(i);return o.reject(t,e)},c.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 a=new Array(n),s=0,u=-1,c=new this(i);++u<n;)l(e[u],u);return c;function l(e,i){t.resolve(e).then(function(e){a[i]=e,++s!==n||r||(r=!0,o.resolve(c,a))},function(e){r||(r=!0,o.reject(c,e))})}},c.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 a,s=-1,u=new this(i);++s<n;)a=e[s],t.resolve(a).then(function(e){r||(r=!0,o.resolve(u,e))},function(e){r||(r=!0,o.reject(u,e))});return u}},{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"),i=e("./utils/common"),o=e("./utils/strings"),a=e("./zlib/messages"),s=e("./zlib/zstream"),u=Object.prototype.toString,c=0,l=-1,f=0,d=8;function h(e){if(!(this instanceof h))return new h(e);this.options=i.assign({level:l,method:d,chunkSize:16384,windowBits:15,memLevel:8,strategy:f,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 s,this.strm.avail_out=0;var n=r.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(n!==c)throw new Error(a[n]);if(t.header&&r.deflateSetHeader(this.strm,t.header),t.dictionary){var p;if(p="string"==typeof t.dictionary?o.string2buf(t.dictionary):"[object ArrayBuffer]"===u.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,(n=r.deflateSetDictionary(this.strm,p))!==c)throw new Error(a[n]);this._dict_set=!0}}function p(e,t){var n=new h(t);if(n.push(e,!0),n.err)throw n.msg||a[n.err];return n.result}h.prototype.push=function(e,t){var n,a,s=this.strm,l=this.options.chunkSize;if(this.ended)return!1;a=t===~~t?t:!0===t?4:0,"string"==typeof e?s.input=o.string2buf(e):"[object ArrayBuffer]"===u.call(e)?s.input=new Uint8Array(e):s.input=e,s.next_in=0,s.avail_in=s.input.length;do{if(0===s.avail_out&&(s.output=new i.Buf8(l),s.next_out=0,s.avail_out=l),1!==(n=r.deflate(s,a))&&n!==c)return this.onEnd(n),!(this.ended=!0);0!==s.avail_out&&(0!==s.avail_in||4!==a&&2!==a)||("string"===this.options.to?this.onData(o.buf2binstring(i.shrinkBuf(s.output,s.next_out))):this.onData(i.shrinkBuf(s.output,s.next_out)))}while((0<s.avail_in||0===s.avail_out)&&1!==n);return 4===a?(n=r.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===c):2!==a||(this.onEnd(c),!(s.avail_out=0))},h.prototype.onData=function(e){this.chunks.push(e)},h.prototype.onEnd=function(e){e===c&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},n.Deflate=h,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"),i=e("./utils/common"),o=e("./utils/strings"),a=e("./zlib/constants"),s=e("./zlib/messages"),u=e("./zlib/zstream"),c=e("./zlib/gzheader"),l=Object.prototype.toString;function f(e){if(!(this instanceof f))return new f(e);this.options=i.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 u,this.strm.avail_out=0;var n=r.inflateInit2(this.strm,t.windowBits);if(n!==a.Z_OK)throw new Error(s[n]);this.header=new c,r.inflateGetHeader(this.strm,this.header)}function d(e,t){var n=new f(t);if(n.push(e,!0),n.err)throw n.msg||s[n.err];return n.result}f.prototype.push=function(e,t){var n,s,u,c,f,d,h=this.strm,p=this.options.chunkSize,m=this.options.dictionary,g=!1;if(this.ended)return!1;s=t===~~t?t:!0===t?a.Z_FINISH:a.Z_NO_FLUSH,"string"==typeof e?h.input=o.binstring2buf(e):"[object ArrayBuffer]"===l.call(e)?h.input=new Uint8Array(e):h.input=e,h.next_in=0,h.avail_in=h.input.length;do{if(0===h.avail_out&&(h.output=new i.Buf8(p),h.next_out=0,h.avail_out=p),(n=r.inflate(h,a.Z_NO_FLUSH))===a.Z_NEED_DICT&&m&&(d="string"==typeof m?o.string2buf(m):"[object ArrayBuffer]"===l.call(m)?new Uint8Array(m):m,n=r.inflateSetDictionary(this.strm,d)),n===a.Z_BUF_ERROR&&!0===g&&(n=a.Z_OK,g=!1),n!==a.Z_STREAM_END&&n!==a.Z_OK)return this.onEnd(n),!(this.ended=!0);h.next_out&&(0!==h.avail_out&&n!==a.Z_STREAM_END&&(0!==h.avail_in||s!==a.Z_FINISH&&s!==a.Z_SYNC_FLUSH)||("string"===this.options.to?(u=o.utf8border(h.output,h.next_out),c=h.next_out-u,f=o.buf2string(h.output,u),h.next_out=c,h.avail_out=p-c,c&&i.arraySet(h.output,h.output,u,c,0),this.onData(f)):this.onData(i.shrinkBuf(h.output,h.next_out)))),0===h.avail_in&&0===h.avail_out&&(g=!0)}while((0<h.avail_in||0===h.avail_out)&&n!==a.Z_STREAM_END);return n===a.Z_STREAM_END&&(s=a.Z_FINISH),s===a.Z_FINISH?(n=r.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===a.Z_OK):s!==a.Z_SYNC_FLUSH||(this.onEnd(a.Z_OK),!(h.avail_out=0))},f.prototype.onData=function(e){this.chunks.push(e)},f.prototype.onEnd=function(e){e===a.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},n.Inflate=f,n.inflate=d,n.inflateRaw=function(e,t){return(t=t||{}).raw=!0,d(e,t)},n.ungzip=d},{"./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 i={arraySet:function(e,t,n,r,i){if(t.subarray&&e.subarray)e.set(t.subarray(n,n+r),i);else for(var o=0;o<r;o++)e[i+o]=t[n+o]},flattenChunks:function(e){var t,n,r,i,o,a;for(t=r=0,n=e.length;t<n;t++)r+=e[t].length;for(a=new Uint8Array(r),t=i=0,n=e.length;t<n;t++)o=e[t],a.set(o,i),i+=o.length;return a}},o={arraySet:function(e,t,n,r,i){for(var o=0;o<r;o++)e[i+o]=t[n+o]},flattenChunks:function(e){return[].concat.apply([],e)}};n.setTyped=function(e){e?(n.Buf8=Uint8Array,n.Buf16=Uint16Array,n.Buf32=Int32Array,n.assign(n,i)):(n.Buf8=Array,n.Buf16=Array,n.Buf32=Array,n.assign(n,o))},n.setTyped(r)},{}],42:[function(e,t,n){"use strict";var r=e("./common"),i=!0,o=!0;try{String.fromCharCode.apply(null,[0])}catch(e){i=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){o=!1}for(var a=new r.Buf8(256),s=0;s<256;s++)a[s]=252<=s?6:248<=s?5:240<=s?4:224<=s?3:192<=s?2:1;function u(e,t){if(t<65537&&(e.subarray&&o||!e.subarray&&i))return String.fromCharCode.apply(null,r.shrinkBuf(e,t));for(var n="",a=0;a<t;a++)n+=String.fromCharCode(e[a]);return n}a[254]=a[254]=1,n.string2buf=function(e){var t,n,i,o,a,s=e.length,u=0;for(o=0;o<s;o++)55296==(64512&(n=e.charCodeAt(o)))&&o+1<s&&56320==(64512&(i=e.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(i-56320),o++),u+=n<128?1:n<2048?2:n<65536?3:4;for(t=new r.Buf8(u),o=a=0;a<u;o++)55296==(64512&(n=e.charCodeAt(o)))&&o+1<s&&56320==(64512&(i=e.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(i-56320),o++),n<128?t[a++]=n:(n<2048?t[a++]=192|n>>>6:(n<65536?t[a++]=224|n>>>12:(t[a++]=240|n>>>18,t[a++]=128|n>>>12&63),t[a++]=128|n>>>6&63),t[a++]=128|63&n);return t},n.buf2binstring=function(e){return u(e,e.length)},n.binstring2buf=function(e){for(var t=new r.Buf8(e.length),n=0,i=t.length;n<i;n++)t[n]=e.charCodeAt(n);return t},n.buf2string=function(e,t){var n,r,i,o,s=t||e.length,c=new Array(2*s);for(n=r=0;n<s;)if((i=e[n++])<128)c[r++]=i;else if(4<(o=a[i]))c[r++]=65533,n+=o-1;else{for(i&=2===o?31:3===o?15:7;1<o&&n<s;)i=i<<6|63&e[n++],o--;1<o?c[r++]=65533:i<65536?c[r++]=i:(i-=65536,c[r++]=55296|i>>10&1023,c[r++]=56320|1023&i)}return u(c,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+a[e[n]]>t?n:t}},{"./common":41}],43:[function(e,t,n){"use strict";t.exports=function(e,t,n,r){for(var i=65535&e,o=e>>>16&65535,a=0;0!==n;){for(n-=a=2e3<n?2e3:n;o=o+(i=i+t[r++]|0)|0,--a;);i%=65521,o%=65521}return i|o<<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,i){var o=r,a=i+n;e^=-1;for(var s=i;s<a;s++)e=e>>>8^o[255&(e^t[s])];return-1^e}},{}],46:[function(e,t,n){"use strict";var r,i=e("../utils/common"),o=e("./trees"),a=e("./adler32"),s=e("./crc32"),u=e("./messages"),c=0,l=4,f=0,d=-2,h=-1,p=4,m=2,g=8,y=9,v=286,b=30,w=19,_=2*v+1,S=15,k=3,C=258,E=C+k+1,x=42,T=113,O=1,A=2,I=3,R=4;function P(e,t){return e.msg=u[t],t}function D(e){return(e<<1)-(4<e?9:0)}function z(e){for(var t=e.length;0<=--t;)e[t]=0}function M(e){var t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),0!==n&&(i.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 N(e,t){o._tr_flush_block(e,0<=e.block_start?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,M(e.strm)}function j(e,t){e.pending_buf[e.pending++]=t}function L(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function F(e,t){var n,r,i=e.max_chain_length,o=e.strstart,a=e.prev_length,s=e.nice_match,u=e.strstart>e.w_size-E?e.strstart-(e.w_size-E):0,c=e.window,l=e.w_mask,f=e.prev,d=e.strstart+C,h=c[o+a-1],p=c[o+a];e.prev_length>=e.good_match&&(i>>=2),s>e.lookahead&&(s=e.lookahead);do{if(c[(n=t)+a]===p&&c[n+a-1]===h&&c[n]===c[o]&&c[++n]===c[o+1]){o+=2,n++;do{}while(c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&o<d);if(r=C-(d-o),o=d-C,a<r){if(e.match_start=t,s<=(a=r))break;h=c[o+a-1],p=c[o+a]}}}while((t=f[t&l])>u&&0!=--i);return a<=e.lookahead?a:e.lookahead}function B(e){var t,n,r,o,u,c,l,f,d,h,p=e.w_size;do{if(o=e.window_size-e.lookahead-e.strstart,e.strstart>=p+(p-E)){for(i.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;);o+=p}if(0===e.strm.avail_in)break;if(c=e.strm,l=e.window,f=e.strstart+e.lookahead,h=void 0,(d=o)<(h=c.avail_in)&&(h=d),n=0===h?0:(c.avail_in-=h,i.arraySet(l,c.input,c.next_in,h,f),1===c.state.wrap?c.adler=a(c.adler,l,h,f):2===c.state.wrap&&(c.adler=s(c.adler,l,h,f)),c.next_in+=h,c.total_in+=h,h),e.lookahead+=n,e.lookahead+e.insert>=k)for(u=e.strstart-e.insert,e.ins_h=e.window[u],e.ins_h=(e.ins_h<<e.hash_shift^e.window[u+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[u+k-1])&e.hash_mask,e.prev[u&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=u,u++,e.insert--,!(e.lookahead+e.insert<k)););}while(e.lookahead<E&&0!==e.strm.avail_in)}function U(e,t){for(var n,r;;){if(e.lookahead<E){if(B(e),e.lookahead<E&&t===c)return O;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-E&&(e.match_length=F(e,n)),e.match_length>=k)if(r=o._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=o._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(r&&(N(e,!1),0===e.strm.avail_out))return O}return e.insert=e.strstart<k-1?e.strstart:k-1,t===l?(N(e,!0),0===e.strm.avail_out?I:R):e.last_lit&&(N(e,!1),0===e.strm.avail_out)?O:A}function q(e,t){for(var n,r,i;;){if(e.lookahead<E){if(B(e),e.lookahead<E&&t===c)return O;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-E&&(e.match_length=F(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(i=e.strstart+e.lookahead-k,r=o._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<=i&&(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&&(N(e,!1),0===e.strm.avail_out))return O}else if(e.match_available){if((r=o._tr_tally(e,0,e.window[e.strstart-1]))&&N(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return O}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(r=o._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<k-1?e.strstart:k-1,t===l?(N(e,!0),0===e.strm.avail_out?I:R):e.last_lit&&(N(e,!1),0===e.strm.avail_out)?O:A}function $(e,t,n,r,i){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=r,this.func=i}function W(){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 i.Buf16(2*_),this.dyn_dtree=new i.Buf16(2*(2*b+1)),this.bl_tree=new i.Buf16(2*(2*w+1)),z(this.dyn_ltree),z(this.dyn_dtree),z(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new i.Buf16(S+1),this.heap=new i.Buf16(2*v+1),z(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new i.Buf16(2*v+1),z(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 H(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?x:T,e.adler=2===t.wrap?0:1,t.last_flush=c,o._tr_init(t),f):P(e,d)}function K(e){var t=H(e);return t===f&&function(e){e.window_size=2*e.w_size,z(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 Q(e,t,n,r,o,a){if(!e)return d;var s=1;if(t===h&&(t=6),r<0?(s=0,r=-r):15<r&&(s=2,r-=16),o<1||y<o||n!==g||r<8||15<r||t<0||9<t||a<0||p<a)return P(e,d);8===r&&(r=9);var u=new W;return(e.state=u).strm=e,u.wrap=s,u.gzhead=null,u.w_bits=r,u.w_size=1<<u.w_bits,u.w_mask=u.w_size-1,u.hash_bits=o+7,u.hash_size=1<<u.hash_bits,u.hash_mask=u.hash_size-1,u.hash_shift=~~((u.hash_bits+k-1)/k),u.window=new i.Buf8(2*u.w_size),u.head=new i.Buf16(u.hash_size),u.prev=new i.Buf16(u.w_size),u.lit_bufsize=1<<o+6,u.pending_buf_size=4*u.lit_bufsize,u.pending_buf=new i.Buf8(u.pending_buf_size),u.d_buf=1*u.lit_bufsize,u.l_buf=3*u.lit_bufsize,u.level=t,u.strategy=a,u.method=n,K(e)}r=[new $(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===c)return O;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,N(e,!1),0===e.strm.avail_out))return O;if(e.strstart-e.block_start>=e.w_size-E&&(N(e,!1),0===e.strm.avail_out))return O}return e.insert=0,t===l?(N(e,!0),0===e.strm.avail_out?I:R):(e.strstart>e.block_start&&(N(e,!1),e.strm.avail_out),O)}),new $(4,4,8,4,U),new $(4,5,16,8,U),new $(4,6,32,32,U),new $(4,4,16,16,q),new $(8,16,32,32,q),new $(8,16,128,128,q),new $(8,32,128,256,q),new $(32,128,258,1024,q),new $(32,258,258,4096,q)],n.deflateInit=function(e,t){return Q(e,t,g,15,8,0)},n.deflateInit2=Q,n.deflateReset=K,n.deflateResetKeep=H,n.deflateSetHeader=function(e,t){return e&&e.state?2!==e.state.wrap?d:(e.state.gzhead=t,f):d},n.deflate=function(e,t){var n,i,a,u;if(!e||!e.state||5<t||t<0)return e?P(e,d):d;if(i=e.state,!e.output||!e.input&&0!==e.avail_in||666===i.status&&t!==l)return P(e,0===e.avail_out?-5:d);if(i.strm=e,n=i.last_flush,i.last_flush=t,i.status===x)if(2===i.wrap)e.adler=0,j(i,31),j(i,139),j(i,8),i.gzhead?(j(i,(i.gzhead.text?1:0)+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),j(i,255&i.gzhead.time),j(i,i.gzhead.time>>8&255),j(i,i.gzhead.time>>16&255),j(i,i.gzhead.time>>24&255),j(i,9===i.level?2:2<=i.strategy||i.level<2?4:0),j(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(j(i,255&i.gzhead.extra.length),j(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=s(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=69):(j(i,0),j(i,0),j(i,0),j(i,0),j(i,0),j(i,9===i.level?2:2<=i.strategy||i.level<2?4:0),j(i,3),i.status=T);else{var h=g+(i.w_bits-8<<4)<<8;h|=(2<=i.strategy||i.level<2?0:i.level<6?1:6===i.level?2:3)<<6,0!==i.strstart&&(h|=32),h+=31-h%31,i.status=T,L(i,h),0!==i.strstart&&(L(i,e.adler>>>16),L(i,65535&e.adler)),e.adler=1}if(69===i.status)if(i.gzhead.extra){for(a=i.pending;i.gzindex<(65535&i.gzhead.extra.length)&&(i.pending!==i.pending_buf_size||(i.gzhead.hcrc&&i.pending>a&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),M(e),a=i.pending,i.pending!==i.pending_buf_size));)j(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++;i.gzhead.hcrc&&i.pending>a&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=73)}else i.status=73;if(73===i.status)if(i.gzhead.name){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),M(e),a=i.pending,i.pending===i.pending_buf_size)){u=1;break}u=i.gzindex<i.gzhead.name.length?255&i.gzhead.name.charCodeAt(i.gzindex++):0,j(i,u)}while(0!==u);i.gzhead.hcrc&&i.pending>a&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),0===u&&(i.gzindex=0,i.status=91)}else i.status=91;if(91===i.status)if(i.gzhead.comment){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),M(e),a=i.pending,i.pending===i.pending_buf_size)){u=1;break}u=i.gzindex<i.gzhead.comment.length?255&i.gzhead.comment.charCodeAt(i.gzindex++):0,j(i,u)}while(0!==u);i.gzhead.hcrc&&i.pending>a&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),0===u&&(i.status=103)}else i.status=103;if(103===i.status&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&M(e),i.pending+2<=i.pending_buf_size&&(j(i,255&e.adler),j(i,e.adler>>8&255),e.adler=0,i.status=T)):i.status=T),0!==i.pending){if(M(e),0===e.avail_out)return i.last_flush=-1,f}else if(0===e.avail_in&&D(t)<=D(n)&&t!==l)return P(e,-5);if(666===i.status&&0!==e.avail_in)return P(e,-5);if(0!==e.avail_in||0!==i.lookahead||t!==c&&666!==i.status){var p=2===i.strategy?function(e,t){for(var n;;){if(0===e.lookahead&&(B(e),0===e.lookahead)){if(t===c)return O;break}if(e.match_length=0,n=o._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(N(e,!1),0===e.strm.avail_out))return O}return e.insert=0,t===l?(N(e,!0),0===e.strm.avail_out?I:R):e.last_lit&&(N(e,!1),0===e.strm.avail_out)?O:A}(i,t):3===i.strategy?function(e,t){for(var n,r,i,a,s=e.window;;){if(e.lookahead<=C){if(B(e),e.lookahead<=C&&t===c)return O;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=k&&0<e.strstart&&(r=s[i=e.strstart-1])===s[++i]&&r===s[++i]&&r===s[++i]){a=e.strstart+C;do{}while(r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&i<a);e.match_length=C-(a-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=k?(n=o._tr_tally(e,1,e.match_length-k),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=o._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(N(e,!1),0===e.strm.avail_out))return O}return e.insert=0,t===l?(N(e,!0),0===e.strm.avail_out?I:R):e.last_lit&&(N(e,!1),0===e.strm.avail_out)?O:A}(i,t):r[i.level].func(i,t);if(p!==I&&p!==R||(i.status=666),p===O||p===I)return 0===e.avail_out&&(i.last_flush=-1),f;if(p===A&&(1===t?o._tr_align(i):5!==t&&(o._tr_stored_block(i,0,0,!1),3===t&&(z(i.head),0===i.lookahead&&(i.strstart=0,i.block_start=0,i.insert=0))),M(e),0===e.avail_out))return i.last_flush=-1,f}return t!==l?f:i.wrap<=0?1:(2===i.wrap?(j(i,255&e.adler),j(i,e.adler>>8&255),j(i,e.adler>>16&255),j(i,e.adler>>24&255),j(i,255&e.total_in),j(i,e.total_in>>8&255),j(i,e.total_in>>16&255),j(i,e.total_in>>24&255)):(L(i,e.adler>>>16),L(i,65535&e.adler)),M(e),0<i.wrap&&(i.wrap=-i.wrap),0!==i.pending?f:1)},n.deflateEnd=function(e){var t;return e&&e.state?(t=e.state.status)!==x&&69!==t&&73!==t&&91!==t&&103!==t&&t!==T&&666!==t?P(e,d):(e.state=null,t===T?P(e,-3):f):d},n.deflateSetDictionary=function(e,t){var n,r,o,s,u,c,l,h,p=t.length;if(!e||!e.state)return d;if(2===(s=(n=e.state).wrap)||1===s&&n.status!==x||n.lookahead)return d;for(1===s&&(e.adler=a(e.adler,t,p,0)),n.wrap=0,p>=n.w_size&&(0===s&&(z(n.head),n.strstart=0,n.block_start=0,n.insert=0),h=new i.Buf8(n.w_size),i.arraySet(h,t,p-n.w_size,n.w_size,0),t=h,p=n.w_size),u=e.avail_in,c=e.next_in,l=e.input,e.avail_in=p,e.next_in=0,e.input=t,B(n);n.lookahead>=k;){for(r=n.strstart,o=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++,--o;);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=c,e.input=l,e.avail_in=u,n.wrap=s,f},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,i,o,a,s,u,c,l,f,d,h,p,m,g,y,v,b,w,_,S,k,C,E,x;n=e.state,r=e.next_in,E=e.input,i=r+(e.avail_in-5),o=e.next_out,x=e.output,a=o-(t-e.avail_out),s=o+(e.avail_out-257),u=n.dmax,c=n.wsize,l=n.whave,f=n.wnext,d=n.window,h=n.hold,p=n.bits,m=n.lencode,g=n.distcode,y=(1<<n.lenbits)-1,v=(1<<n.distbits)-1;e:do{p<15&&(h+=E[r++]<<p,p+=8,h+=E[r++]<<p,p+=8),b=m[h&y];t:for(;;){if(h>>>=w=b>>>24,p-=w,0===(w=b>>>16&255))x[o++]=65535&b;else{if(!(16&w)){if(0==(64&w)){b=m[(65535&b)+(h&(1<<w)-1)];continue t}if(32&w){n.mode=12;break e}e.msg="invalid literal/length code",n.mode=30;break e}_=65535&b,(w&=15)&&(p<w&&(h+=E[r++]<<p,p+=8),_+=h&(1<<w)-1,h>>>=w,p-=w),p<15&&(h+=E[r++]<<p,p+=8,h+=E[r++]<<p,p+=8),b=g[h&v];n:for(;;){if(h>>>=w=b>>>24,p-=w,!(16&(w=b>>>16&255))){if(0==(64&w)){b=g[(65535&b)+(h&(1<<w)-1)];continue n}e.msg="invalid distance code",n.mode=30;break e}if(S=65535&b,p<(w&=15)&&(h+=E[r++]<<p,(p+=8)<w&&(h+=E[r++]<<p,p+=8)),u<(S+=h&(1<<w)-1)){e.msg="invalid distance too far back",n.mode=30;break e}if(h>>>=w,p-=w,(w=o-a)<S){if(l<(w=S-w)&&n.sane){e.msg="invalid distance too far back",n.mode=30;break e}if(C=d,(k=0)===f){if(k+=c-w,w<_){for(_-=w;x[o++]=d[k++],--w;);k=o-S,C=x}}else if(f<w){if(k+=c+f-w,(w-=f)<_){for(_-=w;x[o++]=d[k++],--w;);if(k=0,f<_){for(_-=w=f;x[o++]=d[k++],--w;);k=o-S,C=x}}}else if(k+=f-w,w<_){for(_-=w;x[o++]=d[k++],--w;);k=o-S,C=x}for(;2<_;)x[o++]=C[k++],x[o++]=C[k++],x[o++]=C[k++],_-=3;_&&(x[o++]=C[k++],1<_&&(x[o++]=C[k++]))}else{for(k=o-S;x[o++]=x[k++],x[o++]=x[k++],x[o++]=x[k++],2<(_-=3););_&&(x[o++]=x[k++],1<_&&(x[o++]=x[k++]))}break}}break}}while(r<i&&o<s);r-=_=p>>3,h&=(1<<(p-=_<<3))-1,e.next_in=r,e.next_out=o,e.avail_in=r<i?i-r+5:5-(r-i),e.avail_out=o<s?s-o+257:257-(o-s),n.hold=h,n.bits=p}},{}],49:[function(e,t,n){"use strict";var r=e("../utils/common"),i=e("./adler32"),o=e("./crc32"),a=e("./inffast"),s=e("./inftrees"),u=1,c=2,l=0,f=-2,d=1,h=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 y(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=d,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(h),t.distcode=t.distdyn=new r.Buf32(p),t.sane=1,t.back=-1,l):f}function v(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,y(e)):f}function b(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)?f:(null!==r.window&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,v(e))):f}function w(e,t){var n,r;return e?(r=new g,(e.state=r).window=null,(n=b(e,t))!==l&&(e.state=null),n):f}var _,S,k=!0;function C(e){if(k){var t;for(_=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(s(u,e.lens,0,288,_,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;s(c,e.lens,0,32,S,0,e.work,{bits:5}),k=!1}e.lencode=_,e.lenbits=9,e.distcode=S,e.distbits=5}function E(e,t,n,i){var o,a=e.state;return null===a.window&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new r.Buf8(a.wsize)),i>=a.wsize?(r.arraySet(a.window,t,n-a.wsize,a.wsize,0),a.wnext=0,a.whave=a.wsize):(i<(o=a.wsize-a.wnext)&&(o=i),r.arraySet(a.window,t,n-i,o,a.wnext),(i-=o)?(r.arraySet(a.window,t,n-i,i,0),a.wnext=i,a.whave=a.wsize):(a.wnext+=o,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=o))),0}n.inflateReset=v,n.inflateReset2=b,n.inflateResetKeep=y,n.inflateInit=function(e){return w(e,15)},n.inflateInit2=w,n.inflate=function(e,t){var n,h,p,g,y,v,b,w,_,S,k,x,T,O,A,I,R,P,D,z,M,N,j,L,F=0,B=new r.Buf8(4),U=[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 f;12===(n=e.state).mode&&(n.mode=13),y=e.next_out,p=e.output,b=e.avail_out,g=e.next_in,h=e.input,v=e.avail_in,w=n.hold,_=n.bits,S=v,k=b,N=l;e:for(;;)switch(n.mode){case d:if(0===n.wrap){n.mode=13;break}for(;_<16;){if(0===v)break e;v--,w+=h[g++]<<_,_+=8}if(2&n.wrap&&35615===w){B[n.check=0]=255&w,B[1]=w>>>8&255,n.check=o(n.check,B,2,0),_=w=0,n.mode=2;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&w)<<8)+(w>>8))%31){e.msg="incorrect header check",n.mode=30;break}if(8!=(15&w)){e.msg="unknown compression method",n.mode=30;break}if(_-=4,M=8+(15&(w>>>=4)),0===n.wbits)n.wbits=M;else if(M>n.wbits){e.msg="invalid window size",n.mode=30;break}n.dmax=1<<M,e.adler=n.check=1,n.mode=512&w?10:12,_=w=0;break;case 2:for(;_<16;){if(0===v)break e;v--,w+=h[g++]<<_,_+=8}if(n.flags=w,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=w>>8&1),512&n.flags&&(B[0]=255&w,B[1]=w>>>8&255,n.check=o(n.check,B,2,0)),_=w=0,n.mode=3;case 3:for(;_<32;){if(0===v)break e;v--,w+=h[g++]<<_,_+=8}n.head&&(n.head.time=w),512&n.flags&&(B[0]=255&w,B[1]=w>>>8&255,B[2]=w>>>16&255,B[3]=w>>>24&255,n.check=o(n.check,B,4,0)),_=w=0,n.mode=4;case 4:for(;_<16;){if(0===v)break e;v--,w+=h[g++]<<_,_+=8}n.head&&(n.head.xflags=255&w,n.head.os=w>>8),512&n.flags&&(B[0]=255&w,B[1]=w>>>8&255,n.check=o(n.check,B,2,0)),_=w=0,n.mode=5;case 5:if(1024&n.flags){for(;_<16;){if(0===v)break e;v--,w+=h[g++]<<_,_+=8}n.length=w,n.head&&(n.head.extra_len=w),512&n.flags&&(B[0]=255&w,B[1]=w>>>8&255,n.check=o(n.check,B,2,0)),_=w=0}else n.head&&(n.head.extra=null);n.mode=6;case 6:if(1024&n.flags&&(v<(x=n.length)&&(x=v),x&&(n.head&&(M=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),r.arraySet(n.head.extra,h,g,x,M)),512&n.flags&&(n.check=o(n.check,h,x,g)),v-=x,g+=x,n.length-=x),n.length))break e;n.length=0,n.mode=7;case 7:if(2048&n.flags){if(0===v)break e;for(x=0;M=h[g+x++],n.head&&M&&n.length<65536&&(n.head.name+=String.fromCharCode(M)),M&&x<v;);if(512&n.flags&&(n.check=o(n.check,h,x,g)),v-=x,g+=x,M)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(x=0;M=h[g+x++],n.head&&M&&n.length<65536&&(n.head.comment+=String.fromCharCode(M)),M&&x<v;);if(512&n.flags&&(n.check=o(n.check,h,x,g)),v-=x,g+=x,M)break e}else n.head&&(n.head.comment=null);n.mode=9;case 9:if(512&n.flags){for(;_<16;){if(0===v)break e;v--,w+=h[g++]<<_,_+=8}if(w!==(65535&n.check)){e.msg="header crc mismatch",n.mode=30;break}_=w=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(;_<32;){if(0===v)break e;v--,w+=h[g++]<<_,_+=8}e.adler=n.check=m(w),_=w=0,n.mode=11;case 11:if(0===n.havedict)return e.next_out=y,e.avail_out=b,e.next_in=g,e.avail_in=v,n.hold=w,n.bits=_,2;e.adler=n.check=1,n.mode=12;case 12:if(5===t||6===t)break e;case 13:if(n.last){w>>>=7&_,_-=7&_,n.mode=27;break}for(;_<3;){if(0===v)break e;v--,w+=h[g++]<<_,_+=8}switch(n.last=1&w,_-=1,3&(w>>>=1)){case 0:n.mode=14;break;case 1:if(C(n),n.mode=20,6!==t)break;w>>>=2,_-=2;break e;case 2:n.mode=17;break;case 3:e.msg="invalid block type",n.mode=30}w>>>=2,_-=2;break;case 14:for(w>>>=7&_,_-=7&_;_<32;){if(0===v)break e;v--,w+=h[g++]<<_,_+=8}if((65535&w)!=(w>>>16^65535)){e.msg="invalid stored block lengths",n.mode=30;break}if(n.length=65535&w,_=w=0,n.mode=15,6===t)break e;case 15:n.mode=16;case 16:if(x=n.length){if(v<x&&(x=v),b<x&&(x=b),0===x)break e;r.arraySet(p,h,g,x,y),v-=x,g+=x,b-=x,y+=x,n.length-=x;break}n.mode=12;break;case 17:for(;_<14;){if(0===v)break e;v--,w+=h[g++]<<_,_+=8}if(n.nlen=257+(31&w),w>>>=5,_-=5,n.ndist=1+(31&w),w>>>=5,_-=5,n.ncode=4+(15&w),w>>>=4,_-=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(;_<3;){if(0===v)break e;v--,w+=h[g++]<<_,_+=8}n.lens[U[n.have++]]=7&w,w>>>=3,_-=3}for(;n.have<19;)n.lens[U[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,j={bits:n.lenbits},N=s(0,n.lens,0,19,n.lencode,0,n.work,j),n.lenbits=j.bits,N){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(;I=(F=n.lencode[w&(1<<n.lenbits)-1])>>>16&255,R=65535&F,!((A=F>>>24)<=_);){if(0===v)break e;v--,w+=h[g++]<<_,_+=8}if(R<16)w>>>=A,_-=A,n.lens[n.have++]=R;else{if(16===R){for(L=A+2;_<L;){if(0===v)break e;v--,w+=h[g++]<<_,_+=8}if(w>>>=A,_-=A,0===n.have){e.msg="invalid bit length repeat",n.mode=30;break}M=n.lens[n.have-1],x=3+(3&w),w>>>=2,_-=2}else if(17===R){for(L=A+3;_<L;){if(0===v)break e;v--,w+=h[g++]<<_,_+=8}_-=A,M=0,x=3+(7&(w>>>=A)),w>>>=3,_-=3}else{for(L=A+7;_<L;){if(0===v)break e;v--,w+=h[g++]<<_,_+=8}_-=A,M=0,x=11+(127&(w>>>=A)),w>>>=7,_-=7}if(n.have+x>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=30;break}for(;x--;)n.lens[n.have++]=M}}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,j={bits:n.lenbits},N=s(u,n.lens,0,n.nlen,n.lencode,0,n.work,j),n.lenbits=j.bits,N){e.msg="invalid literal/lengths set",n.mode=30;break}if(n.distbits=6,n.distcode=n.distdyn,j={bits:n.distbits},N=s(c,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,j),n.distbits=j.bits,N){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<=b){e.next_out=y,e.avail_out=b,e.next_in=g,e.avail_in=v,n.hold=w,n.bits=_,a(e,k),y=e.next_out,p=e.output,b=e.avail_out,g=e.next_in,h=e.input,v=e.avail_in,w=n.hold,_=n.bits,12===n.mode&&(n.back=-1);break}for(n.back=0;I=(F=n.lencode[w&(1<<n.lenbits)-1])>>>16&255,R=65535&F,!((A=F>>>24)<=_);){if(0===v)break e;v--,w+=h[g++]<<_,_+=8}if(I&&0==(240&I)){for(P=A,D=I,z=R;I=(F=n.lencode[z+((w&(1<<P+D)-1)>>P)])>>>16&255,R=65535&F,!(P+(A=F>>>24)<=_);){if(0===v)break e;v--,w+=h[g++]<<_,_+=8}w>>>=P,_-=P,n.back+=P}if(w>>>=A,_-=A,n.back+=A,n.length=R,0===I){n.mode=26;break}if(32&I){n.back=-1,n.mode=12;break}if(64&I){e.msg="invalid literal/length code",n.mode=30;break}n.extra=15&I,n.mode=22;case 22:if(n.extra){for(L=n.extra;_<L;){if(0===v)break e;v--,w+=h[g++]<<_,_+=8}n.length+=w&(1<<n.extra)-1,w>>>=n.extra,_-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;I=(F=n.distcode[w&(1<<n.distbits)-1])>>>16&255,R=65535&F,!((A=F>>>24)<=_);){if(0===v)break e;v--,w+=h[g++]<<_,_+=8}if(0==(240&I)){for(P=A,D=I,z=R;I=(F=n.distcode[z+((w&(1<<P+D)-1)>>P)])>>>16&255,R=65535&F,!(P+(A=F>>>24)<=_);){if(0===v)break e;v--,w+=h[g++]<<_,_+=8}w>>>=P,_-=P,n.back+=P}if(w>>>=A,_-=A,n.back+=A,64&I){e.msg="invalid distance code",n.mode=30;break}n.offset=R,n.extra=15&I,n.mode=24;case 24:if(n.extra){for(L=n.extra;_<L;){if(0===v)break e;v--,w+=h[g++]<<_,_+=8}n.offset+=w&(1<<n.extra)-1,w>>>=n.extra,_-=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===b)break e;if(x=k-b,n.offset>x){if((x=n.offset-x)>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=30;break}T=x>n.wnext?(x-=n.wnext,n.wsize-x):n.wnext-x,x>n.length&&(x=n.length),O=n.window}else O=p,T=y-n.offset,x=n.length;for(b<x&&(x=b),b-=x,n.length-=x;p[y++]=O[T++],--x;);0===n.length&&(n.mode=21);break;case 26:if(0===b)break e;p[y++]=n.length,b--,n.mode=21;break;case 27:if(n.wrap){for(;_<32;){if(0===v)break e;v--,w|=h[g++]<<_,_+=8}if(k-=b,e.total_out+=k,n.total+=k,k&&(e.adler=n.check=n.flags?o(n.check,p,k,y-k):i(n.check,p,k,y-k)),k=b,(n.flags?w:m(w))!==n.check){e.msg="incorrect data check",n.mode=30;break}_=w=0}n.mode=28;case 28:if(n.wrap&&n.flags){for(;_<32;){if(0===v)break e;v--,w+=h[g++]<<_,_+=8}if(w!==(4294967295&n.total)){e.msg="incorrect length check",n.mode=30;break}_=w=0}n.mode=29;case 29:N=1;break e;case 30:N=-3;break e;case 31:return-4;default:return f}return e.next_out=y,e.avail_out=b,e.next_in=g,e.avail_in=v,n.hold=w,n.bits=_,(n.wsize||k!==e.avail_out&&n.mode<30&&(n.mode<27||4!==t))&&E(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?o(n.check,p,k,e.next_out-k):i(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)&&N===l&&(N=-5),N)},n.inflateEnd=function(e){if(!e||!e.state)return f;var t=e.state;return t.window&&(t.window=null),e.state=null,l},n.inflateGetHeader=function(e,t){var n;return e&&e.state?0==(2&(n=e.state).wrap)?f:((n.head=t).done=!1,l):f},n.inflateSetDictionary=function(e,t){var n,r=t.length;return e&&e.state?0!==(n=e.state).wrap&&11!==n.mode?f:11===n.mode&&i(1,t,r,0)!==n.check?-3:E(e,t,r,r)?(n.mode=31,-4):(n.havedict=1,l):f},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"),i=[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],o=[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],a=[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],s=[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,u,c,l,f,d){var h,p,m,g,y,v,b,w,_,S=d.bits,k=0,C=0,E=0,x=0,T=0,O=0,A=0,I=0,R=0,P=0,D=null,z=0,M=new r.Buf16(16),N=new r.Buf16(16),j=null,L=0;for(k=0;k<=15;k++)M[k]=0;for(C=0;C<u;C++)M[t[n+C]]++;for(T=S,x=15;1<=x&&0===M[x];x--);if(x<T&&(T=x),0===x)return c[l++]=20971520,c[l++]=20971520,d.bits=1,0;for(E=1;E<x&&0===M[E];E++);for(T<E&&(T=E),k=I=1;k<=15;k++)if(I<<=1,(I-=M[k])<0)return-1;if(0<I&&(0===e||1!==x))return-1;for(N[1]=0,k=1;k<15;k++)N[k+1]=N[k]+M[k];for(C=0;C<u;C++)0!==t[n+C]&&(f[N[t[n+C]]++]=C);if(v=0===e?(D=j=f,19):1===e?(D=i,z-=257,j=o,L-=257,256):(D=a,j=s,-1),k=E,y=l,A=C=P=0,m=-1,g=(R=1<<(O=T))-1,1===e&&852<R||2===e&&592<R)return 1;for(;;){for(b=k-A,_=f[C]<v?(w=0,f[C]):f[C]>v?(w=j[L+f[C]],D[z+f[C]]):(w=96,0),h=1<<k-A,E=p=1<<O;c[y+(P>>A)+(p-=h)]=b<<24|w<<16|_,0!==p;);for(h=1<<k-1;P&h;)h>>=1;if(0!==h?(P&=h-1,P+=h):P=0,C++,0==--M[k]){if(k===x)break;k=t[n+f[C]]}if(T<k&&(P&g)!==m){for(0===A&&(A=T),y+=E,I=1<<(O=k-A);O+A<x&&!((I-=M[O+A])<=0);)O++,I<<=1;if(R+=1<<O,1===e&&852<R||2===e&&592<R)return 1;c[m=P&g]=T<<24|O<<16|y-l}}return 0!==P&&(c[y+P]=k-A<<24|64<<16),d.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"),i=0,o=1;function a(e){for(var t=e.length;0<=--t;)e[t]=0}var s=0,u=29,c=256,l=c+1+u,f=30,d=19,h=2*l+1,p=15,m=16,g=7,y=256,v=16,b=17,w=18,_=[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],E=new Array(2*(l+2));a(E);var x=new Array(2*f);a(x);var T=new Array(512);a(T);var O=new Array(256);a(O);var A=new Array(u);a(A);var I,R,P,D=new Array(f);function z(e,t,n,r,i){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=i,this.has_stree=e&&e.length}function M(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function N(e){return e<256?T[e]:T[256+(e>>>7)]}function j(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function L(e,t,n){e.bi_valid>m-n?(e.bi_buf|=t<<e.bi_valid&65535,j(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 F(e,t,n){L(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 U(e,t,n){var r,i,o=new Array(p+1),a=0;for(r=1;r<=p;r++)o[r]=a=a+n[r-1]<<1;for(i=0;i<=t;i++){var s=e[2*i+1];0!==s&&(e[2*i]=B(o[s]++,s))}}function q(e){var t;for(t=0;t<l;t++)e.dyn_ltree[2*t]=0;for(t=0;t<f;t++)e.dyn_dtree[2*t]=0;for(t=0;t<d;t++)e.bl_tree[2*t]=0;e.dyn_ltree[2*y]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function $(e){8<e.bi_valid?j(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 W(e,t,n,r){var i=2*t,o=2*n;return e[i]<e[o]||e[i]===e[o]&&r[t]<=r[n]}function H(e,t,n){for(var r=e.heap[n],i=n<<1;i<=e.heap_len&&(i<e.heap_len&&W(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!W(t,r,e.heap[i],e.depth));)e.heap[n]=e.heap[i],n=i,i<<=1;e.heap[n]=r}function K(e,t,n){var r,i,o,a,s=0;if(0!==e.last_lit)for(;r=e.pending_buf[e.d_buf+2*s]<<8|e.pending_buf[e.d_buf+2*s+1],i=e.pending_buf[e.l_buf+s],s++,0===r?F(e,i,t):(F(e,(o=O[i])+c+1,t),0!==(a=_[o])&&L(e,i-=A[o],a),F(e,o=N(--r),n),0!==(a=S[o])&&L(e,r-=D[o],a)),s<e.last_lit;);F(e,y,t)}function Q(e,t){var n,r,i,o=t.dyn_tree,a=t.stat_desc.static_tree,s=t.stat_desc.has_stree,u=t.stat_desc.elems,c=-1;for(e.heap_len=0,e.heap_max=h,n=0;n<u;n++)0!==o[2*n]?(e.heap[++e.heap_len]=c=n,e.depth[n]=0):o[2*n+1]=0;for(;e.heap_len<2;)o[2*(i=e.heap[++e.heap_len]=c<2?++c:0)]=1,e.depth[i]=0,e.opt_len--,s&&(e.static_len-=a[2*i+1]);for(t.max_code=c,n=e.heap_len>>1;1<=n;n--)H(e,o,n);for(i=u;n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],H(e,o,1),r=e.heap[1],e.heap[--e.heap_max]=n,e.heap[--e.heap_max]=r,o[2*i]=o[2*n]+o[2*r],e.depth[i]=(e.depth[n]>=e.depth[r]?e.depth[n]:e.depth[r])+1,o[2*n+1]=o[2*r+1]=i,e.heap[1]=i++,H(e,o,1),2<=e.heap_len;);e.heap[--e.heap_max]=e.heap[1],function(e,t){var n,r,i,o,a,s,u=t.dyn_tree,c=t.max_code,l=t.stat_desc.static_tree,f=t.stat_desc.has_stree,d=t.stat_desc.extra_bits,m=t.stat_desc.extra_base,g=t.stat_desc.max_length,y=0;for(o=0;o<=p;o++)e.bl_count[o]=0;for(u[2*e.heap[e.heap_max]+1]=0,n=e.heap_max+1;n<h;n++)g<(o=u[2*u[2*(r=e.heap[n])+1]+1]+1)&&(o=g,y++),u[2*r+1]=o,c<r||(e.bl_count[o]++,a=0,m<=r&&(a=d[r-m]),s=u[2*r],e.opt_len+=s*(o+a),f&&(e.static_len+=s*(l[2*r+1]+a)));if(0!==y){do{for(o=g-1;0===e.bl_count[o];)o--;e.bl_count[o]--,e.bl_count[o+1]+=2,e.bl_count[g]--,y-=2}while(0<y);for(o=g;0!==o;o--)for(r=e.bl_count[o];0!==r;)c<(i=e.heap[--n])||(u[2*i+1]!==o&&(e.opt_len+=(o-u[2*i+1])*u[2*i],u[2*i+1]=o),r--)}}(e,t),U(o,c,e.bl_count)}function Y(e,t,n){var r,i,o=-1,a=t[1],s=0,u=7,c=4;for(0===a&&(u=138,c=3),t[2*(n+1)+1]=65535,r=0;r<=n;r++)i=a,a=t[2*(r+1)+1],++s<u&&i===a||(s<c?e.bl_tree[2*i]+=s:0!==i?(i!==o&&e.bl_tree[2*i]++,e.bl_tree[2*v]++):s<=10?e.bl_tree[2*b]++:e.bl_tree[2*w]++,o=i,c=(s=0)===a?(u=138,3):i===a?(u=6,3):(u=7,4))}function V(e,t,n){var r,i,o=-1,a=t[1],s=0,u=7,c=4;for(0===a&&(u=138,c=3),r=0;r<=n;r++)if(i=a,a=t[2*(r+1)+1],!(++s<u&&i===a)){if(s<c)for(;F(e,i,e.bl_tree),0!=--s;);else 0!==i?(i!==o&&(F(e,i,e.bl_tree),s--),F(e,v,e.bl_tree),L(e,s-3,2)):s<=10?(F(e,b,e.bl_tree),L(e,s-3,3)):(F(e,w,e.bl_tree),L(e,s-11,7));o=i,c=(s=0)===a?(u=138,3):i===a?(u=6,3):(u=7,4)}}a(D);var J=!1;function G(e,t,n,i){L(e,(s<<1)+(i?1:0),3),function(e,t,n,i){$(e),i&&(j(e,n),j(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){J||(function(){var e,t,n,r,i,o=new Array(p+1);for(r=n=0;r<u-1;r++)for(A[r]=n,e=0;e<1<<_[r];e++)O[n++]=r;for(O[n-1]=r,r=i=0;r<16;r++)for(D[r]=i,e=0;e<1<<S[r];e++)T[i++]=r;for(i>>=7;r<f;r++)for(D[r]=i<<7,e=0;e<1<<S[r]-7;e++)T[256+i++]=r;for(t=0;t<=p;t++)o[t]=0;for(e=0;e<=143;)E[2*e+1]=8,e++,o[8]++;for(;e<=255;)E[2*e+1]=9,e++,o[9]++;for(;e<=279;)E[2*e+1]=7,e++,o[7]++;for(;e<=287;)E[2*e+1]=8,e++,o[8]++;for(U(E,l+1,o),e=0;e<f;e++)x[2*e+1]=5,x[2*e]=B(e,5);I=new z(E,_,c+1,l,p),R=new z(x,S,0,f,p),P=new z(new Array(0),k,0,d,g)}(),J=!0),e.l_desc=new M(e.dyn_ltree,I),e.d_desc=new M(e.dyn_dtree,R),e.bl_desc=new M(e.bl_tree,P),e.bi_buf=0,e.bi_valid=0,q(e)},n._tr_stored_block=G,n._tr_flush_block=function(e,t,n,r){var a,s,u=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 i;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return o;for(t=32;t<c;t++)if(0!==e.dyn_ltree[2*t])return o;return i}(e)),Q(e,e.l_desc),Q(e,e.d_desc),u=function(e){var t;for(Y(e,e.dyn_ltree,e.l_desc.max_code),Y(e,e.dyn_dtree,e.d_desc.max_code),Q(e,e.bl_desc),t=d-1;3<=t&&0===e.bl_tree[2*C[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),a=e.opt_len+3+7>>>3,(s=e.static_len+3+7>>>3)<=a&&(a=s)):a=s=n+5,n+4<=a&&-1!==t?G(e,t,n,r):4===e.strategy||s===a?(L(e,2+(r?1:0),3),K(e,E,x)):(L(e,4+(r?1:0),3),function(e,t,n,r){var i;for(L(e,t-257,5),L(e,n-1,5),L(e,r-4,4),i=0;i<r;i++)L(e,e.bl_tree[2*C[i]+1],3);V(e,e.dyn_ltree,t-1),V(e,e.dyn_dtree,n-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,u+1),K(e,e.dyn_ltree,e.dyn_dtree)),q(e),r&&$(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*(O[n]+c+1)]++,e.dyn_dtree[2*N(t)]++),e.last_lit===e.lit_bufsize-1},n._tr_align=function(e){L(e,2,3),F(e,y,E),function(e){16===e.bi_valid?(j(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,o,a,s=1,u={},c=!1,l=e.document,f=Object.getPrototypeOf&&Object.getPrototypeOf(e);f=f&&f.setTimeout?f:e,n="[object process]"==={}.toString.call(e.process)?function(e){i.nextTick(function(){h(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}}()?(a="setImmediate$"+Math.random()+"$",e.addEventListener?e.addEventListener("message",p,!1):e.attachEvent("onmessage",p),function(t){e.postMessage(a+t,"*")}):e.MessageChannel?((o=new MessageChannel).port1.onmessage=function(e){h(e.data)},function(e){o.port2.postMessage(e)}):l&&"onreadystatechange"in l.createElement("script")?(r=l.documentElement,function(e){var t=l.createElement("script");t.onreadystatechange=function(){h(e),t.onreadystatechange=null,r.removeChild(t),t=null},r.appendChild(t)}):function(e){setTimeout(h,0,e)},f.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 i={callback:e,args:t};return u[s]=i,n(s),s++},f.clearImmediate=d}function d(e){delete u[e]}function h(e){if(c)setTimeout(h,0,e);else{var n=u[e];if(n){c=!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{d(e),c=!1}}}}function p(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(a)&&h(+t.data.slice(a.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)},54650:e=>{var t,n,r=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"===typeof setTimeout?setTimeout:i}catch(e){t=i}try{n="function"===typeof clearTimeout?clearTimeout:o}catch(e){n=o}}();var s,u=[],c=!1,l=-1;function f(){c&&s&&(c=!1,s.length?u=s.concat(u):l=-1,u.length&&d())}function d(){if(!c){var e=a(f);c=!0;for(var t=u.length;t;){for(s=u,u=[];++l<t;)s&&s[l].run();l=-1,t=u.length}s=null,c=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===o||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{return n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function p(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new h(e,t)),1!==u.length||c||a(d)},h.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=p,r.addListener=p,r.once=p,r.off=p,r.removeListener=p,r.removeAllListeners=p,r.emit=p,r.prependListener=p,r.prependOnceListener=p,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},29142:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(50760),i=n(31734);const o=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=new Set;return function e(t,a){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,u=o.has(t);if((0,i.Ay)(!u,"Warning: There may be circular references"),u)return!1;if(t===a)return!0;if(n&&s>1)return!1;o.add(t);var c=s+1;if(Array.isArray(t)){if(!Array.isArray(a)||t.length!==a.length)return!1;for(var l=0;l<t.length;l++)if(!e(t[l],a[l],c))return!1;return!0}if(t&&a&&"object"===(0,r.A)(t)&&"object"===(0,r.A)(a)){var f=Object.keys(t);return f.length===Object.keys(a).length&&f.every(function(n){return e(t[n],a[n],c)})}return!1}(e,t)}},67043:(e,t,n)=>{"use strict";var r=n(1936),i=n(70346);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a=new Set,s={};function u(e,t){c(e,t),c(e+"Capture",t)}function c(e,t){for(s[e]=t,e=0;e<t.length;e++)a.add(t[e])}var l=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),f=Object.prototype.hasOwnProperty,d=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,h={},p={};function m(e,t,n,r,i,o,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}var g={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){g[e]=new m(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];g[t]=new m(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){g[e]=new m(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){g[e]=new m(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){g[e]=new m(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){g[e]=new m(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){g[e]=new m(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){g[e]=new m(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){g[e]=new m(e,5,!1,e.toLowerCase(),null,!1,!1)});var y=/[\-:]([a-z])/g;function v(e){return e[1].toUpperCase()}function b(e,t,n,r){var i=g.hasOwnProperty(t)?g[t]:null;(null!==i?0!==i.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null===t||"undefined"===typeof t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,i,r)&&(n=null),r||null===i?function(e){return!!f.call(p,e)||!f.call(h,e)&&(d.test(e)?p[e]=!0:(h[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=null===n?3!==i.type&&"":n:(t=i.attributeName,r=i.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(i=i.type)||4===i&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(y,v);g[t]=new m(t,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(y,v);g[t]=new m(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(y,v);g[t]=new m(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){g[e]=new m(e,1,!1,e.toLowerCase(),null,!1,!1)}),g.xlinkHref=new m("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){g[e]=new m(e,1,!1,e.toLowerCase(),null,!0,!0)});var w=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,_=Symbol.for("react.element"),S=Symbol.for("react.portal"),k=Symbol.for("react.fragment"),C=Symbol.for("react.strict_mode"),E=Symbol.for("react.profiler"),x=Symbol.for("react.provider"),T=Symbol.for("react.context"),O=Symbol.for("react.forward_ref"),A=Symbol.for("react.suspense"),I=Symbol.for("react.suspense_list"),R=Symbol.for("react.memo"),P=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var D=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var z=Symbol.iterator;function M(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=z&&e[z]||e["@@iterator"])?e:null}var N,j=Object.assign;function L(e){if(void 0===N)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);N=t&&t[1]||""}return"\n"+N+e}var F=!1;function B(e,t){if(!e||F)return"";F=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(c){var r=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){r=c}e.call(t.prototype)}else{try{throw Error()}catch(c){r=c}e()}}catch(c){if(c&&r&&"string"===typeof c.stack){for(var i=c.stack.split("\n"),o=r.stack.split("\n"),a=i.length-1,s=o.length-1;1<=a&&0<=s&&i[a]!==o[s];)s--;for(;1<=a&&0<=s;a--,s--)if(i[a]!==o[s]){if(1!==a||1!==s)do{if(a--,0>--s||i[a]!==o[s]){var u="\n"+i[a].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}}while(1<=a&&0<=s);break}}}finally{F=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?L(e):""}function U(e){switch(e.tag){case 5:return L(e.type);case 16:return L("Lazy");case 13:return L("Suspense");case 19:return L("SuspenseList");case 0:case 2:case 15:return e=B(e.type,!1);case 11:return e=B(e.type.render,!1);case 1:return e=B(e.type,!0);default:return""}}function q(e){if(null==e)return null;if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case k:return"Fragment";case S:return"Portal";case E:return"Profiler";case C:return"StrictMode";case A:return"Suspense";case I:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case T:return(e.displayName||"Context")+".Consumer";case x:return(e._context.displayName||"Context")+".Provider";case O:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case R:return null!==(t=e.displayName||null)?t:q(e.type)||"Memo";case P:t=e._payload,e=e._init;try{return q(e(t))}catch(n){}}return null}function $(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return q(t);case 8:return t===C?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"===typeof t)return t.displayName||t.name||null;if("string"===typeof t)return t}return null}function W(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function H(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function K(e){e._valueTracker||(e._valueTracker=function(e){var t=H(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function Q(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=H(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Y(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function V(e,t){var n=t.checked;return j({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function J(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=W(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function G(e,t){null!=(t=t.checked)&&b(e,"checked",t,!1)}function Z(e,t){G(e,t);var n=W(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,W(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function X(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&Y(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+W(n),t=null,i=0;i<e.length;i++){if(e[i].value===n)return e[i].selected=!0,void(r&&(e[i].defaultSelected=!0));null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(o(91));return j({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ie(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(o(92));if(te(n)){if(1<n.length)throw Error(o(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:W(n)}}function oe(e,t){var n=W(t.value),r=W(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ae(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function se(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ue(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?se(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ce,le,fe=(le=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ce=ce||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ce.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction(function(){return le(e,t)})}:le);function de(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var he={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},pe=["Webkit","ms","Moz","O"];function me(e,t,n){return null==t||"boolean"===typeof t||""===t?"":n||"number"!==typeof t||0===t||he.hasOwnProperty(e)&&he[e]?(""+t).trim():t+"px"}function ge(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=me(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}Object.keys(he).forEach(function(e){pe.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),he[t]=he[e]})});var ye=j({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ve(e,t){if(t){if(ye[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(o(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(o(60));if("object"!==typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(o(61))}if(null!=t.style&&"object"!==typeof t.style)throw Error(o(62))}}function be(e,t){if(-1===e.indexOf("-"))return"string"===typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var we=null;function _e(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Se=null,ke=null,Ce=null;function Ee(e){if(e=bi(e)){if("function"!==typeof Se)throw Error(o(280));var t=e.stateNode;t&&(t=_i(t),Se(e.stateNode,e.type,t))}}function xe(e){ke?Ce?Ce.push(e):Ce=[e]:ke=e}function Te(){if(ke){var e=ke,t=Ce;if(Ce=ke=null,Ee(e),t)for(e=0;e<t.length;e++)Ee(t[e])}}function Oe(e,t){return e(t)}function Ae(){}var Ie=!1;function Re(e,t,n){if(Ie)return e(t,n);Ie=!0;try{return Oe(e,t,n)}finally{Ie=!1,(null!==ke||null!==Ce)&&(Ae(),Te())}}function Pe(e,t){var n=e.stateNode;if(null===n)return null;var r=_i(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!==typeof n)throw Error(o(231,t,typeof n));return n}var De=!1;if(l)try{var ze={};Object.defineProperty(ze,"passive",{get:function(){De=!0}}),window.addEventListener("test",ze,ze),window.removeEventListener("test",ze,ze)}catch(le){De=!1}function Me(e,t,n,r,i,o,a,s,u){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(l){this.onError(l)}}var Ne=!1,je=null,Le=!1,Fe=null,Be={onError:function(e){Ne=!0,je=e}};function Ue(e,t,n,r,i,o,a,s,u){Ne=!1,je=null,Me.apply(Be,arguments)}function qe(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!==(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function $e(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function We(e){if(qe(e)!==e)throw Error(o(188))}function He(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=qe(e)))throw Error(o(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(null===i)break;var a=i.alternate;if(null===a){if(null!==(r=i.return)){n=r;continue}break}if(i.child===a.child){for(a=i.child;a;){if(a===n)return We(i),e;if(a===r)return We(i),t;a=a.sibling}throw Error(o(188))}if(n.return!==r.return)n=i,r=a;else{for(var s=!1,u=i.child;u;){if(u===n){s=!0,n=i,r=a;break}if(u===r){s=!0,r=i,n=a;break}u=u.sibling}if(!s){for(u=a.child;u;){if(u===n){s=!0,n=a,r=i;break}if(u===r){s=!0,r=a,n=i;break}u=u.sibling}if(!s)throw Error(o(189))}}if(n.alternate!==r)throw Error(o(190))}if(3!==n.tag)throw Error(o(188));return n.stateNode.current===n?e:t}(e))?Ke(e):null}function Ke(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=Ke(e);if(null!==t)return t;e=e.sibling}return null}var Qe=i.unstable_scheduleCallback,Ye=i.unstable_cancelCallback,Ve=i.unstable_shouldYield,Je=i.unstable_requestPaint,Ge=i.unstable_now,Ze=i.unstable_getCurrentPriorityLevel,Xe=i.unstable_ImmediatePriority,et=i.unstable_UserBlockingPriority,tt=i.unstable_NormalPriority,nt=i.unstable_LowPriority,rt=i.unstable_IdlePriority,it=null,ot=null;var at=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(st(e)/ut|0)|0},st=Math.log,ut=Math.LN2;var ct=64,lt=4194304;function ft(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function dt(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,a=268435455&n;if(0!==a){var s=a&~i;0!==s?r=ft(s):0!==(o&=a)&&(r=ft(o))}else 0!==(a=n&~i)?r=ft(a):0!==o&&(r=ft(o));if(0===r)return 0;if(0!==t&&t!==r&&0===(t&i)&&((i=r&-r)>=(o=t&-t)||16===i&&0!==(4194240&o)))return t;if(0!==(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)i=1<<(n=31-at(t)),r|=e[n],t&=~i;return r}function ht(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function pt(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function mt(){var e=ct;return 0===(4194240&(ct<<=1))&&(ct=64),e}function gt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function yt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-at(t)]=n}function vt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-at(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var bt=0;function wt(e){return 1<(e&=-e)?4<e?0!==(268435455&e)?16:536870912:4:1}var _t,St,kt,Ct,Et,xt=!1,Tt=[],Ot=null,At=null,It=null,Rt=new Map,Pt=new Map,Dt=[],zt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Mt(e,t){switch(e){case"focusin":case"focusout":Ot=null;break;case"dragenter":case"dragleave":At=null;break;case"mouseover":case"mouseout":It=null;break;case"pointerover":case"pointerout":Rt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Pt.delete(t.pointerId)}}function Nt(e,t,n,r,i,o){return null===e||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[i]},null!==t&&(null!==(t=bi(t))&&St(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==i&&-1===t.indexOf(i)&&t.push(i),e)}function jt(e){var t=vi(e.target);if(null!==t){var n=qe(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=$e(n)))return e.blockedOn=t,void Et(e.priority,function(){kt(n)})}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Lt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Vt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=bi(n))&&St(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);we=r,n.target.dispatchEvent(r),we=null,t.shift()}return!0}function Ft(e,t,n){Lt(e)&&n.delete(t)}function Bt(){xt=!1,null!==Ot&&Lt(Ot)&&(Ot=null),null!==At&&Lt(At)&&(At=null),null!==It&&Lt(It)&&(It=null),Rt.forEach(Ft),Pt.forEach(Ft)}function Ut(e,t){e.blockedOn===t&&(e.blockedOn=null,xt||(xt=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,Bt)))}function qt(e){function t(t){return Ut(t,e)}if(0<Tt.length){Ut(Tt[0],e);for(var n=1;n<Tt.length;n++){var r=Tt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Ot&&Ut(Ot,e),null!==At&&Ut(At,e),null!==It&&Ut(It,e),Rt.forEach(t),Pt.forEach(t),n=0;n<Dt.length;n++)(r=Dt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Dt.length&&null===(n=Dt[0]).blockedOn;)jt(n),null===n.blockedOn&&Dt.shift()}var $t=w.ReactCurrentBatchConfig,Wt=!0;function Ht(e,t,n,r){var i=bt,o=$t.transition;$t.transition=null;try{bt=1,Qt(e,t,n,r)}finally{bt=i,$t.transition=o}}function Kt(e,t,n,r){var i=bt,o=$t.transition;$t.transition=null;try{bt=4,Qt(e,t,n,r)}finally{bt=i,$t.transition=o}}function Qt(e,t,n,r){if(Wt){var i=Vt(e,t,n,r);if(null===i)Wr(e,t,r,Yt,n),Mt(e,r);else if(function(e,t,n,r,i){switch(t){case"focusin":return Ot=Nt(Ot,e,t,n,r,i),!0;case"dragenter":return At=Nt(At,e,t,n,r,i),!0;case"mouseover":return It=Nt(It,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return Rt.set(o,Nt(Rt.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,Pt.set(o,Nt(Pt.get(o)||null,e,t,n,r,i)),!0}return!1}(i,e,t,n,r))r.stopPropagation();else if(Mt(e,r),4&t&&-1<zt.indexOf(e)){for(;null!==i;){var o=bi(i);if(null!==o&&_t(o),null===(o=Vt(e,t,n,r))&&Wr(e,t,r,Yt,n),o===i)break;i=o}null!==i&&r.stopPropagation()}else Wr(e,t,r,null,n)}}var Yt=null;function Vt(e,t,n,r){if(Yt=null,null!==(e=vi(e=_e(r))))if(null===(t=qe(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=$e(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Yt=e,null}function Jt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Ze()){case Xe:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Gt=null,Zt=null,Xt=null;function en(){if(Xt)return Xt;var e,t,n=Zt,r=n.length,i="value"in Gt?Gt.value:Gt.textContent,o=i.length;for(e=0;e<r&&n[e]===i[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===i[o-t];t++);return Xt=i.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return!0}function rn(){return!1}function on(e){function t(t,n,r,i,o){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(i):i[a]);return this.isDefaultPrevented=(null!=i.defaultPrevented?i.defaultPrevented:!1===i.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return j(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var an,sn,un,cn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ln=on(cn),fn=j({},cn,{view:0,detail:0}),dn=on(fn),hn=j({},fn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:En,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==un&&(un&&"mousemove"===e.type?(an=e.screenX-un.screenX,sn=e.screenY-un.screenY):sn=an=0,un=e),an)},movementY:function(e){return"movementY"in e?e.movementY:sn}}),pn=on(hn),mn=on(j({},hn,{dataTransfer:0})),gn=on(j({},fn,{relatedTarget:0})),yn=on(j({},cn,{animationName:0,elapsedTime:0,pseudoElement:0})),vn=j({},cn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),bn=on(vn),wn=on(j({},cn,{data:0})),_n={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Sn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},kn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Cn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=kn[e])&&!!t[e]}function En(){return Cn}var xn=j({},fn,{key:function(e){if(e.key){var t=_n[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Sn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:En,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Tn=on(xn),On=on(j({},hn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),An=on(j({},fn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:En})),In=on(j({},cn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Rn=j({},hn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Pn=on(Rn),Dn=[9,13,27,32],zn=l&&"CompositionEvent"in window,Mn=null;l&&"documentMode"in document&&(Mn=document.documentMode);var Nn=l&&"TextEvent"in window&&!Mn,jn=l&&(!zn||Mn&&8<Mn&&11>=Mn),Ln=String.fromCharCode(32),Fn=!1;function Bn(e,t){switch(e){case"keyup":return-1!==Dn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Un(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var qn=!1;var $n={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Wn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!$n[e.type]:"textarea"===t}function Hn(e,t,n,r){xe(r),0<(t=Kr(t,"onChange")).length&&(n=new ln("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Kn=null,Qn=null;function Yn(e){Lr(e,0)}function Vn(e){if(Q(wi(e)))return e}function Jn(e,t){if("change"===e)return t}var Gn=!1;if(l){var Zn;if(l){var Xn="oninput"in document;if(!Xn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Xn="function"===typeof er.oninput}Zn=Xn}else Zn=!1;Gn=Zn&&(!document.documentMode||9<document.documentMode)}function tr(){Kn&&(Kn.detachEvent("onpropertychange",nr),Qn=Kn=null)}function nr(e){if("value"===e.propertyName&&Vn(Qn)){var t=[];Hn(t,Qn,e,_e(e)),Re(Yn,t)}}function rr(e,t,n){"focusin"===e?(tr(),Qn=n,(Kn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function ir(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Vn(Qn)}function or(e,t){if("click"===e)return Vn(t)}function ar(e,t){if("input"===e||"change"===e)return Vn(t)}var sr="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t};function ur(e,t){if(sr(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!f.call(t,i)||!sr(e[i],t[i]))return!1}return!0}function cr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function lr(e,t){var n,r=cr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=cr(r)}}function fr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?fr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function dr(){for(var e=window,t=Y();t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=Y((e=t.contentWindow).document)}return t}function hr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function pr(e){var t=dr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&fr(n.ownerDocument.documentElement,n)){if(null!==r&&hr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=void 0===r.end?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=lr(n,o);var a=lr(n,r);i&&a&&(1!==e.rangeCount||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"===typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var mr=l&&"documentMode"in document&&11>=document.documentMode,gr=null,yr=null,vr=null,br=!1;function wr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;br||null==gr||gr!==Y(r)||("selectionStart"in(r=gr)&&hr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},vr&&ur(vr,r)||(vr=r,0<(r=Kr(yr,"onSelect")).length&&(t=new ln("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=gr)))}function _r(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Sr={animationend:_r("Animation","AnimationEnd"),animationiteration:_r("Animation","AnimationIteration"),animationstart:_r("Animation","AnimationStart"),transitionend:_r("Transition","TransitionEnd")},kr={},Cr={};function Er(e){if(kr[e])return kr[e];if(!Sr[e])return e;var t,n=Sr[e];for(t in n)if(n.hasOwnProperty(t)&&t in Cr)return kr[e]=n[t];return e}l&&(Cr=document.createElement("div").style,"AnimationEvent"in window||(delete Sr.animationend.animation,delete Sr.animationiteration.animation,delete Sr.animationstart.animation),"TransitionEvent"in window||delete Sr.transitionend.transition);var xr=Er("animationend"),Tr=Er("animationiteration"),Or=Er("animationstart"),Ar=Er("transitionend"),Ir=new Map,Rr="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Pr(e,t){Ir.set(e,t),u(t,[e])}for(var Dr=0;Dr<Rr.length;Dr++){var zr=Rr[Dr];Pr(zr.toLowerCase(),"on"+(zr[0].toUpperCase()+zr.slice(1)))}Pr(xr,"onAnimationEnd"),Pr(Tr,"onAnimationIteration"),Pr(Or,"onAnimationStart"),Pr("dblclick","onDoubleClick"),Pr("focusin","onFocus"),Pr("focusout","onBlur"),Pr(Ar,"onTransitionEnd"),c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),u("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),u("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),u("onBeforeInput",["compositionend","keypress","textInput","paste"]),u("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Mr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Nr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Mr));function jr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,i,a,s,u,c){if(Ue.apply(this,arguments),Ne){if(!Ne)throw Error(o(198));var l=je;Ne=!1,je=null,Le||(Le=!0,Fe=l)}}(r,t,void 0,e),e.currentTarget=null}function Lr(e,t){t=0!==(4&t);for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var a=r.length-1;0<=a;a--){var s=r[a],u=s.instance,c=s.currentTarget;if(s=s.listener,u!==o&&i.isPropagationStopped())break e;jr(i,s,c),o=u}else for(a=0;a<r.length;a++){if(u=(s=r[a]).instance,c=s.currentTarget,s=s.listener,u!==o&&i.isPropagationStopped())break e;jr(i,s,c),o=u}}}if(Le)throw e=Fe,Le=!1,Fe=null,e}function Fr(e,t){var n=t[mi];void 0===n&&(n=t[mi]=new Set);var r=e+"__bubble";n.has(r)||($r(t,e,2,!1),n.add(r))}function Br(e,t,n){var r=0;t&&(r|=4),$r(n,e,r,t)}var Ur="_reactListening"+Math.random().toString(36).slice(2);function qr(e){if(!e[Ur]){e[Ur]=!0,a.forEach(function(t){"selectionchange"!==t&&(Nr.has(t)||Br(t,!1,e),Br(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Ur]||(t[Ur]=!0,Br("selectionchange",!1,t))}}function $r(e,t,n,r){switch(Jt(t)){case 1:var i=Ht;break;case 4:i=Kt;break;default:i=Qt}n=i.bind(null,t,n,e),i=void 0,!De||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(i=!0),r?void 0!==i?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):void 0!==i?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function Wr(e,t,n,r,i){var o=r;if(0===(1&t)&&0===(2&t)&&null!==r)e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var s=r.stateNode.containerInfo;if(s===i||8===s.nodeType&&s.parentNode===i)break;if(4===a)for(a=r.return;null!==a;){var u=a.tag;if((3===u||4===u)&&((u=a.stateNode.containerInfo)===i||8===u.nodeType&&u.parentNode===i))return;a=a.return}for(;null!==s;){if(null===(a=vi(s)))return;if(5===(u=a.tag)||6===u){r=o=a;continue e}s=s.parentNode}}r=r.return}Re(function(){var r=o,i=_e(n),a=[];e:{var s=Ir.get(e);if(void 0!==s){var u=ln,c=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":u=Tn;break;case"focusin":c="focus",u=gn;break;case"focusout":c="blur",u=gn;break;case"beforeblur":case"afterblur":u=gn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":u=pn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":u=mn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":u=An;break;case xr:case Tr:case Or:u=yn;break;case Ar:u=In;break;case"scroll":u=dn;break;case"wheel":u=Pn;break;case"copy":case"cut":case"paste":u=bn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":u=On}var l=0!==(4&t),f=!l&&"scroll"===e,d=l?null!==s?s+"Capture":null:s;l=[];for(var h,p=r;null!==p;){var m=(h=p).stateNode;if(5===h.tag&&null!==m&&(h=m,null!==d&&(null!=(m=Pe(p,d))&&l.push(Hr(p,m,h)))),f)break;p=p.return}0<l.length&&(s=new u(s,c,null,n,i),a.push({event:s,listeners:l}))}}if(0===(7&t)){if(u="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||n===we||!(c=n.relatedTarget||n.fromElement)||!vi(c)&&!c[pi])&&(u||s)&&(s=i.window===i?i:(s=i.ownerDocument)?s.defaultView||s.parentWindow:window,u?(u=r,null!==(c=(c=n.relatedTarget||n.toElement)?vi(c):null)&&(c!==(f=qe(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(u=null,c=r),u!==c)){if(l=pn,m="onMouseLeave",d="onMouseEnter",p="mouse","pointerout"!==e&&"pointerover"!==e||(l=On,m="onPointerLeave",d="onPointerEnter",p="pointer"),f=null==u?s:wi(u),h=null==c?s:wi(c),(s=new l(m,p+"leave",u,n,i)).target=f,s.relatedTarget=h,m=null,vi(i)===r&&((l=new l(d,p+"enter",c,n,i)).target=h,l.relatedTarget=f,m=l),f=m,u&&c)e:{for(d=c,p=0,h=l=u;h;h=Qr(h))p++;for(h=0,m=d;m;m=Qr(m))h++;for(;0<p-h;)l=Qr(l),p--;for(;0<h-p;)d=Qr(d),h--;for(;p--;){if(l===d||null!==d&&l===d.alternate)break e;l=Qr(l),d=Qr(d)}l=null}else l=null;null!==u&&Yr(a,s,u,l,!1),null!==c&&null!==f&&Yr(a,f,c,l,!0)}if("select"===(u=(s=r?wi(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===u&&"file"===s.type)var g=Jn;else if(Wn(s))if(Gn)g=ar;else{g=ir;var y=rr}else(u=s.nodeName)&&"input"===u.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(g=or);switch(g&&(g=g(e,r))?Hn(a,g,n,i):(y&&y(e,s,r),"focusout"===e&&(y=s._wrapperState)&&y.controlled&&"number"===s.type&&ee(s,"number",s.value)),y=r?wi(r):window,e){case"focusin":(Wn(y)||"true"===y.contentEditable)&&(gr=y,yr=r,vr=null);break;case"focusout":vr=yr=gr=null;break;case"mousedown":br=!0;break;case"contextmenu":case"mouseup":case"dragend":br=!1,wr(a,n,i);break;case"selectionchange":if(mr)break;case"keydown":case"keyup":wr(a,n,i)}var v;if(zn)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else qn?Bn(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(jn&&"ko"!==n.locale&&(qn||"onCompositionStart"!==b?"onCompositionEnd"===b&&qn&&(v=en()):(Zt="value"in(Gt=i)?Gt.value:Gt.textContent,qn=!0)),0<(y=Kr(r,b)).length&&(b=new wn(b,e,null,n,i),a.push({event:b,listeners:y}),v?b.data=v:null!==(v=Un(n))&&(b.data=v))),(v=Nn?function(e,t){switch(e){case"compositionend":return Un(t);case"keypress":return 32!==t.which?null:(Fn=!0,Ln);case"textInput":return(e=t.data)===Ln&&Fn?null:e;default:return null}}(e,n):function(e,t){if(qn)return"compositionend"===e||!zn&&Bn(e,t)?(e=en(),Xt=Zt=Gt=null,qn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return jn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Kr(r,"onBeforeInput")).length&&(i=new wn("onBeforeInput","beforeinput",null,n,i),a.push({event:i,listeners:r}),i.data=v))}Lr(a,t)})}function Hr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Kr(e,t){for(var n=t+"Capture",r=[];null!==e;){var i=e,o=i.stateNode;5===i.tag&&null!==o&&(i=o,null!=(o=Pe(e,n))&&r.unshift(Hr(e,o,i)),null!=(o=Pe(e,t))&&r.push(Hr(e,o,i))),e=e.return}return r}function Qr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Yr(e,t,n,r,i){for(var o=t._reactName,a=[];null!==n&&n!==r;){var s=n,u=s.alternate,c=s.stateNode;if(null!==u&&u===r)break;5===s.tag&&null!==c&&(s=c,i?null!=(u=Pe(n,o))&&a.unshift(Hr(n,u,s)):i||null!=(u=Pe(n,o))&&a.push(Hr(n,u,s))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}var Vr=/\r\n?/g,Jr=/\u0000|\uFFFD/g;function Gr(e){return("string"===typeof e?e:""+e).replace(Vr,"\n").replace(Jr,"")}function Zr(e,t,n){if(t=Gr(t),Gr(e)!==t&&n)throw Error(o(425))}function Xr(){}var ei=null,ti=null;function ni(e,t){return"textarea"===e||"noscript"===e||"string"===typeof t.children||"number"===typeof t.children||"object"===typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ri="function"===typeof setTimeout?setTimeout:void 0,ii="function"===typeof clearTimeout?clearTimeout:void 0,oi="function"===typeof Promise?Promise:void 0,ai="function"===typeof queueMicrotask?queueMicrotask:"undefined"!==typeof oi?function(e){return oi.resolve(null).then(e).catch(si)}:ri;function si(e){setTimeout(function(){throw e})}function ui(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&8===i.nodeType)if("/$"===(n=i.data)){if(0===r)return e.removeChild(i),void qt(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=i}while(n);qt(t)}function ci(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function li(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var fi=Math.random().toString(36).slice(2),di="__reactFiber$"+fi,hi="__reactProps$"+fi,pi="__reactContainer$"+fi,mi="__reactEvents$"+fi,gi="__reactListeners$"+fi,yi="__reactHandles$"+fi;function vi(e){var t=e[di];if(t)return t;for(var n=e.parentNode;n;){if(t=n[pi]||n[di]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=li(e);null!==e;){if(n=e[di])return n;e=li(e)}return t}n=(e=n).parentNode}return null}function bi(e){return!(e=e[di]||e[pi])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function wi(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(o(33))}function _i(e){return e[hi]||null}var Si=[],ki=-1;function Ci(e){return{current:e}}function Ei(e){0>ki||(e.current=Si[ki],Si[ki]=null,ki--)}function xi(e,t){ki++,Si[ki]=e.current,e.current=t}var Ti={},Oi=Ci(Ti),Ai=Ci(!1),Ii=Ti;function Ri(e,t){var n=e.type.contextTypes;if(!n)return Ti;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in n)o[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Pi(e){return null!==(e=e.childContextTypes)&&void 0!==e}function Di(){Ei(Ai),Ei(Oi)}function zi(e,t,n){if(Oi.current!==Ti)throw Error(o(168));xi(Oi,t),xi(Ai,n)}function Mi(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var i in r=r.getChildContext())if(!(i in t))throw Error(o(108,$(e)||"Unknown",i));return j({},n,r)}function Ni(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ti,Ii=Oi.current,xi(Oi,e),xi(Ai,Ai.current),!0}function ji(e,t,n){var r=e.stateNode;if(!r)throw Error(o(169));n?(e=Mi(e,t,Ii),r.__reactInternalMemoizedMergedChildContext=e,Ei(Ai),Ei(Oi),xi(Oi,e)):Ei(Ai),xi(Ai,n)}var Li=null,Fi=!1,Bi=!1;function Ui(e){null===Li?Li=[e]:Li.push(e)}function qi(){if(!Bi&&null!==Li){Bi=!0;var e=0,t=bt;try{var n=Li;for(bt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Li=null,Fi=!1}catch(i){throw null!==Li&&(Li=Li.slice(e+1)),Qe(Xe,qi),i}finally{bt=t,Bi=!1}}return null}var $i=[],Wi=0,Hi=null,Ki=0,Qi=[],Yi=0,Vi=null,Ji=1,Gi="";function Zi(e,t){$i[Wi++]=Ki,$i[Wi++]=Hi,Hi=e,Ki=t}function Xi(e,t,n){Qi[Yi++]=Ji,Qi[Yi++]=Gi,Qi[Yi++]=Vi,Vi=e;var r=Ji;e=Gi;var i=32-at(r)-1;r&=~(1<<i),n+=1;var o=32-at(t)+i;if(30<o){var a=i-i%5;o=(r&(1<<a)-1).toString(32),r>>=a,i-=a,Ji=1<<32-at(t)+i|n<<i|r,Gi=o+e}else Ji=1<<o|n<<i|r,Gi=e}function eo(e){null!==e.return&&(Zi(e,1),Xi(e,1,0))}function to(e){for(;e===Hi;)Hi=$i[--Wi],$i[Wi]=null,Ki=$i[--Wi],$i[Wi]=null;for(;e===Vi;)Vi=Qi[--Yi],Qi[Yi]=null,Gi=Qi[--Yi],Qi[Yi]=null,Ji=Qi[--Yi],Qi[Yi]=null}var no=null,ro=null,io=!1,oo=null;function ao(e,t){var n=Ic(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function so(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,no=e,ro=ci(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,no=e,ro=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Vi?{id:Ji,overflow:Gi}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Ic(18,null,null,0)).stateNode=t,n.return=e,e.child=n,no=e,ro=null,!0);default:return!1}}function uo(e){return 0!==(1&e.mode)&&0===(128&e.flags)}function co(e){if(io){var t=ro;if(t){var n=t;if(!so(e,t)){if(uo(e))throw Error(o(418));t=ci(n.nextSibling);var r=no;t&&so(e,t)?ao(r,n):(e.flags=-4097&e.flags|2,io=!1,no=e)}}else{if(uo(e))throw Error(o(418));e.flags=-4097&e.flags|2,io=!1,no=e}}}function lo(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;no=e}function fo(e){if(e!==no)return!1;if(!io)return lo(e),io=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!ni(e.type,e.memoizedProps)),t&&(t=ro)){if(uo(e))throw ho(),Error(o(418));for(;t;)ao(e,t),t=ci(t.nextSibling)}if(lo(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(o(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){ro=ci(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}ro=null}}else ro=no?ci(e.stateNode.nextSibling):null;return!0}function ho(){for(var e=ro;e;)e=ci(e.nextSibling)}function po(){ro=no=null,io=!1}function mo(e){null===oo?oo=[e]:oo.push(e)}var go=w.ReactCurrentBatchConfig;function yo(e,t,n){if(null!==(e=n.ref)&&"function"!==typeof e&&"object"!==typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(o(309));var r=n.stateNode}if(!r)throw Error(o(147,e));var i=r,a=""+e;return null!==t&&null!==t.ref&&"function"===typeof t.ref&&t.ref._stringRef===a?t.ref:(t=function(e){var t=i.refs;null===e?delete t[a]:t[a]=e},t._stringRef=a,t)}if("string"!==typeof e)throw Error(o(284));if(!n._owner)throw Error(o(290,e))}return e}function vo(e,t){throw e=Object.prototype.toString.call(t),Error(o(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function bo(e){return(0,e._init)(e._payload)}function wo(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function i(e,t){return(e=Pc(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function s(t){return e&&null===t.alternate&&(t.flags|=2),t}function u(e,t,n,r){return null===t||6!==t.tag?((t=Nc(n,e.mode,r)).return=e,t):((t=i(t,n)).return=e,t)}function c(e,t,n,r){var o=n.type;return o===k?f(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===o||"object"===typeof o&&null!==o&&o.$$typeof===P&&bo(o)===t.type)?((r=i(t,n.props)).ref=yo(e,t,n),r.return=e,r):((r=Dc(n.type,n.key,n.props,null,e.mode,r)).ref=yo(e,t,n),r.return=e,r)}function l(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=jc(n,e.mode,r)).return=e,t):((t=i(t,n.children||[])).return=e,t)}function f(e,t,n,r,o){return null===t||7!==t.tag?((t=zc(n,e.mode,r,o)).return=e,t):((t=i(t,n)).return=e,t)}function d(e,t,n){if("string"===typeof t&&""!==t||"number"===typeof t)return(t=Nc(""+t,e.mode,n)).return=e,t;if("object"===typeof t&&null!==t){switch(t.$$typeof){case _:return(n=Dc(t.type,t.key,t.props,null,e.mode,n)).ref=yo(e,null,t),n.return=e,n;case S:return(t=jc(t,e.mode,n)).return=e,t;case P:return d(e,(0,t._init)(t._payload),n)}if(te(t)||M(t))return(t=zc(t,e.mode,n,null)).return=e,t;vo(e,t)}return null}function h(e,t,n,r){var i=null!==t?t.key:null;if("string"===typeof n&&""!==n||"number"===typeof n)return null!==i?null:u(e,t,""+n,r);if("object"===typeof n&&null!==n){switch(n.$$typeof){case _:return n.key===i?c(e,t,n,r):null;case S:return n.key===i?l(e,t,n,r):null;case P:return h(e,t,(i=n._init)(n._payload),r)}if(te(n)||M(n))return null!==i?null:f(e,t,n,r,null);vo(e,n)}return null}function p(e,t,n,r,i){if("string"===typeof r&&""!==r||"number"===typeof r)return u(t,e=e.get(n)||null,""+r,i);if("object"===typeof r&&null!==r){switch(r.$$typeof){case _:return c(t,e=e.get(null===r.key?n:r.key)||null,r,i);case S:return l(t,e=e.get(null===r.key?n:r.key)||null,r,i);case P:return p(e,t,n,(0,r._init)(r._payload),i)}if(te(r)||M(r))return f(t,e=e.get(n)||null,r,i,null);vo(t,r)}return null}function m(i,o,s,u){for(var c=null,l=null,f=o,m=o=0,g=null;null!==f&&m<s.length;m++){f.index>m?(g=f,f=null):g=f.sibling;var y=h(i,f,s[m],u);if(null===y){null===f&&(f=g);break}e&&f&&null===y.alternate&&t(i,f),o=a(y,o,m),null===l?c=y:l.sibling=y,l=y,f=g}if(m===s.length)return n(i,f),io&&Zi(i,m),c;if(null===f){for(;m<s.length;m++)null!==(f=d(i,s[m],u))&&(o=a(f,o,m),null===l?c=f:l.sibling=f,l=f);return io&&Zi(i,m),c}for(f=r(i,f);m<s.length;m++)null!==(g=p(f,i,m,s[m],u))&&(e&&null!==g.alternate&&f.delete(null===g.key?m:g.key),o=a(g,o,m),null===l?c=g:l.sibling=g,l=g);return e&&f.forEach(function(e){return t(i,e)}),io&&Zi(i,m),c}function g(i,s,u,c){var l=M(u);if("function"!==typeof l)throw Error(o(150));if(null==(u=l.call(u)))throw Error(o(151));for(var f=l=null,m=s,g=s=0,y=null,v=u.next();null!==m&&!v.done;g++,v=u.next()){m.index>g?(y=m,m=null):y=m.sibling;var b=h(i,m,v.value,c);if(null===b){null===m&&(m=y);break}e&&m&&null===b.alternate&&t(i,m),s=a(b,s,g),null===f?l=b:f.sibling=b,f=b,m=y}if(v.done)return n(i,m),io&&Zi(i,g),l;if(null===m){for(;!v.done;g++,v=u.next())null!==(v=d(i,v.value,c))&&(s=a(v,s,g),null===f?l=v:f.sibling=v,f=v);return io&&Zi(i,g),l}for(m=r(i,m);!v.done;g++,v=u.next())null!==(v=p(m,i,g,v.value,c))&&(e&&null!==v.alternate&&m.delete(null===v.key?g:v.key),s=a(v,s,g),null===f?l=v:f.sibling=v,f=v);return e&&m.forEach(function(e){return t(i,e)}),io&&Zi(i,g),l}return function e(r,o,a,u){if("object"===typeof a&&null!==a&&a.type===k&&null===a.key&&(a=a.props.children),"object"===typeof a&&null!==a){switch(a.$$typeof){case _:e:{for(var c=a.key,l=o;null!==l;){if(l.key===c){if((c=a.type)===k){if(7===l.tag){n(r,l.sibling),(o=i(l,a.props.children)).return=r,r=o;break e}}else if(l.elementType===c||"object"===typeof c&&null!==c&&c.$$typeof===P&&bo(c)===l.type){n(r,l.sibling),(o=i(l,a.props)).ref=yo(r,l,a),o.return=r,r=o;break e}n(r,l);break}t(r,l),l=l.sibling}a.type===k?((o=zc(a.props.children,r.mode,u,a.key)).return=r,r=o):((u=Dc(a.type,a.key,a.props,null,r.mode,u)).ref=yo(r,o,a),u.return=r,r=u)}return s(r);case S:e:{for(l=a.key;null!==o;){if(o.key===l){if(4===o.tag&&o.stateNode.containerInfo===a.containerInfo&&o.stateNode.implementation===a.implementation){n(r,o.sibling),(o=i(o,a.children||[])).return=r,r=o;break e}n(r,o);break}t(r,o),o=o.sibling}(o=jc(a,r.mode,u)).return=r,r=o}return s(r);case P:return e(r,o,(l=a._init)(a._payload),u)}if(te(a))return m(r,o,a,u);if(M(a))return g(r,o,a,u);vo(r,a)}return"string"===typeof a&&""!==a||"number"===typeof a?(a=""+a,null!==o&&6===o.tag?(n(r,o.sibling),(o=i(o,a)).return=r,r=o):(n(r,o),(o=Nc(a,r.mode,u)).return=r,r=o),s(r)):n(r,o)}}var _o=wo(!0),So=wo(!1),ko=Ci(null),Co=null,Eo=null,xo=null;function To(){xo=Eo=Co=null}function Oo(e){var t=ko.current;Ei(ko),e._currentValue=t}function Ao(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Io(e,t){Co=e,xo=Eo=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(vs=!0),e.firstContext=null)}function Ro(e){var t=e._currentValue;if(xo!==e)if(e={context:e,memoizedValue:t,next:null},null===Eo){if(null===Co)throw Error(o(308));Eo=e,Co.dependencies={lanes:0,firstContext:e}}else Eo=Eo.next=e;return t}var Po=null;function Do(e){null===Po?Po=[e]:Po.push(e)}function zo(e,t,n,r){var i=t.interleaved;return null===i?(n.next=n,Do(t)):(n.next=i.next,i.next=n),t.interleaved=n,Mo(e,r)}function Mo(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var No=!1;function jo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Lo(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Fo(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Bo(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!==(2&Tu)){var i=r.pending;return null===i?t.next=t:(t.next=i.next,i.next=t),r.pending=t,Mo(e,n)}return null===(i=r.interleaved)?(t.next=t,Do(r)):(t.next=i.next,i.next=t),r.interleaved=t,Mo(e,n)}function Uo(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!==(4194240&n))){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,vt(e,n)}}function qo(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var i=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===o?i=o=a:o=o.next=a,n=n.next}while(null!==n);null===o?i=o=t:o=o.next=t}else i=o=t;return n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function $o(e,t,n,r){var i=e.updateQueue;No=!1;var o=i.firstBaseUpdate,a=i.lastBaseUpdate,s=i.shared.pending;if(null!==s){i.shared.pending=null;var u=s,c=u.next;u.next=null,null===a?o=c:a.next=c,a=u;var l=e.alternate;null!==l&&((s=(l=l.updateQueue).lastBaseUpdate)!==a&&(null===s?l.firstBaseUpdate=c:s.next=c,l.lastBaseUpdate=u))}if(null!==o){var f=i.baseState;for(a=0,l=c=u=null,s=o;;){var d=s.lane,h=s.eventTime;if((r&d)===d){null!==l&&(l=l.next={eventTime:h,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var p=e,m=s;switch(d=t,h=n,m.tag){case 1:if("function"===typeof(p=m.payload)){f=p.call(h,f,d);break e}f=p;break e;case 3:p.flags=-65537&p.flags|128;case 0:if(null===(d="function"===typeof(p=m.payload)?p.call(h,f,d):p)||void 0===d)break e;f=j({},f,d);break e;case 2:No=!0}}null!==s.callback&&0!==s.lane&&(e.flags|=64,null===(d=i.effects)?i.effects=[s]:d.push(s))}else h={eventTime:h,lane:d,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===l?(c=l=h,u=f):l=l.next=h,a|=d;if(null===(s=s.next)){if(null===(s=i.shared.pending))break;s=(d=s).next,d.next=null,i.lastBaseUpdate=d,i.shared.pending=null}}if(null===l&&(u=f),i.baseState=u,i.firstBaseUpdate=c,i.lastBaseUpdate=l,null!==(t=i.shared.interleaved)){i=t;do{a|=i.lane,i=i.next}while(i!==t)}else null===o&&(i.shared.lanes=0);Mu|=a,e.lanes=a,e.memoizedState=f}}function Wo(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(null!==i){if(r.callback=null,r=n,"function"!==typeof i)throw Error(o(191,i));i.call(r)}}}var Ho={},Ko=Ci(Ho),Qo=Ci(Ho),Yo=Ci(Ho);function Vo(e){if(e===Ho)throw Error(o(174));return e}function Jo(e,t){switch(xi(Yo,t),xi(Qo,e),xi(Ko,Ho),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ue(null,"");break;default:t=ue(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Ei(Ko),xi(Ko,t)}function Go(){Ei(Ko),Ei(Qo),Ei(Yo)}function Zo(e){Vo(Yo.current);var t=Vo(Ko.current),n=ue(t,e.type);t!==n&&(xi(Qo,e),xi(Ko,n))}function Xo(e){Qo.current===e&&(Ei(Ko),Ei(Qo))}var ea=Ci(0);function ta(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!==(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var na=[];function ra(){for(var e=0;e<na.length;e++)na[e]._workInProgressVersionPrimary=null;na.length=0}var ia=w.ReactCurrentDispatcher,oa=w.ReactCurrentBatchConfig,aa=0,sa=null,ua=null,ca=null,la=!1,fa=!1,da=0,ha=0;function pa(){throw Error(o(321))}function ma(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!sr(e[n],t[n]))return!1;return!0}function ga(e,t,n,r,i,a){if(aa=a,sa=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ia.current=null===e||null===e.memoizedState?Xa:es,e=n(r,i),fa){a=0;do{if(fa=!1,da=0,25<=a)throw Error(o(301));a+=1,ca=ua=null,t.updateQueue=null,ia.current=ts,e=n(r,i)}while(fa)}if(ia.current=Za,t=null!==ua&&null!==ua.next,aa=0,ca=ua=sa=null,la=!1,t)throw Error(o(300));return e}function ya(){var e=0!==da;return da=0,e}function va(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ca?sa.memoizedState=ca=e:ca=ca.next=e,ca}function ba(){if(null===ua){var e=sa.alternate;e=null!==e?e.memoizedState:null}else e=ua.next;var t=null===ca?sa.memoizedState:ca.next;if(null!==t)ca=t,ua=e;else{if(null===e)throw Error(o(310));e={memoizedState:(ua=e).memoizedState,baseState:ua.baseState,baseQueue:ua.baseQueue,queue:ua.queue,next:null},null===ca?sa.memoizedState=ca=e:ca=ca.next=e}return ca}function wa(e,t){return"function"===typeof t?t(e):t}function _a(e){var t=ba(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=ua,i=r.baseQueue,a=n.pending;if(null!==a){if(null!==i){var s=i.next;i.next=a.next,a.next=s}r.baseQueue=i=a,n.pending=null}if(null!==i){a=i.next,r=r.baseState;var u=s=null,c=null,l=a;do{var f=l.lane;if((aa&f)===f)null!==c&&(c=c.next={lane:0,action:l.action,hasEagerState:l.hasEagerState,eagerState:l.eagerState,next:null}),r=l.hasEagerState?l.eagerState:e(r,l.action);else{var d={lane:f,action:l.action,hasEagerState:l.hasEagerState,eagerState:l.eagerState,next:null};null===c?(u=c=d,s=r):c=c.next=d,sa.lanes|=f,Mu|=f}l=l.next}while(null!==l&&l!==a);null===c?s=r:c.next=u,sr(r,t.memoizedState)||(vs=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=c,n.lastRenderedState=r}if(null!==(e=n.interleaved)){i=e;do{a=i.lane,sa.lanes|=a,Mu|=a,i=i.next}while(i!==e)}else null===i&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Sa(e){var t=ba(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,a=t.memoizedState;if(null!==i){n.pending=null;var s=i=i.next;do{a=e(a,s.action),s=s.next}while(s!==i);sr(a,t.memoizedState)||(vs=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function ka(){}function Ca(e,t){var n=sa,r=ba(),i=t(),a=!sr(r.memoizedState,i);if(a&&(r.memoizedState=i,vs=!0),r=r.queue,Na(Ta.bind(null,n,r,e),[e]),r.getSnapshot!==t||a||null!==ca&&1&ca.memoizedState.tag){if(n.flags|=2048,Ra(9,xa.bind(null,n,r,i,t),void 0,null),null===Ou)throw Error(o(349));0!==(30&aa)||Ea(n,t,i)}return i}function Ea(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=sa.updateQueue)?(t={lastEffect:null,stores:null},sa.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function xa(e,t,n,r){t.value=n,t.getSnapshot=r,Oa(t)&&Aa(e)}function Ta(e,t,n){return n(function(){Oa(t)&&Aa(e)})}function Oa(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!sr(e,n)}catch(r){return!0}}function Aa(e){var t=Mo(e,1);null!==t&&tc(t,e,1,-1)}function Ia(e){var t=va();return"function"===typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:wa,lastRenderedState:e},t.queue=e,e=e.dispatch=Ya.bind(null,sa,e),[t.memoizedState,e]}function Ra(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=sa.updateQueue)?(t={lastEffect:null,stores:null},sa.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Pa(){return ba().memoizedState}function Da(e,t,n,r){var i=va();sa.flags|=e,i.memoizedState=Ra(1|t,n,void 0,void 0===r?null:r)}function za(e,t,n,r){var i=ba();r=void 0===r?null:r;var o=void 0;if(null!==ua){var a=ua.memoizedState;if(o=a.destroy,null!==r&&ma(r,a.deps))return void(i.memoizedState=Ra(t,n,o,r))}sa.flags|=e,i.memoizedState=Ra(1|t,n,o,r)}function Ma(e,t){return Da(8390656,8,e,t)}function Na(e,t){return za(2048,8,e,t)}function ja(e,t){return za(4,2,e,t)}function La(e,t){return za(4,4,e,t)}function Fa(e,t){return"function"===typeof t?(e=e(),t(e),function(){t(null)}):null!==t&&void 0!==t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Ba(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,za(4,4,Fa.bind(null,t,e),n)}function Ua(){}function qa(e,t){var n=ba();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ma(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function $a(e,t){var n=ba();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ma(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Wa(e,t,n){return 0===(21&aa)?(e.baseState&&(e.baseState=!1,vs=!0),e.memoizedState=n):(sr(n,t)||(n=mt(),sa.lanes|=n,Mu|=n,e.baseState=!0),t)}function Ha(e,t){var n=bt;bt=0!==n&&4>n?n:4,e(!0);var r=oa.transition;oa.transition={};try{e(!1),t()}finally{bt=n,oa.transition=r}}function Ka(){return ba().memoizedState}function Qa(e,t,n){var r=ec(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Va(e))Ja(t,n);else if(null!==(n=zo(e,t,n,r))){tc(n,e,r,Xu()),Ga(n,t,r)}}function Ya(e,t,n){var r=ec(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Va(e))Ja(t,i);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var a=t.lastRenderedState,s=o(a,n);if(i.hasEagerState=!0,i.eagerState=s,sr(s,a)){var u=t.interleaved;return null===u?(i.next=i,Do(t)):(i.next=u.next,u.next=i),void(t.interleaved=i)}}catch(c){}null!==(n=zo(e,t,i,r))&&(tc(n,e,r,i=Xu()),Ga(n,t,r))}}function Va(e){var t=e.alternate;return e===sa||null!==t&&t===sa}function Ja(e,t){fa=la=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Ga(e,t,n){if(0!==(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,vt(e,n)}}var Za={readContext:Ro,useCallback:pa,useContext:pa,useEffect:pa,useImperativeHandle:pa,useInsertionEffect:pa,useLayoutEffect:pa,useMemo:pa,useReducer:pa,useRef:pa,useState:pa,useDebugValue:pa,useDeferredValue:pa,useTransition:pa,useMutableSource:pa,useSyncExternalStore:pa,useId:pa,unstable_isNewReconciler:!1},Xa={readContext:Ro,useCallback:function(e,t){return va().memoizedState=[e,void 0===t?null:t],e},useContext:Ro,useEffect:Ma,useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,Da(4194308,4,Fa.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Da(4194308,4,e,t)},useInsertionEffect:function(e,t){return Da(4,2,e,t)},useMemo:function(e,t){var n=va();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=va();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Qa.bind(null,sa,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},va().memoizedState=e},useState:Ia,useDebugValue:Ua,useDeferredValue:function(e){return va().memoizedState=e},useTransition:function(){var e=Ia(!1),t=e[0];return e=Ha.bind(null,e[1]),va().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=sa,i=va();if(io){if(void 0===n)throw Error(o(407));n=n()}else{if(n=t(),null===Ou)throw Error(o(349));0!==(30&aa)||Ea(r,t,n)}i.memoizedState=n;var a={value:n,getSnapshot:t};return i.queue=a,Ma(Ta.bind(null,r,a,e),[e]),r.flags|=2048,Ra(9,xa.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=va(),t=Ou.identifierPrefix;if(io){var n=Gi;t=":"+t+"R"+(n=(Ji&~(1<<32-at(Ji)-1)).toString(32)+n),0<(n=da++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=ha++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},es={readContext:Ro,useCallback:qa,useContext:Ro,useEffect:Na,useImperativeHandle:Ba,useInsertionEffect:ja,useLayoutEffect:La,useMemo:$a,useReducer:_a,useRef:Pa,useState:function(){return _a(wa)},useDebugValue:Ua,useDeferredValue:function(e){return Wa(ba(),ua.memoizedState,e)},useTransition:function(){return[_a(wa)[0],ba().memoizedState]},useMutableSource:ka,useSyncExternalStore:Ca,useId:Ka,unstable_isNewReconciler:!1},ts={readContext:Ro,useCallback:qa,useContext:Ro,useEffect:Na,useImperativeHandle:Ba,useInsertionEffect:ja,useLayoutEffect:La,useMemo:$a,useReducer:Sa,useRef:Pa,useState:function(){return Sa(wa)},useDebugValue:Ua,useDeferredValue:function(e){var t=ba();return null===ua?t.memoizedState=e:Wa(t,ua.memoizedState,e)},useTransition:function(){return[Sa(wa)[0],ba().memoizedState]},useMutableSource:ka,useSyncExternalStore:Ca,useId:Ka,unstable_isNewReconciler:!1};function ns(e,t){if(e&&e.defaultProps){for(var n in t=j({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}function rs(e,t,n,r){n=null===(n=n(r,t=e.memoizedState))||void 0===n?t:j({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var is={isMounted:function(e){return!!(e=e._reactInternals)&&qe(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Xu(),i=ec(e),o=Fo(r,i);o.payload=t,void 0!==n&&null!==n&&(o.callback=n),null!==(t=Bo(e,o,i))&&(tc(t,e,i,r),Uo(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Xu(),i=ec(e),o=Fo(r,i);o.tag=1,o.payload=t,void 0!==n&&null!==n&&(o.callback=n),null!==(t=Bo(e,o,i))&&(tc(t,e,i,r),Uo(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Xu(),r=ec(e),i=Fo(n,r);i.tag=2,void 0!==t&&null!==t&&(i.callback=t),null!==(t=Bo(e,i,r))&&(tc(t,e,r,n),Uo(t,e,r))}};function os(e,t,n,r,i,o,a){return"function"===typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,a):!t.prototype||!t.prototype.isPureReactComponent||(!ur(n,r)||!ur(i,o))}function as(e,t,n){var r=!1,i=Ti,o=t.contextType;return"object"===typeof o&&null!==o?o=Ro(o):(i=Pi(t)?Ii:Oi.current,o=(r=null!==(r=t.contextTypes)&&void 0!==r)?Ri(e,i):Ti),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=is,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function ss(e,t,n,r){e=t.state,"function"===typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"===typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&is.enqueueReplaceState(t,t.state,null)}function us(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs={},jo(e);var o=t.contextType;"object"===typeof o&&null!==o?i.context=Ro(o):(o=Pi(t)?Ii:Oi.current,i.context=Ri(e,o)),i.state=e.memoizedState,"function"===typeof(o=t.getDerivedStateFromProps)&&(rs(e,t,o,n),i.state=e.memoizedState),"function"===typeof t.getDerivedStateFromProps||"function"===typeof i.getSnapshotBeforeUpdate||"function"!==typeof i.UNSAFE_componentWillMount&&"function"!==typeof i.componentWillMount||(t=i.state,"function"===typeof i.componentWillMount&&i.componentWillMount(),"function"===typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),t!==i.state&&is.enqueueReplaceState(i,i.state,null),$o(e,n,i,r),i.state=e.memoizedState),"function"===typeof i.componentDidMount&&(e.flags|=4194308)}function cs(e,t){try{var n="",r=t;do{n+=U(r),r=r.return}while(r);var i=n}catch(o){i="\nError generating stack: "+o.message+"\n"+o.stack}return{value:e,source:t,stack:i,digest:null}}function ls(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}var fs="function"===typeof WeakMap?WeakMap:Map;function ds(e,t,n){(n=Fo(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){$u||($u=!0,Wu=r)},n}function hs(e,t,n){(n=Fo(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"===typeof r){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){}}var o=e.stateNode;return null!==o&&"function"===typeof o.componentDidCatch&&(n.callback=function(){"function"!==typeof r&&(null===Hu?Hu=new Set([this]):Hu.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function ps(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new fs;var i=new Set;r.set(t,i)}else void 0===(i=r.get(t))&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=Cc.bind(null,e,t,n),t.then(e,e))}function ms(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function gs(e,t,n,r,i){return 0===(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Fo(-1,1)).tag=2,Bo(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=i,e)}var ys=w.ReactCurrentOwner,vs=!1;function bs(e,t,n,r){t.child=null===e?So(t,null,n,r):_o(t,e.child,n,r)}function ws(e,t,n,r,i){n=n.render;var o=t.ref;return Io(t,i),r=ga(e,t,n,r,o,i),n=ya(),null===e||vs?(io&&n&&eo(t),t.flags|=1,bs(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,$s(e,t,i))}function _s(e,t,n,r,i){if(null===e){var o=n.type;return"function"!==typeof o||Rc(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Dc(n.type,null,r,t,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,Ss(e,t,o,r,i))}if(o=e.child,0===(e.lanes&i)){var a=o.memoizedProps;if((n=null!==(n=n.compare)?n:ur)(a,r)&&e.ref===t.ref)return $s(e,t,i)}return t.flags|=1,(e=Pc(o,r)).ref=t.ref,e.return=t,t.child=e}function Ss(e,t,n,r,i){if(null!==e){var o=e.memoizedProps;if(ur(o,r)&&e.ref===t.ref){if(vs=!1,t.pendingProps=r=o,0===(e.lanes&i))return t.lanes=e.lanes,$s(e,t,i);0!==(131072&e.flags)&&(vs=!0)}}return Es(e,t,n,r,i)}function ks(e,t,n){var r=t.pendingProps,i=r.children,o=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0===(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},xi(Pu,Ru),Ru|=n;else{if(0===(1073741824&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,xi(Pu,Ru),Ru|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==o?o.baseLanes:n,xi(Pu,Ru),Ru|=r}else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,xi(Pu,Ru),Ru|=r;return bs(e,t,i,n),t.child}function Cs(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Es(e,t,n,r,i){var o=Pi(n)?Ii:Oi.current;return o=Ri(t,o),Io(t,i),n=ga(e,t,n,r,o,i),r=ya(),null===e||vs?(io&&r&&eo(t),t.flags|=1,bs(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,$s(e,t,i))}function xs(e,t,n,r,i){if(Pi(n)){var o=!0;Ni(t)}else o=!1;if(Io(t,i),null===t.stateNode)qs(e,t),as(t,n,r),us(t,n,r,i),r=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var u=a.context,c=n.contextType;"object"===typeof c&&null!==c?c=Ro(c):c=Ri(t,c=Pi(n)?Ii:Oi.current);var l=n.getDerivedStateFromProps,f="function"===typeof l||"function"===typeof a.getSnapshotBeforeUpdate;f||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(s!==r||u!==c)&&ss(t,a,r,c),No=!1;var d=t.memoizedState;a.state=d,$o(t,r,a,i),u=t.memoizedState,s!==r||d!==u||Ai.current||No?("function"===typeof l&&(rs(t,n,l,r),u=t.memoizedState),(s=No||os(t,n,s,r,d,u,c))?(f||"function"!==typeof a.UNSAFE_componentWillMount&&"function"!==typeof a.componentWillMount||("function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"===typeof a.componentDidMount&&(t.flags|=4194308)):("function"===typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),a.props=r,a.state=u,a.context=c,r=s):("function"===typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,Lo(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:ns(t.type,s),a.props=c,f=t.pendingProps,d=a.context,"object"===typeof(u=n.contextType)&&null!==u?u=Ro(u):u=Ri(t,u=Pi(n)?Ii:Oi.current);var h=n.getDerivedStateFromProps;(l="function"===typeof h||"function"===typeof a.getSnapshotBeforeUpdate)||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(s!==f||d!==u)&&ss(t,a,r,u),No=!1,d=t.memoizedState,a.state=d,$o(t,r,a,i);var p=t.memoizedState;s!==f||d!==p||Ai.current||No?("function"===typeof h&&(rs(t,n,h,r),p=t.memoizedState),(c=No||os(t,n,c,r,d,p,u)||!1)?(l||"function"!==typeof a.UNSAFE_componentWillUpdate&&"function"!==typeof a.componentWillUpdate||("function"===typeof a.componentWillUpdate&&a.componentWillUpdate(r,p,u),"function"===typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,p,u)),"function"===typeof a.componentDidUpdate&&(t.flags|=4),"function"===typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!==typeof a.componentDidUpdate||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!==typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),a.props=r,a.state=p,a.context=u,r=c):("function"!==typeof a.componentDidUpdate||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!==typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return Ts(e,t,n,r,o,i)}function Ts(e,t,n,r,i,o){Cs(e,t);var a=0!==(128&t.flags);if(!r&&!a)return i&&ji(t,n,!1),$s(e,t,o);r=t.stateNode,ys.current=t;var s=a&&"function"!==typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=_o(t,e.child,null,o),t.child=_o(t,null,s,o)):bs(e,t,s,o),t.memoizedState=r.state,i&&ji(t,n,!0),t.child}function Os(e){var t=e.stateNode;t.pendingContext?zi(0,t.pendingContext,t.pendingContext!==t.context):t.context&&zi(0,t.context,!1),Jo(e,t.containerInfo)}function As(e,t,n,r,i){return po(),mo(i),t.flags|=256,bs(e,t,n,r),t.child}var Is,Rs,Ps,Ds,zs={dehydrated:null,treeContext:null,retryLane:0};function Ms(e){return{baseLanes:e,cachePool:null,transitions:null}}function Ns(e,t,n){var r,i=t.pendingProps,a=ea.current,s=!1,u=0!==(128&t.flags);if((r=u)||(r=(null===e||null!==e.memoizedState)&&0!==(2&a)),r?(s=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(a|=1),xi(ea,1&a),null===e)return co(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0===(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(u=i.children,e=i.fallback,s?(i=t.mode,s=t.child,u={mode:"hidden",children:u},0===(1&i)&&null!==s?(s.childLanes=0,s.pendingProps=u):s=Mc(u,i,0,null),e=zc(e,i,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Ms(n),t.memoizedState=zs,e):js(t,u));if(null!==(a=e.memoizedState)&&null!==(r=a.dehydrated))return function(e,t,n,r,i,a,s){if(n)return 256&t.flags?(t.flags&=-257,Ls(e,t,s,r=ls(Error(o(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(a=r.fallback,i=t.mode,r=Mc({mode:"visible",children:r.children},i,0,null),(a=zc(a,i,s,null)).flags|=2,r.return=t,a.return=t,r.sibling=a,t.child=r,0!==(1&t.mode)&&_o(t,e.child,null,s),t.child.memoizedState=Ms(s),t.memoizedState=zs,a);if(0===(1&t.mode))return Ls(e,t,s,null);if("$!"===i.data){if(r=i.nextSibling&&i.nextSibling.dataset)var u=r.dgst;return r=u,Ls(e,t,s,r=ls(a=Error(o(419)),r,void 0))}if(u=0!==(s&e.childLanes),vs||u){if(null!==(r=Ou)){switch(s&-s){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}0!==(i=0!==(i&(r.suspendedLanes|s))?0:i)&&i!==a.retryLane&&(a.retryLane=i,Mo(e,i),tc(r,e,i,-1))}return pc(),Ls(e,t,s,r=ls(Error(o(421))))}return"$?"===i.data?(t.flags|=128,t.child=e.child,t=xc.bind(null,e),i._reactRetry=t,null):(e=a.treeContext,ro=ci(i.nextSibling),no=t,io=!0,oo=null,null!==e&&(Qi[Yi++]=Ji,Qi[Yi++]=Gi,Qi[Yi++]=Vi,Ji=e.id,Gi=e.overflow,Vi=t),t=js(t,r.children),t.flags|=4096,t)}(e,t,u,i,r,a,n);if(s){s=i.fallback,u=t.mode,r=(a=e.child).sibling;var c={mode:"hidden",children:i.children};return 0===(1&u)&&t.child!==a?((i=t.child).childLanes=0,i.pendingProps=c,t.deletions=null):(i=Pc(a,c)).subtreeFlags=14680064&a.subtreeFlags,null!==r?s=Pc(r,s):(s=zc(s,u,n,null)).flags|=2,s.return=t,i.return=t,i.sibling=s,t.child=i,i=s,s=t.child,u=null===(u=e.child.memoizedState)?Ms(n):{baseLanes:u.baseLanes|n,cachePool:null,transitions:u.transitions},s.memoizedState=u,s.childLanes=e.childLanes&~n,t.memoizedState=zs,i}return e=(s=e.child).sibling,i=Pc(s,{mode:"visible",children:i.children}),0===(1&t.mode)&&(i.lanes=n),i.return=t,i.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=i,t.memoizedState=null,i}function js(e,t){return(t=Mc({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Ls(e,t,n,r){return null!==r&&mo(r),_o(t,e.child,null,n),(e=js(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Fs(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Ao(e.return,t,n)}function Bs(e,t,n,r,i){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function Us(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(bs(e,t,r.children,n),0!==(2&(r=ea.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!==(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Fs(e,n,t);else if(19===e.tag)Fs(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(xi(ea,r),0===(1&t.mode))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;null!==n;)null!==(e=n.alternate)&&null===ta(e)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Bs(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===ta(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Bs(t,!0,n,null,o);break;case"together":Bs(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function qs(e,t){0===(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function $s(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Mu|=t.lanes,0===(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(o(153));if(null!==t.child){for(n=Pc(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Pc(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Ws(e,t){if(!io)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Hs(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=14680064&i.subtreeFlags,r|=14680064&i.flags,i.return=e,i=i.sibling;else for(i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Ks(e,t,n){var r=t.pendingProps;switch(to(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Hs(t),null;case 1:case 17:return Pi(t.type)&&Di(),Hs(t),null;case 3:return r=t.stateNode,Go(),Ei(Ai),Ei(Oi),ra(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(fo(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0===(256&t.flags)||(t.flags|=1024,null!==oo&&(oc(oo),oo=null))),Rs(e,t),Hs(t),null;case 5:Xo(t);var i=Vo(Yo.current);if(n=t.type,null!==e&&null!=t.stateNode)Ps(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(o(166));return Hs(t),null}if(e=Vo(Ko.current),fo(t)){r=t.stateNode,n=t.type;var a=t.memoizedProps;switch(r[di]=t,r[hi]=a,e=0!==(1&t.mode),n){case"dialog":Fr("cancel",r),Fr("close",r);break;case"iframe":case"object":case"embed":Fr("load",r);break;case"video":case"audio":for(i=0;i<Mr.length;i++)Fr(Mr[i],r);break;case"source":Fr("error",r);break;case"img":case"image":case"link":Fr("error",r),Fr("load",r);break;case"details":Fr("toggle",r);break;case"input":J(r,a),Fr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},Fr("invalid",r);break;case"textarea":ie(r,a),Fr("invalid",r)}for(var u in ve(n,a),i=null,a)if(a.hasOwnProperty(u)){var c=a[u];"children"===u?"string"===typeof c?r.textContent!==c&&(!0!==a.suppressHydrationWarning&&Zr(r.textContent,c,e),i=["children",c]):"number"===typeof c&&r.textContent!==""+c&&(!0!==a.suppressHydrationWarning&&Zr(r.textContent,c,e),i=["children",""+c]):s.hasOwnProperty(u)&&null!=c&&"onScroll"===u&&Fr("scroll",r)}switch(n){case"input":K(r),X(r,a,!0);break;case"textarea":K(r),ae(r);break;case"select":case"option":break;default:"function"===typeof a.onClick&&(r.onclick=Xr)}r=i,t.updateQueue=r,null!==r&&(t.flags|=4)}else{u=9===i.nodeType?i:i.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=se(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=u.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"===typeof r.is?e=u.createElement(n,{is:r.is}):(e=u.createElement(n),"select"===n&&(u=e,r.multiple?u.multiple=!0:r.size&&(u.size=r.size))):e=u.createElementNS(e,n),e[di]=t,e[hi]=r,Is(e,t,!1,!1),t.stateNode=e;e:{switch(u=be(n,r),n){case"dialog":Fr("cancel",e),Fr("close",e),i=r;break;case"iframe":case"object":case"embed":Fr("load",e),i=r;break;case"video":case"audio":for(i=0;i<Mr.length;i++)Fr(Mr[i],e);i=r;break;case"source":Fr("error",e),i=r;break;case"img":case"image":case"link":Fr("error",e),Fr("load",e),i=r;break;case"details":Fr("toggle",e),i=r;break;case"input":J(e,r),i=V(e,r),Fr("invalid",e);break;case"option":default:i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=j({},r,{value:void 0}),Fr("invalid",e);break;case"textarea":ie(e,r),i=re(e,r),Fr("invalid",e)}for(a in ve(n,i),c=i)if(c.hasOwnProperty(a)){var l=c[a];"style"===a?ge(e,l):"dangerouslySetInnerHTML"===a?null!=(l=l?l.__html:void 0)&&fe(e,l):"children"===a?"string"===typeof l?("textarea"!==n||""!==l)&&de(e,l):"number"===typeof l&&de(e,""+l):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(s.hasOwnProperty(a)?null!=l&&"onScroll"===a&&Fr("scroll",e):null!=l&&b(e,a,l,u))}switch(n){case"input":K(e),X(e,r,!1);break;case"textarea":K(e),ae(e);break;case"option":null!=r.value&&e.setAttribute("value",""+W(r.value));break;case"select":e.multiple=!!r.multiple,null!=(a=r.value)?ne(e,!!r.multiple,a,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"===typeof i.onClick&&(e.onclick=Xr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Hs(t),null;case 6:if(e&&null!=t.stateNode)Ds(e,t,e.memoizedProps,r);else{if("string"!==typeof r&&null===t.stateNode)throw Error(o(166));if(n=Vo(Yo.current),Vo(Ko.current),fo(t)){if(r=t.stateNode,n=t.memoizedProps,r[di]=t,(a=r.nodeValue!==n)&&null!==(e=no))switch(e.tag){case 3:Zr(r.nodeValue,n,0!==(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Zr(r.nodeValue,n,0!==(1&e.mode))}a&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[di]=t,t.stateNode=r}return Hs(t),null;case 13:if(Ei(ea),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(io&&null!==ro&&0!==(1&t.mode)&&0===(128&t.flags))ho(),po(),t.flags|=98560,a=!1;else if(a=fo(t),null!==r&&null!==r.dehydrated){if(null===e){if(!a)throw Error(o(318));if(!(a=null!==(a=t.memoizedState)?a.dehydrated:null))throw Error(o(317));a[di]=t}else po(),0===(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Hs(t),a=!1}else null!==oo&&(oc(oo),oo=null),a=!0;if(!a)return 65536&t.flags?t:null}return 0!==(128&t.flags)?(t.lanes=n,t):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,0!==(1&t.mode)&&(null===e||0!==(1&ea.current)?0===Du&&(Du=3):pc())),null!==t.updateQueue&&(t.flags|=4),Hs(t),null);case 4:return Go(),Rs(e,t),null===e&&qr(t.stateNode.containerInfo),Hs(t),null;case 10:return Oo(t.type._context),Hs(t),null;case 19:if(Ei(ea),null===(a=t.memoizedState))return Hs(t),null;if(r=0!==(128&t.flags),null===(u=a.rendering))if(r)Ws(a,!1);else{if(0!==Du||null!==e&&0!==(128&e.flags))for(e=t.child;null!==e;){if(null!==(u=ta(e))){for(t.flags|=128,Ws(a,!1),null!==(r=u.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(a=n).flags&=14680066,null===(u=a.alternate)?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=u.childLanes,a.lanes=u.lanes,a.child=u.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=u.memoizedProps,a.memoizedState=u.memoizedState,a.updateQueue=u.updateQueue,a.type=u.type,e=u.dependencies,a.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return xi(ea,1&ea.current|2),t.child}e=e.sibling}null!==a.tail&&Ge()>Uu&&(t.flags|=128,r=!0,Ws(a,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ta(u))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Ws(a,!0),null===a.tail&&"hidden"===a.tailMode&&!u.alternate&&!io)return Hs(t),null}else 2*Ge()-a.renderingStartTime>Uu&&1073741824!==n&&(t.flags|=128,r=!0,Ws(a,!1),t.lanes=4194304);a.isBackwards?(u.sibling=t.child,t.child=u):(null!==(n=a.last)?n.sibling=u:t.child=u,a.last=u)}return null!==a.tail?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=Ge(),t.sibling=null,n=ea.current,xi(ea,r?1&n|2:1&n),t):(Hs(t),null);case 22:case 23:return lc(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!==(1&t.mode)?0!==(1073741824&Ru)&&(Hs(t),6&t.subtreeFlags&&(t.flags|=8192)):Hs(t),null;case 24:case 25:return null}throw Error(o(156,t.tag))}function Qs(e,t){switch(to(t),t.tag){case 1:return Pi(t.type)&&Di(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return Go(),Ei(Ai),Ei(Oi),ra(),0!==(65536&(e=t.flags))&&0===(128&e)?(t.flags=-65537&e|128,t):null;case 5:return Xo(t),null;case 13:if(Ei(ea),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(o(340));po()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Ei(ea),null;case 4:return Go(),null;case 10:return Oo(t.type._context),null;case 22:case 23:return lc(),null;default:return null}}Is=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Rs=function(){},Ps=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Vo(Ko.current);var o,a=null;switch(n){case"input":i=V(e,i),r=V(e,r),a=[];break;case"select":i=j({},i,{value:void 0}),r=j({},r,{value:void 0}),a=[];break;case"textarea":i=re(e,i),r=re(e,r),a=[];break;default:"function"!==typeof i.onClick&&"function"===typeof r.onClick&&(e.onclick=Xr)}for(l in ve(n,r),n=null,i)if(!r.hasOwnProperty(l)&&i.hasOwnProperty(l)&&null!=i[l])if("style"===l){var u=i[l];for(o in u)u.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else"dangerouslySetInnerHTML"!==l&&"children"!==l&&"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&"autoFocus"!==l&&(s.hasOwnProperty(l)?a||(a=[]):(a=a||[]).push(l,null));for(l in r){var c=r[l];if(u=null!=i?i[l]:void 0,r.hasOwnProperty(l)&&c!==u&&(null!=c||null!=u))if("style"===l)if(u){for(o in u)!u.hasOwnProperty(o)||c&&c.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in c)c.hasOwnProperty(o)&&u[o]!==c[o]&&(n||(n={}),n[o]=c[o])}else n||(a||(a=[]),a.push(l,n)),n=c;else"dangerouslySetInnerHTML"===l?(c=c?c.__html:void 0,u=u?u.__html:void 0,null!=c&&u!==c&&(a=a||[]).push(l,c)):"children"===l?"string"!==typeof c&&"number"!==typeof c||(a=a||[]).push(l,""+c):"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&(s.hasOwnProperty(l)?(null!=c&&"onScroll"===l&&Fr("scroll",e),a||u===c||(a=[])):(a=a||[]).push(l,c))}n&&(a=a||[]).push("style",n);var l=a;(t.updateQueue=l)&&(t.flags|=4)}},Ds=function(e,t,n,r){n!==r&&(t.flags|=4)};var Ys=!1,Vs=!1,Js="function"===typeof WeakSet?WeakSet:Set,Gs=null;function Zs(e,t){var n=e.ref;if(null!==n)if("function"===typeof n)try{n(null)}catch(r){kc(e,t,r)}else n.current=null}function Xs(e,t,n){try{n()}catch(r){kc(e,t,r)}}var eu=!1;function tu(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,void 0!==o&&Xs(t,n,o)}i=i.next}while(i!==r)}}function nu(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function ru(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"===typeof t?t(e):t.current=e}}function iu(e){var t=e.alternate;null!==t&&(e.alternate=null,iu(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[di],delete t[hi],delete t[mi],delete t[gi],delete t[yi])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function ou(e){return 5===e.tag||3===e.tag||4===e.tag}function au(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||ou(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function su(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!==(n=n._reactRootContainer)&&void 0!==n||null!==t.onclick||(t.onclick=Xr));else if(4!==r&&null!==(e=e.child))for(su(e,t,n),e=e.sibling;null!==e;)su(e,t,n),e=e.sibling}function uu(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(uu(e,t,n),e=e.sibling;null!==e;)uu(e,t,n),e=e.sibling}var cu=null,lu=!1;function fu(e,t,n){for(n=n.child;null!==n;)du(e,t,n),n=n.sibling}function du(e,t,n){if(ot&&"function"===typeof ot.onCommitFiberUnmount)try{ot.onCommitFiberUnmount(it,n)}catch(s){}switch(n.tag){case 5:Vs||Zs(n,t);case 6:var r=cu,i=lu;cu=null,fu(e,t,n),lu=i,null!==(cu=r)&&(lu?(e=cu,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):cu.removeChild(n.stateNode));break;case 18:null!==cu&&(lu?(e=cu,n=n.stateNode,8===e.nodeType?ui(e.parentNode,n):1===e.nodeType&&ui(e,n),qt(e)):ui(cu,n.stateNode));break;case 4:r=cu,i=lu,cu=n.stateNode.containerInfo,lu=!0,fu(e,t,n),cu=r,lu=i;break;case 0:case 11:case 14:case 15:if(!Vs&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){i=r=r.next;do{var o=i,a=o.destroy;o=o.tag,void 0!==a&&(0!==(2&o)||0!==(4&o))&&Xs(n,t,a),i=i.next}while(i!==r)}fu(e,t,n);break;case 1:if(!Vs&&(Zs(n,t),"function"===typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){kc(n,t,s)}fu(e,t,n);break;case 21:fu(e,t,n);break;case 22:1&n.mode?(Vs=(r=Vs)||null!==n.memoizedState,fu(e,t,n),Vs=r):fu(e,t,n);break;default:fu(e,t,n)}}function hu(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Js),t.forEach(function(t){var r=Tc.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))})}}function pu(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var i=n[r];try{var a=e,s=t,u=s;e:for(;null!==u;){switch(u.tag){case 5:cu=u.stateNode,lu=!1;break e;case 3:case 4:cu=u.stateNode.containerInfo,lu=!0;break e}u=u.return}if(null===cu)throw Error(o(160));du(a,s,i),cu=null,lu=!1;var c=i.alternate;null!==c&&(c.return=null),i.return=null}catch(l){kc(i,t,l)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)mu(t,e),t=t.sibling}function mu(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(pu(t,e),gu(e),4&r){try{tu(3,e,e.return),nu(3,e)}catch(g){kc(e,e.return,g)}try{tu(5,e,e.return)}catch(g){kc(e,e.return,g)}}break;case 1:pu(t,e),gu(e),512&r&&null!==n&&Zs(n,n.return);break;case 5:if(pu(t,e),gu(e),512&r&&null!==n&&Zs(n,n.return),32&e.flags){var i=e.stateNode;try{de(i,"")}catch(g){kc(e,e.return,g)}}if(4&r&&null!=(i=e.stateNode)){var a=e.memoizedProps,s=null!==n?n.memoizedProps:a,u=e.type,c=e.updateQueue;if(e.updateQueue=null,null!==c)try{"input"===u&&"radio"===a.type&&null!=a.name&&G(i,a),be(u,s);var l=be(u,a);for(s=0;s<c.length;s+=2){var f=c[s],d=c[s+1];"style"===f?ge(i,d):"dangerouslySetInnerHTML"===f?fe(i,d):"children"===f?de(i,d):b(i,f,d,l)}switch(u){case"input":Z(i,a);break;case"textarea":oe(i,a);break;case"select":var h=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!a.multiple;var p=a.value;null!=p?ne(i,!!a.multiple,p,!1):h!==!!a.multiple&&(null!=a.defaultValue?ne(i,!!a.multiple,a.defaultValue,!0):ne(i,!!a.multiple,a.multiple?[]:"",!1))}i[hi]=a}catch(g){kc(e,e.return,g)}}break;case 6:if(pu(t,e),gu(e),4&r){if(null===e.stateNode)throw Error(o(162));i=e.stateNode,a=e.memoizedProps;try{i.nodeValue=a}catch(g){kc(e,e.return,g)}}break;case 3:if(pu(t,e),gu(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{qt(t.containerInfo)}catch(g){kc(e,e.return,g)}break;case 4:default:pu(t,e),gu(e);break;case 13:pu(t,e),gu(e),8192&(i=e.child).flags&&(a=null!==i.memoizedState,i.stateNode.isHidden=a,!a||null!==i.alternate&&null!==i.alternate.memoizedState||(Bu=Ge())),4&r&&hu(e);break;case 22:if(f=null!==n&&null!==n.memoizedState,1&e.mode?(Vs=(l=Vs)||f,pu(t,e),Vs=l):pu(t,e),gu(e),8192&r){if(l=null!==e.memoizedState,(e.stateNode.isHidden=l)&&!f&&0!==(1&e.mode))for(Gs=e,f=e.child;null!==f;){for(d=Gs=f;null!==Gs;){switch(p=(h=Gs).child,h.tag){case 0:case 11:case 14:case 15:tu(4,h,h.return);break;case 1:Zs(h,h.return);var m=h.stateNode;if("function"===typeof m.componentWillUnmount){r=h,n=h.return;try{t=r,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(g){kc(r,n,g)}}break;case 5:Zs(h,h.return);break;case 22:if(null!==h.memoizedState){wu(d);continue}}null!==p?(p.return=h,Gs=p):wu(d)}f=f.sibling}e:for(f=null,d=e;;){if(5===d.tag){if(null===f){f=d;try{i=d.stateNode,l?"function"===typeof(a=i.style).setProperty?a.setProperty("display","none","important"):a.display="none":(u=d.stateNode,s=void 0!==(c=d.memoizedProps.style)&&null!==c&&c.hasOwnProperty("display")?c.display:null,u.style.display=me("display",s))}catch(g){kc(e,e.return,g)}}}else if(6===d.tag){if(null===f)try{d.stateNode.nodeValue=l?"":d.memoizedProps}catch(g){kc(e,e.return,g)}}else if((22!==d.tag&&23!==d.tag||null===d.memoizedState||d===e)&&null!==d.child){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;null===d.sibling;){if(null===d.return||d.return===e)break e;f===d&&(f=null),d=d.return}f===d&&(f=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:pu(t,e),gu(e),4&r&&hu(e);case 21:}}function gu(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(ou(n)){var r=n;break e}n=n.return}throw Error(o(160))}switch(r.tag){case 5:var i=r.stateNode;32&r.flags&&(de(i,""),r.flags&=-33),uu(e,au(e),i);break;case 3:case 4:var a=r.stateNode.containerInfo;su(e,au(e),a);break;default:throw Error(o(161))}}catch(s){kc(e,e.return,s)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function yu(e,t,n){Gs=e,vu(e,t,n)}function vu(e,t,n){for(var r=0!==(1&e.mode);null!==Gs;){var i=Gs,o=i.child;if(22===i.tag&&r){var a=null!==i.memoizedState||Ys;if(!a){var s=i.alternate,u=null!==s&&null!==s.memoizedState||Vs;s=Ys;var c=Vs;if(Ys=a,(Vs=u)&&!c)for(Gs=i;null!==Gs;)u=(a=Gs).child,22===a.tag&&null!==a.memoizedState?_u(i):null!==u?(u.return=a,Gs=u):_u(i);for(;null!==o;)Gs=o,vu(o,t,n),o=o.sibling;Gs=i,Ys=s,Vs=c}bu(e)}else 0!==(8772&i.subtreeFlags)&&null!==o?(o.return=i,Gs=o):bu(e)}}function bu(e){for(;null!==Gs;){var t=Gs;if(0!==(8772&t.flags)){var n=t.alternate;try{if(0!==(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Vs||nu(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Vs)if(null===n)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:ns(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;null!==a&&Wo(t,a,r);break;case 3:var s=t.updateQueue;if(null!==s){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Wo(t,s,n)}break;case 5:var u=t.stateNode;if(null===n&&4&t.flags){n=u;var c=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&n.focus();break;case"img":c.src&&(n.src=c.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var l=t.alternate;if(null!==l){var f=l.memoizedState;if(null!==f){var d=f.dehydrated;null!==d&&qt(d)}}}break;default:throw Error(o(163))}Vs||512&t.flags&&ru(t)}catch(h){kc(t,t.return,h)}}if(t===e){Gs=null;break}if(null!==(n=t.sibling)){n.return=t.return,Gs=n;break}Gs=t.return}}function wu(e){for(;null!==Gs;){var t=Gs;if(t===e){Gs=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Gs=n;break}Gs=t.return}}function _u(e){for(;null!==Gs;){var t=Gs;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{nu(4,t)}catch(u){kc(t,n,u)}break;case 1:var r=t.stateNode;if("function"===typeof r.componentDidMount){var i=t.return;try{r.componentDidMount()}catch(u){kc(t,i,u)}}var o=t.return;try{ru(t)}catch(u){kc(t,o,u)}break;case 5:var a=t.return;try{ru(t)}catch(u){kc(t,a,u)}}}catch(u){kc(t,t.return,u)}if(t===e){Gs=null;break}var s=t.sibling;if(null!==s){s.return=t.return,Gs=s;break}Gs=t.return}}var Su,ku=Math.ceil,Cu=w.ReactCurrentDispatcher,Eu=w.ReactCurrentOwner,xu=w.ReactCurrentBatchConfig,Tu=0,Ou=null,Au=null,Iu=0,Ru=0,Pu=Ci(0),Du=0,zu=null,Mu=0,Nu=0,ju=0,Lu=null,Fu=null,Bu=0,Uu=1/0,qu=null,$u=!1,Wu=null,Hu=null,Ku=!1,Qu=null,Yu=0,Vu=0,Ju=null,Gu=-1,Zu=0;function Xu(){return 0!==(6&Tu)?Ge():-1!==Gu?Gu:Gu=Ge()}function ec(e){return 0===(1&e.mode)?1:0!==(2&Tu)&&0!==Iu?Iu&-Iu:null!==go.transition?(0===Zu&&(Zu=mt()),Zu):0!==(e=bt)?e:e=void 0===(e=window.event)?16:Jt(e.type)}function tc(e,t,n,r){if(50<Vu)throw Vu=0,Ju=null,Error(o(185));yt(e,n,r),0!==(2&Tu)&&e===Ou||(e===Ou&&(0===(2&Tu)&&(Nu|=n),4===Du&&ac(e,Iu)),nc(e,r),1===n&&0===Tu&&0===(1&t.mode)&&(Uu=Ge()+500,Fi&&qi()))}function nc(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,o=e.pendingLanes;0<o;){var a=31-at(o),s=1<<a,u=i[a];-1===u?0!==(s&n)&&0===(s&r)||(i[a]=ht(s,t)):u<=t&&(e.expiredLanes|=s),o&=~s}}(e,t);var r=dt(e,e===Ou?Iu:0);if(0===r)null!==n&&Ye(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Ye(n),1===t)0===e.tag?function(e){Fi=!0,Ui(e)}(sc.bind(null,e)):Ui(sc.bind(null,e)),ai(function(){0===(6&Tu)&&qi()}),n=null;else{switch(wt(r)){case 1:n=Xe;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=Oc(n,rc.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function rc(e,t){if(Gu=-1,Zu=0,0!==(6&Tu))throw Error(o(327));var n=e.callbackNode;if(_c()&&e.callbackNode!==n)return null;var r=dt(e,e===Ou?Iu:0);if(0===r)return null;if(0!==(30&r)||0!==(r&e.expiredLanes)||t)t=mc(e,r);else{t=r;var i=Tu;Tu|=2;var a=hc();for(Ou===e&&Iu===t||(qu=null,Uu=Ge()+500,fc(e,t));;)try{yc();break}catch(u){dc(e,u)}To(),Cu.current=a,Tu=i,null!==Au?t=0:(Ou=null,Iu=0,t=Du)}if(0!==t){if(2===t&&(0!==(i=pt(e))&&(r=i,t=ic(e,i))),1===t)throw n=zu,fc(e,0),ac(e,r),nc(e,Ge()),n;if(6===t)ac(e,r);else{if(i=e.current.alternate,0===(30&r)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var i=n[r],o=i.getSnapshot;i=i.value;try{if(!sr(o(),i))return!1}catch(s){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(i)&&(2===(t=mc(e,r))&&(0!==(a=pt(e))&&(r=a,t=ic(e,a))),1===t))throw n=zu,fc(e,0),ac(e,r),nc(e,Ge()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(o(345));case 2:case 5:wc(e,Fu,qu);break;case 3:if(ac(e,r),(130023424&r)===r&&10<(t=Bu+500-Ge())){if(0!==dt(e,0))break;if(((i=e.suspendedLanes)&r)!==r){Xu(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=ri(wc.bind(null,e,Fu,qu),t);break}wc(e,Fu,qu);break;case 4:if(ac(e,r),(4194240&r)===r)break;for(t=e.eventTimes,i=-1;0<r;){var s=31-at(r);a=1<<s,(s=t[s])>i&&(i=s),r&=~a}if(r=i,10<(r=(120>(r=Ge()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*ku(r/1960))-r)){e.timeoutHandle=ri(wc.bind(null,e,Fu,qu),r);break}wc(e,Fu,qu);break;default:throw Error(o(329))}}}return nc(e,Ge()),e.callbackNode===n?rc.bind(null,e):null}function ic(e,t){var n=Lu;return e.current.memoizedState.isDehydrated&&(fc(e,t).flags|=256),2!==(e=mc(e,t))&&(t=Fu,Fu=n,null!==t&&oc(t)),e}function oc(e){null===Fu?Fu=e:Fu.push.apply(Fu,e)}function ac(e,t){for(t&=~ju,t&=~Nu,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-at(t),r=1<<n;e[n]=-1,t&=~r}}function sc(e){if(0!==(6&Tu))throw Error(o(327));_c();var t=dt(e,0);if(0===(1&t))return nc(e,Ge()),null;var n=mc(e,t);if(0!==e.tag&&2===n){var r=pt(e);0!==r&&(t=r,n=ic(e,r))}if(1===n)throw n=zu,fc(e,0),ac(e,t),nc(e,Ge()),n;if(6===n)throw Error(o(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,wc(e,Fu,qu),nc(e,Ge()),null}function uc(e,t){var n=Tu;Tu|=1;try{return e(t)}finally{0===(Tu=n)&&(Uu=Ge()+500,Fi&&qi())}}function cc(e){null!==Qu&&0===Qu.tag&&0===(6&Tu)&&_c();var t=Tu;Tu|=1;var n=xu.transition,r=bt;try{if(xu.transition=null,bt=1,e)return e()}finally{bt=r,xu.transition=n,0===(6&(Tu=t))&&qi()}}function lc(){Ru=Pu.current,Ei(Pu)}function fc(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,ii(n)),null!==Au)for(n=Au.return;null!==n;){var r=n;switch(to(r),r.tag){case 1:null!==(r=r.type.childContextTypes)&&void 0!==r&&Di();break;case 3:Go(),Ei(Ai),Ei(Oi),ra();break;case 5:Xo(r);break;case 4:Go();break;case 13:case 19:Ei(ea);break;case 10:Oo(r.type._context);break;case 22:case 23:lc()}n=n.return}if(Ou=e,Au=e=Pc(e.current,null),Iu=Ru=t,Du=0,zu=null,ju=Nu=Mu=0,Fu=Lu=null,null!==Po){for(t=0;t<Po.length;t++)if(null!==(r=(n=Po[t]).interleaved)){n.interleaved=null;var i=r.next,o=n.pending;if(null!==o){var a=o.next;o.next=i,r.next=a}n.pending=r}Po=null}return e}function dc(e,t){for(;;){var n=Au;try{if(To(),ia.current=Za,la){for(var r=sa.memoizedState;null!==r;){var i=r.queue;null!==i&&(i.pending=null),r=r.next}la=!1}if(aa=0,ca=ua=sa=null,fa=!1,da=0,Eu.current=null,null===n||null===n.return){Du=1,zu=t,Au=null;break}e:{var a=e,s=n.return,u=n,c=t;if(t=Iu,u.flags|=32768,null!==c&&"object"===typeof c&&"function"===typeof c.then){var l=c,f=u,d=f.tag;if(0===(1&f.mode)&&(0===d||11===d||15===d)){var h=f.alternate;h?(f.updateQueue=h.updateQueue,f.memoizedState=h.memoizedState,f.lanes=h.lanes):(f.updateQueue=null,f.memoizedState=null)}var p=ms(s);if(null!==p){p.flags&=-257,gs(p,s,u,0,t),1&p.mode&&ps(a,l,t),c=l;var m=(t=p).updateQueue;if(null===m){var g=new Set;g.add(c),t.updateQueue=g}else m.add(c);break e}if(0===(1&t)){ps(a,l,t),pc();break e}c=Error(o(426))}else if(io&&1&u.mode){var y=ms(s);if(null!==y){0===(65536&y.flags)&&(y.flags|=256),gs(y,s,u,0,t),mo(cs(c,u));break e}}a=c=cs(c,u),4!==Du&&(Du=2),null===Lu?Lu=[a]:Lu.push(a),a=s;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t,qo(a,ds(0,c,t));break e;case 1:u=c;var v=a.type,b=a.stateNode;if(0===(128&a.flags)&&("function"===typeof v.getDerivedStateFromError||null!==b&&"function"===typeof b.componentDidCatch&&(null===Hu||!Hu.has(b)))){a.flags|=65536,t&=-t,a.lanes|=t,qo(a,hs(a,u,t));break e}}a=a.return}while(null!==a)}bc(n)}catch(w){t=w,Au===n&&null!==n&&(Au=n=n.return);continue}break}}function hc(){var e=Cu.current;return Cu.current=Za,null===e?Za:e}function pc(){0!==Du&&3!==Du&&2!==Du||(Du=4),null===Ou||0===(268435455&Mu)&&0===(268435455&Nu)||ac(Ou,Iu)}function mc(e,t){var n=Tu;Tu|=2;var r=hc();for(Ou===e&&Iu===t||(qu=null,fc(e,t));;)try{gc();break}catch(i){dc(e,i)}if(To(),Tu=n,Cu.current=r,null!==Au)throw Error(o(261));return Ou=null,Iu=0,Du}function gc(){for(;null!==Au;)vc(Au)}function yc(){for(;null!==Au&&!Ve();)vc(Au)}function vc(e){var t=Su(e.alternate,e,Ru);e.memoizedProps=e.pendingProps,null===t?bc(e):Au=t,Eu.current=null}function bc(e){var t=e;do{var n=t.alternate;if(e=t.return,0===(32768&t.flags)){if(null!==(n=Ks(n,t,Ru)))return void(Au=n)}else{if(null!==(n=Qs(n,t)))return n.flags&=32767,void(Au=n);if(null===e)return Du=6,void(Au=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(Au=t);Au=t=e}while(null!==t);0===Du&&(Du=5)}function wc(e,t,n){var r=bt,i=xu.transition;try{xu.transition=null,bt=1,function(e,t,n,r){do{_c()}while(null!==Qu);if(0!==(6&Tu))throw Error(o(327));n=e.finishedWork;var i=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(o(177));e.callbackNode=null,e.callbackPriority=0;var a=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-at(n),o=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~o}}(e,a),e===Ou&&(Au=Ou=null,Iu=0),0===(2064&n.subtreeFlags)&&0===(2064&n.flags)||Ku||(Ku=!0,Oc(tt,function(){return _c(),null})),a=0!==(15990&n.flags),0!==(15990&n.subtreeFlags)||a){a=xu.transition,xu.transition=null;var s=bt;bt=1;var u=Tu;Tu|=4,Eu.current=null,function(e,t){if(ei=Wt,hr(e=dr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var i=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch(_){n=null;break e}var s=0,u=-1,c=-1,l=0,f=0,d=e,h=null;t:for(;;){for(var p;d!==n||0!==i&&3!==d.nodeType||(u=s+i),d!==a||0!==r&&3!==d.nodeType||(c=s+r),3===d.nodeType&&(s+=d.nodeValue.length),null!==(p=d.firstChild);)h=d,d=p;for(;;){if(d===e)break t;if(h===n&&++l===i&&(u=s),h===a&&++f===r&&(c=s),null!==(p=d.nextSibling))break;h=(d=h).parentNode}d=p}n=-1===u||-1===c?null:{start:u,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(ti={focusedElem:e,selectionRange:n},Wt=!1,Gs=t;null!==Gs;)if(e=(t=Gs).child,0!==(1028&t.subtreeFlags)&&null!==e)e.return=t,Gs=e;else for(;null!==Gs;){t=Gs;try{var m=t.alternate;if(0!==(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==m){var g=m.memoizedProps,y=m.memoizedState,v=t.stateNode,b=v.getSnapshotBeforeUpdate(t.elementType===t.type?g:ns(t.type,g),y);v.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var w=t.stateNode.containerInfo;1===w.nodeType?w.textContent="":9===w.nodeType&&w.documentElement&&w.removeChild(w.documentElement);break;default:throw Error(o(163))}}catch(_){kc(t,t.return,_)}if(null!==(e=t.sibling)){e.return=t.return,Gs=e;break}Gs=t.return}m=eu,eu=!1}(e,n),mu(n,e),pr(ti),Wt=!!ei,ti=ei=null,e.current=n,yu(n,e,i),Je(),Tu=u,bt=s,xu.transition=a}else e.current=n;if(Ku&&(Ku=!1,Qu=e,Yu=i),a=e.pendingLanes,0===a&&(Hu=null),function(e){if(ot&&"function"===typeof ot.onCommitFiberRoot)try{ot.onCommitFiberRoot(it,e,void 0,128===(128&e.current.flags))}catch(t){}}(n.stateNode),nc(e,Ge()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)i=t[n],r(i.value,{componentStack:i.stack,digest:i.digest});if($u)throw $u=!1,e=Wu,Wu=null,e;0!==(1&Yu)&&0!==e.tag&&_c(),a=e.pendingLanes,0!==(1&a)?e===Ju?Vu++:(Vu=0,Ju=e):Vu=0,qi()}(e,t,n,r)}finally{xu.transition=i,bt=r}return null}function _c(){if(null!==Qu){var e=wt(Yu),t=xu.transition,n=bt;try{if(xu.transition=null,bt=16>e?16:e,null===Qu)var r=!1;else{if(e=Qu,Qu=null,Yu=0,0!==(6&Tu))throw Error(o(331));var i=Tu;for(Tu|=4,Gs=e.current;null!==Gs;){var a=Gs,s=a.child;if(0!==(16&Gs.flags)){var u=a.deletions;if(null!==u){for(var c=0;c<u.length;c++){var l=u[c];for(Gs=l;null!==Gs;){var f=Gs;switch(f.tag){case 0:case 11:case 15:tu(8,f,a)}var d=f.child;if(null!==d)d.return=f,Gs=d;else for(;null!==Gs;){var h=(f=Gs).sibling,p=f.return;if(iu(f),f===l){Gs=null;break}if(null!==h){h.return=p,Gs=h;break}Gs=p}}}var m=a.alternate;if(null!==m){var g=m.child;if(null!==g){m.child=null;do{var y=g.sibling;g.sibling=null,g=y}while(null!==g)}}Gs=a}}if(0!==(2064&a.subtreeFlags)&&null!==s)s.return=a,Gs=s;else e:for(;null!==Gs;){if(0!==(2048&(a=Gs).flags))switch(a.tag){case 0:case 11:case 15:tu(9,a,a.return)}var v=a.sibling;if(null!==v){v.return=a.return,Gs=v;break e}Gs=a.return}}var b=e.current;for(Gs=b;null!==Gs;){var w=(s=Gs).child;if(0!==(2064&s.subtreeFlags)&&null!==w)w.return=s,Gs=w;else e:for(s=b;null!==Gs;){if(0!==(2048&(u=Gs).flags))try{switch(u.tag){case 0:case 11:case 15:nu(9,u)}}catch(S){kc(u,u.return,S)}if(u===s){Gs=null;break e}var _=u.sibling;if(null!==_){_.return=u.return,Gs=_;break e}Gs=u.return}}if(Tu=i,qi(),ot&&"function"===typeof ot.onPostCommitFiberRoot)try{ot.onPostCommitFiberRoot(it,e)}catch(S){}r=!0}return r}finally{bt=n,xu.transition=t}}return!1}function Sc(e,t,n){e=Bo(e,t=ds(0,t=cs(n,t),1),1),t=Xu(),null!==e&&(yt(e,1,t),nc(e,t))}function kc(e,t,n){if(3===e.tag)Sc(e,e,n);else for(;null!==t;){if(3===t.tag){Sc(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"===typeof t.type.getDerivedStateFromError||"function"===typeof r.componentDidCatch&&(null===Hu||!Hu.has(r))){t=Bo(t,e=hs(t,e=cs(n,e),1),1),e=Xu(),null!==t&&(yt(t,1,e),nc(t,e));break}}t=t.return}}function Cc(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=Xu(),e.pingedLanes|=e.suspendedLanes&n,Ou===e&&(Iu&n)===n&&(4===Du||3===Du&&(130023424&Iu)===Iu&&500>Ge()-Bu?fc(e,0):ju|=n),nc(e,t)}function Ec(e,t){0===t&&(0===(1&e.mode)?t=1:(t=lt,0===(130023424&(lt<<=1))&&(lt=4194304)));var n=Xu();null!==(e=Mo(e,t))&&(yt(e,t,n),nc(e,n))}function xc(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Ec(e,n)}function Tc(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;null!==i&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(o(314))}null!==r&&r.delete(t),Ec(e,n)}function Oc(e,t){return Qe(e,t)}function Ac(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ic(e,t,n,r){return new Ac(e,t,n,r)}function Rc(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Pc(e,t){var n=e.alternate;return null===n?((n=Ic(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Dc(e,t,n,r,i,a){var s=2;if(r=e,"function"===typeof e)Rc(e)&&(s=1);else if("string"===typeof e)s=5;else e:switch(e){case k:return zc(n.children,i,a,t);case C:s=8,i|=8;break;case E:return(e=Ic(12,n,t,2|i)).elementType=E,e.lanes=a,e;case A:return(e=Ic(13,n,t,i)).elementType=A,e.lanes=a,e;case I:return(e=Ic(19,n,t,i)).elementType=I,e.lanes=a,e;case D:return Mc(n,i,a,t);default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case x:s=10;break e;case T:s=9;break e;case O:s=11;break e;case R:s=14;break e;case P:s=16,r=null;break e}throw Error(o(130,null==e?e:typeof e,""))}return(t=Ic(s,n,t,i)).elementType=e,t.type=r,t.lanes=a,t}function zc(e,t,n,r){return(e=Ic(7,e,r,t)).lanes=n,e}function Mc(e,t,n,r){return(e=Ic(22,e,r,t)).elementType=D,e.lanes=n,e.stateNode={isHidden:!1},e}function Nc(e,t,n){return(e=Ic(6,e,null,t)).lanes=n,e}function jc(e,t,n){return(t=Ic(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Lc(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=gt(0),this.expirationTimes=gt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=gt(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Fc(e,t,n,r,i,o,a,s,u){return e=new Lc(e,t,n,s,u),1===t?(t=1,!0===o&&(t|=8)):t=0,o=Ic(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},jo(o),e}function Bc(e){if(!e)return Ti;e:{if(qe(e=e._reactInternals)!==e||1!==e.tag)throw Error(o(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Pi(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(o(171))}if(1===e.tag){var n=e.type;if(Pi(n))return Mi(e,n,t)}return t}function Uc(e,t,n,r,i,o,a,s,u){return(e=Fc(n,r,!0,e,0,o,0,s,u)).context=Bc(null),n=e.current,(o=Fo(r=Xu(),i=ec(n))).callback=void 0!==t&&null!==t?t:null,Bo(n,o,i),e.current.lanes=i,yt(e,i,r),nc(e,r),e}function qc(e,t,n,r){var i=t.current,o=Xu(),a=ec(i);return n=Bc(n),null===t.context?t.context=n:t.pendingContext=n,(t=Fo(o,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Bo(i,t,a))&&(tc(e,i,a,o),Uo(e,i,a)),a}function $c(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Wc(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Hc(e,t){Wc(e,t),(e=e.alternate)&&Wc(e,t)}Su=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Ai.current)vs=!0;else{if(0===(e.lanes&n)&&0===(128&t.flags))return vs=!1,function(e,t,n){switch(t.tag){case 3:Os(t),po();break;case 5:Zo(t);break;case 1:Pi(t.type)&&Ni(t);break;case 4:Jo(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;xi(ko,r._currentValue),r._currentValue=i;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(xi(ea,1&ea.current),t.flags|=128,null):0!==(n&t.child.childLanes)?Ns(e,t,n):(xi(ea,1&ea.current),null!==(e=$s(e,t,n))?e.sibling:null);xi(ea,1&ea.current);break;case 19:if(r=0!==(n&t.childLanes),0!==(128&e.flags)){if(r)return Us(e,t,n);t.flags|=128}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null,i.lastEffect=null),xi(ea,ea.current),r)break;return null;case 22:case 23:return t.lanes=0,ks(e,t,n)}return $s(e,t,n)}(e,t,n);vs=0!==(131072&e.flags)}else vs=!1,io&&0!==(1048576&t.flags)&&Xi(t,Ki,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;qs(e,t),e=t.pendingProps;var i=Ri(t,Oi.current);Io(t,n),i=ga(null,t,r,e,i,n);var a=ya();return t.flags|=1,"object"===typeof i&&null!==i&&"function"===typeof i.render&&void 0===i.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Pi(r)?(a=!0,Ni(t)):a=!1,t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,jo(t),i.updater=is,t.stateNode=i,i._reactInternals=t,us(t,r,e,n),t=Ts(null,t,r,!0,a,n)):(t.tag=0,io&&a&&eo(t),bs(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(qs(e,t),e=t.pendingProps,r=(i=r._init)(r._payload),t.type=r,i=t.tag=function(e){if("function"===typeof e)return Rc(e)?1:0;if(void 0!==e&&null!==e){if((e=e.$$typeof)===O)return 11;if(e===R)return 14}return 2}(r),e=ns(r,e),i){case 0:t=Es(null,t,r,e,n);break e;case 1:t=xs(null,t,r,e,n);break e;case 11:t=ws(null,t,r,e,n);break e;case 14:t=_s(null,t,r,ns(r.type,e),n);break e}throw Error(o(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,Es(e,t,r,i=t.elementType===r?i:ns(r,i),n);case 1:return r=t.type,i=t.pendingProps,xs(e,t,r,i=t.elementType===r?i:ns(r,i),n);case 3:e:{if(Os(t),null===e)throw Error(o(387));r=t.pendingProps,i=(a=t.memoizedState).element,Lo(e,t),$o(t,r,null,n);var s=t.memoizedState;if(r=s.element,a.isDehydrated){if(a={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=As(e,t,r,n,i=cs(Error(o(423)),t));break e}if(r!==i){t=As(e,t,r,n,i=cs(Error(o(424)),t));break e}for(ro=ci(t.stateNode.containerInfo.firstChild),no=t,io=!0,oo=null,n=So(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(po(),r===i){t=$s(e,t,n);break e}bs(e,t,r,n)}t=t.child}return t;case 5:return Zo(t),null===e&&co(t),r=t.type,i=t.pendingProps,a=null!==e?e.memoizedProps:null,s=i.children,ni(r,i)?s=null:null!==a&&ni(r,a)&&(t.flags|=32),Cs(e,t),bs(e,t,s,n),t.child;case 6:return null===e&&co(t),null;case 13:return Ns(e,t,n);case 4:return Jo(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=_o(t,null,r,n):bs(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,ws(e,t,r,i=t.elementType===r?i:ns(r,i),n);case 7:return bs(e,t,t.pendingProps,n),t.child;case 8:case 12:return bs(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,a=t.memoizedProps,s=i.value,xi(ko,r._currentValue),r._currentValue=s,null!==a)if(sr(a.value,s)){if(a.children===i.children&&!Ai.current){t=$s(e,t,n);break e}}else for(null!==(a=t.child)&&(a.return=t);null!==a;){var u=a.dependencies;if(null!==u){s=a.child;for(var c=u.firstContext;null!==c;){if(c.context===r){if(1===a.tag){(c=Fo(-1,n&-n)).tag=2;var l=a.updateQueue;if(null!==l){var f=(l=l.shared).pending;null===f?c.next=c:(c.next=f.next,f.next=c),l.pending=c}}a.lanes|=n,null!==(c=a.alternate)&&(c.lanes|=n),Ao(a.return,n,t),u.lanes|=n;break}c=c.next}}else if(10===a.tag)s=a.type===t.type?null:a.child;else if(18===a.tag){if(null===(s=a.return))throw Error(o(341));s.lanes|=n,null!==(u=s.alternate)&&(u.lanes|=n),Ao(s,n,t),s=a.sibling}else s=a.child;if(null!==s)s.return=a;else for(s=a;null!==s;){if(s===t){s=null;break}if(null!==(a=s.sibling)){a.return=s.return,s=a;break}s=s.return}a=s}bs(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Io(t,n),r=r(i=Ro(i)),t.flags|=1,bs(e,t,r,n),t.child;case 14:return i=ns(r=t.type,t.pendingProps),_s(e,t,r,i=ns(r.type,i),n);case 15:return Ss(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ns(r,i),qs(e,t),t.tag=1,Pi(r)?(e=!0,Ni(t)):e=!1,Io(t,n),as(t,r,i),us(t,r,i,n),Ts(null,t,r,!0,e,n);case 19:return Us(e,t,n);case 22:return ks(e,t,n)}throw Error(o(156,t.tag))};var Kc="function"===typeof reportError?reportError:function(e){};function Qc(e){this._internalRoot=e}function Yc(e){this._internalRoot=e}function Vc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Jc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Gc(){}function Zc(e,t,n,r,i){var o=n._reactRootContainer;if(o){var a=o;if("function"===typeof i){var s=i;i=function(){var e=$c(a);s.call(e)}}qc(t,a,e,i)}else a=function(e,t,n,r,i){if(i){if("function"===typeof r){var o=r;r=function(){var e=$c(a);o.call(e)}}var a=Uc(t,r,e,0,null,!1,0,"",Gc);return e._reactRootContainer=a,e[pi]=a.current,qr(8===e.nodeType?e.parentNode:e),cc(),a}for(;i=e.lastChild;)e.removeChild(i);if("function"===typeof r){var s=r;r=function(){var e=$c(u);s.call(e)}}var u=Fc(e,0,!1,null,0,!1,0,"",Gc);return e._reactRootContainer=u,e[pi]=u.current,qr(8===e.nodeType?e.parentNode:e),cc(function(){qc(t,u,n,r)}),u}(n,t,e,i,r);return $c(a)}Yc.prototype.render=Qc.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(o(409));qc(e,t,null,null)},Yc.prototype.unmount=Qc.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;cc(function(){qc(null,e,null,null)}),t[pi]=null}},Yc.prototype.unstable_scheduleHydration=function(e){if(e){var t=Ct();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Dt.length&&0!==t&&t<Dt[n].priority;n++);Dt.splice(n,0,e),0===n&&jt(e)}},_t=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=ft(t.pendingLanes);0!==n&&(vt(t,1|n),nc(t,Ge()),0===(6&Tu)&&(Uu=Ge()+500,qi()))}break;case 13:cc(function(){var t=Mo(e,1);if(null!==t){var n=Xu();tc(t,e,1,n)}}),Hc(e,1)}},St=function(e){if(13===e.tag){var t=Mo(e,134217728);if(null!==t)tc(t,e,134217728,Xu());Hc(e,134217728)}},kt=function(e){if(13===e.tag){var t=ec(e),n=Mo(e,t);if(null!==n)tc(n,e,t,Xu());Hc(e,t)}},Ct=function(){return bt},Et=function(e,t){var n=bt;try{return bt=e,t()}finally{bt=n}},Se=function(e,t,n){switch(t){case"input":if(Z(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=_i(r);if(!i)throw Error(o(90));Q(r),Z(r,i)}}}break;case"textarea":oe(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},Oe=uc,Ae=cc;var Xc={usingClientEntryPoint:!1,Events:[bi,wi,_i,xe,Te,uc]},el={findFiberByHostInstance:vi,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},tl={bundleType:el.bundleType,version:el.version,rendererPackageName:el.rendererPackageName,rendererConfig:el.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:w.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=He(e))?null:e.stateNode},findFiberByHostInstance:el.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"},nl={isDisabled:!0};if(!nl.isDisabled&&nl.supportsFiber)try{it=nl.inject(tl),ot=nl}catch(le){}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Xc,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Vc(t))throw Error(o(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:S,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!Vc(e))throw Error(o(299));var n=!1,r="",i=Kc;return null!==t&&void 0!==t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(i=t.onRecoverableError)),t=Fc(e,1,!1,null,0,n,0,r,i),e[pi]=t.current,qr(8===e.nodeType?e.parentNode:e),new Qc(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"===typeof e.render)throw Error(o(188));throw e=Object.keys(e).join(","),Error(o(268,e))}return e=null===(e=He(t))?null:e.stateNode},t.flushSync=function(e){return cc(e)},t.hydrate=function(e,t,n){if(!Jc(t))throw Error(o(200));return Zc(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Vc(e))throw Error(o(405));var r=null!=n&&n.hydratedSources||null,i=!1,a="",s=Kc;if(null!==n&&void 0!==n&&(!0===n.unstable_strictMode&&(i=!0),void 0!==n.identifierPrefix&&(a=n.identifierPrefix),void 0!==n.onRecoverableError&&(s=n.onRecoverableError)),t=Uc(t,null,e,1,null!=n?n:null,i,0,a,s),e[pi]=t.current,qr(e),r)for(e=0;e<r.length;e++)i=(i=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new Yc(t)},t.render=function(e,t,n){if(!Jc(t))throw Error(o(200));return Zc(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Jc(e))throw Error(o(40));return!!e._reactRootContainer&&(cc(function(){Zc(null,null,e,!1,function(){e._reactRootContainer=null,e[pi]=null})}),!0)},t.unstable_batchedUpdates=uc,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Jc(n))throw Error(o(200));if(null==e||void 0===e._reactInternals)throw Error(o(38));return Zc(e,t,n,!1,r)},t.version="18.3.1-next-f1338f8080-20240426"},18005:(e,t,n)=>{"use strict";!function e(){if("function"===typeof{isDisabled:!0}.checkDCE)try{({isDisabled:!0}).checkDCE(e)}catch(t){}}(),e.exports=n(67043)},69962:(e,t,n)=>{"use strict";n.d(t,{Kq:()=>l,vA:()=>S.unstable_batchedUpdates,bN:()=>w,wA:()=>m,d4:()=>v,Pj:()=>h});var r=n(1936),i=r.createContext(null);var o=function(e){e()},a=function(){return o};var s={notify:function(){},get:function(){return[]}};function u(e,t){var n,r=s;function i(){u.onStateChange&&u.onStateChange()}function o(){n||(n=t?t.addNestedSub(i):e.subscribe(i),r=function(){var e=a(),t=null,n=null;return{clear:function(){t=null,n=null},notify:function(){e(function(){for(var e=t;e;)e.callback(),e=e.next})},get:function(){for(var e=[],n=t;n;)e.push(n),n=n.next;return e},subscribe:function(e){var r=!0,i=n={callback:e,next:null,prev:n};return i.prev?i.prev.next=i:t=i,function(){r&&null!==t&&(r=!1,i.next?i.next.prev=i.prev:n=i.prev,i.prev?i.prev.next=i.next:t=i.next)}}}}())}var u={addNestedSub:function(e){return o(),r.subscribe(e)},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:i,isSubscribed:function(){return Boolean(n)},trySubscribe:o,tryUnsubscribe:function(){n&&(n(),n=void 0,r.clear(),r=s)},getListeners:function(){return r}};return u}var c="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement?r.useLayoutEffect:r.useEffect;const l=function(e){var t=e.store,n=e.context,o=e.children,a=(0,r.useMemo)(function(){var e=u(t);return{store:t,subscription:e}},[t]),s=(0,r.useMemo)(function(){return t.getState()},[t]);c(function(){var e=a.subscription;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),s!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}},[a,s]);var l=n||i;return r.createElement(l.Provider,{value:a},o)};n(53910),n(29525);n(62244);function f(){return(0,r.useContext)(i)}function d(e){void 0===e&&(e=i);var t=e===i?f:function(){return(0,r.useContext)(e)};return function(){return t().store}}var h=d();function p(e){void 0===e&&(e=i);var t=e===i?h:d(e);return function(){return t().dispatch}}var m=p(),g=function(e,t){return e===t};function y(e){void 0===e&&(e=i);var t=e===i?f:function(){return(0,r.useContext)(e)};return function(e,n){void 0===n&&(n=g);var i=t(),o=function(e,t,n,i){var o,a=(0,r.useReducer)(function(e){return e+1},0)[1],s=(0,r.useMemo)(function(){return u(n,i)},[n,i]),l=(0,r.useRef)(),f=(0,r.useRef)(),d=(0,r.useRef)(),h=(0,r.useRef)(),p=n.getState();try{if(e!==f.current||p!==d.current||l.current){var m=e(p);o=void 0!==h.current&&t(m,h.current)?h.current:m}else o=h.current}catch(g){throw l.current&&(g.message+="\nThe error may be correlated with this previous error:\n"+l.current.stack+"\n\n"),g}return c(function(){f.current=e,d.current=p,h.current=o,l.current=void 0}),c(function(){function e(){try{var e=n.getState();if(e===d.current)return;var r=f.current(e);if(t(r,h.current))return;h.current=r,d.current=e}catch(g){l.current=g}a()}return s.onStateChange=e,s.trySubscribe(),e(),function(){return s.tryUnsubscribe()}},[n,s]),o}(e,n,i.store,i.subscription);return(0,r.useDebugValue)(o),o}}var v=y();function b(e,t){return e===t?0!==e||0!==t||1/e===1/t:e!==e&&t!==t}function w(e,t){if(b(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var i=0;i<n.length;i++)if(!Object.prototype.hasOwnProperty.call(t,n[i])||!b(e[n[i]],t[n[i]]))return!1;return!0}var _,S=n(18005);_=S.unstable_batchedUpdates,o=_},92345:(e,t)=>{"use strict";var n=60103,r=60106,i=60107,o=60108,a=60114,s=60109,u=60110,c=60112,l=60113,f=60120,d=60115,h=60116,p=60121,m=60122,g=60117,y=60129,v=60131;if("function"===typeof Symbol&&Symbol.for){var b=Symbol.for;n=b("react.element"),r=b("react.portal"),i=b("react.fragment"),o=b("react.strict_mode"),a=b("react.profiler"),s=b("react.provider"),u=b("react.context"),c=b("react.forward_ref"),l=b("react.suspense"),f=b("react.suspense_list"),d=b("react.memo"),h=b("react.lazy"),p=b("react.block"),m=b("react.server.block"),g=b("react.fundamental"),y=b("react.debug_trace_mode"),v=b("react.legacy_hidden")}function w(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case i:case a:case o:case l:case f:return e;default:switch(e=e&&e.$$typeof){case u:case c:case h:case d:case s:return e;default:return t}}case r:return t}}}},29525:(e,t,n)=>{"use strict";n(92345)},88260:(e,t,n)=>{"use strict";var r,i;n.d(t,{Kd:()=>p,N_:()=>y,ok:()=>w});var o=n(1936),a=n(18005),s=n(84075),u=n(90648);function c(){return c=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},c.apply(this,arguments)}function l(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}function f(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]])},[]))}new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);const d=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"];try{window.__reactRouterVersion="6"}catch(_){}new Map;const h=(r||(r=n.t(o,2))).startTransition;(i||(i=n.t(a,2))).flushSync,(r||(r=n.t(o,2))).useId;function p(e){let{basename:t,children:n,future:r,window:i}=e,a=o.useRef();null==a.current&&(a.current=(0,u.zR)({window:i,v5Compat:!0}));let c=a.current,[l,f]=o.useState({action:c.action,location:c.location}),{v7_startTransition:d}=r||{},p=o.useCallback(e=>{d&&h?h(()=>f(e)):f(e)},[f,d]);return o.useLayoutEffect(()=>c.listen(p),[c,p]),o.useEffect(()=>(0,s.V8)(r),[r]),o.createElement(s.Ix,{basename:t,children:n,location:l.location,navigationType:l.action,navigator:c,future:r})}const m="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement,g=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,y=o.forwardRef(function(e,t){let n,{onClick:r,relative:i,reloadDocument:a,replace:f,state:h,target:p,to:y,preventScrollReset:v,viewTransition:b}=e,w=l(e,d),{basename:S}=o.useContext(s.jb),k=!1;if("string"===typeof y&&g.test(y)&&(n=y,m))try{let e=new URL(window.location.href),t=y.startsWith("//")?new URL(e.protocol+y):new URL(y),n=(0,u.pb)(t.pathname,S);t.origin===e.origin&&null!=n?y=n+t.search+t.hash:k=!0}catch(_){}let C=(0,s.$P)(y,{relative:i}),E=function(e,t){let{target:n,replace:r,state:i,preventScrollReset:a,relative:c,viewTransition:l}=void 0===t?{}:t,f=(0,s.Zp)(),d=(0,s.zy)(),h=(0,s.x$)(e,{relative:c});return o.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!==r?r:(0,u.AO)(d)===(0,u.AO)(h);f(e,{replace:n,state:i,preventScrollReset:a,relative:c,viewTransition:l})}},[d,f,h,r,i,n,e,a,c,l])}(y,{replace:f,state:h,target:p,preventScrollReset:v,relative:i,viewTransition:b});return o.createElement("a",c({},w,{href:n||C,onClick:k||a?r:function(e){r&&r(e),e.defaultPrevented||E(e)},ref:t,target:p}))});var v,b;function w(e){let t=o.useRef(f(e)),n=o.useRef(!1),r=(0,s.zy)(),i=o.useMemo(()=>function(e,t){let n=f(e);return t&&t.forEach((e,r)=>{n.has(r)||t.getAll(r).forEach(e=>{n.append(r,e)})}),n}(r.search,n.current?null:t.current),[r.search]),a=(0,s.Zp)(),u=o.useCallback((e,t)=>{const r=f("function"===typeof e?e(i):e);n.current=!0,a("?"+r,t)},[a,i]);return[i,u]}(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(v||(v={})),function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(b||(b={}))},84075:(e,t,n)=>{"use strict";var r;n.d(t,{$P:()=>h,BV:()=>B,C5:()=>N,Ix:()=>F,KC:()=>b,V8:()=>M,Zp:()=>y,g:()=>w,jb:()=>c,qh:()=>L,sv:()=>j,x$:()=>_,zy:()=>m});var i=n(1936),o=n(90648);function a(){return a=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},a.apply(this,arguments)}const s=i.createContext(null);const u=i.createContext(null);const c=i.createContext(null);const l=i.createContext(null);const f=i.createContext({outlet:null,matches:[],isDataRoute:!1});const d=i.createContext(null);function h(e,t){let{relative:n}=void 0===t?{}:t;p()||(0,o.Oi)(!1);let{basename:r,navigator:a}=i.useContext(c),{hash:s,pathname:u,search:l}=_(e,{relative:n}),f=u;return"/"!==r&&(f="/"===u?r:(0,o.HS)([r,u])),a.createHref({pathname:f,search:l,hash:s})}function p(){return null!=i.useContext(l)}function m(){return p()||(0,o.Oi)(!1),i.useContext(l).location}function g(e){i.useContext(c).static||i.useLayoutEffect(e)}function y(){let{isDataRoute:e}=i.useContext(f);return e?function(){let{router:e}=I(O.UseNavigateStable),t=P(A.UseNavigateStable),n=i.useRef(!1);return g(()=>{n.current=!0}),i.useCallback(function(r,i){void 0===i&&(i={}),n.current&&("number"===typeof r?e.navigate(r):e.navigate(r,a({fromRouteId:t},i)))},[e,t])}():function(){p()||(0,o.Oi)(!1);let e=i.useContext(s),{basename:t,future:n,navigator:r}=i.useContext(c),{matches:a}=i.useContext(f),{pathname:u}=m(),l=JSON.stringify((0,o.yD)(a,n.v7_relativeSplatPath)),d=i.useRef(!1);return g(()=>{d.current=!0}),i.useCallback(function(n,i){if(void 0===i&&(i={}),!d.current)return;if("number"===typeof n)return void r.go(n);let a=(0,o.Gh)(n,JSON.parse(l),u,"path"===i.relative);null==e&&"/"!==t&&(a.pathname="/"===a.pathname?t:(0,o.HS)([t,a.pathname])),(i.replace?r.replace:r.push)(a,i.state,i)},[t,r,l,u,e])}()}const v=i.createContext(null);function b(){return i.useContext(v)}function w(){let{matches:e}=i.useContext(f),t=e[e.length-1];return t?t.params:{}}function _(e,t){let{relative:n}=void 0===t?{}:t,{future:r}=i.useContext(c),{matches:a}=i.useContext(f),{pathname:s}=m(),u=JSON.stringify((0,o.yD)(a,r.v7_relativeSplatPath));return i.useMemo(()=>(0,o.Gh)(e,JSON.parse(u),s,"path"===n),[e,u,s,n])}function S(e,t,n,r){p()||(0,o.Oi)(!1);let{navigator:s}=i.useContext(c),{matches:u}=i.useContext(f),d=u[u.length-1],h=d?d.params:{},g=(d&&d.pathname,d?d.pathnameBase:"/");d&&d.route;let y,v=m();if(t){var b;let e="string"===typeof t?(0,o.Rr)(t):t;"/"===g||(null==(b=e.pathname)?void 0:b.startsWith(g))||(0,o.Oi)(!1),y=e}else y=v;let w=y.pathname||"/",_=w;if("/"!==g){let e=g.replace(/^\//,"").split("/");_="/"+w.replace(/^\//,"").split("/").slice(e.length).join("/")}let S=(0,o.ue)(e,{pathname:_});let k=T(S&&S.map(e=>Object.assign({},e,{params:Object.assign({},h,e.params),pathname:(0,o.HS)([g,s.encodeLocation?s.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?g:(0,o.HS)([g,s.encodeLocation?s.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])})),u,n,r);return t&&k?i.createElement(l.Provider,{value:{location:a({pathname:"/",search:"",hash:"",state:null,key:"default"},y),navigationType:o.rc.Pop}},k):k}function k(){let e=function(){var e;let t=i.useContext(d),n=R(A.UseRouteError),r=P(A.UseRouteError);if(void 0!==t)return t;return null==(e=n.errors)?void 0:e[r]}(),t=(0,o.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)",a={padding:"0.5rem",backgroundColor:r};return i.createElement(i.Fragment,null,i.createElement("h2",null,"Unexpected Application Error!"),i.createElement("h3",{style:{fontStyle:"italic"}},t),n?i.createElement("pre",{style:a},n):null,null)}const C=i.createElement(k,null);class E extends i.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){}render(){return void 0!==this.state.error?i.createElement(f.Provider,{value:this.props.routeContext},i.createElement(d.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function x(e){let{routeContext:t,match:n,children:r}=e,o=i.useContext(s);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),i.createElement(f.Provider,{value:t},r)}function T(e,t,n,r){var a;if(void 0===t&&(t=[]),void 0===n&&(n=null),void 0===r&&(r=null),null==e){var s;if(!n)return null;if(n.errors)e=n.matches;else{if(!(null!=(s=r)&&s.v7_partialHydration&&0===t.length&&!n.initialized&&n.matches.length>0))return null;e=n.matches}}let u=e,c=null==(a=n)?void 0:a.errors;if(null!=c){let e=u.findIndex(e=>e.route.id&&void 0!==(null==c?void 0:c[e.route.id]));e>=0||(0,o.Oi)(!1),u=u.slice(0,Math.min(u.length,e+1))}let l=!1,f=-1;if(n&&r&&r.v7_partialHydration)for(let i=0;i<u.length;i++){let e=u[i];if((e.route.HydrateFallback||e.route.hydrateFallbackElement)&&(f=i),e.route.id){let{loaderData:t,errors:r}=n,i=e.route.loader&&void 0===t[e.route.id]&&(!r||void 0===r[e.route.id]);if(e.route.lazy||i){l=!0,u=f>=0?u.slice(0,f+1):[u[0]];break}}}return u.reduceRight((e,r,o)=>{let a,s=!1,d=null,h=null;var p;n&&(a=c&&r.route.id?c[r.route.id]:void 0,d=r.route.errorElement||C,l&&(f<0&&0===o?(p="route-fallback",!1||D[p]||(D[p]=!0),s=!0,h=null):f===o&&(s=!0,h=r.route.hydrateFallbackElement||null)));let m=t.concat(u.slice(0,o+1)),g=()=>{let t;return t=a?d:s?h:r.route.Component?i.createElement(r.route.Component,null):r.route.element?r.route.element:e,i.createElement(x,{match:r,routeContext:{outlet:e,matches:m,isDataRoute:null!=n},children:t})};return n&&(r.route.ErrorBoundary||r.route.errorElement||0===o)?i.createElement(E,{location:n.location,revalidation:n.revalidation,component:d,error:a,children:g(),routeContext:{outlet:null,matches:m,isDataRoute:!0}}):g()},null)}var O=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(O||{}),A=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(A||{});function I(e){let t=i.useContext(s);return t||(0,o.Oi)(!1),t}function R(e){let t=i.useContext(u);return t||(0,o.Oi)(!1),t}function P(e){let t=function(){let e=i.useContext(f);return e||(0,o.Oi)(!1),e}(),n=t.matches[t.matches.length-1];return n.route.id||(0,o.Oi)(!1),n.route.id}const D={};const z=(e,t,n)=>{};function M(e,t){void 0===(null==e?void 0:e.v7_startTransition)&&z("v7_startTransition","React Router will begin wrapping state updates in `React.startTransition` in v7","https://reactrouter.com/v6/upgrading/future#v7_starttransition"),void 0!==(null==e?void 0:e.v7_relativeSplatPath)||t&&void 0!==t.v7_relativeSplatPath||z("v7_relativeSplatPath","Relative route resolution within Splat routes is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_relativesplatpath"),t&&(void 0===t.v7_fetcherPersist&&z("v7_fetcherPersist","The persistence behavior of fetchers is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_fetcherpersist"),void 0===t.v7_normalizeFormMethod&&z("v7_normalizeFormMethod","Casing of `formMethod` fields is being normalized to uppercase in v7","https://reactrouter.com/v6/upgrading/future#v7_normalizeformmethod"),void 0===t.v7_partialHydration&&z("v7_partialHydration","`RouterProvider` hydration behavior is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_partialhydration"),void 0===t.v7_skipActionErrorRevalidation&&z("v7_skipActionErrorRevalidation","The revalidation behavior after 4xx/5xx `action` responses is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_skipactionerrorrevalidation"))}(r||(r=n.t(i,2))).startTransition;function N(e){let{to:t,replace:n,state:r,relative:a}=e;p()||(0,o.Oi)(!1);let{future:s,static:u}=i.useContext(c),{matches:l}=i.useContext(f),{pathname:d}=m(),h=y(),g=(0,o.Gh)(t,(0,o.yD)(l,s.v7_relativeSplatPath),d,"path"===a),v=JSON.stringify(g);return i.useEffect(()=>h(JSON.parse(v),{replace:n,state:r,relative:a}),[h,v,a,n,r]),null}function j(e){return function(e){let t=i.useContext(f).outlet;return t?i.createElement(v.Provider,{value:e},t):t}(e.context)}function L(e){(0,o.Oi)(!1)}function F(e){let{basename:t="/",children:n=null,location:r,navigationType:s=o.rc.Pop,navigator:u,static:f=!1,future:d}=e;p()&&(0,o.Oi)(!1);let h=t.replace(/^\/*/,"/"),m=i.useMemo(()=>({basename:h,navigator:u,static:f,future:a({v7_relativeSplatPath:!1},d)}),[h,d,u,f]);"string"===typeof r&&(r=(0,o.Rr)(r));let{pathname:g="/",search:y="",hash:v="",state:b=null,key:w="default"}=r,_=i.useMemo(()=>{let e=(0,o.pb)(g,h);return null==e?null:{location:{pathname:e,search:y,hash:v,state:b,key:w},navigationType:s}},[h,g,y,v,b,w,s]);return null==_?null:i.createElement(c.Provider,{value:m},i.createElement(l.Provider,{children:n,value:_}))}function B(e){let{children:t,location:n}=e;return S(U(t),n)}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;let a=[...t,r];if(e.type===i.Fragment)return void n.push.apply(n,U(e.props.children,a));e.type!==L&&(0,o.Oi)(!1),e.props.index&&e.props.children&&(0,o.Oi)(!1);let s={id:e.props.id||a.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(s.children=U(e.props.children,a)),n.push(s)}),n}},27106:(e,t,n)=>{"use strict";n.d(t,{A:()=>O});var r=n(1936),i=n(32544),o=n.n(i),a="undefined"!==typeof window?window:null,s=null===a,u=s?void 0:a.document,c="addEventListener",l="removeEventListener",f="getBoundingClientRect",d="_a",h="_b",p="_c",m="horizontal",g=function(){return!1},y=s?"calc":["","-webkit-","-moz-","-o-"].filter(function(e){var t=u.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},b=function(e){if(v(e)){var t=u.querySelector(e);if(!t)throw new Error("Selector "+e+" did not match a DOM element");return t}return e},w=function(e,t,n){var r=e[t];return void 0!==r?r:n},_=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=u.createElement("div");return n.className="gutter gutter-"+t,n},k=function(e,t,n){var r={};return v(t)?r[e]=t:r[e]=y+"("+t+"% - "+n+"px)",r},C=function(e,t){var n;return(n={})[e]=t+"px",n};const E=function(e,t){if(void 0===t&&(t={}),s)return{};var n,r,i,o,y,v,E=e;Array.from&&(E=Array.from(E));var x=b(E[0]).parentNode,T=getComputedStyle?getComputedStyle(x):null,O=T?T.flexDirection:null,A=w(t,"sizes")||E.map(function(){return 100/E.length}),I=w(t,"minSize",100),R=Array.isArray(I)?I:E.map(function(){return I}),P=w(t,"maxSize",1/0),D=Array.isArray(P)?P:E.map(function(){return P}),z=w(t,"expandToMin",!1),M=w(t,"gutterSize",10),N=w(t,"gutterAlign","center"),j=w(t,"snapOffset",30),L=Array.isArray(j)?j:E.map(function(){return j}),F=w(t,"dragInterval",1),B=w(t,"direction",m),U=w(t,"cursor",B===m?"col-resize":"row-resize"),q=w(t,"gutter",S),$=w(t,"elementStyle",k),W=w(t,"gutterStyle",C);function H(e,t,r,i){var o=$(n,t,r,i);Object.keys(o).forEach(function(t){e.style[t]=o[t]})}function K(){return v.map(function(e){return e.size})}function Q(e){return"touches"in e?e.touches[0][r]:e[r]}function Y(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,H(t.element,t.size,this[h],t.i),H(n.element,n.size,this[p],n.i)}function V(e){var n,r=v[this.a],i=v[this.b];this.dragging&&(n=Q(e)-this.start+(this[h]-this.dragOffset),F>1&&(n=Math.round(n/F)*F),n<=r.minSize+r.snapOffset+this[h]?n=r.minSize+this[h]:n>=this.size-(i.minSize+i.snapOffset+this[p])&&(n=this.size-(i.minSize+this[p])),n>=r.maxSize-r.snapOffset+this[h]?n=r.maxSize+this[h]:n<=this.size-(i.maxSize-i.snapOffset+this[p])&&(n=this.size-(i.maxSize+this[p])),Y.call(this,n),w(t,"onDrag",g)(K()))}function J(){var e=v[this.a].element,t=v[this.b].element,r=e[f](),a=t[f]();this.size=r[n]+a[n]+this[h]+this[p],this.start=r[i],this.end=r[o]}function G(e){var t=function(e){if(!getComputedStyle)return null;var t=getComputedStyle(e);if(!t)return null;var n=e[y];return 0===n?null:n-=B===m?parseFloat(t.paddingLeft)+parseFloat(t.paddingRight):parseFloat(t.paddingTop)+parseFloat(t.paddingBottom)}(x);if(null===t)return e;if(R.reduce(function(e,t){return e+t},0)>t)return e;var n=0,r=[],i=e.map(function(i,o){var a=t*i/100,s=_(M,0===o,o===e.length-1,N),u=R[o]+s;return a<u?(n+=u-a,r.push(0),u):(r.push(a-u),a)});return 0===n?e:i.map(function(e,i){var o=e;if(n>0&&r[i]-n>0){var a=Math.min(n,r[i]-n);n-=a,o=e-a}return o/t*100})}function Z(){var e=this,n=v[e.a].element,r=v[e.b].element;e.dragging&&w(t,"onDragEnd",g)(K()),e.dragging=!1,a[l]("mouseup",e.stop),a[l]("touchend",e.stop),a[l]("touchcancel",e.stop),a[l]("mousemove",e.move),a[l]("touchmove",e.move),e.stop=null,e.move=null,n[l]("selectstart",g),n[l]("dragstart",g),r[l]("selectstart",g),r[l]("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="",u.body.style.cursor=""}function X(e){if(!("button"in e)||0===e.button){var n=this,r=v[n.a].element,i=v[n.b].element;n.dragging||w(t,"onDragStart",g)(K()),e.preventDefault(),n.dragging=!0,n.move=V.bind(n),n.stop=Z.bind(n),a[c]("mouseup",n.stop),a[c]("touchend",n.stop),a[c]("touchcancel",n.stop),a[c]("mousemove",n.move),a[c]("touchmove",n.move),r[c]("selectstart",g),r[c]("dragstart",g),i[c]("selectstart",g),i[c]("dragstart",g),r.style.userSelect="none",r.style.webkitUserSelect="none",r.style.MozUserSelect="none",r.style.pointerEvents="none",i.style.userSelect="none",i.style.webkitUserSelect="none",i.style.MozUserSelect="none",i.style.pointerEvents="none",n.gutter.style.cursor=U,n.parent.style.cursor=U,u.body.style.cursor=U,J.call(n),n.dragOffset=Q(e)-n.end}}B===m?(n="width",r="clientX",i="left",o="right",y="clientWidth"):"vertical"===B&&(n="height",r="clientY",i="top",o="bottom",y="clientHeight"),A=G(A);var ee=[];function te(e){var t=e.i===ee.length,n=t?ee[e.i-1]:ee[e.i];J.call(n);var r=t?n.size-e.minSize-n[p]:e.minSize+n[h];Y.call(n,r)}return(v=E.map(function(e,t){var r,i={element:b(e),size:A[t],minSize:R[t],maxSize:D[t],snapOffset:L[t],i:t};if(t>0&&((r={a:t-1,b:t,dragging:!1,direction:B,parent:x})[h]=_(M,t-1===0,!1,N),r[p]=_(M,!1,t===E.length-1,N),"row-reverse"===O||"column-reverse"===O)){var o=r.a;r.a=r.b,r.b=o}if(t>0){var a=q(t,B,i.element);!function(e,t,r){var i=W(n,t,r);Object.keys(i).forEach(function(t){e.style[t]=i[t]})}(a,M,t),r[d]=X.bind(r),a[c]("mousedown",r[d]),a[c]("touchstart",r[d]),x.insertBefore(a,i.element),r.gutter=a}return H(i.element,i.size,_(M,0===t,t===E.length-1,N),t),t>0&&ee.push(r),i})).forEach(function(e){var t=e.element[f]()[n];t<e.minSize&&(z?te(e):e.minSize=t)}),{setSizes:function(e){var t=G(e);t.forEach(function(e,n){if(n>0){var r=ee[n-1],i=v[r.a],o=v[r.b];i.size=t[n-1],o.size=e,H(i.element,i.size,r[h],i.i),H(o.element,o.size,r[p],o.i)}})},getSizes:K,collapse:function(e){te(v[e])},destroy:function(e,t){ee.forEach(function(r){if(!0!==t?r.parent.removeChild(r.gutter):(r.gutter[l]("mousedown",r[d]),r.gutter[l]("touchstart",r[d])),!0!==e){var i=$(n,r.a.size,r[h]);Object.keys(i).forEach(function(e){v[r.a].element.style[e]="",v[r.b].element.style[e]=""})}})},parent:x,pairs:ee}};function x(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=x(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=E(this.parent.children,n)},t.prototype.componentDidUpdate=function(e){var t=this,n=this.props;n.children;var r=n.minSize,i=n.sizes,o=n.collapsed,a=x(n,["children","minSize","sizes","collapsed"]),s=e.minSize,u=e.sizes,c=e.collapsed,l=["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(s)){var f=!1;r.forEach(function(e,t){f=f||e!==s[t]}),l=l||f}else l=!(!Array.isArray(r)&&!Array.isArray(s))||(l||r!==s);if(l)a.minSize=r,a.sizes=i||this.split.getSizes(),this.split.destroy(!0,!0),a.gutter=function(e,t,n){return n.previousSibling},this.split=E(Array.from(this.parent.children).filter(function(e){return!e.__isSplitGutter}),a);else if(i){var d=!1;i.forEach(function(e,t){d=d||e!==u[t]}),d&&this.split.setSizes(this.props.sizes)}Number.isInteger(o)&&(o!==c||l)&&this.split.collapse(o)},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,i=x(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}},i),n)},t}(r.Component);T.propTypes={sizes:o().arrayOf(o().number),minSize:o().oneOfType([o().number,o().arrayOf(o().number)]),maxSize:o().oneOfType([o().number,o().arrayOf(o().number)]),expandToMin:o().bool,gutterSize:o().number,gutterAlign:o().string,snapOffset:o().oneOfType([o().number,o().arrayOf(o().number)]),dragInterval:o().number,direction:o().string,cursor:o().string,gutter:o().func,elementStyle:o().func,gutterStyle:o().func,onDrag:o().func,onDragStart:o().func,onDragEnd:o().func,collapsed:o().number,children:o().arrayOf(o().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 O=T},99267:(e,t)=>{"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),u=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),h=Symbol.iterator;var p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,g={};function y(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||p}function v(){}function b(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||p}y.prototype.isReactComponent={},y.prototype.setState=function(e,t){if("object"!==typeof e&&"function"!==typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},v.prototype=y.prototype;var w=b.prototype=new v;w.constructor=b,m(w,y.prototype),w.isPureReactComponent=!0;var _=Array.isArray,S=Object.prototype.hasOwnProperty,k={current:null},C={key:!0,ref:!0,__self:!0,__source:!0};function E(e,t,r){var i,o={},a=null,s=null;if(null!=t)for(i in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)S.call(t,i)&&!C.hasOwnProperty(i)&&(o[i]=t[i]);var u=arguments.length-2;if(1===u)o.children=r;else if(1<u){for(var c=Array(u),l=0;l<u;l++)c[l]=arguments[l+2];o.children=c}if(e&&e.defaultProps)for(i in u=e.defaultProps)void 0===o[i]&&(o[i]=u[i]);return{$$typeof:n,type:e,key:a,ref:s,props:o,_owner:k.current}}function x(e){return"object"===typeof e&&null!==e&&e.$$typeof===n}var T=/\/+/g;function O(e,t){return"object"===typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(e){return t[e]})}(""+e.key):t.toString(36)}function A(e,t,i,o,a){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var u=!1;if(null===e)u=!0;else switch(s){case"string":case"number":u=!0;break;case"object":switch(e.$$typeof){case n:case r:u=!0}}if(u)return a=a(u=e),e=""===o?"."+O(u,0):o,_(a)?(i="",null!=e&&(i=e.replace(T,"$&/")+"/"),A(a,t,i,"",function(e){return e})):null!=a&&(x(a)&&(a=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(a,i+(!a.key||u&&u.key===a.key?"":(""+a.key).replace(T,"$&/")+"/")+e)),t.push(a)),1;if(u=0,o=""===o?".":o+":",_(e))for(var c=0;c<e.length;c++){var l=o+O(s=e[c],c);u+=A(s,t,i,l,a)}else if(l=function(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=h&&e[h]||e["@@iterator"])?e:null}(e),"function"===typeof l)for(e=l.call(e),c=0;!(s=e.next()).done;)u+=A(s=s.value,t,i,l=o+O(s,c++),a);else if("object"===s)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return u}function I(e,t,n){if(null==e)return e;var r=[],i=0;return A(e,r,"","",function(e){return t.call(n,e,i++)}),r}function R(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)},function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var P={current:null},D={transition:null},z={ReactCurrentDispatcher:P,ReactCurrentBatchConfig:D,ReactCurrentOwner:k};function M(){throw Error("act(...) is not supported in production builds of React.")}t.Children={map:I,forEach:function(e,t,n){I(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return I(e,function(){t++}),t},toArray:function(e){return I(e,function(e){return e})||[]},only:function(e){if(!x(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=y,t.Fragment=i,t.Profiler=a,t.PureComponent=b,t.StrictMode=o,t.Suspense=l,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=z,t.act=M,t.cloneElement=function(e,t,r){if(null===e||void 0===e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var i=m({},e.props),o=e.key,a=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,s=k.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(c in t)S.call(t,c)&&!C.hasOwnProperty(c)&&(i[c]=void 0===t[c]&&void 0!==u?u[c]:t[c])}var c=arguments.length-2;if(1===c)i.children=r;else if(1<c){u=Array(c);for(var l=0;l<c;l++)u[l]=arguments[l+2];i.children=u}return{$$typeof:n,type:e.type,key:o,ref:a,props:i,_owner:s}},t.createContext=function(e){return(e={$$typeof:u,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:s,_context:e},e.Consumer=e},t.createElement=E,t.createFactory=function(e){var t=E.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:c,render:e}},t.isValidElement=x,t.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:R}},t.memo=function(e,t){return{$$typeof:f,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=D.transition;D.transition={};try{e()}finally{D.transition=t}},t.unstable_act=M,t.useCallback=function(e,t){return P.current.useCallback(e,t)},t.useContext=function(e){return P.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return P.current.useDeferredValue(e)},t.useEffect=function(e,t){return P.current.useEffect(e,t)},t.useId=function(){return P.current.useId()},t.useImperativeHandle=function(e,t,n){return P.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return P.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return P.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return P.current.useMemo(e,t)},t.useReducer=function(e,t,n){return P.current.useReducer(e,t,n)},t.useRef=function(e){return P.current.useRef(e)},t.useState=function(e){return P.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return P.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return P.current.useTransition()},t.version="18.3.1"},1936:(e,t,n)=>{"use strict";e.exports=n(99267)},5620:(e,t,n)=>{"use strict";n.d(t,{$d:()=>s,HY:()=>f,Tw:()=>m,Yl:()=>l,Zz:()=>p,y$:()=>c,zH:()=>h});var r=n(82127);function i(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var o="function"===typeof Symbol&&Symbol.observable||"@@observable",a=function(){return Math.random().toString(36).substring(7).split("").join(".")},s={INIT:"@@redux/INIT"+a(),REPLACE:"@@redux/REPLACE"+a(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+a()}};function u(e){if("object"!==typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function c(e,t,n){var r;if("function"===typeof t&&"function"===typeof n||"function"===typeof n&&"function"===typeof arguments[3])throw new Error(i(0));if("function"===typeof t&&"undefined"===typeof n&&(n=t,t=void 0),"undefined"!==typeof n){if("function"!==typeof n)throw new Error(i(1));return n(c)(e,t)}if("function"!==typeof e)throw new Error(i(2));var a=e,l=t,f=[],d=f,h=!1;function p(){d===f&&(d=f.slice())}function m(){if(h)throw new Error(i(3));return l}function g(e){if("function"!==typeof e)throw new Error(i(4));if(h)throw new Error(i(5));var t=!0;return p(),d.push(e),function(){if(t){if(h)throw new Error(i(6));t=!1,p();var n=d.indexOf(e);d.splice(n,1),f=null}}}function y(e){if(!u(e))throw new Error(i(7));if("undefined"===typeof e.type)throw new Error(i(8));if(h)throw new Error(i(9));try{h=!0,l=a(l,e)}finally{h=!1}for(var t=f=d,n=0;n<t.length;n++){(0,t[n])()}return e}return y({type:s.INIT}),(r={dispatch:y,subscribe:g,getState:m,replaceReducer:function(e){if("function"!==typeof e)throw new Error(i(10));a=e,y({type:s.REPLACE})}})[o]=function(){var e,t=g;return(e={subscribe:function(e){if("object"!==typeof e||null===e)throw new Error(i(11));function n(){e.next&&e.next(m())}return n(),{unsubscribe:t(n)}}})[o]=function(){return this},e},r}var l=c;function f(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var o=t[r];0,"function"===typeof e[o]&&(n[o]=e[o])}var a,u=Object.keys(n);try{!function(e){Object.keys(e).forEach(function(t){var n=e[t];if("undefined"===typeof n(void 0,{type:s.INIT}))throw new Error(i(12));if("undefined"===typeof n(void 0,{type:s.PROBE_UNKNOWN_ACTION()}))throw new Error(i(13))})}(n)}catch(c){a=c}return function(e,t){if(void 0===e&&(e={}),a)throw a;for(var r=!1,o={},s=0;s<u.length;s++){var c=u[s],l=n[c],f=e[c],d=l(f,t);if("undefined"===typeof d){t&&t.type;throw new Error(i(14))}o[c]=d,r=r||d!==f}return(r=r||u.length!==Object.keys(e).length)?o:e}}function d(e,t){return function(){return t(e.apply(this,arguments))}}function h(e,t){if("function"===typeof e)return d(e,t);if("object"!==typeof e||null===e)throw new Error(i(16));var n={};for(var r in e){var o=e[r];"function"===typeof o&&(n[r]=d(o,t))}return n}function p(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce(function(e,t){return function(){return e(t.apply(void 0,arguments))}})}function m(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),o=function(){throw new Error(i(15))},a={getState:n.getState,dispatch:function(){return o.apply(void 0,arguments)}},s=t.map(function(e){return e(a)});return o=p.apply(void 0,s)(n.dispatch),(0,r.A)((0,r.A)({},n),{},{dispatch:o})}}}},51134:(e,t,n)=>{"use strict";n.d(t,{Ig:()=>i,UI:()=>o});var r="NOT_FOUND";var i=function(e,t){return e===t};function o(e,t){var n="object"===typeof t?t:{equalityCheck:t},o=n.equalityCheck,a=void 0===o?i:o,s=n.maxSize,u=void 0===s?1:s,c=n.resultEqualityCheck,l=function(e){return function(t,n){if(null===t||null===n||t.length!==n.length)return!1;for(var r=t.length,i=0;i<r;i++)if(!e(t[i],n[i]))return!1;return!0}}(a),f=1===u?function(e){var t;return{get:function(n){return t&&e(t.key,n)?t.value:r},put:function(e,n){t={key:e,value:n}},getEntries:function(){return t?[t]:[]},clear:function(){t=void 0}}}(l):function(e,t){var n=[];function i(e){var i=n.findIndex(function(n){return t(e,n.key)});if(i>-1){var o=n[i];return i>0&&(n.splice(i,1),n.unshift(o)),o.value}return r}return{get:i,put:function(t,o){i(t)===r&&(n.unshift({key:t,value:o}),n.length>e&&n.pop())},getEntries:function(){return n},clear:function(){n=[]}}}(u,l);function d(){var t=f.get(arguments);if(t===r){if(t=e.apply(null,arguments),c){var n=f.getEntries().find(function(e){return c(e.value,t)});n&&(t=n.value)}f.put(arguments,t)}return t}return d.clearCache=function(){return f.clear()},d}},35157:(e,t,n)=>{"use strict";n.r(t),n.d(t,{createSelector:()=>o,createSelectorCreator:()=>i,createStructuredSelector:()=>a,defaultEqualityCheck:()=>r.Ig,defaultMemoize:()=>r.UI});var r=n(51134);function i(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return function(){for(var t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];var o,a=0,s={memoizeOptions:void 0},u=r.pop();if("object"===typeof u&&(s=u,u=r.pop()),"function"!==typeof u)throw new Error("createSelector expects an output function after the inputs, but received: ["+typeof u+"]");var c=s.memoizeOptions,l=void 0===c?n:c,f=Array.isArray(l)?l:[l],d=function(e){var t=Array.isArray(e[0])?e[0]:e;if(!t.every(function(e){return"function"===typeof e})){var n=t.map(function(e){return"function"===typeof e?"function "+(e.name||"unnamed")+"()":typeof e}).join(", ");throw new Error("createSelector expects all input-selectors to be functions, but received the following types: ["+n+"]")}return t}(r),h=e.apply(void 0,[function(){return a++,u.apply(null,arguments)}].concat(f)),p=e(function(){for(var e=[],t=d.length,n=0;n<t;n++)e.push(d[n].apply(null,arguments));return o=h.apply(null,e)});return Object.assign(p,{resultFunc:u,memoizedResultFunc:h,dependencies:d,lastResult:function(){return o},recomputations:function(){return a},resetRecomputations:function(){return a=0}}),p}}var o=i(r.UI),a=function(e,t){if(void 0===t&&(t=o),"object"!==typeof e)throw new Error("createStructuredSelector expects first argument to be an object where each property is a selector, instead received a "+typeof e);var n=Object.keys(e),r=t(n.map(function(t){return e[t]}),function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.reduce(function(e,t,r){return e[n[r]]=t,e},{})});return r}},73603:(e,t)=>{"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,i=e[r];if(!(0<o(i,t)))break e;e[r]=t,e[n]=i,n=r}}function r(e){return 0===e.length?null:e[0]}function i(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length,a=i>>>1;r<a;){var s=2*(r+1)-1,u=e[s],c=s+1,l=e[c];if(0>o(u,n))c<i&&0>o(l,u)?(e[r]=l,e[c]=n,r=c):(e[r]=u,e[s]=n,r=s);else{if(!(c<i&&0>o(l,n)))break e;e[r]=l,e[c]=n,r=c}}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"===typeof performance&&"function"===typeof performance.now){var a=performance;t.unstable_now=function(){return a.now()}}else{var s=Date,u=s.now();t.unstable_now=function(){return s.now()-u}}var c=[],l=[],f=1,d=null,h=3,p=!1,m=!1,g=!1,y="function"===typeof setTimeout?setTimeout:null,v="function"===typeof clearTimeout?clearTimeout:null,b="undefined"!==typeof setImmediate?setImmediate:null;function w(e){for(var t=r(l);null!==t;){if(null===t.callback)i(l);else{if(!(t.startTime<=e))break;i(l),t.sortIndex=t.expirationTime,n(c,t)}t=r(l)}}function _(e){if(g=!1,w(e),!m)if(null!==r(c))m=!0,D(S);else{var t=r(l);null!==t&&z(_,t.startTime-e)}}function S(e,n){m=!1,g&&(g=!1,v(x),x=-1),p=!0;var o=h;try{for(w(n),d=r(c);null!==d&&(!(d.expirationTime>n)||e&&!A());){var a=d.callback;if("function"===typeof a){d.callback=null,h=d.priorityLevel;var s=a(d.expirationTime<=n);n=t.unstable_now(),"function"===typeof s?d.callback=s:d===r(c)&&i(c),w(n)}else i(c);d=r(c)}if(null!==d)var u=!0;else{var f=r(l);null!==f&&z(_,f.startTime-n),u=!1}return u}finally{d=null,h=o,p=!1}}"undefined"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var k,C=!1,E=null,x=-1,T=5,O=-1;function A(){return!(t.unstable_now()-O<T)}function I(){if(null!==E){var e=t.unstable_now();O=e;var n=!0;try{n=E(!0,e)}finally{n?k():(C=!1,E=null)}}else C=!1}if("function"===typeof b)k=function(){b(I)};else if("undefined"!==typeof MessageChannel){var R=new MessageChannel,P=R.port2;R.port1.onmessage=I,k=function(){P.postMessage(null)}}else k=function(){y(I,0)};function D(e){E=e,C||(C=!0,k())}function z(e,n){x=y(function(){e(t.unstable_now())},n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){m||p||(m=!0,D(S))},t.unstable_forceFrameRate=function(e){0>e||125<e||(T=0<e?Math.floor(1e3/e):5)},t.unstable_getCurrentPriorityLevel=function(){return h},t.unstable_getFirstCallbackNode=function(){return r(c)},t.unstable_next=function(e){switch(h){case 1:case 2:case 3:var t=3;break;default:t=h}var n=h;h=t;try{return e()}finally{h=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=h;h=e;try{return t()}finally{h=n}},t.unstable_scheduleCallback=function(e,i,o){var a=t.unstable_now();switch("object"===typeof o&&null!==o?o="number"===typeof(o=o.delay)&&0<o?a+o:a:o=a,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:f++,callback:i,priorityLevel:e,startTime:o,expirationTime:s=o+s,sortIndex:-1},o>a?(e.sortIndex=o,n(l,e),null===r(c)&&e===r(l)&&(g?(v(x),x=-1):g=!0,z(_,o-a))):(e.sortIndex=s,n(c,e),m||p||(m=!0,D(S))),e},t.unstable_shouldYield=A,t.unstable_wrapCallback=function(e){var t=h;return function(){var n=h;h=t;try{return e.apply(this,arguments)}finally{h=n}}}},70346:(e,t,n)=>{"use strict";e.exports=n(73603)},21287:(e,t,n)=>{var r;!function(){function i(e,t,n){return e.call.apply(e.bind,arguments)}function o(e,t,n){if(!e)throw Error();if(2<arguments.length){var r=Array.prototype.slice.call(arguments,2);return function(){var n=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(n,r),e.apply(t,n)}}return function(){return e.apply(t,arguments)}}function a(e,t,n){return(a=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?i:o).apply(null,arguments)}var s=Date.now||function(){return+new Date};function u(e,t){this.a=e,this.o=t||e,this.c=this.o.document}var c=!!window.FontFace;function l(e,t,n,r){if(t=e.c.createElement(t),n)for(var i in n)n.hasOwnProperty(i)&&("style"==i?t.style.cssText=n[i]:t.setAttribute(i,n[i]));return r&&t.appendChild(e.c.createTextNode(r)),t}function f(e,t,n){(e=e.c.getElementsByTagName(t)[0])||(e=document.documentElement),e.insertBefore(n,e.lastChild)}function d(e){e.parentNode&&e.parentNode.removeChild(e)}function h(e,t,n){t=t||[],n=n||[];for(var r=e.className.split(/\s+/),i=0;i<t.length;i+=1){for(var o=!1,a=0;a<r.length;a+=1)if(t[i]===r[a]){o=!0;break}o||r.push(t[i])}for(t=[],i=0;i<r.length;i+=1){for(o=!1,a=0;a<n.length;a+=1)if(r[i]===n[a]){o=!0;break}o||t.push(r[i])}e.className=t.join(" ").replace(/\s+/g," ").replace(/^\s+|\s+$/,"")}function p(e,t){for(var n=e.className.split(/\s+/),r=0,i=n.length;r<i;r++)if(n[r]==t)return!0;return!1}function m(e,t,n){function r(){s&&i&&o&&(s(a),s=null)}t=l(e,"link",{rel:"stylesheet",href:t,media:"all"});var i=!1,o=!0,a=null,s=n||null;c?(t.onload=function(){i=!0,r()},t.onerror=function(){i=!0,a=Error("Stylesheet failed to load"),r()}):setTimeout(function(){i=!0,r()},0),f(e,"head",t)}function g(e,t,n,r){var i=e.c.getElementsByTagName("head")[0];if(i){var o=l(e,"script",{src:t}),a=!1;return o.onload=o.onreadystatechange=function(){a||this.readyState&&"loaded"!=this.readyState&&"complete"!=this.readyState||(a=!0,n&&n(null),o.onload=o.onreadystatechange=null,"HEAD"==o.parentNode.tagName&&i.removeChild(o))},i.appendChild(o),setTimeout(function(){a||(a=!0,n&&n(Error("Script load timeout")))},r||5e3),o}return null}function y(){this.a=0,this.c=null}function v(e){return e.a++,function(){e.a--,w(e)}}function b(e,t){e.c=t,w(e)}function w(e){0==e.a&&e.c&&(e.c(),e.c=null)}function _(e){this.a=e||"-"}function S(e,t){this.c=e,this.f=4,this.a="n";var n=(t||"n4").match(/^([nio])([1-9])$/i);n&&(this.a=n[1],this.f=parseInt(n[2],10))}function k(e){var t=[];e=e.split(/,\s*/);for(var n=0;n<e.length;n++){var r=e[n].replace(/['"]/g,"");-1!=r.indexOf(" ")||/^\d/.test(r)?t.push("'"+r+"'"):t.push(r)}return t.join(",")}function C(e){return e.a+e.f}function E(e){var t="normal";return"o"===e.a?t="oblique":"i"===e.a&&(t="italic"),t}function x(e){var t=4,n="n",r=null;return e&&((r=e.match(/(normal|oblique|italic)/i))&&r[1]&&(n=r[1].substr(0,1).toLowerCase()),(r=e.match(/([1-9]00|normal|bold)/i))&&r[1]&&(/bold/i.test(r[1])?t=7:/[1-9]00/.test(r[1])&&(t=parseInt(r[1].substr(0,1),10)))),n+t}function T(e,t){this.c=e,this.f=e.o.document.documentElement,this.h=t,this.a=new _("-"),this.j=!1!==t.events,this.g=!1!==t.classes}function O(e){if(e.g){var t=p(e.f,e.a.c("wf","active")),n=[],r=[e.a.c("wf","loading")];t||n.push(e.a.c("wf","inactive")),h(e.f,n,r)}A(e,"inactive")}function A(e,t,n){e.j&&e.h[t]&&(n?e.h[t](n.c,C(n)):e.h[t]())}function I(){this.c={}}function R(e,t){this.c=e,this.f=t,this.a=l(this.c,"span",{"aria-hidden":"true"},this.f)}function P(e){f(e.c,"body",e.a)}function D(e){return"display:block;position:absolute;top:-9999px;left:-9999px;font-size:300px;width:auto;height:auto;line-height:normal;margin:0;padding:0;font-variant:normal;white-space:nowrap;font-family:"+k(e.c)+";font-style:"+E(e)+";font-weight:"+e.f+"00;"}function z(e,t,n,r,i,o){this.g=e,this.j=t,this.a=r,this.c=n,this.f=i||3e3,this.h=o||void 0}function M(e,t,n,r,i,o,a){this.v=e,this.B=t,this.c=n,this.a=r,this.s=a||"BESbswy",this.f={},this.w=i||3e3,this.u=o||null,this.m=this.j=this.h=this.g=null,this.g=new R(this.c,this.s),this.h=new R(this.c,this.s),this.j=new R(this.c,this.s),this.m=new R(this.c,this.s),e=D(e=new S(this.a.c+",serif",C(this.a))),this.g.a.style.cssText=e,e=D(e=new S(this.a.c+",sans-serif",C(this.a))),this.h.a.style.cssText=e,e=D(e=new S("serif",C(this.a))),this.j.a.style.cssText=e,e=D(e=new S("sans-serif",C(this.a))),this.m.a.style.cssText=e,P(this.g),P(this.h),P(this.j),P(this.m)}_.prototype.c=function(e){for(var t=[],n=0;n<arguments.length;n++)t.push(arguments[n].replace(/[\W_]+/g,"").toLowerCase());return t.join(this.a)},z.prototype.start=function(){var e=this.c.o.document,t=this,n=s(),r=new Promise(function(r,i){!function o(){s()-n>=t.f?i():e.fonts.load(function(e){return E(e)+" "+e.f+"00 300px "+k(e.c)}(t.a),t.h).then(function(e){1<=e.length?r():setTimeout(o,25)},function(){i()})}()}),i=null,o=new Promise(function(e,n){i=setTimeout(n,t.f)});Promise.race([o,r]).then(function(){i&&(clearTimeout(i),i=null),t.g(t.a)},function(){t.j(t.a)})};var N={D:"serif",C:"sans-serif"},j=null;function L(){if(null===j){var e=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent);j=!!e&&(536>parseInt(e[1],10)||536===parseInt(e[1],10)&&11>=parseInt(e[2],10))}return j}function F(e,t,n){for(var r in N)if(N.hasOwnProperty(r)&&t===e.f[N[r]]&&n===e.f[N[r]])return!0;return!1}function B(e){var t,n=e.g.a.offsetWidth,r=e.h.a.offsetWidth;(t=n===e.f.serif&&r===e.f["sans-serif"])||(t=L()&&F(e,n,r)),t?s()-e.A>=e.w?L()&&F(e,n,r)&&(null===e.u||e.u.hasOwnProperty(e.a.c))?U(e,e.v):U(e,e.B):function(e){setTimeout(a(function(){B(this)},e),50)}(e):U(e,e.v)}function U(e,t){setTimeout(a(function(){d(this.g.a),d(this.h.a),d(this.j.a),d(this.m.a),t(this.a)},e),0)}function q(e,t,n){this.c=e,this.a=t,this.f=0,this.m=this.j=!1,this.s=n}M.prototype.start=function(){this.f.serif=this.j.a.offsetWidth,this.f["sans-serif"]=this.m.a.offsetWidth,this.A=s(),B(this)};var $=null;function W(e){0==--e.f&&e.j&&(e.m?((e=e.a).g&&h(e.f,[e.a.c("wf","active")],[e.a.c("wf","loading"),e.a.c("wf","inactive")]),A(e,"active")):O(e.a))}function H(e){this.j=e,this.a=new I,this.h=0,this.f=this.g=!0}function K(e,t,n,r,i){var o=0==--e.h;(e.f||e.g)&&setTimeout(function(){var e=i||null,s=r||{};if(0===n.length&&o)O(t.a);else{t.f+=n.length,o&&(t.j=o);var u,c=[];for(u=0;u<n.length;u++){var l=n[u],f=s[l.c],d=t.a,p=l;if(d.g&&h(d.f,[d.a.c("wf",p.c,C(p).toString(),"loading")]),A(d,"fontloading",p),d=null,null===$)if(window.FontFace){p=/Gecko.*Firefox\/(\d+)/.exec(window.navigator.userAgent);var m=/OS X.*Version\/10\..*Safari/.exec(window.navigator.userAgent)&&/Apple/.exec(window.navigator.vendor);$=p?42<parseInt(p[1],10):!m}else $=!1;d=$?new z(a(t.g,t),a(t.h,t),t.c,l,t.s,f):new M(a(t.g,t),a(t.h,t),t.c,l,t.s,e,f),c.push(d)}for(u=0;u<c.length;u++)c[u].start()}},0)}function Q(e,t){this.c=e,this.a=t}function Y(e,t){this.c=e,this.a=t}function V(e,t){this.c=e||J,this.a=[],this.f=[],this.g=t||""}q.prototype.g=function(e){var t=this.a;t.g&&h(t.f,[t.a.c("wf",e.c,C(e).toString(),"active")],[t.a.c("wf",e.c,C(e).toString(),"loading"),t.a.c("wf",e.c,C(e).toString(),"inactive")]),A(t,"fontactive",e),this.m=!0,W(this)},q.prototype.h=function(e){var t=this.a;if(t.g){var n=p(t.f,t.a.c("wf",e.c,C(e).toString(),"active")),r=[],i=[t.a.c("wf",e.c,C(e).toString(),"loading")];n||r.push(t.a.c("wf",e.c,C(e).toString(),"inactive")),h(t.f,r,i)}A(t,"fontinactive",e),W(this)},H.prototype.load=function(e){this.c=new u(this.j,e.context||this.j),this.g=!1!==e.events,this.f=!1!==e.classes,function(e,t,n){var r=[],i=n.timeout;!function(e){e.g&&h(e.f,[e.a.c("wf","loading")]),A(e,"loading")}(t);r=function(e,t,n){var r,i=[];for(r in t)if(t.hasOwnProperty(r)){var o=e.c[r];o&&i.push(o(t[r],n))}return i}(e.a,n,e.c);var o=new q(e.c,t,i);for(e.h=r.length,t=0,n=r.length;t<n;t++)r[t].load(function(t,n,r){K(e,o,t,n,r)})}(this,new T(this.c,e),e)},Q.prototype.load=function(e){function t(){if(o["__mti_fntLst"+r]){var n,i=o["__mti_fntLst"+r](),a=[];if(i)for(var s=0;s<i.length;s++){var u=i[s].fontfamily;void 0!=i[s].fontStyle&&void 0!=i[s].fontWeight?(n=i[s].fontStyle+i[s].fontWeight,a.push(new S(u,n))):a.push(new S(u))}e(a)}else setTimeout(function(){t()},50)}var n=this,r=n.a.projectId,i=n.a.version;if(r){var o=n.c.o;g(this.c,(n.a.api||"https://fast.fonts.net/jsapi")+"/"+r+".js"+(i?"?v="+i:""),function(i){i?e([]):(o["__MonotypeConfiguration__"+r]=function(){return n.a},t())}).id="__MonotypeAPIScript__"+r}else e([])},Y.prototype.load=function(e){var t,n,r=this.a.urls||[],i=this.a.families||[],o=this.a.testStrings||{},a=new y;for(t=0,n=r.length;t<n;t++)m(this.c,r[t],v(a));var s=[];for(t=0,n=i.length;t<n;t++)if((r=i[t].split(":"))[1])for(var u=r[1].split(","),c=0;c<u.length;c+=1)s.push(new S(r[0],u[c]));else s.push(new S(r[0]));b(a,function(){e(s,o)})};var J="https://fonts.googleapis.com/css";function G(e){this.f=e,this.a=[],this.c={}}var Z={latin:"BESbswy","latin-ext":"\xe7\xf6\xfc\u011f\u015f",cyrillic:"\u0439\u044f\u0416",greek:"\u03b1\u03b2\u03a3",khmer:"\u1780\u1781\u1782",Hanuman:"\u1780\u1781\u1782"},X={thin:"1",extralight:"2","extra-light":"2",ultralight:"2","ultra-light":"2",light:"3",regular:"4",book:"4",medium:"5","semi-bold":"6",semibold:"6","demi-bold":"6",demibold:"6",bold:"7","extra-bold":"8",extrabold:"8","ultra-bold":"8",ultrabold:"8",black:"9",heavy:"9",l:"3",r:"4",b:"7"},ee={i:"i",italic:"i",n:"n",normal:"n"},te=/^(thin|(?:(?:extra|ultra)-?)?light|regular|book|medium|(?:(?:semi|demi|extra|ultra)-?)?bold|black|heavy|l|r|b|[1-9]00)?(n|i|normal|italic)?$/;function ne(e,t){this.c=e,this.a=t}var re={Arimo:!0,Cousine:!0,Tinos:!0};function ie(e,t){this.c=e,this.a=t}function oe(e,t){this.c=e,this.f=t,this.a=[]}ne.prototype.load=function(e){var t=new y,n=this.c,r=new V(this.a.api,this.a.text),i=this.a.families;!function(e,t){for(var n=t.length,r=0;r<n;r++){var i=t[r].split(":");3==i.length&&e.f.push(i.pop());var o="";2==i.length&&""!=i[1]&&(o=":"),e.a.push(i.join(o))}}(r,i);var o=new G(i);!function(e){for(var t=e.f.length,n=0;n<t;n++){var r=e.f[n].split(":"),i=r[0].replace(/\+/g," "),o=["n4"];if(2<=r.length){var a;if(a=[],s=r[1])for(var s,u=(s=s.split(",")).length,c=0;c<u;c++){var l;if((l=s[c]).match(/^[\w-]+$/))if(null==(f=te.exec(l.toLowerCase())))l="";else{if(l=null==(l=f[2])||""==l?"n":ee[l],null==(f=f[1])||""==f)f="4";else var f=X[f]||(isNaN(f)?"4":f.substr(0,1));l=[l,f].join("")}else l="";l&&a.push(l)}0<a.length&&(o=a),3==r.length&&(a=[],0<(r=(r=r[2])?r.split(","):a).length&&(r=Z[r[0]])&&(e.c[i]=r))}for(e.c[i]||(r=Z[i])&&(e.c[i]=r),r=0;r<o.length;r+=1)e.a.push(new S(i,o[r]))}}(o),m(n,function(e){if(0==e.a.length)throw Error("No fonts to load!");if(-1!=e.c.indexOf("kit="))return e.c;for(var t=e.a.length,n=[],r=0;r<t;r++)n.push(e.a[r].replace(/ /g,"+"));return t=e.c+"?family="+n.join("%7C"),0<e.f.length&&(t+="&subset="+e.f.join(",")),0<e.g.length&&(t+="&text="+encodeURIComponent(e.g)),t}(r),v(t)),b(t,function(){e(o.a,o.c,re)})},ie.prototype.load=function(e){var t=this.a.id,n=this.c.o;t?g(this.c,(this.a.api||"https://use.typekit.net")+"/"+t+".js",function(t){if(t)e([]);else if(n.Typekit&&n.Typekit.config&&n.Typekit.config.fn){t=n.Typekit.config.fn;for(var r=[],i=0;i<t.length;i+=2)for(var o=t[i],a=t[i+1],s=0;s<a.length;s++)r.push(new S(o,a[s]));try{n.Typekit.load({events:!1,classes:!1,async:!0})}catch(u){}e(r)}},2e3):e([])},oe.prototype.load=function(e){var t=this.f.id,n=this.c.o,r=this;t?(n.__webfontfontdeckmodule__||(n.__webfontfontdeckmodule__={}),n.__webfontfontdeckmodule__[t]=function(t,n){for(var i=0,o=n.fonts.length;i<o;++i){var a=n.fonts[i];r.a.push(new S(a.name,x("font-weight:"+a.weight+";font-style:"+a.style)))}e(r.a)},g(this.c,(this.f.api||"https://f.fontdeck.com/s/css/js/")+function(e){return e.o.location.hostname||e.a.location.hostname}(this.c)+"/"+t+".js",function(t){t&&e([])})):e([])};var ae=new H(window);ae.a.c.custom=function(e,t){return new Y(t,e)},ae.a.c.fontdeck=function(e,t){return new oe(t,e)},ae.a.c.monotype=function(e,t){return new Q(t,e)},ae.a.c.typekit=function(e,t){return new ie(t,e)},ae.a.c.google=function(e,t){return new ne(t,e)};var se={load:a(ae.load,ae)};void 0===(r=function(){return se}.call(t,n,t,e))||(e.exports=r)}()},8229:(e,t,n)=>{"use strict";function r(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+e+(n.length?" "+n.map(function(e){return"'"+e+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function i(e){return!!e&&!!e[V]}function o(e){var t;return!!e&&(function(e){if(!e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object||"function"==typeof n&&Function.toString.call(n)===J}(e)||Array.isArray(e)||!!e[Y]||!!(null===(t=e.constructor)||void 0===t?void 0:t[Y])||h(e)||p(e))}function a(e){return i(e)||r(23,e),e[V].t}function s(e,t,n){void 0===n&&(n=!1),0===u(e)?(n?Object.keys:G)(e).forEach(function(r){n&&"symbol"==typeof r||t(r,e[r],e)}):e.forEach(function(n,r){return t(r,n,e)})}function u(e){var t=e[V];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:h(e)?2:p(e)?3:0}function c(e,t){return 2===u(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function l(e,t){return 2===u(e)?e.get(t):e[t]}function f(e,t,n){var r=u(e);2===r?e.set(t,n):3===r?e.add(n):e[t]=n}function d(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function h(e){return W&&e instanceof Map}function p(e){return H&&e instanceof Set}function m(e){return e.o||e.t}function g(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Z(e);delete t[V];for(var n=G(t),r=0;r<n.length;r++){var i=n[r],o=t[i];!1===o.writable&&(o.writable=!0,o.configurable=!0),(o.get||o.set)&&(t[i]={configurable:!0,writable:!0,enumerable:o.enumerable,value:e[i]})}return Object.create(Object.getPrototypeOf(e),t)}function y(e,t){return void 0===t&&(t=!1),b(e)||i(e)||!o(e)||(u(e)>1&&(e.set=e.add=e.clear=e.delete=v),Object.freeze(e),t&&s(e,function(e,t){return y(t,!0)},!0)),e}function v(){r(2)}function b(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function w(e){var t=X[e];return t||r(18,e),t}function _(e,t){X[e]||(X[e]=t)}function S(){return q}function k(e,t){t&&(w("Patches"),e.u=[],e.s=[],e.v=t)}function C(e){E(e),e.p.forEach(T),e.p=null}function E(e){e===q&&(q=e.l)}function x(e){return q={p:[],l:q,h:e,m:!0,_:0}}function T(e){var t=e[V];0===t.i||1===t.i?t.j():t.g=!0}function O(e,t){t._=t.p.length;var n=t.p[0],i=void 0!==e&&e!==n;return t.h.O||w("ES5").S(t,e,i),i?(n[V].P&&(C(t),r(4)),o(e)&&(e=A(t,e),t.l||R(t,e)),t.u&&w("Patches").M(n[V].t,e,t.u,t.s)):e=A(t,n,[]),C(t),t.u&&t.v(t.u,t.s),e!==Q?e:void 0}function A(e,t,n){if(b(t))return t;var r=t[V];if(!r)return s(t,function(i,o){return I(e,r,t,i,o,n)},!0),t;if(r.A!==e)return t;if(!r.P)return R(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=4===r.i||5===r.i?r.o=g(r.k):r.o,o=i,a=!1;3===r.i&&(o=new Set(i),i.clear(),a=!0),s(o,function(t,o){return I(e,r,i,t,o,n,a)}),R(e,i,!1),n&&e.u&&w("Patches").N(r,n,e.u,e.s)}return r.o}function I(e,t,n,r,a,s,u){if(i(a)){var l=A(e,a,s&&t&&3!==t.i&&!c(t.R,r)?s.concat(r):void 0);if(f(n,r,l),!i(l))return;e.m=!1}else u&&n.add(a);if(o(a)&&!b(a)){if(!e.h.D&&e._<1)return;A(e,a),t&&t.A.l||R(e,a)}}function R(e,t,n){void 0===n&&(n=!1),!e.l&&e.h.D&&e.m&&y(t,n)}function P(e,t){var n=e[V];return(n?m(n):e)[t]}function D(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function z(e){e.P||(e.P=!0,e.l&&z(e.l))}function M(e){e.o||(e.o=g(e.t))}function N(e,t,n){var r=h(t)?w("MapSet").F(t,n):p(t)?w("MapSet").T(t,n):e.O?function(e,t){var n=Array.isArray(e),r={i:n?1:0,A:t?t.A:S(),P:!1,I:!1,R:{},l:t,t:e,k:null,o:null,j:null,C:!1},i=r,o=ee;n&&(i=[r],o=te);var a=Proxy.revocable(i,o),s=a.revoke,u=a.proxy;return r.k=u,r.j=s,u}(t,n):w("ES5").J(t,n);return(n?n.A:S()).p.push(r),r}function j(e){return i(e)||r(22,e),function e(t){if(!o(t))return t;var n,r=t[V],i=u(t);if(r){if(!r.P&&(r.i<4||!w("ES5").K(r)))return r.t;r.I=!0,n=L(t,i),r.I=!1}else n=L(t,i);return s(n,function(t,i){r&&l(r.t,t)===i||f(n,t,e(i))}),3===i?new Set(n):n}(e)}function L(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return g(e)}function F(){function e(e,t){var n=o[e];return n?n.enumerable=t:o[e]=n={configurable:!0,enumerable:t,get:function(){var t=this[V];return ee.get(t,e)},set:function(t){var n=this[V];ee.set(n,e,t)}},n}function t(e){for(var t=e.length-1;t>=0;t--){var i=e[t][V];if(!i.P)switch(i.i){case 5:r(i)&&z(i);break;case 4:n(i)&&z(i)}}}function n(e){for(var t=e.t,n=e.k,r=G(n),i=r.length-1;i>=0;i--){var o=r[i];if(o!==V){var a=t[o];if(void 0===a&&!c(t,o))return!0;var s=n[o],u=s&&s[V];if(u?u.t!==a:!d(s,a))return!0}}var l=!!t[V];return r.length!==G(t).length+(l?0:1)}function r(e){var t=e.k;if(t.length!==e.t.length)return!0;var n=Object.getOwnPropertyDescriptor(t,t.length-1);if(n&&!n.get)return!0;for(var r=0;r<t.length;r++)if(!t.hasOwnProperty(r))return!0;return!1}var o={};_("ES5",{J:function(t,n){var r=Array.isArray(t),i=function(t,n){if(t){for(var r=Array(n.length),i=0;i<n.length;i++)Object.defineProperty(r,""+i,e(i,!0));return r}var o=Z(n);delete o[V];for(var a=G(o),s=0;s<a.length;s++){var u=a[s];o[u]=e(u,t||!!o[u].enumerable)}return Object.create(Object.getPrototypeOf(n),o)}(r,t),o={i:r?5:4,A:n?n.A:S(),P:!1,I:!1,R:{},l:n,t:t,k:i,o:null,g:!1,C:!1};return Object.defineProperty(i,V,{value:o,writable:!0}),i},S:function(e,n,o){o?i(n)&&n[V].A===e&&t(e.p):(e.u&&function e(t){if(t&&"object"==typeof t){var n=t[V];if(n){var i=n.t,o=n.k,a=n.R,u=n.i;if(4===u)s(o,function(t){t!==V&&(void 0!==i[t]||c(i,t)?a[t]||e(o[t]):(a[t]=!0,z(n)))}),s(i,function(e){void 0!==o[e]||c(o,e)||(a[e]=!1,z(n))});else if(5===u){if(r(n)&&(z(n),a.length=!0),o.length<i.length)for(var l=o.length;l<i.length;l++)a[l]=!1;else for(var f=i.length;f<o.length;f++)a[f]=!0;for(var d=Math.min(o.length,i.length),h=0;h<d;h++)o.hasOwnProperty(h)||(a[h]=!0),void 0===a[h]&&e(o[h])}}}}(e.p[0]),t(e.p))},K:function(e){return 4===e.i?n(e):r(e)}})}function B(){function e(t){if(!o(t))return t;if(Array.isArray(t))return t.map(e);if(h(t))return new Map(Array.from(t.entries()).map(function(t){return[t[0],e(t[1])]}));if(p(t))return new Set(Array.from(t).map(e));var n=Object.create(Object.getPrototypeOf(t));for(var r in t)n[r]=e(t[r]);return c(t,Y)&&(n[Y]=t[Y]),n}function t(t){return i(t)?e(t):t}var n="add";_("Patches",{$:function(t,i){return i.forEach(function(i){for(var o=i.path,a=i.op,s=t,c=0;c<o.length-1;c++){var f=u(s),d=o[c];"string"!=typeof d&&"number"!=typeof d&&(d=""+d),0!==f&&1!==f||"__proto__"!==d&&"constructor"!==d||r(24),"function"==typeof s&&"prototype"===d&&r(24),"object"!=typeof(s=l(s,d))&&r(15,o.join("/"))}var h=u(s),p=e(i.value),m=o[o.length-1];switch(a){case"replace":switch(h){case 2:return s.set(m,p);case 3:r(16);default:return s[m]=p}case n:switch(h){case 1:return"-"===m?s.push(p):s.splice(m,0,p);case 2:return s.set(m,p);case 3:return s.add(p);default:return s[m]=p}case"remove":switch(h){case 1:return s.splice(m,1);case 2:return s.delete(m);case 3:return s.delete(i.value);default:return delete s[m]}default:r(17,a)}}),t},N:function(e,r,i,o){switch(e.i){case 0:case 4:case 2:return function(e,r,i,o){var a=e.t,u=e.o;s(e.R,function(e,s){var f=l(a,e),d=l(u,e),h=s?c(a,e)?"replace":n:"remove";if(f!==d||"replace"!==h){var p=r.concat(e);i.push("remove"===h?{op:h,path:p}:{op:h,path:p,value:d}),o.push(h===n?{op:"remove",path:p}:"remove"===h?{op:n,path:p,value:t(f)}:{op:"replace",path:p,value:t(f)})}})}(e,r,i,o);case 5:case 1:return function(e,r,i,o){var a=e.t,s=e.R,u=e.o;if(u.length<a.length){var c=[u,a];a=c[0],u=c[1];var l=[o,i];i=l[0],o=l[1]}for(var f=0;f<a.length;f++)if(s[f]&&u[f]!==a[f]){var d=r.concat([f]);i.push({op:"replace",path:d,value:t(u[f])}),o.push({op:"replace",path:d,value:t(a[f])})}for(var h=a.length;h<u.length;h++){var p=r.concat([h]);i.push({op:n,path:p,value:t(u[h])})}a.length<u.length&&o.push({op:"replace",path:r.concat(["length"]),value:a.length})}(e,r,i,o);case 3:return function(e,t,r,i){var o=e.t,a=e.o,s=0;o.forEach(function(e){if(!a.has(e)){var o=t.concat([s]);r.push({op:"remove",path:o,value:e}),i.unshift({op:n,path:o,value:e})}s++}),s=0,a.forEach(function(e){if(!o.has(e)){var a=t.concat([s]);r.push({op:n,path:a,value:e}),i.unshift({op:"remove",path:a,value:e})}s++})}(e,r,i,o)}},M:function(e,t,n,r){n.push({op:"replace",path:[],value:t===Q?void 0:t}),r.push({op:"replace",path:[],value:e})}})}n.d(t,{$i:()=>ae,Ay:()=>se,CN:()=>y,Qx:()=>i,YT:()=>B,a6:()=>o,c2:()=>a,rF:()=>F,ss:()=>j,vI:()=>oe});var U,q,$="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),W="undefined"!=typeof Map,H="undefined"!=typeof Set,K="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Q=$?Symbol.for("immer-nothing"):((U={})["immer-nothing"]=!0,U),Y=$?Symbol.for("immer-draftable"):"__$immer_draftable",V=$?Symbol.for("immer-state"):"__$immer_state",J=("undefined"!=typeof Symbol&&Symbol.iterator,""+Object.prototype.constructor),G="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Z=Object.getOwnPropertyDescriptors||function(e){var t={};return G(e).forEach(function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)}),t},X={},ee={get:function(e,t){if(t===V)return e;var n=m(e);if(!c(n,t))return function(e,t,n){var r,i=D(t,n);return i?"value"in i?i.value:null===(r=i.get)||void 0===r?void 0:r.call(e.k):void 0}(e,n,t);var r=n[t];return e.I||!o(r)?r:r===P(e.t,t)?(M(e),e.o[t]=N(e.A.h,r,e)):r},has:function(e,t){return t in m(e)},ownKeys:function(e){return Reflect.ownKeys(m(e))},set:function(e,t,n){var r=D(m(e),t);if(null==r?void 0:r.set)return r.set.call(e.k,n),!0;if(!e.P){var i=P(m(e),t),o=null==i?void 0:i[V];if(o&&o.t===n)return e.o[t]=n,e.R[t]=!1,!0;if(d(n,i)&&(void 0!==n||c(e.t,t)))return!0;M(e),z(e)}return e.o[t]===n&&(void 0!==n||t in e.o)||Number.isNaN(n)&&Number.isNaN(e.o[t])||(e.o[t]=n,e.R[t]=!0),!0},deleteProperty:function(e,t){return void 0!==P(e.t,t)||t in e.t?(e.R[t]=!1,M(e),z(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=m(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r?{writable:!0,configurable:1!==e.i||"length"!==t,enumerable:r.enumerable,value:n[t]}:r},defineProperty:function(){r(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){r(12)}},te={};s(ee,function(e,t){te[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),te.deleteProperty=function(e,t){return te.set.call(this,e,t,void 0)},te.set=function(e,t,n){return ee.set.call(this,e[0],t,n,e[0])};var ne=function(){function e(e){var t=this;this.O=K,this.D=!0,this.produce=function(e,n,i){if("function"==typeof e&&"function"!=typeof n){var a=n;n=e;var s=t;return function(e){var t=this;void 0===e&&(e=a);for(var r=arguments.length,i=Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];return s.produce(e,function(e){var r;return(r=n).call.apply(r,[t,e].concat(i))})}}var u;if("function"!=typeof n&&r(6),void 0!==i&&"function"!=typeof i&&r(7),o(e)){var c=x(t),l=N(t,e,void 0),f=!0;try{u=n(l),f=!1}finally{f?C(c):E(c)}return"undefined"!=typeof Promise&&u instanceof Promise?u.then(function(e){return k(c,i),O(e,c)},function(e){throw C(c),e}):(k(c,i),O(u,c))}if(!e||"object"!=typeof e){if(void 0===(u=n(e))&&(u=e),u===Q&&(u=void 0),t.D&&y(u,!0),i){var d=[],h=[];w("Patches").M(e,u,d,h),i(d,h)}return u}r(21,e)},this.produceWithPatches=function(e,n){if("function"==typeof e)return function(n){for(var r=arguments.length,i=Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];return t.produceWithPatches(n,function(t){return e.apply(void 0,[t].concat(i))})};var r,i,o=t.produce(e,n,function(e,t){r=e,i=t});return"undefined"!=typeof Promise&&o instanceof Promise?o.then(function(e){return[e,r,i]}):[o,r,i]},"boolean"==typeof(null==e?void 0:e.useProxies)&&this.setUseProxies(e.useProxies),"boolean"==typeof(null==e?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze)}var t=e.prototype;return t.createDraft=function(e){o(e)||r(8),i(e)&&(e=j(e));var t=x(this),n=N(this,e,void 0);return n[V].C=!0,E(t),n},t.finishDraft=function(e,t){var n=(e&&e[V]).A;return k(n,t),O(void 0,n)},t.setAutoFreeze=function(e){this.D=e},t.setUseProxies=function(e){e&&!K&&r(20),this.O=e},t.applyPatches=function(e,t){var n;for(n=t.length-1;n>=0;n--){var r=t[n];if(0===r.path.length&&"replace"===r.op){e=r.value;break}}n>-1&&(t=t.slice(n+1));var o=w("Patches").$;return i(e)?o(e,t):this.produce(e,function(e){return o(e,t)})},e}(),re=new ne,ie=re.produce,oe=re.produceWithPatches.bind(re),ae=(re.setAutoFreeze.bind(re),re.setUseProxies.bind(re),re.applyPatches.bind(re));re.createDraft.bind(re),re.finishDraft.bind(re);const se=ie},27849:(e,t,n)=>{"use strict";function r(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}n.d(t,{A:()=>i});var i=function e(t,n){function i(e,i,o){if("undefined"!==typeof document){"number"===typeof(o=r({},n,o)).expires&&(o.expires=new Date(Date.now()+864e5*o.expires)),o.expires&&(o.expires=o.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var a="";for(var s in o)o[s]&&(a+="; "+s,!0!==o[s]&&(a+="="+o[s].split(";")[0]));return document.cookie=e+"="+t.write(i,e)+a}}return Object.create({set:i,get:function(e){if("undefined"!==typeof document&&(!arguments.length||e)){for(var n=document.cookie?document.cookie.split("; "):[],r={},i=0;i<n.length;i++){var o=n[i].split("="),a=o.slice(1).join("=");try{var s=decodeURIComponent(o[0]);if(r[s]=t.read(a,s),e===s)break}catch(u){}}return e?r[e]:r}},remove:function(e,t){i(e,"",r({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,r({},this.attributes,t))},withConverter:function(t){return e(r({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"})},87295:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(79213);function i(e,t,n){return(t=(0,r.A)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},62244:(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)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(null,arguments)}n.d(t,{A:()=>r})},82127:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(87295);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach(function(t){(0,r.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}},79213:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(50760);function i(e){var t=function(e,t){if("object"!=(0,r.A)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=(0,r.A)(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==(0,r.A)(t)?t:t+""}},50760:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{A:()=>r})},74716:(e,t,n)=>{"use strict";n.d(t,{T:()=>Rt});var r=n(42414),i=n(64035),o=n(54887),a=n(34129);function s(e){const t=[];e.message&&t.push(e.message);try{const n=e.exception.values[e.exception.values.length-1];n?.value&&(t.push(n.value),n.type&&t.push(`${n.type}: ${n.value}`))}catch{}return t}var u=n(22931),c=n(38126);const l=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,/^Can't find variable: gmo$/,/^undefined is not an object \(evaluating 'a\.[A-Z]'\)$/,'can\'t redefine non-configurable property "solana"',"vv().getRestrictions is not a function. (In 'vv().getRestrictions(1,a)', 'vv().getRestrictions' is undefined)","Can't find variable: _AutofillCallbackHandler",/^Non-Error promise rejection captured with value: Object Not Found Matching Id:\d+, MethodName:simulateEvent, ParamCount:\d+$/,/^Java exception was raised during method invocation$/],f=(0,o._C)((e={})=>{let t;return{name:"EventFilters",setup(n){const r=n.getOptions();t=h(e,r)},processEvent(n,r,o){if(!t){const n=o.getOptions();t=h(e,n)}return function(e,t){if(e.type){if("transaction"===e.type&&function(e,t){if(!t?.length)return!1;const n=e.transaction;return!!n&&(0,c.Xr)(n,t)}(e,t.ignoreTransactions))return i.T&&a.Yz.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.\nEvent: ${(0,u.$X)(e)}`),!0}else{if(function(e,t){if(!t?.length)return!1;return s(e).some(e=>(0,c.Xr)(e,t))}(e,t.ignoreErrors))return i.T&&a.Yz.warn(`Event dropped due to being matched by \`ignoreErrors\` option.\nEvent: ${(0,u.$X)(e)}`),!0;if(function(e){if(!e.exception?.values?.length)return!1;return!e.message&&!e.exception.values.some(e=>e.stacktrace||e.type&&"Error"!==e.type||e.value)}(e))return i.T&&a.Yz.warn(`Event dropped due to not having an error message, error type or stacktrace.\nEvent: ${(0,u.$X)(e)}`),!0;if(function(e,t){if(!t?.length)return!1;const n=p(e);return!!n&&(0,c.Xr)(n,t)}(e,t.denyUrls))return i.T&&a.Yz.warn(`Event dropped due to being matched by \`denyUrls\` option.\nEvent: ${(0,u.$X)(e)}.\nUrl: ${p(e)}`),!0;if(!function(e,t){if(!t?.length)return!0;const n=p(e);return!n||(0,c.Xr)(n,t)}(e,t.allowUrls))return i.T&&a.Yz.warn(`Event dropped due to not being matched by \`allowUrls\` option.\nEvent: ${(0,u.$X)(e)}.\nUrl: ${p(e)}`),!0}return!1}(n,t)?null:n}}}),d=(0,o._C)((e={})=>({...f(e),name:"InboundFilters"}));function h(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:l],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]]}}function p(e){try{const t=[...e.exception?.values??[]].reverse().find(e=>void 0===e.mechanism?.parent_id&&e.stacktrace?.frames?.length),n=t?.stacktrace?.frames;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{return i.T&&a.Yz.error(`Cannot extract url for event ${(0,u.$X)(e)}`),null}}var m=n(39477),g=n(13216);let y;const v=new WeakMap,b=(0,o._C)(()=>({name:"FunctionToString",setupOnce(){y=Function.prototype.toString;try{Function.prototype.toString=function(...e){const t=(0,g.sp)(this),n=v.has((0,m.KU)())&&void 0!==t?t:this;return y.apply(n,e)}}catch{}},setup(e){v.set(e,!0)}}));var w=n(86032);const _=(0,o._C)(()=>({name:"ConversationId",setup(e){e.on("spanStart",e=>{const t=(0,m.o5)().getScopeData(),n=(0,m.rm)().getScopeData(),r=t.conversationId||n.conversationId;r&&e.setAttribute(w.Fy,r)})}}));var S=n(33462);const k=(0,o._C)(()=>{let e;return{name:"Dedupe",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(!C(e,t))return!1;return!0}(e,t))return!0;if(function(e,t){const n=x(t),r=x(e);if(!n||!r)return!1;if(n.type!==r.type||n.value!==r.value)return!1;if(!E(e,t))return!1;if(!C(e,t))return!1;return!0}(e,t))return!0;return!1}(t,e))return i.T&&a.Yz.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return e=t}}});function C(e,t){let n=(0,S.RV)(e),r=(0,S.RV)(t);if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;if(r.length!==n.length)return!1;for(let i=0;i<r.length;i++){const e=r[i],t=n[i];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{return!1}}function x(e){return e.exception?.values?.[0]}function T(e,t){!0===t.debug&&(i.T?a.Yz.enable():(0,a.pq)(()=>{}));(0,m.o5)().update(t.initialScope);const n=new e(t);return function(e){(0,m.o5)().setClient(e)}(n),n.init(),n}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,n){return t||`${function(e){return`${O(e)}${e.projectId}/envelope/`}(e)}?${function(e,t){const n={sentry_version:"7"};return e.publicKey&&(n.sentry_key=e.publicKey),t&&(n.sentry_client=`${t.name}/${t.version}`),new URLSearchParams(n).toString()}(e,n)}`}var I=n(23876),R=n(16113),P=n(22089),D=n(58513),z=n(50718),M=n(56111);function N(e,t){const n=t??j(e)??[];if(0===n.length)return;const r=e.getOptions(),i=function(e,t,n,r){const i={};return t?.sdk&&(i.sdk={name:t.sdk.name,version:t.sdk.version}),n&&r&&(i.dsn=(0,z.SB)(r)),(0,M.h4)(i,[(o=e,[{type:"trace_metric",item_count:o.length,content_type:"application/vnd.sentry.items.trace-metric+json"},{items:o}])]);var o}(n,r._metadata,r.tunnel,e.getDsn());L().set(e,[]),e.emit("flushMetrics"),e.sendEnvelope(i)}function j(e){return L().get(e)}function L(){return(0,D.BY)("clientToMetricBufferMap",()=>new WeakMap)}var F=n(54845),B=n(58445),U=n(92835);function q(e){return"object"===typeof e&&"function"===typeof e.unref&&e.unref(),e}const $=Symbol.for("SentryBufferFullError");function W(e=100){const t=new Set;function n(e){t.delete(e)}return{get $(){return Array.from(t)},add:function(r){if(!(t.size<e))return(0,U.xg)($);const i=r();return t.add(i),i.then(()=>n(i),()=>n(i)),i},drain:function(e){if(!t.size)return(0,U.XW)(!0);const n=Promise.allSettled(Array.from(t)).then(()=>!0);if(!e)return n;const r=[n,new Promise(t=>q(setTimeout(()=>t(!1),e)))];return Promise.race(r)}}}var H=n(39174);const K=64;var Q=n(82558);var Y=n(66115),V=n(1807),J=n(86792),G=n(32310),Z=n(62650),X=n(38632),ee=n(13034);const te="Not capturing exception because it's already been captured.",ne="Discarded session because of missing or non-string release",re=Symbol.for("SentryInternalError"),ie=Symbol.for("SentryDoNotSendEventError");function oe(e){return{message:e,[re]:!0}}function ae(e){return{message:e,[ie]:!0}}function se(e){return!!e&&"object"===typeof e&&re in e}function ue(e){return!!e&&"object"===typeof e&&ie in e}function ce(e,t,n,r,i){let o,a=0,s=!1;e.on(n,()=>{a=0,clearTimeout(o),s=!1}),e.on(t,t=>{a+=r(t),a>=8e5?i(e):s||(s=!0,o=q(setTimeout(()=>{i(e)},5e3)))}),e.on("flush",()=>{i(e)})}class le{constructor(e){if(this._options=e,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],this._promiseBuffer=W(e.transportOptions?.bufferSize??K),e.dsn?this._dsn=(0,z.AD)(e.dsn):i.T&&a.Yz.warn("No DSN provided, client will not send events."),this._dsn){const t=A(this._dsn,e.tunnel,e._metadata?e._metadata.sdk:void 0);this._transport=e.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:t})}this._options.enableLogs=this._options.enableLogs??this._options._experiments?.enableLogs,this._options.enableLogs&&ce(this,"afterCaptureLog","flushLogs",me,P.lt);(this._options.enableMetrics??this._options._experiments?.enableMetrics??!0)&&ce(this,"afterCaptureMetric","flushMetrics",pe,N)}captureException(e,t,n){const r=(0,u.eJ)();if((0,u.GR)(e))return i.T&&a.Yz.log(te),r;const o={event_id:r,...t};return this._process(()=>this.eventFromException(e,o).then(e=>this._captureEvent(e,o,n)).then(e=>e),"error"),o.event_id}captureMessage(e,t,n,r){const i={event_id:(0,u.eJ)(),...n},o=(0,Y.NF)(e)?e:String(e),a=(0,Y.sO)(e),s=a?this.eventFromMessage(o,t,i):this.eventFromException(e,i);return this._process(()=>s.then(e=>this._captureEvent(e,i,r)),a?"unknown":"error"),i.event_id}captureEvent(e,t,n){const r=(0,u.eJ)();if(t?.originalException&&(0,u.GR)(t.originalException))return i.T&&a.Yz.log(te),r;const o={event_id:r,...t},s=e.sdkProcessingMetadata||{},c=s.capturedSpanScope,l=s.capturedSpanIsolationScope,f=fe(e.type);return this._process(()=>this._captureEvent(e,o,c||n,l),f),o.event_id}captureSession(e){this.sendSession(e),(0,F.qO)(e,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}async flush(e){const t=this._transport;if(!t)return!0;this.emit("flush");const n=await this._isClientDoneProcessing(e),r=await t.flush(e);return n&&r}async close(e){(0,P.lt)(this);const t=await this.flush(e);return this.getOptions().enabled=!1,this.emit("close"),t}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}init(){(this._isEnabled()||this._options.integrations.some(({name:e})=>e.startsWith("Spotlight")))&&this._setupIntegrations()}getIntegrationByName(e){return this._integrations[e]}addIntegration(e){const t=this._integrations[e.name];(0,o.qm)(this,e,this._integrations),t||(0,o.lc)(this,[e])}sendEvent(e,t={}){this.emit("beforeSendEvent",e,t);let n=(0,R.V7)(e,this._dsn,this._options._metadata,this._options.tunnel);for(const r of t.attachments||[])n=(0,M.W3)(n,(0,M.bm)(r));this.sendEnvelope(n).then(t=>this.emit("afterSendEvent",e,t))}sendSession(e){const{release:t,environment:n=I.U}=this._options;if("aggregates"in e){const r=e.attrs||{};if(!r.release&&!t)return void(i.T&&a.Yz.warn(ne));r.release=r.release||t,r.environment=r.environment||n,e.attrs=r}else{if(!e.release&&!t)return void(i.T&&a.Yz.warn(ne));e.release=e.release||t,e.environment=e.environment||n}this.emit("beforeSendSession",e);const r=(0,R.LE)(e,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(r)}recordDroppedEvent(e,t,n=1){if(this._options.sendClientReports){const r=`${e}:${t}`;i.T&&a.Yz.log(`Recording outcome: "${r}"${n>1?` (${n} times)`:""}`),this._outcomes[r]=(this._outcomes[r]||0)+n}}on(e,t){const n=this._hooks[e]=this._hooks[e]||new Set,r=(...e)=>t(...e);return n.add(r),()=>{n.delete(r)}}emit(e,...t){const n=this._hooks[e];n&&n.forEach(e=>e(...t))}async sendEnvelope(e){if(this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport)try{return await this._transport.send(e)}catch(t){return i.T&&a.Yz.error("Error while sending envelope:",t),{}}return i.T&&a.Yz.error("Transport disabled"),{}}dispose(){}_setupIntegrations(){const{integrations:e}=this._options;this._integrations=(0,o.P$)(this,e),(0,o.lc)(this,e)}_updateSessionFromEvent(e,t){let n="fatal"===t.level,r=!1;const i=t.exception?.values;if(i){r=!0,n=!1;for(const e of i)if(!1===e.mechanism?.handled){n=!0;break}}const o="ok"===e.status;(o&&0===e.errors||o&&n)&&((0,F.qO)(e,{...n&&{status:"crashed"},errors:e.errors||Number(r||n)}),this.captureSession(e))}async _isClientDoneProcessing(e){let t=0;for(;!e||t<e;){if(await new Promise(e=>setTimeout(e,1)),!this._numProcessing)return!0;t++}return!1}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(e,t,n,r){const i=this.getOptions(),o=Object.keys(this._integrations);return!t.integrations&&o?.length&&(t.integrations=o),this.emit("preprocessEvent",e,t),e.type||r.setLastEventId(e.event_id||t.event_id),(0,G.mG)(i,e,t,n,this,r).then(e=>{if(null===e)return e;this.emit("postprocessEvent",e,t),e.contexts={trace:{...e.contexts?.trace,...(0,m.vn)(n)},...e.contexts};const r=(0,B.ao)(this,n);return e.sdkProcessingMetadata={dynamicSamplingContext:r,...e.sdkProcessingMetadata},e})}_captureEvent(e,t={},n=(0,m.o5)(),r=(0,m.rm)()){return i.T&&de(e)&&a.Yz.log(`Captured error event \`${s(e)[0]||"<unknown>"}\``),this._processEvent(e,t,n,r).then(e=>e.event_id,e=>{i.T&&(ue(e)?a.Yz.log(e.message):se(e)?a.Yz.warn(e.message):a.Yz.warn(e))})}_processEvent(e,t,n,r){const i=this.getOptions(),{sampleRate:o}=i,a=he(e),s=de(e),u=`before send for type \`${e.type||"error"}\``,c="undefined"===typeof o?void 0:(0,J.i)(o);if(s&&"number"===typeof c&&(0,Z.hY)()>c)return this.recordDroppedEvent("sample_rate","error"),(0,U.xg)(ae(`Discarding event because it's not included in the random sample (sampling rate = ${o})`));const l=fe(e.type);return this._prepareEvent(e,t,n,r).then(e=>{if(null===e)throw this.recordDroppedEvent("event_processor",l),ae("An event processor returned `null`, will not send event.");if(!0===t.data?.__sentry__)return e;const n=function(e,t,n,r){const{beforeSend:i,beforeSendTransaction:o,beforeSendSpan:a,ignoreSpans:s}=t;let u=n;if(de(u)&&i)return i(u,r);if(he(u)){if(a||s){const t=function(e){const{trace_id:t,parent_span_id:n,span_id:r,status:i,origin:o,data:a,op:s}=e.contexts?.trace??{};return{data:a??{},description:e.transaction,op:s,parent_span_id:n,span_id:r??"",start_timestamp:e.start_timestamp??0,status:i,timestamp:e.timestamp,trace_id:t??"",origin:o,profile_id:a?.[w.E1],exclusive_time:a?.[w.jG],measurements:e.measurements,is_segment:!0}}(u);if(s?.length&&(0,X.e)(t,s))return null;if(a){const e=a(t);e?u=(0,V.h)(n,{type:"transaction",timestamp:(c=e).timestamp,start_timestamp:c.start_timestamp,transaction:c.description,contexts:{trace:{trace_id:c.trace_id,span_id:c.span_id,parent_span_id:c.parent_span_id,op:c.op,status:c.status,origin:c.origin,data:{...c.data,...c.profile_id&&{[w.E1]:c.profile_id},...c.exclusive_time&&{[w.jG]:c.exclusive_time}}}},measurements:c.measurements}):(0,ee.xl)()}if(u.spans){const t=[],n=u.spans;for(const e of n)if(s?.length&&(0,X.e)(e,s))(0,X.R)(n,e);else if(a){const n=a(e);n?t.push(n):((0,ee.xl)(),t.push(e))}else t.push(e);const r=u.spans.length-t.length;r&&e.recordDroppedEvent("before_send","span",r),u.spans=t}}if(o){if(u.spans){const e=u.spans.length;u.sdkProcessingMetadata={...n.sdkProcessingMetadata,spanCountBeforeProcessing:e}}return o(u,r)}}var c;return u}(this,i,e,t);return function(e,t){const n=`${t} must return \`null\` or a valid event.`;if((0,Y.Qg)(e))return e.then(e=>{if(!(0,Y.Qd)(e)&&null!==e)throw oe(n);return e},e=>{throw oe(`${t} rejected with ${e}`)});if(!(0,Y.Qd)(e)&&null!==e)throw oe(n);return e}(n,u)}).then(i=>{if(null===i){if(this.recordDroppedEvent("before_send",l),a){const t=1+(e.spans||[]).length;this.recordDroppedEvent("before_send","span",t)}throw ae(`${u} returned \`null\`, will not send event.`)}const o=n.getSession()||r.getSession();if(s&&o&&this._updateSessionFromEvent(o,i),a){const e=(i.sdkProcessingMetadata?.spanCountBeforeProcessing||0)-(i.spans?i.spans.length:0);e>0&&this.recordDroppedEvent("before_send","span",e)}const c=i.transaction_info;if(a&&c&&i.transaction!==e.transaction){const e="custom";i.transaction_info={...c,source:e}}return this.sendEvent(i,t),i}).then(null,e=>{if(ue(e)||se(e))throw e;throw this.captureException(e,{mechanism:{handled:!1,type:"internal"},data:{__sentry__:!0},originalException:e}),oe(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ${e}`)})}_process(e,t){this._numProcessing++,this._promiseBuffer.add(e).then(e=>(this._numProcessing--,e),e=>(this._numProcessing--,e===$&&this.recordDroppedEvent("queue_overflow",t),e))}_clearOutcomes(){const e=this._outcomes;return this._outcomes={},Object.entries(e).map(([e,t])=>{const[n,r]=e.split(":");return{reason:n,category:r,quantity:t}})}_flushOutcomes(){i.T&&a.Yz.log("Flushing outcomes...");const e=this._clearOutcomes();if(0===e.length)return void(i.T&&a.Yz.log("No outcomes to send"));if(!this._dsn)return void(i.T&&a.Yz.log("No dsn provided, will not send outcomes"));i.T&&a.Yz.log("Sending outcomes:",e);const t=function(e,t,n){const r=[{type:"client_report"},{timestamp:n||(0,Q.lu)(),discarded_events:e}];return(0,M.h4)(t?{dsn:t}:{},[r])}(e,this._options.tunnel&&(0,z.SB)(this._dsn));this.sendEnvelope(t)}}function fe(e){return"replay_event"===e?"replay":e||"error"}function de(e){return void 0===e.type}function he(e){return"transaction"===e.type}function pe(e){let t=0;return e.name&&(t+=2*e.name.length),t+=8,t+ge(e.attributes)}function me(e){let t=0;return e.message&&(t+=2*e.message.length),t+ge(e.attributes)}function ge(e){if(!e)return 0;let t=0;return Object.values(e).forEach(e=>{Array.isArray(e)?t+=e.length*ye(e[0]):(0,Y.sO)(e)?t+=ye(e):t+=100}),t}function ye(e){return"string"===typeof e?2*e.length:"number"===typeof e?8:"boolean"===typeof e?4:0}var ve=n(23768),be=n(99039);function we(e,t,n=[t],r="npm"){const i=(e._metadata=e._metadata||{}).sdk=e._metadata.sdk||{};i.name||(i.name=`sentry.javascript.${t}`,i.packages=n.map(e=>({name:`${r}:@sentry/${e}`,version:be.M})),i.version=be.M)}function _e(e){"aggregates"in e?void 0===e.attrs?.ip_address&&(e.attrs={...e.attrs,ip_address:"{{auto}}"}):void 0===e.ipAddress&&(e.ipAddress="{{auto}}")}var Se=n(41324);function ke(e){return function(e){return(0,Y.bJ)(e)&&"__sentry_fetch_url_host__"in e&&"string"===typeof e.__sentry_fetch_url_host__}(e)?`${e.message} (${e.__sentry_fetch_url_host__})`:e.message}function Ce(e,t){const n=Te(e,t),r={type:Ie(t),value:Re(t)};return n.length&&(r.stacktrace={frames:n}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function Ee(e,t,n,r){const i=(0,m.KU)(),o=i?.getOptions().normalizeDepth,a=function(e){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)){const n=e[t];if(n instanceof Error)return n}return}(t),s={__serialized__:(0,Se.cd)(t,o)};if(a)return{exception:{values:[Ce(e,a)]},extra:s};const u={exception:{values:[{type:(0,Y.xH)(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:ze(t,{isUnhandledRejection:r})}]},extra:s};if(n){const t=Te(e,n);t.length&&(u.exception.values[0].stacktrace={frames:t})}return u}function xe(e,t){return{exception:{values:[Ce(e,t)]}}}function Te(e,t){const n=t.stacktrace||t.stack||"",r=function(e){if(e&&Oe.test(e.message))return 1;return 0}(t),i=function(e){if("number"===typeof e.framesToPop)return e.framesToPop;return 0}(t);try{return e(n,r,i)}catch{}return[]}const Oe=/Minified React error #\d+;/i;function Ae(e){return"undefined"!==typeof WebAssembly&&"undefined"!==typeof WebAssembly.Exception&&e instanceof WebAssembly.Exception}function Ie(e){const t=e?.name;if(!t&&Ae(e)){return e.message&&Array.isArray(e.message)&&2==e.message.length?e.message[0]:"WebAssembly.Exception"}return t}function Re(e){const t=e?.message;return Ae(e)?Array.isArray(e.message)&&2==e.message.length?e.message[1]:"wasm exception":t?t.error&&"string"===typeof t.error.message?ke(t.error):ke(e):"No error message"}function Pe(e,t,n,r,i){let o;if((0,Y.T2)(t)&&t.error){return xe(e,t.error)}if((0,Y.BD)(t)||(0,Y.W6)(t)){const i=t;if("stack"in t)o=xe(e,t);else{const t=i.name||((0,Y.BD)(i)?"DOMError":"DOMException"),a=i.message?`${t}: ${i.message}`:t;o=De(e,a,n,r),(0,u.gO)(o,a)}return"code"in i&&(o.tags={...o.tags,"DOMException.code":`${i.code}`}),o}if((0,Y.bJ)(t))return xe(e,t);if((0,Y.Qd)(t)||(0,Y.xH)(t)){return o=Ee(e,t,n,i),(0,u.M6)(o,{synthetic:!0}),o}return o=De(e,t,n,r),(0,u.gO)(o,`${t}`,void 0),(0,u.M6)(o,{synthetic:!0}),o}function De(e,t,n,r){const i={};if(r&&n){const r=Te(e,n);r.length&&(i.exception={values:[{value:t,stacktrace:{frames:r}}]}),(0,u.M6)(i,{synthetic:!0})}if((0,Y.NF)(t)){const{__sentry_template_string__:e,__sentry_template_values__:n}=t;return i.logentry={message:e,params:n},i}return i.message=t,i}function ze(e,{isUnhandledRejection:t}){const n=(0,g.HF)(e),r=t?"promise rejection":"exception";if((0,Y.T2)(e))return`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``;if((0,Y.xH)(e)){return`Event \`${function(e){try{const t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch{}}(e)}\` (type=${e.type}) captured as ${r}`}return`Object captured as ${r} with keys: ${n}`}var Me=n(30231);class Ne extends le{constructor(e){const t=(n=e,{release:"string"===typeof __SENTRY_RELEASE__?__SENTRY_RELEASE__:Me.jf.SENTRY_RELEASE?.id,sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0,...n});var n;we(t,"browser",["browser"],Me.jf.SENTRY_SDK_SOURCE||(0,ve.e)()),t._metadata?.sdk&&(t._metadata.sdk.settings={infer_ip:t.sendDefaultPii?"auto":"never",...t._metadata.sdk.settings}),super(t);const{sendDefaultPii:r,sendClientReports:i,enableLogs:o,_experiments:a,enableMetrics:s}=this._options,u=s??a?.enableMetrics??!0;Me.jf.document&&(i||o||u)&&Me.jf.document.addEventListener("visibilitychange",()=>{"hidden"===Me.jf.document.visibilityState&&(i&&this._flushOutcomes(),o&&(0,P.lt)(this),u&&N(this))}),r&&this.on("beforeSendSession",_e)}eventFromException(e,t){return function(e,t,n,r){const i=Pe(e,t,n?.syntheticException||void 0,r);return(0,u.M6)(i),i.level="error",n?.event_id&&(i.event_id=n.event_id),(0,U.XW)(i)}(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t="info",n){return function(e,t,n="info",r,i){const o=De(e,t,r?.syntheticException||void 0,i);return o.level=n,r?.event_id&&(o.event_id=r.event_id),(0,U.XW)(o)}(this._options.stackParser,e,t,n,this._options.attachStacktrace)}_prepareEvent(e,t,n,r){return e.platform=e.platform||"javascript",super._prepareEvent(e,t,n,r)}}var je=n(13538),Le=n(42807),Fe=n(68151),Be=n(50659),Ue=n(63312);function qe(e){return void 0===e?void 0:e>=400&&e<500?"warning":e>=500?"error":void 0}var $e=n(64278),We=n(15978),He=n(13024),Ke=n(24926),Qe=n(89196);const Ye=1024,Ve=(0,o._C)((e={})=>{const t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:"Breadcrumbs",setup(e){t.console&&(0,je.P)(function(e){return function(t){if((0,m.KU)()!==e)return;const n={category:"console",data:{arguments:t.args,logger:"console"},level:(0,Ue.t)(t.level),message:(0,c.gt)(t.args," ")};if("assert"===t.level){if(!1!==t.args[0])return;n.message=`Assertion failed: ${(0,c.gt)(t.args.slice(1)," ")||"console.assert"}`,n.data.arguments=t.args.slice(1)}(0,Fe.Z)(n,{input:t.args,level:t.level})}}(e)),t.dom&&(0,We.i)(function(e,t){return function(n){if((0,m.KU)()!==e)return;let r,i,o="object"===typeof t?t.serializeAttribute:void 0,s="object"===typeof t&&"number"===typeof t.maxStringLength?t.maxStringLength:void 0;s&&s>Ye&&(Qe.T&&a.Yz.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${s} was configured. Sentry will use 1024 instead.`),s=Ye),"string"===typeof o&&(o=[o]);try{const e=n.event,t=function(e){return!!e&&!!e.target}(e)?e.target:e;r=(0,Be.Hd)(t,{keyAttrs:o,maxStringLength:s}),i=(0,Be.xE)(t)}catch{r="<unknown>"}if(0===r.length)return;const u={category:`ui.${n.name}`,message:r};i&&(u.data={"ui.component_name":i}),(0,Fe.Z)(u,{event:n.event,name:n.name,global:n.global})}}(e,t.dom)),t.xhr&&(0,He.Mn)(function(e){return function(t){if((0,m.KU)()!==e)return;const{startTimestamp:n,endTimestamp:r}=t,i=t.xhr[He.Er];if(!n||!r||!i)return;const{method:o,url:a,status_code:s,body:u}=i,c={method:o,url:a,status_code:s},l={xhr:t.xhr,input:u,startTimestamp:n,endTimestamp:r},f={category:"xhr",data:c,type:"http",level:qe(s)};e.emit("beforeOutgoingRequestBreadcrumb",f,l),(0,Fe.Z)(f,l)}}(e)),t.fetch&&(0,Le.ur)(function(e){return function(t){if((0,m.KU)()!==e)return;const{startTimestamp:n,endTimestamp:r}=t;if(r&&(!t.fetchData.url.match(/sentry_key/)||"POST"!==t.fetchData.method))if(t.fetchData.method,t.fetchData.url,t.error){const i=t.fetchData,o={data:t.error,input:t.args,startTimestamp:n,endTimestamp:r},a={category:"fetch",data:i,level:"error",type:"http"};e.emit("beforeOutgoingRequestBreadcrumb",a,o),(0,Fe.Z)(a,o)}else{const i=t.response,o={...t.fetchData,status_code:i?.status};t.fetchData.request_body_size,t.fetchData.response_body_size;const a={input:t.args,response:i,startTimestamp:n,endTimestamp:r},s={category:"fetch",data:o,type:"http",level:qe(o.status_code)};e.emit("beforeOutgoingRequestBreadcrumb",s,a),(0,Fe.Z)(s,a)}}}(e)),t.history&&(0,Ke._)(function(e){return function(t){if((0,m.KU)()!==e)return;let n=t.from,r=t.to;const i=(0,$e.Dl)(Me.jf.location.href);let o=n?(0,$e.Dl)(n):void 0;const a=(0,$e.Dl)(r);o?.path||(o=i),i.protocol===a.protocol&&i.host===a.host&&(r=a.relative),i.protocol===o.protocol&&i.host===o.host&&(n=o.relative),(0,Fe.Z)({category:"navigation",data:{from:n,to:r}})}}(e)),t.sentry&&e.on("beforeSendEvent",function(e){return function(t){(0,m.KU)()===e&&(0,Fe.Z)({category:"sentry."+("transaction"===t.type?"transaction":"event"),event_id:t.event_id,level:t.level,message:(0,u.$X)(t)},{event:t})}}(e))}}});const Je=["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"],Ge=(0,o._C)((e={})=>{const t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...e};return{name:"BrowserApiErrors",setupOnce(){t.setTimeout&&(0,g.GS)(Me.jf,"setTimeout",Ze),t.setInterval&&(0,g.GS)(Me.jf,"setInterval",Ze),t.requestAnimationFrame&&(0,g.GS)(Me.jf,"requestAnimationFrame",Xe),t.XMLHttpRequest&&"XMLHttpRequest"in Me.jf&&(0,g.GS)(XMLHttpRequest.prototype,"send",et);const e=t.eventTarget;if(e){(Array.isArray(e)?e:Je).forEach(e=>function(e,t){const n=Me.jf,r=n[e]?.prototype;if(!r?.hasOwnProperty?.("addEventListener"))return;(0,g.GS)(r,"addEventListener",function(n){return function(r,i,o){try{"function"===typeof i.handleEvent&&(i.handleEvent=(0,Me.LV)(i.handleEvent,{mechanism:{data:{handler:(0,S.qQ)(i),target:e},handled:!1,type:"auto.browser.browserapierrors.handleEvent"}}))}catch{}return t.unregisterOriginalCallbacks&&function(e,t,n){e&&"object"===typeof e&&"removeEventListener"in e&&"function"===typeof e.removeEventListener&&e.removeEventListener(t,n)}(this,r,i),n.apply(this,[r,(0,Me.LV)(i,{mechanism:{data:{handler:(0,S.qQ)(i),target:e},handled:!1,type:"auto.browser.browserapierrors.addEventListener"}}),o])}}),(0,g.GS)(r,"removeEventListener",function(e){return function(t,n,r){try{const i=n.__sentry_wrapped__;i&&e.call(this,t,i,r)}catch{}return e.call(this,t,n,r)}})}(e,t))}}}});function Ze(e){return function(...t){const n=t[0];return t[0]=(0,Me.LV)(n,{mechanism:{handled:!1,type:`auto.browser.browserapierrors.${(0,S.qQ)(e)}`}}),e.apply(this,t)}}function Xe(e){return function(t){return e.apply(this,[(0,Me.LV)(t,{mechanism:{data:{handler:(0,S.qQ)(e)},handled:!1,type:"auto.browser.browserapierrors.requestAnimationFrame"}})])}}function et(e){return function(...t){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(e=>{e in n&&"function"===typeof n[e]&&(0,g.GS)(n,e,function(t){const n={mechanism:{data:{handler:(0,S.qQ)(t)},handled:!1,type:`auto.browser.browserapierrors.xhr.${e}`}},r=(0,g.sp)(t);return r&&(n.mechanism.data.handler=(0,S.qQ)(r)),(0,Me.LV)(t,n)})}),e.apply(this,t)}}const tt=(0,o._C)((e={})=>{const t=e.lifecycle??"route";return{name:"BrowserSession",setupOnce(){if("undefined"===typeof Me.jf.document)return void(Qe.T&&a.Yz.warn("Using the `browserSessionIntegration` in non-browser environments is not supported."));(0,r.J0)({ignoreDuration:!0}),(0,r.J5)();const e=(0,m.rm)();let n=e.getUser();e.addScopeListener(e=>{const t=e.getUser();n?.id===t?.id&&n?.ip_address===t?.ip_address||((0,r.J5)(),n=t)}),"route"===t&&(0,Ke._)(({from:e,to:t})=>{e!==t&&((0,r.J0)({ignoreDuration:!0}),(0,r.J5)())})}}}),nt=(0,o._C)(()=>({name:"CultureContext",preprocessEvent(e){const t=function(){try{const e=Me.jf.Intl;if(!e)return;const t=e.DateTimeFormat().resolvedOptions();return{locale:t.locale,timezone:t.timeZone,calendar:t.calendar}}catch{return}}();t&&(e.contexts={...e.contexts,culture:{...t,...e.contexts?.culture}})}}));var rt=n(55916),it=n(25206);const ot=(0,o._C)((e={})=>{const t={onerror:!0,onunhandledrejection:!0,...e};return{name:"GlobalHandlers",setupOnce(){Error.stackTraceLimit=50},setup(e){t.onerror&&(!function(e){(0,rt.L)(t=>{const{stackParser:n,attachStacktrace:i}=st();if((0,m.KU)()!==e||(0,Me.jN)())return;const{msg:o,url:a,line:s,column:u,error:c}=t,l=function(e,t,n,r){const i=e.exception=e.exception||{},o=i.values=i.values||[],a=o[0]=o[0]||{},s=a.stacktrace=a.stacktrace||{},u=s.frames=s.frames||[],c=r,l=n,f=function(e){if(!(0,Y.Kg)(e)||0===e.length)return;if(e.startsWith("data:"))return`<${(0,$e.zm)(e,!1)}>`;return e}(t)??(0,Be.$N)();0===u.length&&u.push({colno:c,filename:f,function:S.yF,in_app:!0,lineno:l});return e}(Pe(n,c||o,void 0,i,!1),a,s,u);l.level="error",(0,r.r)(l,{originalException:c,mechanism:{handled:!1,type:"auto.browser.global_handlers.onerror"}})})}(e),at("onerror")),t.onunhandledrejection&&(!function(e){(0,it.r)(t=>{const{stackParser:n,attachStacktrace:i}=st();if((0,m.KU)()!==e||(0,Me.jN)())return;const o=function(e){if((0,Y.sO)(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch{}return e}(t),a=(0,Y.sO)(o)?{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(o)}`}]}}:Pe(n,o,void 0,i,!0);a.level="error",(0,r.r)(a,{originalException:o,mechanism:{handled:!1,type:"auto.browser.global_handlers.onunhandledrejection"}})})}(e),at("onunhandledrejection"))}}});function at(e){Qe.T&&a.Yz.log(`Global Handler attached: ${e}`)}function st(){const e=(0,m.KU)();return e?.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}const ut=(0,o._C)(()=>({name:"HttpContext",preprocessEvent(e){if(!Me.jf.navigator&&!Me.jf.location&&!Me.jf.document)return;const t=(0,Me.AP)(),n={...t.headers,...e.request?.headers};e.request={...t,...e.request,headers:n}}}));function ct(e,t,n,r,i,o){if(!i.exception?.values||!o||!(0,Y.tH)(o.originalException,Error))return;const a=i.exception.values.length>0?i.exception.values[i.exception.values.length-1]:void 0;a&&(i.exception.values=lt(e,t,r,o.originalException,n,i.exception.values,a,0))}function lt(e,t,n,r,i,o,a,s){if(o.length>=n+1)return o;let u=[...o];if((0,Y.tH)(r[i],Error)){dt(a,s,r);const o=e(t,r[i]),c=u.length;ht(o,i,c,s),u=lt(e,t,n,r[i],i,[o,...u],o,c)}return ft(r)&&r.errors.forEach((o,c)=>{if((0,Y.tH)(o,Error)){dt(a,s,r);const l=e(t,o),f=u.length;ht(l,`errors[${c}]`,f,s),u=lt(e,t,n,o,i,[l,...u],l,f)}}),u}function ft(e){return Array.isArray(e.errors)}function dt(e,t,n){e.mechanism={handled:!0,type:"auto.core.linked_errors",...ft(n)&&{is_exception_group:!0},...e.mechanism,exception_id:t}}function ht(e,t,n,r){e.mechanism={handled:!0,...e.mechanism,type:"chained",source:t,exception_id:n,parent_id:r}}const pt=(0,o._C)((e={})=>{const t=e.limit||5,n=e.key||"cause";return{name:"LinkedErrors",preprocessEvent(e,r,i){ct(Ce,i.getOptions().stackParser,n,t,e,r)}}});function mt(e,t,n,r){const i={filename:e,function:"<anonymous>"===t?S.yF:t,in_app:!0};return void 0!==n&&(i.lineno=n),void 0!==r&&(i.colno=r),i}const gt=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,yt=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,vt=/\((\S*)(?::(\d+))(?::(\d+))\)/,bt=/at (.+?) ?\(data:(.+?),/,wt=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,_t=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,St=[[30,e=>{const t=e.match(bt);if(t)return{filename:`<data:${t[2]}>`,function:t[1]};const n=gt.exec(e);if(n){const[,e,t,r]=n;return mt(e,S.yF,+t,+r)}const r=yt.exec(e);if(r){if(0===r[2]?.indexOf("eval")){const e=vt.exec(r[2]);e&&(r[2]=e[1],r[3]=e[2],r[4]=e[3])}const[e,t]=Ct(r[1]||S.yF,r[2]);return mt(t,e,r[3]?+r[3]:void 0,r[4]?+r[4]:void 0)}}],[50,e=>{const t=wt.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){const e=_t.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]||S.yF;return[n,e]=Ct(n,e),mt(e,n,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}]],kt=(0,S.gd)(...St),Ct=(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]:S.yF,n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]};var Et=n(37559);const xt=40;function Tt(e,t=(0,Et.qd)("fetch")){let n=0,r=0;return function(e,t,n=W(e.bufferSize||K)){let r={};return{send:function(o){const s=[];if((0,M.yH)(o,(t,n)=>{const i=(0,M.zk)(n);(0,H.Jz)(r,i)?e.recordDroppedEvent("ratelimit_backoff",i):s.push(t)}),0===s.length)return Promise.resolve({});const u=(0,M.h4)(o[0],s),c=t=>{(0,M.hP)(u,["client_report"])?i.T&&a.Yz.warn(`Dropping client report. Will not send outcomes (reason: ${t}).`):(0,M.yH)(u,(n,r)=>{e.recordDroppedEvent(t,(0,M.zk)(r))})};return n.add(()=>t({body:(0,M.bN)(u)}).then(e=>413===e.statusCode?(i.T&&a.Yz.error("Sentry responded with status code 413. Envelope was discarded due to exceeding size limits."),c("send_error"),e):(i.T&&void 0!==e.statusCode&&(e.statusCode<200||e.statusCode>=300)&&a.Yz.warn(`Sentry responded with status code ${e.statusCode} to sent event.`),r=(0,H.wq)(r,e),e),e=>{throw c("network_error"),i.T&&a.Yz.error("Encountered error running transport request:",e),e})).then(e=>e,e=>{if(e===$)return i.T&&a.Yz.error("Skipped sending event because buffer is full."),c("queue_overflow"),Promise.resolve({});throw e})},flush:e=>n.drain(e)}}(e,async function(i){const o=i.body.length;n+=o,r++;const a={body:i.body,method:"POST",referrerPolicy:"strict-origin",headers:e.headers,keepalive:n<=6e4&&r<15,...e.fetchOptions};try{const n=await t(e.url,a);return{statusCode:n.status,headers:{"x-sentry-rate-limits":n.headers.get("X-Sentry-Rate-Limits"),"retry-after":n.headers.get("Retry-After")}}}catch(s){throw(0,Et.y7)("fetch"),s}finally{n-=o,r--}},W(e.bufferSize||xt))}function Ot(){return!!function(){if("undefined"===typeof Me.jf.window)return!1;const e=Me.jf;if(e.nw)return!1;const t=e.chrome||e.browser;if(!t?.runtime?.id)return!1;const n=(0,Be.$N)(),r=["chrome-extension","moz-extension","ms-browser-extension","safari-web-extension"];return!(Me.jf===Me.jf.top&&r.some(e=>n.startsWith(`${e}://`)))}()&&(Qe.T&&(0,a.pq)(()=>{}),!0)}function At(e={}){const t=!e.skipBrowserExtensionCheck&&Ot();let n=null==e.defaultIntegrations?[d(),b(),_(),Ge(),Ve(),ot(),pt(),k(),ut(),nt(),tt()]:e.defaultIntegrations;const r={...e,enabled:!t&&e.enabled,stackParser:(0,S.vk)(e.stackParser||kt),integrations:(0,o.mH)({integrations:e.integrations,defaultIntegrations:n}),transport:e.transport||Tt};return T(Ne,r)}var It=n(1936);function Rt(e){const t={...e};return we(t,"react"),(0,r.o)("react",{version:It.version}),At(t)}},86640:(e,t,n)=>{"use strict";n.d(t,{T:()=>r});const r="undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},37559:(e,t,n)=>{"use strict";n.d(t,{qd:()=>u,wg:()=>l,y7:()=>c});var r=n(44495),i=n(34129),o=n(86640),a=n(74431);const s={};function u(e){const t=s[e];if(t)return t;let n=a.j[e];if((0,r.a3)(n))return s[e]=n.bind(a.j);const u=a.j.document;if(u&&"function"===typeof u.createElement)try{const t=u.createElement("iframe");t.hidden=!0,u.head.appendChild(t);const r=t.contentWindow;r?.[e]&&(n=r[e]),u.head.removeChild(t)}catch(c){o.T&&i.Yz.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,c)}return n?s[e]=n.bind(a.j):n}function c(e){s[e]=void 0}function l(...e){return u("setTimeout")(...e)}},15978:(e,t,n)=>{"use strict";n.d(t,{i:()=>f});var r=n(54398),i=n(13216),o=n(22931),a=n(74431);const s=1e3;let u,c,l;function f(e){(0,r.s5)("dom",e),(0,r.AS)("dom",d)}function d(){if(!a.j.document)return;const e=r.aj.bind(null,"dom"),t=h(e,!0);a.j.document.addEventListener("click",t,!1),a.j.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(t=>{const n=a.j,r=n[t]?.prototype;r?.hasOwnProperty?.("addEventListener")&&((0,i.GS)(r,"addEventListener",function(t){return function(n,r,i){if("click"===n||"keypress"==n)try{const r=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},o=r[n]=r[n]||{refCount:0};if(!o.handler){const r=h(e);o.handler=r,t.call(this,n,r,i)}o.refCount++}catch{}return t.call(this,n,r,i)}}),(0,i.GS)(r,"removeEventListener",function(e){return function(t,n,r){if("click"===t||"keypress"==t)try{const n=this.__sentry_instrumentation_handlers__||{},i=n[t];i&&(i.refCount--,i.refCount<=0&&(e.call(this,t,i.handler,r),i.handler=void 0,delete n[t]),0===Object.keys(n).length&&delete this.__sentry_instrumentation_handlers__)}catch{}return e.call(this,t,n,r)}}))})}function h(e,t=!1){return n=>{if(!n||n._sentryCaptured)return;const r=function(e){try{return e.target}catch{return null}}(n);if(function(e,t){return"keypress"===e&&(!t?.tagName||"INPUT"!==t.tagName&&"TEXTAREA"!==t.tagName&&!t.isContentEditable)}(n.type,r))return;(0,i.my)(n,"_sentryCaptured",!0),r&&!r._sentryId&&(0,i.my)(r,"_sentryId",(0,o.eJ)());const f="keypress"===n.type?"input":n.type;if(!function(e){if(e.type!==c)return!1;try{if(!e.target||e.target._sentryId!==l)return!1}catch{}return!0}(n)){e({event:n,name:f,global:t}),c=n.type,l=r?r._sentryId:void 0}clearTimeout(u),u=a.j.setTimeout(()=>{l=void 0,c=void 0},s)}}},24926:(e,t,n)=>{"use strict";n.d(t,{_:()=>u});var r=n(54398),i=n(44495),o=n(13216),a=n(74431);let s;function u(e){const t="history";(0,r.s5)(t,e),(0,r.AS)(t,c)}function c(){function e(e){return function(...t){const n=t.length>2?t[2]:void 0;if(n){const i=s,o=function(e){try{return new URL(e,a.j.location.origin).toString()}catch{return e}}(String(n));if(s=o,i===o)return e.apply(this,t);const u={from:i,to:o};(0,r.aj)("history",u)}return e.apply(this,t)}}a.j.addEventListener("popstate",()=>{const e=a.j.location.href,t=s;if(s=e,t===e)return;const n={from:t,to:e};(0,r.aj)("history",n)}),(0,i.NJ)()&&((0,o.GS)(a.j.history,"pushState",e),(0,o.GS)(a.j.history,"replaceState",e))}},13024:(e,t,n)=>{"use strict";n.d(t,{Er:()=>s,Mn:()=>u});var r=n(54398),i=n(82558),o=n(66115),a=n(74431);const s="__sentry_xhr_v3__";function u(e){(0,r.s5)("xhr",e),(0,r.AS)("xhr",c)}function c(){if(!a.j.XMLHttpRequest)return;const e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(e,t,n){const a=new Error,u=1e3*(0,i.zf)(),c=(0,o.Kg)(n[0])?n[0].toUpperCase():void 0,l=function(e){if((0,o.Kg)(e))return e;try{return e.toString()}catch{}return}(n[1]);if(!c||!l)return e.apply(t,n);t[s]={method:c,url:l,request_headers:{}},"POST"===c&&l.match(/sentry_key/)&&(t.__sentry_own_request__=!0);const f=()=>{const e=t[s];if(e&&4===t.readyState){try{e.status_code=t.status}catch{}const n={endTimestamp:1e3*(0,i.zf)(),startTimestamp:u,xhr:t,virtualError:a};(0,r.aj)("xhr",n)}};return"onreadystatechange"in t&&"function"===typeof t.onreadystatechange?t.onreadystatechange=new Proxy(t.onreadystatechange,{apply:(e,t,n)=>(f(),e.apply(t,n))}):t.addEventListener("readystatechange",f),t.setRequestHeader=new Proxy(t.setRequestHeader,{apply(e,t,n){const[r,i]=n,a=t[s];return a&&(0,o.Kg)(r)&&(0,o.Kg)(i)&&(a.request_headers[r.toLowerCase()]=i),e.apply(t,n)}}),e.apply(t,n)}}),e.send=new Proxy(e.send,{apply(e,t,n){const o=t[s];if(!o)return e.apply(t,n);void 0!==n[0]&&(o.body=n[0]);const a={startTimestamp:1e3*(0,i.zf)(),xhr:t};return(0,r.aj)("xhr",a),e.apply(t,n)}})}},74586:(e,t,n)=>{"use strict";n.d(t,{a9:()=>K,hT:()=>V,Pt:()=>Q,wv:()=>J,YG:()=>Y,tC:()=>oe});var r=n(34129),i=n(33462),o=n(86640),a=n(74431);const s=(e,t,n,r)=>{let i,o;return a=>{t.value>=0&&(a||r)&&(o=t.value-(i??0),(o||void 0===i)&&(i=t.value,t.delta=o,t.rating=((e,t)=>e>t[1]?"poor":e>t[0]?"needs-improvement":"good")(t.value,n),e(t)))}};var u=n(98315);var c=n(23979),l=n(31189);const f=(e,t=-1)=>{const n=(0,l.z)();let r="navigate";n&&(a.j.document?.prerendering||(0,c.b)()>0?r="prerender":a.j.document?.wasDiscarded?r="restore":n.type&&(r=n.type.replace(/_/g,"-")));return{name:e,value:t,rating:"good",delta:0,entries:[],id:`v5-${Date.now()}-${Math.floor(8999999999999*Math.random())+1e12}`,navigationType:r}},d=new WeakMap;function h(e,t){try{return d.get(e)||d.set(e,new t),d.get(e)}catch(n){return new t}}class p{constructor(){p.prototype.__init.call(this),p.prototype.__init2.call(this)}__init(){this._sessionValue=0}__init2(){this._sessionEntries=[]}_processEntry(e){if(e.hadRecentInput)return;const t=this._sessionEntries[0],n=this._sessionEntries[this._sessionEntries.length-1];this._sessionValue&&t&&n&&e.startTime-n.startTime<1e3&&e.startTime-t.startTime<5e3?(this._sessionValue+=e.value,this._sessionEntries.push(e)):(this._sessionValue=e.value,this._sessionEntries=[e]),this._onAfterProcessingUnexpectedShift?.(e)}}const m=(e,t,n={})=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){const r=new PerformanceObserver(e=>{Promise.resolve().then(()=>{t(e.getEntries())})});return r.observe({type:e,buffered:!0,...n}),r}}catch{}},g=e=>{let t=!1;return()=>{t||(e(),t=!0)}},y=e=>{a.j.document?.prerendering?addEventListener("prerenderingchange",()=>e(),!0):e()},v=[1800,3e3],b=[.1,.25],w=(e,t={})=>{((e,t={})=>{y(()=>{const n=(0,u.N)(),r=f("FCP");let i;const o=m("paint",e=>{for(const t of e)"first-contentful-paint"===t.name&&(o.disconnect(),t.startTime<n.firstHiddenTime&&(r.value=Math.max(t.startTime-(0,c.b)(),0),r.entries.push(t),i(!0)))});o&&(i=s(e,r,v,t.reportAllChanges))})})(g(()=>{const n=f("CLS",0);let r;const i=(0,u.N)(),o=h(t,p),c=e=>{for(const t of e)o._processEntry(t);o._sessionValue>n.value&&(n.value=o._sessionValue,n.entries=o._sessionEntries,r())},l=m("layout-shift",c);l&&(r=s(e,n,b,t.reportAllChanges),i.onHidden(()=>{c(l.takeRecords()),r(!0)}),a.j?.setTimeout?.(r))}))};let _=0,S=1/0,k=0;const C=e=>{e.forEach(e=>{e.interactionId&&(S=Math.min(S,e.interactionId),k=Math.max(k,e.interactionId),_=k?(k-S)/7+1:0)})};let E;const x=()=>E?_:performance.interactionCount||0,T=()=>{"interactionCount"in performance||E||(E=m("event",C,{type:"event",buffered:!0,durationThreshold:0}))};let O=0;class A{constructor(){A.prototype.__init.call(this),A.prototype.__init2.call(this)}__init(){this._longestInteractionList=[]}__init2(){this._longestInteractionMap=new Map}_resetInteractions(){O=x(),this._longestInteractionList.length=0,this._longestInteractionMap.clear()}_estimateP98LongestInteraction(){const e=Math.min(this._longestInteractionList.length-1,Math.floor((x()-O)/50));return this._longestInteractionList[e]}_processEntry(e){if(this._onBeforeProcessingEntry?.(e),!e.interactionId&&"first-input"!==e.entryType)return;const t=this._longestInteractionList.at(-1);let n=this._longestInteractionMap.get(e.interactionId);if(n||this._longestInteractionList.length<10||e.duration>t._latency){if(n?e.duration>n._latency?(n.entries=[e],n._latency=e.duration):e.duration===n._latency&&e.startTime===n.entries[0].startTime&&n.entries.push(e):(n={id:e.interactionId,entries:[e],_latency:e.duration},this._longestInteractionMap.set(n.id,n),this._longestInteractionList.push(n)),this._longestInteractionList.sort((e,t)=>t._latency-e._latency),this._longestInteractionList.length>10){const e=this._longestInteractionList.splice(10);for(const t of e)this._longestInteractionMap.delete(t.id)}this._onAfterProcessingINPCandidate?.(n)}}}var I=n(79783);const R=e=>{const t=a.j.requestIdleCallback||a.j.setTimeout;"hidden"===a.j.document?.visibilityState?e():(e=g(e),(0,I.d)("visibilitychange",e,{once:!0,capture:!0}),(0,I.d)("pagehide",e,{once:!0,capture:!0}),t(()=>{e(),(0,I.Q)("visibilitychange",e,{capture:!0}),(0,I.Q)("pagehide",e,{capture:!0})}))},P=[200,500],D=(e,t={})=>{if(!globalThis.PerformanceEventTiming||!("interactionId"in PerformanceEventTiming.prototype))return;const n=(0,u.N)();y(()=>{T();const r=f("INP");let i;const o=h(t,A),a=e=>{R(()=>{for(const n of e)o._processEntry(n);const t=o._estimateP98LongestInteraction();t&&t._latency!==r.value&&(r.value=t._latency,r.entries=t.entries,i())})},u=m("event",a,{durationThreshold:t.durationThreshold??40});i=s(e,r,P,t.reportAllChanges),u&&(u.observe({type:"first-input",buffered:!0}),n.onHidden(()=>{a(u.takeRecords()),i(!0)}))})};class z{_processEntry(e){this._onBeforeProcessingEntry?.(e)}}const M=[2500,4e3],N=(e,t={})=>{y(()=>{const n=(0,u.N)(),r=f("LCP");let i;const o=h(t,z),a=e=>{t.reportAllChanges||(e=e.slice(-1));for(const t of e)o._processEntry(t),t.startTime<n.firstHiddenTime&&(r.value=Math.max(t.startTime-(0,c.b)(),0),r.entries=[t],i())},l=m("largest-contentful-paint",a);if(l){i=s(e,r,M,t.reportAllChanges);const n=g(()=>{a(l.takeRecords()),l.disconnect(),i(!0)}),o=e=>{e.isTrusted&&(R(n),(0,I.Q)(e.type,o,{capture:!0}))};for(const e of["keydown","click","visibilitychange"])(0,I.d)(e,o,{capture:!0})}})},j=[800,1800],L=e=>{a.j.document?.prerendering?y(()=>L(e)):"complete"!==a.j.document?.readyState?addEventListener("load",()=>L(e),!0):setTimeout(e)},F=(e,t={})=>{const n=f("TTFB"),r=s(e,n,j,t.reportAllChanges);L(()=>{const e=(0,l.z)();e&&(n.value=Math.max(e.responseStart-(0,c.b)(),0),n.entries=[e],r(!0))})},B={},U={};let q,$,W,H;function K(e,t=!1){return ne("cls",e,Z,q,t)}function Q(e,t=!1){return ne("lcp",e,X,$,t)}function Y(e){return ne("ttfb",e,ee,W)}function V(e){return ne("inp",e,te,H)}function J(e,t){return re(e,t),U[e]||(!function(e){const t={};"event"===e&&(t.durationThreshold=0);m(e,t=>{G(e,{entries:t})},t)}(e),U[e]=!0),ie(e,t)}function G(e,t){const n=B[e];if(n?.length)for(const s of n)try{s(t)}catch(a){o.T&&r.Yz.error(`Error while triggering instrumentation handler.\nType: ${e}\nName: ${(0,i.qQ)(s)}\nError:`,a)}}function Z(){return w(e=>{G("cls",{metric:e}),q=e},{reportAllChanges:!0})}function X(){return N(e=>{G("lcp",{metric:e}),$=e},{reportAllChanges:!0})}function ee(){return F(e=>{G("ttfb",{metric:e}),W=e})}function te(){return D(e=>{G("inp",{metric:e}),H=e})}function ne(e,t,n,r,i=!1){let o;return re(e,t),U[e]||(o=n(),U[e]=!0),r&&t({metric:r}),ie(e,t,i?o:void 0)}function re(e,t){B[e]=B[e]||[],B[e].push(t)}function ie(e,t,n){return()=>{n&&n();const r=B[e];if(!r)return;const i=r.indexOf(t);-1!==i&&r.splice(i,1)}}function oe(e){return"duration"in e}},23979:(e,t,n)=>{"use strict";n.d(t,{b:()=>i});var r=n(31189);const i=()=>{const e=(0,r.z)();return e?.activationStart??0}},31189:(e,t,n)=>{"use strict";n.d(t,{z:()=>i});var r=n(74431);const i=(e=!0)=>{const t=r.j.performance?.getEntriesByType?.("navigation")[0];if(!e||t&&t.responseStart>0&&t.responseStart<performance.now())return t}},98315:(e,t,n)=>{"use strict";n.d(t,{N:()=>c});var r=n(74431),i=n(23979),o=n(79783);let a=-1;const s=new Set,u=e=>{if(function(e){return"pagehide"===e.type||"hidden"===r.j.document?.visibilityState}(e)&&a>-1){if("visibilitychange"===e.type||"pagehide"===e.type)for(const e of s)e();isFinite(a)||(a="visibilitychange"===e.type?e.timeStamp:0,(0,o.Q)("prerenderingchange",u,!0))}},c=()=>{if(r.j.document&&a<0){const e=(0,i.b)(),t=r.j.document.prerendering?void 0:globalThis.performance.getEntriesByType("visibility-state").filter(t=>"hidden"===t.name&&t.startTime>e)[0]?.startTime;a=t??("hidden"!==r.j.document?.visibilityState||r.j.document?.prerendering?1/0:0),(0,o.d)("visibilitychange",u,!0),(0,o.d)("pagehide",u,!0),(0,o.d)("prerenderingchange",u,!0)}return{get firstHiddenTime(){return a},onHidden(e){s.add(e)}}}},79783:(e,t,n)=>{"use strict";n.d(t,{Q:()=>o,d:()=>i});var r=n(74431);function i(e,t,n){r.j.document&&r.j.addEventListener(e,t,n)}function o(e,t,n){r.j.document&&r.j.removeEventListener(e,t,n)}},44427:(e,t,n)=>{"use strict";n.d(t,{Gv:()=>u,P4:()=>a,sY:()=>s,ti:()=>c});var r=n(34129),i=n(86640);const o=Symbol.for("sentry__originalRequestBody");function a(e){return new URLSearchParams(e).toString()}function s(e,t=r.Yz){try{if("string"===typeof e)return[e];if(e instanceof URLSearchParams)return[e.toString()];if(e instanceof FormData)return[a(e)];if(!e)return[void 0]}catch(n){return i.T&&t.error(n,"Failed to serialize body",e),[void 0,"BODY_PARSE_ERROR"]}return i.T&&t.log("Skipping network body because of body type",e),[void 0,"UNPARSEABLE_BODY_TYPE"]}function u(e=[]){if(e.length>=2&&e[1]&&"object"===typeof e[1]&&"body"in e[1])return e[1].body;if(e.length>=1&&e[0]instanceof Request){const t=e[0][o];return void 0!==t?t:void 0}}function c(e){let t;try{t=e.getAllResponseHeaders()}catch(n){return i.T&&r.Yz.error(n,"Failed to get xhr response headers",e),{}}return t?t.split("\r\n").reduce((e,t)=>{const[n,r]=t.split(": ");return r&&(e[n.toLowerCase()]=r),e},{}):{}}},74431:(e,t,n)=>{"use strict";n.d(t,{j:()=>r});const r=n(6732).O},7892:(e,t,n)=>{"use strict";n.d(t,{w:()=>Lr});var r=n(6732),i=n(41324),o=n(13216),a=n(50659),s=n(82558),u=n(68151),c=n(34129),l=n(63312),f=n(42414),d=n(22931),h=n(39477),p=n(13034),m=n(58445),g=n(64278);function y(e,t){const n=t?.getDsn(),r=t?.getOptions().tunnel;return function(e,t){const n=(0,g.kg)(e);if(!n||(0,g.nt)(n))return!1;return!!t&&(n.host.includes(t.host)&&/(^|&|\?)sentry_key=/.test(n.search))}(e,n)||function(e,t){if(!t)return!1;return v(e)===v(t)}(e,r)}function v(e){return"/"===e[e.length-1]?e.slice(0,-1):e}var b=n(38126);var w=n(56111),_=n(32310),S=n(39174),k=n(86032),C=n(77517),E=n(86792),x=n(37559),T=n(74586),O=n(44427),A=n(13024),I=n(15978),R=n(24926);const P=r.O,D="sentryReplaySession",z="Unable to send Replay",M=15e4,N=5e3,j=2e7,L=36e5;var F=Object.defineProperty,B=(e,t,n)=>((e,t,n)=>t in e?F(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n)(e,"symbol"!==typeof t?t+"":t,n),U=(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",e))(U||{});function q(e){const t=e?.host;return Boolean(t?.shadowRoot===e)}function $(e){return"[object ShadowRoot]"===Object.prototype.toString.call(e)}function W(e){try{const n=e.rules||e.cssRules;return n?((t=Array.from(n,H).join("")).includes(" background-clip: text;")&&!t.includes(" -webkit-background-clip: text;")&&(t=t.replace(/\sbackground-clip:\s*text;/g," -webkit-background-clip: text; background-clip: text;")),t):null}catch(n){return null}var t}function H(e){let t;if(function(e){return"styleSheet"in e}(e))try{t=W(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)){let t=e.cssText;const n=e.selectorText.includes(":"),r="string"===typeof e.style.all&&e.style.all;if(r&&(t=function(e){let t="";for(let n=0;n<e.style.length;n++){const r=e.style,i=r[n],o=r.getPropertyPriority(i);t+=`${i}:${r.getPropertyValue(i)}${o?" !important":""};`}return`${e.selectorText} { ${t} }`}(e)),n&&(t=function(e){const t=/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm;return e.replace(t,"$1\\$2")}(t)),n||r)return t}return t||e.cssText}class K{constructor(){B(this,"idNodeMap",new Map),B(this,"nodeMetaMap",new WeakMap)}getId(e){if(!e)return-1;const t=this.getMeta(e)?.id;return t??-1}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 Q({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 Y({isMasked:e,element:t,value:n,maskInputFn:r}){let i=n||"";return e?(r&&(i=r(i,t)),"*".repeat(i.length)):i}function V(e){return e.toLowerCase()}function J(e){return e.toUpperCase()}const G="__rrweb_original__";function Z(e){const t=e.type;return e.hasAttribute("data-rr-is-password")?"password":t?V(t):null}function X(e,t,n){return"INPUT"!==t||"radio"!==n&&"checkbox"!==n?e.value:e.getAttribute("value")||""}function ee(e,t){let n;try{n=new URL(e,t??window.location.href)}catch(i){return null}const r=n.pathname.match(/\.([0-9a-z]+)(?:$)/i);return r?.[1]??null}const te={};function ne(e){const t=te[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 i=t.contentWindow;i&&i[e]&&(r=i[e]),n.head.removeChild(t)}catch(i){}return te[e]=r.bind(window)}function re(...e){return ne("setTimeout")(...e)}function ie(...e){return ne("clearTimeout")(...e)}function oe(e){try{return e.contentDocument}catch(t){}}let ae=1;const se=new RegExp("[^a-z0-9-_:]");function ue(){return ae++}let ce,le;const fe=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,de=/^(?:[a-z+]+:)?\/\//i,he=/^www\..*/i,pe=/^(data:)([^,]*),(.*)/i;function me(e,t){return(e||"").replace(fe,(e,n,r,i,o,a)=>{const s=r||o||a,u=n||i||"";if(!s)return e;if(de.test(s)||he.test(s))return`url(${u}${s}${u})`;if(pe.test(s))return`url(${u}${s}${u})`;if("/"===s[0])return`url(${u}${function(e){let t="";return t=e.indexOf("//")>-1?e.split("/").slice(0,3).join("/"):e.split("/")[0],t=t.split("?")[0],t}(t)+s}${u})`;const c=t.split("/"),l=s.split("/");c.pop();for(const t of l)"."!==t&&(".."===t?c.pop():c.push(t));return`url(${u}${c.join("/")}${u})`})}const ge=/^[^ \t\n\r\u000c]+/,ye=/^[, \t\n\r\u000c]+/;const ve=new WeakMap;function be(e,t){return t&&""!==t.trim()?_e(e,t):t}function we(e){return Boolean("svg"===e.tagName||e.ownerSVGElement)}function _e(e,t){let n=ve.get(e);if(n||(n=e.createElement("a"),ve.set(e,n)),t){if(t.startsWith("blob:")||t.startsWith("data:"))return t}else t="";return n.setAttribute("href",t),n.href}function Se(e,t,n,r,i,o,a){if(!r)return r;if("src"===n||"href"===n&&("use"!==t||"#"!==r[0]))return be(e,r);if("xlink:href"===n&&"#"!==r[0])return be(e,r);if("background"===n&&("table"===t||"td"===t||"th"===t))return be(e,r);if("srcset"===n)return function(e,t){if(""===t.trim())return t;let n=0;function r(e){let r;const i=e.exec(t.substring(n));return i?(r=i[0],n+=r.length,r):""}const i=[];for(;r(ye),!(n>=t.length);){let o=r(ge);if(","===o.slice(-1))o=be(e,o.substring(0,o.length-1)),i.push(o);else{let r="";o=be(e,o);let a=!1;for(;;){const e=t.charAt(n);if(""===e){i.push((o+r).trim());break}if(a)")"===e&&(a=!1);else{if(","===e){n+=1,i.push((o+r).trim());break}"("===e&&(a=!0)}r+=e,n+=1}}}return i.join(", ")}(e,r);if("style"===n){let t=me(r,_e(e));return a&&a.size>0&&(t=function(e,t){if(!e||0===t.size)return e;try{const n=e.split(";"),r=[];for(let e of n){if(e=e.trim(),!e)continue;const n=e.indexOf(":");if(-1===n){r.push(e);continue}const i=e.slice(0,n).trim();t.has(i)||r.push(e)}return r.join("; ")+(r.length>0&&e.endsWith(";")?";":"")}catch(n){return e}}(t,a)),t}return"object"===t&&"data"===n?be(e,r):"function"===typeof o?o(n,r,i):r}function ke(e,t,n){return("video"===e||"audio"===e)&&"autoplay"===t}function Ce(e,t,n=1/0,r=0){return e?e.nodeType!==e.ELEMENT_NODE||r>n?-1:t(e)?r:Ce(e.parentNode,t,n,r+1):-1}function Ee(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{return!1}}}function xe(e,t,n,r,i,o){try{const a=e.nodeType===e.ELEMENT_NODE?e:e.parentElement;if(null===a)return!1;if("INPUT"===a.tagName){const e=a.getAttribute("autocomplete");if(["current-password","new-password","cc-number","cc-exp","cc-exp-month","cc-exp-year","cc-csc"].includes(e))return!0}let s=-1,u=-1;if(o){if(u=Ce(a,Ee(r,i)),u<0)return!0;s=Ce(a,Ee(t,n),u>=0?u:1/0)}else{if(s=Ce(a,Ee(t,n)),s<0)return!1;u=Ce(a,Ee(r,i),s>=0?s:1/0)}return s>=0?!(u>=0)||s<=u:!(u>=0)&&!!o}catch(a){}return!!o}function Te(e,t){const{doc:n,mirror:r,blockClass:i,blockSelector:o,unblockSelector:a,maskAllText:s,maskAttributeFn:u,maskTextClass:c,unmaskTextClass:l,maskTextSelector:f,unmaskTextSelector:d,inlineStylesheet:h,maskInputOptions:p={},maskTextFn:m,maskInputFn:g,dataURLOptions:y={},inlineImages:v,recordCanvas:b,keepIframeSrcFn:w,newlyAddedElement:_=!1,ignoreCSSAttributes:S}=t,k=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:U.Document,childNodes:[],compatMode:e.compatMode}:{type:U.Document,childNodes:[]};case e.DOCUMENT_TYPE_NODE:return{type:U.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:k};case e.ELEMENT_NODE:return function(e,t){const{doc:n,blockClass:r,blockSelector:i,unblockSelector:o,inlineStylesheet:a,maskInputOptions:s={},maskAttributeFn:u,maskInputFn:c,dataURLOptions:l={},inlineImages:f,recordCanvas:d,keepIframeSrcFn:h,newlyAddedElement:p=!1,rootId:m,maskTextClass:g,unmaskTextClass:y,maskTextSelector:v,unmaskTextSelector:b,ignoreCSSAttributes:w}=t,_=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(i){}return!1}(e,r,i,o),S=function(e){if(e instanceof HTMLFormElement)return"form";const t=V(e.tagName);return se.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&&!ke(S,t.name,t.value)&&(k[t.name]=Se(n,S,V(t.name),t.value,e,u,w))}if("link"===S&&a){const t=Array.from(n.styleSheets).find(t=>t.href===e.href);let r=null;t&&(r=W(t)),r&&(k.rel=null,k.href=null,k.crossorigin=null,k._cssText=me(r,t.href))}if("style"===S&&e.sheet&&!(e.innerText||e.textContent||"").trim().length){const t=W(e.sheet);t&&(k._cssText=me(t,_e(n)))}if("input"===S||"textarea"===S||"select"===S||"option"===S){const t=e,n=Z(t),r=X(t,J(S),n),i=t.checked;if("submit"!==n&&"button"!==n&&r){const e=xe(t,g,v,y,b,Q({type:n,tagName:J(S),maskInputOptions:s}));k.value=Y({isMasked:e,element:t,value:r,maskInputFn:c})}i&&(k.checked=i)}"option"===S&&(e.selected&&!s.select?k.selected=!0:delete k.selected);if("canvas"===S&&d)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 i=t.getImageData,o=G in i?i[G]:i;if(new Uint32Array(o.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(l.type,l.quality));else if(!("__context"in e)){const t=e.toDataURL(l.type,l.quality),r=n.createElement("canvas");r.width=e.width,r.height=e.height;t!==r.toDataURL(l.type,l.quality)&&(k.rr_dataURL=t)}if("img"===S&&f){ce||(ce=n.createElement("canvas"),le=ce.getContext("2d"));const t=e,r=(t.currentSrc||t.getAttribute("src"),t.crossOrigin),i=()=>{t.removeEventListener("load",i);try{ce.width=t.naturalWidth,ce.height=t.naturalHeight,le.drawImage(t,0,0),k.rr_dataURL=ce.toDataURL(l.type,l.quality)}catch(e){if("anonymous"!==t.crossOrigin)return t.crossOrigin="anonymous",void(t.complete&&0!==t.naturalWidth?i():t.addEventListener("load",i))}"anonymous"===t.crossOrigin&&(r?k.crossOrigin=r:t.removeAttribute("crossorigin"))};t.complete&&0!==t.naturalWidth?i():t.addEventListener("load",i)}"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(_){const{width:t,height:n}=e.getBoundingClientRect();k={class:k.class,rr_width:`${t}px`,rr_height:`${n}px`}}"iframe"!==S||h(k.src)||(_||oe(e)||(k.rr_src=k.src),delete k.src);let E;try{customElements.get(S)&&(E=!0)}catch(x){}return{type:U.Element,tagName:S,attributes:k,childNodes:[],isSVG:we(e)||void 0,needBlock:_,rootId:m,isCustom:E}}(e,{doc:n,blockClass:i,blockSelector:o,unblockSelector:a,inlineStylesheet:h,maskAttributeFn:u,maskInputOptions:p,maskInputFn:g,dataURLOptions:y,inlineImages:v,recordCanvas:b,keepIframeSrcFn:w,newlyAddedElement:_,rootId:k,maskTextClass:c,unmaskTextClass:l,maskTextSelector:f,unmaskTextSelector:d,ignoreCSSAttributes:S});case e.TEXT_NODE:return function(e,t){const{maskAllText:n,maskTextClass:r,unmaskTextClass:i,maskTextSelector:o,unmaskTextSelector:a,maskTextFn:s,maskInputOptions:u,maskInputFn:c,rootId:l}=t,f=e.parentNode&&e.parentNode.tagName;let d=e.textContent;const h="STYLE"===f||void 0,p="SCRIPT"===f||void 0,m="TEXTAREA"===f||void 0;if(h&&d){try{e.nextSibling||e.previousSibling||e.parentNode.sheet?.cssRules&&(d=W(e.parentNode.sheet))}catch(y){}d=me(d,_e(t.doc))}p&&(d="SCRIPT_PLACEHOLDER");const g=xe(e,r,o,i,a,n);h||p||m||!d||!g||(d=s?s(d,e.parentElement):d.replace(/[\S]/g,"*"));m&&d&&(u.textarea||g)&&(d=c?c(d,e.parentNode):d.replace(/[\S]/g,"*"));if("OPTION"===f&&d){d=Y({isMasked:xe(e,r,o,i,a,Q({type:null,tagName:f,maskInputOptions:u})),element:e,value:d,maskInputFn:c})}return{type:U.Text,textContent:d||"",isStyle:h,rootId:l}}(e,{doc:n,maskAllText:s,maskTextClass:c,unmaskTextClass:l,maskTextSelector:f,unmaskTextSelector:d,maskTextFn:m,maskInputOptions:p,maskInputFn:g,rootId:k});case e.CDATA_SECTION_NODE:return{type:U.CDATA,textContent:"",rootId:k};case e.COMMENT_NODE:return{type:U.Comment,textContent:e.textContent||"",rootId:k};default:return!1}}function Oe(e){return void 0===e||null===e?"":e.toLowerCase()}function Ae(e,t){const{doc:n,mirror:r,blockClass:i,blockSelector:o,unblockSelector:a,maskAllText:s,maskTextClass:u,unmaskTextClass:c,maskTextSelector:l,unmaskTextSelector:f,skipChild:d=!1,inlineStylesheet:h=!0,maskInputOptions:p={},maskAttributeFn:m,maskTextFn:g,maskInputFn:y,slimDOMOptions:v,dataURLOptions:b={},inlineImages:w=!1,recordCanvas:_=!1,onSerialize:S,onIframeLoad:k,iframeLoadTimeout:C=5e3,onBlockedImageLoad:E,onStylesheetLoad:x,stylesheetLoadTimeout:T=5e3,keepIframeSrcFn:O=()=>!1,newlyAddedElement:A=!1,ignoreCSSAttributes:I}=t;let{preserveWhiteSpace:R=!0}=t;const P=Te(e,{doc:n,mirror:r,blockClass:i,blockSelector:o,maskAllText:s,unblockSelector:a,maskTextClass:u,unmaskTextClass:c,maskTextSelector:l,unmaskTextSelector:f,inlineStylesheet:h,maskInputOptions:p,maskAttributeFn:m,maskTextFn:g,maskInputFn:y,dataURLOptions:b,inlineImages:w,recordCanvas:_,keepIframeSrcFn:O,newlyAddedElement:A,ignoreCSSAttributes:I});if(!P)return null;let D;D=r.hasNode(e)?r.getId(e):!function(e,t){if(t.comment&&e.type===U.Comment)return!0;if(e.type===U.Element){if(t.script&&("script"===e.tagName||"link"===e.tagName&&("preload"===e.attributes.rel||"modulepreload"===e.attributes.rel)||"link"===e.tagName&&"prefetch"===e.attributes.rel&&"string"===typeof e.attributes.href&&"js"===ee(e.attributes.href)))return!0;if(t.headFavicon&&("link"===e.tagName&&"shortcut icon"===e.attributes.rel||"meta"===e.tagName&&(Oe(e.attributes.name).match(/^msapplication-tile(image|color)$/)||"application-name"===Oe(e.attributes.name)||"icon"===Oe(e.attributes.rel)||"apple-touch-icon"===Oe(e.attributes.rel)||"shortcut icon"===Oe(e.attributes.rel))))return!0;if("meta"===e.tagName){if(t.headMetaDescKeywords&&Oe(e.attributes.name).match(/^description|keywords$/))return!0;if(t.headMetaSocial&&(Oe(e.attributes.property).match(/^(og|twitter|fb):/)||Oe(e.attributes.name).match(/^(og|twitter):/)||"pinterest"===Oe(e.attributes.name)))return!0;if(t.headMetaRobots&&("robots"===Oe(e.attributes.name)||"googlebot"===Oe(e.attributes.name)||"bingbot"===Oe(e.attributes.name)))return!0;if(t.headMetaHttpEquiv&&void 0!==e.attributes["http-equiv"])return!0;if(t.headMetaAuthorship&&("author"===Oe(e.attributes.name)||"generator"===Oe(e.attributes.name)||"framework"===Oe(e.attributes.name)||"publisher"===Oe(e.attributes.name)||"progid"===Oe(e.attributes.name)||Oe(e.attributes.property).match(/^article:/)||Oe(e.attributes.property).match(/^product:/)))return!0;if(t.headMetaVerification&&("google-site-verification"===Oe(e.attributes.name)||"yandex-verification"===Oe(e.attributes.name)||"csrf-token"===Oe(e.attributes.name)||"p:domain_verify"===Oe(e.attributes.name)||"verify-v1"===Oe(e.attributes.name)||"verification"===Oe(e.attributes.name)||"shopify-checkout-api-token"===Oe(e.attributes.name)))return!0}}return!1}(P,v)&&(R||P.type!==U.Text||P.isStyle||P.textContent.replace(/^\s+|\s+$/gm,"").length)?ue():-2;const z=Object.assign(P,{id:D});if(r.add(e,z),-2===D)return null;S&&S(e);let M=!d;if(z.type===U.Element){M=M&&!z.needBlock;const t=e.shadowRoot;t&&$(t)&&(z.isShadowHost=!0)}if((z.type===U.Document||z.type===U.Element)&&M){v.headWhitespace&&z.type===U.Element&&"head"===z.tagName&&(R=!1);const t={doc:n,mirror:r,blockClass:i,blockSelector:o,maskAllText:s,unblockSelector:a,maskTextClass:u,unmaskTextClass:c,maskTextSelector:l,unmaskTextSelector:f,skipChild:d,inlineStylesheet:h,maskInputOptions:p,maskAttributeFn:m,maskTextFn:g,maskInputFn:y,slimDOMOptions:v,dataURLOptions:b,inlineImages:w,recordCanvas:_,preserveWhiteSpace:R,onSerialize:S,onIframeLoad:k,iframeLoadTimeout:C,onBlockedImageLoad:E,onStylesheetLoad:x,stylesheetLoadTimeout:T,keepIframeSrcFn:O,ignoreCSSAttributes:I},A=e.childNodes?Array.from(e.childNodes):[];for(const e of A){const n=Ae(e,t);n&&z.childNodes.push(n)}if(function(e){return e.nodeType===e.ELEMENT_NODE}(e)&&e.shadowRoot)for(const n of Array.from(e.shadowRoot.childNodes)){const r=Ae(n,t);r&&($(e.shadowRoot)&&(r.isShadow=!0),z.childNodes.push(r))}}if(e.parentNode&&q(e.parentNode)&&$(e.parentNode)&&(z.isShadow=!0),z.type!==U.Element||"iframe"!==z.tagName||z.needBlock||function(e,t,n){const r=e.contentWindow;if(!r)return;let i,o=!1;try{i=r.document.readyState}catch(s){return}if("complete"!==i){const r=re(()=>{o||(t(),o=!0)},n);return void e.addEventListener("load",()=>{ie(r),o=!0,t()})}const a="about:blank";if(r.location.href!==a||e.src===a||""===e.src)return re(t,0),e.addEventListener("load",t);e.addEventListener("load",t)}(e,()=>{const t=oe(e);if(t&&k){const n=Ae(t,{doc:t,mirror:r,blockClass:i,blockSelector:o,unblockSelector:a,maskAllText:s,maskTextClass:u,unmaskTextClass:c,maskTextSelector:l,unmaskTextSelector:f,skipChild:!1,inlineStylesheet:h,maskInputOptions:p,maskAttributeFn:m,maskTextFn:g,maskInputFn:y,slimDOMOptions:v,dataURLOptions:b,inlineImages:w,recordCanvas:_,preserveWhiteSpace:R,onSerialize:S,onIframeLoad:k,iframeLoadTimeout:C,onStylesheetLoad:x,stylesheetLoadTimeout:T,keepIframeSrcFn:O,ignoreCSSAttributes:I});n&&k(e,n)}},C),z.type===U.Element&&"img"===z.tagName&&!e.complete&&z.needBlock){const t=e,n=()=>{if(t.isConnected&&!t.complete&&E)try{const e=t.getBoundingClientRect();e.width>0&&e.height>0&&E(t,z,e)}catch(e){}t.removeEventListener("load",n)};t.isConnected&&t.addEventListener("load",n)}return z.type===U.Element&&"link"===z.tagName&&"string"===typeof z.attributes.rel&&("stylesheet"===z.attributes.rel||"preload"===z.attributes.rel&&"string"===typeof z.attributes.href&&"css"===ee(z.attributes.href))&&function(e,t,n){let r,i=!1;try{r=e.sheet}catch(a){return}if(r)return;const o=re(()=>{i||(t(),i=!0)},n);e.addEventListener("load",()=>{ie(o),i=!0,t()})}(e,()=>{if(x){const t=Ae(e,{doc:n,mirror:r,blockClass:i,blockSelector:o,unblockSelector:a,maskAllText:s,maskTextClass:u,unmaskTextClass:c,maskTextSelector:l,unmaskTextSelector:f,skipChild:!1,inlineStylesheet:h,maskInputOptions:p,maskAttributeFn:m,maskTextFn:g,maskInputFn:y,slimDOMOptions:v,dataURLOptions:b,inlineImages:w,recordCanvas:_,preserveWhiteSpace:R,onSerialize:S,onIframeLoad:k,iframeLoadTimeout:C,onStylesheetLoad:x,stylesheetLoadTimeout:T,keepIframeSrcFn:O,ignoreCSSAttributes:I});t&&x(e,t)}},T),z.type===U.Element&&delete z.needBlock,z}function Ie(e,t,n=document){const r={capture:!0,passive:!0};return n.addEventListener(e,t,r),()=>n.removeEventListener(e,t,r)}let Re={map:{},getId:()=>-1,getNode:()=>null,removeNodeFromMap(){},has:()=>!1,reset(){}};function Pe(e,t,n={}){let r=null,i=0;return function(...o){const a=Date.now();i||!1!==n.leading||(i=a);const s=t-(a-i),u=this;s<=0||s>t?(r&&(!function(...e){Ze("clearTimeout")(...e)}(r),r=null),i=a,e.apply(u,o)):r||!1===n.trailing||(r=Xe(()=>{i=!1===n.leading?0:Date.now(),r=null,e.apply(u,o)},s))}}function De(e,t,n,r,i=window){const o=i.Object.getOwnPropertyDescriptor(e,t);return i.Object.defineProperty(e,t,r?n:{set(e){Xe(()=>{n.set.call(this,e)},0),o&&o.set&&o.set.call(this,e)}}),()=>De(e,t,o||{},!0)}function ze(e,t,n){try{if(!(t in e))return()=>{};const r=e[t],i=n(r);return"function"===typeof i&&(i.prototype=i.prototype||{},Object.defineProperties(i,{__rrweb_original__:{enumerable:!1,value:r}})),e[t]=i,()=>{e[t]=r}}catch{return()=>{}}}"undefined"!==typeof window&&window.Proxy&&window.Reflect&&(Re=new Proxy(Re,{get:(e,t,n)=>Reflect.get(e,t,n)}));let Me=Date.now;function Ne(e){const t=e.document;return{left:t.scrollingElement?t.scrollingElement.scrollLeft:void 0!==e.pageXOffset?e.pageXOffset:t?.documentElement.scrollLeft||t?.body?.parentElement?.scrollLeft||t?.body?.scrollLeft||0,top:t.scrollingElement?t.scrollingElement.scrollTop:void 0!==e.pageYOffset?e.pageYOffset:t?.documentElement.scrollTop||t?.body?.parentElement?.scrollTop||t?.body?.scrollTop||0}}function je(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function Le(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function Fe(e){if(!e)return null;try{return e.nodeType===e.ELEMENT_NODE?e:e.parentElement}catch(t){return null}}function Be(e,t,n,r,i){if(!e)return!1;const o=Fe(e);if(!o)return!1;const a=Ee(t,n);if(!i){const e=r&&o.matches(r);return a(o)&&!e}const s=Ce(o,a);let u=-1;return!(s<0)&&(r&&(u=Ce(o,Ee(null,r))),s>-1&&u<0||s<u)}function Ue(e,t){return-2===t.getId(e)}function qe(e,t){if(q(e))return!1;const n=t.getId(e);return!t.has(n)||(!e.parentNode||e.parentNode.nodeType!==e.DOCUMENT_NODE)&&(!e.parentNode||qe(e.parentNode,t))}function $e(e){return Boolean(e.changedTouches)}function We(e,t){return Boolean("IFRAME"===e.nodeName&&t.getMeta(e))}function He(e,t){return Boolean("LINK"===e.nodeName&&e.nodeType===e.ELEMENT_NODE&&e.getAttribute&&"stylesheet"===e.getAttribute("rel")&&t.getMeta(e))}function Ke(e){return Boolean(e?.shadowRoot)}/[1-9][0-9]{12}/.test(Date.now().toString())||(Me=()=>(new Date).getTime());class Qe{constructor(){this.id=1,this.styleIDMap=new WeakMap,this.idStyleMap=new Map}getId(e){return this.styleIDMap.get(e)??-1}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 Ye(e){let t=null;return e.getRootNode?.()?.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&e.getRootNode().host&&(t=e.getRootNode().host),t}function Ve(e){const t=e.ownerDocument;if(!t)return!1;const n=function(e){let t,n=e;for(;t=Ye(n);)n=t;return n}(e);return t.contains(n)}function Je(e){const t=e.ownerDocument;return!!t&&(t.contains(e)||Ve(e))}const Ge={};function Ze(e){const t=Ge[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 i=t.contentWindow;i&&i[e]&&(r=i[e]),n.head.removeChild(t)}catch(i){}return Ge[e]=r.bind(window)}function Xe(...e){return Ze("setTimeout")(...e)}var et=(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))(et||{}),tt=(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))(tt||{}),nt=(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))(nt||{}),rt=(e=>(e[e.Mouse=0]="Mouse",e[e.Pen=1]="Pen",e[e.Touch=2]="Touch",e))(rt||{}),it=(e=>(e[e.Play=0]="Play",e[e.Pause=1]="Pause",e[e.Seeked=2]="Seeked",e[e.VolumeChange=3]="VolumeChange",e[e.RateChange=4]="RateChange",e))(it||{});function ot(e){try{return e.contentDocument}catch(t){}}function at(e){return"__ln"in e}class st{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=t?.next||null;return t}addNode(e){const t={value:e,previous:null,next:null};if(e.__ln=t,e.previousSibling&&at(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&&at(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 ut=(e,t)=>`${e}@${t}`;class ct{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 st,r=e=>{let t=e,n=-2;for(;-2===n;)t=t&&t.nextSibling,n=t&&this.mirror.getId(t);return n},i=i=>{if(!i.parentNode||!Je(i))return;const o=q(i.parentNode)?this.mirror.getId(Ye(i)):this.mirror.getId(i.parentNode),a=r(i);if(-1===o||-1===a)return n.addNode(i);const s=Ae(i,{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=>{We(e,this.mirror)&&!Be(e,this.blockClass,this.blockSelector,this.unblockSelector,!1)&&this.iframeManager.addIframe(e),He(e,this.mirror)&&this.stylesheetManager.trackLinkElement(e),Ke(i)&&this.shadowDomManager.addShadowRoot(i.shadowRoot,this.doc)},onIframeLoad:(e,t)=>{Be(e,this.blockClass,this.blockSelector,this.unblockSelector,!1)||(this.iframeManager.attachIframe(e,t),e.contentWindow&&this.canvasManager.addWindow(e.contentWindow),this.shadowDomManager.observeAttachShadow(e))},onStylesheetLoad:(e,t)=>{this.stylesheetManager.attachLinkElement(e,t)},onBlockedImageLoad:(e,t,{width:n,height:r})=>{this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:t.id,attributes:{style:{width:`${n}px`,height:`${r}px`}}}]})},ignoreCSSAttributes:this.ignoreCSSAttributes});s&&(e.push({parentId:o,nextId:a,node:s}),t.add(s.id))};for(;this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift());for(const s of this.movedSet)ft(this.removes,s,this.mirror)&&!this.movedSet.has(s.parentNode)||i(s);for(const s of this.addedSet)dt(this.droppedSet,s)||ft(this.removes,s,this.mirror)?dt(this.movedSet,s)?i(s):this.droppedSet.add(s):i(s);let o=null;for(;n.length;){let e=null;if(o){const t=this.mirror.getId(o.value.parentNode),n=r(o.value);-1!==t&&-1!==n&&(e=o)}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}o=e.previous,n.removeNode(e.value),i(e.value)}const a={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};(a.texts.length||a.attributes.length||a.removes.length||a.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(a))},this.processMutation=e=>{if(!Ue(e.target,this.mirror))switch(e.type){case"characterData":{const t=e.target.textContent;Be(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||t===e.oldValue||this.texts.push({value:xe(e.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,this.maskAllText)&&t?this.maskTextFn?this.maskTextFn(t,Fe(e.target)):t.replace(/[\S]/g,"*"):t,node:e.target});break}case"attributes":{const n=e.target;let r=e.attributeName,i=e.target.getAttribute(r);if("value"===r){const t=Z(n),r=n.tagName;i=X(n,r,t);const o=Q({maskInputOptions:this.maskInputOptions,tagName:r,type:t});i=Y({isMasked:xe(e.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,o),element:n,value:i,maskInputFn:this.maskInputFn})}if(Be(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||i===e.oldValue)return;let o=this.attributeMap.get(e.target);if("IFRAME"===n.tagName&&"src"===r&&!this.keepIframeSrcFn(i)){if(ot(n))return;r="rr_src"}if(o||(o={node:e.target,attributes:{},styleDiff:{},_unchangedStyles:{}},this.attributes.push(o),this.attributeMap.set(e.target,o)),"type"===r&&"INPUT"===n.tagName&&"password"===(e.oldValue||"").toLowerCase()&&n.setAttribute("data-rr-is-password","true"),!ke(n.tagName,r)&&(o.attributes[r]=Se(this.doc,V(n.tagName),V(r),i,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),i=n.style.getPropertyPriority(e);t!==r.style.getPropertyValue(e)||i!==r.style.getPropertyPriority(e)?o.styleDiff[e]=""===i?t:[t,i]:o._unchangedStyles[e]=[t,i]}for(const e of Array.from(r.style))""===n.style.getPropertyValue(e)&&(o.styleDiff[e]=!1)}break}case"childList":if(Be(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=q(e.target)?this.mirror.getId(e.target.host):this.mirror.getId(e.target);Be(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||Ue(t,this.mirror)||!function(e,t){return-1!==t.getId(e)}(t,this.mirror)||(this.addedSet.has(t)?(lt(this.addedSet,t),this.droppedSet.add(t)):this.addedSet.has(e.target)&&-1===n||qe(e.target,this.mirror)||(this.movedSet.has(t)&&this.movedMap[ut(n,r)]?lt(this.movedSet,t):this.removes.push({parentId:r,id:n,isShadow:!(!q(e.target)||!$(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(Ue(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[ut(this.mirror.getId(e),n)]=!0)}else this.addedSet.add(e),this.droppedSet.delete(e);Be(e,this.blockClass,this.blockSelector,this.unblockSelector,!1)||(e.childNodes&&e.childNodes.forEach(e=>this.genAdds(e)),Ke(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","ignoreCSSAttributes"].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 lt(e,t){e.delete(t),t.childNodes?.forEach(t=>lt(e,t))}function ft(e,t,n){return 0!==e.length&&function(e,t,n){let r=t.parentNode;for(;r;){const t=n.getId(r);if(e.some(e=>e.id===t))return!0;r=r.parentNode}return!1}(e,t,n)}function dt(e,t){return 0!==e.size&&ht(e,t)}function ht(e,t){const{parentNode:n}=t;return!!n&&(!!e.has(n)||ht(e,n))}let pt;const mt=e=>{if(!pt)return e;return(...t)=>{try{return e(...t)}catch(n){if(pt&&!0===pt(n))return()=>{};throw n}}},gt=[];function yt(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{}return e&&e.target}function vt(e,t){const n=new ct;gt.push(n),n.init(e);let r=window.MutationObserver||window.__rrMutationObserver;const i=window?.Zone?.__symbol__?.("MutationObserver");i&&window[i]&&(r=window[i]);const o=new r(mt(t=>{e.onMutation&&!1===e.onMutation(t)||n.processMutations.bind(n)(t)}));return o.observe(t,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),o}function bt({mouseInteractionCb:e,doc:t,mirror:n,blockClass:r,blockSelector:i,unblockSelector:o,sampling:a}){if(!1===a.mouseInteraction)return()=>{};const s=!0===a.mouseInteraction||void 0===a.mouseInteraction?{}:a.mouseInteraction,u=[];let c=null;return Object.keys(nt).filter(e=>Number.isNaN(Number(e))&&!e.endsWith("_Departed")&&!1!==s[e]).forEach(a=>{let s=V(a);const l=(t=>a=>{const s=yt(a);if(Be(s,r,i,o,!0))return;let u=null,l=t;if("pointerType"in a){switch(a.pointerType){case"mouse":u=rt.Mouse;break;case"touch":u=rt.Touch;break;case"pen":u=rt.Pen}u===rt.Touch?nt[t]===nt.MouseDown?l="TouchStart":nt[t]===nt.MouseUp&&(l="TouchEnd"):rt.Pen}else $e(a)&&(u=rt.Touch);null!==u?(c=u,(l.startsWith("Touch")&&u===rt.Touch||l.startsWith("Mouse")&&u===rt.Mouse)&&(u=null)):nt[t]===nt.Click&&(u=c,c=null);const f=$e(a)?a.changedTouches[0]:a;if(!f)return;const d=n.getId(s),{clientX:h,clientY:p}=f;mt(e)({type:nt[l],id:d,x:h,y:p,...null!==u&&{pointerType:u}})})(a);if(window.PointerEvent)switch(nt[a]){case nt.MouseDown:case nt.MouseUp:s=s.replace("mouse","pointer");break;case nt.TouchStart:case nt.TouchEnd:return}u.push(Ie(s,l,t))}),mt(()=>{u.forEach(e=>e())})}function wt({scrollCb:e,doc:t,mirror:n,blockClass:r,blockSelector:i,unblockSelector:o,sampling:a}){return Ie("scroll",mt(Pe(mt(a=>{const s=yt(a);if(!s||Be(s,r,i,o,!0))return;const u=n.getId(s);if(s===t&&t.defaultView){const n=Ne(t.defaultView);e({id:u,x:n.left,y:n.top})}else e({id:u,x:s.scrollLeft,y:s.scrollTop})}),a.scroll||100)),t)}const _t=["INPUT","TEXTAREA","SELECT"],St=new WeakMap;function kt({inputCb:e,doc:t,mirror:n,blockClass:r,blockSelector:i,unblockSelector:o,ignoreClass:a,ignoreSelector:s,maskInputOptions:u,maskInputFn:c,sampling:l,userTriggeredOnInput:f,maskTextClass:d,unmaskTextClass:h,maskTextSelector:p,unmaskTextSelector:m}){function g(e){let n=yt(e);const l=e.isTrusted,g=n&&J(n.tagName);if("OPTION"===g&&(n=n.parentElement),!n||!g||_t.indexOf(g)<0||Be(n,r,i,o,!0))return;const v=n;if(v.classList.contains(a)||s&&v.matches(s))return;const b=Z(n);let w=X(v,g,b),_=!1;const S=Q({maskInputOptions:u,tagName:g,type:b}),k=xe(n,d,p,h,m,S);"radio"!==b&&"checkbox"!==b||(_=n.checked),w=Y({isMasked:k,element:n,value:w,maskInputFn:c}),y(n,f?{text:w,isChecked:_,userTriggered:l}:{text:w,isChecked:_});const C=n.name;"radio"===b&&C&&_&&t.querySelectorAll(`input[type="radio"][name="${C}"]`).forEach(e=>{if(e!==n){const t=Y({isMasked:k,element:e,value:X(e,g,b),maskInputFn:c});y(e,f?{text:t,isChecked:!_,userTriggered:!1}:{text:t,isChecked:!_})}})}function y(t,r){const i=St.get(t);if(!i||i.text!==r.text||i.isChecked!==r.isChecked){St.set(t,r);const i=n.getId(t);mt(e)({...r,id:i})}}const v=("last"===l.input?["change"]:["input","change"]).map(e=>Ie(e,mt(g),t)),b=t.defaultView;if(!b)return()=>{v.forEach(e=>e())};const w=b.Object.getOwnPropertyDescriptor(b.HTMLInputElement.prototype,"value"),_=[[b.HTMLInputElement.prototype,"value"],[b.HTMLInputElement.prototype,"checked"],[b.HTMLSelectElement.prototype,"value"],[b.HTMLTextAreaElement.prototype,"value"],[b.HTMLSelectElement.prototype,"selectedIndex"],[b.HTMLOptionElement.prototype,"selected"]];return w&&w.set&&v.push(..._.map(e=>De(e[0],e[1],{set(){mt(g)({target:this,isTrusted:!1})}},!1,b))),mt(()=>{v.forEach(e=>e())})}function Ct(e){return function(e,t){if(Ot("CSSGroupingRule")&&e.parentRule instanceof CSSGroupingRule||Ot("CSSMediaRule")&&e.parentRule instanceof CSSMediaRule||Ot("CSSSupportsRule")&&e.parentRule instanceof CSSSupportsRule||Ot("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 Et(e,t,n){let r,i;return e?(e.ownerNode?r=t.getId(e.ownerNode):i=n.getId(e),{styleId:i,id:r}):{}}function xt({mirror:e,stylesheetManager:t},n){let r=null;r="#document"===n.nodeName?e.getId(n):e.getId(n.host);const i="#document"===n.nodeName?n.defaultView?.Document:n.ownerDocument?.defaultView?.ShadowRoot,o=i?.prototype?Object.getOwnPropertyDescriptor(i?.prototype,"adoptedStyleSheets"):void 0;return null!==r&&-1!==r&&i&&o?(Object.defineProperty(n,"adoptedStyleSheets",{configurable:o.configurable,enumerable:o.enumerable,get(){return o.get?.call(this)},set(e){const n=o.set?.call(this,e);if(null!==r&&-1!==r)try{t.adoptStyleSheets(e,r)}catch(i){}return n}}),mt(()=>{Object.defineProperty(n,"adoptedStyleSheets",{configurable:o.configurable,enumerable:o.enumerable,get:o.get,set:o.set})})):()=>{}}function Tt(e,t={}){const n=e.doc.defaultView;if(!n)return()=>{};let r;e.recordDOM&&(r=vt(e,e.doc));const i=function({mousemoveCb:e,sampling:t,doc:n,mirror:r}){if(!1===t.mousemove)return()=>{};const i="number"===typeof t.mousemove?t.mousemove:50,o="number"===typeof t.mousemoveCallback?t.mousemoveCallback:500;let a,s=[];const u=Pe(mt(t=>{const n=Date.now()-a;e(s.map(e=>(e.timeOffset-=n,e)),t),s=[],a=null}),o),c=mt(Pe(mt(e=>{const t=yt(e),{clientX:n,clientY:i}=$e(e)?e.changedTouches[0]:e;a||(a=Me()),s.push({x:n,y:i,id:r.getId(t),timeOffset:Me()-a}),u("undefined"!==typeof DragEvent&&e instanceof DragEvent?tt.Drag:e instanceof MouseEvent?tt.MouseMove:tt.TouchMove)}),i,{trailing:!1})),l=[Ie("mousemove",c,n),Ie("touchmove",c,n),Ie("drag",c,n)];return mt(()=>{l.forEach(e=>e())})}(e),o=bt(e),a=wt(e),s=function({viewportResizeCb:e},{win:t}){let n=-1,r=-1;return Ie("resize",mt(Pe(mt(()=>{const t=je(),i=Le();n===t&&r===i||(e({width:Number(i),height:Number(t)}),n=t,r=i)}),200)),t)}(e,{win:n}),u=kt(e),c=function({mediaInteractionCb:e,blockClass:t,blockSelector:n,unblockSelector:r,mirror:i,sampling:o,doc:a}){const s=mt(a=>Pe(mt(o=>{const s=yt(o);if(!s||Be(s,t,n,r,!0))return;const{currentTime:u,volume:c,muted:l,playbackRate:f}=s;e({type:a,id:i.getId(s),currentTime:u,volume:c,muted:l,playbackRate:f})}),o.media||500)),u=[Ie("play",s(it.Play),a),Ie("pause",s(it.Pause),a),Ie("seeked",s(it.Seeked),a),Ie("volumechange",s(it.VolumeChange),a),Ie("ratechange",s(it.RateChange),a)];return mt(()=>{u.forEach(e=>e())})}(e);let l=()=>{},f=()=>{},d=()=>{},h=()=>{};e.recordDOM&&(l=function({styleSheetRuleCb:e,mirror:t,stylesheetManager:n},{win:r}){if(!r.CSSStyleSheet||!r.CSSStyleSheet.prototype)return()=>{};const i=r.CSSStyleSheet.prototype.insertRule;r.CSSStyleSheet.prototype.insertRule=new Proxy(i,{apply:mt((r,i,o)=>{const[a,s]=o,{id:u,styleId:c}=Et(i,t,n.styleMirror);return(u&&-1!==u||c&&-1!==c)&&e({id:u,styleId:c,adds:[{rule:a,index:s}]}),r.apply(i,o)})});const o=r.CSSStyleSheet.prototype.deleteRule;let a,s;r.CSSStyleSheet.prototype.deleteRule=new Proxy(o,{apply:mt((r,i,o)=>{const[a]=o,{id:s,styleId:u}=Et(i,t,n.styleMirror);return(s&&-1!==s||u&&-1!==u)&&e({id:s,styleId:u,removes:[{index:a}]}),r.apply(i,o)})}),r.CSSStyleSheet.prototype.replace&&(a=r.CSSStyleSheet.prototype.replace,r.CSSStyleSheet.prototype.replace=new Proxy(a,{apply:mt((r,i,o)=>{const[a]=o,{id:s,styleId:u}=Et(i,t,n.styleMirror);return(s&&-1!==s||u&&-1!==u)&&e({id:s,styleId:u,replace:a}),r.apply(i,o)})})),r.CSSStyleSheet.prototype.replaceSync&&(s=r.CSSStyleSheet.prototype.replaceSync,r.CSSStyleSheet.prototype.replaceSync=new Proxy(s,{apply:mt((r,i,o)=>{const[a]=o,{id:s,styleId:u}=Et(i,t,n.styleMirror);return(s&&-1!==s||u&&-1!==u)&&e({id:s,styleId:u,replaceSync:a}),r.apply(i,o)})}));const u={};At("CSSGroupingRule")?u.CSSGroupingRule=r.CSSGroupingRule:(At("CSSMediaRule")&&(u.CSSMediaRule=r.CSSMediaRule),At("CSSConditionRule")&&(u.CSSConditionRule=r.CSSConditionRule),At("CSSSupportsRule")&&(u.CSSSupportsRule=r.CSSSupportsRule));const c={};return Object.entries(u).forEach(([r,i])=>{c[r]={insertRule:i.prototype.insertRule,deleteRule:i.prototype.deleteRule},i.prototype.insertRule=new Proxy(c[r].insertRule,{apply:mt((r,i,o)=>{const[a,s]=o,{id:u,styleId:c}=Et(i.parentStyleSheet,t,n.styleMirror);return(u&&-1!==u||c&&-1!==c)&&e({id:u,styleId:c,adds:[{rule:a,index:[...Ct(i),s||0]}]}),r.apply(i,o)})}),i.prototype.deleteRule=new Proxy(c[r].deleteRule,{apply:mt((r,i,o)=>{const[a]=o,{id:s,styleId:u}=Et(i.parentStyleSheet,t,n.styleMirror);return(s&&-1!==s||u&&-1!==u)&&e({id:s,styleId:u,removes:[{index:[...Ct(i),a]}]}),r.apply(i,o)})})}),mt(()=>{r.CSSStyleSheet.prototype.insertRule=i,r.CSSStyleSheet.prototype.deleteRule=o,a&&(r.CSSStyleSheet.prototype.replace=a),s&&(r.CSSStyleSheet.prototype.replaceSync=s),Object.entries(u).forEach(([e,t])=>{t.prototype.insertRule=c[e].insertRule,t.prototype.deleteRule=c[e].deleteRule})})}(e,{win:n}),f=xt(e,e.doc),d=function({styleDeclarationCb:e,mirror:t,ignoreCSSAttributes:n,stylesheetManager:r},{win:i}){const o=i.CSSStyleDeclaration.prototype.setProperty;i.CSSStyleDeclaration.prototype.setProperty=new Proxy(o,{apply:mt((i,a,s)=>{const[u,c,l]=s;if(n.has(u))return o.apply(a,[u,c,l]);const{id:f,styleId:d}=Et(a.parentRule?.parentStyleSheet,t,r.styleMirror);return(f&&-1!==f||d&&-1!==d)&&e({id:f,styleId:d,set:{property:u,value:c,priority:l},index:Ct(a.parentRule)}),i.apply(a,s)})});const a=i.CSSStyleDeclaration.prototype.removeProperty;return i.CSSStyleDeclaration.prototype.removeProperty=new Proxy(a,{apply:mt((i,o,s)=>{const[u]=s;if(n.has(u))return a.apply(o,[u]);const{id:c,styleId:l}=Et(o.parentRule?.parentStyleSheet,t,r.styleMirror);return(c&&-1!==c||l&&-1!==l)&&e({id:c,styleId:l,remove:{property:u},index:Ct(o.parentRule)}),i.apply(o,s)})}),mt(()=>{i.CSSStyleDeclaration.prototype.setProperty=o,i.CSSStyleDeclaration.prototype.removeProperty=a})}(e,{win:n}),e.collectFonts&&(h=function({fontCb:e,doc:t}){const n=t.defaultView;if(!n)return()=>{};const r=[],i=new WeakMap,o=n.FontFace;n.FontFace=function(e,t,n){const r=new o(e,t,n);return i.set(r,{family:e,buffer:"string"!==typeof t,descriptors:n,fontSource:"string"===typeof t?t:JSON.stringify(Array.from(new Uint8Array(t)))}),r};const a=ze(t.fonts,"add",function(t){return function(n){return Xe(mt(()=>{const t=i.get(n);t&&(e(t),i.delete(n))}),0),t.apply(this,[n])}});return r.push(()=>{n.FontFace=o}),r.push(a),mt(()=>{r.forEach(e=>e())})}(e)));const p=function(e){const{doc:t,mirror:n,blockClass:r,blockSelector:i,unblockSelector:o,selectionCb:a}=e;let s=!0;const u=mt(()=>{const e=t.getSelection();if(!e||s&&e?.isCollapsed)return;s=e.isCollapsed||!1;const u=[],c=e.rangeCount||0;for(let t=0;t<c;t++){const a=e.getRangeAt(t),{startContainer:s,startOffset:c,endContainer:l,endOffset:f}=a;Be(s,r,i,o,!0)||Be(l,r,i,o,!0)||u.push({start:n.getId(s),startOffset:c,end:n.getId(l),endOffset:f})}a({ranges:u})});return u(),Ie("selectionchange",u)}(e),m=function({doc:e,customElementCb:t}){const n=e.defaultView;return n&&n.customElements?ze(n.customElements,"define",function(e){return function(n,r,i){try{t({define:{name:n}})}catch(o){}return e.apply(this,[n,r,i])}}):()=>{}}(e),g=[];for(const y of e.plugins)g.push(y.observer(y.callback,n,y.options));return mt(()=>{gt.forEach(e=>e.reset()),r?.disconnect(),i(),o(),a(),s(),u(),c(),l(),f(),d(),h(),p(),m(),g.forEach(e=>e())})}function Ot(e){return"undefined"!==typeof window[e]}function At(e){return Boolean("undefined"!==typeof window[e]&&window[e].prototype&&"insertRule"in window[e].prototype&&"deleteRule"in window[e].prototype)}class It{constructor(e){this.generateIdFn=e,this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap}getId(e,t,n,r){const i=n||this.getIdToRemoteIdMap(e),o=r||this.getRemoteIdToIdMap(e);let a=i.get(t);return a||(a=this.generateIdFn(),i.set(t,a),o.set(a,t)),a}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 i=r.get(t);return i||-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}}class Rt{constructor(){this.crossOriginIframeMirror=new It(ue),this.crossOriginIframeRootIdMap=new WeakMap}addIframe(){}addLoadListener(){}attachIframe(){}}class Pt{constructor(e){this.iframes=new WeakMap,this.crossOriginIframeMap=new WeakMap,this.crossOriginIframeMirror=new It(ue),this.crossOriginIframeRootIdMap=new WeakMap,this.mutationCb=e.mutationCb,this.wrappedEmit=e.wrappedEmit,this.stylesheetManager=e.stylesheetManager,this.recordCrossOriginIframes=e.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new It(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}),this.recordCrossOriginIframes&&e.contentWindow?.addEventListener("message",this.handleMessage.bind(this)),this.loadListener?.(e);const n=ot(e);n&&n.adoptedStyleSheets&&n.adoptedStyleSheets.length>0&&this.stylesheetManager.adoptStyleSheets(n.adoptedStyleSheets,this.mirror.getId(n))}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 et.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:et.IncrementalSnapshot,data:{source:tt.Mutation,adds:[{parentId:this.mirror.getId(e),nextId:null,node:t.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}}}case et.Meta:case et.Load:case et.DomContentLoaded:return!1;case et.Plugin:return t;case et.Custom:return this.replaceIds(t.data.payload,e,["id","parentId","previousId","nextId"]),t;case et.IncrementalSnapshot:switch(t.data.source){case tt.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 tt.Drag:case tt.TouchMove:case tt.MouseMove:return t.data.positions.forEach(t=>{this.replaceIds(t,e,["id"])}),t;case tt.ViewportResize:return!1;case tt.MediaInteraction:case tt.MouseInteraction:case tt.Scroll:case tt.CanvasMutation:case tt.Input:return this.replaceIds(t.data,e,["id"]),t;case tt.StyleSheetRule:case tt.StyleDeclaration:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleId"]),t;case tt.Font:return t;case tt.Selection:return t.data.ranges.forEach(t=>{this.replaceIds(t,e,["start","end"])}),t;case tt.AdoptedStyleSheet:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleIds"]),t.data.styles?.forEach(t=>{this.replaceStyleIds(t,e,["styleId"])}),t}}return!1}replace(e,t,n,r){for(const i of r)(Array.isArray(t[i])||"number"===typeof t[i])&&(Array.isArray(t[i])?t[i]=e.getIds(n,t[i]):t[i]=e.getId(n,t[i]));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===U.Document||e.rootId||(e.rootId=t),"childNodes"in e&&e.childNodes.forEach(e=>{this.patchRootIdOnNode(e,t)})}}class Dt{init(){}addShadowRoot(){}observeAttachShadow(){}reset(){}}class zt{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(!$(e))return;if(this.shadowDoms.has(e))return;this.shadowDoms.add(e),this.bypassOptions.canvasManager.addShadowRoot(e);const n=vt({...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})),Xe(()=>{e.adoptedStyleSheets&&e.adoptedStyleSheets.length>0&&this.bypassOptions.stylesheetManager.adoptStyleSheets(e.adoptedStyleSheets,this.mirror.getId(e.host)),this.restoreHandlers.push(xt({mirror:this.mirror,stylesheetManager:this.bypassOptions.stylesheetManager},e))},0)}observeAttachShadow(e){const t=ot(e),n=function(e){try{return e.contentWindow}catch(t){}}(e);t&&n&&this.patchAttachShadow(n.Element,t)}patchAttachShadow(e,t){const n=this;this.restoreHandlers.push(ze(e.prototype,"attachShadow",function(e){return function(r){const i=e.call(this,r);return this.shadowRoot&&Je(this)&&n.addShadowRoot(this.shadowRoot,t),i}}))}reset(){this.restoreHandlers.forEach(e=>{try{e()}catch(t){}}),this.restoreHandlers=[],this.shadowDoms=new WeakSet,this.bypassOptions.canvasManager.resetShadowRoots()}}for(var Mt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Nt="undefined"===typeof Uint8Array?[]:new Uint8Array(256),jt=0;jt<64;jt++)Nt[Mt.charCodeAt(jt)]=jt;class Lt{reset(){}freeze(){}unfreeze(){}lock(){}unlock(){}snapshot(){}addWindow(){}addShadowRoot(){}resetShadowRoots(){}}class Ft{constructor(e){this.trackedLinkElements=new WeakSet,this.styleMirror=new Qe,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 i of e){let e;this.styleMirror.has(i)?e=this.styleMirror.getId(i):(e=this.styleMirror.add(i),r.push({styleId:e,rules:Array.from(i.rules||CSSRule,(e,t)=>({rule:H(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 Bt{constructor(){this.nodeMap=new WeakMap,this.active=!1}inOtherBuffer(e,t){const n=this.nodeMap.get(e);return n&&Array.from(n).some(e=>e!==t)}add(e,t){this.active||(this.active=!0,function(...e){Ze("requestAnimationFrame")(...e)}(()=>{this.nodeMap=new WeakMap,this.active=!1})),this.nodeMap.set(e,(this.nodeMap.get(e)||new Set).add(t))}destroy(){}}let Ut,qt;try{if(2!==Array.from([1],e=>2*e)[0]){const e=document.createElement("iframe");document.body.appendChild(e),Array.from=e.contentWindow?.Array.from||Array.from,document.body.removeChild(e)}}catch(Ur){}const $t=new K;function Wt(e={}){const{emit:t,checkoutEveryNms:n,checkoutEveryNth:r,blockClass:i="rr-block",blockSelector:o=null,unblockSelector:a=null,ignoreClass:s="rr-ignore",ignoreSelector:u=null,maskAllText:c=!1,maskTextClass:l="rr-mask",unmaskTextClass:f=null,maskTextSelector:d=null,unmaskTextSelector:h=null,inlineStylesheet:p=!0,maskAllInputs:m,maskInputOptions:g,slimDOMOptions:y,maskAttributeFn:v,maskInputFn:b,maskTextFn:w,maxCanvasSize:_=null,packFn:S,sampling:k={},dataURLOptions:C={},mousemoveWait:E,recordDOM:x=!0,recordCanvas:T=!1,recordCrossOriginIframes:O=!1,recordAfter:A=("DOMContentLoaded"===e.recordAfter?e.recordAfter:"load"),userTriggeredOnInput:I=!1,collectFonts:R=!1,inlineImages:P=!1,plugins:D,keepIframeSrcFn:z=()=>!1,ignoreCSSAttributes:M=new Set([]),errorHandler:N,onMutation:j,getCanvasManager:L}=e;pt=N;const F=!O||window.parent===window;let B=!1;if(!F)try{window.parent.document&&(B=!1)}catch(ne){B=!0}if(F&&!t)throw new Error("emit function is required");if(!F&&!B)return()=>{};void 0!==E&&void 0===k.mousemove&&(k.mousemove=E),$t.reset();const U=!0===m?{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!==g?g:{},q=!0===y||"all"===y?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:"all"===y,headMetaDescKeywords:"all"===y}:y||{};let $;!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 W=0;const H=e=>{for(const t of D||[])t.eventProcessor&&(e=t.eventProcessor(e));return S&&!B&&(e=S(e)),e};Ut=(e,i)=>{const o=e;if(o.timestamp=Me(),!gt[0]?.isFrozen()||o.type===et.FullSnapshot||o.type===et.IncrementalSnapshot&&o.data.source===tt.Mutation||gt.forEach(e=>e.unfreeze()),F)t?.(H(o),i);else if(B){const e={type:"rrweb",event:H(o),origin:window.location.origin,isCheckout:i};window.parent.postMessage(e,"*")}if(o.type===et.FullSnapshot)$=o,W=0;else if(o.type===et.IncrementalSnapshot){if(o.data.source===tt.Mutation&&o.data.isAttachIframe)return;W++;const e=r&&W>=r,t=n&&$&&o.timestamp-$.timestamp>n;(e||t)&&te(!0)}};const Q=e=>{Ut({type:et.IncrementalSnapshot,data:{source:tt.Mutation,...e}})},Y=e=>Ut({type:et.IncrementalSnapshot,data:{source:tt.Scroll,...e}}),V=e=>Ut({type:et.IncrementalSnapshot,data:{source:tt.CanvasMutation,...e}}),J=new Ft({mutationCb:Q,adoptedStyleSheetCb:e=>Ut({type:et.IncrementalSnapshot,data:{source:tt.AdoptedStyleSheet,...e}})}),G="boolean"===typeof __RRWEB_EXCLUDE_IFRAME__&&__RRWEB_EXCLUDE_IFRAME__?new Rt:new Pt({mirror:$t,mutationCb:Q,stylesheetManager:J,recordCrossOriginIframes:O,wrappedEmit:Ut});for(const K of D||[])K.getMirror&&K.getMirror({nodeMirror:$t,crossOriginIframeMirror:G.crossOriginIframeMirror,crossOriginIframeStyleMirror:G.crossOriginIframeStyleMirror});const Z=new Bt,X=function(e,t){try{return e?e(t):new Lt}catch{return new Lt}}(L,{mirror:$t,win:window,mutationCb:e=>Ut({type:et.IncrementalSnapshot,data:{source:tt.CanvasMutation,...e}}),recordCanvas:T,blockClass:i,blockSelector:o,unblockSelector:a,maxCanvasSize:_,sampling:k.canvas,dataURLOptions:C,errorHandler:N}),ee="boolean"===typeof __RRWEB_EXCLUDE_SHADOW_DOM__&&__RRWEB_EXCLUDE_SHADOW_DOM__?new Dt:new zt({mutationCb:Q,scrollCb:Y,bypassOptions:{onMutation:j,blockClass:i,blockSelector:o,unblockSelector:a,maskAllText:c,maskTextClass:l,unmaskTextClass:f,maskTextSelector:d,unmaskTextSelector:h,inlineStylesheet:p,maskInputOptions:U,dataURLOptions:C,maskAttributeFn:v,maskTextFn:w,maskInputFn:b,recordCanvas:T,inlineImages:P,sampling:k,slimDOMOptions:q,iframeManager:G,stylesheetManager:J,canvasManager:X,keepIframeSrcFn:z,processedNodeManager:Z,ignoreCSSAttributes:M},mirror:$t}),te=(e=!1)=>{if(!x)return;Ut({type:et.Meta,data:{href:window.location.href,width:Le(),height:je()}},e),J.reset(),ee.init(),gt.forEach(e=>e.lock());const t=function(e,t){const{mirror:n=new K,blockClass:r="rr-block",blockSelector:i=null,unblockSelector:o=null,maskAllText:a=!1,maskTextClass:s="rr-mask",unmaskTextClass:u=null,maskTextSelector:c=null,unmaskTextSelector:l=null,inlineStylesheet:f=!0,inlineImages:d=!1,recordCanvas:h=!1,maskAllInputs:p=!1,maskAttributeFn:m,maskTextFn:g,maskInputFn:y,slimDOM:v=!1,dataURLOptions:b,preserveWhiteSpace:w,onSerialize:_,onIframeLoad:S,iframeLoadTimeout:k,onBlockedImageLoad:C,onStylesheetLoad:E,stylesheetLoadTimeout:x,keepIframeSrcFn:T=()=>!1,ignoreCSSAttributes:O=new Set([])}=t||{};return Ae(e,{doc:e,mirror:n,blockClass:r,blockSelector:i,unblockSelector:o,maskAllText:a,maskTextClass:s,unmaskTextClass:u,maskTextSelector:c,unmaskTextSelector:l,skipChild:!1,inlineStylesheet:f,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:y,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:b,inlineImages:d,recordCanvas:h,preserveWhiteSpace:w,onSerialize:_,onIframeLoad:S,iframeLoadTimeout:k,onBlockedImageLoad:C,onStylesheetLoad:E,stylesheetLoadTimeout:x,keepIframeSrcFn:T,newlyAddedElement:!1,ignoreCSSAttributes:O})}(document,{mirror:$t,blockClass:i,blockSelector:o,unblockSelector:a,maskAllText:c,maskTextClass:l,unmaskTextClass:f,maskTextSelector:d,unmaskTextSelector:h,inlineStylesheet:p,maskAllInputs:U,maskAttributeFn:v,maskInputFn:b,maskTextFn:w,slimDOM:q,dataURLOptions:C,recordCanvas:T,inlineImages:P,onSerialize:e=>{We(e,$t)&&G.addIframe(e),He(e,$t)&&J.trackLinkElement(e),Ke(e)&&ee.addShadowRoot(e.shadowRoot,document)},onIframeLoad:(e,t)=>{G.attachIframe(e,t),e.contentWindow&&X.addWindow(e.contentWindow),ee.observeAttachShadow(e)},onStylesheetLoad:(e,t)=>{J.attachLinkElement(e,t)},onBlockedImageLoad:(e,t,{width:n,height:r})=>{Q({adds:[],removes:[],texts:[],attributes:[{id:t.id,attributes:{style:{width:`${n}px`,height:`${r}px`}}}]})},keepIframeSrcFn:z,ignoreCSSAttributes:M});t&&(Ut({type:et.FullSnapshot,data:{node:t,initialOffset:Ne(window)}}),gt.forEach(e=>e.unlock()),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&J.adoptStyleSheets(document.adoptedStyleSheets,$t.getId(document)))};qt=te;try{const e=[],t=e=>mt(Tt)({onMutation:j,mutationCb:Q,mousemoveCb:(e,t)=>Ut({type:et.IncrementalSnapshot,data:{source:t,positions:e}}),mouseInteractionCb:e=>Ut({type:et.IncrementalSnapshot,data:{source:tt.MouseInteraction,...e}}),scrollCb:Y,viewportResizeCb:e=>Ut({type:et.IncrementalSnapshot,data:{source:tt.ViewportResize,...e}}),inputCb:e=>Ut({type:et.IncrementalSnapshot,data:{source:tt.Input,...e}}),mediaInteractionCb:e=>Ut({type:et.IncrementalSnapshot,data:{source:tt.MediaInteraction,...e}}),styleSheetRuleCb:e=>Ut({type:et.IncrementalSnapshot,data:{source:tt.StyleSheetRule,...e}}),styleDeclarationCb:e=>Ut({type:et.IncrementalSnapshot,data:{source:tt.StyleDeclaration,...e}}),canvasMutationCb:V,fontCb:e=>Ut({type:et.IncrementalSnapshot,data:{source:tt.Font,...e}}),selectionCb:e=>{Ut({type:et.IncrementalSnapshot,data:{source:tt.Selection,...e}})},customElementCb:e=>{Ut({type:et.IncrementalSnapshot,data:{source:tt.CustomElement,...e}})},blockClass:i,ignoreClass:s,ignoreSelector:u,maskAllText:c,maskTextClass:l,unmaskTextClass:f,maskTextSelector:d,unmaskTextSelector:h,maskInputOptions:U,inlineStylesheet:p,sampling:k,recordDOM:x,recordCanvas:T,inlineImages:P,userTriggeredOnInput:I,collectFonts:R,doc:e,maskAttributeFn:v,maskInputFn:b,maskTextFn:w,keepIframeSrcFn:z,blockSelector:o,unblockSelector:a,slimDOMOptions:q,dataURLOptions:C,mirror:$t,iframeManager:G,stylesheetManager:J,shadowDomManager:ee,processedNodeManager:Z,canvasManager:X,ignoreCSSAttributes:M,plugins:D?.filter(e=>e.observer)?.map(e=>({observer:e.observer,options:e.options,callback:t=>Ut({type:et.Plugin,data:{plugin:e.name,payload:t}})}))||[]},{});G.addLoadListener(n=>{try{e.push(t(n.contentDocument))}catch(r){}});const n=()=>{te(),e.push(t(document))};return"interactive"===document.readyState||"complete"===document.readyState?n():(e.push(Ie("DOMContentLoaded",()=>{Ut({type:et.DomContentLoaded,data:{}}),"DOMContentLoaded"===A&&n()})),e.push(Ie("load",()=>{Ut({type:et.Load,data:{}}),"load"===A&&n()},window))),()=>{e.forEach(e=>e()),Z.destroy(),qt=void 0,pt=void 0}}catch(re){}}var Ht,Kt;Wt.mirror=$t,Wt.takeFullSnapshot=function(e){if(!qt)throw new Error("please take full snapshot after start recording");qt(e)},(Kt=Ht||(Ht={}))[Kt.NotStarted=0]="NotStarted",Kt[Kt.Running=1]="Running",Kt[Kt.Stopped=2]="Stopped";function Qt(e){return e>9999999999?e:1e3*e}function Yt(e){return e>9999999999?e/1e3:e}function Vt(e,t){"sentry.transaction"!==t.category&&(["ui.click","ui.input"].includes(t.category)?e.triggerUserActivity():e.checkAndHandleExpiredSession(),e.addUpdate(()=>(e.throttledAddEvent({type:et.Custom,timestamp:1e3*(t.timestamp||0),data:{tag:"breadcrumb",payload:(0,i.S8)(t,10,1e3)}}),"console"===t.category)))}function Jt(e){return e.closest("button,a")||e}function Gt(e){const t=Zt(e);return t&&t instanceof Element?Jt(t):t}function Zt(e){return function(e){return"object"===typeof e&&!!e&&"target"in e}(e)?e.target:e}let Xt;function en(e){return Xt||(Xt=[],(0,o.GS)(P,"open",function(e){return function(...t){if(Xt)try{Xt.forEach(e=>e())}catch{}return e.apply(P,t)}})),Xt.push(e),()=>{const t=Xt?Xt.indexOf(e):-1;t>-1&&Xt.splice(t,1)}}const tn=new Set([tt.Mutation,tt.StyleSheetRule,tt.StyleDeclaration,tt.AdoptedStyleSheet,tt.CanvasMutation,tt.Selection,tt.MediaInteraction]);class nn{constructor(e,t,n=Vt){this._lastMutation=0,this._lastScroll=0,this._clicks=[],this._timeout=t.timeout/1e3,this._threshold=t.threshold/1e3,this._scrollTimeout=t.scrollTimeout/1e3,this._replay=e,this._ignoreSelector=t.ignoreSelector,this._addBreadcrumbEvent=n}addListeners(){const e=en(()=>{this._lastMutation=on()});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(!rn.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:Yt(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=Yt(e)}registerScroll(e=Date.now()){this._lastScroll=Yt(e)}registerClick(e){const t=Jt(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=on();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._scrollTimeout,r=e.mutationAfter&&e.mutationAfter<=this._threshold,i=!n&&!r,{clickCount:o,clickBreadcrumb:a}=e;if(i){const n=1e3*Math.min(e.mutationAfter||this._timeout,this._timeout),r=n<1e3*this._timeout?"mutation":"timeout",i={type:"default",message:a.message,timestamp:a.timestamp,category:"ui.slowClickDetected",data:{...a.data,url:P.location.href,route:t.getCurrentRoute(),timeAfterClickMs:n,endReason:r,clickCount:o||1}};return void this._addBreadcrumbEvent(t,i)}if(o>1){const e={type:"default",message:a.message,timestamp:a.timestamp,category:"ui.multiClick",data:{...a.data,url:P.location.href,route:t.getCurrentRoute(),clickCount:o,metric:!0}};this._addBreadcrumbEvent(t,e)}}_scheduleCheckClicks(){this._checkClickTimeout&&clearTimeout(this._checkClickTimeout),this._checkClickTimeout=(0,x.wg)(()=>this._checkClicks(),1e3)}}const rn=["A","BUTTON","INPUT"];function on(){return Date.now()/1e3}function an(e,t){try{if(!function(e){return 3===e.type}(t))return;const{source:n}=t.data;if(tn.has(n)&&e.registerMutation(t.timestamp),n===tt.Scroll&&e.registerScroll(t.timestamp),function(e){return e.data.source===tt.MouseInteraction}(t)){const{type:n,id:r}=t.data,i=Wt.mirror.getNode(r);i instanceof HTMLElement&&n===nt.Click&&e.registerClick(i)}}catch{}}function sn(e){return{timestamp:Date.now()/1e3,type:"default",...e}}var un=(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",e))(un||{});const cn=new Set(["id","class","aria-label","role","name","alt","title","data-test-id","data-testid","disabled","aria-disabled","data-sentry-component"]);function ln(e){const t={};!e["data-sentry-component"]&&e["data-sentry-element"]&&(e["data-sentry-component"]=e["data-sentry-element"]);for(const n in e)if(cn.has(n)){let r=n;"data-testid"!==n&&"data-test-id"!==n||(r="testId"),t[r]=e[n]}return t}const fn=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?Gt(e.event):Zt(e.event),n=(0,a.Hd)(r,{maxStringLength:200})||"<unknown>"}catch{n="<unknown>"}return{target:r,message:n}}(e);return sn({category:`ui.${e.name}`,...dn(t,n)})}(t);if(!n)return;const r="click"===t.name,i=r?t.event:void 0;var o,s,u;!(r&&e.clickDetector&&i?.target)||i.altKey||i.metaKey||i.ctrlKey||i.shiftKey||(o=e.clickDetector,s=n,u=Gt(t.event),o.handleClick(s,u)),Vt(e,n)};function dn(e,t){const n=Wt.mirror.getId(e),r=n&&Wt.mirror.getNode(n),i=r&&Wt.mirror.getMeta(r),o=i&&function(e){return e.type===un.Element}(i)?i:null;return{message:t,data:o?{nodeId:n,node:{id:n,tagName:o.tagName,textContent:Array.from(o.childNodes).map(e=>e.type===un.Text&&e.textContent).filter(Boolean).map(e=>e.trim()).join(""),attributes:ln(o.attributes)}}:{}}}function hn(e,t){if(!e.isEnabled())return;e.updateUserActivity();const n=function(e){const{metaKey:t,shiftKey:n,ctrlKey:r,altKey:i,key:o,target:s}=e;if(!s||function(e){return"INPUT"===e.tagName||"TEXTAREA"===e.tagName||e.isContentEditable}(s)||!o)return null;const u=t||r||i,c=1===o.length;if(!u&&c)return null;const l=(0,a.Hd)(s,{maxStringLength:200})||"<unknown>",f=dn(s,l);return sn({category:"ui.keyDown",message:l,data:{...f.data,metaKey:t,shiftKey:n,ctrlKey:r,altKey:i,key:o}})}(t);n&&Vt(e,n)}const pn={resource:function(e){const{entryType:t,initiatorType:n,name:r,responseEnd:i,startTime:o,decodedBodySize:a,encodedBodySize:s,responseStatus:u,transferSize:c}=e;if(["fetch","xmlhttprequest"].includes(n))return null;return{type:`${t}.${n}`,start:yn(o),end:yn(i),name:r,data:{size:c,statusCode:u,decodedBodySize:a,encodedBodySize:s}}},paint:function(e){const{duration:t,entryType:n,name:r,startTime:i}=e,o=yn(i);return{type:n,name:r,start:o,end:o+t,data:void 0}},navigation:function(e){const{entryType:t,name:n,decodedBodySize:r,duration:i,domComplete:o,encodedBodySize:a,domContentLoadedEventStart:s,domContentLoadedEventEnd:u,domInteractive:c,loadEventStart:l,loadEventEnd:f,redirectCount:d,startTime:h,transferSize:p,type:m}=e;if(0===i)return null;return{type:`${t}.${m}`,start:yn(h),end:yn(o),name:n,data:{size:p,decodedBodySize:r,encodedBodySize:a,duration:i,domInteractive:c,domContentLoadedEventStart:s,domContentLoadedEventEnd:u,loadEventStart:l,loadEventEnd:f,domComplete:o,redirectCount:d}}}};function mn(e,t){return({metric:n})=>{t.replayPerformanceEntries.push(e(n))}}function gn(e){const t=pn[e.entryType];return t?t(e):null}function yn(e){return(((0,s.k3)()||P.performance.timeOrigin)+e)/1e3}function vn(e){const t=e.entries[e.entries.length-1];return Sn(e,"largest-contentful-paint",t?.element?[t.element]:void 0)}function bn(e){return void 0!==e.sources}function wn(e){const t=[],n=[];for(const r of e.entries)if(bn(r)){const e=[];for(const t of r.sources)if(t.node){n.push(t.node);const r=Wt.mirror.getId(t.node);r&&e.push(r)}t.push({value:r.value,nodeIds:e.length?e:void 0})}return Sn(e,"cumulative-layout-shift",n,t)}function _n(e){const t=e.entries[e.entries.length-1];return Sn(e,"interaction-to-next-paint",t?.target?[t.target]:void 0)}function Sn(e,t,n,r){const i=e.value,o=e.rating,a=yn(i);return{type:"web-vital",name:t,start:a,end:a,data:{value:i,size:i,rating:o,nodeIds:n?n.map(e=>Wt.mirror.getId(e)):void 0,attributions:r}}}const kn="undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;const Cn=["log","warn","error"],En="[Replay] ";function xn(e,t="info"){(0,u.Z)({category:"console",data:{logger:"replay"},level:t,message:`${En}${e}`},{level:t})}const Tn=function(){let e=!1,t=!1;const n={exception:()=>{},infoTick:()=>{},setConfig:n=>{e=!!n.captureExceptions,t=!!n.traceInternals}};return kn?(Cn.forEach(e=>{n[e]=(...n)=>{c.Yz[e](En,...n),t&&xn(n.join(""),(0,l.t)(e))}}),n.exception=(r,...i)=>{i.length&&n.error&&n.error(...i),c.Yz.error(En,r),e?(0,f.Cp)(r,{mechanism:{handled:!0,type:"auto.function.replay.debug"}}):t&&xn(r,"error")},n.infoTick=(...e)=>{c.Yz.log(En,...e),t&&setTimeout(()=>xn(e[0]),0)}):Cn.forEach(e=>{n[e]=()=>{}}),n}();class On extends Error{constructor(){super("Event buffer exceeded maximum size of 20000000.")}}class An{constructor(){this.events=[],this._totalSize=0,this.hasCheckout=!1,this.waitForCheckout=!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>j)throw new On;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?Qt(e):null}}class In{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():(kn&&Tn.warn("Received worker message with unsuccessful status",n),t(new Error("Received worker message with unsuccessful status")))},{once:!0}),this._worker.addEventListener("error",e=>{kn&&Tn.warn("Failed to load Replay compression worker",e),t(new Error(`Failed to load Replay compression worker: ${e instanceof ErrorEvent&&e.message?e.message:"Unknown error. This can happen due to CSP policy restrictions, network issues, or the worker script failing to load."}`))},{once:!0})})),this._ensureReadyPromise}destroy(){kn&&Tn.log("Destroying compression worker"),this._worker.terminate()}postMessage(e,t){const n=this._getAndIncrementId();return new Promise((r,i)=>{const o=({data:t})=>{const a=t;if(a.method===e&&a.id===n){if(this._worker.removeEventListener("message",o),!a.success)return kn&&Tn.error("Error in compression worker: ",a.response),void i(new Error("Error in compression worker"));r(a.response)}};this._worker.addEventListener("message",o),this._worker.postMessage({id:n,method:e,arg:t})})}_getAndIncrementId(){return this._id++}}class Rn{constructor(e){this._worker=new In(e),this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this.waitForCheckout=!1}get hasEvents(){return!!this._earliestTimestamp}get type(){return"worker"}ensureReady(){return this._worker.ensureReady()}destroy(){this._worker.destroy()}addEvent(e){const t=Qt(e.timestamp);(!this._earliestTimestamp||t<this._earliestTimestamp)&&(this._earliestTimestamp=t);const n=JSON.stringify(e);return this._totalSize+=n.length,this._totalSize>j?Promise.reject(new On):this._sendEventToWorker(n)}finish(){return this._finishRequest()}clear(){this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this._worker.postMessage("clear").then(null,e=>{kn&&Tn.exception(e,'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 Pn{constructor(e){this._fallback=new An,this._compression=new Rn(e),this._used=this._fallback,this._ensureWorkerIsLoadedPromise=this._ensureWorkerIsLoaded()}get waitForCheckout(){return this._used.waitForCheckout}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}set waitForCheckout(e){this._used.waitForCheckout=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(kn&&Tn.exception(e,"Failed to load the compression worker, falling back to simple buffer"))}await this._switchToCompressionWorker()}async _switchToCompressionWorker(){const{events:e,hasCheckout:t,waitForCheckout:n}=this._fallback,r=[];for(const o of e)r.push(this._compression.addEvent(o));this._compression.hasCheckout=t,this._compression.waitForCheckout=n,this._used=this._compression;try{await Promise.all(r),this._fallback.clear()}catch(i){kn&&Tn.exception(i,"Failed to add events when switching buffers.")}}}function Dn({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]),s=new t([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),a=function(t,e){for(var i=new n(31),s=0;s<31;++s)i[s]=e+=1<<t[s-1];var a=new r(i[30]);for(s=1;s<30;++s)for(var o=i[s];o<i[s+1];++o)a[o]=o-i[s]<<5|s;return{b:i,r:a}},o=a(e,2),h=o.b,f=o.r;h[28]=258,f[258]=28;for(var l=a(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,s=0,a=new n(r);s<i;++s)t[s]&&++a[t[s]-1];var o,h=new n(r);for(s=1;s<r;++s)h[s]=h[s-1]+a[s-1]<<1;if(e){o=new n(1<<r);var f=15-r;for(s=0;s<i;++s)if(t[s])for(var l=s<<4|t[s],c=r-t[s],v=h[t[s]-1]++<<c,d=v|(1<<c)-1;v<=d;++v)o[u[v]>>f]=l}else for(o=new n(i),s=0;s<i;++s)t[s]&&(o[s]=u[h[t[s]-1]++]>>15-t[s]);return o},p=new t(288);for(c=0;c<144;++c)p[c]=8;for(c=144;c<256;++c)p[c]=9;for(c=256;c<280;++c)p[c]=7;for(c=280;c<288;++c)p[c]=8;var g=new t(32);for(c=0;c<32;++c)g[c]=5;var w=d(p,9,0),y=d(g,5,0),m=function(t){return(t+7)/8|0},b=function(n,r,e){return(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},_=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},x=function(r,e){for(var i=[],s=0;s<r.length;++s)r[s]&&i.push({s:s,f:r[s]});var a=i.length,o=i.slice();if(!a)return{t:F,l:0};if(1==a){var h=new t(i[0].s+1);return h[i[0].s]=1,{t:h,l:1}}i.sort(function(t,n){return t.f-n.f}),i.push({s:-1,f:25001});var f=i[0],l=i[1],u=0,c=1,v=2;for(i[0]={s:-1,f:f.f+l.f,l:f,r:l};c!=a-1;)f=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:f.f+l.f,l:f,r:l};var d=o[0].s;for(s=1;s<a;++s)o[s].s>d&&(d=o[s].s);var p=new n(d+1),g=A(i[c-1],p,0);if(g>e){s=0;var w=0,y=g-e,m=1<<y;for(o.sort(function(t,n){return p[n.s]-p[t.s]||t.f-n.f});s<a;++s){var b=o[s].s;if(!(p[b]>e))break;w+=m-(1<<g-p[b]),p[b]=e}for(w>>=y;w>0;){var M=o[s].s;p[M]<e?w-=1<<e-p[M]++-1:++s}for(;s>=0&&w;--s){var E=o[s].s;p[E]==e&&(--p[E],++w)}g=e}return{t:new t(p),l:g}},A=function(t,n,r){return-1==t.s?Math.max(A(t.l,n,r+1),A(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,s=t[0],a=1,o=function(t){e[i++]=t},h=1;h<=r;++h)if(t[h]==s&&h!=r)++a;else{if(!s&&a>2){for(;a>138;a-=138)o(32754);a>2&&(o(a>10?a-11<<5|28690:a-3<<5|12305),a=0)}else if(a>3){for(o(s),--a;a>6;a-=6)o(8304);a>2&&(o(a-3<<5|8208),a=0)}for(;a--;)o(s);a=1,s=t[h]}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 s=0;s<e;++s)t[i+s+4]=r[s];return 8*(i+4+e)},U=function(t,r,a,o,h,f,l,u,c,v,m){z(r,m++,a),++h[256];for(var b=x(h,15),M=b.t,E=b.l,A=x(f,15),U=A.t,C=A.l,F=D(M),I=F.c,S=F.n,L=D(U),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=x(q,7),H=G.t,J=G.l,K=19;K>4&&!H[s[K-1]];--K);var N,P,Q,R,V=v+5<<3,W=T(h,p)+T(f,g)+l,X=T(h,M)+T(f,U)+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(U,C,0),R=U;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[s[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=w,P=p,Q=y,R=g;for(B=0;B<u;++B){var rt=o[B];if(rt>255){_(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;_(r,m,Q[et]),m+=R[et],et>3&&(_(r,m,rt>>5&8191),m+=i[et])}else _(r,m,N[rt]),m+=P[rt]}return _(r,m,N[256]),m+P[256]},C=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,s=0|r.length,a=0;a!=s;){for(var o=Math.min(a+2655,s);a<o;++a)i+=e+=r[a];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(s,a,o,h,u){if(!u&&(u={l:1},a.dictionary)){var c=a.dictionary.subarray(-32768),v=new t(c.length+s.length);v.set(c),v.set(s,c.length),s=v,u.w=c.length}return function(s,a,o,h,u,c){var v=c.z||s.length,d=new t(h+v+5*(1+Math.ceil(v/7e3))+u),p=d.subarray(h,d.length-u),g=c.l,w=7&(c.r||0);if(a){w&&(p[0]=c.r>>3);for(var y=C[a-1],M=y>>13,E=8191&y,z=(1<<o)-1,_=c.p||new n(32768),x=c.h||new n(z+1),A=Math.ceil(o/3),D=2*A,T=function(t){return(s[t]^s[t+1]<<A^s[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=x[H];if(_[J]=K,x[H]=J,B<=j){var N=v-j;if((L>7e3||q>24576)&&(N>423||!g)){w=U(s,p,0,F,I,S,O,q,G,j-G,w),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(s[j+Q]==s[j+Q-W]){for(var $=0;$<Z&&s[j+$]==s[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-_[rt]&32767;et>nt&&(nt=et,K=rt)}}}W+=(J=K)-(K=_[J])&32767}if(R){F[q++]=268435456|f[Q]<<18|l[R];var it=31&f[Q],st=31&l[R];O+=e[it]+i[st],++I[257+it],++S[st],B=j+Q,++L}else F[q++]=s[j],++I[s[j]]}}for(j=Math.max(j,B);j<v;++j)F[q++]=s[j],++I[s[j]];w=U(s,p,g,F,I,S,O,q,G,j-G,w),g||(c.r=7&w|p[w/8|0]<<3,w-=7,c.h=x,c.p=_,c.i=j,c.w=B)}else{for(j=c.w||0;j<v+g;j+=65535){var at=j+65535;at>=v&&(p[w/8|0]=g,at=v),w=k(p,w+1,s.subarray(j,at))}c.i=v}return b(d,0,h+m(w)+u)}(s,null==a.level?6:a.level,null==a.mem?u.l?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(s.length)))):20:12+a.mem,o,h,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 s=this.b.length-this.s.z;this.b.set(n.subarray(0,s),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(s),32768),this.s.z=n.length-s+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.prototype.flush=function(){this.ondata||E(5),this.s.l&&E(4),this.p(this.b,!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,s=L(t,n,10+((i=n).filename?i.filename.length+1:0),8),a=s.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)}}(s,n),O(s,a-8,r.d()),O(s,a-4,e),s}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.prototype.flush=function(){j.prototype.flush.call(this)},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(G)return G.encode(n);for(var e=n.length,i=new t(n.length+(n.length>>1)),s=0,a=function(t){i[s++]=t},o=0;o<e;++o){if(s+5>i.length){var h=new t(s+8+(e-o<<1));h.set(i),i=h}var f=n.charCodeAt(o);f<128||r?a(f):f<2048?(a(192|f>>6),a(128|63&f)):f>55295&&f<57344?(a(240|(f=65536+(1047552&f)|1023&n.charCodeAt(++o))>>18),a(128|f>>12&63),a(128|f>>6&63),a(128|63&f)):(a(224|f>>12),a(128|f>>6&63),a(128|63&f))}return b(i,0,s)}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(const r of t)n+=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;kn&&Tn.log("Using compression worker"+(e?` from ${e}`:""));const n=new Worker(t);return new Pn(n)}catch(t){kn&&Tn.exception(t,"Failed to create compression worker")}}(t);if(e)return e}return kn&&Tn.log("Using simple buffer"),new An}function zn(){try{return"sessionStorage"in P&&!!P.sessionStorage}catch{return!1}}function Mn(e){!function(){if(!zn())return;try{P.sessionStorage.removeItem(D)}catch{}}(),e.session=void 0}function Nn(e){return void 0!==e&&Math.random()<e}function jn(e){if(zn())try{P.sessionStorage.setItem(D,JSON.stringify(e))}catch{}}function Ln(e){const t=Date.now();return{id:e.id||(0,d.eJ)(),started:e.started||t,lastActivity:e.lastActivity||t,segmentId:e.segmentId||0,sampled:e.sampled,previousSessionId:e.previousSessionId,dirty:e.dirty||!1}}function Fn({sessionSampleRate:e,allowBuffering:t,stickySession:n=!1},{previousSessionId:r}={}){const i=function(e,t){return Nn(e)?"session":!!t&&"buffer"}(e,t),o=Ln({sampled:i,previousSessionId:r});return n&&jn(o),o}function Bn(e,t,n=+new Date){return null===e||void 0===t||t<0||0!==t&&e+t<=n}function Un(e,{maxReplayDuration:t,sessionIdleExpire:n,targetTime:r=Date.now()}){return Bn(e.started,t,r)||Bn(e.lastActivity,n,r)}function qn(e,{sessionIdleExpire:t,maxReplayDuration:n}){return!!Un(e,{sessionIdleExpire:t,maxReplayDuration:n})&&("buffer"!==e.sampled||0!==e.segmentId)}function $n({sessionIdleExpire:e,maxReplayDuration:t,previousSessionId:n},r){const i=r.stickySession&&function(){if(!zn())return null;try{const e=P.sessionStorage.getItem(D);if(!e)return null;const t=JSON.parse(e);return kn&&Tn.infoTick("Loading existing session"),Ln(t)}catch{return null}}();return i?qn(i,{sessionIdleExpire:e,maxReplayDuration:t})?(kn&&Tn.infoTick("Session in sessionStorage is expired, creating new one..."),Fn(r,{previousSessionId:i.id})):i:(kn&&Tn.infoTick("Creating new session"),Fn(r,{previousSessionId:n}))}function Wn(e,t,n){return!!Kn(e,t)&&(Hn(e,t,n),!0)}async function Hn(e,t,n){const{eventBuffer:r}=e;if(!r||r.waitForCheckout&&!n)return null;const i="buffer"===e.recordingMode;try{n&&i&&r.clear(),n&&(r.hasCheckout=!0,r.waitForCheckout=!1);const o=function(e,t){try{if("function"===typeof t&&function(e){return e.type===et.Custom}(e))return t(e)}catch(n){return kn&&Tn.exception(n,"An error occurred in the `beforeAddRecordingEvent` callback, skipping the event..."),null}return e}(t,e.getOptions().beforeAddRecordingEvent);if(!o)return;return await r.addEvent(o)}catch(o){const t=o&&o instanceof On,n=t?"addEventSizeExceeded":"addEvent",a=(0,h.KU)();if(a){const e=t?"buffer_overflow":"internal_sdk_error";a.recordDroppedEvent(e,"replay")}if(t&&i)return r.clear(),r.waitForCheckout=!0,null;e.handleException(o),await e.stop({reason:n})}}function Kn(e,t){if(!e.eventBuffer||e.isPaused()||!e.isEnabled())return!1;const n=Qt(t.timestamp);return!(n+e.timeouts.sessionIdlePause<Date.now())&&(!(n>e.getContext().initialTimestamp+e.getOptions().maxReplayDuration)||(kn&&Tn.infoTick(`Skipping event with timestamp ${n} because it is after maxReplayDuration`),!1))}function Qn(e){return!e.type}function Yn(e){return"transaction"===e.type}function Vn(e){return"feedback"===e.type}function Jn(e){return(t,n)=>{if(!e.isEnabled()||!Qn(t)&&!Yn(t))return;const r=n.statusCode;!r||r<200||r>=300||(Yn(t)?function(e,t){const n=e.getContext();t.contexts?.trace?.trace_id&&n.traceIds.size<100&&n.traceIds.add(t.contexts.trace.trace_id)}(e,t):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?.replayId)return;const{beforeErrorSampling:r}=e.getOptions();if("function"===typeof r&&!r(t))return;(0,x.wg)(async()=>{try{await e.sendBufferedReplayOrFlush()}catch(Ur){e.handleException(Ur)}})}(e,t))}}function Gn(e){return t=>{e.isEnabled()&&Qn(t)&&function(e,t){const n=t.exception?.values?.[0]?.value;if("string"!==typeof n)return;if(n.match(/(reactjs\.org\/docs\/error-decoder\.html\?invariant=|react\.dev\/errors\/)(418|419|422|423|425)/)||n.match(/(does not match server-rendered HTML|Hydration failed because)/i)){Vt(e,sn({category:"replay.hydrate-error",data:{url:(0,a.$N)()}}))}}(e,t)}}function Zn(e){const t=(0,h.KU)();t&&t.on("beforeAddBreadcrumb",t=>function(e,t){if(!e.isEnabled()||!Xn(t))return;const n=function(e){if(!Xn(e)||["fetch","xhr","sentry.event","sentry.transaction"].includes(e.category)||e.category.startsWith("ui."))return null;if("console"===e.category)return function(e){const t=e.data?.arguments;if(!Array.isArray(t)||0===t.length)return sn(e);let n=!1;const r=t.map(e=>{if(!e)return e;if("string"===typeof e)return e.length>N?(n=!0,`${e.slice(0,N)}\u2026`):e;if("object"===typeof e)try{const t=(0,i.S8)(e,7);return JSON.stringify(t).length>N?(n=!0,`${JSON.stringify(t,null,2).slice(0,N)}\u2026`):t}catch{}return e});return sn({...e,data:{...e.data,arguments:r,...n?{_meta:{warnings:["CONSOLE_ARG_TRUNCATED"]}}:{}}})}(e);return sn(e)}(t);n&&Vt(e,n)}(e,t))}function Xn(e){return!!e.category}function er(){const e=(0,h.o5)().getPropagationContext().dsc;e&&delete e.replay_id;const t=(0,p.Bk)();if(t){delete(0,m.k1)(t).replay_id}}function tr(e){return Object.assign((t,n)=>{if(!e.isEnabled()||e.isPaused())return t;if(function(e){return"replay_event"===e.type}(t))return delete t.breadcrumbs,t;if(!Qn(t)&&!Yn(t)&&!Vn(t))return t;if(!e.checkAndHandleExpiredSession())return er(),t;if(Vn(t))return e.flush(),t.contexts.feedback.replay_id=e.getSessionId(),function(e,t){e.triggerUserActivity(),e.addUpdate(()=>!t.timestamp||(e.throttledAddEvent({type:et.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?.values?.length)&&!!t.originalException?.__rrweb__}(t,n)&&!e.getOptions()._experiments.captureExceptions)return kn&&Tn.log("Ignoring error from rrweb internals",t),null;const r=function(e,t){return"buffer"===e.recordingMode&&t.message!==z&&!(!t.exception||t.type)&&Nn(e.getOptions().errorSampleRate)}(e,t);if((r||"session"===e.recordingMode)&&(t.tags={...t.tags,replayId:e.getSessionId()}),r&&"buffer"===e.recordingMode&&"buffer"===e.session?.sampled){const t=e.session;t.dirty=!0,e.getOptions().stickySession&&jn(t)}return t},{id:"Replay"})}function nr(e,t){return t.map(({type:t,start:n,end:r,name:i,data:o})=>{const a=e.throttledAddEvent({type:et.Custom,timestamp:n,data:{tag:"performanceSpan",payload:{op:t,description:i,startTimestamp:n,endTimestamp:r,data:o}}});return"string"===typeof a?Promise.resolve(null):a})}function rr(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(()=>(nr(e,[n]),!1)))}}function ir(e,t){e.isEnabled()&&null!==t&&(function(e,t){return(!kn||!e.getOptions()._experiments.traceInternals)&&y(t,(0,h.KU)())}(e,t.name)||e.addUpdate(()=>(nr(e,[t]),!0)))}function or(e){if(!e)return;const t=new TextEncoder;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=(0,O.P4)(e);return t.encode(n).length}if(e instanceof Blob)return e.size;if(e instanceof ArrayBuffer)return e.byteLength}catch{}}function ar(e){if(!e)return;const t=parseInt(e,10);return isNaN(t)?void 0:t}function sr(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 ur(e,t){if(!t)return null;const{startTimestamp:n,endTimestamp:r,url:i,method:o,statusCode:a,request:s,response:u}=t;return{type:e,start:n/1e3,end:r/1e3,name:i,data:{method:o,statusCode:a,request:s,response:u}}}function cr(e){return{headers:{},size:e,_meta:{warnings:["URL_SKIPPED"]}}}function lr(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:i,warnings:o}=function(e){if(!e||"string"!==typeof e)return{body:e};const t=e.length>M,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,M);return n?{body:t,warnings:["MAYBE_JSON_TRUNCATED"]}:{body:`${t}\u2026`,warnings:["TEXT_TRUNCATED"]}}if(n)try{return{body:JSON.parse(e)}}catch{}return{body:e}}(n);return r.body=i,o?.length&&(r._meta={warnings:o}),r}function fr(e,t){return Object.entries(e).reduce((n,[r,i])=>{const o=r.toLowerCase();return t.includes(o)&&e[r]&&(n[o]=i),n},{})}function dr(e,t){const n=function(e,t=P.document.baseURI){if(e.startsWith("http://")||e.startsWith("https://")||e.startsWith(P.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,b.Xr)(n,t)}async function hr(e,t,n){try{const r=await async function(e,t,n){const r=Date.now(),{startTimestamp:i=r,endTimestamp:o=r}=t,{url:a,method:s,status_code:u=0,request_body_size:c,response_body_size:l}=e.data,f=dr(a,n.networkDetailAllowUrls)&&!dr(a,n.networkDetailDenyUrls),d=f?function({networkCaptureBodies:e,networkRequestHeaders:t},n,r){const i=n?function(e,t){if(1===e.length&&"string"!==typeof e[0])return mr(e[0],t);if(2===e.length)return mr(e[1],t);return{}}(n,t):{};if(!e)return lr(i,r,void 0);const o=(0,O.Gv)(n),[a,s]=(0,O.sY)(o,Tn),u=lr(i,r,a);if(s)return sr(u,s);return u}(n,t.input,c):cr(c),h=await async function(e,{networkCaptureBodies:t,networkResponseHeaders:n},r,i){if(!e&&void 0!==i)return cr(i);const o=r?pr(r.headers,n):{};if(!r||!t&&void 0!==i)return lr(o,i,void 0);const[a,s]=await async function(e){const t=function(e){try{return e.clone()}catch(t){kn&&Tn.exception(t,"Failed to clone response body")}}(e);if(!t)return[void 0,"BODY_PARSE_ERROR"];try{const e=await function(e){return new Promise((t,n)=>{const r=(0,x.wg)(()=>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 n instanceof Error&&n.message.indexOf("Timeout")>-1?(kn&&Tn.warn("Parsing text body from response timed out"),[void 0,"BODY_PARSE_TIMEOUT"]):(kn&&Tn.exception(n,"Failed to get text body from response"),[void 0,"BODY_PARSE_ERROR"])}}(r),u=function(e,{networkCaptureBodies:t,responseBodySize:n,captureDetails:r,headers:i}){try{const o=e?.length&&void 0===n?or(e):n;return r?lr(i,o,t?e:void 0):cr(o)}catch(o){return kn&&Tn.exception(o,"Failed to serialize response body"),lr(i,n,void 0)}}(a,{networkCaptureBodies:t,responseBodySize:i,captureDetails:e,headers:o});if(s)return sr(u,s);return u}(f,n,t.response,l);return{startTimestamp:i,endTimestamp:o,url:a,method:s,statusCode:u,request:d,response:h}}(e,t,n),i=ur("resource.fetch",r);ir(n.replay,i)}catch(r){kn&&Tn.exception(r,"Failed to capture fetch breadcrumb")}}function pr(e,t){const n={};return t.forEach(t=>{e.get(t)&&(n[t]=e.get(t))}),n}function mr(e,t){if(!e)return{};const n=e.headers;return n?n instanceof Headers?pr(n,t):Array.isArray(n)?{}:fr(n,t):{}}async function gr(e,t,n){try{const r=function(e,t,n){const r=Date.now(),{startTimestamp:i=r,endTimestamp:o=r,input:a,xhr:s}=t,{url:u,method:c,status_code:l=0,request_body_size:f,response_body_size:d}=e.data;if(!u)return null;if(!s||!dr(u,n.networkDetailAllowUrls)||dr(u,n.networkDetailDenyUrls)){return{startTimestamp:i,endTimestamp:o,url:u,method:c,statusCode:l,request:cr(f),response:cr(d)}}const h=s[A.Er],p=h?fr(h.request_headers,n.networkRequestHeaders):{},m=fr((0,O.ti)(s),n.networkResponseHeaders),[g,y]=n.networkCaptureBodies?(0,O.sY)(a,Tn):[void 0],[v,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 kn&&Tn.exception(n,"Failed to serialize body",e),[void 0,"BODY_PARSE_ERROR"]}return kn&&Tn.log("Skipping network body because of body type",e),[void 0,"UNPARSEABLE_BODY_TYPE"]}(e.response,e.responseType)}catch(n){t.push(n)}return kn&&Tn.warn("Failed to get xhr response body",...t),[void 0]}(s):[void 0],w=lr(p,f,g),_=lr(m,d,v);return{startTimestamp:i,endTimestamp:o,url:u,method:c,statusCode:l,request:y?sr(w,y):w,response:b?sr(_,b):_}}(e,t,n),i=ur("resource.xhr",r);ir(n.replay,i)}catch(r){kn&&Tn.exception(r,"Failed to capture xhr breadcrumb")}}function yr(e,t){const{xhr:n,input:r}=t;if(!n)return;const i=or(r),o=n.getResponseHeader("content-length")?ar(n.getResponseHeader("content-length")):function(e,t){try{return or("json"===t&&e&&"object"===typeof e?JSON.stringify(e):e)}catch{return}}(n.response,n.responseType);void 0!==i&&(e.data.request_body_size=i),void 0!==o&&(e.data.response_body_size=o)}function vr(e){const t=(0,h.KU)();try{const{networkDetailAllowUrls:n,networkDetailDenyUrls:r,networkCaptureBodies:i,networkRequestHeaders:o,networkResponseHeaders:a}=e.getOptions(),s={replay:e,networkDetailAllowUrls:n,networkDetailDenyUrls:r,networkCaptureBodies:i,networkRequestHeaders:o,networkResponseHeaders:a};t&&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?.xhr}(n)&&(yr(t,n),gr(t,n,e)),function(e){return"fetch"===e.category}(t)&&function(e){return e?.response}(n)&&(!function(e,t){const{input:n,response:r}=t,i=or(n?(0,O.Gv)(n):void 0),o=r?ar(r.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),hr(t,n,e))}catch(r){kn&&Tn.exception(r,"Error when enriching network breadcrumb")}}(s,e,t))}catch{}}function br(e){const{jsHeapSizeLimit:t,totalJSHeapSize:n,usedJSHeapSize:r}=e,i=Date.now()/1e3;return{type:"memory",name:"memory",start:i,end:i,data:{memory:{jsHeapSizeLimit:t,totalJSHeapSize:n,usedJSHeapSize:r}}}}function wr(e,t,n){return function(e,t,n){let r,i,o;const a=n?.maxWait?Math.max(n.maxWait,t):0,s=n?.setTimeoutImpl||setTimeout;function u(){return c(),r=e(),r}function c(){void 0!==i&&clearTimeout(i),void 0!==o&&clearTimeout(o),i=o=void 0}function l(){return i&&clearTimeout(i),i=s(u,t),a&&void 0===o&&(o=s(u,a)),r}return l.cancel=c,l.flush=function(){return void 0!==i||void 0!==o?u():r},l}(e,t,{...n,setTimeoutImpl:x.wg})}const _r=r.O.navigator;function Sr(e){let t=!1;return(n,r)=>{if(!e.checkAndHandleExpiredSession())return void(kn&&Tn.warn("Received replay event after session expired."));const i=r||!t;t=!0,e.clickDetector&&an(e.clickDetector,n),e.addUpdate(()=>{if("buffer"===e.recordingMode&&i&&e.setInitialState(),!Wn(e,n,i))return!0;if(!i)return!1;const t=e.session;if(function(e,t){if(!t||0!==e.session?.segmentId)return;Wn(e,function(e){const t=e.getOptions();return{type:et.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,i),"buffer"===e.recordingMode&&t&&e.eventBuffer&&!t.dirty){const n=e.eventBuffer.getEarliestTimestamp();n&&(kn&&Tn.log(`Updating session start time to earliest event in buffer to ${new Date(n)}`),t.started=n,e.getOptions().stickySession&&jn(t))}return t?.previousSessionId||"session"===e.recordingMode&&e.flush(),!0})}}function kr(e,t,n,r){return(0,w.h4)((0,w.n2)(e,(0,w.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 Cr({recordingData:e,replayId:t,segmentId:n,eventContext:r,timestamp:i,session:o}){const a=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:s,errorIds:u,traceIds:c,initialTimestamp:l}=r,f=(0,h.KU)(),d=(0,h.o5)(),p=f?.getTransport(),m=f?.getDsn();if(!f||!p||!m||!o.sampled)return Promise.resolve({});const g={type:"replay_event",replay_start_timestamp:l/1e3,timestamp:i/1e3,error_ids:u,trace_ids:c,urls:s,replay_id:t,segment_id:n,replay_type:o.sampled},y=await async function({client:e,scope:t,replayId:n,event:r}){const i={event_id:n,integrations:"object"!==typeof e._integrations||null===e._integrations||Array.isArray(e._integrations)?void 0:Object.keys(e._integrations)};e.emit("preprocessEvent",r,i);const o=await(0,_.mG)(e.getOptions(),r,i,t,e,(0,h.rm)());if(!o)return null;e.emit("postprocessEvent",o,i),o.platform=o.platform||"javascript";const a=e.getSdkMetadata(),{name:s,version:u,settings:c}=a?.sdk||{};return o.sdk={...o.sdk,name:s||"sentry.javascript.unknown",version:u||"0.0.0",settings:c},o}({scope:d,client:f,replayId:t,event:g});if(!y)return f.recordDroppedEvent("event_processor","replay"),kn&&Tn.log("An event processor returned `null`, will not send event."),Promise.resolve({});delete y.sdkProcessingMetadata;const v=kr(y,a,m,f.getOptions().tunnel);let b;try{b=await p.send(v)}catch(Ur){const t=new Error(z);try{t.cause=Ur}catch{}throw t}const w=(0,S.wq)({},b);if((0,S.Jz)(w,"replay"))throw new xr(w);if("number"===typeof b.statusCode&&(b.statusCode<200||b.statusCode>=300))throw new Er(b.statusCode);return b}class Er extends Error{constructor(e){super(`Transport returned status code ${e}`)}}class xr extends Error{constructor(e){super("Rate limit hit"),this.rateLimits=e}}class Tr extends Error{constructor(){super("Session is too long, not sending replay")}}async function Or(e,t={count:0,interval:5e3}){const{recordingData:n,onError:r}=e;if(n.length)try{return await Cr(e),!0}catch(Ur){if(Ur instanceof Er||Ur instanceof xr)throw Ur;if((0,f.o)("Replays",{_retryCount:t.count}),r&&r(Ur),t.count>=3){const e=new Error(`${z} - max retries exceeded`);try{e.cause=Ur}catch{}throw e}return t.interval*=++t.count,new Promise((r,i)=>{(0,x.wg)(async()=>{try{await Or(e,t),r(!0)}catch(n){i(n)}},t.interval)})}}const Ar="__THROTTLED";function Ir(e,t,n){const r=new Map;let i=!1;return(...o)=>{const a=Math.floor(Date.now()/1e3);if((e=>{const t=e-n;r.forEach((e,n)=>{n<t&&r.delete(n)})})(a),[...r.values()].reduce((e,t)=>e+t,0)>=t){const e=i;return i=!0,e?"__SKIPPED":Ar}i=!1;const s=r.get(a)||0;return r.set(a,s+1),e(...o)}}class Rr{constructor({options:e,recordingOptions:t}){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._requiresManualStart=!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=wr(()=>this._flush(),this._options.flushMinDelay,{maxWait:this._options.flushMaxDelay}),this._throttledAddEvent=Ir((e,t)=>function(e,t,n){return Kn(e,t)?Hn(e,t,n):Promise.resolve(null)}(this,e,t),300,5);const{slowClickTimeout:n,slowClickIgnoreSelectors:r}=this.getOptions(),i=n?{threshold:Math.min(3e3,n),timeout:n,scrollTimeout:300,ignoreSelector:r?r.join(","):""}:void 0;if(i&&(this.clickDetector=new nn(this,i)),kn){const t=e._experiments;Tn.setConfig({captureExceptions:!!t.captureExceptions,traceInternals:!!t.traceInternals})}this._handleVisibilityChange=()=>{"visible"===P.document.visibilityState?this._doChangeToForegroundTasks():this._doChangeToBackgroundTasks()},this._handleWindowBlur=()=>{const e=sn({category:"ui.blur"});this._doChangeToBackgroundTasks(e)},this._handleWindowFocus=()=>{const e=sn({category:"ui.focus"});this._doChangeToForegroundTasks(e)},this._handleKeyboardEvent=e=>{hn(this,e)}}getContext(){return this._context}isEnabled(){return this._isEnabled}isPaused(){return this._isPaused}isRecordingCanvas(){return Boolean(this._canvas)}getOptions(){return this._options}handleException(e){kn&&Tn.exception(e),this._options.onError&&this._options.onError(e)}initializeSampling(e){const{errorSampleRate:t,sessionSampleRate:n}=this._options,r=t<=0&&n<=0;this._requiresManualStart=r,r||(this._initializeSessionForSampling(e),this.session?!1!==this.session.sampled&&(this.recordingMode="buffer"===this.session.sampled&&0===this.session.segmentId?"buffer":"session",kn&&Tn.infoTick(`Starting replay in ${this.recordingMode} mode`),this._initializeRecording()):kn&&Tn.exception(new Error("Unable to initialize and create session")))}start(){if(this._isEnabled&&"session"===this.recordingMode)return void(kn&&Tn.log("Recording is already in progress"));if(this._isEnabled&&"buffer"===this.recordingMode)return void(kn&&Tn.log("Buffering is in progress, call `flush()` to save the replay"));kn&&Tn.infoTick("Starting replay in session mode"),this._updateUserActivity();const e=$n({maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire},{stickySession:this._options.stickySession,sessionSampleRate:1,allowBuffering:!1});this.session=e,this.recordingMode="session",this._initializeRecording()}startBuffering(){if(this._isEnabled)return void(kn&&Tn.log("Buffering is in progress, call `flush()` to save the replay"));kn&&Tn.infoTick("Starting replay in buffer mode");const e=$n({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration},{stickySession:this._options.stickySession,sessionSampleRate:0,allowBuffering:!0});this.session=e,this.recordingMode="buffer",this._initializeRecording()}startRecording(){try{const e=this._canvas;this._stopRecording=Wt({...this._recordingOptions,..."buffer"===this.recordingMode?{checkoutEveryNms:6e4}:this._options._experiments.continuousCheckout&&{checkoutEveryNms:Math.max(36e4,this._options._experiments.continuousCheckout)},emit:Sr(this),.../iPhone|iPad|iPod/i.test(_r?.userAgent??"")||/Macintosh/i.test(_r?.userAgent??"")&&_r?.maxTouchPoints&&_r?.maxTouchPoints>1?{sampling:{mousemove:!1}}:{},onMutation:this._onMutationHandler.bind(this),...e?{recordCanvas:e.recordCanvas,getCanvasManager:e.getCanvasManager,sampling:e.sampling,dataURLOptions:e.dataURLOptions}:{}})}catch(Ur){this.handleException(Ur)}}stopRecording(){try{return this._stopRecording&&(this._stopRecording(),this._stopRecording=void 0),!0}catch(Ur){return this.handleException(Ur),!1}}async stop({forceFlush:e=!1,reason:t}={}){if(this._isEnabled){this._isEnabled=!1,this.recordingMode="buffer";try{kn&&Tn.log("Stopping Replay"+(t?` triggered by ${t}`:"")),er(),this._removeListeners(),this.stopRecording(),this._debouncedFlush.cancel(),e&&await this._flush({force:!0}),this.eventBuffer?.destroy(),this.eventBuffer=null,Mn(this)}catch(Ur){this.handleException(Ur)}}}pause(){this._isPaused||(this._isPaused=!0,this.stopRecording(),kn&&Tn.log("Pausing replay"))}resume(){this._isPaused&&this._checkSession()&&(this._isPaused=!1,this.startRecording(),kn&&Tn.log("Resuming replay"))}async sendBufferedReplayOrFlush({continueRecording:e=!0}={}){if("session"===this.recordingMode)return this.flushImmediate();const t=Date.now();kn&&Tn.log("Converting buffer to session"),await this.flushImmediate();const n=this.stopRecording();e&&n&&"session"!==this.recordingMode&&(this.recordingMode="session",this.session&&(this.session.dirty=!1,this._updateUserActivity(t),this._updateSessionActivity(t),this._maybeSaveSession()),this.startRecording())}addUpdate(e){const t=e();"buffer"!==this.recordingMode&&this._isEnabled&&!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(e){if(!e||!1!==this.session?.sampled)return this.session?.id}checkAndHandleExpiredSession(){if(!this._lastActivity||!Bn(this._lastActivity,this.timeouts.sessionIdlePause)||"session"!==this.session?.sampled)return!!this._checkSession();this.pause()}setInitialState(){const e=`${P.location.pathname}${P.location.hash}${P.location.search}`,t=`${P.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===Ar){const e=sn({category:"replay.throttled"});this.addUpdate(()=>!Wn(this,{type:5,timestamp:e.timestamp||0,data:{tag:"breadcrumb",payload:e,metric:!0}}))}return n}getCurrentRoute(){const e=this.lastActiveSpan||(0,p.Bk)(),t=e&&(0,p.zU)(e),n=(t&&(0,p.et)(t).data||{})[k.i_];if(t&&n&&["route","custom"].includes(n))return(0,p.et)(t).description}_initializeRecording(){this.setInitialState(),this._updateSessionActivity(),this.eventBuffer=Dn({useCompression:this._options.useCompression,workerUrl:this._options.workerUrl}),this._removeListeners(),this._addListeners(),this._isEnabled=!0,this._isPaused=!1,this.startRecording()}_initializeSessionForSampling(e){const t=this._options.errorSampleRate>0,n=$n({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration,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!qn(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{P.document.addEventListener("visibilitychange",this._handleVisibilityChange),P.addEventListener("blur",this._handleWindowBlur),P.addEventListener("focus",this._handleWindowFocus),P.addEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.addListeners(),this._hasInitializedCoreListeners||(!function(e){const t=(0,h.KU)();(0,I.i)(fn(e)),(0,R._)(rr(e)),Zn(e),vr(e);const n=tr(e);(0,f.SA)(n),t&&(t.on("beforeSendEvent",Gn(e)),t.on("afterSendEvent",Jn(e)),t.on("createDsc",t=>{const n=e.getSessionId();n&&e.isEnabled()&&"session"===e.recordingMode&&e.checkAndHandleExpiredSession()&&(t.replay_id=n)}),t.on("spanStart",t=>{e.lastActiveSpan=t}),t.on("spanEnd",t=>{e.lastActiveSpan=t}),t.on("beforeSendFeedback",async(t,n)=>{const r=e.getSessionId();n?.includeReplay&&e.isEnabled()&&r&&t.contexts?.feedback&&("api"===t.contexts.feedback.source&&await e.sendBufferedReplayOrFlush(),t.contexts.feedback.replay_id=r)}),t.on("openFeedbackWidget",async()=>{await e.sendBufferedReplayOrFlush()}))}(this),this._hasInitializedCoreListeners=!0)}catch(Ur){this.handleException(Ur)}this._performanceCleanupCallback=function(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,T.wv)(e,n))}),r.push((0,T.Pt)(mn(vn,e)),(0,T.a9)(mn(wn,e)),(0,T.hT)(mn(_n,e))),()=>{r.forEach(e=>e())}}(this)}_removeListeners(){try{P.document.removeEventListener("visibilitychange",this._handleVisibilityChange),P.removeEventListener("blur",this._handleWindowBlur),P.removeEventListener("focus",this._handleWindowFocus),P.removeEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.removeListeners(),this._performanceCleanupCallback&&this._performanceCleanupCallback()}catch(Ur){this.handleException(Ur)}}_doChangeToBackgroundTasks(e){if(!this.session)return;Un(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):kn&&Tn.log("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:et.Custom,timestamp:e.timestamp||0,data:{tag:"breadcrumb",payload:e}})})}_addPerformanceEntries(){let e=(t=this.performanceEntries,t.map(gn).filter(Boolean)).concat(this.replayPerformanceEntries);var t;if(this.performanceEntries=[],this.replayPerformanceEntries=[],this._requiresManualStart){const t=this._context.initialTimestamp/1e3;e=e.filter(e=>e.start>=t)}return Promise.all(nr(this,e))}_clearContext(){this._context.errorIds.clear(),this._context.traceIds.clear(),this._context.urls=[]}_updateInitialTimestampFromEventBuffer(){const{session:e,eventBuffer:t}=this;if(!e||!t||this._requiresManualStart)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?.hasEvents&&(await async function(e){try{return Promise.all(nr(e,[br(P.performance.memory)]))}catch{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 Tr;const n=this._popEventContext(),r=this.session.segmentId++;this._maybeSaveSession();const i=await this.eventBuffer.finish();await Or({replayId:e,recordingData:i,segmentId:r,eventContext:n,session:this.session,timestamp:t,onError:e=>this.handleException(e)})}catch(Ur){this.handleException(Ur),this.stop({reason:"sendReplay"});const t=(0,h.KU)();if(t){let n;n=Ur instanceof xr?"ratelimit_backoff":Ur instanceof Tr?"invalid":"send_error",t.recordDroppedEvent(n,"replay")}}}else kn&&Tn.error("No session or eventBuffer found to flush.")}async _flush({force:e=!1}={}){if(!this._isEnabled&&!e)return;if(!this.checkAndHandleExpiredSession())return void(kn&&Tn.error("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,i=n>this._options.maxReplayDuration+5e3;if(r||i)return kn&&Tn.log(`Session duration (${Math.floor(n/1e3)}s) is too ${r?"short":"long"}, not sending replay.`),void(r&&this._debouncedFlush());const o=this.eventBuffer;o&&0===this.session.segmentId&&!o.hasCheckout&&kn&&Tn.log("Flushing initial segment without checkout.");const a=!!this._flushLock;this._flushLock||(this._flushLock=this._runFlush());try{await this._flushLock}catch(Ur){this.handleException(Ur)}finally{this._flushLock=void 0,a&&this._debouncedFlush()}}_maybeSaveSession(){this.session&&this._options.stickySession&&jn(this.session)}_onMutationHandler(e){const{ignoreMutations:t}=this._options._experiments;if(t?.length&&e.some(e=>{const n=function(e){if(!e)return null;try{return e.nodeType===e.ELEMENT_NODE?e:e.parentElement}catch{return null}}(e.target),r=t.join(",");return n?.matches(r)}))return!1;const n=e.length,r=this._options.mutationLimit,i=r&&n>r;if(n>this._options.mutationBreadcrumbLimit||i){const e=sn({category:"replay.mutations",data:{count:n,limit:i}});this._createCustomBreadcrumb(e)}return!i||(this.stop({reason:"mutationLimit",forceFlush:"session"===this.recordingMode}),!1)}}function Pr(e,t){return[...e,...t].join(",")}const Dr='img,image,svg,video,object,picture,embed,map,audio,link[rel="icon"],link[rel="apple-touch-icon"]',zr=["content-length","content-type","accept"],Mr=Symbol.for("sentry__originalRequestBody");let Nr=!1,jr=!1;const Lr=e=>new Fr(e);class Fr{constructor({flushMinDelay:e=5e3,flushMaxDelay:t=5500,minReplayDuration:n=4999,maxReplayDuration:r=36e5,stickySession:i=!0,useCompression:o=!0,workerUrl:a,_experiments:s={},maskAllText:u=!0,maskAllInputs:c=!0,blockAllMedia:l=!0,mutationBreadcrumbLimit:f=750,mutationLimit:d=1e4,slowClickTimeout:h=7e3,slowClickIgnoreSelectors:p=[],networkDetailAllowUrls:m=[],networkDetailDenyUrls:g=[],networkCaptureBodies:y=!0,networkRequestHeaders:v=[],networkResponseHeaders:b=[],mask:w=[],maskAttributes:_=["title","placeholder","aria-label"],unmask:S=[],block:k=[],unblock:E=[],ignore:x=[],maskFn:T,beforeAddRecordingEvent:O,beforeErrorSampling:A,onError:I,attachRawBodyFromRequest:R=!1}={}){this.name="Replay";const P=function({mask:e,unmask:t,block:n,unblock:r,ignore:i}){return{maskTextSelector:Pr(e,[".sentry-mask","[data-sentry-mask]"]),unmaskTextSelector:Pr(t,[]),blockSelector:Pr(n,[".sentry-block","[data-sentry-block]","base","iframe[srcdoc]:not([src])"]),unblockSelector:Pr(r,[]),ignoreSelector:Pr(i,[".sentry-ignore","[data-sentry-ignore]",'input[type="file"]'])}}({mask:w,unmask:S,block:k,unblock:E,ignore:x});if(this._recordingOptions={maskAllInputs:c,maskAllText:u,maskInputOptions:{password:!0},maskTextFn:T,maskInputFn:T,maskAttributeFn:(e,t,n)=>function({el:e,key:t,maskAttributes:n,maskAllText:r,privacyOptions:i,value:o}){return r?i.unmaskTextSelector&&e.matches(i.unmaskTextSelector)?o:n.includes(t)||"value"===t&&"INPUT"===e.tagName&&["submit","button"].includes(e.getAttribute("type")||"")?o.replace(/[\S]/g,"*"):o:o}({maskAttributes:_,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{}},recordCrossOriginIframes:Boolean(s.recordCrossOriginIframes)},this._initialOptions={flushMinDelay:e,flushMaxDelay:t,minReplayDuration:Math.min(n,5e4),maxReplayDuration:Math.min(r,L),stickySession:i,useCompression:o,workerUrl:a,blockAllMedia:l,maskAllInputs:c,maskAllText:u,mutationBreadcrumbLimit:f,mutationLimit:d,slowClickTimeout:h,slowClickIgnoreSelectors:p,networkDetailAllowUrls:m,networkDetailDenyUrls:g,networkCaptureBodies:y,networkRequestHeaders:Br(v),networkResponseHeaders:Br(b),beforeAddRecordingEvent:O,beforeErrorSampling:A,onError:I,attachRawBodyFromRequest:R,_experiments:s},this._initialOptions.blockAllMedia&&(this._recordingOptions.blockSelector=this._recordingOptions.blockSelector?`${this._recordingOptions.blockSelector},${Dr}`:Dr,this._recordingOptions.ignoreCSSAttributes=new Set(["background-image"])),this._isInitialized&&(0,C.B)())throw new Error("Multiple Sentry Session Replay instances are not supported");this._isInitialized=!0}get _isInitialized(){return Nr}set _isInitialized(e){Nr=e}afterAllSetup(e){(0,C.B)()&&!this._replay&&(this._initialOptions.attachRawBodyFromRequest&&function(){if("undefined"===typeof Request||jr)return;const e=Request;try{const t=function(t,n){const r=new e(t,n);return null!=n?.body&&(r[Mr]=n.body),r};t.prototype=e.prototype,r.O.Request=t,jr=!0}catch{}}(),this._setup(e),this._initialize(e))}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):(this._replay.start(),Promise.resolve()):Promise.resolve()}getReplayId(e){if(this._replay?.isEnabled())return this._replay.getSessionId(e)}getRecordingMode(){if(this._replay?.isEnabled())return this._replay.recordingMode}_initialize(e){this._replay&&(this._maybeLoadFromReplayCanvasIntegration(e),this._replay.initializeSampling())}_setup(e){const t=function(e,t){const n=t.getOptions(),r={sessionSampleRate:0,errorSampleRate:0,...e},i=(0,E.i)(n.replaysSessionSampleRate),o=(0,E.i)(n.replaysOnErrorSampleRate);null==i&&null==o&&(0,c.pq)(()=>{});null!=i&&(r.sessionSampleRate=i);null!=o&&(r.errorSampleRate=o);return r}(this._initialOptions,e);this._replay=new Rr({options:t,recordingOptions:this._recordingOptions})}_maybeLoadFromReplayCanvasIntegration(e){try{const t=e.getIntegrationByName("ReplayCanvas");if(!t)return;this._replay._canvas=t.getOptions()}catch{}}}function Br(e){return[...zr,...e.map(e=>e.toLowerCase())]}},89196:(e,t,n)=>{"use strict";n.d(t,{T:()=>r});const r="undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},30231:(e,t,n)=>{"use strict";n.d(t,{AP:()=>h,LV:()=>d,jN:()=>f,jf:()=>c});var r=n(6732),i=n(13216),o=n(39477),a=n(22931),s=n(42414),u=n(50659);const c=r.O;let l=0;function f(){return l>0}function d(e,t={}){if(!function(e){return"function"===typeof e}(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{return e}const n=function(...n){try{const r=n.map(e=>d(e,t));return e.apply(this,r)}catch(r){throw l++,setTimeout(()=>{l--}),(0,o.v4)(e=>{e.addEventProcessor(e=>(t.mechanism&&((0,a.gO)(e,void 0,void 0),(0,a.M6)(e,t.mechanism)),e.extra={...e.extra,arguments:n},e)),(0,s.Cp)(r)}),r}};try{for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n[t]=e[t])}catch{}(0,i.pO)(n,e),(0,i.my)(e,"__sentry_wrapped__",n);try{Object.getOwnPropertyDescriptor(n,"name").configurable&&Object.defineProperty(n,"name",{get:()=>e.name})}catch{}return n}function h(){const e=(0,u.$N)(),{referrer:t}=c.document||{},{userAgent:n}=c.navigator||{};return{url:e,headers:{...t&&{Referer:t},...n&&{"User-Agent":n}}}}},20984:(e,t,n)=>{"use strict";n.d(t,{f:()=>H});var r=n(34129),i=n(13034),o=n(85529),a=n(54887),s=n(89196),u=n(30231),c=n(82558),l=n(22931),f=n(39477),d=n(6732),h=n(23876),p=n(56111),m=n(69131);const g=1e6,y="window"in d.O&&d.O.window===d.O&&"undefined"===typeof importScripts,v=String(0),b=y?"main":"worker",w=u.jf.navigator;let _="",S="",k="",C=w?.userAgent||"",E="";const x=w?.language||w?.languages?.[0]||"";const T=w?.userAgentData;var O;function A(e){return function(e){return!("thread_metadata"in e)}(e)?function(e){let t,n=0;const r={samples:[],stacks:[],frames:[],thread_metadata:{[v]:{name:b}}},i=e.samples[0];if(!i)return r;const o=i.timestamp,a=(0,c.k3)(),s="number"===typeof performance.timeOrigin?performance.timeOrigin:a||0,u=s-(a||s);return e.samples.forEach((i,a)=>{if(void 0===i.stackId)return void 0===t&&(t=n,r.stacks[t]=[],n++),void(r.samples[a]={elapsed_since_start_ns:((i.timestamp+u-o)*g).toFixed(0),stack_id:t,thread_id:v});let s=e.stacks[i.stackId];const c=[];for(;s;){c.push(s.frameId);const t=e.frames[s.frameId];t&&void 0===r.frames[s.frameId]&&(r.frames[s.frameId]={function:t.name,abs_path:"number"===typeof t.resourceId?e.resources[t.resourceId]:void 0,lineno:t.line,colno:t.column}),s=void 0===s.parentId?void 0:e.stacks[s.parentId]}const l={elapsed_since_start_ns:((i.timestamp+u-o)*g).toFixed(0),stack_id:n,thread_id:v};r.stacks[n]=c,r.samples[a]=l,n++}),r}(e):e}function I(e,t,n,i){if("transaction"!==i.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 o=function(e){const t=e.contexts?.trace?.trace_id;return"string"===typeof t&&32!==t.length&&s.T&&r.Yz.log(`[Profiling] Invalid traceId: ${t} on profiled event`),"string"!==typeof t?"":t}(i),a=A(n),f=t||("number"===typeof i.start_timestamp?1e3*i.start_timestamp:1e3*(0,c.zf)()),d="number"===typeof i.timestamp?1e3*i.timestamp:1e3*(0,c.zf)();return{event_id:e,timestamp:new Date(f).toISOString(),platform:"javascript",version:"1",release:i.release||"",environment:i.environment||h.U,runtime:{name:"javascript",version:u.jf.navigator.userAgent},os:{name:_,version:S,build_number:C},device:{locale:x,model:E,manufacturer:C,architecture:k,is_emulator:!1},debug_meta:{images:D(n.resources)},profile:a,transactions:[{name:i.transaction||"",id:i.event_id||(0,l.eJ)(),trace_id:o,active_thread_id:v,relative_start_ns:"0",relative_end_ns:(1e6*(d-f)).toFixed(0)}]}}function R(e,t,n){if(null==e)throw new TypeError(`Cannot construct profiling event envelope without a valid profile. Got ${e} instead.`);const r=function(e){const t=[];for(let s=0;s<e.frames.length;s++){const n=e.frames[s];n&&(t[s]={function:n.name,abs_path:"number"===typeof n.resourceId?e.resources[n.resourceId]:void 0,lineno:n.line,colno:n.column})}const n=[];for(let s=0;s<e.stacks.length;s++){const t=e.stacks[s];if(!t)continue;const r=[];let i=t;for(;i;)r.push(i.frameId),i=void 0===i.parentId?void 0:e.stacks[i.parentId];n[s]=r}const r=(0,c.k3)(),i="number"===typeof performance.timeOrigin?performance.timeOrigin:r||0,o=i-(r||i),a=[];for(let s=0;s<e.samples.length;s++){const t=e.samples[s];if(!t)continue;const n=(i+(t.timestamp-o))/1e3;a[s]={stack_id:t.stackId??0,thread_id:v,timestamp:n}}return{frames:t,stacks:n,samples:a,thread_metadata:{[v]:{name:b}}}}(e),i=t.getOptions(),o=t.getSdkMetadata?.()?.sdk;return{chunk_id:(0,l.eJ)(),client_sdk:{name:o?.name??"sentry.javascript.browser",version:o?.version??"0.0.0"},profiler_id:n||(0,l.eJ)(),platform:"javascript",version:"2",release:i.release??"",environment:i.environment??"production",debug_meta:{images:D(e.resources)},profile:r}}function P(e){return"pageload"===(0,i.et)(e).op}function D(e){const t=(0,f.KU)(),n=t?.getOptions(),r=n?.stackParser;return r?(0,m.i)(r,e):[]}function z(e){return"number"!==typeof e&&"boolean"!==typeof e||"number"===typeof e&&isNaN(e)?(s.T&&r.Yz.warn(`[Profiling] Invalid sample rate. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(e)} of type ${JSON.stringify(typeof e)}.`),!1):!0===e||!1===e||(!(e<0||e>1)||(s.T&&r.Yz.warn(`[Profiling] Invalid sample rate. Sample rate must be between 0 and 1. Got ${e}.`),!1))}"object"===typeof(O=T)&&null!==O&&"getHighEntropyValues"in O&&T.getHighEntropyValues(["architecture","model","platform","platformVersion","fullVersionList"]).then(e=>{if(_=e.platform||"",k=e.architecture||"",E=e.model||"",S=e.platformVersion||"",e.fullVersionList?.length){const t=e.fullVersionList[e.fullVersionList.length-1];C=`${t.brand} ${t.version}`}}).catch(e=>{});let M=!1;function N(){const e=u.jf.Profiler;if("function"!==typeof e)return void(s.T&&r.Yz.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){s.T&&(r.Yz.log("[Profiling] Failed to initialize the Profiling constructor, this is likely due to a missing 'Document-Policy': 'js-profiling' header."),r.Yz.log("[Profiling] Disabling profiling for current user session.")),M=!0}}function j(e){if(M)return s.T&&r.Yz.log("[Profiling] Profiling has been disabled for the duration of the current user session."),!1;if(!e.isRecording())return s.T&&r.Yz.log("[Profiling] Discarding profile because root span was not sampled."),!1;const t=(0,f.KU)(),n=t?.getOptions();if(!n)return s.T&&r.Yz.log("[Profiling] Profiling disabled, no options found."),!1;const i=n.profilesSampleRate;if(!z(i))return s.T&&r.Yz.warn("[Profiling] Discarding profile because of invalid sample rate."),!1;if(!i)return s.T&&r.Yz.log("[Profiling] Discarding profile because a negative sampling decision was inherited or profileSampleRate is set to 0"),!1;return!!(!0===i||Math.random()<i)||(s.T&&r.Yz.log(`[Profiling] Discarding profile because it's not included in the random sample (sampling rate = ${Number(i)})`),!1)}function L(e){return"undefined"!==typeof e.profilesSampleRate}function F(e,t,n,i){return function(e){return e.samples.length<2?(s.T&&r.Yz.log("[Profiling] Discarding profile because it contains less than 2 samples"),!1):!!e.frames.length||(s.T&&r.Yz.log("[Profiling] Discarding profile because it contains no frames"),!1)}(n)?I(e,t,n,i):null}const B=new Map;function U(e){const t=B.get(e);return t&&B.delete(e),t}function q(e){let t;P(e)&&(t=1e3*(0,c.zf)());const n=N();if(!n)return;s.T&&r.Yz.log(`[Profiling] started profiling span: ${(0,i.et)(e).description}`);const o=(0,l.eJ)();let a=null;async function d(){if(e&&n){if(!a)return n.stop().then(t=>{h&&(u.jf.clearTimeout(h),h=void 0),s.T&&r.Yz.log(`[Profiling] stopped profiling of span: ${(0,i.et)(e).description}`),t?(a=t,function(e,t){if(B.set(e,t),B.size>30){const e=B.keys().next().value;void 0!==e&&B.delete(e)}}(o,t)):s.T&&r.Yz.log(`[Profiling] profiler returned null profile for: ${(0,i.et)(e).description}`,"this may indicate an overlapping span or a call to stopProfiling with a profile title that was never started")}).catch(e=>{s.T&&r.Yz.log("[Profiling] error while stopping profiler:",e)});s.T&&r.Yz.log("[Profiling] profile for:",(0,i.et)(e).description,"already exists, returning early")}}(0,f.o5)().setContext("profile",{profile_id:o,start_timestamp:t});let h=u.jf.setTimeout(()=>{s.T&&r.Yz.log("[Profiling] max profile duration elapsed, stopping profiling for:",(0,i.et)(e).description),d()},3e4);const p=e.end.bind(e);e.end=function(){return e?(d().then(()=>{p()},()=>{p()}),e):p()}}var $=n(50718);class W{constructor(){this._client=void 0,this._profiler=void 0,this._chunkTimer=void 0,this._profilerId=void 0,this._isRunning=!1,this._sessionSampled=!1,this._lifecycleMode=void 0,this._activeRootSpanIds=new Set,this._rootSpanTimeouts=new Map}initialize(e){const t=e.getOptions().profileLifecycle,n=function(e){if(M)return s.T&&r.Yz.log("[Profiling] Profiling has been disabled for the duration of the current user session as the JS Profiler could not be started."),!1;if("trace"!==e.profileLifecycle&&"manual"!==e.profileLifecycle)return s.T&&r.Yz.warn("[Profiling] Session not sampled. Invalid `profileLifecycle` option."),!1;const t=e.profileSessionSampleRate;return z(t)?t?Math.random()<=t:(s.T&&r.Yz.log("[Profiling] Discarding profile because profileSessionSampleRate is not defined or set to 0"),!1):(s.T&&r.Yz.warn("[Profiling] Discarding profile because of invalid profileSessionSampleRate."),!1)}(e.getOptions());s.T&&r.Yz.log(`[Profiling] Initializing profiler (lifecycle='${t}').`),n||s.T&&r.Yz.log("[Profiling] Session not sampled. Skipping lifecycle profiler initialization."),this._profilerId=(0,l.eJ)(),this._client=e,this._sessionSampled=n,this._lifecycleMode=t,"trace"===t&&this._setupTraceLifecycleListeners(e)}start(){"trace"!==this._lifecycleMode?this._isRunning?s.T&&r.Yz.warn("[Profiling] Profile session is already running, `uiProfiler.start()` is a no-op."):this._sessionSampled?this._beginProfiling():s.T&&r.Yz.warn("[Profiling] Session is not sampled, `uiProfiler.start()` is a no-op."):s.T&&r.Yz.warn('[Profiling] `profileLifecycle` is set to "trace". Calls to `uiProfiler.start()` are ignored in trace mode.')}stop(){"trace"!==this._lifecycleMode?this._isRunning?this._endProfiling():s.T&&r.Yz.warn("[Profiling] Profiler is not running, `uiProfiler.stop()` is a no-op."):s.T&&r.Yz.warn('[Profiling] `profileLifecycle` is set to "trace". Calls to `uiProfiler.stop()` are ignored in trace mode.')}notifyRootSpanActive(e){if("trace"!==this._lifecycleMode||!this._sessionSampled)return;const t=e.spanContext().spanId;if(!t||this._activeRootSpanIds.has(t))return;this._registerTraceRootSpan(t);const n=this._activeRootSpanIds.size;1===n&&(s.T&&r.Yz.log("[Profiling] Detected already active root span during setup. Active root spans now:",n),this._beginProfiling())}_beginProfiling(){if(!this._isRunning){if(this._isRunning=!0,s.T&&r.Yz.log("[Profiling] Started profiling with profiler ID:",this._profilerId),(0,f.m6)().setContext("profile",{profiler_id:this._profilerId}),this._startProfilerInstance(),!this._profiler)return s.T&&r.Yz.log("[Profiling] Failed to start JS Profiler; stopping."),void this._resetProfilerInfo();this._startPeriodicChunking()}}_endProfiling(){this._isRunning&&(this._isRunning=!1,this._chunkTimer&&(clearTimeout(this._chunkTimer),this._chunkTimer=void 0),this._clearAllRootSpanTimeouts(),this._collectCurrentChunk().catch(e=>{s.T&&r.Yz.error("[Profiling] Failed to collect current profile chunk on `stop()`:",e)}),"manual"===this._lifecycleMode&&(0,f.m6)().setContext("profile",{}))}_setupTraceLifecycleListeners(e){e.on("spanStart",e=>{if(!this._sessionSampled)return void(s.T&&r.Yz.log("[Profiling] Span not profiled because of negative sampling decision for user session."));if(e!==(0,i.zU)(e))return;if(!e.isRecording())return void(s.T&&r.Yz.log("[Profiling] Discarding profile because root span was not sampled."));const t=e.spanContext().spanId;if(!t||this._activeRootSpanIds.has(t))return;this._registerTraceRootSpan(t);const n=this._activeRootSpanIds.size;1===n&&(s.T&&r.Yz.log(`[Profiling] Root span ${t} started. Profiling active while there are active root spans (count=${n}).`),this._beginProfiling())}),e.on("spanEnd",e=>{if(!this._sessionSampled)return;const t=e.spanContext().spanId;if(!t||!this._activeRootSpanIds.has(t))return;this._activeRootSpanIds.delete(t);const n=this._activeRootSpanIds.size;s.T&&r.Yz.log(`[Profiling] Root span with ID ${t} ended. Will continue profiling for as long as there are active root spans (currently: ${n}).`),0===n&&(this._collectCurrentChunk().catch(e=>{s.T&&r.Yz.error("[Profiling] Failed to collect current profile chunk on last `spanEnd`:",e)}),this._endProfiling())})}_resetProfilerInfo(){this._isRunning=!1,(0,f.m6)().setContext("profile",{})}_clearAllRootSpanTimeouts(){this._rootSpanTimeouts.forEach(e=>clearTimeout(e)),this._rootSpanTimeouts.clear()}_registerTraceRootSpan(e){this._activeRootSpanIds.add(e);const t=setTimeout(()=>this._onRootSpanTimeout(e),3e5);this._rootSpanTimeouts.set(e,t)}_startProfilerInstance(){if(!1===this._profiler?.stopped)return;const e=N();e?this._profiler=e:s.T&&r.Yz.log("[Profiling] Failed to start JS Profiler.")}_startPeriodicChunking(){this._isRunning&&(this._chunkTimer=setTimeout(()=>{if(this._collectCurrentChunk().catch(e=>{s.T&&r.Yz.error("[Profiling] Failed to collect current profile chunk during periodic chunking:",e)}),this._isRunning){if(this._startProfilerInstance(),!this._profiler)return void this._resetProfilerInfo();this._startPeriodicChunking()}},6e4))}_onRootSpanTimeout(e){this._rootSpanTimeouts.has(e)&&(this._rootSpanTimeouts.delete(e),this._activeRootSpanIds.has(e)&&(s.T&&r.Yz.log(`[Profiling] Reached 5-minute timeout for root span ${e}. You likely started a manual root span that never called \`.end()\`.`),this._activeRootSpanIds.delete(e),0===this._activeRootSpanIds.size&&this._endProfiling()))}async _collectCurrentChunk(){const e=this._profiler;if(this._profiler=void 0,e)try{const t=R(await e.stop(),this._client,this._profilerId),n=function(e){try{if(!e||"object"!==typeof e)return{reason:"chunk is not an object"};const t=e=>"string"===typeof e&&/^[a-f0-9]{32}$/.test(e);if(!t(e.profiler_id))return{reason:"missing or invalid profiler_id"};if(!t(e.chunk_id))return{reason:"missing or invalid chunk_id"};if(!e.client_sdk)return{reason:"missing client_sdk metadata"};const n=e.profile;return n?Array.isArray(n.frames)&&n.frames.length?Array.isArray(n.stacks)&&n.stacks.length?Array.isArray(n.samples)&&n.samples.length?{valid:!0}:{reason:"profile has no samples"}:{reason:"profile has no stacks"}:{reason:"profile has no frames"}:{reason:"missing profile data"}}catch(t){return{reason:`unknown validation error: ${t}`}}}(t);if("reason"in n)return void(s.T&&r.Yz.log("[Profiling] Discarding invalid profile chunk (this is probably a bug in the SDK):",n.reason));this._sendProfileChunk(t),s.T&&r.Yz.log("[Profiling] Collected browser profile chunk.")}catch(t){s.T&&r.Yz.log("[Profiling] Error while stopping JS Profiler for chunk:",t)}}_sendProfileChunk(e){const t=this._client,n=(0,p.Cj)(t.getSdkMetadata?.()),i=t.getDsn(),o=t.getOptions().tunnel,a=(0,p.h4)({event_id:(0,l.eJ)(),sent_at:(new Date).toISOString(),...n&&{sdk:n},...!!o&&i&&{dsn:(0,$.SB)(i)}},[[{type:"profile_chunk",platform:"javascript"},e]]);t.sendEnvelope(a).then(null,e=>{s.T&&r.Yz.error("Error while sending profile chunk envelope:",e)})}}const H=(0,a._C)(()=>({name:"BrowserProfiling",setup(e){const t=e.getOptions(),n=new W;if(L(t)||t.profileLifecycle||(t.profileLifecycle="manual"),L(t)&&!t.profilesSampleRate)return void(s.T&&r.Yz.log("[Profiling] Profiling disabled, no profiling options found."));const a=(0,i.Bk)(),c=a&&(0,i.zU)(a);if(L(t)&&void 0!==t.profileSessionSampleRate&&s.T&&r.Yz.warn("[Profiling] Both legacy profiling (`profilesSampleRate`) and UI profiling settings are defined. `profileSessionSampleRate` has no effect when legacy profiling is enabled."),L(t))c&&P(c)&&j(c)&&q(c),e.on("spanStart",e=>{e===(0,i.zU)(e)&&j(e)&&q(e)}),e.on("beforeEnvelope",e=>{if(!B.size)return;const t=function(e){const t=[];return(0,p.yH)(e,(e,n)=>{if("transaction"===n)for(let r=1;r<e.length;r++){const n=e[r];n?.contexts?.profile?.profile_id&&t.push(e[r])}}),t}(e);if(!t.length)return;const n=[];for(const i of t){const e=i?.contexts,t=e?.profile?.profile_id,o=e?.profile?.start_timestamp;if("string"!==typeof t){s.T&&r.Yz.log("[Profiling] cannot find profile for a span without a profile context");continue}if(!t){s.T&&r.Yz.log("[Profiling] cannot find profile for a span without a profile context");continue}e?.profile&&delete e.profile;const a=U(t);if(!a){s.T&&r.Yz.log(`[Profiling] Could not retrieve profile for span: ${t}`);continue}const u=F(t,o,a,i);u&&n.push(u)}!function(e,t){if(!t.length)return e;for(const n of t)e[1].push([{type:"profile"},n])}(e,n)});else{const a=t.profileLifecycle;if(e.on("startUIProfiler",()=>n.start()),e.on("stopUIProfiler",()=>n.stop()),"manual"===a)n.initialize(e);else if("trace"===a){if(!(0,o.f)(t))return void(s.T&&r.Yz.warn("[Profiling] `profileLifecycle` is 'trace' but tracing is disabled. Set a `tracesSampleRate` or `tracesSampler` to enable span tracing."));n.initialize(e),c&&n.notifyRootSpanActive(c),u.jf.setTimeout(()=>{const e=(0,i.Bk)(),t=e&&(0,i.zU)(e);t&&n.notifyRootSpanActive(t)},0)}}},processEvent:e=>function(e){return e?.contexts?.profile&&e.contexts?(e.contexts.trace?.trace_id&&(e.contexts.trace={...e.contexts.trace,data:{...e.contexts.trace.data??{},"thread.id":v,"thread.name":b}}),e.spans?.forEach(e=>{e.data={...e.data||{},"thread.id":v,"thread.name":b}}),e):e}(e)}))},33809:(e,t,n)=>{"use strict";n.d(t,{dp:()=>Xe});var r=n(39477),i=n(64035),o=n(86032),a=n(34129),s=n(85529),u=n(38632),c=n(58016),l=n(13034),f=n(82558),d=n(58445),h=n(52510);class p{constructor(e={}){this._traceId=e.traceId||(0,h.e)(),this._spanId=e.spanId||(0,h.Z)()}spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:l.CC}}end(e){}setAttribute(e,t){return this}setAttributes(e){return this}setStatus(e){return this}updateName(e){return this}isRecording(){return!1}addEvent(e,t,n){return this}addLink(e){return this}addLinks(e){return this}recordException(e,t){}}var m=n(16113);function g(e){if(!e||0===e.length)return;const t={};return e.forEach(e=>{const n=e.attributes||{},r=n[o.Sn],i=n[o.xc];"string"===typeof r&&"number"===typeof i&&(t[e.name]={value:i,unit:r})}),t}var y=n(26181);class v{constructor(e={}){this._traceId=e.traceId||(0,h.e)(),this._spanId=e.spanId||(0,h.Z)(),this._startTime=e.startTimestamp||(0,f.zf)(),this._links=e.links,this._attributes={},this.setAttributes({[o.JD]:"manual",[o.uT]:e.op,...e.attributes}),this._name=e.name,e.parentSpanId&&(this._parentSpanId=e.parentSpanId),"sampled"in e&&(this._sampled=e.sampled),e.endTimestamp&&(this._endTime=e.endTimestamp),this._events=[],this._isStandaloneSpan=e.isStandalone,this._endTime&&this._onSpanEnded()}addLink(e){return this._links?this._links.push(e):this._links=[e],this}addLinks(e){return this._links?this._links.push(...e):this._links=e,this}recordException(e,t){}spanContext(){const{_spanId:e,_traceId:t,_sampled:n}=this;return{spanId:e,traceId:t,traceFlags:n?l.aO:l.CC}}setAttribute(e,t){return void 0===t?delete this._attributes[e]:this._attributes[e]=t,this}setAttributes(e){return Object.keys(e).forEach(t=>this.setAttribute(t,e[t])),this}updateStartTime(e){this._startTime=(0,l.cI)(e)}setStatus(e){return this._status=e,this}updateName(e){return this._name=e,this.setAttribute(o.i_,"custom"),this}end(e){this._endTime||(this._endTime=(0,l.cI)(e),function(e){if(!i.T)return;const{description:t="< unknown name >",op:n="< unknown op >"}=(0,l.et)(e),{spanId:r}=e.spanContext(),o=`[Tracing] Finishing "${n}" ${(0,l.zU)(e)===e?"root ":""}span "${t}" with ID ${r}`;a.Yz.log(o)}(this),this._onSpanEnded())}getSpanJSON(){return{data:this._attributes,description:this._name,op:this._attributes[o.uT],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:(0,l.yW)(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[o.JD],profile_id:this._attributes[o.E1],exclusive_time:this._attributes[o.jG],measurements:g(this._events),is_segment:this._isStandaloneSpan&&(0,l.zU)(this)===this||void 0,segment_id:this._isStandaloneSpan?(0,l.zU)(this).spanContext().spanId:void 0,links:(0,l.uU)(this._links)}}isRecording(){return!this._endTime&&!!this._sampled}addEvent(e,t,n){i.T&&a.Yz.log("[Tracing] Adding an event to span:",e);const r=b(t)?t:n||(0,f.zf)(),o=b(t)?{}:t||{},s={name:e,time:(0,l.cI)(r),attributes:o};return this._events.push(s),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){const e=(0,r.KU)();e&&e.emit("spanEnd",this);if(!(this._isStandaloneSpan||this===(0,l.zU)(this)))return;if(this._isStandaloneSpan)return void(this._sampled?function(e){const t=(0,r.KU)();if(!t)return;const n=e[1];if(!n||0===n.length)return void t.recordDroppedEvent("before_send","span");t.sendEnvelope(e)}((0,m.lu)([this],e)):(i.T&&a.Yz.log("[Tracing] Discarding standalone span because its trace was not chosen to be sampled."),e&&e.recordDroppedEvent("sample_rate","span")));const t=this._convertSpanToTransaction();if(t){((0,y.L)(this).scope||(0,r.o5)()).captureEvent(t)}}_convertSpanToTransaction(){if(!w((0,l.et)(this)))return;this._name||(i.T&&a.Yz.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>");const{scope:e,isolationScope:t}=(0,y.L)(this),n=e?.getScopeData().sdkProcessingMetadata?.normalizedRequest;if(!0!==this._sampled)return;const r=(0,l.xO)(this).filter(e=>e!==this&&!function(e){return e instanceof v&&e.isStandaloneSpan()}(e)).map(e=>(0,l.et)(e)).filter(w),s=this._attributes[o.i_];delete this._attributes[o.Le],r.forEach(e=>{delete e.data[o.Le]});const u={contexts:{trace:(0,l.Ck)(this)},spans:r.length>1e3?r.sort((e,t)=>e.start_timestamp-t.start_timestamp).slice(0,1e3):r,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{capturedSpanScope:e,capturedSpanIsolationScope:t,dynamicSamplingContext:(0,d.k1)(this)},request:n,...s&&{transaction_info:{source:s}}},c=g(this._events);return c&&Object.keys(c).length&&(i.T&&a.Yz.log("[Measurements] Adding measurements to transaction event",JSON.stringify(c,void 0,2)),u.measurements=c),u}}function b(e){return e&&"number"===typeof e||e instanceof Date||Array.isArray(e)}function w(e){return!!e.start_timestamp&&!!e.timestamp&&!!e.span_id&&!!e.trace_id}var _=n(6948),S=n(37816),k=n(58513),C=n(66115);function E(e,t,n=()=>{},r=()=>{}){let i;try{i=e()}catch(o){throw t(o),n(),o}return function(e,t,n,r){if((0,C.Qg)(e))return e.then(e=>(n(),r(e),e),e=>{throw t(e),n(),e});return n(),r(e),e}(i,t,n,r)}var x=n(86792);const T="__SENTRY_SUPPRESS_TRACING__";function O(e){const t=P();if(t.startInactiveSpan)return t.startInactiveSpan(e);const n=R(e),{forceTransaction:i,parentSpan:o}=e;return(e.scope?t=>(0,r.v4)(e.scope,t):void 0!==o?e=>A(o,e):e=>e())(()=>{const t=(0,r.o5)(),a=z(t,o);return e.onlyIfParent&&!a?new p:I({parentSpan:a,spanArguments:n,forceTransaction:i,scope:t})})}function A(e,t){const n=P();return n.withActiveSpan?n.withActiveSpan(e,t):(0,r.v4)(n=>((0,c.r)(n,e||void 0),t(n)))}function I({parentSpan:e,spanArguments:t,forceTransaction:n,scope:o}){if(!(0,s.f)()){const r=new p;if(n||!e){const e={sampled:"false",sample_rate:"0",transaction:t.name,...(0,d.k1)(r)};(0,d.LZ)(r,e)}return r}const u=(0,r.rm)();let c;if(e&&!n)c=function(e,t,n){const{spanId:i,traceId:o}=e.spanContext(),a=!t.getScopeData().sdkProcessingMetadata[T]&&(0,l.pK)(e),s=a?new v({...n,parentSpanId:i,traceId:o,sampled:a}):new p({traceId:o});(0,l.Hu)(e,s);const u=(0,r.KU)();u&&(u.emit("spanStart",s),n.endTimestamp&&u.emit("spanEnd",s));return s}(e,o,t),(0,l.Hu)(e,c);else if(e){const n=(0,d.k1)(e),{traceId:r,spanId:i}=e.spanContext(),a=(0,l.pK)(e);c=D({traceId:r,parentSpanId:i,...t},o,a),(0,d.LZ)(c,n)}else{const{traceId:e,dsc:n,parentSpanId:r,sampled:i}={...u.getPropagationContext(),...o.getPropagationContext()};c=D({traceId:e,parentSpanId:r,...t},o,i),n&&(0,d.LZ)(c,n)}return function(e){if(!i.T)return;const{description:t="< unknown name >",op:n="< unknown op >",parent_span_id:r}=(0,l.et)(e),{spanId:o}=e.spanContext(),s=(0,l.pK)(e),u=(0,l.zU)(e),c=u===e,f=`[Tracing] Starting ${s?"sampled":"unsampled"} ${c?"root ":""}span`,d=[`op: ${n}`,`name: ${t}`,`ID: ${o}`];if(r&&d.push(`parent ID: ${r}`),!c){const{op:e,description:t}=(0,l.et)(u);d.push(`root ID: ${u.spanContext().spanId}`),e&&d.push(`root op: ${e}`),t&&d.push(`root description: ${t}`)}a.Yz.log(`${f}\n ${d.join("\n ")}`)}(c),(0,y.d)(c,o,u),c}function R(e){const t={isStandalone:(e.experimental||{}).standalone,...e};if(e.startTime){const n={...t};return n.startTimestamp=(0,l.cI)(e.startTime),delete n.startTime,n}return t}function P(){const e=(0,k.EU)();return(0,S.h)(e)}function D(e,t,n){const u=(0,r.KU)(),c=u?.getOptions()||{},{name:l=""}=e,f={spanAttributes:{...e.attributes},spanName:l,parentSampled:n};u?.emit("beforeSampling",f,{decision:!1});const d=f.parentSampled??n,h=f.spanAttributes,p=t.getPropagationContext(),[m,g,y]=t.getScopeData().sdkProcessingMetadata[T]?[!1]:function(e,t,n){if(!(0,s.f)(e))return[!1];let r,o;"function"===typeof e.tracesSampler?(o=e.tracesSampler({...t,inheritOrSampleWith:e=>"number"===typeof t.parentSampleRate?t.parentSampleRate:"boolean"===typeof t.parentSampled?Number(t.parentSampled):e}),r=!0):void 0!==t.parentSampled?o=t.parentSampled:"undefined"!==typeof e.tracesSampleRate&&(o=e.tracesSampleRate,r=!0);const u=(0,x.i)(o);if(void 0===u)return i.T&&a.Yz.warn(`[Tracing] Discarding root span because of invalid sample rate. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(o)} of type ${JSON.stringify(typeof o)}.`),[!1];if(!u)return i.T&&a.Yz.log("[Tracing] Discarding transaction because "+("function"===typeof e.tracesSampler?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0")),[!1,u,r];const c=n<u;return c||i.T&&a.Yz.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(o)})`),[c,u,r]}(c,{name:l,parentSampled:d,attributes:h,parentSampleRate:(0,x.i)(p.dsc?.sample_rate)},p.sampleRand),b=new v({...e,attributes:{[o.i_]:"custom",[o.sy]:void 0!==g&&y?g:void 0,...h},sampled:m});return!m&&u&&(i.T&&a.Yz.log("[Tracing] Discarding root span because its trace was not chosen to be sampled."),u.recordDroppedEvent("sample_rate","transaction")),u&&u.emit("spanStart",b),b}function z(e,t){if(t)return t;if(null===t)return;const n=(0,c.f)(e);if(!n)return;const i=(0,r.KU)();return(i?i.getOptions():{}).parentSpanIsAlwaysRootSpan?(0,l.zU)(n):n}function M(e){return void 0!==e?t=>A(e,t):e=>e()}const N={idleTimeout:1e3,finalTimeout:3e4,childSpanTimeout:15e3};function j(e,t={}){const n=new Map;let h,m=!1,g="externalFinish",y=!t.disableAutoFinish;const b=[],{idleTimeout:w=N.idleTimeout,finalTimeout:S=N.finalTimeout,childSpanTimeout:k=N.childSpanTimeout,beforeSpanEnd:C,trimIdleSpanEndTimestamp:E=!0}=t,x=(0,r.KU)();if(!x||!(0,s.f)()){const e=new p,t={sample_rate:"0",sampled:"false",...(0,d.k1)(e)};return(0,d.LZ)(e,t),e}const T=(0,r.o5)(),A=(0,l.Bk)(),I=function(e){const t=O(e);return(0,c.r)((0,r.o5)(),t),i.T&&a.Yz.log("[Tracing] Started span is an idle span"),t}(e);function R(){h&&(clearTimeout(h),h=void 0)}function P(e){R(),h=setTimeout(()=>{!m&&0===n.size&&y&&(g="idleTimeout",I.end(e))},w)}function D(e){h=setTimeout(()=>{!m&&y&&(g="heartbeatFailed",I.end(e))},k)}function z(e){m=!0,n.clear(),b.forEach(e=>e()),(0,c.r)(T,A);const t=(0,l.et)(I),{start_timestamp:r}=t;if(!r)return;t.data[o.fs]||I.setAttribute(o.fs,g);const s=t.status;s&&"unknown"!==s||I.setStatus({code:_.F3}),a.Yz.log(`[Tracing] Idle span "${t.op}" finished`);const u=(0,l.xO)(I).filter(e=>e!==I);let f=0;u.forEach(t=>{t.isRecording()&&(t.setStatus({code:_.TJ,message:"cancelled"}),t.end(e),i.T&&a.Yz.log("[Tracing] Cancelling span since span ended early",JSON.stringify(t,void 0,2)));const n=(0,l.et)(t),{timestamp:r=0,start_timestamp:o=0}=n,s=o<=e,u=r-o<=(S+w)/1e3;if(i.T){const e=JSON.stringify(t,void 0,2);s?u||a.Yz.log("[Tracing] Discarding span since it finished after idle span final timeout",e):a.Yz.log("[Tracing] Discarding span since it happened after idle span was finished",e)}u&&s||((0,l.VS)(I,t),f++)}),f>0&&I.setAttribute("sentry.idle_span_discarded_spans",f)}return I.end=new Proxy(I.end,{apply(e,t,n){if(C&&C(I),t instanceof p)return;const[r,...i]=n,o=r||(0,f.zf)(),a=(0,l.cI)(o),s=(0,l.xO)(I).filter(e=>e!==I),c=(0,l.et)(I);if(!s.length||!E)return z(a),Reflect.apply(e,t,[a,...i]);const d=x.getOptions().ignoreSpans,h=s?.reduce((e,t)=>{const n=(0,l.et)(t);return n.timestamp?d&&(0,u.e)(n,d)?e:e?Math.max(e,n.timestamp):n.timestamp:e},void 0),m=c.start_timestamp,g=Math.min(m?m+S/1e3:1/0,Math.max(m||-1/0,Math.min(a,h||1/0)));return z(g),Reflect.apply(e,t,[g,...i])}}),b.push(x.on("spanStart",e=>{if(m||e===I||(0,l.et)(e).timestamp||e instanceof v&&e.isStandaloneSpan())return;var t;(0,l.xO)(I).includes(e)&&(t=e.spanContext().spanId,R(),n.set(t,!0),D((0,f.zf)()+k/1e3))})),b.push(x.on("spanEnd",e=>{var t;m||(t=e.spanContext().spanId,n.has(t)&&n.delete(t),0===n.size&&P((0,f.zf)()+w/1e3))})),b.push(x.on("idleSpanEnableAutoFinish",e=>{e===I&&(y=!0,P(),n.size&&D())})),t.disableAutoFinish||P(),setTimeout(()=>{m||(I.setStatus({code:_.TJ,message:"deadline_exceeded"}),g="finalTimeout",I.end())},S),I}var L=n(55916),F=n(25206);let B=!1;var U=n(6732),q=n(38998),$=n(50659),W=n(64278),H=n(13216),K=n(38126),Q=n(74431),Y=n(86640),V=n(74586),J=n(79783);function G(e){return"number"===typeof e&&isFinite(e)}function Z(e,t,n,{...r}){const i=(0,l.et)(e).start_timestamp;return i&&i>t&&"function"===typeof e.updateStartTime&&e.updateStartTime(t),A(e,()=>{const e=O({startTime:t,...r});return e&&e.end(n),e})}function X(e){const t=(0,r.KU)();if(!t)return;const{name:n,transaction:i,attributes:o,startTime:a}=e,{release:s,environment:u,sendDefaultPii:c}=t.getOptions(),l=t.getIntegrationByName("Replay"),f=l?.getReplayId(),d=(0,r.o5)(),h=d.getUser(),p=void 0!==h?h.email||h.id||h.ip_address:void 0;let m;try{m=d.getScopeData().contexts.profile.profile_id}catch{}return O({name:n,attributes:{release:s,environment:u,user:p||void 0,profile_id:m||void 0,replay_id:f||void 0,transaction:i,"user_agent.original":Q.j.navigator?.userAgent,"client.address":c?"{{auto}}":void 0,...o},startTime:a,experimental:{standalone:!0}})}function ee(){return Q.j.addEventListener&&Q.j.performance}function te(e){return e/1e3}function ne(e){try{return PerformanceObserver.supportedEntryTypes.includes(e)}catch{return!1}}function re(e,t){let n,r=!1;function i(e){!r&&n&&t(e,n),r=!0}(e=>{const t=t=>{"pagehide"!==t.type&&"hidden"!==Q.j.document?.visibilityState||e(t)};(0,J.d)("visibilitychange",t,{capture:!0,once:!0}),(0,J.d)("pagehide",t,{capture:!0,once:!0})})(()=>{i("pagehide")});const o=e.on("beforeStartNavigationSpan",(e,t)=>{t?.isRedirect||(i("navigation"),o(),a())}),a=e.on("afterStartPageLoadSpan",e=>{n=e.spanContext().spanId,a()})}function ie(e){let t,n=0;if(!ne("layout-shift"))return;const i=(0,V.a9)(({metric:e})=>{const r=e.entries[e.entries.length-1];r&&(n=e.value,t=r)},!0);re(e,(e,s)=>{!function(e,t,n,i){Y.T&&a.Yz.log(`Sending CLS span (${e})`);const s=t?te(((0,f.k3)()||0)+t.startTime):(0,f.zf)(),u=(0,r.o5)().getScopeData().transactionName,c=t?(0,$.Hd)(t.sources[0]?.node):"Layout shift",l={[o.JD]:"auto.http.browser.cls",[o.uT]:"ui.webvital.cls",[o.jG]:0,"sentry.pageload.span_id":n,"sentry.report_event":i};t?.sources&&t.sources.forEach((e,t)=>{l[`cls.source.${t+1}`]=(0,$.Hd)(e.node)});const d=X({name:c,transaction:u,attributes:l,startTime:s});d&&(d.addEvent("cls",{[o.Sn]:"",[o.xc]:e}),d.end(s))}(n,t,s,e),i()})}function oe(e){let t,n=0;if(!ne("largest-contentful-paint"))return;const i=(0,V.Pt)(({metric:e})=>{const r=e.entries[e.entries.length-1];r&&(n=e.value,t=r)},!0);re(e,(e,s)=>{!function(e,t,n,i){Y.T&&a.Yz.log(`Sending LCP span (${e})`);const s=te(((0,f.k3)()||0)+(t?.startTime||0)),u=(0,r.o5)().getScopeData().transactionName,c=t?(0,$.Hd)(t.element):"Largest contentful paint",l={[o.JD]:"auto.http.browser.lcp",[o.uT]:"ui.webvital.lcp",[o.jG]:0,"sentry.pageload.span_id":n,"sentry.report_event":i};t&&(t.element&&(l["lcp.element"]=(0,$.Hd)(t.element)),t.id&&(l["lcp.id"]=t.id),t.url&&(l["lcp.url"]=t.url),null!=t.loadTime&&(l["lcp.loadTime"]=t.loadTime),null!=t.renderTime&&(l["lcp.renderTime"]=t.renderTime),null!=t.size&&(l["lcp.size"]=t.size));const d=X({name:c,transaction:u,attributes:l,startTime:s});d&&(d.addEvent("lcp",{[o.Sn]:"millisecond",[o.xc]:e}),d.end(s))}(n,t,s,e),i()})}function ae(e){return e?(((0,f.k3)()||performance.timeOrigin)+e)/1e3:e}function se(e){const t={};if(void 0!=e.nextHopProtocol){const{name:n,version:r}=function(e){let t="unknown",n="unknown",r="";for(const i of e){if("/"===i){[t,n]=e.split("/");break}if(!isNaN(Number(i))){t="h"===r?"http":r,n=e.split(r)[1];break}r+=i}return r===e&&(t=r),{name:t,version:n}}(e.nextHopProtocol);t["network.protocol.version"]=r,t["network.protocol.name"]=n}return(0,f.k3)()||ee()?.timeOrigin?(n={...t,"http.request.redirect_start":ae(e.redirectStart),"http.request.redirect_end":ae(e.redirectEnd),"http.request.worker_start":ae(e.workerStart),"http.request.fetch_start":ae(e.fetchStart),"http.request.domain_lookup_start":ae(e.domainLookupStart),"http.request.domain_lookup_end":ae(e.domainLookupEnd),"http.request.connect_start":ae(e.connectStart),"http.request.secure_connection_start":ae(e.secureConnectionStart),"http.request.connection_end":ae(e.connectEnd),"http.request.request_start":ae(e.requestStart),"http.request.response_start":ae(e.responseStart),"http.request.response_end":ae(e.responseEnd),"http.request.time_to_first_byte":null!=e.responseStart?e.responseStart/1e3:void 0},Object.fromEntries(Object.entries(n).filter(([,e])=>null!=e))):t;var n}var ue=n(23979),ce=n(31189),le=n(98315);const fe=2147483647;let de,he,pe=0,me={};function ge({recordClsStandaloneSpans:e,recordLcpStandaloneSpans:t,client:n}){const r=ee();if(r&&(0,f.k3)()){r.mark&&Q.j.performance.mark("sentry-tracing-init");const i=t?oe(n):(0,V.Pt)(({metric:e})=>{const t=e.entries[e.entries.length-1];t&&(me.lcp={value:e.value,unit:"millisecond"},de=t)},!0),o=(0,V.YG)(({metric:e})=>{e.entries[e.entries.length-1]&&(me.ttfb={value:e.value,unit:"millisecond"})}),a=e?ie(n):(0,V.a9)(({metric:e})=>{const t=e.entries[e.entries.length-1];t&&(me.cls={value:e.value,unit:""},he=t)},!0);return()=>{i?.(),o(),a?.()}}return()=>{}}function ye(e,t){const n=ee(),r=(0,f.k3)();if(!n?.getEntries||!r)return;const s=te(r),u=n.getEntries(),{op:c,start_timestamp:d}=(0,l.et)(e);u.slice(pe).forEach(n=>{const r=te(n.startTime),i=te(Math.max(0,n.duration));if(!("navigation"===c&&d&&s+r<d))switch(n.entryType){case"navigation":!function(e,t,n){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(r=>{ve(e,t,r,n)}),ve(e,t,"secureConnection",n,"TLS/SSL"),ve(e,t,"fetch",n,"cache"),ve(e,t,"domainLookup",n,"DNS"),function(e,t,n){const r=n+te(t.requestStart),i=n+te(t.responseEnd),a=n+te(t.responseStart);t.responseEnd&&(Z(e,r,i,{op:"browser.request",name:t.name,attributes:{[o.JD]:"auto.ui.browser.metrics"}}),Z(e,a,i,{op:"browser.response",name:t.name,attributes:{[o.JD]:"auto.ui.browser.metrics"}}))}(e,t,n)}(e,n,s);break;case"mark":case"paint":case"measure":{!function(e,t,n,r,i,a){if(function(e){if("measure"!==e?.entryType)return;try{return"Components \u269b"===e.detail.devtools.track}catch{return}}(t))return;if(["mark","measure"].includes(t.entryType)&&(0,K.Xr)(t.name,a))return;const s=(0,ce.z)(!1),u=te(s?s.requestStart:0),c=i+Math.max(n,u),l=i+n,f=l+r,d={[o.JD]:"auto.resource.browser.metrics"};c!==l&&(d["sentry.browser.measure_happened_before_request"]=!0,d["sentry.browser.measure_start_time"]=c);(function(e,t){try{const n=t.detail;if(!n)return;if("object"===typeof n){for(const[t,r]of Object.entries(n))if(r&&(0,C.sO)(r))e[`sentry.browser.measure.detail.${t}`]=r;else if(void 0!==r)try{e[`sentry.browser.measure.detail.${t}`]=JSON.stringify(r)}catch{}return}if((0,C.sO)(n))return void(e["sentry.browser.measure.detail"]=n);try{e["sentry.browser.measure.detail"]=JSON.stringify(n)}catch{}}catch{}})(d,t),c<=f&&Z(e,c,f,{name:t.name,op:t.entryType,attributes:d})}(e,n,r,i,s,t.ignorePerformanceApiSpans);const a=(0,le.N)(),u=n.startTime<a.firstHiddenTime;"first-paint"===n.name&&u&&(me.fp={value:n.startTime,unit:"millisecond"}),"first-contentful-paint"===n.name&&u&&(me.fcp={value:n.startTime,unit:"millisecond"});break}case"resource":!function(e,t,n,r,i,a,s){if("xmlhttprequest"===t.initiatorType||"fetch"===t.initiatorType)return;const u=t.initiatorType?`resource.${t.initiatorType}`:"resource.other";if(s?.includes(u))return;const c={[o.JD]:"auto.resource.browser.metrics"},l=(0,W.Dl)(n);l.protocol&&(c["url.scheme"]=l.protocol.split(":").pop());l.host&&(c["server.address"]=l.host);c["url.same_origin"]=n.includes(Q.j.location.origin),function(e,t,n){n.forEach(([n,r])=>{const i=e[n];null!=i&&("number"===typeof i&&i<fe||"string"===typeof i)&&(t[r]=i)})}(t,c,[["responseStatus","http.response.status_code"],["transferSize","http.response_transfer_size"],["encodedBodySize","http.response_content_length"],["decodedBodySize","http.decoded_response_content_length"],["renderBlockingStatus","resource.render_blocking_status"],["deliveryType","http.response_delivery_type"]]);const f={...c,...se(t)},d=a+r,h=d+i;Z(e,d,h,{name:n.replace(Q.j.location.origin,""),op:u,attributes:f})}(e,n,n.name,r,i,s,t.ignoreResourceSpans)}}),pe=Math.max(u.length-1,0),function(e){const t=Q.j.navigator;if(!t)return;const n=t.connection;n&&(n.effectiveType&&e.setAttribute("effectiveConnectionType",n.effectiveType),n.type&&e.setAttribute("connectionType",n.type),G(n.rtt)&&(me["connection.rtt"]={value:n.rtt,unit:"millisecond"}));G(t.deviceMemory)&&e.setAttribute("deviceMemory",`${t.deviceMemory} GB`);G(t.hardwareConcurrency)&&e.setAttribute("hardwareConcurrency",String(t.hardwareConcurrency))}(e),"pageload"===c&&(function(e){const t=(0,ce.z)(!1);if(!t)return;const{responseStart:n,requestStart:r}=t;r<=n&&(e["ttfb.requestTime"]={value:n-r,unit:"millisecond"})}(me),t.recordClsOnPageloadSpan||delete me.cls,t.recordLcpOnPageloadSpan||delete me.lcp,Object.entries(me).forEach(([e,t])=>{!function(e,t,n,r=(0,l.Bk)()){const s=r&&(0,l.zU)(r);s&&(i.T&&a.Yz.log(`[Measurement] Setting measurement on root span: ${e} = ${t} ${n}`),s.addEvent(e,{[o.xc]:t,[o.Sn]:n}))}(e,t.value,t.unit)}),e.setAttribute("performance.timeOrigin",s),e.setAttribute("performance.activationStart",(0,ue.b)()),function(e,t){de&&t.recordLcpOnPageloadSpan&&(de.element&&e.setAttribute("lcp.element",(0,$.Hd)(de.element)),de.id&&e.setAttribute("lcp.id",de.id),de.url&&e.setAttribute("lcp.url",de.url.trim().slice(0,200)),null!=de.loadTime&&e.setAttribute("lcp.loadTime",de.loadTime),null!=de.renderTime&&e.setAttribute("lcp.renderTime",de.renderTime),e.setAttribute("lcp.size",de.size));he?.sources&&t.recordClsOnPageloadSpan&&he.sources.forEach((t,n)=>e.setAttribute(`cls.source.${n+1}`,(0,$.Hd)(t.node)))}(e,t)),de=void 0,he=void 0,me={}}function ve(e,t,n,r,i=n){const a=function(e){if("secureConnection"===e)return"connectEnd";if("fetch"===e)return"domainLookupStart";return`${e}End`}(n),s=t[a],u=t[`${n}Start`];u&&s&&Z(e,r+te(u),r+te(s),{op:`browser.${i}`,name:t.name,attributes:{[o.JD]:"auto.ui.browser.metrics",..."redirect"===n&&null!=t.redirectCount?{"http.redirect_count":t.redirectCount}:{}}})}var be=n(77517);const we=[],_e=new Map,Se=new Map;function ke(){if(ee()&&(0,f.k3)()){const e=(0,V.hT)(Ee);return()=>{e()}}return()=>{}}const Ce={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"};const Ee=({metric:e})=>{if(void 0==e.value)return;const t=te(e.value);if(t>60)return;const n=e.entries.find(t=>t.duration===e.value&&Ce[t.name]);if(!n)return;const{interactionId:i}=n,a=Ce[n.name],s=te((0,f.k3)()+n.startTime),u=(0,l.Bk)(),c=u?(0,l.zU)(u):void 0,d=null!=i?_e.get(i):void 0,h=d?.span||c,p=h?(0,l.et)(h).description:(0,r.o5)().getScopeData().transactionName,m=X({name:d?.elementName||(0,$.Hd)(n.target),transaction:p,attributes:{[o.JD]:"auto.http.browser.inp",[o.uT]:`ui.interaction.${a}`,[o.jG]:n.duration},startTime:s});m&&(m.addEvent("inp",{[o.Sn]:"millisecond",[o.xc]:e.value}),m.end(s+t))};function xe(){const e=Object.keys(Ce);function t(e){const t=e.target;if(!t)return;const n=(0,$.Hd)(t),r=Math.round(e.timeStamp);if(Se.set(r,n),Se.size>50){const e=Se.keys().next().value;void 0!==e&&Se.delete(e)}}(0,be.B)()&&e.forEach(e=>{Q.j.addEventListener(e,t,{capture:!0,passive:!0})});const n=({entries:e})=>{const t=(0,l.Bk)(),n=t&&(0,l.zU)(t);e.forEach(e=>{if(!(0,V.tC)(e))return;const t=e.interactionId;if(null==t)return;if(_e.has(t))return;const r=e.target?(0,$.Hd)(e.target):function(e){const t=Math.round(e.startTime);let n=Se.get(t);if(!n)for(let r=-5;r<=5;r++){const e=Se.get(t+r);if(e){n=e;break}}return n||"<unknown>"}(e);if(we.length>10){const e=we.shift();_e.delete(e)}we.push(t),_e.set(t,{span:n,elementName:r})})};(0,V.wv)("event",n),(0,V.wv)("first-input",n)}const Te=({entries:e})=>{const t=(0,l.Bk)(),n=t?(0,l.zU)(t):void 0,i=n?(0,l.et)(n).description:(0,r.o5)().getScopeData().transactionName;e.forEach(e=>{const t=e;if(!t.identifier)return;const n=t.name,a=t.renderTime,s=t.loadTime,[u,d]=s?[te(s),"load-time"]:a?[te(a),"render-time"]:[(0,f.zf)(),"entry-emission"],h="image-paint"===n?te(Math.max(0,(a??0)-(s??0))):0,m={[o.JD]:"auto.ui.browser.elementtiming",[o.uT]:"ui.elementtiming",[o.i_]:"component","sentry.span_start_time_source":d,"sentry.transaction_name":i,"element.id":t.id,"element.type":t.element?.tagName?.toLowerCase()||"unknown","element.size":t.naturalWidth&&t.naturalHeight?`${t.naturalWidth}x${t.naturalHeight}`:void 0,"element.render_time":a,"element.load_time":s,"element.url":t.url||void 0,"element.identifier":t.identifier,"element.paint_type":n};!function(e,t){const n=P();if(n.startSpan)return n.startSpan(e,t);const i=R(e),{forceTransaction:o,parentSpan:a,scope:s}=e,u=s?.clone();(0,r.v4)(u,()=>M(a)(()=>{const n=(0,r.o5)(),s=z(n,a),u=e.onlyIfParent&&!s?new p:I({parentSpan:s,spanArguments:i,forceTransaction:o,scope:n});return(0,c.r)(n,u),E(()=>t(u),()=>{const{status:e}=(0,l.et)(u);!u.isRecording()||e&&"ok"!==e||u.setStatus({code:_.TJ,message:"internal_error"})},()=>{u.end()})}))}({name:`element[${t.identifier}]`,attributes:m,startTime:u,onlyIfParent:!0},e=>{e.end(u+h)})})};var Oe=n(24926),Ae=n(89196),Ie=n(30231);const Re="sentry_previous_trace",Pe="sentry.previous_trace";function De(e,{linkPreviousTrace:t,consistentTraceSampling:n}){const i="session-storage"===t;let s=i?function(){try{const e=Ie.jf.sessionStorage?.getItem(Re);return JSON.parse(e)}catch{return}}():void 0;e.on("spanStart",e=>{if((0,l.zU)(e)!==e)return;const t=(0,r.o5)().getPropagationContext();s=function(e,t,n){const r=(0,l.et)(t);function i(){try{return Number(n.dsc?.sample_rate)??Number(r.data?.[o.sy])}catch{return 0}}const s={spanContext:t.spanContext(),startTimestamp:r.start_timestamp,sampleRate:i(),sampleRand:n.sampleRand};if(!e)return s;const u=e.spanContext;if(u.traceId===r.trace_id)return e;Date.now()/1e3-e.startTimestamp<=3600&&(Ae.T&&a.Yz.log(`Adding previous_trace \`${JSON.stringify(u)}\` link to span \`${JSON.stringify({op:r.op,...t.spanContext()})}\``),t.addLink({context:u,attributes:{[o.Lc]:"previous_trace"}}),t.setAttribute(Pe,`${u.traceId}-${u.spanId}-${ze(u)?1:0}`));return s}(s,e,t),i&&function(e){try{Ie.jf.sessionStorage.setItem(Re,JSON.stringify(e))}catch(t){Ae.T&&a.Yz.warn("Could not store previous trace in sessionStorage",t)}}(s)});let u=!0;n&&e.on("beforeSampling",e=>{if(!s)return;const t=(0,r.o5)(),n=t.getPropagationContext();u&&n.parentSpanId?u=!1:(t.setPropagationContext({...n,dsc:{...n.dsc,sample_rate:String(s.sampleRate),sampled:String(ze(s.spanContext))},sampleRand:s.sampleRand}),e.parentSampled=ze(s.spanContext),e.parentSampleRate=s.sampleRate,e.spanAttributes={...e.spanAttributes,[o.Ef]:s.sampleRate})})}function ze(e){return 1===e.traceFlags}var Me=n(42807),Ne=n(77761),je=n(42414);function Le(e={}){const t=e.client||(0,r.KU)();if(!(0,je.Ol)()||!t)return{};const n=(0,k.EU)(),i=(0,S.h)(n);if(i.getTraceData)return i.getTraceData(e);const o=e.scope||(0,r.o5)(),s=e.span||(0,l.Bk)(),u=s?(0,l.Qh)(s):function(e){const{traceId:t,sampled:n,propagationSpanId:r}=e.getPropagationContext();return(0,q.TC)(t,r,n)}(o),c=s?(0,d.k1)(s):(0,d.ao)(t,o),f=(0,Ne.De)(c);if(!q.MI.test(u))return a.Yz.warn("Invalid sentry-trace data. Cannot generate trace data"),{};const h={"sentry-trace":u,baggage:f};return e.propagateTraceparent&&(h.traceparent=s?(0,l.G_)(s):function(e){const{traceId:t,sampled:n,propagationSpanId:r}=e.getPropagationContext();return(0,q.Iy)(t,r,n)}(o)),h}function Fe(e,t,n,i,o){if(!e.fetchData)return;const{method:a,url:u}=e.fetchData,c=(0,s.f)()&&t(u);if(e.endTimestamp){const t=e.fetchData.__span;if(!t)return;const n=i[t];return void(n&&(c&&(function(e,t){if(t.response){(0,_.N8)(e,t.response.status);const n=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({code:_.TJ,message:"internal_error"});e.end()}(n,e),function(e,t,n){const r="object"===typeof n&&null!==n?n.onRequestSpanEnd:void 0;r?.(e,{headers:t.response?.headers,error:t.error})}(n,e,o)),delete i[t]))}const{spanOrigin:f="auto.http.browser",propagateTraceparent:d=!1}="object"===typeof o?o:{spanOrigin:o},h=!!(0,l.Bk)(),m=c&&h?O(function(e,t,n){if(e.startsWith("data:")){return{name:`${t} ${(0,W.zm)(e)}`,attributes:Ue(e,void 0,t,n)}}const r=(0,W.kg)(e),i=r?(0,W.CH)(r):e;return{name:`${t} ${i}`,attributes:Ue(e,r,t,n)}}(u,a,f)):new p;if(e.fetchData.__span=m.spanContext().spanId,i[m.spanContext().spanId]=m,n(e.fetchData.url)){const t=e.args[0],n={...e.args[1]||{}},r=function(e,t,n,r){const i=Le({span:n,propagateTraceparent:r}),o=i["sentry-trace"],a=i.baggage,s=i.traceparent;if(!o)return;const u=t.headers||((0,C.ks)(e)?e.headers:void 0);if(u){if(function(e){return"undefined"!==typeof Headers&&(0,C.tH)(e,Headers)}(u)){const e=new Headers(u);if(e.get("sentry-trace")||e.set("sentry-trace",o),r&&s&&!e.get("traceparent")&&e.set("traceparent",s),a){const t=e.get("baggage");t?Be(t)||e.set("baggage",`${t},${a}`):e.set("baggage",a)}return e}if(Array.isArray(u)){const e=[...u];u.find(e=>"sentry-trace"===e[0])||e.push(["sentry-trace",o]),r&&s&&!u.find(e=>"traceparent"===e[0])&&e.push(["traceparent",s]);const t=u.find(e=>"baggage"===e[0]&&Be(e[1]));return a&&!t&&e.push(["baggage",a]),e}{const e="sentry-trace"in u?u["sentry-trace"]:void 0,t="traceparent"in u?u.traceparent:void 0,n="baggage"in u?u.baggage:void 0,i=n?Array.isArray(n)?[...n]:[n]:[],c=n&&(Array.isArray(n)?n.find(e=>Be(e)):Be(n));a&&!c&&i.push(a);const l={...u,"sentry-trace":e??o,baggage:i.length>0?i.join(","):void 0};return r&&s&&!t&&(l.traceparent=s),l}}return{...i}}(t,n,(0,s.f)()&&h?m:void 0,d);r&&(e.args[1]=n,n.headers=r)}const g=(0,r.KU)();if(g){const t={input:e.args,response:e.response,startTimestamp:e.startTimestamp,endTimestamp:e.endTimestamp};g.emit("beforeOutgoingRequestSpan",m,t)}return m}function Be(e){return e.split(",").some(e=>e.trim().startsWith(Ne.sv))}function Ue(e,t,n,r){const i={url:(0,W.zm)(e),type:"fetch","http.method":n,[o.JD]:r,[o.uT]:"http.client"};return t&&((0,W.nt)(t)||(i["http.url"]=(0,W.zm)(t.href),i["server.address"]=t.host),t.search&&(i["http.query"]=t.search),t.hash&&(i["http.fragment"]=t.hash)),i}var qe=n(13024),$e=n(44427);function We(e){try{return new URL(e,Ie.jf.location.origin).href}catch{return}}function He(e){try{return new Headers(e)}catch{return}}const Ke=new WeakMap,Qe=new Map,Ye={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,trackFetchStreamPerformance:!1};function Ve(e,t){const{traceFetch:n,traceXHR:i,trackFetchStreamPerformance:a,shouldCreateSpanForRequest:u,enableHTTPTimings:c,tracePropagationTargets:f,onRequestSpanStart:d,onRequestSpanEnd:h}={...Ye,...t},m="function"===typeof u?u:e=>!0,g=e=>function(e,t){const n=(0,$.$N)();if(n){let r,i;try{r=new URL(e,n),i=new URL(n).origin}catch{return!1}const o=r.origin===i;return t?(0,K.Xr)(r.toString(),t)||o&&(0,K.Xr)(r.pathname,t):o}{const n=!!e.match(/^\/(?!\/)/);return t?(0,K.Xr)(e,t):n}}(e,f),y={},v=e.getOptions().propagateTraceparent;n&&(e.addEventProcessor(e=>("transaction"===e.type&&e.spans&&e.spans.forEach(e=>{if("http.client"===e.op){const t=Qe.get(e.span_id);t&&(e.timestamp=t/1e3,Qe.delete(e.span_id))}}),e)),a&&(0,Me.B$)(e=>{if(e.response){const t=Ke.get(e.response);t&&e.endTimestamp&&Qe.set(t,e.endTimestamp)}}),(0,Me.ur)(e=>{const t=Fe(e,m,g,y,{propagateTraceparent:v,onRequestSpanEnd:h});if(e.response&&e.fetchData.__span&&Ke.set(e.response,e.fetchData.__span),t){const n=We(e.fetchData.url),r=n?(0,W.Dl)(n).host:void 0;t.setAttributes({"http.url":n?(0,W.zm)(n):void 0,"server.address":r}),c&&Je(t),d?.(t,{headers:e.headers})}})),i&&(0,qe.Mn)(e=>{const t=function(e,t,n,i,a,u){const c=e.xhr,f=c?.[qe.Er];if(!c||c.__sentry_own_request__||!f)return;const{url:d,method:h}=f,m=(0,s.f)()&&t(d);if(e.endTimestamp){const t=c.__sentry_xhr_span_id__;if(!t)return;const n=i[t];return void(n&&(m&&void 0!==f.status_code&&((0,_.N8)(n,f.status_code),n.end(),u?.(n,{headers:He((0,$e.ti)(c)),error:e.error})),delete i[t]))}const g=We(d),y=g?(0,W.Dl)(g):(0,W.Dl)(d),v=(0,W.zm)((0,W.f)(d)),b=!!(0,l.Bk)(),w=m&&b?O({name:`${h} ${v}`,attributes:{url:(0,W.zm)(d),type:"xhr","http.method":h,"http.url":g?(0,W.zm)(g):void 0,"server.address":y?.host,[o.JD]:"auto.http.browser",[o.uT]:"http.client",...y?.search&&{"http.query":y?.search},...y?.hash&&{"http.fragment":y?.hash}}}):new p;c.__sentry_xhr_span_id__=w.spanContext().spanId,i[c.__sentry_xhr_span_id__]=w,n(d)&&function(e,t,n){const{"sentry-trace":r,baggage:i,traceparent:o}=Le({span:t,propagateTraceparent:n});r&&function(e,t,n,r){const i=e.__sentry_xhr_v3__?.request_headers;if(i?.["sentry-trace"]||!e.setRequestHeader)return;try{if(e.setRequestHeader("sentry-trace",t),r&&!i?.traceparent&&e.setRequestHeader("traceparent",r),n){const t=i?.baggage;t&&t.split(",").some(e=>e.trim().startsWith("sentry-"))||e.setRequestHeader("baggage",n)}}catch{}}(e,r,i,o)}(c,(0,s.f)()&&b?w:void 0,a);const S=(0,r.KU)();S&&S.emit("beforeOutgoingRequestSpan",w,e);return w}(e,m,g,y,v,h);t&&(c&&Je(t),d?.(t,{headers:He(e.xhr.__sentry_xhr_v3__?.request_headers)}))})}function Je(e){const{url:t}=(0,l.et)(e).data;if(!t||"string"!==typeof t)return;const n=(0,V.wv)("resource",({entries:r})=>{r.forEach(r=>{(function(e){return"resource"===e.entryType&&"initiatorType"in e&&"string"===typeof e.nextHopProtocol&&("fetch"===e.initiatorType||"xmlhttprequest"===e.initiatorType)})(r)&&r.name.endsWith(t)&&(e.setAttributes(se(r)),setTimeout(n))})})}const Ge=/Googlebot|Google-InspectionTool|Storebot-Google|Bingbot|Slurp|DuckDuckBot|Baiduspider|YandexBot|Facebot|facebookexternalhit|LinkedInBot|Twitterbot|Applebot/i;const Ze={...N,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroundSpan:!0,enableLongTask:!0,enableLongAnimationFrame:!0,enableInp:!0,enableElementTiming:!0,ignoreResourceSpans:[],ignorePerformanceApiSpans:[],detectRedirects:!0,linkPreviousTrace:"in-memory",consistentTraceSampling:!1,enableReportPageLoaded:!1,_experiments:{},...Ye},Xe=(e={})=>{const t={name:void 0,source:void 0},n=Ie.jf.document,{enableInp:u,enableElementTiming:c,enableLongTask:p,enableLongAnimationFrame:m,_experiments:{enableInteractions:g,enableStandaloneClsSpans:y,enableStandaloneLcpSpans:v},beforeStartSpan:b,idleTimeout:w,finalTimeout:S,childSpanTimeout:k,markBackgroundSpan:C,traceFetch:E,traceXHR:x,trackFetchStreamPerformance:T,shouldCreateSpanForRequest:A,enableHTTPTimings:I,ignoreResourceSpans:R,ignorePerformanceApiSpans:P,instrumentPageLoad:D,instrumentNavigation:z,detectRedirects:M,linkPreviousTrace:N,consistentTraceSampling:H,enableReportPageLoaded:K,onRequestSpanStart:Q,onRequestSpanEnd:Y}={...Ze,...e},J=function(){const e=Ie.jf.navigator;return!!e?.userAgent&&Ge.test(e.userAgent)}();let G,X,ne;function re(e,i,a=!0){const s="pageload"===i.op,u=i.name,c=b?b(i):i,h=c.attributes||{};if(u!==c.name&&(h[o.i_]="custom",c.attributes=h),!a){const e=(0,f.lu)();return void O({...c,startTime:e}).end(e)}t.name=c.name,t.source=h[o.i_];const p=j(c,{idleTimeout:w,finalTimeout:S,childSpanTimeout:k,disableAutoFinish:s,beforeSpanEnd:t=>{G?.(),ye(t,{recordClsOnPageloadSpan:!y,recordLcpOnPageloadSpan:!v,ignoreResourceSpans:R,ignorePerformanceApiSpans:P}),it(e,void 0);const n=(0,r.o5)(),i=n.getPropagationContext();n.setPropagationContext({...i,traceId:p.spanContext().traceId,sampled:(0,l.pK)(p),dsc:(0,d.k1)(t)}),s&&(ne=void 0)},trimIdleSpanEndTimestamp:!K});function m(){n&&["interactive","complete"].includes(n.readyState)&&e.emit("idleSpanEnableAutoFinish",p)}s&&K&&(ne=p),it(e,p),s&&!K&&n&&(n.addEventListener("readystatechange",()=>{m()}),m())}return{name:"BrowserTracing",setup(e){if(J)Ae.T&&a.Yz.log("[Tracing] Skipping browserTracingIntegration setup for bot user agent.");else{if(function(){function e(){const e=(0,l.Bk)(),t=e&&(0,l.zU)(e);if(t){const e="internal_error";i.T&&a.Yz.log(`[Tracing] Root span: ${e} -> Global error occurred`),t.setStatus({code:_.TJ,message:e})}}B||(e.tag="sentry_tracingErrorCallback",B=!0,(0,L.L)(e),(0,F.r)(e))}(),G=ge({recordClsStandaloneSpans:y||!1,recordLcpStandaloneSpans:v||!1,client:e}),u&&ke(),c&&ee()&&(0,f.k3)()&&(0,V.wv)("element",Te),m&&U.O.PerformanceObserver&&PerformanceObserver.supportedEntryTypes?.includes("long-animation-frame")?new PerformanceObserver(e=>{const t=(0,l.Bk)();if(t)for(const n of e.getEntries()){if(!n.scripts[0])continue;const e=te((0,f.k3)()+n.startTime),{start_timestamp:r,op:i}=(0,l.et)(t);if("navigation"===i&&r&&e<r)continue;const a=te(n.duration),s={[o.JD]:"auto.ui.browser.metrics"},u=n.scripts[0],{invoker:c,invokerType:d,sourceURL:h,sourceFunctionName:p,sourceCharPosition:m}=u;s["browser.script.invoker"]=c,s["browser.script.invoker_type"]=d,h&&(s["code.filepath"]=h),p&&(s["code.function"]=p),-1!==m&&(s["browser.script.source_char_position"]=m),Z(t,e,e+a,{name:"Main UI thread blocked",op:"ui.long-animation-frame",attributes:s})}}).observe({type:"long-animation-frame",buffered:!0}):p&&(0,V.wv)("longtask",({entries:e})=>{const t=(0,l.Bk)();if(!t)return;const{op:n,start_timestamp:r}=(0,l.et)(t);for(const i of e){const e=te((0,f.k3)()+i.startTime),a=te(i.duration);"navigation"===n&&r&&e<r||Z(t,e,e+a,{name:"Main UI thread blocked",op:"ui.long-task",attributes:{[o.JD]:"auto.ui.browser.metrics"}})}}),g&&(0,V.wv)("event",({entries:e})=>{const t=(0,l.Bk)();if(t)for(const n of e)if("click"===n.name){const e=te((0,f.k3)()+n.startTime),r=te(n.duration),i={name:(0,$.Hd)(n.target),op:`ui.interaction.${n.name}`,startTime:e,attributes:{[o.JD]:"auto.ui.browser.metrics"}},a=(0,$.xE)(n.target);a&&(i.attributes["ui.component_name"]=a),Z(t,e,e+r,i)}}),M&&n){const e=()=>{X=(0,f.zf)()};addEventListener("click",e,{capture:!0}),addEventListener("keydown",e,{capture:!0,passive:!0})}e.on("startNavigationSpan",(n,i)=>{if((0,r.KU)()!==e)return;if(i?.isRedirect)return Ae.T&&a.Yz.warn("[Tracing] Detected redirect, navigation span will not be the root span, but a child span."),void re(e,{op:"navigation.redirect",...n},!1);X=void 0,t(),(0,r.rm)().setPropagationContext({traceId:(0,h.e)(),sampleRand:Math.random(),propagationSpanId:(0,s.f)()?void 0:(0,h.Z)()});const o=(0,r.o5)();o.setPropagationContext({traceId:(0,h.e)(),sampleRand:Math.random(),propagationSpanId:(0,s.f)()?void 0:(0,h.Z)()}),o.setSDKProcessingMetadata({normalizedRequest:void 0}),re(e,{op:"navigation",...n,parentSpan:null,forceTransaction:!0})}),e.on("startPageLoadSpan",(n,i={})=>{if((0,r.KU)()!==e)return;t();const o=i.sentryTrace||et("sentry-trace")||tt("sentry-trace"),a=i.baggage||et("baggage")||tt("baggage"),u=(0,q.kM)(o,a),c=(0,r.o5)();c.setPropagationContext(u),(0,s.f)()||(c.getPropagationContext().propagationSpanId=(0,h.Z)()),c.setSDKProcessingMetadata({normalizedRequest:(0,Ie.AP)()}),re(e,{op:"pageload",...n})}),e.on("endPageloadSpan",()=>{K&&ne&&(ne.setAttribute(o.fs,"reportPageLoaded"),ne.end())})}function t(){const t=rt(e);t&&!(0,l.et)(t).timestamp&&(Ae.T&&a.Yz.log(`[Tracing] Finishing current active span with op: ${(0,l.et)(t).op}`),t.setAttribute(o.fs,"cancelled"),t.end())}},afterAllSetup(e){if(J)return;let n=(0,$.$N)();if("off"!==N&&De(e,{linkPreviousTrace:N,consistentTraceSampling:H}),Ie.jf.location){if(D){const t=(0,f.k3)();!function(e,t,n){e.emit("startPageLoadSpan",t,n),(0,r.o5)().setTransactionName(t.name);const i=rt(e);i&&e.emit("afterStartPageLoadSpan",i)}(e,{name:Ie.jf.location.pathname,startTime:t?t/1e3:void 0,attributes:{[o.i_]:"url",[o.JD]:"auto.pageload.browser"}})}z&&(0,Oe._)(({to:t,from:i})=>{if(void 0===i&&-1!==n?.indexOf(t))return void(n=void 0);n=void 0;const a=(0,W.kg)(t),s=rt(e),u=s&&M&&function(e,t){const n=(0,l.et)(e),r=(0,f.lu)(),i=n.start_timestamp;if(r-i>ot)return!1;if(t&&r-t<=ot)return!1;return!0}(s,X);!function(e,t,n){const{url:i,isRedirect:o}=n||{};e.emit("beforeStartNavigationSpan",t,{isRedirect:o}),e.emit("startNavigationSpan",t,{isRedirect:o});const a=(0,r.o5)();a.setTransactionName(t.name),i&&!o&&a.setSDKProcessingMetadata({normalizedRequest:{...(0,Ie.AP)(),url:i}});rt(e)}(e,{name:a?.pathname||Ie.jf.location.pathname,attributes:{[o.i_]:"url",[o.JD]:"auto.navigation.browser"}},{url:t,isRedirect:u})})}C&&(Ie.jf.document?Ie.jf.document.addEventListener("visibilitychange",()=>{const e=(0,l.Bk)();if(!e)return;const t=(0,l.zU)(e);if(Ie.jf.document.hidden&&t){const e="cancelled",{op:n,status:r}=(0,l.et)(t);Ae.T&&a.Yz.log(`[Tracing] Transaction: ${e} -> since tab moved to the background, op: ${n}`),r||t.setStatus({code:_.TJ,message:e}),t.setAttribute("sentry.cancellation_reason","document.hidden"),t.end()}}):Ae.T&&a.Yz.warn("[Tracing] Could not set up background tab detection due to lack of global document")),g&&function(e,t,n,r,i){const s=Ie.jf.document;let u;const c=()=>{const s="ui.action.click",c=rt(e);if(c){const e=(0,l.et)(c).op;if(["navigation","pageload"].includes(e))return void(Ae.T&&a.Yz.warn(`[Tracing] Did not create ${s} span because a pageload or navigation span is in progress.`))}u&&(u.setAttribute(o.fs,"interactionInterrupted"),u.end(),u=void 0),i.name?u=j({name:i.name,op:s,attributes:{[o.i_]:i.source||"url"}},{idleTimeout:t,finalTimeout:n,childSpanTimeout:r}):Ae.T&&a.Yz.warn(`[Tracing] Did not create ${s} transaction because _latestRouteName is missing.`)};s&&addEventListener("click",c,{capture:!0})}(e,w,S,k,t),u&&xe(),Ve(e,{traceFetch:E,traceXHR:x,trackFetchStreamPerformance:T,tracePropagationTargets:e.getOptions().tracePropagationTargets,shouldCreateSpanForRequest:A,enableHTTPTimings:I,onRequestSpanStart:Q,onRequestSpanEnd:Y})}}};function et(e){const t=Ie.jf.document,n=t?.querySelector(`meta[name=${e}]`);return n?.getAttribute("content")||void 0}function tt(e){const t=Ie.jf.performance?.getEntriesByType?.("navigation")[0],n=t?.serverTiming?.find(t=>t.name===e);return n?.description}const nt="_sentry_idleSpan";function rt(e){return e[nt]}function it(e,t){(0,H.my)(e,nt,t)}const ot=1.5},68151:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(39477),i=n(34129),o=n(82558);const a=100;function s(e,t){const n=(0,r.KU)(),s=(0,r.rm)();if(!n)return;const{beforeBreadcrumb:u=null,maxBreadcrumbs:c=a}=n.getOptions();if(c<=0)return;const l={timestamp:(0,o.lu)(),...e},f=u?(0,i.pq)(()=>u(l,t)):l;null!==f&&(n.emit&&n.emit("beforeAddBreadcrumb",f,t),s.addBreadcrumb(f,c))}},23876:(e,t,n)=>{"use strict";n.d(t,{U:()=>r});const r="production"},39477:(e,t,n)=>{"use strict";n.d(t,{KU:()=>f,m6:()=>c,o5:()=>s,rm:()=>u,v4:()=>l,vn:()=>d});var r=n(37816),i=n(58513),o=n(20141),a=n(52510);function s(){const e=(0,i.EU)();return(0,r.h)(e).getCurrentScope()}function u(){const e=(0,i.EU)();return(0,r.h)(e).getIsolationScope()}function c(){return(0,i.BY)("globalScope",()=>new o.H)}function l(...e){const t=(0,i.EU)(),n=(0,r.h)(t);if(2===e.length){const[t,r]=e;return t?n.withSetScope(t,r):n.withScope(r)}return n.withScope(e[0])}function f(){return s().getClient()}function d(e){const t=e.getPropagationContext(),{traceId:n,parentSpanId:r,propagationSpanId:i}=t,o={trace_id:n,span_id:i||(0,a.Z)()};return r&&(o.parent_span_id=r),o}},16113:(e,t,n)=>{"use strict";n.d(t,{LE:()=>u,V7:()=>c,lu:()=>l});var r=n(58445),i=n(50718),o=n(56111),a=n(38632),s=n(13034);function u(e,t,n,r){const a=(0,o.Cj)(n),s={sent_at:(new Date).toISOString(),...a&&{sdk:a},...!!r&&t&&{dsn:(0,i.SB)(t)}},u="aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()];return(0,o.h4)(s,[u])}function c(e,t,n,r){const i=(0,o.Cj)(n),a=e.type&&"replay_event"!==e.type?e.type:"event";!function(e,t){if(!t)return e;const n=e.sdk||{};e.sdk={...n,name:n.name||t.name,version:n.version||t.version,integrations:[...e.sdk?.integrations||[],...t.integrations||[]],packages:[...e.sdk?.packages||[],...t.packages||[]],settings:e.sdk?.settings||t.settings?{...e.sdk?.settings,...t.settings}:void 0}}(e,n?.sdk);const s=(0,o.n2)(e,i,r,t);delete e.sdkProcessingMetadata;const u=[{type:a},e];return(0,o.h4)(s,[u])}function l(e,t){const n=(0,r.k1)(e[0]),u=t?.getDsn(),c=t?.getOptions().tunnel,l={sent_at:(new Date).toISOString(),...function(e){return!!e.trace_id&&!!e.public_key}(n)&&{trace:n},...!!c&&u&&{dsn:(0,i.SB)(u)}},{beforeSendSpan:f,ignoreSpans:d}=t?.getOptions()||{},h=d?.length?e.filter(e=>!(0,a.e)((0,s.et)(e),d)):e,p=e.length-h.length;p&&t?.recordDroppedEvent("before_send","span",p);const m=f?e=>{const t=(0,s.et)(e),n=f(t);return n||((0,s.xl)(),t)}:s.et,g=[];for(const r of h){const e=m(r);e&&g.push((0,o.y5)(e))}return(0,o.h4)(l,g)}},42414:(e,t,n)=>{"use strict";n.d(t,{Cp:()=>u,J0:()=>p,J5:()=>y,Ol:()=>d,SA:()=>h,gV:()=>f,o:()=>l,r:()=>c});var r=n(39477),i=n(54845),o=n(32310),a=n(86271),s=n(6732);function u(e,t){return(0,r.o5)().captureException(e,(0,o.li)(t))}function c(e,t){return(0,r.o5)().captureEvent(e,t)}function l(e,t){(0,r.rm)().setContext(e,t)}function f(e){(0,r.rm)().setUser(e)}function d(){const e=(0,r.KU)();return!1!==e?.getOptions().enabled&&!!e?.getTransport()}function h(e){(0,r.rm)().addEventProcessor(e)}function p(e){const t=(0,r.rm)(),{user:n}=(0,a.Om)(t,(0,r.o5)()),{userAgent:o}=s.O.navigator||{},u=(0,i.fj)({user:n,...o&&{userAgent:o},...e}),c=t.getSession();return"ok"===c?.status&&(0,i.qO)(c,{status:"exited"}),m(),t.setSession(u),u}function m(){const e=(0,r.rm)(),t=(0,r.o5)().getSession()||e.getSession();t&&(0,i.Vu)(t),g(),e.setSession()}function g(){const e=(0,r.rm)(),t=(0,r.KU)(),n=e.getSession();n&&t&&t.captureSession(n)}function y(e=!1){e?m():g()}},13538:(e,t,n)=>{"use strict";n.d(t,{P:()=>s});var r=n(34129),i=n(13216),o=n(6732),a=n(54398);function s(e){const t="console";(0,a.s5)(t,e),(0,a.AS)(t,u)}function u(){"console"in o.O&&r.Ow.forEach(function(e){e in o.O.console&&(0,i.GS)(o.O.console,e,function(t){return r.Z9[e]=t,function(...t){const n={args:t,level:e};(0,a.aj)("console",n);const i=r.Z9[e];i?.apply(o.O.console,t)}})})}},42807:(e,t,n)=>{"use strict";n.d(t,{B$:()=>f,ur:()=>l});var r=n(39477),i=n(66115),o=n(13216),a=n(44495),s=n(82558),u=n(6732),c=n(54398);function l(e,t){const n="fetch";(0,c.s5)(n,e),(0,c.AS)(n,()=>d(void 0,t))}function f(e){const t="fetch-body-resolved";(0,c.s5)(t,e),(0,c.AS)(t,()=>d(h))}function d(e,t=!1){t&&!(0,a.m7)()||(0,o.GS)(u.O,"fetch",function(t){return function(...n){const a=new Error,{method:l,url:f}=function(e){if(0===e.length)return{method:"GET",url:""};if(2===e.length){const[t,n]=e;return{url:m(t),method:p(n,"method")?String(n.method).toUpperCase():(0,i.ks)(t)&&p(t,"method")?String(t.method).toUpperCase():"GET"}}const t=e[0];return{url:m(t),method:p(t,"method")?String(t.method).toUpperCase():"GET"}}(n),d={args:n,fetchData:{method:l,url:f},startTimestamp:1e3*(0,s.zf)(),virtualError:a,headers:g(n)};return e||(0,c.aj)("fetch",{...d}),t.apply(u.O,n).then(async t=>(e?e(t):(0,c.aj)("fetch",{...d,endTimestamp:1e3*(0,s.zf)(),response:t}),t),e=>{(0,c.aj)("fetch",{...d,endTimestamp:1e3*(0,s.zf)(),error:e}),(0,i.bJ)(e)&&void 0===e.stack&&(e.stack=a.stack,(0,o.my)(e,"framesToPop",1));const t=(0,r.KU)(),n=t?.getOptions().enhanceFetchErrorMessages??"always";if(!1!==n&&e instanceof TypeError&&("Failed to fetch"===e.message||"Load failed"===e.message||"NetworkError when attempting to fetch resource."===e.message))try{const t=new URL(d.fetchData.url).host;"always"===n?e.message=`${e.message} (${t})`:(0,o.my)(e,"__sentry_fetch_url_host__",t)}catch{}throw e})}})}function h(e){let t;try{t=e.clone()}catch{return}!async function(e,t){if(e?.body){const n=e.body,r=n.getReader(),i=setTimeout(()=>{n.cancel().then(null,()=>{})},9e4);let o=!0;for(;o;){let e;try{e=setTimeout(()=>{n.cancel().then(null,()=>{})},5e3);const{done:i}=await r.read();clearTimeout(e),i&&(t(),o=!1)}catch{o=!1}finally{clearTimeout(e)}}clearTimeout(i),r.releaseLock(),n.cancel().then(null,()=>{})}}(t,()=>{(0,c.aj)("fetch-body-resolved",{endTimestamp:1e3*(0,s.zf)(),response:e})})}function p(e,t){return!!e&&"object"===typeof e&&!!e[t]}function m(e){return"string"===typeof e?e:e?p(e,"url")?e.url:e.toString?e.toString():"":""}function g(e){const[t,n]=e;try{if("object"===typeof n&&null!==n&&"headers"in n&&n.headers)return new Headers(n.headers);if((0,i.ks)(t))return new Headers(t.headers)}catch{}}},55916:(e,t,n)=>{"use strict";n.d(t,{L:()=>a});var r=n(6732),i=n(54398);let o=null;function a(e){const t="error";(0,i.s5)(t,e),(0,i.AS)(t,s)}function s(){o=r.O.onerror,r.O.onerror=function(e,t,n,r,a){const s={column:r,error:a,line:n,msg:e,url:t};return(0,i.aj)("error",s),!!o&&o.apply(this,arguments)},r.O.onerror.__SENTRY_INSTRUMENTED__=!0}},25206:(e,t,n)=>{"use strict";n.d(t,{r:()=>a});var r=n(6732),i=n(54398);let o=null;function a(e){const t="unhandledrejection";(0,i.s5)(t,e),(0,i.AS)(t,s)}function s(){o=r.O.onunhandledrejection,r.O.onunhandledrejection=function(e){const t=e;return(0,i.aj)("unhandledrejection",t),!o||o.apply(this,arguments)},r.O.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}},54398:(e,t,n)=>{"use strict";n.d(t,{AS:()=>c,aj:()=>l,s5:()=>u});var r=n(64035),i=n(34129),o=n(33462);const a={},s={};function u(e,t){a[e]=a[e]||[],a[e].push(t)}function c(e,t){if(!s[e]){s[e]=!0;try{t()}catch(n){r.T&&i.Yz.error(`Error while instrumenting ${e}`,n)}}}function l(e,t){const n=e&&a[e];if(n)for(const a of n)try{a(t)}catch(s){r.T&&i.Yz.error(`Error while triggering instrumentation handler.\nType: ${e}\nName: ${(0,o.qQ)(a)}\nError:`,s)}}},54887:(e,t,n)=>{"use strict";n.d(t,{P$:()=>s,_C:()=>l,lc:()=>u,mH:()=>a,qm:()=>c});var r=n(64035),i=n(34129);const o=[];function a(e){const t=e.defaultIntegrations||[],n=e.integrations;let r;if(t.forEach(e=>{e.isDefaultInstance=!0}),Array.isArray(n))r=[...t,...n];else if("function"===typeof n){const e=n(t);r=Array.isArray(e)?e:[e]}else r=t;return function(e){const t={};return e.forEach(e=>{const{name:n}=e,r=t[n];r&&!r.isDefaultInstance&&e.isDefaultInstance||(t[n]=e)}),Object.values(t)}(r)}function s(e,t){const n={};return t.forEach(t=>{t&&c(e,t,n)}),n}function u(e,t){for(const n of t)n?.afterAllSetup&&n.afterAllSetup(e)}function c(e,t,n){if(n[t.name])r.T&&i.Yz.log(`Integration skipped because it was already installed: ${t.name}`);else{if(n[t.name]=t,o.includes(t.name)||"function"!==typeof t.setupOnce||(t.setupOnce(),o.push(t.name)),t.setup&&"function"===typeof t.setup&&t.setup(e),"function"===typeof t.preprocessEvent){const n=t.preprocessEvent.bind(t);e.on("preprocessEvent",(t,r)=>n(t,r,e))}if("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)}r.T&&i.Yz.log(`Integration installed: ${t.name}`)}}function l(e){return e}},31107:(e,t,n)=>{"use strict";n.d(t,{d:()=>g});var r=n(39477),i=n(64035),o=n(13538),a=n(54887),s=n(86032),u=n(34129),c=n(22089),l=n(66115),f=n(41324),d=n(6732);function h(e,t,n){return"util"in d.O&&"function"===typeof d.O.util.format?d.O.util.format(...e):function(e,t,n){return e.map(e=>(0,l.sO)(e)?String(e):JSON.stringify((0,f.S8)(e,t,n))).join(" ")}(e,t,n)}function p(e,t){const n={},r=new Array(t.length).fill("{}").join(" ");return n["sentry.message.template"]=`${e} ${r}`,t.forEach((e,t)=>{n[`sentry.message.parameter.${t}`]=e}),n}const m={[s.JD]:"auto.log.console"},g=(0,a._C)((e={})=>{const t=e.levels||u.Ow;return{name:"ConsoleLogs",setup(e){const{enableLogs:n,normalizeDepth:a=3,normalizeMaxBreadth:s=1e3}=e.getOptions();n?(0,o.P)(({args:n,level:i})=>{if((0,r.KU)()!==e||!t.includes(i))return;const o=n[0],u=n.slice(1);if("assert"===i){if(!o){const e=u.length>0?`Assertion failed: ${h(u,a,s)}`:"Assertion failed";(0,c.KG)({level:"error",message:e,attributes:m})}return}const l="log"===i,f=n.length>1&&"string"===typeof n[0]&&(d=n[0],!/%[sdifocO]/.test(d));var d;const g={...m,...f?p(o,u):{}};(0,c.KG)({level:l?"info":i,message:h(n,a,s),severityNumber:l?10:void 0,attributes:g})}):i.T&&u.Yz.warn("`enableLogs` is not enabled, ConsoleLogs integration disabled")}}})},22089:(e,t,n)=>{"use strict";function r(e,t){const{value:n,unit:r}="object"===typeof(i=e)&&null!=i&&!Array.isArray(i)&&Object.keys(i).includes("value")?e:{value:e,unit:void 0};var i;const o=function(e){const t="string"===typeof e?"string":"boolean"===typeof e?"boolean":"number"!==typeof e||Number.isNaN(e)?null:Number.isInteger(e)?"integer":"double";if(t)return{value:e,type:t}}(n),a=r&&"string"===typeof r?{unit:r}:{};if(o)return{...o,...a};if(!t||"skip-undefined"===t&&void 0===n)return;let s="";try{s=JSON.stringify(n)??""}catch{}return{value:s,type:"string",...a}}function i(e,t=!1){const n={};for(const[i,o]of Object.entries(e??{})){const e=r(o,t);e&&(n[i]=e)}return n}n.d(t,{KG:()=>E,lt:()=>x});var o=n(58513),a=n(39477),s=n(64035),u=n(34129),c=n(66115),l=n(86271),f=n(58016),d=n(82558);const h="sentry.timestamp.sequence";let p,m=0;var g=n(58445),y=n(13034);const v={trace:1,debug:5,info:9,warn:13,error:17,fatal:21};var b=n(50718),w=n(56111);function _(e,t,n,r){const i={};return t?.sdk&&(i.sdk={name:t.sdk.name,version:t.sdk.version}),n&&r&&(i.dsn=(0,b.SB)(r)),(0,w.h4)(i,[(o=e,[{type:"log",item_count:o.length,content_type:"application/vnd.sentry.items.log+json"},{items:o}])]);var o}const S=100;function k(e,t,n,r=!0){!n||e[t]&&!r||(e[t]=n)}function C(e,t){const n=O(),r=T(e);void 0===r?n.set(e,[t]):r.length>=S?(x(e,r),n.set(e,[t])):n.set(e,[...r,t])}function E(e,t=(0,a.o5)(),n=C){const r=t?.getClient()??(0,a.KU)();if(!r)return void(s.T&&u.Yz.warn("No client available to capture log."));const{release:o,environment:b,enableLogs:w=!1,beforeSendLog:_}=r.getOptions();if(!w)return void(s.T&&u.Yz.warn("logging option not enabled, log will not be captured."));const[,S]=function(e,t){return t?(0,a.v4)(t,()=>{const n=(0,y.Bk)(),r=n?(0,y.kX)(n):(0,a.vn)(t);return[n?(0,g.k1)(n):(0,g.ao)(e,t),r]}):[void 0,void 0]}(r,t),E={...e.attributes},{user:{id:x,email:T,username:O},attributes:A={}}=(0,l.Om)((0,a.rm)(),t);k(E,"user.id",x,!1),k(E,"user.email",T,!1),k(E,"user.name",O,!1),k(E,"sentry.release",o),k(E,"sentry.environment",b);const{name:I,version:R}=r.getSdkMetadata()?.sdk??{};k(E,"sentry.sdk.name",I),k(E,"sentry.sdk.version",R);const P=r.getIntegrationByName("Replay"),D=P?.getReplayId(!0);k(E,"sentry.replay_id",D),D&&"buffer"===P?.getRecordingMode()&&k(E,"sentry._internal.replay_is_buffering",!0);const z=e.message;if((0,c.NF)(z)){const{__sentry_template_string__:e,__sentry_template_values__:t=[]}=z;t?.length&&(E["sentry.message.template"]=e),t.forEach((e,t)=>{E[`sentry.message.parameter.${t}`]=e})}const M=(0,f.f)(t);k(E,"sentry.trace.parent_span_id",M?.spanContext().spanId);const N={...e,attributes:E};r.emit("beforeCaptureLog",N);const j=_?(0,u.pq)(()=>_(N)):N;if(!j)return r.recordDroppedEvent("before_send","log_item",1),void(s.T&&u.Yz.warn("beforeSendLog returned null, log will not be captured."));const{level:L,message:F,attributes:B={},severityNumber:U}=j,q=(0,d.zf)(),$=function(e){const t=Math.floor(1e3*e);void 0!==p&&t!==p&&(m=0);const n=m;return m++,p=t,{key:h,value:{value:n,type:"integer"}}}(q);n(r,{timestamp:q,level:L,body:F,trace_id:S?.trace_id,severity_number:U??v[L],attributes:{...i(A),...i(B,!0),[$.key]:$.value}}),r.emit("afterCaptureLog",j)}function x(e,t){const n=t??T(e)??[];if(0===n.length)return;const r=e.getOptions(),i=_(n,r._metadata,r.tunnel,e.getDsn());O().set(e,[]),e.emit("flushLogs"),e.sendEnvelope(i)}function T(e){return O().get(e)}function O(){return(0,o.BY)("clientToLogBufferMap",()=>new WeakMap)}},86032:(e,t,n)=>{"use strict";n.d(t,{E1:()=>d,Ef:()=>o,Fy:()=>m,JD:()=>s,Lc:()=>p,Le:()=>f,Sn:()=>c,fs:()=>u,i_:()=>r,jG:()=>h,sy:()=>i,uT:()=>a,xc:()=>l});const r="sentry.source",i="sentry.sample_rate",o="sentry.previous_trace_sample_rate",a="sentry.op",s="sentry.origin",u="sentry.idle_span_finish_reason",c="sentry.measurement_unit",l="sentry.measurement_value",f="sentry.custom_span_name",d="sentry.profile_id",h="sentry.exclusive_time",p="sentry.link.type",m="gen_ai.conversation.id"},54845:(e,t,n)=>{"use strict";n.d(t,{Vu:()=>s,fj:()=>o,qO:()=>a});var r=n(22931),i=n(82558);function o(e){const t=(0,i.zf)(),n={sid:(0,r.eJ)(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>function(e){return{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&&a(n,e),n}function a(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,i.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,r.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 s(e,t){let n={};t?n={status:t}:"ok"===e.status&&(n={status:"exited"}),a(e,n)}},58445:(e,t,n)=>{"use strict";n.d(t,{LZ:()=>h,ao:()=>m,k1:()=>g});var r=n(23876),i=n(39477),o=n(86032),a=n(77761),s=n(50718),u=n(85529),c=n(13216),l=n(13034),f=n(26181);const d="_frozenDsc";function h(e,t){const n=e;(0,c.my)(n,d,t)}function p(e,t){const n=t.getOptions(),{publicKey:i}=t.getDsn()||{},o={environment:n.environment||r.U,release:n.release,public_key:i,trace_id:e,org_id:(0,s.ul)(t)};return t.emit("createDsc",o),o}function m(e,t){const n=t.getPropagationContext();return n.dsc||p(n.traceId,e)}function g(e){const t=(0,i.KU)();if(!t)return{};const n=(0,l.zU)(e),r=(0,l.et)(n),s=r.data,c=n.spanContext().traceState,h=c?.get("sentry.sample_rate")??s[o.sy]??s[o.Ef];function m(e){return"number"!==typeof h&&"string"!==typeof h||(e.sample_rate=`${h}`),e}const g=n[d];if(g)return m(g);const y=c?.get("sentry.dsc"),v=y&&(0,a.yD)(y);if(v)return m(v);const b=p(e.spanContext().traceId,t),w=s[o.i_],_=r.description;return"url"!==w&&_&&(b.transaction=_),(0,u.f)()&&(b.sampled=String((0,l.pK)(n)),b.sample_rand=c?.get("sentry.sample_rand")??(0,f.L)(n).scope?.getPropagationContext().sampleRand.toString()),m(b),t.emit("createDsc",b,n),b}},6948:(e,t,n)=>{"use strict";n.d(t,{F3:()=>i,N8:()=>a,TJ:()=>o,a3:()=>r});const r=0,i=1,o=2;function a(e,t){e.setAttribute("http.response.status_code",t);const n=function(e){if(e<400&&e>=100)return{code:i};if(e>=400&&e<500)switch(e){case 401:return{code:o,message:"unauthenticated"};case 403:return{code:o,message:"permission_denied"};case 404:return{code:o,message:"not_found"};case 409:return{code:o,message:"already_exists"};case 413:return{code:o,message:"failed_precondition"};case 429:return{code:o,message:"resource_exhausted"};case 499:return{code:o,message:"cancelled"};default:return{code:o,message:"invalid_argument"}}if(e>=500&&e<600)switch(e){case 501:return{code:o,message:"unimplemented"};case 503:return{code:o,message:"unavailable"};case 504:return{code:o,message:"deadline_exceeded"};default:return{code:o,message:"internal_error"}}return{code:o,message:"internal_error"}}(t);"unknown_error"!==n.message&&e.setStatus(n)}},26181:(e,t,n)=>{"use strict";n.d(t,{L:()=>c,d:()=>u});var r=n(13216),i=n(6732);const o="_sentryScope",a="_sentryIsolationScope";function s(e){if(e){if("object"===typeof e&&"deref"in e&&"function"===typeof e.deref)try{return e.deref()}catch{return}return e}}function u(e,t,n){e&&((0,r.my)(e,a,function(e){try{const t=i.O.WeakRef;if("function"===typeof t)return new t(e)}catch{}return e}(n)),(0,r.my)(e,o,t))}function c(e){const t=e;return{scope:t[o],isolationScope:s(t[a])}}},77761:(e,t,n)=>{"use strict";n.d(t,{De:()=>l,sv:()=>a,yD:()=>c});var r=n(64035),i=n(34129),o=n(66115);const a="sentry-",s=/^sentry-/,u=8192;function c(e){const t=function(e){if(!e||!(0,o.Kg)(e)&&!Array.isArray(e))return;if(Array.isArray(e))return e.reduce((e,t)=>{const n=f(t);return Object.entries(n).forEach(([t,n])=>{e[t]=n}),e},{});return f(e)}(e);if(!t)return;const n=Object.entries(t).reduce((e,[t,n])=>{if(t.match(s)){e[t.slice(a.length)]=n}return e},{});return Object.keys(n).length>0?n:void 0}function l(e){if(!e)return;return function(e){if(0===Object.keys(e).length)return;return Object.entries(e).reduce((e,[t,n],o)=>{const a=`${encodeURIComponent(t)}=${encodeURIComponent(n)}`,s=0===o?a:`${e},${a}`;return s.length>u?(r.T&&i.Yz.warn(`Not adding key: ${t} with val: ${n} to baggage header due to exceeding baggage size limits.`),e):s},"")}(Object.entries(e).reduce((e,[t,n])=>(n&&(e[`${a}${t}`]=n),e),{}))}function f(e){return e.split(",").map(e=>{const t=e.indexOf("=");if(-1===t)return[];return[e.slice(0,t),e.slice(t+1)].map(e=>{try{return decodeURIComponent(e.trim())}catch{return}})}).reduce((e,[t,n])=>(t&&n&&(e[t]=n),e),{})}},50659:(e,t,n)=>{"use strict";n.d(t,{$N:()=>u,Hd:()=>a,xE:()=>c});var r=n(66115);const i=n(6732).O,o=80;function a(e,t={}){if(!e)return"<unknown>";try{let n=e;const r=5,i=[];let a=0,u=0;const c=" > ",l=c.length;let f;const d=Array.isArray(t)?t:t.keyAttrs,h=!Array.isArray(t)&&t.maxStringLength||o;for(;n&&a++<r&&(f=s(n,d),!("html"===f||a>1&&u+i.length*l+f.length>=h));)i.push(f),u+=f.length,n=n.parentNode;return i.reverse().join(c)}catch{return"<unknown>"}}function s(e,t){const n=e,o=[];if(!n?.tagName)return"";if(i.HTMLElement&&n instanceof HTMLElement&&n.dataset){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}o.push(n.tagName.toLowerCase());const a=t?.length?t.filter(e=>n.getAttribute(e)).map(e=>[e,n.getAttribute(e)]):null;if(a?.length)a.forEach(e=>{o.push(`[${e[0]}="${e[1]}"]`)});else{n.id&&o.push(`#${n.id}`);const e=n.className;if(e&&(0,r.Kg)(e)){const t=e.split(/\s+/);for(const e of t)o.push(`.${e}`)}}const s=["aria-label","type","name","title","alt"];for(const r of s){const e=n.getAttribute(r);e&&o.push(`[${r}="${e}"]`)}return o.join("")}function u(){try{return i.document.location.href}catch{return""}}function c(e){if(!i.HTMLElement)return null;let t=e;for(let n=0;n<5;n++){if(!t)return null;if(t instanceof HTMLElement){if(t.dataset.sentryComponent)return t.dataset.sentryComponent;if(t.dataset.sentryElement)return t.dataset.sentryElement}t=t.parentNode}return null}},69131:(e,t,n)=>{"use strict";n.d(t,{i:()=>l,z:()=>c});var r=n(33462),i=n(6732);let o,a,s,u;function c(e){const t=i.O._sentryDebugIds,n=i.O._debugIds;if(!t&&!n)return{};const r=t?Object.keys(t):[],c=n?Object.keys(n):[];if(u&&r.length===a&&c.length===s)return u;a=r.length,s=c.length,u={},o||(o={});const l=(t,n)=>{for(const r of t){const t=n[r],i=o?.[r];if(i&&u&&t)u[i[0]]=t,o&&(o[r]=[i[0],t]);else if(t){const n=e(r);for(let e=n.length-1;e>=0;e--){const i=n[e],a=i?.filename;if(a&&u&&o){u[a]=t,o[r]=[a,t];break}}}}};return t&&l(r,t),n&&l(c,n),u}function l(e,t){const n=c(e);if(!n)return[];const i=[];for(const o of t){const e=(0,r.Wt)(o);e&&n[e]&&i.push({type:"sourcemap",code_file:o,debug_id:n[e]})}return i}},34129:(e,t,n)=>{"use strict";n.d(t,{Ow:()=>a,Yz:()=>d,Z9:()=>s,pq:()=>u});var r=n(58513),i=n(64035),o=n(6732);const a=["debug","info","warn","error","log","assert","trace"],s={};function u(e){if(!("console"in o.O))return e();const t=o.O.console,n={},r=Object.keys(s);r.forEach(e=>{const r=s[e];n[e]=t[e],t[e]=r});try{return e()}finally{r.forEach(e=>{t[e]=n[e]})}}function c(){return f().enabled}function l(e,...t){i.T&&c()&&u(()=>{o.O.console[e](`Sentry Logger [${e}]:`,...t)})}function f(){return i.T?(0,r.BY)("loggerSettings",()=>({enabled:!1})):{enabled:!1}}const d={enable:function(){f().enabled=!0},disable:function(){f().enabled=!1},isEnabled:c,log:function(...e){l("log",...e)},warn:function(...e){l("warn",...e)},error:function(...e){l("error",...e)}}},50718:(e,t,n)=>{"use strict";n.d(t,{AD:()=>l,SB:()=>s,ul:()=>c});var r=n(64035),i=n(34129);const o=/^o(\d+)\./,a=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)((?:\[[:.%\w]+\]|[\w.-]+))(?::(\d+))?\/(.+)/;function s(e,t=!1){const{host:n,path:r,pass:i,port:o,projectId:a,protocol:s,publicKey:u}=e;return`${s}://${u}${t&&i?`:${i}`:""}@${n}${o?`:${o}`:""}/${r?`${r}/`:r}${a}`}function u(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=e.getOptions(),{host:n}=e.getDsn()||{};let r;return t.orgId?r=String(t.orgId):n&&(r=function(e){const t=e.match(o);return t?.[1]}(n)),r}function l(e){const t="string"===typeof e?function(e){const t=a.exec(e);if(!t)return void(0,i.pq)(()=>{});const[n,r,o="",s="",c="",l=""]=t.slice(1);let f="",d=l;const h=d.split("/");if(h.length>1&&(f=h.slice(0,-1).join("/"),d=h.pop()),d){const e=d.match(/^\d+/);e&&(d=e[0])}return u({host:s,pass:o,path:f,projectId:d,port:c,protocol:n,publicKey:r})}(e):u(e);if(t&&function(e){if(!r.T)return!0;const{port:t,projectId:n,protocol:o}=e;return!["protocol","publicKey","host","projectId"].find(t=>!e[t]&&(i.Yz.error(`Invalid Sentry Dsn: ${t} missing`),!0))&&(n.match(/^\d+$/)?function(e){return"http"===e||"https"===e}(o)?!t||!isNaN(parseInt(t,10))||(i.Yz.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):(i.Yz.error(`Invalid Sentry Dsn: Invalid protocol ${o}`),!1):(i.Yz.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1))}(t))return t}},23768:(e,t,n)=>{"use strict";function r(){return"undefined"!==typeof __SENTRY_BROWSER_BUNDLE__&&!!__SENTRY_BROWSER_BUNDLE__}function i(){return"npm"}n.d(t,{Z:()=>r,e:()=>i})},56111:(e,t,n)=>{"use strict";n.d(t,{Cj:()=>y,W3:()=>u,bN:()=>d,bm:()=>p,h4:()=>s,hP:()=>l,n2:()=>v,y5:()=>h,yH:()=>c,zk:()=>g});var r=n(58513),i=n(50718),o=n(41324),a=n(6732);function s(e,t=[]){return[e,t]}function u(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 c(e,(e,n)=>t.includes(n))}function f(e){const t=(0,r.Se)(a.O);return t.encodePolyfill?t.encodePolyfill(e):(new TextEncoder).encode(e)}function d(e){const[t,n]=e;let r=JSON.stringify(t);function i(e){"string"===typeof r?r="string"===typeof e?r+e:[f(r),e]:r.push("string"===typeof e?f(e):e)}for(const a of n){const[e,t]=a;if(i(`\n${JSON.stringify(e)}\n`),"string"===typeof t||t instanceof Uint8Array)i(t);else{let e;try{e=JSON.stringify(t)}catch{e=JSON.stringify((0,o.S8)(t))}i(e)}}return"string"===typeof r?r:function(e){const t=e.reduce((e,t)=>e+t.length,0),n=new Uint8Array(t);let r=0;for(const i of e)n.set(i,r),r+=i.length;return n}(r)}function h(e){return[{type:"span"},e]}function p(e){const t="string"===typeof e.data?f(e.data):e.data;return[{type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType},t]}const m={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",raw_security:"security",log:"log_item",metric:"metric",trace_metric:"metric"};function g(e){return m[e]}function y(e){if(!e?.sdk)return;const{name:t,version:n}=e.sdk;return{name:t,version:n}}function v(e,t,n,r){const o=e.sdkProcessingMetadata?.dynamicSamplingContext;return{event_id:e.event_id,sent_at:(new Date).toISOString(),...t&&{sdk:t},...!!n&&r&&{dsn:(0,i.SB)(r)},...o&&{trace:o}}}},85529:(e,t,n)=>{"use strict";n.d(t,{f:()=>i});var r=n(39477);function i(e){if("boolean"===typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;const t=e||(0,r.KU)()?.getOptions();return!!t&&(null!=t.tracesSampleRate||!!t.tracesSampler)}},66115:(e,t,n)=>{"use strict";n.d(t,{BD:()=>s,Kg:()=>c,L2:()=>b,NF:()=>l,Qd:()=>d,Qg:()=>g,T2:()=>a,W6:()=>u,bJ:()=>i,gd:()=>m,ks:()=>w,mE:()=>y,sO:()=>f,tH:()=>v,vq:()=>p,xH:()=>h});const r=Object.prototype.toString;function i(e){switch(r.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return v(e,Error)}}function o(e,t){return r.call(e)===`[object ${t}]`}function a(e){return o(e,"ErrorEvent")}function s(e){return o(e,"DOMError")}function u(e){return o(e,"DOMException")}function c(e){return o(e,"String")}function l(e){return"object"===typeof e&&null!==e&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function f(e){return null===e||l(e)||"object"!==typeof e&&"function"!==typeof e}function d(e){return o(e,"Object")}function h(e){return"undefined"!==typeof Event&&v(e,Event)}function p(e){return"undefined"!==typeof Element&&v(e,Element)}function m(e){return o(e,"RegExp")}function g(e){return Boolean(e?.then&&"function"===typeof e.then)}function y(e){return d(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function v(e,t){try{return e instanceof t}catch{return!1}}function b(e){return!("object"!==typeof e||null===e||!(e.__isVue||e._isVue||e.__v_isVNode))}function w(e){return"undefined"!==typeof Request&&v(e,Request)}},77517:(e,t,n)=>{"use strict";n.d(t,{B:()=>a});var r=n(23768),i=n(54650);var o=n(6732);function a(){return"undefined"!==typeof window&&(!(!(0,r.Z)()&&"[object process]"===Object.prototype.toString.call("undefined"!==typeof i?i:0))||function(){const e=o.O.process;return"renderer"===e?.type}())}},22931:(e,t,n)=>{"use strict";n.d(t,{$X:()=>c,GR:()=>d,M6:()=>f,eJ:()=>s,gO:()=>l});var r=n(13216),i=n(62650),o=n(6732);let a;function s(e=function(){const e=o.O;return e.crypto||e.msCrypto}()){try{if(e?.randomUUID)return(0,i.Qw)(()=>e.randomUUID()).replace(/-/g,"")}catch{}return a||(a=[1e7]+1e3+4e3+8e3+1e11),a.replace(/[018]/g,e=>(e^(16*(0,i.hY)()&15)>>e/4).toString(16))}function u(e){return e.exception?.values?.[0]}function c(e){const{message:t,event_id:n}=e;if(t)return t;const r=u(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"<unknown>":n||"<unknown>"}function l(e,t,n){const r=e.exception=e.exception||{},i=r.values=r.values||[],o=i[0]=i[0]||{};o.value||(o.value=t||""),o.type||(o.type=n||"Error")}function f(e,t){const n=u(e);if(!n)return;const r=n.mechanism;if(n.mechanism={type:"generic",handled:!0,...r,...t},t&&"data"in t){const e={...r?.data,...t.data};n.mechanism.data=e}}function d(e){if(function(e){try{return e.__sentry_captured__}catch{}}(e))return!0;try{(0,r.my)(e,"__sentry_captured__",!0)}catch{}return!1}},41324:(e,t,n)=>{"use strict";n.d(t,{S8:()=>a,cd:()=>s});var r=n(66115),i=n(13216),o=n(33462);function a(e,t=100,n=1/0){try{return u("",e,t,n)}catch(r){return{ERROR:`**non-serializable** (${r})`}}}function s(e,t=3,n=102400){const r=a(e,t);return i=r,function(e){return~-encodeURI(e).split(/%..|./).length}(JSON.stringify(i))>n?s(e,t-1,n):r;var i}function u(e,t,n=1/0,a=1/0,s=function(){const e=new WeakSet;function t(t){return!!e.has(t)||(e.add(t),!1)}function n(t){e.delete(t)}return[t,n]}()){const[c,l]=s;if(null==t||["boolean","string"].includes(typeof t)||"number"===typeof t&&Number.isFinite(t))return t;const f=function(e,t){try{if("domain"===e&&t&&"object"===typeof t&&t._events)return"[Domain]";if("domainEmitter"===e)return"[DomainEmitter]";if("undefined"!==typeof global&&t===global)return"[Global]";if("undefined"!==typeof window&&t===window)return"[Window]";if("undefined"!==typeof document&&t===document)return"[Document]";if((0,r.L2)(t))return(0,o.nY)(t);if((0,r.mE)(t))return"[SyntheticEvent]";if("number"===typeof t&&!Number.isFinite(t))return`[${t}]`;if("function"===typeof t)return`[Function: ${(0,o.qQ)(t)}]`;if("symbol"===typeof t)return`[${String(t)}]`;if("bigint"===typeof t)return`[BigInt: ${String(t)}]`;const n=function(e){const t=Object.getPrototypeOf(e);return t?.constructor?t.constructor.name:"null prototype"}(t);return/^HTML(\w*)Element$/.test(n)?`[HTMLElement: ${n}]`:`[object ${n}]`}catch(n){return`**non-serializable** (${n})`}}(e,t);if(!f.startsWith("[object "))return f;if(t.__sentry_skip_normalization__)return t;const d="number"===typeof t.__sentry_override_normalization_depth__?t.__sentry_override_normalization_depth__:n;if(0===d)return f.replace("object ","");if(c(t))return"[Circular ~]";const h=t;if(h&&"function"===typeof h.toJSON)try{return u("",h.toJSON(),d-1,a,s)}catch{}const p=Array.isArray(t)?[]:{};let m=0;const g=(0,i.W4)(t);for(const r in g){if(!Object.prototype.hasOwnProperty.call(g,r))continue;if(m>=a){p[r]="[MaxProperties ~]";break}const e=g[r];p[r]=u(r,e,d-1,a,s),m++}return l(t),p}},13216:(e,t,n)=>{"use strict";n.d(t,{GS:()=>s,HF:()=>p,W4:()=>f,my:()=>u,pO:()=>c,sp:()=>l});var r=n(64035),i=n(50659),o=n(34129),a=n(66115);function s(e,t,n){if(!(t in e))return;const i=e[t];if("function"!==typeof i)return;const a=n(i);"function"===typeof a&&c(a,i);try{e[t]=a}catch{r.T&&o.Yz.log(`Failed to replace method "${t}" in object`,e)}}function u(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch{r.T&&o.Yz.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function c(e,t){try{const n=t.prototype||{};e.prototype=t.prototype=n,u(e,"__sentry_original__",t)}catch{}}function l(e){return e.__sentry_original__}function f(e){if((0,a.bJ)(e))return{message:e.message,name:e.name,stack:e.stack,...h(e)};if((0,a.xH)(e)){const t={type:e.type,target:d(e.target),currentTarget:d(e.currentTarget),...h(e)};return"undefined"!==typeof CustomEvent&&(0,a.tH)(e,CustomEvent)&&(t.detail=e.detail),t}return e}function d(e){try{return(0,a.vq)(e)?(0,i.Hd)(e):Object.prototype.toString.call(e)}catch{return"<unknown>"}}function h(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 p(e){const t=Object.keys(f(e));return t.sort(),t[0]?t.join(", "):"[object has no keys]"}},86792:(e,t,n)=>{"use strict";function r(e){if("boolean"===typeof e)return Number(e);const t="string"===typeof e?parseFloat(e):e;return"number"!==typeof t||isNaN(t)||t<0||t>1?void 0:t}n.d(t,{i:()=>r})},32310:(e,t,n)=>{"use strict";n.d(t,{li:()=>v,mG:()=>y});var r=n(23876),i=n(64035),o=n(34129),a=n(66115),s=n(92835);function u(e,t,n,r=0){try{const i=c(t,n,e,r);return(0,a.Qg)(i)?i:(0,s.XW)(i)}catch(i){return(0,s.xg)(i)}}function c(e,t,n,r){const s=n[r];if(!e||!s)return e;const u=s({...e},t);return i.T&&null===u&&o.Yz.log(`Event processor "${s.id||"?"}" dropped event`),(0,a.Qg)(u)?u.then(e=>c(e,t,n,r+1)):c(u,t,n,r+1)}var l=n(20141),f=n(69131),d=n(22931),h=n(41324),p=n(86271),m=n(38126),g=n(82558);function y(e,t,n,i,o,a){const{normalizeDepth:c=3,normalizeMaxBreadth:y=1e3}=e,v={...t,event_id:t.event_id||n.event_id||(0,d.eJ)(),timestamp:t.timestamp||(0,g.lu)()},b=n.integrations||e.integrations.map(e=>e.name);!function(e,t){const{environment:n,release:i,dist:o,maxValueLength:a}=t;e.environment=e.environment||n||r.U,!e.release&&i&&(e.release=i);!e.dist&&o&&(e.dist=o);const s=e.request;s?.url&&a&&(s.url=(0,m.xv)(s.url,a));a&&e.exception?.values?.forEach(e=>{e.value&&(e.value=(0,m.xv)(e.value,a))})}(v,e),function(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}(v,b),o&&o.emit("applyFrameMetadata",t),void 0===t.type&&function(e,t){const n=(0,f.z)(t);e.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{e.filename&&(e.debug_id=n[e.filename])})})}(v,e.stackParser);const w=function(e,t){if(!t)return e;const n=e?e.clone():new l.H;return n.update(t),n}(i,n.captureContext);n.mechanism&&(0,d.M6)(v,n.mechanism);const _=o?o.getEventProcessors():[],S=(0,p.Om)(a,w),k=[...n.attachments||[],...S.attachments];k.length&&(n.attachments=k),(0,p.e2)(v,S);const C=[..._,...S.eventProcessors];return(n.data&&!0===n.data.__sentry__?(0,s.XW)(v):u(C,v,n)).then(e=>(e&&function(e){const t={};if(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)})}),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.entries(t).forEach(([e,t])=>{n.push({type:"sourcemap",code_file:e,debug_id:t})})}(e),"number"===typeof c&&c>0?function(e,t,n){if(!e)return null;const r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(e=>({...e,...e.data&&{data:(0,h.S8)(e.data,t,n)}}))},...e.user&&{user:(0,h.S8)(e.user,t,n)},...e.contexts&&{contexts:(0,h.S8)(e.contexts,t,n)},...e.extra&&{extra:(0,h.S8)(e.extra,t,n)}};e.contexts?.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=(0,h.S8)(e.contexts.trace.data,t,n)));e.spans&&(r.spans=e.spans.map(e=>({...e,...e.data&&{data:(0,h.S8)(e.data,t,n)}})));e.contexts?.flags&&r.contexts&&(r.contexts.flags=(0,h.S8)(e.contexts.flags,3,n));return r}(e,c,y):e))}function v(e){if(e)return function(e){return e instanceof l.H||"function"===typeof e}(e)||function(e){return Object.keys(e).some(e=>b.includes(e))}(e)?{captureContext:e}:e}const b=["user","level","extra","contexts","tags","fingerprint","propagationContext"]},52510:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o,e:()=>i});var r=n(22931);function i(){return(0,r.eJ)()}function o(){return(0,r.eJ)().substring(16)}},39174:(e,t,n)=>{"use strict";n.d(t,{Jz:()=>o,wq:()=>a});var r=n(62650);const i=6e4;function o(e,t,n=(0,r.Wk)()){return function(e,t){return e[t]||e.all||0}(e,t)>n}function a(e,{statusCode:t,headers:n},o=(0,r.Wk)()){const a={...e},s=n?.["x-sentry-rate-limits"],u=n?.["retry-after"];if(s)for(const r of s.trim().split(",")){const[e,t,,,n]=r.split(":",5),i=parseInt(e,10),s=1e3*(isNaN(i)?60:i);if(t)for(const r of t.split(";"))"metric_bucket"===r&&n&&!n.split(";").includes("custom")||(a[r]=o+s);else a.all=o+s}else u?a.all=o+function(e,t=(0,r.Wk)()){const n=parseInt(`${e}`,10);if(!isNaN(n))return 1e3*n;const o=Date.parse(`${e}`);return isNaN(o)?i:o-t}(u,o):429===t&&(a.all=o+6e4);return a}},86271:(e,t,n)=>{"use strict";n.d(t,{Om:()=>l,e2:()=>s});var r=n(39477),i=n(58445),o=n(1807),a=n(13034);function s(e,t){const{fingerprint:n,span:r,breadcrumbs:o,sdkProcessingMetadata:s}=t;!function(e,t){const{extra:n,tags:r,user:i,contexts:o,level:a,transactionName:s}=t;Object.keys(n).length&&(e.extra={...n,...e.extra});Object.keys(r).length&&(e.tags={...r,...e.tags});Object.keys(i).length&&(e.user={...i,...e.user});Object.keys(o).length&&(e.contexts={...o,...e.contexts});a&&(e.level=a);s&&"transaction"!==e.type&&(e.transaction=s)}(e,t),r&&function(e,t){e.contexts={trace:(0,a.kX)(t),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:(0,i.k1)(t),...e.sdkProcessingMetadata};const n=(0,a.zU)(t),r=(0,a.et)(n).description;r&&!e.transaction&&"transaction"===e.type&&(e.transaction=r)}(e,r),function(e,t){e.fingerprint=e.fingerprint?Array.isArray(e.fingerprint)?e.fingerprint:[e.fingerprint]:[],t&&(e.fingerprint=e.fingerprint.concat(t));e.fingerprint.length||delete e.fingerprint}(e,n),function(e,t){const n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}(e,o),function(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}(e,s)}function u(e,t){const{extra:n,tags:r,attributes:i,user:a,contexts:s,level:u,sdkProcessingMetadata:l,breadcrumbs:f,fingerprint:d,eventProcessors:h,attachments:p,propagationContext:m,transactionName:g,span:y}=t;c(e,"extra",n),c(e,"tags",r),c(e,"attributes",i),c(e,"user",a),c(e,"contexts",s),e.sdkProcessingMetadata=(0,o.h)(e.sdkProcessingMetadata,l,2),u&&(e.level=u),g&&(e.transactionName=g),y&&(e.span=y),f.length&&(e.breadcrumbs=[...e.breadcrumbs,...f]),d.length&&(e.fingerprint=[...e.fingerprint,...d]),h.length&&(e.eventProcessors=[...e.eventProcessors,...h]),p.length&&(e.attachments=[...e.attachments,...p]),e.propagationContext={...e.propagationContext,...m}}function c(e,t,n){e[t]=(0,o.h)(e[t],n,1)}function l(e,t){const n=(0,r.m6)().getScopeData();return e&&u(n,e.getScopeData()),t&&u(n,t.getScopeData()),n}},63312:(e,t,n)=>{"use strict";function r(e){return"warn"===e?"warning":["fatal","error","warning","log","info","debug"].includes(e)?e:"log"}n.d(t,{t:()=>r})},38632:(e,t,n)=>{"use strict";n.d(t,{R:()=>u,e:()=>s});var r=n(64035),i=n(34129),o=n(38126);function a(e){i.Yz.log(`Ignoring span ${e.op} - ${e.description} because it matches \`ignoreSpans\`.`)}function s(e,t){if(!t?.length||!e.description)return!1;for(const n of t){if(c(n)){if((0,o._c)(e.description,n))return r.T&&a(e),!0;continue}if(!n.name&&!n.op)continue;const t=!n.name||(0,o._c)(e.description,n.name),i=!n.op||e.op&&(0,o._c)(e.op,n.op);if(t&&i)return r.T&&a(e),!0}return!1}function u(e,t){const n=t.parent_span_id,r=t.span_id;if(n)for(const i of e)i.parent_span_id===r&&(i.parent_span_id=n)}function c(e){return"string"===typeof e||e instanceof RegExp}},13034:(e,t,n)=>{"use strict";n.d(t,{Bk:()=>z,CC:()=>m,Ck:()=>v,G_:()=>_,Hu:()=>I,Qh:()=>w,VS:()=>R,aO:()=>g,cI:()=>k,et:()=>E,kX:()=>b,pK:()=>x,uU:()=>S,xO:()=>P,xl:()=>M,yW:()=>T,zU:()=>D});var r=n(37816),i=n(58513),o=n(39477),a=n(86032),s=n(6948),u=n(26181),c=n(13216),l=n(52510),f=n(82558),d=n(38998),h=n(34129),p=n(58016);const m=0,g=1;let y=!1;function v(e){const{spanId:t,traceId:n}=e.spanContext(),{data:r,op:i,parent_span_id:o,status:a,origin:s,links:u}=E(e);return{parent_span_id:o,span_id:t,trace_id:n,data:r,op:i,status:a,origin:s,links:u}}function b(e){const{spanId:t,traceId:n,isRemote:r}=e.spanContext(),i=r?t:E(e).parent_span_id,o=(0,u.L)(e).scope;return{parent_span_id:i,span_id:r?o?.getPropagationContext().propagationSpanId||(0,l.Z)():t,trace_id:n}}function w(e){const{traceId:t,spanId:n}=e.spanContext(),r=x(e);return(0,d.TC)(t,n,r)}function _(e){const{traceId:t,spanId:n}=e.spanContext(),r=x(e);return(0,d.Iy)(t,n,r)}function S(e){return e&&e.length>0?e.map(({context:{spanId:e,traceId:t,traceFlags:n,...r},attributes:i})=>({span_id:e,trace_id:t,sampled:n===g,attributes:i,...r})):void 0}function k(e){return"number"===typeof e?C(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?C(e.getTime()):(0,f.zf)()}function C(e){return e>9999999999?e/1e3:e}function E(e){if(function(e){return"function"===typeof e.getSpanJSON}(e))return e.getSpanJSON();const{spanId:t,traceId:n}=e.spanContext();if(function(e){const t=e;return!!t.attributes&&!!t.startTime&&!!t.name&&!!t.endTime&&!!t.status}(e)){const{attributes:r,startTime:i,name:o,endTime:s,status:u,links:c}=e;return{span_id:t,trace_id:n,data:r,description:o,parent_span_id:"parentSpanId"in e?e.parentSpanId:"parentSpanContext"in e?e.parentSpanContext?.spanId:void 0,start_timestamp:k(i),timestamp:k(s)||void 0,status:T(u),op:r[a.uT],origin:r[a.JD],links:S(c)}}return{span_id:t,trace_id:n,start_timestamp:0,data:{}}}function x(e){const{traceFlags:t}=e.spanContext();return t===g}function T(e){if(e&&e.code!==s.a3)return e.code===s.F3?"ok":e.message||"internal_error"}const O="_sentryChildSpans",A="_sentryRootSpan";function I(e,t){const n=e[A]||e;(0,c.my)(t,A,n),e[O]?e[O].add(t):(0,c.my)(e,O,new Set([t]))}function R(e,t){e[O]&&e[O].delete(t)}function P(e){const t=new Set;return function e(n){if(!t.has(n)&&x(n)){t.add(n);const r=n[O]?Array.from(n[O]):[];for(const t of r)e(t)}}(e),Array.from(t)}function D(e){return e[A]||e}function z(){const e=(0,i.EU)(),t=(0,r.h)(e);return t.getActiveSpan?t.getActiveSpan():(0,p.f)((0,o.o5)())}function M(){y||((0,h.pq)(()=>{}),y=!0)}},33462:(e,t,n)=>{"use strict";n.d(t,{RV:()=>d,Wt:()=>p,gd:()=>s,nY:()=>h,qQ:()=>f,vk:()=>u,yF:()=>i});const r=50,i="?",o=/\(error: (.*)\)/,a=/captureMessage|captureException/;function s(...e){const t=e.sort((e,t)=>e[0]-t[0]).map(e=>e[1]);return(e,n=0,s=0)=>{const u=[],l=e.split("\n");for(let i=n;i<l.length;i++){let e=l[i];e.length>1024&&(e=e.slice(0,1024));const n=o.test(e)?e.replace(o,"$1"):e;if(!n.match(/\S*Error: /)){for(const e of t){const t=e(n);if(t){u.push(t);break}}if(u.length>=r+s)break}}return function(e){if(!e.length)return[];const t=Array.from(e);/sentryWrapped/.test(c(t).function||"")&&t.pop();t.reverse(),a.test(c(t).function||"")&&(t.pop(),a.test(c(t).function||"")&&t.pop());return t.slice(0,r).map(e=>({...e,filename:e.filename||c(t).filename,function:e.function||i}))}(u.slice(s))}}function u(e){return Array.isArray(e)?s(...e):e}function c(e){return e[e.length-1]||{}}const l="<anonymous>";function f(e){try{return e&&"function"===typeof e&&e.name||l}catch{return l}}function d(e){const t=e.exception;if(t){const e=[];try{return t.values.forEach(t=>{t.stacktrace.frames&&e.push(...t.stacktrace.frames)}),e}catch{return}}}function h(e){return"__v_isVNode"in e&&e.__v_isVNode?"[VueVNode]":"[VueViewModel]"}function p(e){let t=e?.startsWith("file://")?e.slice(7):e;return t?.match(/\/[A-Z]:/)&&(t=t.slice(1)),t}},38126:(e,t,n)=>{"use strict";n.d(t,{Xr:()=>u,_c:()=>s,gt:()=>a,xv:()=>o});var r=n(66115),i=n(33462);function o(e,t=0){return"string"!==typeof e||0===t||e.length<=t?e:`${e.slice(0,t)}...`}function a(e,t){if(!Array.isArray(e))return"";const n=[];for(let o=0;o<e.length;o++){const t=e[o];try{(0,r.L2)(t)?n.push((0,i.nY)(t)):n.push(String(t))}catch{n.push("[value cannot be serialized]")}}return n.join(t)}function s(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)))}function u(e,t=[],n=!1){return t.some(t=>s(e,t,n))}},44495:(e,t,n)=>{"use strict";n.d(t,{NJ:()=>a,a3:()=>u,m7:()=>c});var r=n(64035),i=n(34129);const o=n(6732).O;function a(){return"history"in o&&!!o.history}function s(){if(!("fetch"in o))return!1;try{return new Headers,new Request("data:,"),new Response,!0}catch{return!1}}function u(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function c(){if("string"===typeof EdgeRuntime)return!0;if(!s())return!1;if(u(o.fetch))return!0;let e=!1;const t=o.document;if(t&&"function"===typeof t.createElement)try{const n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n),n.contentWindow?.fetch&&(e=u(n.contentWindow.fetch)),t.head.removeChild(n)}catch(n){r.T&&i.Yz.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",n)}return e}},92835:(e,t,n)=>{"use strict";n.d(t,{XW:()=>i,xg:()=>o});var r=n(66115);function i(e){return new a(t=>{t(e)})}function o(e){return new a((t,n)=>{n(e)})}class a{constructor(e){this._state=0,this._handlers=[],this._runExecutor(e)}then(e,t){return new a((n,r)=>{this._handlers.push([!1,t=>{if(e)try{n(e(t))}catch(i){r(i)}else n(t)},e=>{if(t)try{n(t(e))}catch(i){r(i)}else r(e)}]),this._executeHandlers()})}catch(e){return this.then(e=>e,e)}finally(e){return new a((t,n)=>{let r,i;return this.then(t=>{i=!1,r=t,e&&e()},t=>{i=!0,r=t,e&&e()}).then(()=>{i?n(r):t(r)})})}_executeHandlers(){if(0===this._state)return;const e=this._handlers.slice();this._handlers=[],e.forEach(e=>{e[0]||(1===this._state&&e[1](this._value),2===this._state&&e[2](this._value),e[0]=!0)})}_runExecutor(e){const t=(e,t)=>{0===this._state&&((0,r.Qg)(t)?t.then(n,i):(this._state=e,this._value=t,this._executeHandlers()))},n=e=>{t(1,e)},i=e=>{t(2,e)};try{e(n,i)}catch(o){i(o)}}}},82558:(e,t,n)=>{"use strict";n.d(t,{k3:()=>l,lu:()=>a,zf:()=>u});var r=n(62650),i=n(6732);const o=1e3;function a(){return(0,r.Wk)()/o}let s;function u(){return(s??(s=function(){const{performance:e}=i.O;if(!e?.now||!e.timeOrigin)return a;const t=e.timeOrigin;return()=>(t+(0,r.Qw)(()=>e.now()))/o}()))()}let c=null;function l(){return null===c&&(c=function(){const{performance:e}=i.O;if(!e?.now)return;const t=3e5,n=(0,r.Qw)(()=>e.now()),o=(0,r.Wk)(),a=e.timeOrigin;if("number"===typeof a&&Math.abs(a+n-o)<t)return a;const s=e.timing?.navigationStart;if("number"===typeof s&&Math.abs(s+n-o)<t)return s;return o-n}()),c}},38998:(e,t,n)=>{"use strict";n.d(t,{Iy:()=>l,MI:()=>s,TC:()=>c,kM:()=>u});var r=n(77761),i=n(86792),o=n(52510),a=n(62650);const s=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function u(e,t){const n=function(e){if(!e)return;const t=e.match(s);if(!t)return;let n;return"1"===t[3]?n=!0:"0"===t[3]&&(n=!1),{traceId:t[1],parentSampled:n,parentSpanId:t[2]}}(e),u=(0,r.yD)(t);if(!n?.traceId)return{traceId:(0,o.e)(),sampleRand:(0,a.hY)()};const c=function(e,t){const n=(0,i.i)(t?.sample_rand);if(void 0!==n)return n;const r=(0,i.i)(t?.sample_rate);return r&&void 0!==e?.parentSampled?e.parentSampled?(0,a.hY)()*r:r+(0,a.hY)()*(1-r):(0,a.hY)()}(n,u);u&&(u.sample_rand=c.toString());const{traceId:l,parentSpanId:f,parentSampled:d}=n;return{traceId:l,parentSpanId:f,sampled:d,dsc:u||{},sampleRand:c}}function c(e=(0,o.e)(),t=(0,o.Z)(),n){let r="";return void 0!==n&&(r=n?"-1":"-0"),`${e}-${t}${r}`}function l(e=(0,o.e)(),t=(0,o.Z)(),n){return`00-${e}-${t}-${n?"01":"00"}`}},64278:(e,t,n)=>{"use strict";n.d(t,{CH:()=>a,Dl:()=>s,f:()=>u,kg:()=>o,nt:()=>i,zm:()=>c});const r="thismessage:/";function i(e){return"isRelative"in e}function o(e,t){const n=e.indexOf("://")<=0&&0!==e.indexOf("//"),i=t??(n?r:void 0);try{if("canParse"in URL&&!URL.canParse(e,i))return;const t=new URL(e,i);return n?{isRelative:n,pathname:t.pathname,search:t.search,hash:t.hash}:t}catch{}}function a(e){if(i(e))return e.pathname;const t=new URL(e);return t.search="",t.hash="",["80","443"].includes(t.port)&&(t.port=""),t.password&&(t.password="%filtered%"),t.username&&(t.username="%filtered%"),t.toString()}function s(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}}function u(e){return e.split(/[?#]/,1)[0]}function c(e,t=!0){if(e.startsWith("data:")){const n=e.match(/^data:([^;,]+)/),r=n?n[1]:"text/plain",i=e.includes(";base64,"),o=e.indexOf(",");let a="";if(t&&-1!==o){const t=e.slice(o+1);a=t.length>10?`${t.slice(0,10)}... [truncated]`:t}return`data:${r}${i?",base64":""}${a?`,${a}`:""}`}return e}},30338:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(77007),i=n(4056);const o=new(n(25016).A)(i.A,r.A)._freeze()}}]);
3
+ //# sourceMappingURL=2798.9c98addb.js.map