@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.
- package/README.md +275 -109
- package/asset-manifest.json +63 -67
- package/emailmaker-esm.js +1 -1
- package/emailmaker.d.ts +306 -38
- package/emailmaker.js +1 -1
- package/fonts/SegoeUI-Bold.woff2 +0 -0
- package/fonts/SegoeUI-Semibold.woff2 +0 -0
- package/fonts/SegoeUI.woff2 +0 -0
- package/iframe/429.js +1 -1
- package/iframe/766.js +1 -1
- package/iframe/iframe-eblock.3b8240bd8d75c6ee2a77.html +1 -0
- package/iframe/iframe.3b8240bd8d75c6ee2a77.html +1 -0
- package/iframe/index.html +1 -1
- package/iframe/js/525.7e478fc1.js +1 -0
- package/iframe/js/667.4d0450c5.js +1 -0
- package/iframe/js/882.46943f9a.js +1 -0
- package/iframe/sandbox-eblock.js +1 -1
- package/package.json +1 -1
- package/static/css/2854.257728de.chunk.css +2 -0
- package/static/css/5072.f959228f.chunk.css +2 -0
- package/static/css/{2557.2ede4a53.chunk.css → 8727.2f8ba497.chunk.css} +1 -1
- package/static/css/main.f5e75ca4.css +2 -0
- package/static/js/1345.70eac4ec.js +3 -0
- package/static/js/1345.70eac4ec.js.LICENSE.txt +101 -0
- package/static/js/1532.5ef52703.js +3 -0
- package/static/js/{2491.d65e25c3.js.LICENSE.txt → 1532.5ef52703.js.LICENSE.txt} +8 -0
- package/static/js/1716.2d977604.js +3 -0
- package/static/js/1716.2d977604.js.LICENSE.txt +11 -0
- package/static/js/1902.fa7e9fe6.js +3 -0
- package/static/js/{9503.529740b0.js.LICENSE.txt → 1902.fa7e9fe6.js.LICENSE.txt} +41 -5
- package/static/js/1940.e77ca441.js +3 -0
- package/static/js/2022.b4591f7e.js +3 -0
- package/static/js/{566.a759ee99.js.LICENSE.txt → 2022.b4591f7e.js.LICENSE.txt} +0 -13
- package/static/js/{327.31ca6e0d.js → 262.19eb7dd4.js} +3 -3
- package/static/js/2798.9c98addb.js +3 -0
- package/static/js/2798.9c98addb.js.LICENSE.txt +97 -0
- package/static/js/284.7faba600.js +2 -0
- package/static/js/2854.95e1c8d0.js +2 -0
- package/static/js/3718.76cec3de.js +2 -0
- package/static/js/5072.e5ce1614.js +3 -0
- package/static/js/5072.e5ce1614.js.LICENSE.txt +10 -0
- package/static/js/5333.afbfef64.js +3 -0
- package/static/js/{emailmaker_core.03a31b5b.js.LICENSE.txt → 5333.afbfef64.js.LICENSE.txt} +15 -3
- package/static/js/598.61e6a78a.js +2 -0
- package/static/js/8430.12bfa59b.js +2 -0
- package/static/js/8466.44341e69.js +2 -0
- package/static/js/{8580.fb06c399.js → 8580.47fa4f83.js} +2 -2
- package/static/js/8722.cfde4eb7.js +3 -0
- package/static/js/8727.ef480f4b.js +2 -0
- package/static/js/emailmaker_core.1f145e15.js +2 -0
- package/iframe/iframe-eblock.8216ee8050e216f489af.html +0 -1
- package/iframe/iframe.8216ee8050e216f489af.html +0 -1
- package/iframe/js/525.87bb307e.js +0 -1
- package/iframe/js/667.5b6da6e1.js +0 -1
- package/iframe/js/882.46d35112.js +0 -1
- package/static/css/6310.98e625aa.chunk.css +0 -2
- package/static/css/9617.0a8094c7.chunk.css +0 -2
- package/static/css/main.b7275454.css +0 -2
- package/static/js/1902.8d2f3fce.js +0 -2
- package/static/js/1940.524f0244.js +0 -3
- package/static/js/2491.d65e25c3.js +0 -3
- package/static/js/2557.c5dfa9a5.js +0 -2
- package/static/js/284.efb80df6.js +0 -2
- package/static/js/3628.b5eb07c2.js +0 -3
- package/static/js/566.a759ee99.js +0 -3
- package/static/js/6310.cafc9a48.js +0 -2
- package/static/js/7234.d3966e99.js +0 -2
- package/static/js/7673.2db4eeee.js +0 -3
- package/static/js/7673.2db4eeee.js.LICENSE.txt +0 -48
- package/static/js/8013.e4dee415.js +0 -2
- package/static/js/8466.d3339ec9.js +0 -2
- package/static/js/912.42ae1bb7.js +0 -3
- package/static/js/912.42ae1bb7.js.LICENSE.txt +0 -32
- package/static/js/9503.529740b0.js +0 -3
- package/static/js/9578.629b57ca.js +0 -2
- package/static/js/9617.54df440a.js +0 -3
- package/static/js/9617.54df440a.js.LICENSE.txt +0 -32
- package/static/js/emailmaker_core.03a31b5b.js +0 -3
- package/static/media/fb.ff10384394f8044ec889.png +0 -0
- package/static/media/ig.47a89992b4bec92d4364.png +0 -0
- package/static/media/tg.10f004529a98df9732b9.png +0 -0
- package/static/media/vk.fe41df919f4e8718e0b3.png +0 -0
- package/static/media/xa.8e9f984ff84e3f51c6f6.png +0 -0
- package/static/media/yd.c40d05dde64ef695fdf2.png +0 -0
- package/static/media/yt.4ac57e55d158b40c7fc1.png +0 -0
- /package/iframe/js/{525.87bb307e.js.LICENSE.txt → 525.7e478fc1.js.LICENSE.txt} +0 -0
- /package/iframe/js/{667.5b6da6e1.js.LICENSE.txt → 667.4d0450c5.js.LICENSE.txt} +0 -0
- /package/iframe/js/{882.46d35112.js.LICENSE.txt → 882.46943f9a.js.LICENSE.txt} +0 -0
- /package/static/js/{1940.524f0244.js.LICENSE.txt → 1940.e77ca441.js.LICENSE.txt} +0 -0
- /package/static/js/{327.31ca6e0d.js.LICENSE.txt → 262.19eb7dd4.js.LICENSE.txt} +0 -0
- /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 5072.e5ce1614.js.LICENSE.txt */
|
|
2
|
+
"use strict";(globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[]).push([[5072],{12759:(e,t,n)=>{function r(e){return e?e.replace(/\$\((.*?)\)/g,(e,t)=>` ${t} `).trim():""}n.d(t,{R$:()=>r,W6:()=>o,j3:()=>a});class o{constructor(e,t,n){this.id=e,this.definition=t,this.description=n,o._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 o._allCodicons}}var a;o._allCodicons=[],o.add=new o("add",{fontCharacter:"\\ea60"}),o.plus=new o("plus",o.add.definition),o.gistNew=new o("gist-new",o.add.definition),o.repoCreate=new o("repo-create",o.add.definition),o.lightbulb=new o("lightbulb",{fontCharacter:"\\ea61"}),o.lightBulb=new o("light-bulb",{fontCharacter:"\\ea61"}),o.repo=new o("repo",{fontCharacter:"\\ea62"}),o.repoDelete=new o("repo-delete",{fontCharacter:"\\ea62"}),o.gistFork=new o("gist-fork",{fontCharacter:"\\ea63"}),o.repoForked=new o("repo-forked",{fontCharacter:"\\ea63"}),o.gitPullRequest=new o("git-pull-request",{fontCharacter:"\\ea64"}),o.gitPullRequestAbandoned=new o("git-pull-request-abandoned",{fontCharacter:"\\ea64"}),o.recordKeys=new o("record-keys",{fontCharacter:"\\ea65"}),o.keyboard=new o("keyboard",{fontCharacter:"\\ea65"}),o.tag=new o("tag",{fontCharacter:"\\ea66"}),o.tagAdd=new o("tag-add",{fontCharacter:"\\ea66"}),o.tagRemove=new o("tag-remove",{fontCharacter:"\\ea66"}),o.person=new o("person",{fontCharacter:"\\ea67"}),o.personFollow=new o("person-follow",{fontCharacter:"\\ea67"}),o.personOutline=new o("person-outline",{fontCharacter:"\\ea67"}),o.personFilled=new o("person-filled",{fontCharacter:"\\ea67"}),o.gitBranch=new o("git-branch",{fontCharacter:"\\ea68"}),o.gitBranchCreate=new o("git-branch-create",{fontCharacter:"\\ea68"}),o.gitBranchDelete=new o("git-branch-delete",{fontCharacter:"\\ea68"}),o.sourceControl=new o("source-control",{fontCharacter:"\\ea68"}),o.mirror=new o("mirror",{fontCharacter:"\\ea69"}),o.mirrorPublic=new o("mirror-public",{fontCharacter:"\\ea69"}),o.star=new o("star",{fontCharacter:"\\ea6a"}),o.starAdd=new o("star-add",{fontCharacter:"\\ea6a"}),o.starDelete=new o("star-delete",{fontCharacter:"\\ea6a"}),o.starEmpty=new o("star-empty",{fontCharacter:"\\ea6a"}),o.comment=new o("comment",{fontCharacter:"\\ea6b"}),o.commentAdd=new o("comment-add",{fontCharacter:"\\ea6b"}),o.alert=new o("alert",{fontCharacter:"\\ea6c"}),o.warning=new o("warning",{fontCharacter:"\\ea6c"}),o.search=new o("search",{fontCharacter:"\\ea6d"}),o.searchSave=new o("search-save",{fontCharacter:"\\ea6d"}),o.logOut=new o("log-out",{fontCharacter:"\\ea6e"}),o.signOut=new o("sign-out",{fontCharacter:"\\ea6e"}),o.logIn=new o("log-in",{fontCharacter:"\\ea6f"}),o.signIn=new o("sign-in",{fontCharacter:"\\ea6f"}),o.eye=new o("eye",{fontCharacter:"\\ea70"}),o.eyeUnwatch=new o("eye-unwatch",{fontCharacter:"\\ea70"}),o.eyeWatch=new o("eye-watch",{fontCharacter:"\\ea70"}),o.circleFilled=new o("circle-filled",{fontCharacter:"\\ea71"}),o.primitiveDot=new o("primitive-dot",{fontCharacter:"\\ea71"}),o.closeDirty=new o("close-dirty",{fontCharacter:"\\ea71"}),o.debugBreakpoint=new o("debug-breakpoint",{fontCharacter:"\\ea71"}),o.debugBreakpointDisabled=new o("debug-breakpoint-disabled",{fontCharacter:"\\ea71"}),o.debugHint=new o("debug-hint",{fontCharacter:"\\ea71"}),o.primitiveSquare=new o("primitive-square",{fontCharacter:"\\ea72"}),o.edit=new o("edit",{fontCharacter:"\\ea73"}),o.pencil=new o("pencil",{fontCharacter:"\\ea73"}),o.info=new o("info",{fontCharacter:"\\ea74"}),o.issueOpened=new o("issue-opened",{fontCharacter:"\\ea74"}),o.gistPrivate=new o("gist-private",{fontCharacter:"\\ea75"}),o.gitForkPrivate=new o("git-fork-private",{fontCharacter:"\\ea75"}),o.lock=new o("lock",{fontCharacter:"\\ea75"}),o.mirrorPrivate=new o("mirror-private",{fontCharacter:"\\ea75"}),o.close=new o("close",{fontCharacter:"\\ea76"}),o.removeClose=new o("remove-close",{fontCharacter:"\\ea76"}),o.x=new o("x",{fontCharacter:"\\ea76"}),o.repoSync=new o("repo-sync",{fontCharacter:"\\ea77"}),o.sync=new o("sync",{fontCharacter:"\\ea77"}),o.clone=new o("clone",{fontCharacter:"\\ea78"}),o.desktopDownload=new o("desktop-download",{fontCharacter:"\\ea78"}),o.beaker=new o("beaker",{fontCharacter:"\\ea79"}),o.microscope=new o("microscope",{fontCharacter:"\\ea79"}),o.vm=new o("vm",{fontCharacter:"\\ea7a"}),o.deviceDesktop=new o("device-desktop",{fontCharacter:"\\ea7a"}),o.file=new o("file",{fontCharacter:"\\ea7b"}),o.fileText=new o("file-text",{fontCharacter:"\\ea7b"}),o.more=new o("more",{fontCharacter:"\\ea7c"}),o.ellipsis=new o("ellipsis",{fontCharacter:"\\ea7c"}),o.kebabHorizontal=new o("kebab-horizontal",{fontCharacter:"\\ea7c"}),o.mailReply=new o("mail-reply",{fontCharacter:"\\ea7d"}),o.reply=new o("reply",{fontCharacter:"\\ea7d"}),o.organization=new o("organization",{fontCharacter:"\\ea7e"}),o.organizationFilled=new o("organization-filled",{fontCharacter:"\\ea7e"}),o.organizationOutline=new o("organization-outline",{fontCharacter:"\\ea7e"}),o.newFile=new o("new-file",{fontCharacter:"\\ea7f"}),o.fileAdd=new o("file-add",{fontCharacter:"\\ea7f"}),o.newFolder=new o("new-folder",{fontCharacter:"\\ea80"}),o.fileDirectoryCreate=new o("file-directory-create",{fontCharacter:"\\ea80"}),o.trash=new o("trash",{fontCharacter:"\\ea81"}),o.trashcan=new o("trashcan",{fontCharacter:"\\ea81"}),o.history=new o("history",{fontCharacter:"\\ea82"}),o.clock=new o("clock",{fontCharacter:"\\ea82"}),o.folder=new o("folder",{fontCharacter:"\\ea83"}),o.fileDirectory=new o("file-directory",{fontCharacter:"\\ea83"}),o.symbolFolder=new o("symbol-folder",{fontCharacter:"\\ea83"}),o.logoGithub=new o("logo-github",{fontCharacter:"\\ea84"}),o.markGithub=new o("mark-github",{fontCharacter:"\\ea84"}),o.github=new o("github",{fontCharacter:"\\ea84"}),o.terminal=new o("terminal",{fontCharacter:"\\ea85"}),o.console=new o("console",{fontCharacter:"\\ea85"}),o.repl=new o("repl",{fontCharacter:"\\ea85"}),o.zap=new o("zap",{fontCharacter:"\\ea86"}),o.symbolEvent=new o("symbol-event",{fontCharacter:"\\ea86"}),o.error=new o("error",{fontCharacter:"\\ea87"}),o.stop=new o("stop",{fontCharacter:"\\ea87"}),o.variable=new o("variable",{fontCharacter:"\\ea88"}),o.symbolVariable=new o("symbol-variable",{fontCharacter:"\\ea88"}),o.array=new o("array",{fontCharacter:"\\ea8a"}),o.symbolArray=new o("symbol-array",{fontCharacter:"\\ea8a"}),o.symbolModule=new o("symbol-module",{fontCharacter:"\\ea8b"}),o.symbolPackage=new o("symbol-package",{fontCharacter:"\\ea8b"}),o.symbolNamespace=new o("symbol-namespace",{fontCharacter:"\\ea8b"}),o.symbolObject=new o("symbol-object",{fontCharacter:"\\ea8b"}),o.symbolMethod=new o("symbol-method",{fontCharacter:"\\ea8c"}),o.symbolFunction=new o("symbol-function",{fontCharacter:"\\ea8c"}),o.symbolConstructor=new o("symbol-constructor",{fontCharacter:"\\ea8c"}),o.symbolBoolean=new o("symbol-boolean",{fontCharacter:"\\ea8f"}),o.symbolNull=new o("symbol-null",{fontCharacter:"\\ea8f"}),o.symbolNumeric=new o("symbol-numeric",{fontCharacter:"\\ea90"}),o.symbolNumber=new o("symbol-number",{fontCharacter:"\\ea90"}),o.symbolStructure=new o("symbol-structure",{fontCharacter:"\\ea91"}),o.symbolStruct=new o("symbol-struct",{fontCharacter:"\\ea91"}),o.symbolParameter=new o("symbol-parameter",{fontCharacter:"\\ea92"}),o.symbolTypeParameter=new o("symbol-type-parameter",{fontCharacter:"\\ea92"}),o.symbolKey=new o("symbol-key",{fontCharacter:"\\ea93"}),o.symbolText=new o("symbol-text",{fontCharacter:"\\ea93"}),o.symbolReference=new o("symbol-reference",{fontCharacter:"\\ea94"}),o.goToFile=new o("go-to-file",{fontCharacter:"\\ea94"}),o.symbolEnum=new o("symbol-enum",{fontCharacter:"\\ea95"}),o.symbolValue=new o("symbol-value",{fontCharacter:"\\ea95"}),o.symbolRuler=new o("symbol-ruler",{fontCharacter:"\\ea96"}),o.symbolUnit=new o("symbol-unit",{fontCharacter:"\\ea96"}),o.activateBreakpoints=new o("activate-breakpoints",{fontCharacter:"\\ea97"}),o.archive=new o("archive",{fontCharacter:"\\ea98"}),o.arrowBoth=new o("arrow-both",{fontCharacter:"\\ea99"}),o.arrowDown=new o("arrow-down",{fontCharacter:"\\ea9a"}),o.arrowLeft=new o("arrow-left",{fontCharacter:"\\ea9b"}),o.arrowRight=new o("arrow-right",{fontCharacter:"\\ea9c"}),o.arrowSmallDown=new o("arrow-small-down",{fontCharacter:"\\ea9d"}),o.arrowSmallLeft=new o("arrow-small-left",{fontCharacter:"\\ea9e"}),o.arrowSmallRight=new o("arrow-small-right",{fontCharacter:"\\ea9f"}),o.arrowSmallUp=new o("arrow-small-up",{fontCharacter:"\\eaa0"}),o.arrowUp=new o("arrow-up",{fontCharacter:"\\eaa1"}),o.bell=new o("bell",{fontCharacter:"\\eaa2"}),o.bold=new o("bold",{fontCharacter:"\\eaa3"}),o.book=new o("book",{fontCharacter:"\\eaa4"}),o.bookmark=new o("bookmark",{fontCharacter:"\\eaa5"}),o.debugBreakpointConditionalUnverified=new o("debug-breakpoint-conditional-unverified",{fontCharacter:"\\eaa6"}),o.debugBreakpointConditional=new o("debug-breakpoint-conditional",{fontCharacter:"\\eaa7"}),o.debugBreakpointConditionalDisabled=new o("debug-breakpoint-conditional-disabled",{fontCharacter:"\\eaa7"}),o.debugBreakpointDataUnverified=new o("debug-breakpoint-data-unverified",{fontCharacter:"\\eaa8"}),o.debugBreakpointData=new o("debug-breakpoint-data",{fontCharacter:"\\eaa9"}),o.debugBreakpointDataDisabled=new o("debug-breakpoint-data-disabled",{fontCharacter:"\\eaa9"}),o.debugBreakpointLogUnverified=new o("debug-breakpoint-log-unverified",{fontCharacter:"\\eaaa"}),o.debugBreakpointLog=new o("debug-breakpoint-log",{fontCharacter:"\\eaab"}),o.debugBreakpointLogDisabled=new o("debug-breakpoint-log-disabled",{fontCharacter:"\\eaab"}),o.briefcase=new o("briefcase",{fontCharacter:"\\eaac"}),o.broadcast=new o("broadcast",{fontCharacter:"\\eaad"}),o.browser=new o("browser",{fontCharacter:"\\eaae"}),o.bug=new o("bug",{fontCharacter:"\\eaaf"}),o.calendar=new o("calendar",{fontCharacter:"\\eab0"}),o.caseSensitive=new o("case-sensitive",{fontCharacter:"\\eab1"}),o.check=new o("check",{fontCharacter:"\\eab2"}),o.checklist=new o("checklist",{fontCharacter:"\\eab3"}),o.chevronDown=new o("chevron-down",{fontCharacter:"\\eab4"}),o.dropDownButton=new o("drop-down-button",o.chevronDown.definition),o.chevronLeft=new o("chevron-left",{fontCharacter:"\\eab5"}),o.chevronRight=new o("chevron-right",{fontCharacter:"\\eab6"}),o.chevronUp=new o("chevron-up",{fontCharacter:"\\eab7"}),o.chromeClose=new o("chrome-close",{fontCharacter:"\\eab8"}),o.chromeMaximize=new o("chrome-maximize",{fontCharacter:"\\eab9"}),o.chromeMinimize=new o("chrome-minimize",{fontCharacter:"\\eaba"}),o.chromeRestore=new o("chrome-restore",{fontCharacter:"\\eabb"}),o.circleOutline=new o("circle-outline",{fontCharacter:"\\eabc"}),o.debugBreakpointUnverified=new o("debug-breakpoint-unverified",{fontCharacter:"\\eabc"}),o.circleSlash=new o("circle-slash",{fontCharacter:"\\eabd"}),o.circuitBoard=new o("circuit-board",{fontCharacter:"\\eabe"}),o.clearAll=new o("clear-all",{fontCharacter:"\\eabf"}),o.clippy=new o("clippy",{fontCharacter:"\\eac0"}),o.closeAll=new o("close-all",{fontCharacter:"\\eac1"}),o.cloudDownload=new o("cloud-download",{fontCharacter:"\\eac2"}),o.cloudUpload=new o("cloud-upload",{fontCharacter:"\\eac3"}),o.code=new o("code",{fontCharacter:"\\eac4"}),o.collapseAll=new o("collapse-all",{fontCharacter:"\\eac5"}),o.colorMode=new o("color-mode",{fontCharacter:"\\eac6"}),o.commentDiscussion=new o("comment-discussion",{fontCharacter:"\\eac7"}),o.compareChanges=new o("compare-changes",{fontCharacter:"\\eafd"}),o.creditCard=new o("credit-card",{fontCharacter:"\\eac9"}),o.dash=new o("dash",{fontCharacter:"\\eacc"}),o.dashboard=new o("dashboard",{fontCharacter:"\\eacd"}),o.database=new o("database",{fontCharacter:"\\eace"}),o.debugContinue=new o("debug-continue",{fontCharacter:"\\eacf"}),o.debugDisconnect=new o("debug-disconnect",{fontCharacter:"\\ead0"}),o.debugPause=new o("debug-pause",{fontCharacter:"\\ead1"}),o.debugRestart=new o("debug-restart",{fontCharacter:"\\ead2"}),o.debugStart=new o("debug-start",{fontCharacter:"\\ead3"}),o.debugStepInto=new o("debug-step-into",{fontCharacter:"\\ead4"}),o.debugStepOut=new o("debug-step-out",{fontCharacter:"\\ead5"}),o.debugStepOver=new o("debug-step-over",{fontCharacter:"\\ead6"}),o.debugStop=new o("debug-stop",{fontCharacter:"\\ead7"}),o.debug=new o("debug",{fontCharacter:"\\ead8"}),o.deviceCameraVideo=new o("device-camera-video",{fontCharacter:"\\ead9"}),o.deviceCamera=new o("device-camera",{fontCharacter:"\\eada"}),o.deviceMobile=new o("device-mobile",{fontCharacter:"\\eadb"}),o.diffAdded=new o("diff-added",{fontCharacter:"\\eadc"}),o.diffIgnored=new o("diff-ignored",{fontCharacter:"\\eadd"}),o.diffModified=new o("diff-modified",{fontCharacter:"\\eade"}),o.diffRemoved=new o("diff-removed",{fontCharacter:"\\eadf"}),o.diffRenamed=new o("diff-renamed",{fontCharacter:"\\eae0"}),o.diff=new o("diff",{fontCharacter:"\\eae1"}),o.discard=new o("discard",{fontCharacter:"\\eae2"}),o.editorLayout=new o("editor-layout",{fontCharacter:"\\eae3"}),o.emptyWindow=new o("empty-window",{fontCharacter:"\\eae4"}),o.exclude=new o("exclude",{fontCharacter:"\\eae5"}),o.extensions=new o("extensions",{fontCharacter:"\\eae6"}),o.eyeClosed=new o("eye-closed",{fontCharacter:"\\eae7"}),o.fileBinary=new o("file-binary",{fontCharacter:"\\eae8"}),o.fileCode=new o("file-code",{fontCharacter:"\\eae9"}),o.fileMedia=new o("file-media",{fontCharacter:"\\eaea"}),o.filePdf=new o("file-pdf",{fontCharacter:"\\eaeb"}),o.fileSubmodule=new o("file-submodule",{fontCharacter:"\\eaec"}),o.fileSymlinkDirectory=new o("file-symlink-directory",{fontCharacter:"\\eaed"}),o.fileSymlinkFile=new o("file-symlink-file",{fontCharacter:"\\eaee"}),o.fileZip=new o("file-zip",{fontCharacter:"\\eaef"}),o.files=new o("files",{fontCharacter:"\\eaf0"}),o.filter=new o("filter",{fontCharacter:"\\eaf1"}),o.flame=new o("flame",{fontCharacter:"\\eaf2"}),o.foldDown=new o("fold-down",{fontCharacter:"\\eaf3"}),o.foldUp=new o("fold-up",{fontCharacter:"\\eaf4"}),o.fold=new o("fold",{fontCharacter:"\\eaf5"}),o.folderActive=new o("folder-active",{fontCharacter:"\\eaf6"}),o.folderOpened=new o("folder-opened",{fontCharacter:"\\eaf7"}),o.gear=new o("gear",{fontCharacter:"\\eaf8"}),o.gift=new o("gift",{fontCharacter:"\\eaf9"}),o.gistSecret=new o("gist-secret",{fontCharacter:"\\eafa"}),o.gist=new o("gist",{fontCharacter:"\\eafb"}),o.gitCommit=new o("git-commit",{fontCharacter:"\\eafc"}),o.gitCompare=new o("git-compare",{fontCharacter:"\\eafd"}),o.gitMerge=new o("git-merge",{fontCharacter:"\\eafe"}),o.githubAction=new o("github-action",{fontCharacter:"\\eaff"}),o.githubAlt=new o("github-alt",{fontCharacter:"\\eb00"}),o.globe=new o("globe",{fontCharacter:"\\eb01"}),o.grabber=new o("grabber",{fontCharacter:"\\eb02"}),o.graph=new o("graph",{fontCharacter:"\\eb03"}),o.gripper=new o("gripper",{fontCharacter:"\\eb04"}),o.heart=new o("heart",{fontCharacter:"\\eb05"}),o.home=new o("home",{fontCharacter:"\\eb06"}),o.horizontalRule=new o("horizontal-rule",{fontCharacter:"\\eb07"}),o.hubot=new o("hubot",{fontCharacter:"\\eb08"}),o.inbox=new o("inbox",{fontCharacter:"\\eb09"}),o.issueClosed=new o("issue-closed",{fontCharacter:"\\eba4"}),o.issueReopened=new o("issue-reopened",{fontCharacter:"\\eb0b"}),o.issues=new o("issues",{fontCharacter:"\\eb0c"}),o.italic=new o("italic",{fontCharacter:"\\eb0d"}),o.jersey=new o("jersey",{fontCharacter:"\\eb0e"}),o.json=new o("json",{fontCharacter:"\\eb0f"}),o.kebabVertical=new o("kebab-vertical",{fontCharacter:"\\eb10"}),o.key=new o("key",{fontCharacter:"\\eb11"}),o.law=new o("law",{fontCharacter:"\\eb12"}),o.lightbulbAutofix=new o("lightbulb-autofix",{fontCharacter:"\\eb13"}),o.linkExternal=new o("link-external",{fontCharacter:"\\eb14"}),o.link=new o("link",{fontCharacter:"\\eb15"}),o.listOrdered=new o("list-ordered",{fontCharacter:"\\eb16"}),o.listUnordered=new o("list-unordered",{fontCharacter:"\\eb17"}),o.liveShare=new o("live-share",{fontCharacter:"\\eb18"}),o.loading=new o("loading",{fontCharacter:"\\eb19"}),o.location=new o("location",{fontCharacter:"\\eb1a"}),o.mailRead=new o("mail-read",{fontCharacter:"\\eb1b"}),o.mail=new o("mail",{fontCharacter:"\\eb1c"}),o.markdown=new o("markdown",{fontCharacter:"\\eb1d"}),o.megaphone=new o("megaphone",{fontCharacter:"\\eb1e"}),o.mention=new o("mention",{fontCharacter:"\\eb1f"}),o.milestone=new o("milestone",{fontCharacter:"\\eb20"}),o.mortarBoard=new o("mortar-board",{fontCharacter:"\\eb21"}),o.move=new o("move",{fontCharacter:"\\eb22"}),o.multipleWindows=new o("multiple-windows",{fontCharacter:"\\eb23"}),o.mute=new o("mute",{fontCharacter:"\\eb24"}),o.noNewline=new o("no-newline",{fontCharacter:"\\eb25"}),o.note=new o("note",{fontCharacter:"\\eb26"}),o.octoface=new o("octoface",{fontCharacter:"\\eb27"}),o.openPreview=new o("open-preview",{fontCharacter:"\\eb28"}),o.package_=new o("package",{fontCharacter:"\\eb29"}),o.paintcan=new o("paintcan",{fontCharacter:"\\eb2a"}),o.pin=new o("pin",{fontCharacter:"\\eb2b"}),o.play=new o("play",{fontCharacter:"\\eb2c"}),o.run=new o("run",{fontCharacter:"\\eb2c"}),o.plug=new o("plug",{fontCharacter:"\\eb2d"}),o.preserveCase=new o("preserve-case",{fontCharacter:"\\eb2e"}),o.preview=new o("preview",{fontCharacter:"\\eb2f"}),o.project=new o("project",{fontCharacter:"\\eb30"}),o.pulse=new o("pulse",{fontCharacter:"\\eb31"}),o.question=new o("question",{fontCharacter:"\\eb32"}),o.quote=new o("quote",{fontCharacter:"\\eb33"}),o.radioTower=new o("radio-tower",{fontCharacter:"\\eb34"}),o.reactions=new o("reactions",{fontCharacter:"\\eb35"}),o.references=new o("references",{fontCharacter:"\\eb36"}),o.refresh=new o("refresh",{fontCharacter:"\\eb37"}),o.regex=new o("regex",{fontCharacter:"\\eb38"}),o.remoteExplorer=new o("remote-explorer",{fontCharacter:"\\eb39"}),o.remote=new o("remote",{fontCharacter:"\\eb3a"}),o.remove=new o("remove",{fontCharacter:"\\eb3b"}),o.replaceAll=new o("replace-all",{fontCharacter:"\\eb3c"}),o.replace=new o("replace",{fontCharacter:"\\eb3d"}),o.repoClone=new o("repo-clone",{fontCharacter:"\\eb3e"}),o.repoForcePush=new o("repo-force-push",{fontCharacter:"\\eb3f"}),o.repoPull=new o("repo-pull",{fontCharacter:"\\eb40"}),o.repoPush=new o("repo-push",{fontCharacter:"\\eb41"}),o.report=new o("report",{fontCharacter:"\\eb42"}),o.requestChanges=new o("request-changes",{fontCharacter:"\\eb43"}),o.rocket=new o("rocket",{fontCharacter:"\\eb44"}),o.rootFolderOpened=new o("root-folder-opened",{fontCharacter:"\\eb45"}),o.rootFolder=new o("root-folder",{fontCharacter:"\\eb46"}),o.rss=new o("rss",{fontCharacter:"\\eb47"}),o.ruby=new o("ruby",{fontCharacter:"\\eb48"}),o.saveAll=new o("save-all",{fontCharacter:"\\eb49"}),o.saveAs=new o("save-as",{fontCharacter:"\\eb4a"}),o.save=new o("save",{fontCharacter:"\\eb4b"}),o.screenFull=new o("screen-full",{fontCharacter:"\\eb4c"}),o.screenNormal=new o("screen-normal",{fontCharacter:"\\eb4d"}),o.searchStop=new o("search-stop",{fontCharacter:"\\eb4e"}),o.server=new o("server",{fontCharacter:"\\eb50"}),o.settingsGear=new o("settings-gear",{fontCharacter:"\\eb51"}),o.settings=new o("settings",{fontCharacter:"\\eb52"}),o.shield=new o("shield",{fontCharacter:"\\eb53"}),o.smiley=new o("smiley",{fontCharacter:"\\eb54"}),o.sortPrecedence=new o("sort-precedence",{fontCharacter:"\\eb55"}),o.splitHorizontal=new o("split-horizontal",{fontCharacter:"\\eb56"}),o.splitVertical=new o("split-vertical",{fontCharacter:"\\eb57"}),o.squirrel=new o("squirrel",{fontCharacter:"\\eb58"}),o.starFull=new o("star-full",{fontCharacter:"\\eb59"}),o.starHalf=new o("star-half",{fontCharacter:"\\eb5a"}),o.symbolClass=new o("symbol-class",{fontCharacter:"\\eb5b"}),o.symbolColor=new o("symbol-color",{fontCharacter:"\\eb5c"}),o.symbolCustomColor=new o("symbol-customcolor",{fontCharacter:"\\eb5c"}),o.symbolConstant=new o("symbol-constant",{fontCharacter:"\\eb5d"}),o.symbolEnumMember=new o("symbol-enum-member",{fontCharacter:"\\eb5e"}),o.symbolField=new o("symbol-field",{fontCharacter:"\\eb5f"}),o.symbolFile=new o("symbol-file",{fontCharacter:"\\eb60"}),o.symbolInterface=new o("symbol-interface",{fontCharacter:"\\eb61"}),o.symbolKeyword=new o("symbol-keyword",{fontCharacter:"\\eb62"}),o.symbolMisc=new o("symbol-misc",{fontCharacter:"\\eb63"}),o.symbolOperator=new o("symbol-operator",{fontCharacter:"\\eb64"}),o.symbolProperty=new o("symbol-property",{fontCharacter:"\\eb65"}),o.wrench=new o("wrench",{fontCharacter:"\\eb65"}),o.wrenchSubaction=new o("wrench-subaction",{fontCharacter:"\\eb65"}),o.symbolSnippet=new o("symbol-snippet",{fontCharacter:"\\eb66"}),o.tasklist=new o("tasklist",{fontCharacter:"\\eb67"}),o.telescope=new o("telescope",{fontCharacter:"\\eb68"}),o.textSize=new o("text-size",{fontCharacter:"\\eb69"}),o.threeBars=new o("three-bars",{fontCharacter:"\\eb6a"}),o.thumbsdown=new o("thumbsdown",{fontCharacter:"\\eb6b"}),o.thumbsup=new o("thumbsup",{fontCharacter:"\\eb6c"}),o.tools=new o("tools",{fontCharacter:"\\eb6d"}),o.triangleDown=new o("triangle-down",{fontCharacter:"\\eb6e"}),o.triangleLeft=new o("triangle-left",{fontCharacter:"\\eb6f"}),o.triangleRight=new o("triangle-right",{fontCharacter:"\\eb70"}),o.triangleUp=new o("triangle-up",{fontCharacter:"\\eb71"}),o.twitter=new o("twitter",{fontCharacter:"\\eb72"}),o.unfold=new o("unfold",{fontCharacter:"\\eb73"}),o.unlock=new o("unlock",{fontCharacter:"\\eb74"}),o.unmute=new o("unmute",{fontCharacter:"\\eb75"}),o.unverified=new o("unverified",{fontCharacter:"\\eb76"}),o.verified=new o("verified",{fontCharacter:"\\eb77"}),o.versions=new o("versions",{fontCharacter:"\\eb78"}),o.vmActive=new o("vm-active",{fontCharacter:"\\eb79"}),o.vmOutline=new o("vm-outline",{fontCharacter:"\\eb7a"}),o.vmRunning=new o("vm-running",{fontCharacter:"\\eb7b"}),o.watch=new o("watch",{fontCharacter:"\\eb7c"}),o.whitespace=new o("whitespace",{fontCharacter:"\\eb7d"}),o.wholeWord=new o("whole-word",{fontCharacter:"\\eb7e"}),o.window=new o("window",{fontCharacter:"\\eb7f"}),o.wordWrap=new o("word-wrap",{fontCharacter:"\\eb80"}),o.zoomIn=new o("zoom-in",{fontCharacter:"\\eb81"}),o.zoomOut=new o("zoom-out",{fontCharacter:"\\eb82"}),o.listFilter=new o("list-filter",{fontCharacter:"\\eb83"}),o.listFlat=new o("list-flat",{fontCharacter:"\\eb84"}),o.listSelection=new o("list-selection",{fontCharacter:"\\eb85"}),o.selection=new o("selection",{fontCharacter:"\\eb85"}),o.listTree=new o("list-tree",{fontCharacter:"\\eb86"}),o.debugBreakpointFunctionUnverified=new o("debug-breakpoint-function-unverified",{fontCharacter:"\\eb87"}),o.debugBreakpointFunction=new o("debug-breakpoint-function",{fontCharacter:"\\eb88"}),o.debugBreakpointFunctionDisabled=new o("debug-breakpoint-function-disabled",{fontCharacter:"\\eb88"}),o.debugStackframeActive=new o("debug-stackframe-active",{fontCharacter:"\\eb89"}),o.circleSmallFilled=new o("circle-small-filled",{fontCharacter:"\\eb8a"}),o.debugStackframeDot=new o("debug-stackframe-dot",o.circleSmallFilled.definition),o.debugStackframe=new o("debug-stackframe",{fontCharacter:"\\eb8b"}),o.debugStackframeFocused=new o("debug-stackframe-focused",{fontCharacter:"\\eb8b"}),o.debugBreakpointUnsupported=new o("debug-breakpoint-unsupported",{fontCharacter:"\\eb8c"}),o.symbolString=new o("symbol-string",{fontCharacter:"\\eb8d"}),o.debugReverseContinue=new o("debug-reverse-continue",{fontCharacter:"\\eb8e"}),o.debugStepBack=new o("debug-step-back",{fontCharacter:"\\eb8f"}),o.debugRestartFrame=new o("debug-restart-frame",{fontCharacter:"\\eb90"}),o.callIncoming=new o("call-incoming",{fontCharacter:"\\eb92"}),o.callOutgoing=new o("call-outgoing",{fontCharacter:"\\eb93"}),o.menu=new o("menu",{fontCharacter:"\\eb94"}),o.expandAll=new o("expand-all",{fontCharacter:"\\eb95"}),o.feedback=new o("feedback",{fontCharacter:"\\eb96"}),o.groupByRefType=new o("group-by-ref-type",{fontCharacter:"\\eb97"}),o.ungroupByRefType=new o("ungroup-by-ref-type",{fontCharacter:"\\eb98"}),o.account=new o("account",{fontCharacter:"\\eb99"}),o.bellDot=new o("bell-dot",{fontCharacter:"\\eb9a"}),o.debugConsole=new o("debug-console",{fontCharacter:"\\eb9b"}),o.library=new o("library",{fontCharacter:"\\eb9c"}),o.output=new o("output",{fontCharacter:"\\eb9d"}),o.runAll=new o("run-all",{fontCharacter:"\\eb9e"}),o.syncIgnored=new o("sync-ignored",{fontCharacter:"\\eb9f"}),o.pinned=new o("pinned",{fontCharacter:"\\eba0"}),o.githubInverted=new o("github-inverted",{fontCharacter:"\\eba1"}),o.debugAlt=new o("debug-alt",{fontCharacter:"\\eb91"}),o.serverProcess=new o("server-process",{fontCharacter:"\\eba2"}),o.serverEnvironment=new o("server-environment",{fontCharacter:"\\eba3"}),o.pass=new o("pass",{fontCharacter:"\\eba4"}),o.stopCircle=new o("stop-circle",{fontCharacter:"\\eba5"}),o.playCircle=new o("play-circle",{fontCharacter:"\\eba6"}),o.record=new o("record",{fontCharacter:"\\eba7"}),o.debugAltSmall=new o("debug-alt-small",{fontCharacter:"\\eba8"}),o.vmConnect=new o("vm-connect",{fontCharacter:"\\eba9"}),o.cloud=new o("cloud",{fontCharacter:"\\ebaa"}),o.merge=new o("merge",{fontCharacter:"\\ebab"}),o.exportIcon=new o("export",{fontCharacter:"\\ebac"}),o.graphLeft=new o("graph-left",{fontCharacter:"\\ebad"}),o.magnet=new o("magnet",{fontCharacter:"\\ebae"}),o.notebook=new o("notebook",{fontCharacter:"\\ebaf"}),o.redo=new o("redo",{fontCharacter:"\\ebb0"}),o.checkAll=new o("check-all",{fontCharacter:"\\ebb1"}),o.pinnedDirty=new o("pinned-dirty",{fontCharacter:"\\ebb2"}),o.passFilled=new o("pass-filled",{fontCharacter:"\\ebb3"}),o.circleLargeFilled=new o("circle-large-filled",{fontCharacter:"\\ebb4"}),o.circleLargeOutline=new o("circle-large-outline",{fontCharacter:"\\ebb5"}),o.combine=new o("combine",{fontCharacter:"\\ebb6"}),o.gather=new o("gather",{fontCharacter:"\\ebb6"}),o.table=new o("table",{fontCharacter:"\\ebb7"}),o.variableGroup=new o("variable-group",{fontCharacter:"\\ebb8"}),o.typeHierarchy=new o("type-hierarchy",{fontCharacter:"\\ebb9"}),o.typeHierarchySub=new o("type-hierarchy-sub",{fontCharacter:"\\ebba"}),o.typeHierarchySuper=new o("type-hierarchy-super",{fontCharacter:"\\ebbb"}),o.gitPullRequestCreate=new o("git-pull-request-create",{fontCharacter:"\\ebbc"}),o.runAbove=new o("run-above",{fontCharacter:"\\ebbd"}),o.runBelow=new o("run-below",{fontCharacter:"\\ebbe"}),o.notebookTemplate=new o("notebook-template",{fontCharacter:"\\ebbf"}),o.debugRerun=new o("debug-rerun",{fontCharacter:"\\ebc0"}),o.workspaceTrusted=new o("workspace-trusted",{fontCharacter:"\\ebc1"}),o.workspaceUntrusted=new o("workspace-untrusted",{fontCharacter:"\\ebc2"}),o.workspaceUnspecified=new o("workspace-unspecified",{fontCharacter:"\\ebc3"}),o.terminalCmd=new o("terminal-cmd",{fontCharacter:"\\ebc4"}),o.terminalDebian=new o("terminal-debian",{fontCharacter:"\\ebc5"}),o.terminalLinux=new o("terminal-linux",{fontCharacter:"\\ebc6"}),o.terminalPowershell=new o("terminal-powershell",{fontCharacter:"\\ebc7"}),o.terminalTmux=new o("terminal-tmux",{fontCharacter:"\\ebc8"}),o.terminalUbuntu=new o("terminal-ubuntu",{fontCharacter:"\\ebc9"}),o.terminalBash=new o("terminal-bash",{fontCharacter:"\\ebca"}),o.arrowSwap=new o("arrow-swap",{fontCharacter:"\\ebcb"}),o.copy=new o("copy",{fontCharacter:"\\ebcc"}),o.personAdd=new o("person-add",{fontCharacter:"\\ebcd"}),o.filterFilled=new o("filter-filled",{fontCharacter:"\\ebce"}),o.wand=new o("wand",{fontCharacter:"\\ebcf"}),o.debugLineByLine=new o("debug-line-by-line",{fontCharacter:"\\ebd0"}),o.inspect=new o("inspect",{fontCharacter:"\\ebd1"}),o.layers=new o("layers",{fontCharacter:"\\ebd2"}),o.layersDot=new o("layers-dot",{fontCharacter:"\\ebd3"}),o.layersActive=new o("layers-active",{fontCharacter:"\\ebd4"}),o.compass=new o("compass",{fontCharacter:"\\ebd5"}),o.compassDot=new o("compass-dot",{fontCharacter:"\\ebd6"}),o.compassActive=new o("compass-active",{fontCharacter:"\\ebd7"}),o.azure=new o("azure",{fontCharacter:"\\ebd8"}),o.issueDraft=new o("issue-draft",{fontCharacter:"\\ebd9"}),o.gitPullRequestClosed=new o("git-pull-request-closed",{fontCharacter:"\\ebda"}),o.gitPullRequestDraft=new o("git-pull-request-draft",{fontCharacter:"\\ebdb"}),o.debugAll=new o("debug-all",{fontCharacter:"\\ebdc"}),o.debugCoverage=new o("debug-coverage",{fontCharacter:"\\ebdd"}),o.runErrors=new o("run-errors",{fontCharacter:"\\ebde"}),o.folderLibrary=new o("folder-library",{fontCharacter:"\\ebdf"}),o.debugContinueSmall=new o("debug-continue-small",{fontCharacter:"\\ebe0"}),o.beakerStop=new o("beaker-stop",{fontCharacter:"\\ebe1"}),o.graphLine=new o("graph-line",{fontCharacter:"\\ebe2"}),o.graphScatter=new o("graph-scatter",{fontCharacter:"\\ebe3"}),o.pieChart=new o("pie-chart",{fontCharacter:"\\ebe4"}),o.bracket=new o("bracket",o.json.definition),o.bracketDot=new o("bracket-dot",{fontCharacter:"\\ebe5"}),o.bracketError=new o("bracket-error",{fontCharacter:"\\ebe6"}),o.lockSmall=new o("lock-small",{fontCharacter:"\\ebe7"}),o.azureDevops=new o("azure-devops",{fontCharacter:"\\ebe8"}),o.verifiedFilled=new o("verified-filled",{fontCharacter:"\\ebe9"}),o.newLine=new o("newline",{fontCharacter:"\\ebea"}),o.layout=new o("layout",{fontCharacter:"\\ebeb"}),o.layoutActivitybarLeft=new o("layout-activitybar-left",{fontCharacter:"\\ebec"}),o.layoutActivitybarRight=new o("layout-activitybar-right",{fontCharacter:"\\ebed"}),o.layoutPanelLeft=new o("layout-panel-left",{fontCharacter:"\\ebee"}),o.layoutPanelCenter=new o("layout-panel-center",{fontCharacter:"\\ebef"}),o.layoutPanelJustify=new o("layout-panel-justify",{fontCharacter:"\\ebf0"}),o.layoutPanelRight=new o("layout-panel-right",{fontCharacter:"\\ebf1"}),o.layoutPanel=new o("layout-panel",{fontCharacter:"\\ebf2"}),o.layoutSidebarLeft=new o("layout-sidebar-left",{fontCharacter:"\\ebf3"}),o.layoutSidebarRight=new o("layout-sidebar-right",{fontCharacter:"\\ebf4"}),o.layoutStatusbar=new o("layout-statusbar",{fontCharacter:"\\ebf5"}),o.layoutMenubar=new o("layout-menubar",{fontCharacter:"\\ebf6"}),o.layoutCentered=new o("layout-centered",{fontCharacter:"\\ebf7"}),o.layoutSidebarRightOff=new o("layout-sidebar-right-off",{fontCharacter:"\\ec00"}),o.layoutPanelOff=new o("layout-panel-off",{fontCharacter:"\\ec01"}),o.layoutSidebarLeftOff=new o("layout-sidebar-left-off",{fontCharacter:"\\ec02"}),o.target=new o("target",{fontCharacter:"\\ebf8"}),o.indent=new o("indent",{fontCharacter:"\\ebf9"}),o.recordSmall=new o("record-small",{fontCharacter:"\\ebfa"}),o.errorSmall=new o("error-small",{fontCharacter:"\\ebfb"}),o.arrowCircleDown=new o("arrow-circle-down",{fontCharacter:"\\ebfc"}),o.arrowCircleLeft=new o("arrow-circle-left",{fontCharacter:"\\ebfd"}),o.arrowCircleRight=new o("arrow-circle-right",{fontCharacter:"\\ebfe"}),o.arrowCircleUp=new o("arrow-circle-up",{fontCharacter:"\\ebff"}),o.heartFilled=new o("heart-filled",{fontCharacter:"\\ec04"}),o.map=new o("map",{fontCharacter:"\\ec05"}),o.mapFilled=new o("map-filled",{fontCharacter:"\\ec06"}),o.circleSmall=new o("circle-small",{fontCharacter:"\\ec07"}),o.bellSlash=new o("bell-slash",{fontCharacter:"\\ec08"}),o.bellSlashDot=new o("bell-slash-dot",{fontCharacter:"\\ec09"}),o.commentUnresolved=new o("comment-unresolved",{fontCharacter:"\\ec0a"}),o.dialogError=new o("dialog-error",o.error.definition),o.dialogWarning=new o("dialog-warning",o.warning.definition),o.dialogInfo=new o("dialog-info",o.info.definition),o.dialogClose=new o("dialog-close",o.close.definition),o.treeItemExpanded=new o("tree-item-expanded",o.chevronDown.definition),o.treeFilterOnTypeOn=new o("tree-filter-on-type-on",o.listFilter.definition),o.treeFilterOnTypeOff=new o("tree-filter-on-type-off",o.listSelection.definition),o.treeFilterClear=new o("tree-filter-clear",o.close.definition),o.treeItemLoading=new o("tree-item-loading",o.loading.definition),o.menuSelection=new o("menu-selection",o.check.definition),o.menuSubmenu=new o("menu-submenu",o.chevronRight.definition),o.menuBarMore=new o("menubar-more",o.more.definition),o.scrollbarButtonLeft=new o("scrollbar-button-left",o.triangleLeft.definition),o.scrollbarButtonRight=new o("scrollbar-button-right",o.triangleRight.definition),o.scrollbarButtonUp=new o("scrollbar-button-up",o.triangleUp.definition),o.scrollbarButtonDown=new o("scrollbar-button-down",o.triangleDown.definition),o.toolBarMore=new o("toolbar-more",o.more.definition),o.quickInputBack=new o("quick-input-back",o.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 o)return["codicon","codicon-"+e.id];const r=t.exec(e.id);if(!r)return n(o.error);const[,a,i]=r,s=["codicon","codicon-"+a];return i&&s.push("codicon-modifier-"+i.substr(1)),s}e.asClassNameArray=n,e.asClassName=function(e){return n(e).join(" ")},e.asCSSSelector=function(e){return"."+n(e).join(".")}}(a||(a={}))},21336:(e,t,n)=>{n.d(t,{AL:()=>l,D7:()=>p,EM:()=>h,MB:()=>c,M_:()=>a,Qg:()=>u,aD:()=>d,cU:()=>i,dz:()=>o,iH:()=>f});const r=new class{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout(()=>{if(e.stack){if(m.isErrorNoTelemetry(e))throw new m(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 o(e){c(e)||r.onUnexpectedError(e)}function a(e){c(e)||r.onUnexpectedExternalError(e)}function i(e){if(e instanceof Error){const{name:t,message:n}=e;return{$isError:!0,name:t,message:n,stack:e.stacktrace||e.stack,noTelemetry:m.isErrorNoTelemetry(e)}}return e}const s="Canceled";function c(e){return e instanceof l||e instanceof Error&&e.name===s&&e.message===s}class l extends Error{constructor(){super(s),this.name=this.message}}function d(){const e=new Error(s);return e.name=e.message,e}function u(e){return e?new Error(`Illegal argument: ${e}`):new Error("Illegal argument")}function f(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 m extends Error{constructor(e){super(e),this.name="ErrorNoTelemetry"}static fromError(e){if(e instanceof m)return e;const t=new m;return t.message=e.message,t.stack=e.stack,t}static isErrorNoTelemetry(e){return"ErrorNoTelemetry"===e.name}}class p extends Error{constructor(e){super(e||"An unexpected bug occurred."),Object.setPrototypeOf(this,p.prototype)}}},56095:(e,t,n)=>{n.d(t,{AS:()=>f,BO:()=>y,Cm:()=>p,HE:()=>b,St:()=>v,Xm:()=>u,jG:()=>g,lC:()=>l,mp:()=>w,qE:()=>h,s:()=>m});var r=n(58258),o=n(87577);let a=null;function i(e){return null===a||void 0===a||a.trackDisposable(e),e}function s(e){null===a||void 0===a||a.markAsDisposed(e)}function c(e,t){null===a||void 0===a||a.setParent(e,t)}function l(e){return null===a||void 0===a||a.markAsSingleton(e),e}class d extends Error{constructor(e){super(`Encountered errors while disposing of store. Errors: [${e.join(", ")}]`),this.errors=e}}function u(e){return"function"===typeof e.dispose&&0===e.dispose.length}function f(e){if(o.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 d(n);return Array.isArray(e)?[]:e}if(e)return e.dispose(),e}function h(...e){const t=m(()=>f(e));return function(e,t){if(a)for(const n of e)a.setParent(n,t)}(e,t),t}function m(e){const t=i({dispose:(0,r.O)(()=>{s(t),e()})});return t}class p{constructor(){this._toDispose=new Set,this._isDisposed=!1,i(this)}dispose(){this._isDisposed||(s(this),this._isDisposed=!0,this.clear())}get isDisposed(){return this._isDisposed}clear(){try{f(this._toDispose.values())}finally{this._toDispose.clear()}}add(e){if(!e)return e;if(e===this)throw new Error("Cannot register a disposable on itself!");return c(e,this),this._isDisposed?p.DISABLE_DISPOSED_WARNING:this._toDispose.add(e),e}}p.DISABLE_DISPOSED_WARNING=!1;class g{constructor(){this._store=new p,i(this),c(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 b{constructor(){this._isDisposed=!1,i(this)}get value(){return this._isDisposed?void 0:this._value}set value(e){var t;this._isDisposed||e===this._value||(null===(t=this._value)||void 0===t||t.dispose(),e&&c(e,this),this._value=e)}clear(){this.value=void 0}dispose(){var e;this._isDisposed=!0,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&&c(e,null),e}}class w{constructor(e){this._disposable=e,this._counter=1}acquire(){return this._counter++,this}release(){return 0===--this._counter&&this._disposable.dispose(),this}}class v{constructor(){this.dispose=()=>{},this.unset=()=>{},this.isset=()=>!1,i(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 y{constructor(e){this.object=e}dispose(){}}},80402:(e,t,n)=>{n.d(t,{B6:()=>E,Fd:()=>w,LC:()=>p,P8:()=>m,Pi:()=>h,er:()=>u,iZ:()=>v,n4:()=>f,o1:()=>y,pD:()=>g,su:()=>l,uJ:()=>b});var r=n(64471),o=n(10461),a=n(52120),i=n(47916),s=n(9221),c=n(62553);function l(e){return(0,c.I)(e,!0)}class d{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===o.ny.file)return r._1(l(e),l(t),this._ignorePathCasing(e))&&e.query===t.query&&(n||e.fragment===t.fragment);if(C(e.authority,t.authority))return r._1(e.path,t.path,this._ignorePathCasing(e),"/")&&e.query===t.query&&(n||e.fragment===t.fragment)}return!1}joinPath(e,...t){return c.r.joinPath(e,...t)}basenameOrAuthority(e){return m(e)||e.authority}basename(e){return a.SA.basename(e.path)}extname(e){return a.SA.extname(e.path)}dirname(e){if(0===e.path.length)return e;let t;return e.scheme===o.ny.file?t=c.r.file(a.pD(l(e))).path:(t=a.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===o.ny.file?c.r.file(a.S8(l(e))).path:a.SA.normalize(e.path),e.with({path:t})}relativePath(e,t){if(e.scheme!==t.scheme||!C(e.authority,t.authority))return;if(e.scheme===o.ny.file){const n=a.V8(l(e),l(t));return i.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 a.SA.relative(n,s)}resolvePath(e,t){if(e.scheme===o.ny.file){const n=c.r.file(a.hd(l(e),t));return e.with({authority:n.authority,path:n.path})}return t=r.kb(t),e.with({path:a.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=a.Vn){if(e.scheme===o.ny.file){const n=l(e);return n.length>r.Zn(n).length&&n[n.length-1]===t}{const t=e.path;return t.length>1&&47===t.charCodeAt(t.length-1)&&!/^[a-zA-Z]:(\/$|\\$)/.test(e.fsPath)}}removeTrailingPathSeparator(e,t=a.Vn){return S(e,t)?e.with({path:e.path.substr(0,e.path.length-1)}):e}addTrailingPathSeparator(e,t=a.Vn){let n=!1;if(e.scheme===o.ny.file){const o=l(e);n=void 0!==o&&o.length===r.Zn(o).length&&o[o.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 u=new d(()=>!1),f=(new d(e=>e.scheme!==o.ny.file||!i.j9),new d(e=>!0),u.isEqual.bind(u)),h=(u.isEqualOrParent.bind(u),u.getComparisonKey.bind(u),u.basenameOrAuthority.bind(u)),m=u.basename.bind(u),p=u.extname.bind(u),g=u.dirname.bind(u),b=u.joinPath.bind(u),w=u.normalizePath.bind(u),v=u.relativePath.bind(u),y=u.resolvePath.bind(u),C=(u.isAbsolutePath.bind(u),u.isEqualAuthority.bind(u)),S=u.hasTrailingPathSeparator.bind(u);u.removeTrailingPathSeparator.bind(u),u.addTrailingPathSeparator.bind(u);var E;!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}}(E||(E={}))},33579:(e,t,n)=>{n.d(t,{C1:()=>a,Ym:()=>r,kF:()=>o});const r={ctrlCmd:!1,alt:!1};var o,a;!function(e){e[e.Blur=1]="Blur",e[e.Gesture=2]="Gesture",e[e.Other=3]="Other"}(o||(o={})),function(e){e[e.NONE=0]="NONE",e[e.FIRST=1]="FIRST",e[e.SECOND=2]="SECOND",e[e.LAST=3]="LAST"}(a||(a={}));new class{constructor(e){this.options=e}}},49555:(e,t,n)=>{n.d(t,{Du:()=>f,Su:()=>h,aI:()=>u,b7:()=>d});var r=n(9221),o=n(47916),a=n(97257);let i,s,c;function l(){return i||(i=new TextDecoder("UTF-16LE")),i}function d(){return c||(c=o.cm()?l():(s||(s=new TextDecoder("UTF-16BE")),s)),c}const u="undefined"!==typeof TextDecoder;let f,h;function m(e,t,n){const r=[];let o=0;for(let i=0;i<n;i++){const n=a.$l(e,t);t+=2,r[o++]=String.fromCharCode(n)}return r.join("")}u?(f=e=>new p(e),h=function(e,t,n){const r=new Uint16Array(e.buffer,t,n);if(n>0&&(65279===r[0]||65534===r[0]))return m(e,t,n);return l().decode(r)}):(f=e=>new g,h=m);class p{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 d().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)=>{n.d(t,{i:()=>a});var r=n(33029);class o 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 a=function(e){const t={};return n=>(t.hasOwnProperty(n)||(t[n]=e(n)),t[n])}(e=>new o(e))},80681:(e,t,n)=>{n.d(t,{L:()=>r});const r=(0,n(10174).u1)("languageService")},88638:(e,t,n)=>{n.d(t,{A5:()=>r,Dg:()=>c,F4:()=>u,L5:()=>d,R3:()=>o,VW:()=>a,Wo:()=>l,X2:()=>s,vd:()=>f});var r,o,a,i=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"}(o||(o={})),function(e){e[e.Both=0]="Both",e[e.Right=1]="Right",e[e.Left=2]="Left",e[e.None=3]="None"}(a||(a={}));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,i.aI)(this.bracketPairColorizationOptions,e.bracketPairColorizationOptions)}createChangeEvent(e){return{tabSize:this.tabSize!==e.tabSize,indentSize:this.indentSize!==e.indentSize,insertSpaces:this.insertSpaces!==e.insertSpaces,trimAutoWhitespace:this.trimAutoWhitespace!==e.trimAutoWhitespace}}}class c{constructor(e,t){this._findMatchBrand=void 0,this.range=e,this.matches=t}}class l{constructor(e,t,n,r,o,a){this.identifier=e,this.range=t,this.text=n,this.forceMoveMarkers=r,this.isAutoWhitespaceEdit=o,this._isTracked=a}}class d{constructor(e,t,n){this.regex=e,this.wordSeparators=t,this.simpleSearch=n}}class u{constructor(e,t,n){this.reverseEdits=e,this.changes=t,this.trimAutoWhitespaceLineNumbers=n}}function f(e){return!e.isTooLargeForSyncing()&&!e.isForSimpleWidget}},48349:(e,t,n)=>{n.d(t,{S:()=>r});const r=(0,n(10174).u1)("modelService")},81897:(e,t,n)=>{n.d(t,{b:()=>r});const r=(0,n(10174).u1)("textModelService")},91504:(e,t,n)=>{n.d(t,{E6:()=>d,Hw:()=>a,YN:()=>o,b2:()=>r,gf:()=>s,n9:()=>c,oq:()=>i,tu:()=>u,vp:()=>l});var r,o,a,i,s,c,l,d,u,f=n(54500);!function(e){e.noSelection=f.kg("noSelection","No selection"),e.singleSelectionRange=f.kg("singleSelectionRange","Line {0}, Column {1} ({2} selected)"),e.singleSelection=f.kg("singleSelection","Line {0}, Column {1}"),e.multiSelectionRange=f.kg("multiSelectionRange","{0} selections ({1} characters selected)"),e.multiSelection=f.kg("multiSelection","{0} selections"),e.emergencyConfOn=f.kg("emergencyConfOn","Now changing the setting `accessibilitySupport` to 'on'."),e.openingDocs=f.kg("openingDocs","Now opening the Editor Accessibility documentation page."),e.readonlyDiffEditor=f.kg("readonlyDiffEditor"," in a read-only pane of a diff editor."),e.editableDiffEditor=f.kg("editableDiffEditor"," in a pane of a diff editor."),e.readonlyEditor=f.kg("readonlyEditor"," in a read-only code editor"),e.editableEditor=f.kg("editableEditor"," in a code editor"),e.changeConfigToOnMac=f.kg("changeConfigToOnMac","To configure the editor to be optimized for usage with a Screen Reader press Command+E now."),e.changeConfigToOnWinLinux=f.kg("changeConfigToOnWinLinux","To configure the editor to be optimized for usage with a Screen Reader press Control+E now."),e.auto_on=f.kg("auto_on","The editor is configured to be optimized for usage with a Screen Reader."),e.auto_off=f.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=f.kg("tabFocusModeOnMsg","Pressing Tab in the current editor will move focus to the next focusable element. Toggle this behavior by pressing {0}."),e.tabFocusModeOnMsgNoKb=f.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=f.kg("tabFocusModeOffMsg","Pressing Tab in the current editor will insert the tab character. Toggle this behavior by pressing {0}."),e.tabFocusModeOffMsgNoKb=f.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=f.kg("openDocMac","Press Command+H now to open a browser window with more information related to editor accessibility."),e.openDocWinLinux=f.kg("openDocWinLinux","Press Control+H now to open a browser window with more information related to editor accessibility."),e.outroMsg=f.kg("outroMsg","You can dismiss this tooltip and return to the editor by pressing Escape or Shift+Escape."),e.showAccessibilityHelpAction=f.kg("showAccessibilityHelpAction","Show Accessibility Help")}(r||(r={})),function(e){e.inspectTokensAction=f.kg("inspectTokens","Developer: Inspect Tokens")}(o||(o={})),function(e){e.gotoLineActionLabel=f.kg("gotoLineActionLabel","Go to Line/Column...")}(a||(a={})),function(e){e.helpQuickAccessActionLabel=f.kg("helpQuickAccess","Show all Quick Access Providers")}(i||(i={})),function(e){e.quickCommandActionLabel=f.kg("quickCommandActionLabel","Command Palette"),e.quickCommandHelp=f.kg("quickCommandActionHelp","Show And Run Commands")}(s||(s={})),function(e){e.quickOutlineActionLabel=f.kg("quickOutlineActionLabel","Go to Symbol..."),e.quickOutlineByCategoryActionLabel=f.kg("quickOutlineByCategoryActionLabel","Go to Symbol by Category...")}(c||(c={})),function(e){e.editorViewAccessibleLabel=f.kg("editorViewAccessibleLabel","Editor content"),e.accessibilityHelpMessage=f.kg("accessibilityHelpMessage","Press Alt+F1 for Accessibility Options.")}(l||(l={})),function(e){e.toggleHighContrast=f.kg("toggleHighContrast","Toggle High Contrast Theme")}(d||(d={})),function(e){e.bulkEditServiceSummary=f.kg("bulkEditServiceSummary","Made {0} edits in {1} files")}(u||(u={}))},30831:(e,t,n)=>{n.d(t,{QE:()=>ze,XB:()=>Te,Zc:()=>je});n(86460),n(23513),n(30054),n(30011),n(53323);var r=n(9221),o=n(68026),a=n(9569),i=n(11779),s=n(3390),c=n(56095),l=n(47916),d=n(85360),u=n(62553),f=n(32340),h=n(73820),m=n(29158),p=n(62456),g=n(13462),b=n(48349),w=n(81897),v=n(57651),y=n(92542),C=n(55368),S=n(59018),E=n(26714),A=n(18934),_=n(10174),k=n(22889),N=n(64642),L=n(56788),R=n(26254),T=n(34349),O=n(82988),D=n(21764),P=n(20242),x=n(99794),I=n(79386),M=n(98526),j=n(2484),F=n(91504),B=n(80402),$=n(25812),U=n(79040),q=n(46718),z=n(65223),H=n(96464),Y=n(99948),Z=n(79515),W=n(48419),V=n(28557),K=n(95038),G=n(52057),Q=n(6167),X=n(80681),J=n(62502),ee=n(54569),te=n(41034),ne=n(77965),re=n(52558),oe=n(15703),ae=n(22688),ie=n(12544),se=n(18086),ce=n(79423),le=n(66828),de=n(36573),ue=n(25800),fe=n(63817),he=n(96055),me=n(78104),pe=n(42832),ge=n(41494),be=n(77964),we=n(51350),ve=n(89822),ye=n(77702),Ce=(n(12345),n(26423)),Se=function(e,t,n,r){var o,a=arguments.length,i=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)i=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(i=(a<3?o(i):a>3?o(t,n,i):o(t,n))||i);return a>3&&i&&Object.defineProperty(t,n,i),i},Ee=function(e,t){return function(n,r){t(n,r,e)}},Ae=function(e,t,n,r){return new(n||(n=Promise))(function(o,a){function i(e){try{c(r.next(e))}catch(t){a(t)}}function s(e){try{c(r.throw(e))}catch(t){a(t)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(i,s)}c((r=r.apply(e,t||[])).next())})};class _e{constructor(e){this.disposed=!1,this.model=e,this._onWillDispose=new i.vl}get textEditorModel(){return this.model}dispose(){this.disposed=!0,this._onWillDispose.fire()}}let ke=class{constructor(e){this.modelService=e}createModelReference(e){const t=this.modelService.getModel(e);return t?Promise.resolve(new c.BO(new _e(t))):Promise.reject(new Error("Model not found"))}};ke=Se([Ee(0,b.S)],ke);class Ne{show(){return Ne.NULL_PROGRESS_RUNNER}showWhile(e,t){return Ae(this,void 0,void 0,function*(){yield e})}}Ne.NULL_PROGRESS_RUNNER={done:()=>{},total:()=>{},worked:()=>{}};class Le{info(e){return this.notify({severity:d.A.Info,message:e})}warn(e){return this.notify({severity:d.A.Warning,message:e})}error(e){return this.notify({severity:d.A.Error,message:e})}notify(e){switch(e.severity){case d.A.Error:case d.A.Warning:}return Le.NO_OP}status(e,t){return c.jG.None}}Le.NO_OP=new P.Kz;let Re=class{constructor(e){this._onWillExecuteCommand=new i.vl,this._onDidExecuteCommand=new i.vl,this.onWillExecuteCommand=this._onWillExecuteCommand.event,this.onDidExecuteCommand=this._onDidExecuteCommand.event,this._instantiationService=e}executeCommand(e,...t){const n=y.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)}}};Re=Se([Ee(0,_._Y)],Re);let Te=class extends k.E{constructor(e,t,n,r,i,s){super(e,t,n,r,i),this._cachedResolver=null,this._dynamicKeybindings=[],this._domNodeListeners=[];const l=e=>{const t=new c.Cm;t.add(o.ko(e,o.Bx.KEY_DOWN,e=>{const t=new a.Z(e);this._dispatch(t,t.target)&&(t.preventDefault(),t.stopPropagation())})),t.add(o.ko(e,o.Bx.KEY_UP,e=>{const t=new a.Z(e);this._singleModifierDispatch(t,t.target)&&t.preventDefault()})),this._domNodeListeners.push(new Oe(e,t))},d=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())}},u=e=>{e.getOption(55)||l(e.getContainerDomNode())};this._register(s.onCodeEditorAdd(u)),this._register(s.onCodeEditorRemove(e=>{e.getOption(55)||d(e.getContainerDomNode())})),s.listCodeEditors().forEach(u);const f=e=>{l(e.getContainerDomNode())};this._register(s.onDiffEditorAdd(f)),this._register(s.onDiffEditorRemove(e=>{d(e.getContainerDomNode())})),s.listDiffEditors().forEach(f)}addDynamicKeybinding(e,t,n,r){const o=(0,s.ZU)(t,l.OS),a=new c.Cm;return o&&(this._dynamicKeybindings.push({keybinding:o.parts,command:e,when:r,weight1:1e3,weight2:0,extensionId:null,isBuiltinExtension:!1}),a.add((0,c.s)(()=>{for(let t=0;t<this._dynamicKeybindings.length;t++){if(this._dynamicKeybindings[t].command===e)return this._dynamicKeybindings.splice(t,1),void this.updateResolver()}}))),a.add(y.wb.registerCommand(e,n)),this.updateResolver(),a}updateResolver(){this._cachedResolver=null,this._onDidUpdateKeybindings.fire()}_getResolver(){if(!this._cachedResolver){const e=this._toNormalizedKeybindingItems(R.f.getDefaultKeybindings(),!0),t=this._toNormalizedKeybindingItems(this._dynamicKeybindings,!1);this._cachedResolver=new L.f(e,t,e=>this._log(e))}return this._cachedResolver}_documentHasFocus(){return document.hasFocus()}_toNormalizedKeybindingItems(e,t){const n=[];let r=0;for(const o of e){const e=o.when||void 0,a=o.keybinding;if(a){const i=O.j.resolveUserBinding(a,l.OS);for(const a of i)n[r++]=new T.u(a,o.command,o.commandArgs,e,t,null,!1)}else n[r++]=new T.u(void 0,o.command,o.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 O.j(t,l.OS)}};Te=Se([Ee(0,E.fN),Ee(1,y.wT),Ee(2,I.k),Ee(3,P.Ot),Ee(4,U.rr),Ee(5,$.T)],Te);class Oe extends c.jG{constructor(e,t){super(),this.domNode=e,this._register(t)}}function De(e){return e&&"object"===typeof e&&(!e.overrideIdentifier||"string"===typeof e.overrideIdentifier)&&(!e.resource||e.resource instanceof u.r)}class Pe{constructor(){this._onDidChangeConfiguration=new i.vl,this.onDidChangeConfiguration=this._onDidChangeConfiguration.event,this._configuration=new S.Vk(new Ce.z,new S.S1,new S.S1,new S.S1)}getValue(e,t){const n="string"===typeof e?e:void 0,r=De(e)?e:De(t)?t:{};return this._configuration.getValue(n,r,void 0)}updateValues(e){const t={data:this._configuration.toData()},n=[];for(const r of e){const[e,t]=r;this.getValue(e)!==t&&(this._configuration.updateValue(e,t),n.push(e))}if(n.length>0){const e=new S.Xm({keys:n,overrides:[]},t,this._configuration);e.source=7,e.sourceConfig=null,this._onDidChangeConfiguration.fire(e)}return Promise.resolve()}updateValue(e,t,n,r){return this.updateValues([[e,t]])}inspect(e,t={}){return this._configuration.inspect(e,t,void 0)}}let xe=class{constructor(e){this.configurationService=e,this._onDidChangeConfiguration=new i.vl,this.configurationService.onDidChangeConfiguration(e=>{this._onDidChangeConfiguration.fire({affectedKeys:e.affectedKeys,affectsConfiguration:(t,n)=>e.affectsConfiguration(n)})})}getValue(e,t,n){const r=(p.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)}};xe=Se([Ee(0,C.pG)],xe);let Ie=class{constructor(e){this.configurationService=e}getEOL(e,t){const n=this.configurationService.getValue("files.eol",{overrideIdentifier:t,resource:e});return n&&"string"===typeof n&&"auto"!==n?n:l.j9||l.zx?"\n":"\r\n"}};Ie=Se([Ee(0,C.pG)],Ie);class Me{constructor(){const e=u.r.from({scheme:Me.SCHEME,authority:"model",path:"/"});this.workspace={id:"4064f6ec-cb38-4ad0-af64-ee6467e63c82",folders:[new M.mX({uri:e,name:"",index:0})]}}getWorkspace(){return this.workspace}getWorkspaceFolder(e){return e&&e.scheme===Me.SCHEME?this.workspace.folders[0]:null}}function je(e,t,n){if(!t)return;if(!(e instanceof Pe))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)}Me.SCHEME="inmemory";let Fe=class{constructor(e){this._modelService=e}hasPreviewHandler(){return!1}apply(e,t){return Ae(this,void 0,void 0,function*(){const t=new Map;for(const r of e){if(!(r instanceof f.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(m.k.replaceMove(g.Q.lift(r.textEdit.range),r.textEdit.text))}let n=0,o=0;for(const[e,r]of t)e.pushStackElement(),e.pushEditOperations([],r,()=>[]),e.pushStackElement(),o+=1,n+=r.length;return{ariaSummary:r.GP(F.tu.bulkEditServiceSummary,n,o)}})}};Fe=Se([Ee(0,b.S)],Fe);let Be=class extends H.Y{constructor(e,t){super(e),this._codeEditorService=t}showContextView(e,t,n){if(!t){const e=this._codeEditorService.getFocusedCodeEditor()||this._codeEditorService.getActiveCodeEditor();e&&(t=e.getContainerDomNode())}return super.showContextView(e,t,n)}};Be=Se([Ee(0,j.x),Ee(1,$.T)],Be);class $e extends Y.g{constructor(){super()}}class Ue extends U.Kc{constructor(){super(new U.Cr)}}let qe=class extends Z.K{constructor(e,t,n,r,o){super(e,t,n,r,o),this.configure({blockMouse:!1})}};var ze;qe=Se([Ee(0,I.k),Ee(1,P.Ot),Ee(2,z.l),Ee(3,N.b),Ee(4,W.Gy)],qe),(0,V.v)(C.pG,Pe),(0,V.v)(v.U,xe),(0,V.v)(v.J,Ie),(0,V.v)(M.VR,Me),(0,V.v)(D.L,class{getUriLabel(e,t){return"file"===e.scheme?e.fsPath:e.path}getUriBasenameLabel(e){return(0,B.P8)(e)}}),(0,V.v)(I.k,class{publicLog(e,t){return Promise.resolve(void 0)}publicLog2(e,t){return this.publicLog(e,t)}}),(0,V.v)(A.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,V.v)(P.Ot,Le),(0,V.v)(ge.DR,be.m),(0,V.v)(X.L,$e),(0,V.v)(oe.L,re.Sx),(0,V.v)(U.rr,Ue),(0,V.v)(b.S,te.JW),(0,V.v)(ee.A,J.D),(0,V.v)(E.fN,ue.i7),(0,V.v)(x.G5,class{withProgress(e,t,n){return t({report:()=>{}})}}),(0,V.v)(x.N8,Ne),(0,V.v)(ye.CS,ye.pc),(0,V.v)(G.w,Q.Bc),(0,V.v)(f.nu,Fe),(0,V.v)(q.L,class{constructor(){this._neverEmitter=new i.vl,this.onDidChangeTrust=this._neverEmitter.event}isWorkspaceTrusted(){return!0}}),(0,V.v)(w.b,ke),(0,V.v)(ie.j,ae.s),(0,V.v)(pe.PE,pe.aG),(0,V.v)(y.wT,Re),(0,V.v)(N.b,Te),(0,V.v)(ve.GK,ne.oC),(0,V.v)(z.l,Be),(0,V.v)(we.Cr,K.J),(0,V.v)(de.h,le.w),(0,V.v)(z.Z,qe),(0,V.v)(se.ez,ce.$),function(e){const t=new me.a;for(const[o,a]of(0,V.N)())t.set(o,a);const n=new he.n(t,!0);t.set(_._Y,n),e.get=function(e){const r=t.get(e);if(!r)throw new Error("Missing service "+e);return r instanceof fe.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,V.N)())t.get(n)||t.set(n,r);for(const n in e)if(e.hasOwnProperty(n)){const r=(0,_.u1)(n);t.get(r)instanceof fe.d&&t.set(r,e[n])}return n}}(ze||(ze={}))},54500:(e,t,n)=>{n.d(t,{AM:()=>i,kg:()=>a});let r="undefined"!==typeof document&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;function o(e,t){let n;return n=0===t.length?e:e.replace(/\{(\d+)\}/g,(e,n)=>{const r=n[0],o=t[r];let a=e;return"string"===typeof o?a=o:"number"!==typeof o&&"boolean"!==typeof o&&void 0!==o&&null!==o||(a=String(o)),a}),r&&(n="\uff3b"+n.replace(/[aouei]/g,"$&$&")+"\uff3d"),n}function a(e,t,...n){return o(t,n)}function i(e){}},10174:(e,t,n)=>{var r;n.d(t,{_$:()=>r,_Y:()=>o,u1:()=>a}),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 o=a("instantiationService");function a(e){if(r.serviceIds.has(e))return r.serviceIds.get(e);const t=function(e,n,o){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,o)};return t.toString=()=>e,r.serviceIds.set(e,t),t}},4950:(e,t,n)=>{n.r(t),n.d(t,{Keyframes:()=>s.A,NaNLinter:()=>c.cH,StyleContext:()=>l.Ay,StyleProvider:()=>l.N7,Theme:()=>d.Sx,_experimental:()=>p,createCache:()=>l.VC,createTheme:()=>d.an,extractStyle:()=>r.A,genCalc:()=>d.Q7,getComputedToken:()=>o.lO,legacyLogicalPropertiesTransformer:()=>u.A,legacyNotSelectorLinter:()=>c.Qn,logicalPropertiesLinter:()=>c.bM,parentSelectorLinter:()=>c.QY,px2remTransformer:()=>f.A,token2CSSVar:()=>m.Ki,unit:()=>h.zA,useCSSVarRegister:()=>a.Ay,useCacheToken:()=>o.Ay,useStyleRegister:()=>i.Ay});var r=n(5658),o=n(44965),a=n(54691),i=n(38596),s=n(25755),c=n(57888),l=n(51752),d=n(95026),u=n(88820),f=n(93585),h=n(99487),m=n(60092),p={supportModernCSS:function(){return(0,h.n6)()&&(0,h.kZ)()}}},12591:(e,t,n)=>{n.d(t,{BD:()=>m});var r=n(42660),o=n(88710);const a="data-rc-order",i="data-rc-priority",s="rc-util-key",c=new Map;function l({mark:e}={}){return e?e.startsWith("data-")?e:`data-${e}`:s}function d(e){if(e.attachTo)return e.attachTo;return document.querySelector("head")||document.body}function u(e){return Array.from((c.get(e)||e).children).filter(e=>"STYLE"===e.tagName)}function f(e,t={}){if(!(0,r.A)())return null;const{csp:n,prepend:o,priority:s=0}=t,c=function(e){return"queue"===e?"prependQueue":e?"prepend":"append"}(o),l="prependQueue"===c,f=document.createElement("style");f.setAttribute(a,c),l&&s&&f.setAttribute(i,`${s}`),n?.nonce&&(f.nonce=n?.nonce),f.innerHTML=e;const h=d(t),{firstChild:m}=h;if(o){if(l){const e=(t.styles||u(h)).filter(e=>{if(!["prepend","prependQueue"].includes(e.getAttribute(a)))return!1;const t=Number(e.getAttribute(i)||0);return s>=t});if(e.length)return h.insertBefore(f,e[e.length-1].nextSibling),f}h.insertBefore(f,m)}else h.appendChild(f);return f}function h(e,t={}){let{styles:n}=t;return n||=u(d(t)),n.find(n=>n.getAttribute(l(t))===e)}function m(e,t,n={}){const r=d(n),a=u(r),i={...n,styles:a};!function(e,t){const n=c.get(e);if(!n||!(0,o.A)(document,n)){const n=f("",t),{parentNode:r}=n;c.set(e,r),e.removeChild(n)}}(r,i);const s=h(t,i);if(s)return i.csp?.nonce&&s.nonce!==i.csp?.nonce&&(s.nonce=i.csp?.nonce),s.innerHTML!==e&&(s.innerHTML=e),s;const m=f(e,i);return m.setAttribute(l(i),t),m}},55492:(e,t,n)=>{n.d(t,{kw:()=>c});let r={};const o=[];function a(e,t){0}function i(e,t){0}function s(e,t,n){t||r[n]||(e(!1,n),r[n]=!0)}function c(e,t){s(a,e,t)}c.preMessage=e=>{o.push(e)},c.resetWarned=function(){r={}},c.noteOnce=function(e,t){s(i,e,t)}},29142:(e,t,n)=>{n.d(t,{A:()=>a});var r=n(50760),o=n(31734);const a=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=new Set;return function e(t,i){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,c=a.has(t);if((0,o.Ay)(!c,"Warning: There may be circular references"),c)return!1;if(t===i)return!0;if(n&&s>1)return!1;a.add(t);var l=s+1;if(Array.isArray(t)){if(!Array.isArray(i)||t.length!==i.length)return!1;for(var d=0;d<t.length;d++)if(!e(t[d],i[d],l))return!1;return!0}if(t&&i&&"object"===(0,r.A)(t)&&"object"===(0,r.A)(i)){var u=Object.keys(t);return u.length===Object.keys(i).length&&u.every(function(n){return e(t[n],i[n],l)})}return!1}(e,t)}},88260:(e,t,n)=>{var r,o;n.d(t,{N_:()=>p,ok:()=>w});var a=n(1936),i=n(18005),s=n(84075),c=n(90648);function l(){return l=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},l.apply(this,arguments)}function d(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function u(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 f=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"];try{window.__reactRouterVersion="6"}catch(v){}new Map;(r||(r=n.t(a,2))).startTransition,(o||(o=n.t(i,2))).flushSync,(r||(r=n.t(a,2))).useId;const h="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement,m=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,p=a.forwardRef(function(e,t){let n,{onClick:r,relative:o,reloadDocument:i,replace:u,state:p,target:g,to:b,preventScrollReset:w,viewTransition:y}=e,C=d(e,f),{basename:S}=a.useContext(s.jb),E=!1;if("string"===typeof b&&m.test(b)&&(n=b,h))try{let e=new URL(window.location.href),t=b.startsWith("//")?new URL(e.protocol+b):new URL(b),n=(0,c.pb)(t.pathname,S);t.origin===e.origin&&null!=n?b=n+t.search+t.hash:E=!0}catch(v){}let A=(0,s.$P)(b,{relative:o}),_=function(e,t){let{target:n,replace:r,state:o,preventScrollReset:i,relative:l,viewTransition:d}=void 0===t?{}:t,u=(0,s.Zp)(),f=(0,s.zy)(),h=(0,s.x$)(e,{relative:l});return a.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,c.AO)(f)===(0,c.AO)(h);u(e,{replace:n,state:o,preventScrollReset:i,relative:l,viewTransition:d})}},[f,u,h,r,o,n,e,i,l,d])}(b,{replace:u,state:p,target:g,preventScrollReset:w,relative:o,viewTransition:y});return a.createElement("a",l({},C,{href:n||A,onClick:E||i?r:function(e){r&&r(e),e.defaultPrevented||_(e)},ref:t,target:g}))});var g,b;function w(e){let t=a.useRef(u(e)),n=a.useRef(!1),r=(0,s.zy)(),o=a.useMemo(()=>function(e,t){let n=u(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]),i=(0,s.Zp)(),c=a.useCallback((e,t)=>{const r=u("function"===typeof e?e(o):e);n.current=!0,i("?"+r,t)},[i,o]);return[o,c]}(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(g||(g={})),function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(b||(b={}))},1331:(e,t,n)=>{n.d(t,{A6:()=>l,AH:()=>p,BF:()=>u,Cn:()=>b,K8:()=>m,Lv:()=>S,M6:()=>d,ST:()=>f,Sb:()=>w,TM:()=>o,b6:()=>A,d1:()=>k,ih:()=>y,ir:()=>C,rq:()=>E,uE:()=>c,uL:()=>_,vq:()=>s,wz:()=>h});var r=n(43083);function o(e){return"<!DOCTYPE "+e.name+(e.publicId?' PUBLIC "'+e.publicId+'"':"")+(!e.publicId&&e.systemId?" SYSTEM":"")+(e.systemId?' "'+e.systemId+'"':"")+">"}const a=Object.create(null);function i(e,t){const n=a[e]||(a[e]=Object.create(null));let r=n[t];if("boolean"!==typeof r){const o=document.createElement(e)[t.toLowerCase().replace(/[^a-zA-Z0-9]+(.)/g,(e,t)=>t.toUpperCase())];r=n[t]="undefined"!==typeof o&&"boolean"!==typeof o}return r}function s(e){return e.nodeType===Node.ELEMENT_NODE}function c(e){return s(e)&&!e.ownerSVGElement}function l(e){return"IMG"===e.tagName}function d(e){return"AMP-IMG"===e.tagName}function u(e){return"FORM"===e.tagName}function f(e){return"STYLE"===e.tagName}function h(e){return e.nodeType===Node.DOCUMENT_NODE}function m(e){return e.nodeType===Node.DOCUMENT_FRAGMENT_NODE}let p;var g;function b(e){return e.nodeType===Node.COMMENT_NODE}function w(e){const t=e.getRootNode()||window.document;return function(e){return e&&!!e.host&&!!e.mode}(t)?t:null}(g=p||(p={})).isStyleRule=function(e){return"CSSStyleRule"===e.constructor.name},g.isImportRule=function(e){return"CSSImportRule"===e.constructor.name},g.isMediaRule=function(e){return"CSSMediaRule"===e.constructor.name},g.isFontFaceRule=function(e){return"CSSFontFaceRule"===e.constructor.name},g.isPageRule=function(e){return"CSSPageRule"===e.constructor.name},g.isKeyframesRule=function(e){return"CSSKeyframesRule"===e.constructor.name},g.isKeyframeRuleRule=function(e){return"CSSKeyframeRule"===e.constructor.name},g.isNamespaceRule=function(e){return"CSSNamespaceRule"===e.constructor.name},g.isCounterStyleRule=function(e){return"CSSCounterStyleRule"===e.constructor.name},g.isSupportsRule=function(e){return"CSSSupportsRule"===e.constructor.name},g.isFontFeatureValuesRuleRule=function(e){return"CSSFontFeatureValuesRule"===e.constructor.name};const v=/(<!(--)?\[if\s[()\w\s|&!]+\]>(?:<!--+>)?)((?:.|\r|\n)*?)((?:<!--)?<!\[endif\]\2>)/gi;function y(e){const t=A(e).matchAll(v);if(t)for(const n of t){const[,e,,t,r]=n;return{open:e,close:r,content:t}}}function C(e){return e.nodeType===Node.TEXT_NODE}function S(e){return"TABLE"===e.tagName}async function E(e,t=5e3){return"undefined"===typeof e.complete||e.complete?getComputedStyle(e):new Promise((n,r)=>{setTimeout(n,t),e.onload=()=>n(getComputedStyle(e)),e.onerror=e=>{}})}function A(e){if(s(e))return function(e){var t;const n=(null===(t=Object.getOwnPropertyDescriptor(e,"$$tagName"))||void 0===t?void 0:t.value)||e.tagName.toLowerCase(),o=function(e){const t=e.tagName.toLowerCase();let n="";for(const r of e.attributes){const e=r.name,o=r.value;n+=""!==o||"em"===e||i(t,e)?` ${e}="${o.replaceAll('"',"'")}"`:` ${e}`}return n}(e);return r.n1.has(n.toLowerCase())?"vk-snippet-end"===n?`<${n}${o}/>`:`<${n}${o}>`:f(e)?`<${n}${o}>${e.innerHTML}</${n}>`:`<${n}${o}>${_(e)}</${n}>`}(e);if(h(e))return[...e.childNodes].map(e=>A(e)).join("");if(function(e){return e.nodeType===Node.DOCUMENT_TYPE_NODE}(e))return o(e);const t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}function _(e){let t="";for(const n of e.childNodes)t+=A(n);return t}function k(e,t){for(const a of[...e.childNodes])a.remove();let n=t.find(e=>function(e){return"HTML"===e.tagName}(e)),r=t.find(e=>function(e){return"BODY"===e.tagName}(e)),o=e;n||(n=document.createElement("html"),e.appendChild(n),o=n,r||(r=document.createElement("body"),n.appendChild(r),o=r));for(const a of t)o===e&&C(a)?o.appendChild(document.createComment(`%%%{{{${a.data}}}}%%%`)):o.appendChild(a)}},51121:(e,t,n)=>{n.d(t,{$$:()=>p,Os:()=>h});var r=n(92882),o=n(26230),a=n(21944);const i=["area","base","br","col","embed","hr","img","input","link","meta","source","track","wbr","vk-snippet-end"],s=new r.H(i),c=new o.X(s);const l=new Set(["onclick","onload","onchange","onsubmit","onmouseover","onkeydown","onerror"]),d=new Set(["script","style","xmp"]);const u=e=>{let t=e.indexOf("&");for(;-1!==t;){if(-1!==e.indexOf(";",t))return!0;t=e.indexOf("&",t+1)}return!1};function f(e,t,n){let r=e.tagName.toLowerCase();"html"===r&&(r="div");const o=`<${r} ${t}="${n}"/>`,a=function(e){let t;switch(null===e||void 0===e?void 0:e.toLowerCase()){case"tr":t=document.createElement("table");break;case"td":t=document.createElement("tr");break;case"head":case"body":t=document.createElement("html");break;case"documenttype":case"html":{const e=document.implementation.createHTMLDocument();for(const t of[...e.childNodes])t.remove();return e}default:t=document.createElement("div")}return t}(r);if(a instanceof Document)return;a.innerHTML=o;const i=a.querySelector(r);if(!i)throw new Error("targetElement is not defined");const s=i.getAttributeNode(t);s&&e.setAttributeNode(s.cloneNode())}function h(e,t,n){try{r=t,(o=e.tagName)&&d.has(o.toLowerCase())||l.has(r.toLowerCase())||u(n)?f(e,t,n):e.setAttribute(t,n)}catch{f(e,t,n)}var r,o}function m(e,t=!0){const n=e.content;switch(e.type){case a.Z.ROOT:{const n=document.implementation.createHTMLDocument();for(const e of[...n.childNodes])n.removeChild(e);if(t)for(const t of e.children)n.appendChild(m(t));return n}case a.Z.DOCTYPE:return(new DOMParser).parseFromString(`<!DOCTYPE${e.content}>`,"text/html").doctype;case a.Z.COMMENT:return document.createComment(n||"");case a.Z.ELEMENT:if(e.tag){const n=document.createElement(e.tag);if(Object.defineProperty(n,"$$tagName",{enumerable:!1,configurable:!1,value:e.tag}),e.attributes)for(const t of e.attributeNames){const o=e.attributes[t];try{h(n,t,"string"===typeof o?o:"")}catch(r){}}if(t)for(const t of e.children)n.appendChild(m(t));return n}return document.createTextNode("<");case a.Z.HTML:return function(e){if(e){const t=document.createElement("div");return t.insertAdjacentHTML("afterbegin",e),t.firstChild||document.createTextNode("")}return document.createTextNode("")}(n||"");default:throw new Error("unsupported node")}}function p(e){var t;return(t=e,c.parse(t)).roots.map(e=>m(e))}},69986:(e,t,n)=>{n.d(t,{Km:()=>R,Sc:()=>L,Nh:()=>A});var r=n(1331),o=n(51121),a=n(29338),i=n(1528);const s="amp-custom";function c(e,t,n){for(const o of t)if(r.AH.isStyleRule(o)){const t=o.selectorText.split(/\+>~/).flatMap(e=>e.trim().split(" "));if(1===t.length&&t[0].trim().startsWith(".em-"))for(const a of o.style){if("important"===o.style.getPropertyPriority(a))for(const t of e.querySelectorAll(o.selectorText))if((0,r.uE)(t)){const e=t.style;for(const r of[...e])if(r.startsWith(a)){const o=n(r,e.getPropertyValue(r)),a=t.getAttribute("class");t.setAttribute("class",a?`${o} ${a}`:o),e.removeProperty(r)}}}}else r.AH.isMediaRule(o)&&c(e,o.cssRules,n)}function l(e,t){const n=t.sheet;if(n){const o=new Set;c(e,n.cssRules,(e,a)=>{const i=function(e,t){return`em-${e.replaceAll("-","_")}-${t.toLowerCase()}`}(e,a),s=[...n.cssRules],c=`.${i} { ${e}: ${a} }`;return s.find(e=>r.AH.isStyleRule(e)&&e.selectorText===`.${i}`)||o.has(c)||(o.add(c),t.innerHTML=`\n.${i} { ${e}: ${a} };\n${t.innerHTML}`),i}),o.size&&(t.innerHTML=`\n${[...o].join("\n")};\n${t.innerHTML}`)}else;const o=t.innerHTML,a=o.replace(/!important/g,"");o!==a&&(t.innerHTML=a)}const d='<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">',u="<!doctype html>";async function f(e,t={}){const n=document.createElement("amp-img"),a=await(0,r.rq)(e)||void 0,s=[];try{let c=e;for(;c&&(0,r.uE)(c);){const e=getComputedStyle(c);"none"===(null===e||void 0===e?void 0:e.display)&&(c.style.display="initial",s.push([c,c.style.display])),c=c.parentElement}const l=null!==a&&void 0!==a&&a.height?`${parseInt(a.height)}`:"",d=null!==a&&void 0!==a&&a.width?`${parseInt(a.width)}`:"",u=(0,i.xm)(e);let f=!1;if(u){const t=u.getAttribute("width");try{let n=d?`${d}px`:"";t||(u.setAttribute("width","720px"),n=getComputedStyle(e).width||""),u.setAttribute("width",!t||parseInt(t)>320?"320px":"720px"),n!==(getComputedStyle(e).width||"")&&(f=!0)}finally{t&&u.setAttribute("width",t||"")}}const h=e.src||e.srcset.split(",")[0];"100%"===e.style.width&&e.style.removeProperty("width"),"100%"===e.style.maxWidth&&e.style.removeProperty("max-width"),t={...(0,i.gu)(e),alt:e.alt,width:d,height:l,src:h,layout:f?"responsive":"fixed",...t};for(const e of Object.keys(t))(0,o.Os)(n,e,t[e])}finally{for(const[e,t]of s)e.style.display=t}return n}function h(e){const t=document.createElement("img"),{layout:n,height:r,...a}=(0,i.gu)(e),s="responsive"===n;for(const i of Object.keys(a))(0,o.Os)(t,i,a[i]);return s&&(t.style.maxWidth=a.width||"0px",t.style.width="100%"),t}var m=n(95583),p=n(65174),g=n(20414);function b(e,t){return`${g.gP}/${e.toLowerCase()}-${t}.js`}var w=n(29747);const v=new Map;const y=new Map;const C="$GLOBAL_ATTRS",S=new Map;async function E(){if(!S.size){var e;const t=null===(e=(await(0,w.F)()).attrLists.find(e=>e.name===C))||void 0===e?void 0:e.attrs;if(t)for(const e of t)S.set(e.name,e)}return S}function A(e){var t;return(0,r.vq)(e)&&(e.tagName.startsWith("AMP")||"FORM"===e.tagName||"TEMPLATE"===e.tagName&&"amp-mustache"===(null===(t=e.getAttribute("type"))||void 0===t?void 0:t.toLowerCase()))}function _(e,t,n){var o,a,i;if(t)if((0,r.vq)(e))switch(e.tagName.toLowerCase()){case"body":case n("script"):case"style":case"meta":case"title":return;case"head":case"html":c();break;default:s()||c()}else(0,r.wz)(e)?c():(0,r.ir)(e)&&(null!==(o=e.textContent)&&void 0!==o&&o.trim()||null!==(a=e.nextSibling)&&void 0!==a&&null!==(i=a.textContent)&&void 0!==i&&i.trim()&&(0,r.ir)(e.nextSibling))&&s();function s(){const n=t.compareDocumentPosition(e);if(!(8&n)){if(2&n)return t.insertBefore(e,t.firstChild),!0;if(4&n)return t.appendChild(e),!0}return!1}function c(){const r=[...e.childNodes];for(let e=r.length-1;e>=0;e--)_(r[e],t,n)}}async function k(e,t){const n=new Set,c=t.commit,d=e=>t.replaceSelectors(e.toLowerCase());if(t.replaceImages&&await async function(e,t){const n=[...e.querySelectorAll("img")],r=[];for(const a of n)r.push(f(a).then(e=>[a,e],()=>[a,void 0]));const o=[...e.querySelectorAll("picture")];for(const a of o){const e=a.querySelector("img");e?r.push(f(e).then(e=>[a,e],()=>[a,void 0])):r.push([a,void 0])}if(r.length){const e=await Promise.all(r);for(const[t,n]of e)n?t.replaceWith(n):t.remove();null===t||void 0===t||t()}}(e,c),t.injectExtensions){const k=t.replaceSelectors(g.Vq);if(!e.querySelector(k)){const N=t.createElementFn("script");N.setAttribute("src",g.zq),N.setAttribute("async","");(0,i.xy)(e).appendChild(N),null===c||void 0===c||c()}}t.injectRequiredTags&&((0,p.y)(e,t.createElementFn,d),function(e){const t=e.doctype;if(t){if((0,r.TM)(t)===u)return;const n=(new DOMParser).parseFromString(u,"text/html").doctype;e.replaceChild(n,t)}else{const t=(new DOMParser).parseFromString(u,"text/html").doctype;e.insertBefore(t,e.firstChild)}}(e),(0,a.R)(e),(0,m.C)(e),null===c||void 0===c||c()),t.replaceStylesAndLinks&&(!function(e){const t=(0,i.xy)(e),n=e.querySelectorAll('link[rel="stylesheet"]'),r=[...e.querySelectorAll("style")].filter(e=>!e.hasAttribute("amp4email-boilerplate"));if(1===r.length){const n=r[0];if(n.parentElement===t&&""===n.getAttribute(s))return void l(e,n)}const o=[];for(const a of r)o.push(a.innerHTML),a.remove();if(o.length){const n=e.createElement("style");n.innerHTML=`\n${o.join("")}\n`,n.setAttribute(s,""),t.append(n),l(e,n)}for(const a of n)a.remove()}(e),null===c||void 0===c||c());const h=await(0,w.F)(),C=await async function(){if(!v.size){const e=await(0,w.F)(),t=e.tags;for(let n=0;n<t.length;n++){const r=t[n],{selector:o,attrs:a,attrLists:i}=r,s=(null===i||void 0===i?void 0:i.flatMap(t=>e.attrLists.filter(({name:e})=>e===t).flatMap(e=>e.attrs)))||[];v.set(o,{...r,priority:n,attrs:new Map([...a,...s].map(e=>[e.name,e]))})}}return v}(),S=new Set(t.removeUnsupportedTags?e.querySelectorAll("*"):[]),A=new Map;for(let[L,R]of C)if(!R.deprecation){L=d(L);let T=[...e.querySelectorAll(L)].filter(e=>!A.has(e));R.unique&&T.length&&(T=[T[0]]),t.injectRequiredTags&&R.required&&!T.length&&(T=[...T,t.createElementFn(R.name)]);for(const O of T){if(t.injectRequiredAttributes&&O.getAttribute("on")&&!O.getAttribute("tabindex")&&O.setAttribute("tabindex","0"),t.removeUnsupportedStyles){let P=!1;for(const x of[...O.classList])x.startsWith("i-amphtml")&&(P=!0,O.classList.remove(x));P&&!O.classList.length&&O.removeAttribute("class")}const D=A.get(O);D&&D.priority>R.priority||A.set(O,R)}}null===c||void 0===c||c();for(const[I,M]of A){if(t.injectExtensions&&M.requiresExtension)for(const B of M.requiresExtension)n.add(B);const j=M.requiredParent?"$ROOT"===M.requiredParent?e:e.querySelector(M.requiredParent):null;!j||I.parentNode&&!t.moveInvalidTagPosition?I.parentNode||e.body.appendChild(I):j!==I.parentNode&&("HEAD"===M.name||(0,r.vq)(j)&&"HEAD"===j.tagName?j.insertBefore(I,j.firstChild):j.appendChild(I)),t.removeUnsupportedTags&&S.delete(I),null===c||void 0===c||c();const F=await E();if(t.removeUnsupportedAttributes||t.injectRequiredAttributes){const $=M.attrs,U=t.injectRequiredAttributes?new Set([...$].map(([e,t])=>t).filter(e=>e.required&&e.value)):void 0,q=I.getAttributeNames();for(const z of q){const H=$.get(z)||F.get(z);if(H){if("id"===z||"class"===z||"style"===z){null===U||void 0===U||U.delete(H);continue}if(t.removeUnsupportedAttributes){const Y=I.getAttribute(z);if(H.value&&H.value.indexOf(Y)<0){I.removeAttribute(z);continue}if(H.valueRegex){if(!new RegExp(H.valueRegex).test(Y)){I.removeAttribute(z);continue}}if(H.disallowedValueRegex){if(new RegExp(H.disallowedValueRegex).test(Y)){I.removeAttribute(z);continue}}const Z=H.valueUrl;if(Z)if(""===Y){if(!Z.allowEmpty){I.removeAttribute(z);continue}}else if(Y.indexOf("\x3c!--")>0&&Y.indexOf("--\x3e")>0);else if(!Z.allowRelative){if(Y.startsWith("#")||Y.startsWith("/")){I.removeAttribute(z);continue}{const W=Z.protocol.length?Z.protocol:["https"],V=Y.substring(0,Y.indexOf(":"));if(V){if(W.indexOf(V)<0){const K=W[0]+Y.substring(Y.indexOf(":"));if(!URL.canParse(K)){I.removeAttribute(z);continue}(0,o.Os)(I,z,K)}else if(!URL.canParse(Y)){I.removeAttribute(z);continue}}else{const G=W[0]+Y;if(!URL.canParse(G)){I.removeAttribute(z);continue}(0,o.Os)(I,z,G)}}}}null===U||void 0===U||U.delete(H)}else{if("id"===z||"class"===z||"style"===z)continue;t.removeUnsupportedAttributes&&I.removeAttribute(z)}}if(U)for(const Q of U)(0,o.Os)(I,Q.name,Q.value[0])}null===c||void 0===c||c()}t.moveInvalidTagPosition&&(_(e,e.body,d),null===c||void 0===c||c());for(const X of S)X.remove();if(null===c||void 0===c||c(),t.removeUnsupportedStyles){const J=e.querySelectorAll("*"),ee=await async function(){if(!y.size){const e=await(0,w.F)();for(const t of e.declarations)y.set(t.name,t)}return y}();function te(e){const t=e.cssText.replaceAll(/\".*\"/g,"").replaceAll(/\'.*\'/g,"").replaceAll(/\/\*.*\*\/|(-moz-|-ms-|-o-|-webkit-)+\w+(?=:)/g,"").match(/[a-z-]+(?=:[^before|after|hover])/gi)||[];for(const n of t){if(!n)continue;const t=e.getPropertyValue(n);"important"===e.getPropertyPriority(n)&&e.setProperty(n,t);const r=ee.get(n);if(r){if(r.value)r.value.indexOf(t)<0&&e.removeProperty(n);else if(r.valueRegex){new RegExp(r.valueRegex).test(t)||e.removeProperty(n)}}else e.removeProperty(n)}null===c||void 0===c||c()}function ne(e){return"CSSStyleRule"===e.constructor.name}function re(e){return"CSSMediaRule"===e.constructor.name}function oe(e){const t=e.cssRules;for(let n=t.length-1;n>=0;n--){const r=t[n];ne(r)?r.selectorText.indexOf("[")>=0||r.selectorText.indexOf(":")>=0?e.deleteRule(n):(te(r.style),r.style.cssText||e.deleteRule(n)):re(r)?(oe(r),r.cssRules.length||e.deleteRule(n)):e.deleteRule(n)}}for(const ie of J)if((0,r.uE)(ie)){const se=ie.getAttribute("style");se&&(te(ie.style),ie.style.length?ie.style.cssText!==se&&ie.setAttribute("style",ie.style.cssText):ie.removeAttribute("style"))}const ae=e.querySelector("style[amp-custom]");if(ae){const ce=ae.sheet;ce&&(oe(ce),ae.innerHTML=[...ce.cssRules].map(e=>e.cssText).join("\n")),null===c||void 0===c||c()}}await async function(e,t,n){for(const{name:r,versions:o}of t){const t=n.replaceSelectors("amp-mustache"===r?`script[async][custom-template='${r}']`:`script[async][custom-element='${r}']`);if(!e.querySelector(t)){const t=(0,i.xy)(e),a=n.createElementFn("script"),s=b(r,o.findLast(e=>"latest"!==e)||"v0");a.setAttribute("async",""),a.setAttribute("amp-mustache"===r?"custom-template":"custom-element",r),a.setAttribute("src",s),t.appendChild(a),t.appendChild(e.createTextNode("\n"))}}}(e,h.extensions.filter(({name:e})=>n.has(e)),t)}function N(e,t){return Object.keys(t).reduce((e,n)=>e.replaceAll(n,t[n]),e)}function L(e,t={}){const{correct:n=!0,injectExtensions:r=!0,mappedTags:o={}}=t;return k(e,{replaceImages:n,replaceStylesAndLinks:n,injectRequiredTags:n,injectExtensions:r,formsAsAmpForms:r,injectRequiredAttributes:n,moveInvalidTagPosition:n,removeUnsupportedTags:n,removeUnsupportedAttributes:n,removeUnsupportedStyles:n,createElementFn:t=>e.createElement(o[t.toLowerCase()]||t),replaceSelectors:e=>N(e.toLowerCase(),o),commit:t.commit})}function R(e,t={}){const{correct:n=!0,removeExtensions:o=!0,mappedTags:c={}}=t,l=t.commit,f=t=>e.createElement(c[t.toLowerCase()]||t),m=e=>N(e,c);if(n){!function(e,t){const n=[...e.querySelectorAll("amp-img")];for(const r of n)r.replaceWith(h(r));n.length&&(null===t||void 0===t||t())}(e),function(e){const t=e.doctype;if(t&&(0,r.TM)(t).toLowerCase()===u){const n=(new DOMParser).parseFromString(d,"text/html").doctype;e.replaceChild(n,t)}}(e),function(e){const t=e.querySelector(`style[${s}]`);t&&t.removeAttribute(s)}(e),(0,a.C)(e);const t=(0,i.ep)(e);t.removeAttribute("\u26a14email"),t.removeAttribute("data-css-strict"),null===l||void 0===l||l()}o&&(!function(e,t){const n=e.querySelectorAll("*"),r=e.querySelectorAll(t.replaceSelectors("script[src]"));for(const a of r){var o;null!==(o=a.getAttribute("src"))&&void 0!==o&&o.startsWith(g.gP)&&a.remove()}for(const a of n)A(a)&&"FORM"!==a.tagName&&a.remove()}(e,{formsAsAmpForms:t.removeExtensions,createElementFn:f,replaceSelectors:m}),null===l||void 0===l||l())}},86080:(e,t,n)=>{n.d(t,{Ay:()=>i,oK:()=>c});const r=(e,t)=>t.some(t=>t instanceof RegExp?t.test(e):t===e),o=new Set(["https:","http:","file:"]),a=e=>{const t=e.indexOf(":");if(t<=0)return!1;const n=e.substring(0,t+1);return!!/^[a-zA-Z][a-zA-Z0-9+\-.]*:$/.test(n)&&(n.endsWith(":")&&!n.includes(".")&&!o.has(n))};function i(e,t){if(t={defaultProtocol:"http",normalizeProtocol:!0,forceHttp:!1,forceHttps:!1,stripAuthentication:!0,stripHash:!1,stripTextFragment:!0,stripWWW:!0,removeQueryParameters:[/^utm_\w+/i],removeTrailingSlash:!0,removeSingleSlash:!0,removeDirectoryIndex:!1,removeExplicitPort:!1,sortQueryParameters:!0,...t},!e)return"";if(s(e)&&(e=c(e)),"string"!==typeof t.defaultProtocol||t.defaultProtocol.endsWith(":")||(t.defaultProtocol=`${t.defaultProtocol}:`),e=e.trim(),/^data:/i.test(e)||a(e))return e;const n=e.startsWith("//"),o=!n&&/^\.*\//.test(e);let i,l;try{i=o?new URL(e,"undefined"!==typeof document?document.baseURI:"http://localhost/").toString():e}catch{i=e}try{l=new URL(i)}catch{const t=document.createElement("a");t.href=e,l=new URL(t.href)}if(t.forceHttp&&t.forceHttps)throw new Error("The `forceHttp` and `forceHttps` options cannot be used together");if(t.forceHttp&&"https:"===l.protocol&&(l.protocol="http:"),t.forceHttps&&"http:"===l.protocol&&(l.protocol="https:"),t.stripAuthentication&&(l.username="",l.password=""),t.stripHash?l.hash="":t.stripTextFragment&&(l.hash=l.hash.replace(/#?:~:text.*?$/i,"")),l.pathname){const e=/\b[a-z][a-z\d+\-.]{1,50}:\/\//g;let t=0,n="";for(;;){const r=e.exec(l.pathname);if(!r)break;const o=r.index;n+=l.pathname.slice(t,o).replace(/\/{2,}/g,"/"),n+=r[0],t=o+r[0].length}n+=l.pathname.slice(t).replace(/\/{2,}/g,"/"),l.pathname=n;try{l.pathname=decodeURI(l.pathname)}catch{}}if(t.removeDirectoryIndex){let e=l.pathname.split("/");const n=e[e.length-1];Array.isArray(t.removeDirectoryIndex)&&r(n,t.removeDirectoryIndex)&&(e=e.slice(0,-1),l.pathname=e.join("/")+"/")}if(t.stripWWW&&/^www\.(?!www\.)[a-z\d\-]+(\.[a-z.\-]{2,63})+$/.test(l.hostname||"")&&(l.hostname=l.hostname.replace(/^www\./,"")),Array.isArray(t.removeQueryParameters))for(const a of[...l.searchParams.keys()])r(a,t.removeQueryParameters)&&l.searchParams.delete(a);if(t.sortQueryParameters){l.searchParams.sort();try{l.search=decodeURIComponent(l.search)}catch{}}t.removeTrailingSlash&&(l.pathname=l.pathname.replace(/\/$/,"")),t.removeExplicitPort&&l.port&&(l.port="");let d=l.toString();return t.removeSingleSlash||"/"!==l.pathname||e.endsWith("/")||""!==l.hash||(d=d.replace(/\/$/,"")),(t.removeTrailingSlash||"/"===l.pathname)&&""===l.hash&&t.removeSingleSlash&&(d=d.replace(/\/$/,"")),n&&!t.normalizeProtocol&&(d=d.replace(/^https?:\/\//,"//")),d}function s(e){if(!e)return!1;const t=e[0];return e.startsWith("/")||e.startsWith("./")||e.startsWith("../")||function(e){const t=e.charCodeAt(0);return t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122}(t)}function c(e){if(e.startsWith("http://")||e.startsWith("https://")||e.startsWith("//")||!s(e)||/^(mailto:|tel:|fax:|sms:|geo:|blob:|data:|javascript:)/i.test(e))return e;if(e.startsWith("/"))return window.location.origin+e;const t=window.location.href,n=t.lastIndexOf("/");return(-1!==n?t.slice(0,n+1):t+"/")+e}},57549:(e,t,n)=>{n.d(t,{Fc:()=>Y.A,qw:()=>s.A,eu:()=>T,Qp:()=>$.A,$n:()=>c.A,Zp:()=>O.A,FN:()=>ne.A,vx:()=>u.A,Xl:()=>B.X,Sc:()=>f.A,fv:()=>X.A,tL:()=>me.t,it:()=>me.A,Mw:()=>D.A,LW:()=>pe.A,lr:()=>h.A,cG:()=>J.A,FQ:()=>he.A,ms:()=>U.A,HQ:()=>l.A,Sv:()=>P.Ay,so:()=>ee.A,lV:()=>d.A,BK:()=>ye.A,Qx:()=>Ce.A,Qm:()=>Se.A,Ok:()=>we.Ok,sQ:()=>we.sQ,nD:()=>we.nD,eZ:()=>we.eZ,vp:()=>we.vp,mw:()=>we.mw,v6:()=>we.v6,L1:()=>we.L1,y9:()=>we.y9,n6:()=>we.n6,Pr:()=>we.Pr,H6:()=>we.H6,VX:()=>ve.A,_V:()=>x.A,pd:()=>m.A,YI:()=>p.A,$k:()=>ue.A,CN:()=>I.C,Layout:()=>te.A,xl:()=>fe.A,N_:()=>re.A,B8:()=>I.A,W1:()=>q.A,aF:()=>Z.A,dK:()=>F.dK,T8:()=>ge.A,fz:()=>oe.A,_2:()=>b.A,iS:()=>W.A,sx:()=>C.A,XD:()=>be.A,Q7:()=>M.A,fI:()=>Q.A,DO:()=>g.A,$q:()=>z.A,Select:()=>v.A,EA:()=>j.A,$x:()=>G.A,tK:()=>V.A,N7:()=>o.StyleProvider,dO:()=>y.A,bs:()=>F.bs,zj:()=>F.zj,XI:()=>F.Ay,tU:()=>H.A,vw:()=>B.A,EY:()=>ae.A,fs:()=>w.A,NP:()=>r.Ay,hE:()=>ie.A,m_:()=>K.A,Typography:()=>se.A,Upload:()=>S.A,ti:()=>i.default,Aj:()=>a.A,tS:()=>r.tS,tN:()=>r.tN,rd:()=>r.rd});var r=n(43167),o=n(4950),a=n(4964),i=n(81045),s=n(13419),c=n(6426),l=n(47207),d=(n(97297),n(16633)),u=(n(6619),n(36486)),f=n(27699),h=(n(89197),n(72629)),m=n(17142),p=n(61503),g=n(84631),b=n(51913),w=(n(13724),n(67393)),v=n(3327),y=n(48077),C=n(41408),S=n(40852),E=n(1936),A=n(30290),_=n(6056),k=n.n(_);n(46177),n(78892);const N=({children:e,padding:t,className:n,...r})=>E.createElement("div",Object.assign({className:k()("avatar-actions",{"avatar-actions--padding":t},n)},r),e);N.displayName="AvatarActions";const L=E.forwardRef(({selected:e,className:t,...n},r)=>E.createElement(A.A,Object.assign({ref:r,className:k()({"avatar--selected":e},t)},n)));L.displayName="Avatar";const R=L;R.Group=A.A.Group;const T=R;n(89294);var O=n(26395),D=(n(32751),n(83675)),P=n(79431),x=n(84412),I=n(17280),M=n(54124),j=n(32632),F=n(36725),B=n(76626),$=n(3690),U=n(35259),q=(n(21414),n(9612)),z=n(24503),H=n(70626),Y=n(46007),Z=n(33836),W=n(8461),V=(n(54961),n(64668)),K=n(73974),G=n(85537),Q=n(77595),X=n(88145),J=n(92611),ee=n(93944),te=n(129),ne=n(76387),re=n(49514),oe=n(72838),ae=n(46338),ie=n(22641),se=n(31492),ce=n(93974);const le=["SliderGroup","SliderTemplates","SliderBlocks","SliderAdaptive","SliderMagic"],de=(0,E.forwardRef)(({data:e=[],sliderStyle:t,customDots:n=!1,...r},o)=>{const a=(0,E.useRef)(null);return E.createElement(E.Fragment,null,E.createElement(ce.A,{items:le,onChange:e=>{var t;return null===(t=a.current)||void 0===t?void 0:t.goTo(e)}}),E.createElement(ne.A,Object.assign({data:e,carouselRef:a,dots:!1,header:!0},r)))});de.displayName="CustomCarousel";var ue=n(21419),fe=n(42245),he=n(27496),me=n(13763),pe=n(37266),ge=n(43477),be=n(1756),we=n(66017),ve=n(33367),ye=n(44423),Ce=n(19844),Se=n(78395);n(47588)},2783:(e,t,n)=>{n.r(t),n.d(t,{FileManagerApiError:()=>r});class r extends Error{constructor(e,t,n,o){super(e),this.code=void 0,this.httpStatus=void 0,this.details=void 0,this.name="FileManagerApiError",this.code=t,this.httpStatus=n,this.details=o,Error.captureStackTrace&&Error.captureStackTrace(this,r)}}},36234:(e,t,n)=>{n.d(t,{D3:()=>u,RS:()=>d});var r=n(69962),o=n(1936),a=n(40713),i=n(99182),s=n(83111),c=n(38615);const l=(0,a.Q)();function d(e,t,n){e instanceof c.m||(e=(0,s.My)(e));e.getOrCreateInstance(l,()=>new i.v).fire({id:t,payload:n})}const u=(e,t)=>{const n=function(e){return(0,s.My)(e).getOrCreateInstance(l,()=>new i.v).addEventListener}((0,r.Pj)());(0,o.useEffect)(()=>{const r=n(({id:n,payload:r})=>{n===e&&t(r)});return()=>r.dispose()},[n,e,t])}},65185:(e,t,n)=>{n.d(t,{Zc:()=>d,_q:()=>u,cZ:()=>c,dB:()=>l,ml:()=>f});var r=n(69962),o=n(40713),a=n(83111),i=n(59059),s=n(1936);function c(e){return(0,o.Q)(e)}function l(e,t){return(0,a.My)(e).getOrCreateInstance(t,()=>new i.lt)}function d(e,t){return(0,a.My)(e).getOrCreateInstance(t,()=>new i.lt).event}function u(e){return f(e).event}function f(e){const t=(0,r.Pj)();return(0,s.useMemo)(()=>l(t,e),[t,e])}},11822:(e,t,n)=>{n.d(t,{qy:()=>D,An:()=>R,T5:()=>z,pH:()=>E,Ay:()=>_,$l:()=>A,SR:()=>$,hs:()=>B,Ce:()=>F,gZ:()=>U,CM:()=>L,PJ:()=>x,bc:()=>O});var r=n(15938),o=n.n(r),a=n(30338),i=n(15301),s=n(1331),c=n(51121),l=n(28589);const d=Symbol("Error");function u(e){return Promise.all(e.map(e=>e instanceof Promise?e.catch(e=>d):e)).then(e=>e.filter(e=>e!==d))}var f=n(4889),h=n(61578),m=n(45386),p=n(22148),g=n(11628);class b extends h.j{constructor(e){super(),this._commitPromise=void 0,this._mutationCollector=void 0,this._onLostSummaries=e=>{try{this._mutationCollector.stop(),(0,p.f)(e)}finally{this._mutationCollector.start()}},this._mutationCollector=this.addDisposable(new m.R({rootNode:e,oldPreviousSibling:!0})),this._mutationCollector.onLost(this._onLostSummaries)}commit(){if(this._commitPromise)return this._commitPromise;{const e=()=>new Promise(e=>{const t=this._mutationCollector.onMutate(n=>{this._commitPromise=void 0,e(),t.dispose()});(0,g.A)(()=>{this._commitPromise=void 0,e(),t.dispose()})});return this._commitPromise=e().catch(e=>{})}}}var w=n(59059);function v(e,t){const n=new w.lt,r=new w.lt;try{const o=(0,c.$$)(e),a=document.implementation.createHTMLDocument();return(0,s.d1)(a,o),{document:a,handleRender:r.event,handleReadHtml:n.event,async run(){if(r.hasListeners()){const o=document.createElement("iframe");o.style.position="absolute",o.style.left="-10000px",document.body.appendChild(o);const i=o.contentWindow.document,c=new b(o.contentDocument);try{if(t){const[e,n]=t;void 0!==e&&o.setAttribute("width",String(e)),void 0!==n&&o.setAttribute("height",String(n))}(0,s.d1)(i,[...a.childNodes]),c.commit()}catch(e){throw e}finally{try{try{await r.fire({managedNodeController:c,contentDocument:i})}catch(e){}const t={contentDocument:i,html:(0,s.b6)(i)};try{await n.fire(t)}finally{return t.html}}finally{o.parentNode===document.body&&document.body.removeChild(o)}}}else{const e={contentDocument:a,html:(0,s.b6)(a)};try{await n.fire(e)}finally{return e.html}}}}}catch(o){throw o}}const y=/url(?:\((['|"]?))(.*?\.(png|jpg|gif|jpeg|tiff){1})(?:['|"]?\))/gi,C="data:message/rfc822 eml,";function S(e){return e.replaceAll(/[\\\/:*?"<>|]/g,"_")}async function E(e,t,n,r,o){const a={Subject:e,"X-Unsent":1,"Content-Type":"function"===typeof o?"text/html;charset=utf-8":'multipart/alternative; boundary="boundary-string"'};return`${Object.keys(a).reduce((e,t)=>`${e}${t}:${a[t]}\n`,C)}\n${"function"===typeof o?await I(t,n,r,o):(await u(Object.keys(o).map(async e=>`\n--boundary-string\nContent-Type: ${e}\n\n${await I(t,n,r,o[e])}\n\n\n`))).join("")+"----boundary_string--"}`}function A(e,t=!0){const n=e.replace("\\","/").split("/"),r=n[n.length-1];return t?S(r):r}function _(e){const t=e.replace("\\","/").split("/"),n=t[t.length-1],r=n.lastIndexOf("."),o=n.slice(r+1);return-1!==r&&function(e){return!(e.length>8||e.length<1)&&!/[^\x00-\x7F]/.test(e)&&!/[\\\/:*?"<>|&=%]/.test(e)&&!!/[a-zA-Z]/.test(e)&&!/^\d+$/.test(e)}(o)?[S(n.slice(0,r)),o]:[S(n),""]}function k(e){return $(e).then(e=>U(e))}function N(e){return e.replace("<script","<___script").replace("<\/script>","</___script>")}const L=new i.uI(e=>{e.escape("<script","<\/script>",e=>N(e)).unescape("<___script","</___script>",e=>e.replace("<___script","<script").replace("</___script>","<\/script>")),e.escape("<script","/>",e=>N(e)).unescape("<___script","/>",e=>e.replace("<___script","<script")),(0,i.Hk)(e)});async function R(e,t,n){const r=v(e=L.getEscapedText(e),n);try{const n=r.document,a=n.querySelectorAll("tbody");for(const e of a)e.replaceWith(...e.childNodes);n.querySelectorAll("em-replace").forEach(e=>{if(e.hasAttribute("text")&&(e.insertAdjacentHTML("beforebegin",e.getAttribute("text")),e.parentNode.removeChild(e)),e.hasAttribute("src")){const t=e.querySelector("img");t.setAttribute("src",e.getAttribute("src")),e.replaceWith(t)}});try{await t(r,e)}catch(o){}e=await r.run()}catch(o){throw o}return L.getUnescapedText(e)}function T(e,t,n){try{if("function"===typeof n){const r=[];return String.prototype.replace.call(e,t,function(){return r.push(n.apply(void 0,arguments)),""}),u(r).then(function(n){return String.prototype.replace.call(e,t,function(){return n.shift()})})}return Promise.resolve(String.prototype.replace.call(e,t,n))}catch(r){return Promise.reject(r)}}async function O(e,t,n=new Map,r){await async function(e,t,n=new Map,r){const o=e=>{let r=n.get(e);return r||(r=t(e),n.set(e,r)),r instanceof Promise?r:Promise.resolve(r)};function a(e){return T(e,y,async(e,t="",n)=>`url(${t}${await o(n)}${t})`)}async function i(e){const t=e.getAttribute("style");if(t){const n=await a(t);t!==n&&(e.setAttribute("style",n),r&&r())}}const l=document.createNodeIterator(e,NodeFilter.SHOW_ALL),d=[];for(;;){const e=l.nextNode();if(null===e)break;if((0,s.vq)(e)){d.push(i(e));const t=e.getAttribute("background");if(t&&d.push(o(t).then(n=>{e.setAttribute("background",n||t),r&&r()})),(0,s.A6)(e)||(0,s.M6)(e)){const t=e.getAttribute("src"),n=t&&L.hasDetectedMappings(t,!0,!0)?t:("src"in e?e.src:"")||t;n&&d.push(o(n).then(t=>{t||(t=n),e.setAttribute("src",t),r&&r()}))}if((0,s.ST)(e)){const t=e.innerHTML;t&&d.push(a(t).then(n=>{n!==t&&(e.innerHTML=n,r&&r())}))}}else if((0,s.Cn)(e)){const t=(0,s.ih)(e),n=null===t||void 0===t?void 0:t.content;n&&d.push(T(n,/<v:fill.*>/gi,async e=>{const t=await T(e,/src="([^"]*)"/gi,async(e,t)=>`src="${await o(t)||t}"`);return T(t,/src='([^']*)'/gi,async(e,t)=>`src='${await o(t)||t}'`)}).then(o=>{n!==o&&(e.replaceWith((0,c.$$)(`${t.open}${o}${t.close}`)[0]),r&&r())}))}}return u(d)}(e,t,n,r)}const D=800;function P(e,t,n){let r=e.href;if(r=(0,f.o)(r),r&&e.protocol.startsWith("http")){const o=function(e){const t=new Map;let n=0;for(;n>=0;)if(n=e.indexOf("\x3c!--",n),n>=0){const r=e.indexOf("--\x3e",n);t.set(e.substring(n,r+3),(0,l.l)()),n=r}return t}(r);o.forEach((e,t)=>{r=r.replaceAll(t,e)});const a=r.indexOf("#");let i=a>=0?r.substring(0,a):r;const s=a>=0?r.substring(a+1):"",c=r.indexOf("?"),d=c>=0?i.substring(c+1):"";if(i=c>=0?i.substring(0,c):i,e.host!==document.location.host){const a=new Map(d.split("&").filter(e=>e.indexOf("=")>=0).map(e=>e.split("=")));let c=d;if(t){const e=Object.keys(t);for(const n of e)t[n]&&!a.has(n)&&(c=c+(c?"&":"")+`${n}=${t[n]}`)}c!==d&&(r=i+(c?`?${c}`:"")+(s?`#${s}`:""),o.forEach((e,t)=>{r=r.replaceAll(e,t)}),e.setAttribute("href",r),n&&n())}}}async function x(e,t,n,r){let[o,a]=t||[D];return"number"===typeof o&&(o+="px"),"number"===typeof a&&(a+="px"),e=await R(e,async e=>{const t=e.document;await O(t,e=>L.getEscapedText(e)!==e?e:(0,f.o)(e));const o=t.querySelectorAll("a");for(const r of o)P(r,n);if(r)return r(e)},[o,a])}async function I(e,t,n,r){let[o,a]=t||[D];return"number"===typeof o&&(o+="px"),"number"===typeof a&&(a+="px"),e=(e=await R(e,async e=>{const t=e.document;if(await O(t,e=>L.getEscapedText(e)!==e?e:(0,f.o)(e)),e.handleRender(async({contentDocument:e,managedNodeController:t})=>{const r=e.querySelectorAll("*");for(const o of r)if((0,s.A6)(o)){const e=await(0,s.rq)(o);if(e){const t=parseInt(e.height),n=parseInt(e.width);isNaN(t)||o.setAttribute("height",String(t)),isNaN(n)||o.getAttribute("width")||o.setAttribute("width",String(n))}t.commit()}else if((0,s.Lv)(o)){const e=parseInt(getComputedStyle(o).width);isNaN(e)||"BODY"===o.parentElement.tagName||o.setAttribute("width",String(e)),t.commit()}else"TD"===o.tagName||"A"===o.tagName&&P(o,n,()=>t.commit())}),r)return r(e)},[o,a])).replaceAll(/<tbody>/gi,"").replaceAll(/<\/tbody>/gi,"")}const M="images",j=40;async function F(e,t,n,r=k,o){const i=Object.create(null);let[s,c]=t||[D];"number"===typeof s&&(s+="px"),"number"===typeof c&&(c+="px");const l=new Set,d=await R(e,async e=>{const t=e.document;await O(t,async e=>{L.getEscapedText(e)===e&&(e=(0,f.o)(e));const t=await r(e);let[n,o]=_(e);if(n.length>j&&(n=function(){const e=new Date;return`${e.toISOString().slice(2,10).replace(/-/g,"").concat("_",e.toTimeString().slice(0,5).replace(/:/g,""))}_${Array.from({length:8},()=>"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".charAt(Math.floor(62*Math.random()))).join("")}`}()),!o||!a.A.getType(o))try{o=a.A.getExtension(t.type)}catch(u){}let s=`${n}.${o}`,c=1;for(;l.has(s);)s=`${n}(${++c}).${o}`;l.add(s);const d=`${M}/${s}`;return i[d]=t,d});const s=t.querySelectorAll("a");for(const r of s)P(r,n);if(o)return o(e)},[s,c]);return i["index.html"]=new Blob([d],{type:"text/html;charset=utf-8"}),i}function B(e){const t=new(o());for(const n of Object.keys(e)){let r=t;const o=n.split("/"),a=o.length-1;for(let e=0;e<a;e++)r=t.folder(o[e]);r.file(o[a],e[n])}return t.generateAsync({type:"blob",compression:"DEFLATE"})}function $(e){const t=new Image;return t.crossOrigin="anonymous",new Promise((n,r)=>{t.onload=()=>n(t),t.onerror=r,t.src=e})}function U(e,t="image/png",n){const r=document.createElement("canvas");r.width=e.width,r.height=e.height;return r.getContext("2d").drawImage(e,0,0),new Promise((e,o)=>r.toBlob(t=>t?e(t):o("blob is null"),t,Number(n)||0))}function q(e){var t;const n=null===(t=e.ownerDocument)||void 0===t?void 0:t.body;if(n&&function(e,t){do{if(e===t)return!0;e=e.parentNode}while(e);return!1}(e,n)){if((0,s.vq)(e)){if("IMG"===e.tagName)return"";if("SPAN"===e.tagName&&e.classList.contains("preheader"))return""}if("#text"===e.nodeName)return e.textContent}return e.childNodes?[...e.childNodes].map(q).join(""):""}function z(e){const t=v(e),{document:n}=t;try{return q(n).replace(/\u2800/g,"").replace(/(\r\n|\r|\n){2,}/g,"\n").trim()}catch(r){return""}}},7314:(e,t,n)=>{n.d(t,{kx:()=>u,$Z:()=>b,Xb:()=>f,VA:()=>p,fn:()=>w,aD:()=>g,TW:()=>h});var r=n(94994),o=n(1936),a=n(29461),i=n(30831),s=n(48349),c=n(80681);function l(e,t,n,r){return e.createModel(t,n,r)}function d(e,t,n){const r=i.QE.get(c.L),o=r.getLanguageIdByMimeType(t)||t;return function(e,t,n,r,o){if(n=n||"",!r){const r=n.indexOf("\n");let a=n;return-1!==r&&(a=n.substring(0,r)),l(e,n,t.createByFilepathOrFirstLine(o||null,a),o)}return l(e,n,t.createById(r),o)}(i.QE.get(s.S),r,e,o,n)}const u=(0,o.createContext)(null);function f(){(0,r.OI)()._updateThemeOrColorMap()}function h(e){const t=(0,r.yc)(),[n,a]=(0,o.useState)({canUndo:t.canUndo(e.uri),canRedo:t.canRedo(e.uri)});return(0,o.useEffect)(()=>{const n=e.onDidChangeContent(()=>{setTimeout(()=>a({canUndo:t.canUndo(e.uri),canRedo:t.canRedo(e.uri)}))});return()=>{n.dispose()}},[e,t]),n}function m(e){var t;const n=(null===e||void 0===e||null===(t=e.actual)||void 0===t?void 0:t._data)||new a.Ov;return n instanceof a.Ov?n:a.Ov.deserialize(n)}function p(e){const t=(0,r.yc)();return{undo:()=>t.undo(e.uri),redo:()=>t.redo(e.uri),clear:()=>t.removeElements(e.uri),getPast:()=>{var n,r;return(null===(n=t._editStacks.get(e.uri.toString()))||void 0===n||null===(r=n._past)||void 0===r?void 0:r.map(m))||[]},getFuture:()=>{var n,r;return(null===(n=t._editStacks.get(e.uri.toString()))||void 0===n||null===(r=n._future)||void 0===r?void 0:r.map(m))||[]},canUndo:()=>t.canUndo(e.uri),canRedo:()=>t.canRedo(e.uri),createSnapshot:()=>t.createSnapshot(e.uri),restoreSnapshot:e=>t.restoreSnapshot(e)}}function g(e){return(0,o.useMemo)(()=>p(e),[e])}function b(e=""){const t=d(e,"text");return t.setEOL(0),t}function w(){return(0,o.useContext)(u)}},4889:(e,t,n)=>{n.d(t,{o:()=>r.oK});var r=n(86080)},85986:(e,t,n)=>{n.d(t,{A:()=>E});var r=n(1936),o=n(57549),a=n(96040),i=n(68876),s=n(69962),c=n(84075),l=n(47706),d=n(487),u=n(89591),f=n(45988),h=n(68069),m=n(52898),p=n(41244),g=n(11157),b=(n(69480),n(22817));const{name:w,type:v,tags:y,group:C}={name:"name",type:"type",tags:"tags",group:"group"},S={[w]:"",[v]:[],[y]:[],[C]:[]},E=({isBlocks:e=!1,templateEmailId:t=!1,showBlockTypeSelect:n=!0})=>{const{__:E}=(0,l.s9)(),{projectId:A}=(0,c.g)(),[_]=o.lV.useForm(),{data:k}=(0,f.h1)(),N=(0,s.wA)(),L=(0,s.d4)(h.b9),R=(0,s.d4)(m.CT),T=(0,s.d4)(b.GD),{token:O}=(0,o.rd)(),D=(0,i.rD)(),P=(0,s.Pj)(),x=e?L:R,{isSuccess:I,data:M}=d.Nq.endpoints.getProject.select(+A)(P.getState(),{skip:t}),{isSuccess:j,data:F}=(0,u.sl)(+t,{skip:!t}),B=(0,r.useCallback)(()=>{N(e?(0,h.om)({}):(0,m.om)({}))},[N,e]);(0,r.useEffect)(()=>{B()},[B]),(0,r.useEffect)(()=>{},[j,F,t]),(0,r.useEffect)(()=>{},[I,M,e,t]);const[$,U]=(0,r.useState)([]);let q;(0,r.useEffect)(()=>{if(k){const e=k.schema.properties.acf.properties.type.items.enum;let t=[];for(let n in e)t.push({label:E(g.jg[e[n]]),value:e[n]});U(t)}},[k,E]);const[z,H]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{const n=t?j&&(0,p._q)(F,g.zh).filter(e=>{var t;return null===x||void 0===x||null===(t=x.tags)||void 0===t?void 0:t.includes(e.id)}).map(e=>e.name)||[]:I&&(0,p._q)(M,e?g.YY:g.zh).filter(e=>{var t;return null===x||void 0===x||null===(t=x.tags)||void 0===t?void 0:t.includes(e.id)}).map(e=>e.name)||[];_.setFieldsValue({tags:n})},[I,x,e,_,M,j,F,t]),(0,r.useEffect)(()=>{_.setFieldsValue({group:T})},[_,T]),r.createElement("div",{className:"cards-search"},r.createElement(o.lV,{form:_,name:"cards_search_form",initialValues:{...S},onValuesChange:n=>{const r=Object.keys(n)[0],o=_.getFieldsValue(!0);switch(r){case y:const a=t?(0,p._q)(F,g.zh).filter(e=>n[r].includes(e.name)).map(e=>e.id)||null:(0,p._q)(M,e?g.YY:g.zh).filter(e=>n[r].includes(e.name)).map(e=>e.id)||null;N(e?(0,h.om)({...x,tags:a}):(0,m.om)({...x,tags:a}));break;case v:N(e?(0,h.om)({...x,type:o.type||null}):(0,m.om)({...x,type:o.type||null}));break;case w:q&&window.clearTimeout(q),q=window.setTimeout(function(){N(e?(0,h.om)({...x,name:o.name}):(0,m.om)({...x,name:o.name}))},100);break;case C:N(e?(0,h.om)({...x,group:o.group||null}):(0,m.om)({...x,group:o.group||null}))}},autoComplete:"off"},r.createElement(o.fI,{wrap:!1,gutter:0},r.createElement(o.lV.Item,{className:"cards-search__by-title",name:w},r.createElement(o.pd,{placeholder:E("Search by title"),allowClear:!0,variant:"outlined",size:"large",prefix:r.createElement(a.Ay,{icon:"SearchSmIcon",size:22,strokeWidth:null===D||void 0===D?void 0:D.iconStrokeWidth,className:"cards-search__search-icon",style:{cursor:"pointer"}})})),e&&n&&r.createElement(o.lV.Item,{className:"cards-search__type-select",name:v,rules:[{message:E("Please choose the block type")}]},r.createElement(o.Select,{placeholder:E("Filter by type"),options:$,suffixIcon:r.createElement(a.Ay,{icon:"BuildOutlined",style:{fontSize:"16px",color:O.colorText},onClick:()=>H(!z),className:"input-icon"}),allowClear:!0,open:z,onDropdownVisibleChange:e=>{H(e)}})))))}},9950:(e,t,n)=>{n.d(t,{rG:()=>i.rG,pw:()=>r.p,Xl:()=>o.X,QO:()=>c.Q,OY:()=>l.O,gM:()=>s.gM,Si:()=>a.Si,hO:()=>a.hO});n(1936),n(47706),n(93953);n(62669),n(96040),n(6056),n(63078);n(85660);var r=n(10641),o=(n(88745),n(54729)),a=n(50003),i=n(46018),s=n(77695),c=n(31206),l=n(24808)},93953:(e,t,n)=>{n.d(t,{XL:()=>o,h2:()=>r,w6:()=>s});const r={MONTHLY:"Monthly",EARLY:"Early"},o={CLOUDPAYMENT:"cloudpayment",STRIPE:"stripe"},a={FREE:3891,PERSONAL:{MONTHLY:13719,YEARLY:13720},STANDARD:{MONTHLY:3892,YEARLY:5295},PROFESSIONAL:{MONTHLY:3893,YEARLY:5294},ENTERPRISE:{MONTHLY:3894,YEARLY:5296}},i={FREE:3891,PERSONAL:{MONTHLY:4965,YEARLY:4966},ADVANCED:{MONTHLY:3892,YEARLY:4953},PRO:{MONTHLY:3893,YEARLY:4952},ENTERPRISE:{MONTHLY:3894,YEARLY:4954}},s=(o.CLOUDPAYMENT,o.STRIPE,(e,t)=>{const n=t===r.MONTHLY;return e===o.CLOUDPAYMENT?[a.FREE,n?a.PERSONAL.MONTHLY:a.PERSONAL.YEARLY,n?a.STANDARD.MONTHLY:a.STANDARD.YEARLY,n?a.PROFESSIONAL.MONTHLY:a.PROFESSIONAL.YEARLY,n?a.ENTERPRISE.MONTHLY:a.ENTERPRISE.YEARLY]:e===o.STRIPE?[i.FREE,n?i.PERSONAL.MONTHLY:i.PERSONAL.YEARLY,n?i.ADVANCED.MONTHLY:i.ADVANCED.YEARLY,n?i.PRO.MONTHLY:i.PRO.YEARLY,n?i.ENTERPRISE.MONTHLY:i.ENTERPRISE.YEARLY]:[]})},63078:(e,t,n)=>{var r=n(51826);r.w.projects,r.w.emails,r.w.blocks,r.w.users,r.w.ai,r.w.email_generate,r.w.image_generate,r.w.preview,r.w.link_check,r.w.image_check,r.w.spam_check,r.w.preview,r.w.image_generate,r.w.email_generate},16400:(e,t,n)=>{n.d(t,{mr:()=>o});const r={ai:[{units:100,priceRub:990},{units:500,priceRub:3990},{units:1e3,priceRub:6990}],email_generate:[{units:50,priceRub:490},{units:200,priceRub:1490}],image_generate:[{units:50,priceRub:490},{units:200,priceRub:1490}],optimization:[{units:50,priceRub:490},{units:200,priceRub:1490}],preview:[{units:50,priceRub:290},{units:200,priceRub:990}],link_check:[{units:100,priceRub:290},{units:500,priceRub:990}],image_check:[{units:100,priceRub:290},{units:500,priceRub:990}],spam_check:[{units:50,priceRub:390},{units:200,priceRub:1190}],users:[],emails:[],blocks:[],projects:[]};function o(e){if(null==e)return[];switch(e){case"ai":return r.ai;case"email_generate":return r.email_generate;case"image_generate":return r.image_generate;case"optimization":return r.optimization;case"preview":return r.preview;case"link_check":return r.link_check;case"image_check":return r.image_check;case"spam_check":return r.spam_check;case"users":case"emails":case"blocks":case"projects":return[];default:return e}}},22884:(e,t,n)=>{n.d(t,{U:()=>f});var r=n(1936),o=n(61518),a=n(91480),i=n(51432),s=n(2527),c=n(11157),l=n(93953),d=n(39601),u=n(85660);const f=e=>{const{currentUser:t,payPeriod:n,promoData:f,onPaymentStart:h,onPaymentSuccess:m}=e,p="cloudpayment",[g,b]=(0,o.O)(),[w]=(0,i.on)(),v=(0,a.u)(),y=(0,s.p)(),C=b.isLoading||b.isSuccess;(0,r.useEffect)(()=>{if(p===l.XL.CLOUDPAYMENT){const e=document.createElement("script");e.src="https://widget.cloudpayments.ru/bundles/cloudpayments.js",e.async=!0,document.body.appendChild(e)}},[p]);const S=(0,r.useCallback)((e,r,o,a)=>{const i=y.get(c.A9.em_token),s=new window.cp.CloudPayments,d={},h=new Date;h.setMonth(h.getMonth()+(n===l.h2.EARLY?12:1)),h.setDate(h.getDate()-1);const p=(0,u.BS)(),g=n===l.h2.EARLY?` (${o}${p} x 12)`:"",b=f.promocode?` with promo code ${f.promocode}`:"",C=`Payment for ${n===l.h2.EARLY?"annual":"monthly"} subscription ${r}${g}${b}`,S=n===l.h2.EARLY?12*o:+o,E=(0,u.w_)(S,f.discount,a),A={Items:[{label:C,price:S,quantity:1,amount:E,vat:0}],calculationPlace:"https://emailmaker.ru",taxationSystem:1,email:t.email,amounts:{electronic:E}},_={Items:[{label:C,price:S,quantity:1,amount:S,vat:0}],calculationPlace:"https://emailmaker.ru",taxationSystem:1,email:t.email,amounts:{electronic:S}},k={interval:"Month",period:n===l.h2.EARLY?12:1,customerReceipt:_,PersonalDate:h},N={...A,Items:[{...A.Items[0],amount:S}],amounts:{electronic:S}};d.CloudPayments={CustomerReceipt:N,recurrent:k,subscription:e,token:i,promocode:f.promocode||""},s.pay("charge",{publicId:"pk_e8c7c303759283dc35cf4ad7b396c",description:C,amount:E,currency:(0,u.Wk)(),accountId:t.email,email:t.email,data:d,promocode:f.promocode||null},{onSuccess:function(){},onFail:function(){},onComplete:function(e){e.success&&setTimeout(()=>{w(void 0).then(e=>{v({event:"payment",action:"payment_success",data:e.data})}),null===m||void 0===m||m();try{window.dispatchEvent(new CustomEvent("em-billing-plan-payment-success"))}catch{}},3e3)}})},[t,n,f,y,w,v,m]),E=(0,r.useCallback)((e,r)=>{const o=y.get(c.A9.em_token),a={email:t.email,subscription:e,price:+r,amount:n===l.h2.EARLY?12*r:+r,token:o,discount:f.discount};g(JSON.stringify(a)).then(e=>{var t,n;if(200===(null===e||void 0===e||null===(t=e.data)||void 0===t||null===(n=t.data)||void 0===n?void 0:n.status)){try{sessionStorage.setItem(d.rn,"1")}catch{}window.location.href=e.data.checkout_url}else e.error})},[t,n,f,y,g]),A=(0,r.useCallback)((e,t,n,r,o,a,i)=>{null===h||void 0===h||h(e);(0,u.i5)(t,r,o,f,a)?p===l.XL.CLOUDPAYMENT?S(e,t,n,a):p===l.XL.STRIPE&&E(e,n):i()},[p,S,E,h,f]),_=(0,r.useCallback)((e,t,n,r,o,a)=>!!(0,u.i5)(t,r,o,f,a)&&(p===l.XL.CLOUDPAYMENT?(S(e,t,n,a),!0):p===l.XL.STRIPE&&(E(e,n),!0)),[p,S,E,f]);return{gateway:p,initiatePayment:A,startPlanCardPayment:_,isPaymentLoading:C}}},92080:(e,t,n)=>{function r(e){if(!e||"string"!==typeof e)return"";const t=e.trim();if(/^\d{2}\.\d{2}\.\d{4}/.test(t))return t.slice(0,10);if(/^\d{4}-\d{2}-\d{2}/.test(t)){const[e,n,r]=t.slice(0,10).split("-");return`${r}.${n}.${e}`}return t}function o(e,t,n){const r=Math.floor(Math.max(0,e));return n(t("%d day","%d days",r),r)}function a(e){if(!e||"string"!==typeof e)return 0;const t=e.trim();let n;if(/^\d{4}-\d{2}-\d{2}/.test(t))n=new Date(t);else{const[e,r,o]=t.split(/[.\-/]/);n=e&&r&&o?new Date(Number(o),Number(r)-1,Number(e)):new Date(t)}if(Number.isNaN(n.getTime()))return 0;const r=new Date;r.setHours(0,0,0,0),n.setHours(0,0,0,0);const o=Math.ceil((n.getTime()-r.getTime())/864e5);return Math.max(0,o)}n.d(t,{Kh:()=>r,WU:()=>a,XQ:()=>o})},22422:(e,t,n)=>{function r(e){if(""===e||null===e||void 0===e)return 0;const t=Number(e);return Number.isNaN(t)?0:t}n.d(t,{o:()=>r})},85660:(e,t,n)=>{n.d(t,{BS:()=>a,EP:()=>o,Wk:()=>i,i5:()=>c,ku:()=>d,w_:()=>l});var r=n(11157);function o(){return"emailmaker"===r.oy}function a(){return o()?"$":"\u20bd"}function i(){return o()?"USD":"RUB"}function s(){return o()?"en-US":"ru-RU"}function c(e,t,n,r,o){const a=null!==n&&void 0!==n?n:"";return("Personal"===e||"Advanced"===e||"Pro"===e||t)&&("Community"===a||"Free"===a||r.is_for_hard_pay&&o)}new Set(["Free","Community","Personal"]);const l=(e,t,n)=>{if(!t||!n)return e;const r=e-e*t/100;return 10*Math.floor(r/10)};function d(e){return`${e.toLocaleString(s())} ${a()}`}},20587:(e,t,n)=>{n.d(t,{E:()=>i,I:()=>a});var r=n(47085),o=n(28589);function a({code:e,...t},n){var r,a;const i=n.getState();return{...t,...e?{html:e}:{},renderGuid:(0,o.l)(),project:null===(r=i.projectSlice)||void 0===r||null===(a=r.project)||void 0===a?void 0:a.id,utm_parameters:t.utm_parameters||{},_embedded:void 0}}function i({html:e,renderGuid:t,...n},o){const a=o.getState(),{project:i,config:s}=a.configSlice;return(0,r.TB)({...n,code:e,project:void 0===i?n.project:i,utm_parameters:s.UTMEnabled?n.utm_parameters:void 0,tags:void 0,template:void 0,guid:void 0,emailtags:void 0,project_title:void 0,project_author:void 0,is_template:void 0,is_inited:void 0})}},57296:(e,t,n)=>{n.r(t),n.d(t,{default:()=>gt});var r=n(77447),o=(n(59687),n(19141)),a=n(57549),i=n(1936),s=n(69962),c=n(51432);const l=({onLoad:e,children:t})=>{(0,i.useEffect)(()=>{e&&e()},[e]);const n=(0,s.wA)();return(0,i.useMemo)(()=>n(c.Q2.endpoints.getMe.initiate({})),[n]),t};var d=n(55054),u=n(84075),f=n(60915),h=n(41244),m=n(3875),p=n(19684),g=n(1331);const b={height:"100%",display:"flex",justifyContent:"center",alignItems:"center"},w=({children:e,handleBeforeRender:t})=>{const[n,r]=(0,i.useState)(),o=(0,m.ZU)(),c=(0,s.d4)(p.p5),l=(0,i.useRef)(!1),d=(0,m.cR)();return(0,i.useLayoutEffect)(()=>{l.current||(l.current=!0,t&&t())},[]),i.createElement(a.N7,{container:(0,g.Sb)(d)||document.head},i.createElement("div",{className:"App blocks-app blocks-plugin",style:o?{}:{visibility:"hidden"}},c&&i.createElement("style",{dangerouslySetInnerHTML:{__html:c}}),i.createElement(m.fh.Provider,{value:n},e),i.createElement("div",{ref:r,className:"blocks-modal-container"})),!o&&i.createElement(a.$x,{size:"large",style:b},i.createElement(a.tK,{size:"large"})))};var v=n(20263),y=n(70529),C=n(9478),S=n(79465),E=n(61140),A=n(83231),_=n(57097);var k=n(79613),N=n(65893),L=n(65185);var R=n(22162);var T=n(89660);var O=n(45988),D=n(49793);const P=(0,D.Qq)(),x=(0,D.Qq)(),I=(0,L.cZ)(),M=(0,L.cZ)();var j=n(89591),F=n(28589);function B(e,t){const n=`${e}\0${null!==t&&void 0!==t?t:""}`;let r=5381;for(let o=0;o<n.length;o++)r=Math.imul(r,33)+n.charCodeAt(o);return r>>>0||1}const $=(0,D.Qq)(),U=(0,D.Qq)();var q=n(27092);var z=n(44004);v.di.createIdentifier();var H=n(1327);var Y=n(64886),Z=n(50760),W=n(22403);function V(e,t){for(var n=e<0?"-":"",r=Math.abs(e).toString();r.length<t;)r="0"+r;return n+r}function K(e,t){var n,r;(0,W.A)(1,arguments);var o=function(e){(0,W.A)(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"===(0,Z.A)(e)&&"[object Date]"===t?new Date(e.getTime()):"number"===typeof e||"[object Number]"===t?new Date(e):new Date(NaN)}(e);if(isNaN(o.getTime()))throw new RangeError("Invalid time value");var a=String(null!==(n=null===t||void 0===t?void 0:t.format)&&void 0!==n?n:"extended"),i=String(null!==(r=null===t||void 0===t?void 0:t.representation)&&void 0!==r?r:"complete");if("extended"!==a&&"basic"!==a)throw new RangeError("format must be 'extended' or 'basic'");if("date"!==i&&"time"!==i&&"complete"!==i)throw new RangeError("representation must be 'date', 'time', or 'complete'");var s="",c="",l="extended"===a?"-":"",d="extended"===a?":":"";if("time"!==i){var u=V(o.getDate(),2),f=V(o.getMonth()+1,2),h=V(o.getFullYear(),4);s="".concat(h).concat(l).concat(f).concat(l).concat(u)}if("date"!==i){var m=o.getTimezoneOffset();if(0!==m){var p=Math.abs(m),g=V(Math.floor(p/60),2),b=V(p%60,2);c="".concat(m<0?"+":"-").concat(g,":").concat(b)}else c="Z";var w=""===s?"":"T",v=[V(o.getHours(),2),V(o.getMinutes(),2),V(o.getSeconds(),2)].join(d);s="".concat(s).concat(w).concat(v).concat(c)}return s}const G=(0,D.Qq)();var Q=n(487);var X=n(25413);var J=n(14154);var ee=n(91875);const te={addUserToProjectApiMock:function(e){(0,_.l)(e)(ee.B,{addUserToProject:()=>{}})},AiApiMock:function(e){(0,_.l)(e)(A.Zs,{sendMessage:({body:e})=>t=>t({body:e}).catch(()=>new Promise(e=>setTimeout(e,1e3))),getDialog:e=>t=>t(e)})},authorizationApiMock:function(e){let t={id:"0",username:"",email:"",password:"",code_editor:{},theme:"light",locale:(0,D.KA)(e).getState().userSlice.currentUser.locale,counters:{},avatar_urls:{},autosaves:!0};(0,_.l)(e)(c.Q2,{userRegistration:()=>{},getSchema:()=>e=>e({}),getMe:()=>t,editMe:e=>t={...t,...e},getSubscriptions:()=>[]})},blocksApiMock:function(e){const t=(0,_.l)(e),n=P(e),r=n.byForeignKey("project"),o=x(e),a=o.byForeignKey("parent"),{dispatch:i,getState:s}=(0,D.KA)(e),c=(0,D.PL)(e);c.addDisposable(n.onChange(()=>i(O.VM.util.invalidateTags(["Blocks"])))),c.addDisposable(n.onSave(({prev:e,patch:t,value:n})=>{(e=e?{...e,...t}:t)&&n.html===e.html&&n.title===e.title&&(n.renderGuid=e.renderGuid)},Number.MIN_VALUE));const l=(0,L.dB)(e,M),d=(0,L.dB)(e,I);t(O.VM,{async getBlocks(e){const t={};e.name&&(t.title=e.name),e.type&&(t.type=e.type);return await r.get(e.projectId,{filter:t,page:e.page,pageSize:e.pageSize,order:e.order,orderBy:e.orderby}).then(({data:e})=>e)},getBlocksSchema:()=>e=>e({}),getParentEmailBlocks:e=>async t=>{try{const t=s().configSlice.project||"",n=(await d.fire({project:t,emailId:e.emailId||""})).filter(e=>e);if(n.length)return n.flat()}catch(n){}return t(e)},getTemplateBlocks:e=>async t=>{try{const t=s().configSlice.project||"",n=(await l.fire({project:t,emailId:e.emailId||""})).filter(e=>e);if(n.length)return n.flat()}catch(n){}return t(e)},async getBlock(e){const t=s().projectSlice.project.id;return r.first(t,{filter:{id:e}})},getBlockHistory:async({blockId:e,page:t=1})=>({...await a.get(e,{page:t}),args:{blockId:e,page:t}}),addBlock:e=>async t=>{const r=await n.create(e);return s().configSlice.config.preventSendDataToEM||t(r).catch(e=>{}),r},editBlock:({blockId:e,...t})=>n.update(e,t),deleteBlock:e=>n.remove("object"===typeof e?e.id:e),addTag:e=>e,getDeletableTag:([e,t])=>[],autoSaveBlock:({blockId:e,body:t})=>o.create({...t,parent:e})})},commentsApiMock:function(e){const t=(0,_.l)(e),n=G(e),r=n.byForeignKey("post"),{dispatch:o}=(0,D.KA)(e);(0,D.PL)(e).addDisposable(n.onChange(()=>o(Y.Jg.util.invalidateTags(["Comments"])))),t(Y.Jg,{getComments:e=>r.get(e).then(({data:e})=>e),addComment({subjectId:e,author:t,parent:r,content:o,author_name:a,author_email:i,targetId:s}){const c={post:e,author:t,author_name:a,author_email:i,content:o,parent:r,target_id:s,date:K(new Date),author_avatar_urls:{}};return n.create(c)},deleteComment:e=>n.remove(e),editComment:({commentId:e,...t})=>n.update(e,t),deleteTarget:e=>n.update(e,{target_id:""})})},emailsApiMock:function(e){const t=$(e),n=U(e),r=n.byForeignKey("parent"),{dispatch:o,getState:a}=(0,D.KA)(e),i=(0,D.PL)(e),s=(0,_.l)(e);i.addDisposable(t.onChange(async()=>{o(j.GY.util.invalidateTags(["Email"]))})),i.addDisposable(n.onChange(()=>{o(j.GY.util.invalidateTags(["EmailAutosaves"]))})),i.addDisposable(t.onSave(({prev:e,patch:t,value:n})=>{(e=e?{...e,...t}:t)&&n.subject===e.subject&&n.html===e.html&&n.preheader===e.preheader&&n.title===e.title&&(n.renderGuid=e.renderGuid)},Number.MIN_VALUE)),s(j.GY,{getEmails:e=>[],getTemplateEmails:e=>t=>t(e),getEmail:async e=>await t.get(e),getEmailHistory:({emailId:e,page:t=1})=>(r.clear(),async o=>{if(a().configSlice.config.revisionService){const r=await o({emailId:e,page:t});for(const e of r.data)n.cache.add(e.id,e);return r}return{...await r.get(e,{page:t}),args:{emailId:e,page:t}}}),async addEmail({source:e,...n}){const r=await t.create(n,{source:e});return r.renderGuid||(r.renderGuid=(0,F.l)()),r},editEmail:e=>async n=>{const{emailId:r,source:o,...i}=e;return a().configSlice.config.revisionService&&await n(e),t.update(r,i,{source:o})},deleteEmail:e=>t.remove("object"===typeof e?e.id:e),addTag:e=>({...e,id:B(e.name,e.parent),taxonomy:"emailtags"}),getDeletableTag:([e,t])=>[],autoSaveEmail:({emailId:e,body:t})=>async r=>(a().configSlice.config.revisionService&&await r({emailId:e,body:t}),await n.create({...t,parent:e,modified:(new Date).toString()}))})},emailRawApiMock:function(e){(0,_.l)(e)(H.f,{getEmailRaw({emailId:e,secret_hash:t}){throw new Error(y.f5)}})},imageApiMock:function(e){(0,_.l)(e)(T.CL,{sendAiImageRequest:function({body:e}){return t=>t({body:e})},getAiImage:e=>t=>t(e)})},localesApiMock:function(e){(0,_.l)(e)(q.Ad,{getLocale:async({id:e})=>t=>t({id:e}),getLocales:()=>async e=>e()})},notificationsApiMock:function(e){(0,_.l)(e)(X.vx,{getNotifications:e=>[],notificationShown({id:e,datetime:t}){throw new Error(y.f5)}})},projectsApiMock:function(e){let t;(0,_.l)(e)(Q.Nq,{getProjects:(e={page:1})=>[],getProject:e=>n=>t||(t=n(e).then(t=>({...t,id:e}))),addProject(e){throw new Error},editProject:({projectId:e,...n})=>t=t.then(t=>({...t,...n,id:e})),deleteProject(e){throw new Error}})},proxyApiMock:function(e){const t=(0,_.l)(e),n=(0,L.dB)(e,N.AZ.FILE_PROXY_EVENT_ID);t(k.Z8,{getFile:async({url:t,tryFetch:r=!0,type:o})=>async a=>{const i=e.getState(),{project:s}=i.configSlice,c=(await n.fire({url:t,project:s})).filter(e=>e instanceof Blob)[0];if(!c)return a({url:t,tryFetch:r,type:o});switch(o){case"json":return JSON.parse(await c.text());case"text":return c.text();default:return c}}})},recoverPasswordApiMock:function(e){(0,_.l)(e)(J.yR,{resetPassword(e){throw new Error(y.f5)},setPassword(e){throw new Error(y.f5)},validateRecoverPasswordCode(e){throw new Error(y.f5)}})},saveFileApiMock:function(e){const t=(0,_.l)(e);if(!v.di.getInstance(e,y.Lz))throw new Error("Something was wrong");const n=(0,L.dB)(e,N.AZ.UPLOAD_EVENT_ID),r=(0,L.dB)(e,N.AZ.ON_SEND_TESTEMAIL_ID),o=(0,L.dB)(e,N.AZ.ON_SEND_LIVEPREVIEW_ID);t(z.yH,{uploadImage:t=>async r=>{const o=e.getState(),{project:a}=o.configSlice,i="tmp"===t.folder?null:await n.fire({file:t.file,project:a}),s=i?i.find(e=>e):null;return s?[{file_url:s,project:a}]:r({...t,user_id:String((await v.di.getInstanceAsync(e,y.sZ)).app_id)})},sendTestEmail:t=>async n=>{const o=e.getState(),{project:a}=o.configSlice;(await r.fire({project:a,email_id:t.email_id,subject:t.subject,email:t.email,html:t.html,from_name:t.from_name})).some(e=>!1===e)&&await n({...t,user_id:String((await v.di.getInstanceAsync(e,y.sZ)).app_id)})},async sendLivePreview(t){const n=e.getState(),{project:r}=n.configSlice;(await o.fire({project:r,id:t.email,subject:t.subject,html:t.content})).some(e=>!1===e)},sendShortLink:e=>t=>t(e)})},tokenApiMock:function(e){(0,_.l)(e)(R.OV,{tokenCreate:e=>t=>t(e),tokenValidate:()=>e=>e({})})}},ne=te;var re=n(49141);function oe(e){return ae(async t=>e(t))}function ae(e){return(0,E.y)(async t=>{const n=await t.getInstanceAsync(y.ax);return await e(n)})}const ie=(0,E.y)(async e=>{const t=(0,S.y)(e);e.inject(y.ax,t);const n=e.getInstance(y.Ef);return n&&(await(0,re.qT)(t,n),await(0,re.tF)(t)),(0,_.B)(t,ne),{instance:{}}});var se=n(72749),ce=n(7331),le=n(63148),de=n(52976),ue=n(63873),fe=n(99466),he=n(44454),me=n(91785),pe=n(41007),ge=n(52248),be=n(89600),we=n(98173),ve=n(11157),ye=n(68876),Ce=n(2527),Se=n(6403);const Ee=()=>{const e=(0,s.wA)(),t=(0,Ce.p)(),n=(0,s.d4)(we.C1);(0,i.useEffect)(()=>{const t=null===n||void 0===n?void 0:n.code_editor;t&&e((0,we.ww)(t))},[n,e]),(0,i.useEffect)(()=>{const n=t.get(ve.A9.em_token),r=t.get(ve.A9.promocode);n&&r&&(e(be.So.endpoints.checkPromo.initiate({code:r,type:"by_link"})),t.remove(ve.A9.promocode))},[e,t]);const r=(0,s.d4)(p.s0),o=r.project?(0,ye.Mu)(r):void 0;return(0,Se.O5)(),ve.EW.isPlugin&&void 0===o?i.createElement(i.Fragment,null):i.createElement(i.Fragment,null,i.createElement(ge.A,null),i.createElement(u.BV,null,i.createElement(u.qh,{path:"/",element:i.createElement(he.A,null,i.createElement(le.A,null))},i.createElement(u.qh,{index:!0,element:i.createElement(me.A,{to:o||"error"})}),i.createElement(u.qh,{path:"emails"},i.createElement(u.qh,{index:!0,element:i.createElement(pe.A,null)}),i.createElement(u.qh,{path:"new",element:i.createElement(pe.A,null)})),i.createElement(u.qh,{path:"projects"},i.createElement(u.qh,{path:":projectId",element:i.createElement(fe.A,null)},i.createElement(u.qh,{path:"emails"},i.createElement(u.qh,{path:":emailId",element:i.createElement(de.A,null)},i.createElement(u.qh,{path:":preview",element:i.createElement(de.A,null)})),i.createElement(u.qh,{path:"new",element:i.createElement(de.A,null)}),i.createElement(u.qh,{path:"new_from"},i.createElement(u.qh,{path:":emailId",element:i.createElement(ue.A,null)}))))),i.createElement(u.qh,{path:"*",element:i.createElement(ce.A,null)}))))};class Ae{constructor({shadowRoot:e,markerAttr:t="data-emailmaker"}){this.shadowRoot=void 0,this.markerAttr=void 0,this.observer=void 0,this.addedKeys=new Set,this.handleMutations=e=>{for(const t of e)for(const e of t.addedNodes)1===e.nodeType&&(e instanceof HTMLStyleElement||e instanceof HTMLLinkElement)&&e.hasAttribute(this.markerAttr)&&this.cloneAndInjectNode(e)},this.shadowRoot=e,this.markerAttr=t,this.observer=new MutationObserver(this.handleMutations),this.observer.observe(document.head,{childList:!0,subtree:!1}),this.syncExistingStyles()}syncExistingStyles(){const e=document.querySelectorAll(`style[${this.markerAttr}], link[${this.markerAttr}]`);for(let t=e.length-1;t>=0;t--)this.cloneAndInjectNode(e[t])}getNodeKey(e){return"STYLE"===e.tagName?(e.textContent||"").trim():"LINK"===e.tagName?e.href:null}cloneAndInjectNode(e){const t=this.getNodeKey(e);if(!t||this.addedKeys.has(t))return;const n=e.cloneNode(!0);this.shadowRoot.insertBefore(n,this.shadowRoot.firstChild),this.addedKeys.add(t)}dispose(){this.observer.disconnect(),this.addedKeys.clear()}}Symbol("ElementCloneSymb");const _e=oe(e=>{let t=null;const n=(0,se.My)(e),r=(0,N.dB)(n,N.AZ.ON_CHUNKS_LOADED),c=v.di.getInstance(e,y.Lz);let p,b=!1;const S=()=>{b||(b=!0,r.fire())};return{instance:{getElement:()=>t},async setOptions(n){let b=await(0,C.x)(n.element,c);const{instance:E}=v.di.getInstance(e,y.Cd)||{};if(t!==b&&(c.addDisposable(r.event(()=>{n.handleChunkLoaded&&n.handleChunkLoaded()})),t&&C.s.delete(t),!(b&&C.s.has(b)&&E))){if(p&&p.dispose(),p=c.addDisposable(new h.jG),b){C.s.set(b,E);const e=(0,g.Sb)(b);e&&p.addDisposable(new Ae({shadowRoot:e}))}else{const e=document.createElement("div");e.style.position="absolute",e.style.left="-10000px",document.body.appendChild(e);const t=()=>{e.isConnected&&document.body.removeChild(e)};p.addDispose(t),b=e}return t=b,(t=>new Promise((n,r)=>{var c;if(null!==(c=p)&&void 0!==c&&c.isDisposed())n();else{const r=(0,d.H)(t);r.render(i.createElement(i.StrictMode,null,i.createElement(s.Kq,{store:e},i.createElement(l,{onLoad:n},i.createElement(m.or.Provider,{value:{element:t}},i.createElement(u.fS,null,i.createElement(a.N7,{container:(0,g.K8)(t)?document.head:t},i.createElement(f.Y,null,i.createElement(w,{handleBeforeRender:S},i.createElement(o.A,null,i.createElement(Ee,null))))))))))),p.addDispose(n),p.addDispose(()=>r.unmount()),p.addDispose(()=>{C.s.delete(t)})}}))(b)}},dispose(){var e;null===(e=p)||void 0===e||e.dispose()}}});function ke(e){return{emails:$(e),blocks:P(e),emailRevisions:U(e),blocksRevision:x(e),comments:G(e)}}var Ne=n(51597),Le=n(52898),Re=n(61062);function Te(e,t){var n;return{severity:Number(t.severity),message:t.message,source:t.source,startLineNumber:t.startLineNumber,startColumn:t.startColumn,endLineNumber:t.endLineNumber,endColumn:t.endColumn,get startOffset(){return e.getOffsetAt({lineNumber:t.startLineNumber,column:t.startColumn})},get endOffset(){return e.getOffsetAt({lineNumber:t.endLineNumber,column:t.endColumn})},tags:null===(n=t.tags)||void 0===n?void 0:n.map(e=>Number(e))}}var Oe=n(47085);function De({code:e,...t},n){var r,o;const a=n.getState();return{...t,...e?{html:e}:{},renderGuid:(0,F.l)(),project:null===(r=a.projectSlice)||void 0===r||null===(o=r.project)||void 0===o?void 0:o.id}}function Pe({html:e,renderGuid:t,...n},r){const o=r.getState(),{project:a}=o.configSlice;return(0,Oe.TB)({...n,code:e,project:void 0===a?n.project:a,guid:void 0,link:void 0,status:void 0,slug:void 0,password:void 0,comment_status:void 0,template:void 0,blocktags:void 0,project_title:void 0,ping_status:void 0,lock:void 0,tag:void 0,is_template:void 0})}var xe=n(20587);function Ie(e,t,n){const r=t.getState();var o,a;void 0===n&&(n=void 0===e.post?null===(o=r.emailSlice)||void 0===o||null===(a=o.email)||void 0===a?void 0:a.id:e.post);return{...e,content:e.content?`<p>${e.content}</p>`:"",post:n}}function Me(e,t){return(0,Oe.TB)({...e,link:void 0,comment_status:void 0})}function je({code:e,...t},n,r){const o=n.getState();var a,i;void 0===r&&(r=void 0===t.parent?null===(a=o.emailSlice)||void 0===a||null===(i=a.email)||void 0===i?void 0:i.id:t.parent);return{...t,...e?{html:e}:{},parent:r}}function Fe({html:e,...t},n){return(0,Oe.TB)({...t,code:e,guid:void 0,compiled:(0,Oe.TB)({html:e,ampHtml:e&&""})})}var Be=n(4799),$e=n(20110),Ue=n(69986),qe=n(20414),ze=n(14139),He=n(32463),Ye=n(11822);const Ze=e=>function(e){var t;return function(e){return"___SCRIPT"===e.tagName}(e)&&(null===(t=e.src)||void 0===t?void 0:t.startsWith(qe.gP))}(e)||(0,Ue.Nh)(e)||(0,g.BF)(e);async function We(e,t={amp:!0,text:!1}){const n=!0===t||"object"===typeof t&&t.amp,r=!0===t||"object"===typeof t&&t.text;let o;"string"===typeof e&&(e={code:e});const a={html:"",ampHtml:"",text:""};try{a.html=e.code?await(0,Ye.PJ)(e.code||"",[Ye.qy],e.utm_parameters,async e=>{o=(e=>{if(Ze(e))return!0;if((0,g.vq)(e)||(0,g.wz)(e))for(const t of e.querySelectorAll("*"))if(Ze(t))return!0;return!1})(e.document),o&&await(0,He.e)(e,"html")}):""}catch(i){}try{a.ampHtml=n&&e.code&&o?await(0,Ye.PJ)(e.code||"",[Ye.qy],e.utm_parameters,async e=>{await(0,He.e)(e,"amp")}):""}catch(i){}try{a.text=r&&e.code?await(0,Ye.PJ)(e.code||"",[Ye.qy],e.utm_parameters,async e=>{e.handleReadHtml(e=>{e.html=(0,$e.G9)(e.contentDocument,ze.l)})}):""}catch(i){}return{...e,compiled:a}}var Ve=n(83111),Ke=n(48952),Ge=n(36234),Qe=n(45092);const Xe="EXTERNAL";class Je extends h.jG{constructor(e){super(),this._store=e,this._emailTemplateCache=Object.create(null),this._prevCommand=void 0,this._prevContent=void 0,this._dataSources=void 0,this._eventLock=void 0,this._queue=(0,Be.y)(),this._model=void 0,this._currentEmail=void 0,this.show=this._queue.decorate(this._show,this),this.save=this._queue.decorate(this._save,this);const t=(0,Ve.My)(e);this._dataSources=ke(t),this._eventLock=function(e){const t=Object.values(ke(e));return{suspendChange(){t.forEach(e=>e.suspendChange())},resumeChange(){t.forEach(e=>e.resumeChange())}}}(t);const n=(0,L.Zc)(e,N.AZ.ON_MODEL_CHANGE),r=(0,L.Zc)(e,N.AZ.ON_EMAIL_CHANGED_ID);this.addDisposable(n(e=>{this._model=e})),this.addDisposable(r(e=>{this._currentEmail=e})),this.addDisposable(v.di.addService(e,Qe.jY,{execute:e=>{var t;null!==(t=this._currentEmail)&&void 0!==t&&t.id&&!this._currentEmail.isNew&&e.headers.append("email_id",this._currentEmail.id)}}))}async getProject(){const e=await v.di.getInstanceAsync(this._store,y.sZ);return null===e||void 0===e?void 0:e.project}async getTemplateEmail(e){e=String(e);let t=this._emailTemplateCache[e];if(!t){const n=await this._store.dispatch(j.GY.endpoints.getTemplateEmail.initiate(e));n.error||(t={...n.data,lock:!1,parent_email:e},delete t.id)}return t}async getBlocks(){const{cache:e}=this._dataSources.blocks,t=await this.getProject();return(await e.values()).filter(e=>e.project===t).map(e=>Pe(e,this._store))}async getComments(){const{cache:e}=this._dataSources.comments,t=await this.getEmail();return(await e.values()).filter(e=>e.post===t.id).map(e=>Me(e,this._store))}async getEmailRevisions(){const{cache:e}=this._dataSources.emailRevisions,t=await this.getEmail();return(await e.values()).filter(e=>e.parent===t.id).map(e=>Fe(e,this._store))}async setBlocks(e=[]){const{cache:t}=this._dataSources.blocks;await t.setAll(e.filter(e=>void 0!==e.id).map(e=>[e.id,De(e,this._store)]))}async setEmailRevisions(e=[],t){const{cache:n}=this._dataSources.emailRevisions,r=e.filter(e=>void 0!==e.id).map(e=>[e.id,je(e,this._store,t)]);await n.setAll(r)}async setComments(e=[],t){const{cache:n}=this._dataSources.comments,r=e.filter(e=>void 0!==e.id).map(e=>[e.id,Ie(e,this._store,t)]);await n.setAll(r)}async getEmail(e=!0){const t=this._store.getState(),n=t.emailSlice.email.id?t.emailSlice.email:t.newEmailSlice.email;return We((0,xe.E)({...n,html:this._model?this._model.getValue():n.html},this._store),e)}async compileEmail(e=!0){const t=this._store.getState(),n=t.emailSlice.email.id?t.emailSlice.email:t.newEmailSlice.email;return We((0,xe.E)({...n,html:this._model?this._model.getValue():n.html},this._store),e)}setEmailMeta(e){const t=this._store.getState();if(Boolean(t.emailSlice.email.id)){const n=t.emailSlice.email.id;void 0!==n&&this._dataSources.emails.cache.addOrUpdate(n,t=>{if(!t)return t;const n={...t};var r;void 0===e?delete n.meta:n.meta={...null!==(r=t.meta)&&void 0!==r?r:{},...e};return n}),this._store.dispatch((0,Le.QV)(e))}else this._store.dispatch((0,Re.Qx)(e))}async setEmail(e,t,n=!1){const r=this._dataSources.emails,o=r.cache,a=await this.getProject();e="string"===typeof e?{code:e}:{...e};let i=(0,xe.I)(e,this._store);const s=i.id;let c=s;if(void 0!==s?i={...await r.get(s),...i,project:a}:(i={...i,project:a},c=(0,F.l)(),delete i.project),t){const e=await this.getTemplateEmail(String(t));e&&(i={...e,id:String(t),...i})}await o.setAll([[c,i]]),n&&this._runShowCommand({isNew:void 0===s,id:c,project:a})}_runShowCommand(e){const t={...e,type:"email"};this._prevCommand&&!(0,Ke.b)(this._prevCommand,e)?(0,Ge.RS)(this._store,Ne._1,t):this._store.dispatch((0,p.Ir)(t)),this._prevCommand=e}async _show(e){try{if(!e)return;if(this._eventLock.suspendChange(),e!==this._prevContent){this._prevContent=e;const{email:n,blocks:r,autosaves:o,comments:a,templateId:i}="string"===typeof(t=e)?{email:{code:t}}:function(e){return!e.hasOwnProperty("email")&&!e.hasOwnProperty("block")&&!e.hasOwnProperty("templateId")}(t)?{email:t}:{...t,email:"string"===typeof t.email?{code:t.email}:t.email||{}},s=[];s.push(this.setBlocks(r)),void 0!==n.id&&(s.push(this.setComments(a)),s.push(this.setEmailRevisions(o))),s.push(this.setEmail(n,Number(i),!0)),await Promise.all(s)}}catch(n){}finally{this._eventLock.resumeChange()}var t;return new Promise(e=>{const t=(0,L.Zc)(this._store,N.AZ.ON_EMAIL_INIT_ID)(()=>{t.dispose(),e()})})}_save(){return new Promise(async e=>{const t=this._dataSources.emails,n=this.addDisposable(t.onSave(({value:t,source:r})=>{r===Xe&&(n.dispose(),e((0,xe.E)(t,this._store)))},Number.MIN_VALUE));(0,Ge.RS)(this._store,Ne.Kp,Xe)})}getCodeErrors(){var e;const t=this._store.getState(),n=this._model;return n?null===(e=t.emailSlice.problemsList)||void 0===e?void 0:e.map(e=>Te(n,e)):void 0}}var et=n(59059),tt=n(36255),nt=n(39608);class rt extends h.jG{constructor(e){super(),this._store=e,this._events=void 0,this._model=void 0,this._listenersUpdaters=void 0;const t=(0,L.Zc)(e,N.AZ.ON_MODEL_CHANGE);this.addDisposable(t(e=>{this._model=e}))}_get(){const e=this._store,t=(0,Ve.My)(e),{blocks:n,emails:r,comments:o,emailRevisions:a}=ke(t),i=(0,L.Zc)(e,N.AZ.ON_SHARE_ID),s=(0,L.Zc)(e,N.AZ.ON_SHOW_PREVIEW_ID),c=(0,L.Zc)(e,N.AZ.ON_EMAIL_CLONE_ID),l=(0,L.Zc)(e,N.AZ.ON_CODE_VALIDATE_ID),d=(0,L.Zc)(e,N.AZ.ON_SUBJECT_CHANGED_ID),u=(0,L.Zc)(e,N.AZ.ON_EMAIL_CHANGED_ID),f=(0,L.Zc)(e,N.AZ.ON_PREHEADER_CHANGED_ID),h=(0,L.Zc)(e,N.AZ.ON_SAVEBUTTON_CLICK_ID),m=(0,L.Zc)(e,N.AZ.ON_NEXTBUTTON_CLICK_ID),g=(0,L.Zc)(e,N.AZ.ON_SEND_LIVEPREVIEW_ID),b=(0,L.Zc)(e,N.AZ.ON_SEND_TESTEMAIL_ID),w=(0,L.Zc)(e,M),v=(0,L.Zc)(e,N.AZ.ON_CONTENT_CHANGED_ID),y=(0,L.Zc)(e,I),C=(0,L.Zc)(e,N.AZ.ON_PREVIOUSBUTTON_CLICK_ID),S=(0,L.Zc)(e,N.AZ.ON_SEND_EMAIL_MODAL_ID),E=(0,et.pb)((0,L.Zc)(e,N.AZ.ON_EMAIL_INIT_ID),e=>!e.reset);return{handlePreheaderChanged:(0,tt.m)(f),handleSubjectChanged:(0,tt.m)(d),handleValidate:(0,tt.m)(l,e=>this._model?e.map(e=>Te(this._model,e)):[]),handleReadEmail:(0,tt.m)(r.handlerRead,e=>e,t=>t&&(0,xe.I)(t,e)),handleSaveEmail:(0,tt.m)(r.onSave,function({prev:t,patch:n,value:r,source:o}){const a=t?(0,xe.E)(t,e):void 0;return{prev:a,patch:(0,nt.g)(a,(0,xe.E)(n,e)),value:(0,xe.E)(r,e),source:o}},t=>t?(0,xe.I)(t,e):void 0),handleRemoveEmail:(0,tt.m)(r.onRemove,({value:t,source:n})=>({value:(0,xe.E)(t,e),source:n}),()=>{}),handleReadCommonBlocks:(0,tt.m)(w,e=>e.project,t=>null===t||void 0===t?void 0:t.map(t=>De(t,e))),handleReadTemplateBlocks:(0,tt.m)(y,e=>e,t=>null===t||void 0===t?void 0:t.map(t=>De(t,e))),handleReadBlocks:(0,tt.m)(n.byForeignKey("project").handleRead,t=>(0,p.jY)(e.getState())||String(t),t=>null===t||void 0===t?void 0:t.map(t=>De(t,e))),handleSaveBlock:(0,tt.m)(n.onSave,function({prev:t,patch:n,value:r,source:o}){const a=t?Pe(t,e):void 0;return{prev:a,patch:(0,nt.g)(a,Pe(n,e)),value:Pe(r,e),source:o}},t=>t?De(t,e):void 0),handleRemoveBlock:(0,tt.m)(n.onRemove,({value:t,source:n})=>({value:Pe(t,e),source:n}),()=>{}),handleReadComments:(0,tt.m)(o.byForeignKey("post").handleRead,e=>e,t=>null===t||void 0===t?void 0:t.map(t=>Ie(t,e))),handleSaveComment:(0,tt.m)(o.onSave,function({prev:e,patch:t,value:n,source:r}){const o=e?Me(e):void 0;return{prev:o,patch:(0,nt.g)(o,Me(t)),value:Me(n),source:r}},t=>t?Ie(t,e):void 0),handleRemoveComment:(0,tt.m)(o.onRemove,({value:e,source:t})=>({value:Me(e),source:t}),()=>{}),handleReadEmailRevisions:(0,tt.m)(a.byForeignKey("parent").handleRead,e=>e,t=>null===t||void 0===t?void 0:t.map(t=>je(t,e))),handleEmailAutosave:(0,tt.m)(a.onSave,function({prev:e,patch:t,value:n,source:r}){return{value:Fe(n),source:r}},t=>t?je(t,e):void 0),handleRemoveEmailAutoSave:(0,tt.m)(a.onRemove,({value:e,source:t})=>({value:Fe(e),source:t}),()=>{}),handleEmailChanged:(0,tt.m)((0,et.sg)(u,100),t=>(0,xe.E)(t,e)),handleEmailInit:(0,tt.m)(E,t=>(0,xe.E)(t,e)),handlePreviousButtonClick:(0,tt.m)(C,t=>(0,xe.E)(t,e)),handleNextButtonClick:(0,tt.m)(m,t=>(0,xe.E)(t,e)),handleSaveButtonClick:(0,tt.m)(h,t=>(0,xe.E)(t,e)),handleHtmlChanged:(0,tt.m)((0,et.sg)(v,100)),handleTestEmailSend:(0,tt.m)(b,({html:e,...t})=>({...t,code:e,compiled:{html:e,ampHtml:""}})),handleTestEmailModal:(0,tt.m)(S,t=>(0,xe.E)(t,e)),handleCloneEmail:(0,tt.m)(c,t=>(0,xe.E)(t,e)),handleShareEmail:(0,tt.m)(i),handlePreviewEmail:(0,tt.m)(s),handleLivePreviewEmail:(0,tt.m)(g)}}get(){return this._events||(this._events=this._get())}setOptions(e={}){const t=this.get();let n=this._listenersUpdaters;if(!n){n=this._listenersUpdaters={};for(const e of Object.keys(t))n[e]=this.addDisposable(new tt.U(t[e]))}for(const r of Object.keys(t))n[r].setListener(e[r])}}const ot=ae(e=>{const t=new Je(e),n=new rt(e);return{async setOptions(e){n.setOptions(e),await t.show(e.content)},instance:{...n.get(),show:e=>t.show(e),save:()=>t.save(),getEmail:()=>t.getEmail(),setEmailMeta(e){t.setEmailMeta(e)},getBlocks:()=>t.getBlocks(),getEmailRevisions:()=>t.getEmailRevisions(),getComments:()=>t.getComments(),compileEmail:async(e,n=!0)=>e?We(e,n):await t.compileEmail(n),getCodeErrors:()=>t.getCodeErrors()}}});var at=n(7314);const it=(0,r.l)(e=>{let t;const n=(0,D.PL)(e),r=(0,N.Zc)(e,N.AZ.ON_MODEL_CHANGE);return n.addDisposable(r(e=>{t=(0,at.VA)(e)})),{instance:{undoRedoService:{undo:()=>t.undo(),redo:()=>t.redo(),clear:()=>t.clear(),getPast:()=>t.getPast(),getFuture:()=>t.getFuture(),canUndo:()=>t.canUndo(),canRedo:()=>t.canRedo(),createSnapshot:()=>t.createSnapshot(),restoreSnapshot:e=>t.restoreSnapshot(e)}}}});var st=n(24524),ct=n(40867);function lt(e){var t;return{fontSize:e.fontSize,fontFamily:e.fontFamily,tabSize:e.tabSize,wordWrap:"off"!==e.wordWrap,minimap:null===(t=e.minimap)||void 0===t?void 0:t.enabled,insertSpaces:e.insertSpaces}}function dt(e){return e.getState()[p.Ay.name]}const ut=oe(e=>{const t=(0,D.PL)(e),n=(0,tt.m)((0,L.Zc)(e,N.AZ.ON_LIMIT_ID)),r=t.addDisposable(new tt.U(n)),o=(0,tt.m)((0,L.Zc)(e,N.AZ.READ_LOCALE)),a=t.addDisposable(new tt.U(o)),i=(0,tt.m)((0,L.Zc)(e,N.AZ.ON_TRANSLATE_ID)),s=t.addDisposable(new tt.U(i)),l=e.dispatch,d=v.di.getInstanceAsync(e,y.sZ).then(e=>(null===e||void 0===e?void 0:e.app_config)||{},e=>({})),u=(0,Be.y)(),f=(0,Be.y)();let m;const g=e=>"number"===typeof e?String(e):"string"===typeof e?e:void 0,b=async t=>{l((0,p.rh)(t));const{locale:n,theme:r,codeModeDirection:o,editor:a}=dt(e).config;void 0!==o&&("none"===o?l((0,ct.N6)(!1)):(l((0,ct.N6)(!0)),l((0,ct.Uf)(o))));const i=await(0,D.wz)(e);var s;await l(c.Q2.endpoints.editMe.initiate({...i,code_editor:a?(s=a,{font_size:s.fontSize,font_family:s.fontFamily,tab_size:s.tabSize,word_wrap:s.wordWrap,minimap:s.minimap,insert_spaces:s.insertSpaces}):i.code_editor,locale:("string"===typeof n?n:i.locale)||"ru_RU",theme:"string"===typeof r?r:i.theme}))};let w;const C=u.decorate(async({config:n={},project:r,user:o,advancedConfigs:a},i)=>{await b({advancedConfigs:a,user:n,serverSide:await d}),(e=>{void 0!==e&&l((0,p.bn)(String(e)))})(r),i&&"commonStyles"in i&&l((0,p.a$)(void 0===i.commonStyles?void 0:i.commonStyles));const{didReset:s}=await(async(n,r)=>{if(!n){const t=await(0,D.wz)(e);return m=g(null===t||void 0===t?void 0:t.id),{didReset:!1}}const o=await(0,D.wz)(e),a=void 0!==n.id?g(n.id):g(null===o||void 0===o?void 0:o.id),i=void 0!==m?String(m):void 0,s=void 0!==a?String(a):void 0,d=void 0!==i&&void 0!==s&&i!==s,u={...o,email:"",password:"",...n,id:a};if(void 0!==n.id||null!==o&&void 0!==o&&o.id||delete u.id,await l(c.Q2.endpoints.editMe.initiate(u)),d&&r){var f;const t=v.di.getInstance(e,y.Cd);if(null!==t&&void 0!==t&&null!==(f=t.instance)&&void 0!==f&&f.reset)return await t.instance.reset(r),{didReset:!0}}return m=s,u.id&&t.addDisposable(v.di.addService(e,Qe.jY,{execute(e){e.headers.append("user_id",u.id)}})),{didReset:!1}})(o,i);s||(n=>{n&&t.addDisposable(v.di.addService(e,Qe.jY,{execute(e){e.headers.append("project_id",String(n))}}))})(r)});return{setOptions:f.decorate(async t=>{const{config:n={},project:o,user:i,advancedConfigs:c,handleReadLocale:l,handleLimitUsage:d,handleTranslate:u,storageProvider:f}=t;v.di.inject(e,st.M4,f),a.setListener(l),r.setListener(d),s.setListener(u),await C({config:n,project:o,user:i,advancedConfigs:c},t).catch(e=>{}),w&&w.dispose(),w=new h.jG}),instance:{setConfig:f.decorate(async t=>{const n=t,{commonStyles:r,...o}=n;"commonStyles"in n&&l((0,p.a$)(void 0===r?void 0:r)),await b({advancedConfigs:dt(e).advancedConfigs,serverSide:await d,user:o})}),getConfig:()=>function(e){var t,n;const r=e.getState(),o=r[we.Ay.name],a=r[p.Ay.name],i=r[ct.Ay.name];return{...a.config,theme:null===(t=o.currentUser)||void 0===t?void 0:t.theme,locale:null===(n=o.currentUser)||void 0===n?void 0:n.locale,codeModeDirection:i.isCodeMode?i.codeModeDirection:"none",editor:lt(o.monacoOptions)}}(e),updateConfig:f.decorate(async t=>{const n=t,{commonStyles:r,...o}=n;"commonStyles"in n&&l((0,p.a$)(void 0===r?void 0:r)),await b({advancedConfigs:dt(e).advancedConfigs,serverSide:await d,user:{...dt(e).user,...o}})}),handleReadLocale:o,handleLimitUsage:n,handleTranslate:i}}});function ft(e){return"string"===typeof e?e:e?i.createElement("div",{ref:t=>null===t||void 0===t?void 0:t.replaceWith(e)}):void 0}function ht(e,t="success"){return"string"===typeof e&&(e={message:e}),(0,Oe.TB)({type:e.type||t,data:e.data,innerException:e.innerException,message:ft(e.message),description:ft(e.description),btn:ft(e.btn),onClose:e.onClose,duration:e.duration,icon:ft(e.icon),placement:e.placement,style:e.style,closeIcon:"boolean"===typeof e.closeIcon||"undefined"===typeof e.closeIcon?e.closeIcon:ft(e.closeIcon),props:e.props,role:e.role})}const mt=(0,r.l)(e=>{const t=e.getInstance(y.Lz),n=(0,N.Zc)(e,N.AZ.ON_NOTIFICATION),r=(0,et.pb)(n,e=>"error"===e.type),o=(0,et.pb)(n,e=>"success"===e.type),a=(0,tt.m)(n,e=>e,e=>"string"===typeof e||"object"===typeof e?ht(e):e),i=(0,tt.m)(r,e=>e,e=>"string"===typeof e||"object"===typeof e?ht(e,"error"):e),s=(0,tt.m)(o,e=>e,e=>"string"===typeof e||"object"===typeof e?ht(e):e),c=t.addDisposable(new tt.U(a)),l=t.addDisposable(new tt.U(i)),d=t.addDisposable(new tt.U(s));return{setOptions({handleNotify:e,handleSuccess:t,handleError:n}){c.setListener(e),l.setListener(n),d.setListener(t)},instance:{notify(t){(0,Ge.RS)(e,Ne.Sb,{placement:"bottomRight",...ht(t)})},handleNotify:a,handleError:i,handleSuccess:s}}}),pt=(0,r.l)(e=>{const t=e.getInstance(y.Lz),n=(0,N.Zc)(e,N.AZ.UPLOAD_EVENT_ID),r=(0,N.Zc)(e,N.AZ.FILE_PROXY_EVENT_ID),o=(0,N.dB)(e,N.AZ.PROXY_URL_EVENT_ID).event,a=(0,tt.m)(n),i=(0,tt.m)(o),s=(0,tt.m)(r),c=t.addDisposable(new tt.U(a)),l=t.addDisposable(new tt.U(s)),d=t.addDisposable(new tt.U(i));return{setOptions(e){c.setListener(e.handleLoadImage),l.setListener(e.handleFileProxy),d.setListener(e.handleUrlProxy)},instance:{handleLoadImage:a,handleFileProxy:s,handleUrlProxy:i}}}),gt=(0,r.E)([ie,mt,ut,pt,_e,it,ot])},39477:(e,t,n)=>{n.d(t,{rm:()=>a});var r=n(37816),o=n(58513);function a(){const e=(0,o.EU)();return(0,r.h)(e).getIsolationScope()}},42414:(e,t,n)=>{n.d(t,{gV:()=>o});var r=n(39477);function o(e){(0,r.rm)().setUser(e)}},54845:(e,t,n)=>{n.d(t,{qO:()=>a});var r=n(22931),o=n(82558);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,o.zf)(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=32===t.sid.length?t.sid:(0,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)}},34129:(e,t,n)=>{n.d(t,{Yz:()=>d});var r=n(58513),o=n(64035),a=n(6732);const i={};function s(){return l().enabled}function c(e,...t){o.T&&s()&&function(e){if(!("console"in a.O))return e();const t=a.O.console,n={},r=Object.keys(i);r.forEach(e=>{const r=i[e];n[e]=t[e],t[e]=r});try{return e()}finally{r.forEach(e=>{t[e]=n[e]})}}(()=>{a.O.console[e](`Sentry Logger [${e}]:`,...t)})}function l(){return o.T?(0,r.BY)("loggerSettings",()=>({enabled:!1})):{enabled:!1}}const d={enable:function(){l().enabled=!0},disable:function(){l().enabled=!1},isEnabled:s,log:function(...e){c("log",...e)},warn:function(...e){c("warn",...e)},error:function(...e){c("error",...e)}}},66115:(e,t,n)=>{n.d(t,{Qd:()=>a,Qg:()=>i});const r=Object.prototype.toString;function o(e,t){return r.call(e)===`[object ${t}]`}function a(e){return o(e,"Object")}function i(e){return Boolean(e?.then&&"function"===typeof e.then)}},22931:(e,t,n)=>{n.d(t,{eJ:()=>i});var r=n(62650),o=n(6732);let a;function i(e=function(){const e=o.O;return e.crypto||e.msCrypto}()){try{if(e?.randomUUID)return(0,r.Qw)(()=>e.randomUUID()).replace(/-/g,"")}catch{}return a||(a=[1e7]+1e3+4e3+8e3+1e11),a.replace(/[018]/g,e=>(e^(16*(0,r.hY)()&15)>>e/4).toString(16))}},13216:(e,t,n)=>{n.d(t,{my:()=>a});var r=n(64035),o=n(34129);function a(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)}}},52510:(e,t,n)=>{n.d(t,{e:()=>o});var r=n(22931);function o(){return(0,r.eJ)()}},38126:(e,t,n)=>{function r(e,t=0){return"string"!==typeof e||0===t||e.length<=t?e:`${e.slice(0,t)}...`}n.d(t,{xv:()=>r})},82558:(e,t,n)=>{n.d(t,{lu:()=>i,zf:()=>c});var r=n(62650),o=n(6732);const a=1e3;function i(){return(0,r.Wk)()/a}let s;function c(){return(s??(s=function(){const{performance:e}=o.O;if(!e?.now||!e.timeOrigin)return i;const t=e.timeOrigin;return()=>(t+(0,r.Qw)(()=>e.now()))/a}()))()}},30338:(e,t,n)=>{n.d(t,{A:()=>a});var r=n(77007),o=n(4056);const a=new(n(25016).A)(o.A,r.A)._freeze()}}]);
|
|
3
|
+
//# sourceMappingURL=5072.e5ce1614.js.map
|