@kern0x1b/penstock-cli 26.10.0 → 26.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (134) hide show
  1. package/THIRD-PARTY-NOTICES.md +1646 -0
  2. package/dist/grammars/tree-sitter-c-sharp.wasm +0 -0
  3. package/dist/grammars/tree-sitter-go.wasm +0 -0
  4. package/dist/grammars/tree-sitter-groovy.wasm +0 -0
  5. package/dist/grammars/tree-sitter-java.wasm +0 -0
  6. package/dist/grammars/tree-sitter-javascript.wasm +0 -0
  7. package/dist/grammars/tree-sitter-kotlin.wasm +0 -0
  8. package/dist/grammars/tree-sitter-python.wasm +0 -0
  9. package/dist/grammars/tree-sitter-scala.wasm +0 -0
  10. package/dist/grammars/tree-sitter-typescript.wasm +0 -0
  11. package/dist/grammars/web-tree-sitter.wasm +0 -0
  12. package/dist/penstock.js +1076 -419
  13. package/dist/syntax-worker.js +5 -0
  14. package/dist/web/assets/AgentSettings-B_c5K0Hd.js +1 -0
  15. package/dist/web/assets/AgentsDialog-BtgwT_49.js +1 -0
  16. package/dist/web/assets/BpmnCanvas-BeOwGJEV.js +1905 -0
  17. package/dist/web/assets/BpmnDocument-DioCJiv7.js +24 -0
  18. package/dist/web/assets/ConflictDialog-B9V39KUg.js +1 -0
  19. package/dist/web/assets/DiffDocument-t0gjzCba.js +1 -0
  20. package/dist/web/assets/DmnDocument-ChFDTt1F.js +41 -0
  21. package/dist/web/assets/DmnDocument-VhMjHTN6.css +1 -0
  22. package/dist/web/assets/FormDocument-TEeVD6T7.js +32 -0
  23. package/dist/web/assets/FormDocument-URLcKn84.css +1 -0
  24. package/dist/web/assets/FormStepView-DLNQ8jVN.js +1 -0
  25. package/dist/web/assets/GraphAwareLayoutService-DFtkFUrn.js +21 -0
  26. package/dist/web/assets/NewFileDialog-BPBljAGC.js +34 -0
  27. package/dist/web/assets/QuickOpen-DOe23FAR.js +1 -0
  28. package/dist/web/assets/ScriptPane-DzBYUW23.js +2 -0
  29. package/dist/web/assets/ScriptRunDialog-BtLkIreU.js +1 -0
  30. package/dist/web/assets/SettingsDialog-YoMl6NJ1.js +1 -0
  31. package/dist/web/assets/ShortcutsDialog-D0_aCcNe.js +1 -0
  32. package/dist/web/assets/SourceDocument-p3iREvQI.js +1 -0
  33. package/dist/web/assets/TextDocument-DWg1EqKB.js +1 -0
  34. package/dist/web/assets/UnreadableFileLayer-ep6zQMtt.js +1 -0
  35. package/dist/web/assets/UploadDialog-ZOy1owan.js +1 -0
  36. package/dist/web/assets/Viewer-C7pbHtwq.js +4 -0
  37. package/dist/web/assets/apply-B8eZkNJ6.js +1 -0
  38. package/dist/web/assets/array-move-Bc4mVEdq.js +1 -0
  39. package/dist/web/assets/bpmn-0HrGCizt.svg +228 -0
  40. package/dist/web/assets/bpmn-Cyvp-fAH.eot +0 -0
  41. package/dist/web/assets/bpmnTheme-CebWk9Ei.js +1683 -0
  42. package/dist/web/assets/bridgeInstance-DzSjLJAc.js +600 -0
  43. package/dist/web/assets/clike-DaHM3zHz.js +1 -0
  44. package/dist/web/assets/colors-dark-C7vOziWz.css +1 -0
  45. package/dist/web/assets/colors-dracula-CXhMcc1Z.css +1 -0
  46. package/dist/web/assets/colors-light-CyT40N4M.css +1 -0
  47. package/dist/web/assets/de-DG3quwSS.js +1 -0
  48. package/dist/web/assets/dialog-Cn1DzN2I.js +1 -0
  49. package/dist/web/assets/diff-DMf6xJj1.js +1 -0
  50. package/dist/web/assets/dist--ADMeFWW.js +57 -0
  51. package/dist/web/assets/dist--PmHUHDp.js +1 -0
  52. package/dist/web/assets/dist-2wOiLlcG.js +1 -0
  53. package/dist/web/assets/dist-BYu4mHLv.js +23 -0
  54. package/dist/web/assets/dist-BaWEbDAw.js +1 -0
  55. package/dist/web/assets/dist-BnLLb41E.js +2 -0
  56. package/dist/web/assets/dist-BqwyxNP3.js +1 -0
  57. package/dist/web/assets/dist-BxuUJA8B.js +1 -0
  58. package/dist/web/assets/dist-CHkSydPE.js +1 -0
  59. package/dist/web/assets/dist-CHluRwHI.js +2 -0
  60. package/dist/web/assets/dist-CRJyslwo.js +1 -0
  61. package/dist/web/assets/dist-CxyFqsL2.js +6 -0
  62. package/dist/web/assets/dist-D0cjZCsW.js +13 -0
  63. package/dist/web/assets/dist-DBnQKg4d.js +1 -0
  64. package/dist/web/assets/dist-DIdDTNn9.js +2 -0
  65. package/dist/web/assets/dist-DXXc07IK.js +1 -0
  66. package/dist/web/assets/dist-DgvQWhKm.js +6 -0
  67. package/dist/web/assets/dist-DlbES2QN.js +1 -0
  68. package/dist/web/assets/dist-Dup2uTdL.js +6 -0
  69. package/dist/web/assets/dist-TNwbKIWT.js +1 -0
  70. package/dist/web/assets/dist-f4FXNtig.js +1 -0
  71. package/dist/web/assets/dist-zHmj1-pd.js +5 -0
  72. package/dist/web/assets/dmn-2EwrEScy.eot +0 -0
  73. package/dist/web/assets/dmn-eH1_eUsy.svg +90 -0
  74. package/dist/web/assets/dockLayout-CxOMo-Nl.js +1 -0
  75. package/dist/web/assets/documentBridge-BXU6mgKl.js +240 -0
  76. package/dist/web/assets/documents-XvKodSic.js +1 -0
  77. package/dist/web/assets/duplicate-CKn70NtG.js +342 -0
  78. package/dist/web/assets/ed25519-DTYhEcYX.js +1 -0
  79. package/dist/web/assets/engine-BPUfS3r2.js +1 -0
  80. package/dist/web/assets/engines-BaW52xZ_.js +5 -0
  81. package/dist/web/assets/es-PcpRjhXP.js +1 -0
  82. package/dist/web/assets/files-Chpd_QD0.js +1 -0
  83. package/dist/web/assets/formChecks-TAsEqw2_.js +1 -0
  84. package/dist/web/assets/fr-BQIO41QS.js +1 -0
  85. package/dist/web/assets/frontend-By89859W.js +1 -0
  86. package/dist/web/assets/go-C1TRUqzB.js +1 -0
  87. package/dist/web/assets/groovy-C2AgVf_z.js +1 -0
  88. package/dist/web/assets/html2canvas-DEOnTJc-.js +5 -0
  89. package/dist/web/assets/httpHost-DPT9cNRG.js +1 -0
  90. package/dist/web/assets/index.es-DXehkcd9.js +4 -0
  91. package/dist/web/assets/index.es-fKIKPRSg.js +78 -0
  92. package/dist/web/assets/index.esm-CTLpq4ik.js +3 -0
  93. package/dist/web/assets/intelligence-_ijxuAw5.js +3 -0
  94. package/dist/web/assets/ja-CJkgGd9w.js +1 -0
  95. package/dist/web/assets/jspdf.es.min-DXxYWA_o.js +79 -0
  96. package/dist/web/assets/ko-BaifpU2V.js +1 -0
  97. package/dist/web/assets/lib--h_vArmx.js +1 -0
  98. package/dist/web/assets/libavoid-BRQRZjmQ.wasm +0 -0
  99. package/dist/web/assets/libavoid.wasm +0 -0
  100. package/dist/web/assets/platform-_nC9EyYA.js +2 -0
  101. package/dist/web/assets/preferences-Cfvg8oqM.js +1 -0
  102. package/dist/web/assets/preload-helper-VRuDKI9K.js +1 -0
  103. package/dist/web/assets/properties-C3HzGRE2.js +1 -0
  104. package/dist/web/assets/pt-BR-DkBw_2Tc.js +1 -0
  105. package/dist/web/assets/purify.es-CyDa74pG.js +3 -0
  106. package/dist/web/assets/python-CvnBFxgv.js +1 -0
  107. package/dist/web/assets/resource/ArchitectsDaughter-OFL.txt +93 -0
  108. package/dist/web/assets/resource/ArchitectsDaughter-Regular.ttf +0 -0
  109. package/dist/web/assets/resource/JetBrainsMono-Italic.woff2 +0 -0
  110. package/dist/web/assets/resource/JetBrainsMono-Medium.woff2 +0 -0
  111. package/dist/web/assets/resource/JetBrainsMono-OFL.txt +52 -0
  112. package/dist/web/assets/resource/JetBrainsMono-Regular.woff2 +0 -0
  113. package/dist/web/assets/resource/JetBrainsMono-SemiBold.woff2 +0 -0
  114. package/dist/web/assets/rolldown-runtime-B8BYMn-z.js +1 -0
  115. package/dist/web/assets/ru-DhjXKaLT.js +1 -0
  116. package/dist/web/assets/run-CgRiIIgd.js +1 -0
  117. package/dist/web/assets/samples-CeaUa4Fn.js +1 -0
  118. package/dist/web/assets/shortcut-DONH578b.js +1 -0
  119. package/dist/web/assets/source-frame-C6KIof5s.js +2 -0
  120. package/dist/web/assets/stackblur-es-Djj-lnDR.js +2 -0
  121. package/dist/web/assets/syntax-DBcQvmbn.js +6 -0
  122. package/dist/web/assets/testCaseRuns-Bw2AfAfR.js +1 -0
  123. package/dist/web/assets/translator-Dt_jCGPm.js +1 -0
  124. package/dist/web/assets/typing-CXvbBSPr.js +1 -0
  125. package/dist/web/assets/ui-DDJuNJWb.js +1 -0
  126. package/dist/web/assets/useTrace-Rwk8eJY1.js +1 -0
  127. package/dist/web/assets/vendor-NJP34MHU.js +1 -0
  128. package/dist/web/assets/web-C3yK7kgI.js +148 -0
  129. package/dist/web/assets/web-CSZhWpVp.css +1 -0
  130. package/dist/web/assets/zh-tAs09DKy.js +1 -0
  131. package/dist/web/icon.svg +9 -0
  132. package/dist/web/index.html +63 -0
  133. package/dist/web/manifest.webmanifest +14 -0
  134. package/package.json +11 -8
@@ -0,0 +1,3 @@
1
+ import{r as e}from"./rolldown-runtime-B8BYMn-z.js";var t=e({default:()=>E});function _OverloadYield(e,t){this.v=e,this.k=t}function _arrayLikeToArray(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function _arrayWithHoles(e){if(Array.isArray(e))return e}function _iterableToArrayLimit(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function _nonIterableRest(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
2
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _slicedToArray(e,t){return _arrayWithHoles(e)||_iterableToArrayLimit(e,t)||_unsupportedIterableToArray(e,t)||_nonIterableRest()}function _unsupportedIterableToArray(e,t){if(e){if(typeof e==`string`)return _arrayLikeToArray(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(e,t):void 0}}function AsyncGenerator(e){var t,n;function resume(t,n){try{var r=e[t](n),i=r.value,a=i instanceof _OverloadYield;Promise.resolve(a?i.v:i).then(function(n){if(a){var o=t===`return`&&i.k?t:`next`;if(!i.k||n.done)return resume(o,n);n=e[o](n).value}settle(!!r.done,n)},function(e){resume(`throw`,e)})}catch(e){settle(2,e)}}function settle(e,r){e===2?t.reject(r):t.resolve({value:r,done:e}),(t=t.next)?resume(t.key,t.arg):n=null}this._invoke=function(e,r){return new Promise(function(i,a){var o={key:e,arg:r,resolve:i,reject:a,next:null};n?n=n.next=o:(t=n=o,resume(e,r))})},typeof e.return!=`function`&&(this.return=void 0)}AsyncGenerator.prototype[typeof Symbol==`function`&&Symbol.asyncIterator||`@@asyncIterator`]=function(){return this},AsyncGenerator.prototype.next=function(e){return this._invoke(`next`,e)},AsyncGenerator.prototype.throw=function(e){return this._invoke(`throw`,e)},AsyncGenerator.prototype.return=function(e){return this._invoke(`return`,e)};var n=Object.entries,r=Object.setPrototypeOf,i=Object.isFrozen,a=Object.getPrototypeOf,o=Object.getOwnPropertyDescriptor,s=Object.freeze,c=Object.seal,l=Object.create,u=typeof Reflect<`u`&&Reflect,d=u.apply,f=u.construct;s||=function freeze(e){return e},c||=function seal(e){return e},d||=function apply(e,t){var n=[...arguments].slice(2);return e.apply(t,n)},f||=function construct(e){return new e(...[...arguments].slice(1))};var p=unapply(Array.prototype.forEach);Array.prototype.indexOf;var ee=unapply(Array.prototype.lastIndexOf),te=unapply(Array.prototype.pop),m=unapply(Array.prototype.push);Array.prototype.slice;var ne=unapply(Array.prototype.splice),h=Array.isArray,re=unapply(String.prototype.toLowerCase),ie=unapply(String.prototype.toString),ae=unapply(String.prototype.match),g=unapply(String.prototype.replace),oe=unapply(String.prototype.indexOf),se=unapply(String.prototype.trim),_=unapply(Number.prototype.toString),v=unapply(Boolean.prototype.toString),ce=typeof BigInt>`u`?null:unapply(BigInt.prototype.toString),y=typeof Symbol>`u`?null:unapply(Symbol.prototype.toString),b=unapply(Object.prototype.hasOwnProperty),x=unapply(Object.prototype.toString),S=unapply(RegExp.prototype.test),C=unconstruct(TypeError);function unapply(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);var n=[...arguments].slice(1);return d(e,t,n)}}function unconstruct(e){return function(){return f(e,[...arguments])}}function addToSet(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:re;if(r&&r(e,null),!h(t))return e;let a=t.length;for(;a--;){let r=t[a];if(typeof r==`string`){let e=n(r);e!==r&&(i(t)||(t[a]=e),r=e)}e[r]=!0}return e}function cleanArray(e){for(let t=0;t<e.length;t++)b(e,t)||(e[t]=null);return e}function clone(e){let t=l(null);for(let i of n(e)){var r=_slicedToArray(i,2);let n=r[0],a=r[1];b(e,n)&&(t[n]=h(a)?cleanArray(a):a&&typeof a==`object`&&a.constructor===Object?clone(a):a)}return t}function stringifyValue(e){switch(typeof e){case`string`:return e;case`number`:return _(e);case`boolean`:return v(e);case`bigint`:return ce?ce(e):`0`;case`symbol`:return y?y(e):`Symbol()`;case`undefined`:return x(e);case`function`:case`object`:{if(e===null)return x(e);let t=e,n=lookupGetter(t,`toString`);if(typeof n==`function`){let e=n(t);return typeof e==`string`?e:x(e)}return x(e)}default:return x(e)}}function lookupGetter(e,t){for(;e!==null;){let n=o(e,t);if(n){if(n.get)return unapply(n.get);if(typeof n.value==`function`)return unapply(n.value)}e=a(e)}function fallbackValue(){return null}return fallbackValue}function isRegex(e){try{return S(e,``),!0}catch{return!1}}var le=s(`a.abbr.acronym.address.area.article.aside.audio.b.bdi.bdo.big.blink.blockquote.body.br.button.canvas.caption.center.cite.code.col.colgroup.content.data.datalist.dd.decorator.del.details.dfn.dialog.dir.div.dl.dt.element.em.fieldset.figcaption.figure.font.footer.form.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.i.img.input.ins.kbd.label.legend.li.main.map.mark.marquee.menu.menuitem.meter.nav.nobr.ol.optgroup.option.output.p.picture.pre.progress.q.rp.rt.ruby.s.samp.search.section.select.shadow.slot.small.source.spacer.span.strike.strong.style.sub.summary.sup.table.tbody.td.template.textarea.tfoot.th.thead.time.tr.track.tt.u.ul.var.video.wbr`.split(`.`)),ue=s(`svg.a.altglyph.altglyphdef.altglyphitem.animatecolor.animatemotion.animatetransform.circle.clippath.defs.desc.ellipse.enterkeyhint.exportparts.filter.font.g.glyph.glyphref.hkern.image.inputmode.line.lineargradient.marker.mask.metadata.mpath.part.path.pattern.polygon.polyline.radialgradient.rect.stop.style.switch.symbol.text.textpath.title.tref.tspan.view.vkern`.split(`.`)),de=s([`feBlend`,`feColorMatrix`,`feComponentTransfer`,`feComposite`,`feConvolveMatrix`,`feDiffuseLighting`,`feDisplacementMap`,`feDistantLight`,`feDropShadow`,`feFlood`,`feFuncA`,`feFuncB`,`feFuncG`,`feFuncR`,`feGaussianBlur`,`feImage`,`feMerge`,`feMergeNode`,`feMorphology`,`feOffset`,`fePointLight`,`feSpecularLighting`,`feSpotLight`,`feTile`,`feTurbulence`]),fe=s([`animate`,`color-profile`,`cursor`,`discard`,`font-face`,`font-face-format`,`font-face-name`,`font-face-src`,`font-face-uri`,`foreignobject`,`hatch`,`hatchpath`,`mesh`,`meshgradient`,`meshpatch`,`meshrow`,`missing-glyph`,`script`,`set`,`solidcolor`,`unknown`,`use`]),pe=s(`math.menclose.merror.mfenced.mfrac.mglyph.mi.mlabeledtr.mmultiscripts.mn.mo.mover.mpadded.mphantom.mroot.mrow.ms.mspace.msqrt.mstyle.msub.msup.msubsup.mtable.mtd.mtext.mtr.munder.munderover.mprescripts`.split(`.`)),me=s([`maction`,`maligngroup`,`malignmark`,`mlongdiv`,`mscarries`,`mscarry`,`msgroup`,`mstack`,`msline`,`msrow`,`semantics`,`annotation`,`annotation-xml`,`mprescripts`,`none`]),he=s([`#text`]),ge=s(`accept.action.align.alt.autocapitalize.autocomplete.autopictureinpicture.autoplay.background.bgcolor.border.capture.cellpadding.cellspacing.checked.cite.class.clear.color.cols.colspan.command.commandfor.controls.controlslist.coords.crossorigin.datetime.decoding.default.dir.disabled.disablepictureinpicture.disableremoteplayback.download.draggable.enctype.enterkeyhint.exportparts.face.for.headers.height.hidden.high.href.hreflang.id.inert.inputmode.integrity.ismap.kind.label.lang.list.loading.loop.low.max.maxlength.media.method.min.minlength.multiple.muted.name.nonce.noshade.novalidate.nowrap.open.optimum.part.pattern.placeholder.playsinline.popover.popovertarget.popovertargetaction.poster.preload.pubdate.radiogroup.readonly.rel.required.rev.reversed.role.rows.rowspan.spellcheck.scope.selected.shape.size.sizes.slot.span.srclang.start.src.srcset.step.style.summary.tabindex.title.translate.type.usemap.valign.value.width.wrap.xmlns`.split(`.`)),_e=s(`accent-height.accumulate.additive.alignment-baseline.amplitude.ascent.attributename.attributetype.azimuth.basefrequency.baseline-shift.begin.bias.by.class.clip.clippathunits.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.cx.cy.d.dx.dy.diffuseconstant.direction.display.divisor.dominant-baseline.dur.edgemode.elevation.end.exponent.fill.fill-opacity.fill-rule.filter.filterunits.flood-color.flood-opacity.font-family.font-size.font-size-adjust.font-stretch.font-style.font-variant.font-weight.fx.fy.g1.g2.glyph-name.glyphref.gradientunits.gradienttransform.height.href.id.image-rendering.in.in2.intercept.k.k1.k2.k3.k4.kerning.keypoints.keysplines.keytimes.lang.lengthadjust.letter-spacing.kernelmatrix.kernelunitlength.lighting-color.local.marker-end.marker-mid.marker-start.markerheight.markerunits.markerwidth.maskcontentunits.maskunits.max.mask.mask-type.media.method.mode.min.name.numoctaves.offset.operator.opacity.order.orient.orientation.origin.overflow.paint-order.path.pathlength.patterncontentunits.patterntransform.patternunits.pointer-events.points.preservealpha.preserveaspectratio.primitiveunits.r.rx.ry.radius.refx.refy.repeatcount.repeatdur.restart.result.rotate.scale.seed.shape-rendering.slope.specularconstant.specularexponent.spreadmethod.startoffset.stddeviation.stitchtiles.stop-color.stop-opacity.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke.stroke-width.style.surfacescale.systemlanguage.tabindex.tablevalues.targetx.targety.transform.transform-origin.text-anchor.text-decoration.text-orientation.text-rendering.textlength.type.u1.u2.unicode.values.vector-effect.viewbox.visibility.version.vert-adv-y.vert-origin-x.vert-origin-y.width.word-spacing.wrap.writing-mode.xchannelselector.ychannelselector.x.x1.x2.xmlns.y.y1.y2.z.zoomandpan`.split(`.`)),ve=s(`accent.accentunder.align.bevelled.close.columnalign.columnlines.columnspacing.columnspan.denomalign.depth.dir.display.displaystyle.encoding.fence.frame.height.href.id.largeop.length.linethickness.lquote.lspace.mathbackground.mathcolor.mathsize.mathvariant.maxsize.minsize.movablelimits.notation.numalign.open.rowalign.rowlines.rowspacing.rowspan.rspace.rquote.scriptlevel.scriptminsize.scriptsizemultiplier.selection.separator.separators.stretchy.subscriptshift.supscriptshift.symmetric.voffset.width.xmlns`.split(`.`)),ye=s([`xlink:href`,`xml:id`,`xlink:title`,`xml:space`,`xmlns:xlink`]),be=c(/{{[\w\W]*|^[\w\W]*}}/g),xe=c(/<%[\w\W]*|^[\w\W]*%>/g),Se=c(/\${[\w\W]*/g),Ce=c(/^data-[\-\w.\u00B7-\uFFFF]+$/),we=c(/^aria-[\-\w]+$/),Te=c(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Ee=c(/^(?:\w+script|data):/i),De=c(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Oe=c(/^html$/i),ke=c(/^[a-z][.\w]*(-[.\w]+)+$/i),Ae=c(/<[/\w!]/g),je=c(/<[/\w]/g),Me=c(/<\/no(script|embed|frames)/i),Ne=c(/\/>/i),w={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},Pe=[`style`,`script`,`xmp`,`iframe`,`noembed`,`noframes`,`plaintext`,`noscript`],Fe=s(addToSet({},Pe)),Ie=function(){let e={};return p(Pe,t=>{e[t]=c(RegExp(`</`+t+`(?=[\\t\\n\\f\\r />])`,`i`))}),s(e)}(),Le=function getGlobal(){return typeof window>`u`?null:window},Re=function _createTrustedTypesPolicy(e,t){if(typeof e!=`object`||typeof e.createPolicy!=`function`)return null;let n=null,r=`data-tt-policy-suffix`;t&&t.hasAttribute(r)&&(n=t.getAttribute(r));let i=`dompurify`+(n?`#`+n:``);try{return e.createPolicy(i,{createHTML(e){return e},createScriptURL(e){return e}})}catch{return console.warn(`TrustedTypes policy `+i+` could not be created.`),null}},ze=function _createHooksMap(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},T=function _resolveSetOption(e,t,n,r){return b(e,t)&&h(e[t])?addToSet(r.base?clone(r.base):{},e[t],r.transform):n},Be=function _resolveObjectOption(e,t,n){let r=b(e,t)?e[t]:void 0;return r&&typeof r==`object`?clone(r):n()};function createDOMPurify(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Le(),DOMPurify=e=>createDOMPurify(e);if(DOMPurify.version=`3.4.16`,DOMPurify.removed=[],!e||!e.document||e.document.nodeType!==w.document||!e.Element)return DOMPurify.isSupported=!1,DOMPurify;let t=e.document,r=t,i=r.currentScript;e.DocumentFragment;let a=e.HTMLTemplateElement,o=e.Node,u=e.Element,d=e.NodeFilter;e.NamedNodeMap===void 0&&(e.NamedNodeMap||e.MozNamedAttrMap),e.HTMLFormElement;let f=e.DOMParser,_=e.trustedTypes,v=u.prototype,ce=lookupGetter(v,`cloneNode`),y=lookupGetter(v,`remove`),x=lookupGetter(v,`removeAttributeNode`),Pe=lookupGetter(v,`nextSibling`),E=lookupGetter(v,`childNodes`),D=lookupGetter(v,`parentNode`),Ve=lookupGetter(v,`shadowRoot`),He=lookupGetter(v,`attributes`),O=o&&o.prototype?lookupGetter(o.prototype,`nodeType`):null,k=o&&o.prototype?lookupGetter(o.prototype,`nodeName`):null,Ue=o&&o.prototype?lookupGetter(o.prototype,`ownerDocument`):null,A=function _readNodeType(e){return O?O(e):e.nodeType},We=function _readNodeName(e){return k?k(e):e.nodeName};if(typeof a==`function`){let e=t.createElement(`template`);e.content&&e.content.ownerDocument&&(t=e.content.ownerDocument)}let j,M=``,Ge,Ke=!1,qe=0,Je=function _assertNotInTrustedTypesPolicy(){if(qe>0)throw C(`A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.`)},N=function _createTrustedHTML(e){Je(),qe++;try{return j.createHTML(e)}finally{qe--}},Ye=function _createTrustedScriptURL(e){Je(),qe++;try{return j.createScriptURL(e)}finally{qe--}},Xe=function _getDefaultTrustedTypesPolicy(){return Ke||=(Ge=Re(_,i),!0),Ge},Ze=t,Qe=Ze.implementation,$e=Ze.createNodeIterator,et=Ze.createDocumentFragment,tt=Ze.getElementsByTagName,nt=r.importNode,P=ze();DOMPurify.isSupported=typeof n==`function`&&typeof D==`function`&&Qe&&Qe.createHTMLDocument!==void 0;let rt=be,it=xe,at=Se,ot=Ce,st=we,ct=Ee,lt=De,ut=ke,dt=Te,F=null,ft=addToSet({},[...le,...ue,...de,...pe,...he]),I=null,pt=addToSet({},[...ge,..._e,...ve,...ye]),L=Object.seal(l(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),R=null,mt=null,z=Object.seal(l(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),ht=!0,gt=!0,_t=!1,vt=!0,B=!1,V=!0,H=!1,yt=!1,bt=null,xt=null,St=!1,U=!1,Ct=!1,wt=!1,Tt=!0,Et=!1,Dt=`user-content-`,Ot=!0,kt=!1,W={},G=null,At=addToSet({},`annotation-xml.audio.colgroup.desc.foreignobject.head.iframe.math.mi.mn.mo.ms.mtext.noembed.noframes.noscript.plaintext.script.selectedcontent.style.svg.template.thead.title.video.xmp`.split(`.`)),jt=null,Mt=addToSet({},[`audio`,`video`,`img`,`source`,`image`,`track`]),Nt=null,Pt=addToSet({},[`alt`,`class`,`for`,`id`,`label`,`name`,`pattern`,`placeholder`,`role`,`summary`,`title`,`value`,`style`,`xmlns`]),Ft=`http://www.w3.org/1998/Math/MathML`,It=`http://www.w3.org/2000/svg`,K=`http://www.w3.org/1999/xhtml`,q=K,Lt=!1,Rt=null,zt=addToSet({},[Ft,It,K],ie),Bt=s([`mi`,`mo`,`mn`,`ms`,`mtext`]),Vt=addToSet({},Bt),Ht=s([`annotation-xml`]),Ut=addToSet({},Ht),Wt=addToSet({},[`title`,`style`,`font`,`a`,`script`]),Gt=null,Kt=[`application/xhtml+xml`,`text/html`],J=null,Y=null,qt=t.createElement(`form`),Jt=function isRegexOrFunction(e){return e instanceof RegExp||e instanceof Function},Yt=function _parseConfig(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(Y&&Y===e)return;(!e||typeof e!=`object`)&&(e={}),e=clone(e),Gt=Kt.indexOf(e.PARSER_MEDIA_TYPE)===-1?`text/html`:e.PARSER_MEDIA_TYPE,J=Gt===`application/xhtml+xml`?ie:re,F=T(e,`ALLOWED_TAGS`,ft,{transform:J}),I=T(e,`ALLOWED_ATTR`,pt,{transform:J}),Rt=T(e,`ALLOWED_NAMESPACES`,zt,{transform:ie}),Nt=T(e,`ADD_URI_SAFE_ATTR`,Pt,{transform:J,base:Pt}),jt=T(e,`ADD_DATA_URI_TAGS`,Mt,{transform:J,base:Mt}),G=T(e,`FORBID_CONTENTS`,At,{transform:J}),R=T(e,`FORBID_TAGS`,clone({}),{transform:J}),mt=T(e,`FORBID_ATTR`,clone({}),{transform:J}),W=b(e,`USE_PROFILES`)?e.USE_PROFILES&&typeof e.USE_PROFILES==`object`?clone(e.USE_PROFILES):e.USE_PROFILES:!1,ht=e.ALLOW_ARIA_ATTR!==!1,gt=e.ALLOW_DATA_ATTR!==!1,_t=e.ALLOW_UNKNOWN_PROTOCOLS||!1,vt=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,B=e.SAFE_FOR_TEMPLATES||!1,V=e.SAFE_FOR_XML!==!1,H=e.WHOLE_DOCUMENT||!1,U=e.RETURN_DOM||!1,Ct=e.RETURN_DOM_FRAGMENT||!1,wt=e.RETURN_TRUSTED_TYPE||!1,St=e.FORCE_BODY||!1,Tt=e.SANITIZE_DOM!==!1,Et=e.SANITIZE_NAMED_PROPS||!1,Ot=e.KEEP_CONTENT!==!1,kt=e.IN_PLACE||!1,dt=isRegex(e.ALLOWED_URI_REGEXP)?e.ALLOWED_URI_REGEXP:Te,q=typeof e.NAMESPACE==`string`?e.NAMESPACE:K,Vt=Be(e,`MATHML_TEXT_INTEGRATION_POINTS`,()=>addToSet({},Bt)),Ut=Be(e,`HTML_INTEGRATION_POINTS`,()=>addToSet({},Ht));let t=Be(e,`CUSTOM_ELEMENT_HANDLING`,()=>l(null));if(L=l(null),b(t,`tagNameCheck`)&&Jt(t.tagNameCheck)&&(L.tagNameCheck=t.tagNameCheck),b(t,`attributeNameCheck`)&&Jt(t.attributeNameCheck)&&(L.attributeNameCheck=t.attributeNameCheck),b(t,`allowCustomizedBuiltInElements`)&&typeof t.allowCustomizedBuiltInElements==`boolean`&&(L.allowCustomizedBuiltInElements=t.allowCustomizedBuiltInElements),c(L),B&&(gt=!1),Ct&&(U=!0),W&&(F=addToSet({},he),I=l(null),W.html===!0&&(addToSet(F,le),addToSet(I,ge)),W.svg===!0&&(addToSet(F,ue),addToSet(I,_e),addToSet(I,ye)),W.svgFilters===!0&&(addToSet(F,de),addToSet(I,_e),addToSet(I,ye)),W.mathMl===!0&&(addToSet(F,pe),addToSet(I,ve),addToSet(I,ye))),z.tagCheck=null,z.attributeCheck=null,b(e,`ADD_TAGS`)&&(typeof e.ADD_TAGS==`function`?z.tagCheck=e.ADD_TAGS:h(e.ADD_TAGS)&&(F===ft&&(F=clone(F)),addToSet(F,e.ADD_TAGS,J))),b(e,`ADD_ATTR`)&&(typeof e.ADD_ATTR==`function`?z.attributeCheck=e.ADD_ATTR:h(e.ADD_ATTR)&&(I===pt&&(I=clone(I)),addToSet(I,e.ADD_ATTR,J))),b(e,`ADD_FORBID_CONTENTS`)&&h(e.ADD_FORBID_CONTENTS)&&(G===At&&(G=clone(G)),addToSet(G,e.ADD_FORBID_CONTENTS,J)),Ot&&(F[`#text`]=!0),H&&addToSet(F,[`html`,`head`,`body`]),F.table&&(addToSet(F,[`tbody`]),delete R.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!=`function`)throw C(`TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.`);if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!=`function`)throw C(`TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.`);let t=j;j=e.TRUSTED_TYPES_POLICY;try{M=N(``)}catch(e){throw j=t,e}}else e.TRUSTED_TYPES_POLICY===null?(j=void 0,M=``):(j===void 0&&(j=Xe()),j&&typeof M==`string`&&(M=N(``)));s&&s(e),Y=e},Xt=addToSet({},[...ue,...de,...fe]),Zt=addToSet({},[...pe,...me]),Qt=function _checkSvgNamespace(e,t,n){return t.namespaceURI===K?e===`svg`:t.namespaceURI===Ft?e===`svg`&&(n===`annotation-xml`||Vt[n]):!!Xt[e]},$t=function _checkMathMlNamespace(e,t,n){return t.namespaceURI===K?e===`math`:t.namespaceURI===It?e===`math`&&Ut[n]:!!Zt[e]},en=function _checkHtmlNamespace(e,t,n){return t.namespaceURI===It&&!Ut[n]||t.namespaceURI===Ft&&!Vt[n]?!1:!Zt[e]&&(Wt[e]||!Xt[e])},tn=function _checkValidNamespace(e){let t=D(e);(!t||!t.tagName)&&(t={namespaceURI:q,tagName:`template`});let n=re(e.tagName),r=re(t.tagName);return Rt[e.namespaceURI]?e.namespaceURI===It?Qt(n,t,r):e.namespaceURI===Ft?$t(n,t,r):e.namespaceURI===K?en(n,t,r):!!(Gt===`application/xhtml+xml`&&Rt[e.namespaceURI]):!1},X=function _forceRemove(e){m(DOMPurify.removed,{element:e});try{D(e).removeChild(e)}catch{if(y(e),!D(e))throw C(`a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place`)}},nn=function _stripAttributeNode(e,t,n){try{x(e,t)}catch{try{e.removeAttribute(n)}catch{}}},rn=function _neutralizeRoot(e){on(e);let t=E(e);if(t){let e=[];p(t,t=>{m(e,t)}),p(e,e=>{try{y(e)}catch{}})}let n=He(e);if(n)for(let t=n.length-1;t>=0;--t){let r=n[t],i=r&&r.name;typeof i==`string`&&nn(e,r,i)}},Z=function _removeAttribute(e,t,n){if(!n)try{n=t.getAttributeNode(e)}catch{n=null}m(DOMPurify.removed,{attribute:n||null,from:t});try{n?x(t,n):t.removeAttribute(e)}catch{try{t.removeAttribute(e)}catch{}}if(e===`is`){if(U||Ct)try{X(t)}catch{}else try{t.setAttribute(e,``)}catch{}}},an=function _stripDisallowedAttributes(e){let t=He(e);if(t)for(let n=t.length-1;n>=0;--n){let r=t[n],i=r&&r.name;typeof i!=`string`||I[J(i)]||nn(e,r,i)}},on=function _neutralizeSubtree(e){let t=[e];for(;t.length>0;){let e=t.pop();A(e)===w.element&&an(e);let n=E(e);if(n)for(let e=n.length-1;e>=0;--e)t.push(n[e])}},sn=function _isPatchLinkageAttribute(e,t){return V?e===`patchsrc`||e===`for`&&t!==`label`&&t!==`output`:!1},cn=function _neutralizePatchLinkage(e){if(!V)return;let t=[e];for(;t.length>0;){let e=t.pop(),n=A(e);if(n===w.processingInstruction||n===w.comment&&S(je,e.data)){try{y(e)}catch{}continue}if(n===w.element){let t=e,n=J(We(e));try{t.hasAttribute&&t.hasAttribute(`patchsrc`)&&t.removeAttribute(`patchsrc`),t.hasAttribute&&t.hasAttribute(`for`)&&sn(`for`,n)&&t.removeAttribute(`for`)}catch{}}let r=E(e);if(r)for(let e=r.length-1;e>=0;--e)t.push(r[e])}},ln=function _initDocument(e){let n=null,r=null;if(St)e=`<remove></remove>`+e;else{let t=ae(e,/^[\r\n\t ]+/);r=t&&t[0]}Gt===`application/xhtml+xml`&&q===K&&(e=`<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>`+e+`</body></html>`);let i=j?N(e):e;if(q===K)try{n=new f().parseFromString(i,Gt)}catch{}if(!n||!n.documentElement){n=Qe.createDocument(q,`template`,null);try{n.documentElement.innerHTML=Lt?M:i}catch{}}let a=n.body||n.documentElement;return e&&r&&a.insertBefore(t.createTextNode(r),a.childNodes[0]||null),q===K?tt.call(n,H?`html`:`body`)[0]:H?n.documentElement:a},un=function _createNodeIterator(e){let t=Ue?Ue(e):e.ownerDocument;return $e.call(t||e,e,d.SHOW_ELEMENT|d.SHOW_COMMENT|d.SHOW_TEXT|d.SHOW_PROCESSING_INSTRUCTION|d.SHOW_CDATA_SECTION,null)},dn=function _stripTemplateExpressions(e){return e=g(e,rt,` `),e=g(e,it,` `),e=g(e,at,` `),e},fn=function _scrubTemplateExpressions(e){e.normalize();let t=Ue?Ue(e):e.ownerDocument,n=$e.call(t||e,e,d.SHOW_TEXT|d.SHOW_COMMENT|d.SHOW_CDATA_SECTION|d.SHOW_PROCESSING_INSTRUCTION,null),r=n.nextNode();for(;r;)r.data=dn(r.data),r=n.nextNode();let i=e.querySelectorAll?.call(e,`template`);i&&p(i,e=>{Q(e.content)&&fn(e.content)})},pn=function _isClobbered(e){let t=k?k(e):null;return typeof t!=`string`||J(t)!==`form`?!1:typeof e.nodeName!=`string`||typeof e.textContent!=`string`||typeof e.removeChild!=`function`||e.attributes!==He(e)||typeof e.removeAttribute!=`function`||typeof e.removeAttributeNode!=`function`||typeof e.getAttributeNode!=`function`||typeof e.setAttribute!=`function`||typeof e.namespaceURI!=`string`||typeof e.insertBefore!=`function`||typeof e.hasChildNodes!=`function`||e.nodeType!==O(e)||e.childNodes!==E(e)},Q=function _isDocumentFragment(e){if(!O||typeof e!=`object`||!e)return!1;try{return O(e)===w.documentFragment}catch{return!1}},mn=function _isNode(e){if(!O||typeof e!=`object`||!e)return!1;try{return typeof O(e)==`number`}catch{return!1}};function _executeHooks(e,t,n){e.length!==0&&p(e,e=>{e.call(DOMPurify,t,n,Y)})}let hn=function _isUnsafeNode(e,t){return!!(V&&e.hasChildNodes()&&!mn(e.firstElementChild)&&S(Ae,e.textContent)&&S(Ae,e.innerHTML)||V&&e.namespaceURI===K&&Fe[t]&&(mn(e.firstElementChild)||typeof e.textContent==`string`&&S(Ie[t],e.textContent))||e.nodeType===w.processingInstruction||V&&e.nodeType===w.comment&&S(je,e.data))},gn=function _matchesNameCheck(e,t){return e instanceof RegExp?S(e,t):e instanceof Function&&!!e(t,...[...arguments].slice(2))},_n=function _sanitizeDisallowedNode(e,t,n){if(!R[t]&&Sn(t)&&gn(L.tagNameCheck,t))return!1;if(Ot&&!G[t]){let t=D(e),r=E(e);if(r&&t){let i=r.length;for(let a=i-1;a>=0;--a){let i=e===n?ce(r[a],!0):r[a];t.insertBefore(i,Pe(e))}}}return X(e),!0},vn=function _forkSharedAllowlist(e,t,n,r){return e.length===0?t:t===n||t===r?clone(t):t},$=function _handleHookDetachedNode(e,t){return e===t||D(e)!==null?!1:(kt&&on(e),!0)},yn=function _sanitizeElements(e,t){if(_executeHooks(P.beforeSanitizeElements,e,null),$(e,t))return!0;if(pn(e))return X(e),!0;let n=J(We(e));if(F=vn(P.uponSanitizeElement,F,ft,bt),_executeHooks(P.uponSanitizeElement,e,{tagName:n,allowedTags:F}),$(e,t))return!0;if(hn(e,n))return X(e),!0;if(R[n]||!(z.tagCheck instanceof Function&&z.tagCheck(n))&&!F[n]){let r=_n(e,n,t);return r===!1&&(_executeHooks(P.afterSanitizeElements,e,null),$(e,t))?!0:r}if(A(e)===w.element&&!tn(e)||(n===`noscript`||n===`noembed`||n===`noframes`)&&S(Me,e.innerHTML))return X(e),!0;if(B&&e.nodeType===w.text){let t=dn(e.textContent);e.textContent!==t&&(m(DOMPurify.removed,{element:e.cloneNode()}),e.textContent=t)}return _executeHooks(P.afterSanitizeElements,e,null),$(e,t)},bn=function _isValidAttribute(e,n,r){if(mt[n]||sn(n,e)||Tt&&(n===`id`||n===`name`)&&(r in t||r in qt))return!1;let i=I[n]||z.attributeCheck instanceof Function&&z.attributeCheck(n,e);return gt&&S(ot,n)||ht&&S(st,n)?!0:i?Nt[n]||S(dt,g(r,lt,``))||(n===`src`||n===`xlink:href`||n===`href`)&&e!==`script`&&oe(r,`data:`)===0&&jt[e]||_t&&!S(ct,g(r,lt,``))?!0:!r:Sn(e)&&gn(L.tagNameCheck,e)&&gn(L.attributeNameCheck,n,e)||n===`is`&&L.allowCustomizedBuiltInElements&&gn(L.tagNameCheck,r)},xn=addToSet({},[`annotation-xml`,`color-profile`,`font-face`,`font-face-format`,`font-face-name`,`font-face-src`,`font-face-uri`,`missing-glyph`]),Sn=function _isBasicCustomElement(e){return!xn[re(e)]&&S(ut,e)},Cn=function _applyTrustedTypesToAttribute(e,t,n,r){if(j&&typeof _==`object`&&typeof _.getAttributeType==`function`&&!n)switch(_.getAttributeType(e,t)){case`TrustedHTML`:return N(r);case`TrustedScriptURL`:return Ye(r)}return r},wn=function _setAttributeValue(e,t,n,r){try{return n?e.setAttributeNS(n,t,r):e.setAttribute(t,r),!pn(e)||(X(e),!1)}catch{return Z(t,e),!1}},Tn=function _sanitizeAttributes(e,t){if(_executeHooks(P.beforeSanitizeAttributes,e,null),$(e,t))return;let n=e.attributes;if(!n||pn(e))return;I=vn(P.uponSanitizeAttribute,I,pt,xt);let r={attrName:``,attrValue:``,keepAttr:!0,allowedAttributes:I,forceKeepAttr:void 0},i=n.length,a=J(e.nodeName);for(;i--;){let t=n[i],o=t.name,s=t.namespaceURI,c=t.value,l=J(o),u=c,d=o===`value`?u:se(u),f=!1;r.attrName=l,r.attrValue=d,r.keepAttr=!0,r.forceKeepAttr=void 0,_executeHooks(P.uponSanitizeAttribute,e,r),d=r.attrValue,Et&&(l===`id`||l===`name`)&&oe(d,Dt)!==0&&(Z(o,e,t),d=Dt+d,f=!0),V&&S(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,d)||l===`attributename`&&ae(d,`href`)?Z(o,e,t):r.forceKeepAttr||(r.keepAttr?!vt&&S(Ne,d)?Z(o,e,t):(B&&(d=dn(d)),bn(a,l,d)?(d=Cn(a,l,s,d),d!==u&&wn(e,o,s,d)&&f&&te(DOMPurify.removed)):Z(o,e,t)):Z(o,e,t))}_executeHooks(P.afterSanitizeAttributes,e,null),$(e,t)},En=function _sanitizeShadowDOM(e){let t=null,n=un(e);for(_executeHooks(P.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)if(_executeHooks(P.uponSanitizeShadowNode,t,null),yn(t,e),Tn(t,e),Q(t.content)&&En(t.content),A(t)===w.element){let e=Ve(t);Q(e)&&(Dn(e),En(e))}_executeHooks(P.afterSanitizeShadowDOM,e,null)},Dn=function _sanitizeAttachedShadowRoots(e){let t=[{node:e,shadow:null}];for(;t.length>0;){let e=t.pop();if(e.shadow){En(e.shadow);continue}let n=e.node,r=A(n)===w.element,i=E(n);if(i)for(let e=i.length-1;e>=0;--e)t.push({node:i[e],shadow:null});if(r){let e=k?k(n):null;if(typeof e==`string`&&J(e)===`template`){let e=n.content;Q(e)&&t.push({node:e,shadow:null})}}if(r){let e=Ve(n);Q(e)&&t.push({node:null,shadow:e},{node:e,shadow:null})}}};return DOMPurify.sanitize=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=null,i=null,a=null,o=null;if(Lt=!e,Lt&&(e=`<!-->`),typeof e!=`string`&&!mn(e)&&(e=stringifyValue(e),typeof e!=`string`))throw C(`dirty is not a string, aborting`);if(!DOMPurify.isSupported)return e;yt?(F=bt,I=xt):Yt(t),(P.uponSanitizeElement.length>0||P.uponSanitizeAttribute.length>0)&&(F=clone(F)),P.uponSanitizeAttribute.length>0&&(I=clone(I)),DOMPurify.removed=[];let s=kt&&typeof e!=`string`&&mn(e);if(s){cn(e);let t=We(e);if(typeof t==`string`){let n=J(t);if(!F[n]||R[n])throw rn(e),C(`root node is forbidden and cannot be sanitized in-place`)}if(pn(e))throw rn(e),C(`root node is clobbered and cannot be sanitized in-place`);try{Dn(e)}catch(t){throw rn(e),t}}else if(mn(e))n=ln(`<!---->`),i=n.ownerDocument.importNode(e,!0),i.nodeType===w.element&&i.nodeName===`BODY`||i.nodeName===`HTML`?n=i:n.appendChild(i),Dn(n);else{if(!U&&!B&&!H&&e.indexOf(`<`)===-1)return j&&wt?N(e):e;if(n=ln(e),!n)return U?null:wt?M:``}n&&St&&X(n.firstChild);let c=s?e:n;try{let e=un(c);for(;a=e.nextNode();)yn(a,c),Tn(a,c),Q(a.content)&&En(a.content)}catch(t){throw s&&(rn(e),p(DOMPurify.removed,e=>{e.element&&on(e.element)})),t}if(s){let t=!1;if(p(DOMPurify.removed,n=>{n.element&&(n.element===e&&(t=!0),on(n.element))}),t)throw C(`a node selected for removal could not be safely returned; refusing to sanitize in place`);return B&&fn(e),e}if(U){if(B&&fn(n),Ct)for(o=et.call(n.ownerDocument);n.firstChild;)o.appendChild(n.firstChild);else o=n;return(I.shadowroot||I.shadowrootmode)&&(o=nt.call(r,o,!0)),o}let l=H?n.outerHTML:n.innerHTML;return H&&F[`!doctype`]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&S(Oe,n.ownerDocument.doctype.name)&&(l=`<!DOCTYPE `+n.ownerDocument.doctype.name+`>
3
+ `+l),B&&(l=dn(l)),j&&wt?N(l):l},DOMPurify.setConfig=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Yt(e),yt=!0,bt=F,xt=I},DOMPurify.clearConfig=function(){Y=null,yt=!1,bt=null,xt=null,j=Ge,M=``},DOMPurify.isValidAttribute=function(e,t,n){Y||Yt({});let r=J(e),i=J(t);return bn(r,i,n)},DOMPurify.addHook=function(e,t){typeof t==`function`&&b(P,e)&&m(P[e],t)},DOMPurify.removeHook=function(e,t){if(b(P,e)){if(t!==void 0){let n=ee(P[e],t);return n===-1?void 0:ne(P[e],n,1)[0]}return te(P[e])}},DOMPurify.removeHooks=function(e){b(P,e)&&(P[e]=[])},DOMPurify.removeAllHooks=function(){P=ze()},DOMPurify}var E=createDOMPurify();export{t as n,E as t};
@@ -0,0 +1 @@
1
+ import"./rolldown-runtime-B8BYMn-z.js";function wordRegexp(e){return RegExp(`^((`+e.join(`)|(`)+`))\\b`)}var e=wordRegexp([`and`,`or`,`not`,`is`]),t=`as.assert.break.class.continue.def.del.elif.else.except.finally.for.from.global.if.import.lambda.pass.raise.return.try.while.with.yield.in.False.True`.split(`.`),n=`abs.all.any.bin.bool.bytearray.callable.chr.classmethod.compile.complex.delattr.dict.dir.divmod.enumerate.eval.filter.float.format.frozenset.getattr.globals.hasattr.hash.help.hex.id.input.int.isinstance.issubclass.iter.len.list.locals.map.max.memoryview.min.next.object.oct.open.ord.pow.property.range.repr.reversed.round.set.setattr.slice.sorted.staticmethod.str.sum.super.tuple.type.vars.zip.__import__.NotImplemented.Ellipsis.__debug__`.split(`.`);function top(e){return e.scopes[e.scopes.length-1]}function mkPython(r){for(var i=`error`,a=r.delimiters||r.singleDelimiters||/^[\(\)\[\]\{\}@,:`=;\.\\]/,o=[r.singleOperators,r.doubleOperators,r.doubleDelimiters,r.tripleDelimiters,r.operators||/^([-+*/%\/&|^]=?|[<>=]+|\/\/=?|\*\*=?|!=|[~!@]|\.\.\.)/],s=0;s<o.length;s++)o[s]||o.splice(s--,1);var c=r.hangingIndent,l=t,u=n;r.extra_keywords!=null&&(l=l.concat(r.extra_keywords)),r.extra_builtins!=null&&(u=u.concat(r.extra_builtins));var d=!(r.version&&Number(r.version)<3);if(d){var f=r.identifiers||/^[_A-Za-z\u00A1-\uFFFF][_A-Za-z0-9\u00A1-\uFFFF]*/;l=l.concat([`nonlocal`,`None`,`aiter`,`anext`,`async`,`await`,`breakpoint`,`match`,`case`]),u=u.concat([`ascii`,`bytes`,`exec`,`print`]);var p=RegExp(`^(([rbuf]|(br)|(rb)|(fr)|(rf))?('{3}|"{3}|['"]))`,`i`)}else{var f=r.identifiers||/^[_A-Za-z][_A-Za-z0-9]*/;l=l.concat([`exec`,`print`]),u=u.concat([`apply`,`basestring`,`buffer`,`cmp`,`coerce`,`execfile`,`file`,`intern`,`long`,`raw_input`,`reduce`,`reload`,`unichr`,`unicode`,`xrange`,`None`]);var p=RegExp(`^(([rubf]|(ur)|(br))?('{3}|"{3}|['"]))`,`i`)}var m=wordRegexp(l),h=wordRegexp(u);function tokenBase(e,t){var n=e.sol()&&t.lastToken!=`\\`;if(n&&(t.indent=e.indentation()),n&&top(t).type==`py`){var r=top(t).offset;if(e.eatSpace()){var i=e.indentation();return i>r?pushPyScope(e,t):i<r&&dedent(e,t)&&e.peek()!=`#`&&(t.errorToken=!0),null}var a=tokenBaseInner(e,t);return r>0&&dedent(e,t)&&(a+=` error`),a}return tokenBaseInner(e,t)}function tokenBaseInner(t,n,r){if(t.eatSpace())return null;if(!r&&t.match(/^#.*/))return`comment`;if(t.match(/^[0-9\.]/,!1)){var s=!1;if(t.match(/^[\d_]*\.\d+(e[\+\-]?\d+)?/i)&&(s=!0),t.match(/^[\d_]+\.\d*/)&&(s=!0),t.match(/^\.\d+/)&&(s=!0),s)return t.eat(/J/i),`number`;var c=!1;if(t.match(/^0x[0-9a-f_]+/i)&&(c=!0),t.match(/^0b[01_]+/i)&&(c=!0),t.match(/^0o[0-7_]+/i)&&(c=!0),t.match(/^[1-9][\d_]*(e[\+\-]?[\d_]+)?/)&&(t.eat(/J/i),c=!0),t.match(/^0(?![\dx])/i)&&(c=!0),c)return t.eat(/L/i),`number`}if(t.match(p))return t.current().toLowerCase().indexOf(`f`)===-1?(n.tokenize=tokenStringFactory(t.current(),n.tokenize),n.tokenize(t,n)):(n.tokenize=formatStringFactory(t.current(),n.tokenize),n.tokenize(t,n));for(var l=0;l<o.length;l++)if(t.match(o[l]))return`operator`;return t.match(a)?`punctuation`:n.lastToken==`.`&&t.match(f)?`property`:t.match(m)||t.match(e)?`keyword`:t.match(h)?`builtin`:t.match(/^(self|cls)\b/)?`self`:t.match(f)?n.lastToken==`def`||n.lastToken==`class`?`def`:`variable`:(t.next(),r?null:i)}function formatStringFactory(e,t){for(;`rubf`.indexOf(e.charAt(0).toLowerCase())>=0;)e=e.substr(1);var n=e.length==1,a=`string`;function tokenNestedExpr(e){return function(t,n){var r=tokenBaseInner(t,n,!0);return r==`punctuation`&&(t.current()==`{`?n.tokenize=tokenNestedExpr(e+1):t.current()==`}`&&(n.tokenize=e>1?tokenNestedExpr(e-1):tokenString)),r}}function tokenString(o,s){for(;!o.eol();)if(o.eatWhile(/[^'"\{\}\\]/),o.eat(`\\`)){if(o.next(),n&&o.eol())return a}else if(o.match(e))return s.tokenize=t,a;else if(o.match(`{{`))return a;else if(o.match(`{`,!1))return s.tokenize=tokenNestedExpr(0),o.current()?a:s.tokenize(o,s);else if(o.match(`}}`))return a;else if(o.match(`}`))return i;else o.eat(/['"]/);if(n){if(r.singleLineStringErrors)return i;s.tokenize=t}return a}return tokenString.isString=!0,tokenString}function tokenStringFactory(e,t){for(;`rubf`.indexOf(e.charAt(0).toLowerCase())>=0;)e=e.substr(1);var n=e.length==1,a=`string`;function tokenString(o,s){for(;!o.eol();)if(o.eatWhile(/[^'"\\]/),o.eat(`\\`)){if(o.next(),n&&o.eol())return a}else if(o.match(e))return s.tokenize=t,a;else o.eat(/['"]/);if(n){if(r.singleLineStringErrors)return i;s.tokenize=t}return a}return tokenString.isString=!0,tokenString}function pushPyScope(e,t){for(;top(t).type!=`py`;)t.scopes.pop();t.scopes.push({offset:top(t).offset+e.indentUnit,type:`py`,align:null})}function pushBracketScope(e,t,n){var r=e.match(/^[\s\[\{\(]*(?:#|$)/,!1)?null:e.column()+1;t.scopes.push({offset:t.indent+(c||e.indentUnit),type:n,align:r})}function dedent(e,t){for(var n=e.indentation();t.scopes.length>1&&top(t).offset>n;){if(top(t).type!=`py`)return!0;t.scopes.pop()}return top(t).offset!=n}function tokenLexer(e,t){e.sol()&&(t.beginningOfLine=!0,t.dedent=!1);var n=t.tokenize(e,t),r=e.current();if(t.beginningOfLine&&r==`@`)return e.match(f,!1)?`meta`:d?`operator`:i;if(/\S/.test(r)&&(t.beginningOfLine=!1),(n==`variable`||n==`builtin`)&&t.lastToken==`meta`&&(n=`meta`),(r==`pass`||r==`return`)&&(t.dedent=!0),r==`lambda`&&(t.lambda=!0),r==`:`&&!t.lambda&&top(t).type==`py`&&e.match(/^\s*(?:#|$)/,!1)&&pushPyScope(e,t),r.length==1&&!/string|comment/.test(n)){var a=`[({`.indexOf(r);if(a!=-1&&pushBracketScope(e,t,`])}`.slice(a,a+1)),a=`])}`.indexOf(r),a!=-1){if(top(t).type==r)t.indent=t.scopes.pop().offset-(c||e.indentUnit);else return i}}return t.dedent&&e.eol()&&top(t).type==`py`&&t.scopes.length>1&&t.scopes.pop(),n}return{name:`python`,startState:function(){return{tokenize:tokenBase,scopes:[{offset:0,type:`py`,align:null}],indent:0,lastToken:null,lambda:!1,dedent:0}},token:function(e,t){var n=t.errorToken;n&&(t.errorToken=!1);var r=tokenLexer(e,t);return r&&r!=`comment`&&(t.lastToken=r==`keyword`||r==`punctuation`?e.current():r),r==`punctuation`&&(r=null),e.eol()&&t.lambda&&(t.lambda=!1),n?i:r},indent:function(e,t,n){if(e.tokenize!=tokenBase)return e.tokenize.isString?null:0;var r=top(e),i=r.type==t.charAt(0)||r.type==`py`&&!e.dedent&&/^(else:|elif |except |finally:)/.test(t);return r.align==null?r.offset-(i?c||n.unit:0):r.align-+!!i},languageData:{autocomplete:t.concat(n).concat([`exec`,`print`]),indentOnInput:/^\s*([\}\]\)]|else:|elif |except |finally:)$/,commentTokens:{line:`#`},closeBrackets:{brackets:[`(`,`[`,`{`,`'`,`"`,`'''`,`"""`]}}}}var words=function(e){return e.split(` `)},r=mkPython({});mkPython({extra_keywords:words(`by cdef cimport cpdef ctypedef enum except extern gil include nogil property public readonly struct union DEF IF ELIF ELSE`)});export{r as python};
@@ -0,0 +1,93 @@
1
+ Copyright (c) 2010, Kimberly Geswein (kimberlygeswein.com)
2
+
3
+ This Font Software is licensed under the SIL Open Font License, Version 1.1.
4
+ This license is copied below, and is also available with a FAQ at:
5
+ http://scripts.sil.org/OFL
6
+
7
+
8
+ -----------------------------------------------------------
9
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
10
+ -----------------------------------------------------------
11
+
12
+ PREAMBLE
13
+ The goals of the Open Font License (OFL) are to stimulate worldwide
14
+ development of collaborative font projects, to support the font creation
15
+ efforts of academic and linguistic communities, and to provide a free and
16
+ open framework in which fonts may be shared and improved in partnership
17
+ with others.
18
+
19
+ The OFL allows the licensed fonts to be used, studied, modified and
20
+ redistributed freely as long as they are not sold by themselves. The
21
+ fonts, including any derivative works, can be bundled, embedded,
22
+ redistributed and/or sold with any software provided that any reserved
23
+ names are not used by derivative works. The fonts and derivatives,
24
+ however, cannot be released under any other type of license. The
25
+ requirement for fonts to remain under this license does not apply
26
+ to any document created using the fonts or their derivatives.
27
+
28
+ DEFINITIONS
29
+ "Font Software" refers to the set of files released by the Copyright
30
+ Holder(s) under this license and clearly marked as such. This may
31
+ include source files, build scripts and documentation.
32
+
33
+ "Reserved Font Name" refers to any names specified as such after the
34
+ copyright statement(s).
35
+
36
+ "Original Version" refers to the collection of Font Software components as
37
+ distributed by the Copyright Holder(s).
38
+
39
+ "Modified Version" refers to any derivative made by adding to, deleting,
40
+ or substituting -- in part or in whole -- any of the components of the
41
+ Original Version, by changing formats or by porting the Font Software to a
42
+ new environment.
43
+
44
+ "Author" refers to any designer, engineer, programmer, technical
45
+ writer or other person who contributed to the Font Software.
46
+
47
+ PERMISSION & CONDITIONS
48
+ Permission is hereby granted, free of charge, to any person obtaining
49
+ a copy of the Font Software, to use, study, copy, merge, embed, modify,
50
+ redistribute, and sell modified and unmodified copies of the Font
51
+ Software, subject to the following conditions:
52
+
53
+ 1) Neither the Font Software nor any of its individual components,
54
+ in Original or Modified Versions, may be sold by itself.
55
+
56
+ 2) Original or Modified Versions of the Font Software may be bundled,
57
+ redistributed and/or sold with any software, provided that each copy
58
+ contains the above copyright notice and this license. These can be
59
+ included either as stand-alone text files, human-readable headers or
60
+ in the appropriate machine-readable metadata fields within text or
61
+ binary files as long as those fields can be easily viewed by the user.
62
+
63
+ 3) No Modified Version of the Font Software may use the Reserved Font
64
+ Name(s) unless explicit written permission is granted by the corresponding
65
+ Copyright Holder. This restriction only applies to the primary font name as
66
+ presented to the users.
67
+
68
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
69
+ Software shall not be used to promote, endorse or advertise any
70
+ Modified Version, except to acknowledge the contribution(s) of the
71
+ Copyright Holder(s) and the Author(s) or with their explicit written
72
+ permission.
73
+
74
+ 5) The Font Software, modified or unmodified, in part or in whole,
75
+ must be distributed entirely under this license, and must not be
76
+ distributed under any other license. The requirement for fonts to
77
+ remain under this license does not apply to any document created
78
+ using the Font Software.
79
+
80
+ TERMINATION
81
+ This license becomes null and void if any of the above conditions are
82
+ not met.
83
+
84
+ DISCLAIMER
85
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
86
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
87
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
88
+ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
89
+ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
90
+ INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
91
+ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
92
+ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
93
+ OTHER DEALINGS IN THE FONT SOFTWARE.
@@ -0,0 +1,52 @@
1
+ Copyright 2020 The JetBrains Mono Project Authors (https://github.com/JetBrains/JetBrainsMono)
2
+
3
+ This Font Software is licensed under the SIL Open Font License, Version 1.1.
4
+ This license is copied below, and is also available with a FAQ at:
5
+ https://openfontlicense.org
6
+
7
+
8
+ -----------------------------------------------------------
9
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
10
+ -----------------------------------------------------------
11
+
12
+ Version 1.1 - 26 February 2007
13
+
14
+ PREAMBLE
15
+
16
+ The goals of the Open Font License (OFL) are to stimulate worldwide development of collaborative font projects, to support the font creation efforts of academic and linguistic communities, and to provide a free and open framework in which fonts may be shared and improved in partnership with others.
17
+
18
+ The OFL allows the licensed fonts to be used, studied, modified and redistributed freely as long as they are not sold by themselves. The fonts, including any derivative works, can be bundled, embedded, redistributed and/or sold with any software provided that any reserved names are not used by derivative works. The fonts and derivatives, however, cannot be released under any other type of license. The requirement for fonts to remain under this license does not apply to any document created using the fonts or their derivatives.
19
+
20
+ DEFINITIONS
21
+
22
+ "Font Software" refers to the set of files released by the Copyright Holder(s) under this license and clearly marked as such. This may include source files, build scripts and documentation.
23
+
24
+ "Reserved Font Name" refers to any names specified as such after the copyright statement(s).
25
+
26
+ "Original Version" refers to the collection of Font Software components as distributed by the Copyright Holder(s).
27
+
28
+ "Modified Version" refers to any derivative made by adding to, deleting, or substituting — in part or in whole — any of the components of the Original Version, by changing formats or by porting the Font Software to a new environment.
29
+
30
+ "Author" refers to any designer, engineer, programmer, technical writer or other person who contributed to the Font Software.
31
+
32
+ PERMISSION & CONDITIONS
33
+
34
+ Permission is hereby granted, free of charge, to any person obtaining a copy of the Font Software, to use, study, copy, merge, embed, modify, redistribute, and sell modified and unmodified copies of the Font Software, subject to the following conditions:
35
+
36
+ 1) Neither the Font Software nor any of its individual components, in Original or Modified Versions, may be sold by itself.
37
+
38
+ 2) Original or Modified Versions of the Font Software may be bundled, redistributed and/or sold with any software, provided that each copy contains the above copyright notice and this license. These can be included either as stand-alone text files, human-readable headers or in the appropriate machine-readable metadata fields within text or binary files as long as those fields can be easily viewed by the user.
39
+
40
+ 3) No Modified Version of the Font Software may use the Reserved Font Name(s) unless explicit written permission is granted by the corresponding Copyright Holder. This restriction only applies to the primary font name as presented to the users.
41
+
42
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font Software shall not be used to promote, endorse or advertise any Modified Version, except to acknowledge the contribution(s) of the Copyright Holder(s) and the Author(s) or with their explicit written permission.
43
+
44
+ 5) The Font Software, modified or unmodified, in part or in whole, must be distributed entirely under this license, and must not be distributed under any other license. The requirement for fonts to remain under this license does not apply to any document created using the Font Software.
45
+
46
+ TERMINATION
47
+
48
+ This license becomes null and void if any of the above conditions are not met.
49
+
50
+ DISCLAIMER
51
+
52
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE.
@@ -0,0 +1 @@
1
+ var e=Object.create,t=Object.defineProperty,__name=(e,n)=>t(e,`name`,{value:n,configurable:!0}),n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,__esmMin=(e,t,n)=>()=>{if(n)throw n[0];try{return e&&(t=e(e=0)),t}catch(e){throw n=[e],e}},__commonJSMin=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t,t.exports),e=null),t.exports),__exportAll=(e,n)=>{let r={};for(var i in e)t(r,i,{get:e[i],enumerable:!0});return n||t(r,Symbol.toStringTag,{value:`Module`}),r},__copyProps=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},__toESM=(n,r,o)=>(o=n==null?{}:e(i(n)),__copyProps(r||!n||!n.__esModule||!a.call(n,`default`)?t(o,`default`,{value:n,enumerable:!0}):o,n)),__toCommonJS=e=>a.call(e,`module.exports`)?e[`module.exports`]:__copyProps(t({},`__esModule`,{value:!0}),e);export{__toCommonJS as a,__name as i,__esmMin as n,__toESM as o,__exportAll as r,__commonJSMin as t};