github-issue-tower-defence-management 1.173.2 → 1.174.0
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/CHANGELOG.md +19 -0
- package/README.md +15 -0
- package/bin/adapter/entry-points/cli/index.js +5 -3
- package/bin/adapter/entry-points/cli/index.js.map +1 -1
- package/bin/adapter/entry-points/console/consoleGithubTokenResolver.js +16 -5
- package/bin/adapter/entry-points/console/consoleGithubTokenResolver.js.map +1 -1
- package/bin/adapter/entry-points/console/ui-dist/assets/{index-BcnLfodS.js → index-g4SqIzCh.js} +2 -2
- package/bin/adapter/entry-points/console/ui-dist/index.html +1 -1
- package/bin/adapter/entry-points/console/webServer.js +16 -2
- package/bin/adapter/entry-points/console/webServer.js.map +1 -1
- package/bin/adapter/entry-points/handlers/HandleScheduledEventUseCaseHandler.js +3 -1
- package/bin/adapter/entry-points/handlers/HandleScheduledEventUseCaseHandler.js.map +1 -1
- package/bin/adapter/entry-points/handlers/notifySilentTmuxSessions.js +1 -1
- package/bin/adapter/entry-points/handlers/notifySilentTmuxSessions.js.map +1 -1
- package/bin/adapter/repositories/LocalCommandIssueAttachmentRepository.js +7 -12
- package/bin/adapter/repositories/LocalCommandIssueAttachmentRepository.js.map +1 -1
- package/bin/adapter/repositories/TranscriptSessionSubAgentActivityRepository.js +26 -3
- package/bin/adapter/repositories/TranscriptSessionSubAgentActivityRepository.js.map +1 -1
- package/bin/domain/usecases/HandleScheduledEventUseCase.js +10 -5
- package/bin/domain/usecases/HandleScheduledEventUseCase.js.map +1 -1
- package/bin/domain/usecases/TriagerApprovalDispatchUseCase.js +142 -0
- package/bin/domain/usecases/TriagerApprovalDispatchUseCase.js.map +1 -0
- package/bin/domain/usecases/agentReportPrefix.js +5 -0
- package/bin/domain/usecases/agentReportPrefix.js.map +1 -0
- package/bin/domain/usecases/isPullRequestDeclaredUnnecessary.js +2 -2
- package/bin/domain/usecases/isPullRequestDeclaredUnnecessary.js.map +1 -1
- package/bin/domain/usecases/isRecord.js +6 -0
- package/bin/domain/usecases/isRecord.js.map +1 -0
- package/package.json +1 -1
- package/src/adapter/entry-points/cli/index.ts +8 -4
- package/src/adapter/entry-points/console/consoleGithubTokenResolver.test.ts +29 -2
- package/src/adapter/entry-points/console/consoleGithubTokenResolver.ts +21 -4
- package/src/adapter/entry-points/console/ui/src/features/console/components/content/ConsoleMarkdownContent.stories.tsx +5 -1
- package/src/adapter/entry-points/console/ui/src/features/console/lib/imageProxy.test.ts +8 -5
- package/src/adapter/entry-points/console/ui/src/features/console/lib/imageProxy.ts +2 -2
- package/src/adapter/entry-points/console/ui/src/features/console/pages/ConsoleItemDetailContainer.tsx +2 -2
- package/src/adapter/entry-points/console/ui-dist/assets/{index-BcnLfodS.js → index-g4SqIzCh.js} +2 -2
- package/src/adapter/entry-points/console/ui-dist/index.html +1 -1
- package/src/adapter/entry-points/console/webServer.test.ts +56 -5
- package/src/adapter/entry-points/console/webServer.ts +20 -3
- package/src/adapter/entry-points/handlers/HandleScheduledEventUseCaseHandler.ts +7 -0
- package/src/adapter/entry-points/handlers/notifySilentTmuxSessions.ts +1 -0
- package/src/adapter/repositories/LocalCommandIssueAttachmentRepository.test.ts +53 -70
- package/src/adapter/repositories/LocalCommandIssueAttachmentRepository.ts +10 -13
- package/src/adapter/repositories/TranscriptSessionSubAgentActivityRepository.test.ts +142 -0
- package/src/adapter/repositories/TranscriptSessionSubAgentActivityRepository.ts +41 -0
- package/src/domain/usecases/HandleScheduledEventUseCase.test.ts +27 -0
- package/src/domain/usecases/HandleScheduledEventUseCase.ts +7 -3
- package/src/domain/usecases/TriagerApprovalDispatchUseCase.test.ts +879 -0
- package/src/domain/usecases/TriagerApprovalDispatchUseCase.ts +247 -0
- package/src/domain/usecases/agentReportPrefix.ts +1 -0
- package/src/domain/usecases/isPullRequestDeclaredUnnecessary.ts +1 -1
- package/src/domain/usecases/isRecord.ts +2 -0
- package/types/adapter/entry-points/cli/index.d.ts.map +1 -1
- package/types/adapter/entry-points/console/consoleGithubTokenResolver.d.ts +1 -0
- package/types/adapter/entry-points/console/consoleGithubTokenResolver.d.ts.map +1 -1
- package/types/adapter/entry-points/console/webServer.d.ts +2 -1
- package/types/adapter/entry-points/console/webServer.d.ts.map +1 -1
- package/types/adapter/entry-points/handlers/HandleScheduledEventUseCaseHandler.d.ts.map +1 -1
- package/types/adapter/entry-points/handlers/notifySilentTmuxSessions.d.ts.map +1 -1
- package/types/adapter/repositories/LocalCommandIssueAttachmentRepository.d.ts +3 -2
- package/types/adapter/repositories/LocalCommandIssueAttachmentRepository.d.ts.map +1 -1
- package/types/adapter/repositories/TranscriptSessionSubAgentActivityRepository.d.ts +3 -1
- package/types/adapter/repositories/TranscriptSessionSubAgentActivityRepository.d.ts.map +1 -1
- package/types/domain/usecases/HandleScheduledEventUseCase.d.ts +3 -1
- package/types/domain/usecases/HandleScheduledEventUseCase.d.ts.map +1 -1
- package/types/domain/usecases/TriagerApprovalDispatchUseCase.d.ts +15 -0
- package/types/domain/usecases/TriagerApprovalDispatchUseCase.d.ts.map +1 -0
- package/types/domain/usecases/agentReportPrefix.d.ts +2 -0
- package/types/domain/usecases/agentReportPrefix.d.ts.map +1 -0
- package/types/domain/usecases/isRecord.d.ts +2 -0
- package/types/domain/usecases/isRecord.d.ts.map +1 -0
package/bin/adapter/entry-points/console/ui-dist/assets/{index-BcnLfodS.js → index-g4SqIzCh.js}
RENAMED
|
@@ -12,7 +12,7 @@ Error generating stack: `+e.message+`
|
|
|
12
12
|
`)?`${e}${t}\n`:`${e}\n${t}\n`,rn=(e,t)=>{let n=`![uploading ${t}]()`;return`${e.length===0?``:e.replace(/\n*$/,`
|
|
13
13
|
`)}\n\n\n${n}\n`},an=(e,t,n)=>{let r=`![uploading ${t}]()`,i=e.indexOf(r);return i===-1?nn(e,n):e.slice(0,i)+n+e.slice(i+r.length)},on=(e,t)=>{let n=`![uploading ${t}]()`,r=e.indexOf(n);if(r===-1)return e;let i=r,a=0;for(;a<3&&i>0&&e[i-1]===`
|
|
14
14
|
`;)i--,a++;let o=+(e[r+n.length]===`
|
|
15
|
-
`),s=r+n.length+o;return e.slice(0,i)+e.slice(s)},sn=({initiallyOpen:e,onSubmit:t,onUploadFile:n})=>{let[r,i]=(0,_.useState)(e),[a,o]=(0,_.useState)(``),[s,c]=(0,_.useState)({kind:`idle`}),[l,u]=(0,_.useState)({kind:`idle`}),d=(0,_.useRef)(null),f=async()=>{let e=a.trim();if(!(e.length===0||s.kind===`posting`)){c({kind:`posting`});try{await t(e),o(``),c({kind:`idle`})}catch(e){c({kind:`error`,message:e instanceof Error?e.message:`failed to post`})}}},p=async e=>{if(!(n===void 0||e.length===0))for(let t of e){o(e=>rn(e,t.name)),u({kind:`uploading`,fileName:t.name});try{let e=await n(t);o(n=>an(n,t.name,e)),u({kind:`idle`})}catch(e){o(e=>on(e,t.name)),u({kind:`error`,message:e instanceof Error?e.message:`failed to upload file`});return}}};return(0,x.jsxs)(`div`,{className:`console-composer`,children:[(0,x.jsx)(`button`,{type:`button`,className:`console-composer-toggle`,"aria-expanded":r,onClick:()=>i(e=>!e),children:r?`✕ Close`:`💬 Add a comment`}),r&&(0,x.jsxs)(`div`,{className:`console-composer-form`,children:[(0,x.jsx)(`textarea`,{className:`console-composer-input`,rows:3,placeholder:`Leave a comment…`,value:a,onChange:e=>o(e.target.value),onDragOver:e=>{n!==void 0&&e.preventDefault()},onDrop:e=>{n!==void 0&&(e.preventDefault(),p(Array.from(e.dataTransfer.files)))},onPaste:e=>{if(n===void 0)return;let t=Array.from(e.clipboardData.files);t.length!==0&&(e.preventDefault(),p(t))}}),n!==void 0&&(0,x.jsxs)(`div`,{className:`console-composer-attach`,children:[(0,x.jsx)(`input`,{ref:d,type:`file`,multiple:!0,className:`console-composer-file-input`,"aria-label":`Attach files`,onChange:e=>{let t=Array.from(e.target.files??[]);e.target.value=``,p(t)}}),(0,x.jsx)(`button`,{type:`button`,className:`console-composer-attach-button`,disabled:l.kind===`uploading`,onClick:()=>d.current?.click(),children:`📎 Attach files`}),l.kind===`uploading`&&(0,x.jsxs)(`span`,{className:`console-composer-status`,children:[`Uploading `,l.fileName,`…`]}),l.kind===`error`&&(0,x.jsxs)(`span`,{role:`alert`,className:`console-composer-status console-composer-error`,children:[`Upload failed: `,l.message]})]}),(0,x.jsxs)(`div`,{className:`console-composer-row`,children:[s.kind===`posting`&&(0,x.jsx)(`span`,{className:`console-composer-status`,children:`Posting…`}),s.kind===`error`&&(0,x.jsxs)(`span`,{role:`alert`,className:`console-composer-status console-composer-error`,children:[`Failed: `,s.message]}),(0,x.jsx)(`button`,{type:`button`,className:`console-composer-submit`,disabled:s.kind===`posting`,onClick:()=>{f()},children:`Comment`})]})]})]})},cn=/^https:\/\/github\.com\/([^/\s]+)\/([^/\s]+)\/(issues|pull)\/(\d+)(?:[#?].*)?$/,ln=e=>{let t=cn.exec(e.trim());if(t===null)return null;let[,n,r,i,a]=t,o=Number.parseInt(a,10);return Number.isFinite(o)?{owner:n,repo:r,number:o,kind:i===`pull`?`pull`:`issue`}:null},un=e=>{let t=e.indexOf(`/`);if(t<=0)return null;let n=e.slice(0,t),r=e.slice(t+1);return n===``||r===``||r.includes(`/`)?null:{owner:n,repo:r}},dn=e=>({isPr:e.isPullRequest,state:e.state.toLowerCase(),merged:e.merged,isDraft:!1,stateReason:``}),fn=m(),pn=/^https:\/\/github\.com\/user-attachments\/|^https:\/\/[a-z0-9][a-z0-9.-]*\.githubusercontent\.com\//,mn=e=>pn.test(e),hn=e=>`/api/img?url=${encodeURIComponent(e)}`,gn=(e,t)=>{if(typeof document>`u`)return e;let n=document.createElement(`template`);n.innerHTML=e;let r=n.content.querySelectorAll(`img[src]`),i=!1;return r.forEach(e=>{let n=e.getAttribute(`src`)??``;mn(n)&&(e.setAttribute(`src`,t(n)),i=!0)}),i?n.innerHTML:e};function _n(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 vn(e){if(Array.isArray(e))return e}function yn(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)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 bn(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
15
|
+
`),s=r+n.length+o;return e.slice(0,i)+e.slice(s)},sn=({initiallyOpen:e,onSubmit:t,onUploadFile:n})=>{let[r,i]=(0,_.useState)(e),[a,o]=(0,_.useState)(``),[s,c]=(0,_.useState)({kind:`idle`}),[l,u]=(0,_.useState)({kind:`idle`}),d=(0,_.useRef)(null),f=async()=>{let e=a.trim();if(!(e.length===0||s.kind===`posting`)){c({kind:`posting`});try{await t(e),o(``),c({kind:`idle`})}catch(e){c({kind:`error`,message:e instanceof Error?e.message:`failed to post`})}}},p=async e=>{if(!(n===void 0||e.length===0))for(let t of e){o(e=>rn(e,t.name)),u({kind:`uploading`,fileName:t.name});try{let e=await n(t);o(n=>an(n,t.name,e)),u({kind:`idle`})}catch(e){o(e=>on(e,t.name)),u({kind:`error`,message:e instanceof Error?e.message:`failed to upload file`});return}}};return(0,x.jsxs)(`div`,{className:`console-composer`,children:[(0,x.jsx)(`button`,{type:`button`,className:`console-composer-toggle`,"aria-expanded":r,onClick:()=>i(e=>!e),children:r?`✕ Close`:`💬 Add a comment`}),r&&(0,x.jsxs)(`div`,{className:`console-composer-form`,children:[(0,x.jsx)(`textarea`,{className:`console-composer-input`,rows:3,placeholder:`Leave a comment…`,value:a,onChange:e=>o(e.target.value),onDragOver:e=>{n!==void 0&&e.preventDefault()},onDrop:e=>{n!==void 0&&(e.preventDefault(),p(Array.from(e.dataTransfer.files)))},onPaste:e=>{if(n===void 0)return;let t=Array.from(e.clipboardData.files);t.length!==0&&(e.preventDefault(),p(t))}}),n!==void 0&&(0,x.jsxs)(`div`,{className:`console-composer-attach`,children:[(0,x.jsx)(`input`,{ref:d,type:`file`,multiple:!0,className:`console-composer-file-input`,"aria-label":`Attach files`,onChange:e=>{let t=Array.from(e.target.files??[]);e.target.value=``,p(t)}}),(0,x.jsx)(`button`,{type:`button`,className:`console-composer-attach-button`,disabled:l.kind===`uploading`,onClick:()=>d.current?.click(),children:`📎 Attach files`}),l.kind===`uploading`&&(0,x.jsxs)(`span`,{className:`console-composer-status`,children:[`Uploading `,l.fileName,`…`]}),l.kind===`error`&&(0,x.jsxs)(`span`,{role:`alert`,className:`console-composer-status console-composer-error`,children:[`Upload failed: `,l.message]})]}),(0,x.jsxs)(`div`,{className:`console-composer-row`,children:[s.kind===`posting`&&(0,x.jsx)(`span`,{className:`console-composer-status`,children:`Posting…`}),s.kind===`error`&&(0,x.jsxs)(`span`,{role:`alert`,className:`console-composer-status console-composer-error`,children:[`Failed: `,s.message]}),(0,x.jsx)(`button`,{type:`button`,className:`console-composer-submit`,disabled:s.kind===`posting`,onClick:()=>{f()},children:`Comment`})]})]})]})},cn=/^https:\/\/github\.com\/([^/\s]+)\/([^/\s]+)\/(issues|pull)\/(\d+)(?:[#?].*)?$/,ln=e=>{let t=cn.exec(e.trim());if(t===null)return null;let[,n,r,i,a]=t,o=Number.parseInt(a,10);return Number.isFinite(o)?{owner:n,repo:r,number:o,kind:i===`pull`?`pull`:`issue`}:null},un=e=>{let t=e.indexOf(`/`);if(t<=0)return null;let n=e.slice(0,t),r=e.slice(t+1);return n===``||r===``||r.includes(`/`)?null:{owner:n,repo:r}},dn=e=>({isPr:e.isPullRequest,state:e.state.toLowerCase(),merged:e.merged,isDraft:!1,stateReason:``}),fn=m(),pn=/^https:\/\/github\.com\/user-attachments\/|^https:\/\/[a-z0-9][a-z0-9.-]*\.githubusercontent\.com\//,mn=e=>pn.test(e),hn=(e,t)=>`/api/img?url=${encodeURIComponent(e)}&itemUrl=${encodeURIComponent(t)}`,gn=(e,t)=>{if(typeof document>`u`)return e;let n=document.createElement(`template`);n.innerHTML=e;let r=n.content.querySelectorAll(`img[src]`),i=!1;return r.forEach(e=>{let n=e.getAttribute(`src`)??``;mn(n)&&(e.setAttribute(`src`,t(n)),i=!0)}),i?n.innerHTML:e};function _n(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 vn(e){if(Array.isArray(e))return e}function yn(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)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 bn(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
16
16
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function xn(e,t){return vn(e)||yn(e,t)||Sn(e,t)||bn()}function Sn(e,t){if(e){if(typeof e==`string`)return _n(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)?_n(e,t):void 0}}var Cn=Object.entries,wn=Object.setPrototypeOf,Tn=Object.isFrozen,En=Object.getPrototypeOf,Dn=Object.getOwnPropertyDescriptor,On=Object.freeze,kn=Object.seal,An=Object.create,jn=typeof Reflect<`u`&&Reflect,Mn=jn.apply,Nn=jn.construct;On||=function(e){return e},kn||=function(e){return e},Mn||=function(e,t){var n=[...arguments].slice(2);return e.apply(t,n)},Nn||=function(e){return new e(...[...arguments].slice(1))};var Pn=er(Array.prototype.forEach),Fn=er(Array.prototype.lastIndexOf),In=er(Array.prototype.pop),Ln=er(Array.prototype.push),Rn=er(Array.prototype.splice),zn=Array.isArray,Bn=er(String.prototype.toLowerCase),Vn=er(String.prototype.toString),Hn=er(String.prototype.match),Un=er(String.prototype.replace),Wn=er(String.prototype.indexOf),Gn=er(String.prototype.trim),Kn=er(Number.prototype.toString),qn=er(Boolean.prototype.toString),Jn=typeof BigInt>`u`?null:er(BigInt.prototype.toString),Yn=typeof Symbol>`u`?null:er(Symbol.prototype.toString),Xn=er(Object.prototype.hasOwnProperty),Zn=er(Object.prototype.toString),Qn=er(RegExp.prototype.test),$n=tr(TypeError);function er(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);var n=[...arguments].slice(1);return Mn(e,t,n)}}function tr(e){return function(){return Nn(e,[...arguments])}}function R(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Bn;if(wn&&wn(e,null),!zn(t))return e;let r=t.length;for(;r--;){let i=t[r];if(typeof i==`string`){let e=n(i);e!==i&&(Tn(t)||(t[r]=e),i=e)}e[i]=!0}return e}function nr(e){for(let t=0;t<e.length;t++)Xn(e,t)||(e[t]=null);return e}function rr(e){let t=An(null);for(let r of Cn(e)){var n=xn(r,2);let i=n[0],a=n[1];Xn(e,i)&&(zn(a)?t[i]=nr(a):a&&typeof a==`object`&&a.constructor===Object?t[i]=rr(a):t[i]=a)}return t}function ir(e){switch(typeof e){case`string`:return e;case`number`:return Kn(e);case`boolean`:return qn(e);case`bigint`:return Jn?Jn(e):`0`;case`symbol`:return Yn?Yn(e):`Symbol()`;case`undefined`:return Zn(e);case`function`:case`object`:{if(e===null)return Zn(e);let t=e,n=ar(t,`toString`);if(typeof n==`function`){let e=n(t);return typeof e==`string`?e:Zn(e)}return Zn(e)}default:return Zn(e)}}function ar(e,t){for(;e!==null;){let n=Dn(e,t);if(n){if(n.get)return er(n.get);if(typeof n.value==`function`)return er(n.value)}e=En(e)}function n(){return null}return n}function or(e){try{return Qn(e,``),!0}catch{return!1}}var sr=On(`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(`.`)),cr=On(`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(`.`)),lr=On([`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`]),ur=On([`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`]),dr=On(`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(`.`)),fr=On([`maction`,`maligngroup`,`malignmark`,`mlongdiv`,`mscarries`,`mscarry`,`msgroup`,`mstack`,`msline`,`msrow`,`semantics`,`annotation`,`annotation-xml`,`mprescripts`,`none`]),pr=On([`#text`]),mr=On(`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(`.`)),hr=On(`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.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.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(`.`)),gr=On(`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(`.`)),_r=On([`xlink:href`,`xml:id`,`xlink:title`,`xml:space`,`xmlns:xlink`]),vr=kn(/{{[\w\W]*|^[\w\W]*}}/g),yr=kn(/<%[\w\W]*|^[\w\W]*%>/g),br=kn(/\${[\w\W]*/g),xr=kn(/^data-[\-\w.\u00B7-\uFFFF]+$/),Sr=kn(/^aria-[\-\w]+$/),Cr=kn(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),wr=kn(/^(?:\w+script|data):/i),Tr=kn(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Er=kn(/^html$/i),Dr=kn(/^[a-z][.\w]*(-[.\w]+)+$/i),Or=kn(/<[/\w!]/g),kr=kn(/<[/\w]/g),Ar=kn(/<\/no(script|embed|frames)/i),jr=kn(/\/>/i),Mr={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},Nr=function(){return typeof window>`u`?null:window},Pr=function(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}},Fr=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},Ir=function(e,t,n,r){return Xn(e,t)&&zn(e[t])?R(r.base?rr(r.base):{},e[t],r.transform):n};function Lr(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Nr(),t=e=>Lr(e);if(t.version=`3.4.13`,t.removed=[],!e||!e.document||e.document.nodeType!==Mr.document||!e.Element)return t.isSupported=!1,t;let n=e.document,r=n,i=r.currentScript;e.DocumentFragment;let a=e.HTMLTemplateElement,o=e.Node,s=e.Element,c=e.NodeFilter;e.NamedNodeMap===void 0&&(e.NamedNodeMap||e.MozNamedAttrMap),e.HTMLFormElement;let l=e.DOMParser,u=e.trustedTypes,d=s.prototype,f=ar(d,`cloneNode`),p=ar(d,`remove`),m=ar(d,`nextSibling`),h=ar(d,`childNodes`),g=ar(d,`parentNode`),_=ar(d,`shadowRoot`),v=ar(d,`attributes`),y=o&&o.prototype?ar(o.prototype,`nodeType`):null,b=o&&o.prototype?ar(o.prototype,`nodeName`):null,x=o&&o.prototype?ar(o.prototype,`ownerDocument`):null;if(typeof a==`function`){let e=n.createElement(`template`);e.content&&e.content.ownerDocument&&(n=e.content.ownerDocument)}let S,C=``,w,T=!1,ee=0,te=function(){if(ee>0)throw $n(`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.`)},E=function(e){te(),ee++;try{return S.createHTML(e)}finally{ee--}},ne=function(e){te(),ee++;try{return S.createScriptURL(e)}finally{ee--}},re=function(){return T||=(w=Pr(u,i),!0),w},ie=n,D=ie.implementation,ae=ie.createNodeIterator,oe=ie.createDocumentFragment,se=ie.getElementsByTagName,O=r.importNode,k=Fr();t.isSupported=typeof Cn==`function`&&typeof g==`function`&&D&&D.createHTMLDocument!==void 0;let ce=vr,le=yr,ue=br,A=xr,j=Sr,M=wr,de=Tr,fe=Dr,pe=Cr,N=null,me=R({},[...sr,...cr,...lr,...dr,...pr]),P=null,he=R({},[...mr,...hr,...gr,..._r]),F=Object.seal(An(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}})),ge=null,_e=null,ve=Object.seal(An(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),ye=!0,be=!0,xe=!1,Se=!0,Ce=!1,we=!0,Te=!1,Ee=!1,De=null,I=null,Oe=!1,ke=!1,Ae=!1,je=!1,Me=!0,Ne=!1,Pe=`user-content-`,Fe=!0,Ie=!1,Le={},Re=null,ze=R({},`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(`.`)),Be=null,Ve=R({},[`audio`,`video`,`img`,`source`,`image`,`track`]),He=null,Ue=R({},[`alt`,`class`,`for`,`id`,`label`,`name`,`pattern`,`placeholder`,`role`,`summary`,`title`,`value`,`style`,`xmlns`]),We=`http://www.w3.org/1998/Math/MathML`,Ge=`http://www.w3.org/2000/svg`,Ke=`http://www.w3.org/1999/xhtml`,qe=Ke,Je=!1,Ye=null,Xe=R({},[We,Ge,Ke],Vn),Ze=On([`mi`,`mo`,`mn`,`ms`,`mtext`]),Qe=R({},Ze),$e=On([`annotation-xml`]),et=R({},$e),tt=R({},[`title`,`style`,`font`,`a`,`script`]),nt=null,rt=[`application/xhtml+xml`,`text/html`],L=null,it=null,at=n.createElement(`form`),ot=function(e){return e instanceof RegExp||e instanceof Function},st=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(it&&it===e)return;(!e||typeof e!=`object`)&&(e={}),e=rr(e),nt=rt.indexOf(e.PARSER_MEDIA_TYPE)===-1?`text/html`:e.PARSER_MEDIA_TYPE,L=nt===`application/xhtml+xml`?Vn:Bn,N=Ir(e,`ALLOWED_TAGS`,me,{transform:L}),P=Ir(e,`ALLOWED_ATTR`,he,{transform:L}),Ye=Ir(e,`ALLOWED_NAMESPACES`,Xe,{transform:Vn}),He=Ir(e,`ADD_URI_SAFE_ATTR`,Ue,{transform:L,base:Ue}),Be=Ir(e,`ADD_DATA_URI_TAGS`,Ve,{transform:L,base:Ve}),Re=Ir(e,`FORBID_CONTENTS`,ze,{transform:L}),ge=Ir(e,`FORBID_TAGS`,rr({}),{transform:L}),_e=Ir(e,`FORBID_ATTR`,rr({}),{transform:L}),Le=Xn(e,`USE_PROFILES`)?e.USE_PROFILES&&typeof e.USE_PROFILES==`object`?rr(e.USE_PROFILES):e.USE_PROFILES:!1,ye=e.ALLOW_ARIA_ATTR!==!1,be=e.ALLOW_DATA_ATTR!==!1,xe=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Se=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Ce=e.SAFE_FOR_TEMPLATES||!1,we=e.SAFE_FOR_XML!==!1,Te=e.WHOLE_DOCUMENT||!1,ke=e.RETURN_DOM||!1,Ae=e.RETURN_DOM_FRAGMENT||!1,je=e.RETURN_TRUSTED_TYPE||!1,Oe=e.FORCE_BODY||!1,Me=e.SANITIZE_DOM!==!1,Ne=e.SANITIZE_NAMED_PROPS||!1,Fe=e.KEEP_CONTENT!==!1,Ie=e.IN_PLACE||!1,pe=or(e.ALLOWED_URI_REGEXP)?e.ALLOWED_URI_REGEXP:Cr,qe=typeof e.NAMESPACE==`string`?e.NAMESPACE:Ke,Qe=Xn(e,`MATHML_TEXT_INTEGRATION_POINTS`)&&e.MATHML_TEXT_INTEGRATION_POINTS&&typeof e.MATHML_TEXT_INTEGRATION_POINTS==`object`?rr(e.MATHML_TEXT_INTEGRATION_POINTS):R({},Ze),et=Xn(e,`HTML_INTEGRATION_POINTS`)&&e.HTML_INTEGRATION_POINTS&&typeof e.HTML_INTEGRATION_POINTS==`object`?rr(e.HTML_INTEGRATION_POINTS):R({},$e);let t=Xn(e,`CUSTOM_ELEMENT_HANDLING`)&&e.CUSTOM_ELEMENT_HANDLING&&typeof e.CUSTOM_ELEMENT_HANDLING==`object`?rr(e.CUSTOM_ELEMENT_HANDLING):An(null);if(F=An(null),Xn(t,`tagNameCheck`)&&ot(t.tagNameCheck)&&(F.tagNameCheck=t.tagNameCheck),Xn(t,`attributeNameCheck`)&&ot(t.attributeNameCheck)&&(F.attributeNameCheck=t.attributeNameCheck),Xn(t,`allowCustomizedBuiltInElements`)&&typeof t.allowCustomizedBuiltInElements==`boolean`&&(F.allowCustomizedBuiltInElements=t.allowCustomizedBuiltInElements),kn(F),Ce&&(be=!1),Ae&&(ke=!0),Le&&(N=R({},pr),P=An(null),Le.html===!0&&(R(N,sr),R(P,mr)),Le.svg===!0&&(R(N,cr),R(P,hr),R(P,_r)),Le.svgFilters===!0&&(R(N,lr),R(P,hr),R(P,_r)),Le.mathMl===!0&&(R(N,dr),R(P,gr),R(P,_r))),ve.tagCheck=null,ve.attributeCheck=null,Xn(e,`ADD_TAGS`)&&(typeof e.ADD_TAGS==`function`?ve.tagCheck=e.ADD_TAGS:zn(e.ADD_TAGS)&&(N===me&&(N=rr(N)),R(N,e.ADD_TAGS,L))),Xn(e,`ADD_ATTR`)&&(typeof e.ADD_ATTR==`function`?ve.attributeCheck=e.ADD_ATTR:zn(e.ADD_ATTR)&&(P===he&&(P=rr(P)),R(P,e.ADD_ATTR,L))),Xn(e,`ADD_URI_SAFE_ATTR`)&&zn(e.ADD_URI_SAFE_ATTR)&&R(He,e.ADD_URI_SAFE_ATTR,L),Xn(e,`FORBID_CONTENTS`)&&zn(e.FORBID_CONTENTS)&&(Re===ze&&(Re=rr(Re)),R(Re,e.FORBID_CONTENTS,L)),Xn(e,`ADD_FORBID_CONTENTS`)&&zn(e.ADD_FORBID_CONTENTS)&&(Re===ze&&(Re=rr(Re)),R(Re,e.ADD_FORBID_CONTENTS,L)),Fe&&(N[`#text`]=!0),Te&&R(N,[`html`,`head`,`body`]),N.table&&(R(N,[`tbody`]),delete ge.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!=`function`)throw $n(`TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.`);if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!=`function`)throw $n(`TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.`);let t=S;S=e.TRUSTED_TYPES_POLICY;try{C=E(``)}catch(e){throw S=t,e}}else e.TRUSTED_TYPES_POLICY===null?(S=void 0,C=``):(S===void 0&&(S=re()),S&&typeof C==`string`&&(C=E(``)));On&&On(e),it=e},ct=R({},[...cr,...lr,...ur]),lt=R({},[...dr,...fr]),ut=function(e,t,n){return t.namespaceURI===Ke?e===`svg`:t.namespaceURI===We?e===`svg`&&(n===`annotation-xml`||Qe[n]):!!ct[e]},dt=function(e,t,n){return t.namespaceURI===Ke?e===`math`:t.namespaceURI===Ge?e===`math`&&et[n]:!!lt[e]},ft=function(e,t,n){return t.namespaceURI===Ge&&!et[n]||t.namespaceURI===We&&!Qe[n]?!1:!lt[e]&&(tt[e]||!ct[e])},pt=function(e){let t=g(e);(!t||!t.tagName)&&(t={namespaceURI:qe,tagName:`template`});let n=Bn(e.tagName),r=Bn(t.tagName);return Ye[e.namespaceURI]?e.namespaceURI===Ge?ut(n,t,r):e.namespaceURI===We?dt(n,t,r):e.namespaceURI===Ke?ft(n,t,r):!!(nt===`application/xhtml+xml`&&Ye[e.namespaceURI]):!1},mt=function(e){Ln(t.removed,{element:e});try{g(e).removeChild(e)}catch{if(p(e),!g(e))throw $n(`a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place`)}},ht=function(e){vt(e);let t=h(e);if(t){let e=[];Pn(t,t=>{Ln(e,t)}),Pn(e,e=>{try{p(e)}catch{}})}let n=v(e);if(n)for(let t=n.length-1;t>=0;--t){let r=n[t],i=r&&r.name;if(typeof i==`string`)try{e.removeAttribute(i)}catch{}}},gt=function(e,n){try{Ln(t.removed,{attribute:n.getAttributeNode(e),from:n})}catch{Ln(t.removed,{attribute:null,from:n})}if(n.removeAttribute(e),e===`is`)if(ke||Ae)try{mt(n)}catch{}else try{n.setAttribute(e,``)}catch{}},_t=function(e){let t=v(e);if(t)for(let n=t.length-1;n>=0;--n){let r=t[n],i=r&&r.name;if(!(typeof i!=`string`||P[L(i)]))try{e.removeAttribute(i)}catch{}}},vt=function(e){let t=[e];for(;t.length>0;){let e=t.pop();(y?y(e):e.nodeType)===Mr.element&&_t(e);let n=h(e);if(n)for(let e=n.length-1;e>=0;--e)t.push(n[e])}},yt=function(e){if(!we)return;let t=[e];for(;t.length>0;){let e=t.pop(),n=y?y(e):e.nodeType;if(n===Mr.processingInstruction||n===Mr.comment&&Qn(kr,e.data)){try{p(e)}catch{}continue}if(n===Mr.element){let t=e,n=L(b?b(e):e.nodeName);try{t.hasAttribute&&t.hasAttribute(`patchsrc`)&&t.removeAttribute(`patchsrc`),t.hasAttribute&&t.hasAttribute(`for`)&&n!==`label`&&n!==`output`&&t.removeAttribute(`for`)}catch{}}let r=h(e);if(r)for(let e=r.length-1;e>=0;--e)t.push(r[e])}},bt=function(e){let t=null,r=null;if(Oe)e=`<remove></remove>`+e;else{let t=Hn(e,/^[\r\n\t ]+/);r=t&&t[0]}nt===`application/xhtml+xml`&&qe===Ke&&(e=`<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>`+e+`</body></html>`);let i=S?E(e):e;if(qe===Ke)try{t=new l().parseFromString(i,nt)}catch{}if(!t||!t.documentElement){t=D.createDocument(qe,`template`,null);try{t.documentElement.innerHTML=Je?C:i}catch{}}let a=t.body||t.documentElement;return e&&r&&a.insertBefore(n.createTextNode(r),a.childNodes[0]||null),qe===Ke?se.call(t,Te?`html`:`body`)[0]:Te?t.documentElement:a},xt=function(e){let t=x?x(e):e.ownerDocument;return ae.call(t||e,e,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},St=function(e){return e=Un(e,ce,` `),e=Un(e,le,` `),e=Un(e,ue,` `),e},Ct=function(e){e.normalize();let t=x?x(e):e.ownerDocument,n=ae.call(t||e,e,c.SHOW_TEXT|c.SHOW_COMMENT|c.SHOW_CDATA_SECTION|c.SHOW_PROCESSING_INSTRUCTION,null),r=n.nextNode();for(;r;)r.data=St(r.data),r=n.nextNode();let i=e.querySelectorAll?.call(e,`template`);i&&Pn(i,e=>{Tt(e.content)&&Ct(e.content)})},wt=function(e){let t=b?b(e):null;return typeof t!=`string`||L(t)!==`form`?!1:typeof e.nodeName!=`string`||typeof e.textContent!=`string`||typeof e.removeChild!=`function`||e.attributes!==v(e)||typeof e.removeAttribute!=`function`||typeof e.setAttribute!=`function`||typeof e.namespaceURI!=`string`||typeof e.insertBefore!=`function`||typeof e.hasChildNodes!=`function`||e.nodeType!==y(e)||e.childNodes!==h(e)},Tt=function(e){if(!y||typeof e!=`object`||!e)return!1;try{return y(e)===Mr.documentFragment}catch{return!1}},Et=function(e){if(!y||typeof e!=`object`||!e)return!1;try{return typeof y(e)==`number`}catch{return!1}};function Dt(e,n,r){e.length!==0&&Pn(e,e=>{e.call(t,n,r,it)})}let Ot=function(e,t){return!!(we&&e.hasChildNodes()&&!Et(e.firstElementChild)&&Qn(Or,e.textContent)&&Qn(Or,e.innerHTML)||we&&e.namespaceURI===Ke&&t===`style`&&Et(e.firstElementChild)||e.nodeType===Mr.processingInstruction||we&&e.nodeType===Mr.comment&&Qn(kr,e.data))},kt=function(e,t,n){if(!ge[t]&&Pt(t)&&(F.tagNameCheck instanceof RegExp&&Qn(F.tagNameCheck,t)||F.tagNameCheck instanceof Function&&F.tagNameCheck(t)))return!1;if(Fe&&!Re[t]){let t=g(e),r=h(e);if(r&&t){let i=r.length;for(let a=i-1;a>=0;--a){let i=e===n?f(r[a],!0):r[a];t.insertBefore(i,m(e))}}}return mt(e),!0},At=function(e,t,n,r){return e.length===0?t:t===n||t===r?rr(t):t},jt=function(e,n){if(Dt(k.beforeSanitizeElements,e,null),e!==n&&g(e)===null)return Ie&&vt(e),!0;if(wt(e))return mt(e),!0;let r=L(b?b(e):e.nodeName);if(N=At(k.uponSanitizeElement,N,me,De),Dt(k.uponSanitizeElement,e,{tagName:r,allowedTags:N}),e!==n&&g(e)===null)return Ie&&vt(e),!0;if(Ot(e,r))return mt(e),!0;if(ge[r]||!(ve.tagCheck instanceof Function&&ve.tagCheck(r))&&!N[r]){let t=kt(e,r,n);return t===!1&&Dt(k.afterSanitizeElements,e,null),t}if((y?y(e):e.nodeType)===Mr.element&&!pt(e)||(r===`noscript`||r===`noembed`||r===`noframes`)&&Qn(Ar,e.innerHTML))return mt(e),!0;if(Ce&&e.nodeType===Mr.text){let n=St(e.textContent);e.textContent!==n&&(Ln(t.removed,{element:e.cloneNode()}),e.textContent=n)}return Dt(k.afterSanitizeElements,e,null),!1},Mt=function(e,t,r){if(_e[t]||we&&t===`patchsrc`||we&&t===`for`&&e!==`label`&&e!==`output`||Me&&(t===`id`||t===`name`)&&(r in n||r in at))return!1;let i=P[t]||ve.attributeCheck instanceof Function&&ve.attributeCheck(t,e);if(!(be&&Qn(A,t))&&!(ye&&Qn(j,t))){if(!i){if(!(Pt(e)&&(F.tagNameCheck instanceof RegExp&&Qn(F.tagNameCheck,e)||F.tagNameCheck instanceof Function&&F.tagNameCheck(e))&&(F.attributeNameCheck instanceof RegExp&&Qn(F.attributeNameCheck,t)||F.attributeNameCheck instanceof Function&&F.attributeNameCheck(t,e))||t===`is`&&F.allowCustomizedBuiltInElements&&(F.tagNameCheck instanceof RegExp&&Qn(F.tagNameCheck,r)||F.tagNameCheck instanceof Function&&F.tagNameCheck(r))))return!1}else if(!He[t]&&!Qn(pe,Un(r,de,``))&&!((t===`src`||t===`xlink:href`||t===`href`)&&e!==`script`&&Wn(r,`data:`)===0&&Be[e])&&!(xe&&!Qn(M,Un(r,de,``)))&&r)return!1}return!0},Nt=R({},[`annotation-xml`,`color-profile`,`font-face`,`font-face-format`,`font-face-name`,`font-face-src`,`font-face-uri`,`missing-glyph`]),Pt=function(e){return!Nt[Bn(e)]&&Qn(fe,e)},Ft=function(e,t,n,r){if(S&&typeof u==`object`&&typeof u.getAttributeType==`function`&&!n)switch(u.getAttributeType(e,t)){case`TrustedHTML`:return E(r);case`TrustedScriptURL`:return ne(r)}return r},It=function(e,n,r,i){try{r?e.setAttributeNS(r,n,i):e.setAttribute(n,i),wt(e)?mt(e):In(t.removed)}catch{gt(n,e)}},Lt=function(e){Dt(k.beforeSanitizeAttributes,e,null);let t=e.attributes;if(!t||wt(e))return;P=At(k.uponSanitizeAttribute,P,he,I);let n={attrName:``,attrValue:``,keepAttr:!0,allowedAttributes:P,forceKeepAttr:void 0},r=t.length,i=L(e.nodeName);for(;r--;){let a=t[r],o=a.name,s=a.namespaceURI,c=a.value,l=L(o),u=c,d=o===`value`?u:Gn(u);if(n.attrName=l,n.attrValue=d,n.keepAttr=!0,n.forceKeepAttr=void 0,Dt(k.uponSanitizeAttribute,e,n),d=n.attrValue,Ne&&(l===`id`||l===`name`)&&Wn(d,Pe)!==0&&(gt(o,e),d=Pe+d),we&&Qn(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,d)){gt(o,e);continue}if(l===`attributename`&&Hn(d,`href`)){gt(o,e);continue}if(!n.forceKeepAttr){if(!n.keepAttr){gt(o,e);continue}if(!Se&&Qn(jr,d)){gt(o,e);continue}if(Ce&&(d=St(d)),!Mt(i,l,d)){gt(o,e);continue}d=Ft(i,l,s,d),d!==u&&It(e,o,s,d)}}Dt(k.afterSanitizeAttributes,e,null)},Rt=function(e){let t=null,n=xt(e);for(Dt(k.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)if(Dt(k.uponSanitizeShadowNode,t,null),jt(t,e),Lt(t),Tt(t.content)&&Rt(t.content),(y?y(t):t.nodeType)===Mr.element){let e=_(t);Tt(e)&&(zt(e),Rt(e))}Dt(k.afterSanitizeShadowDOM,e,null)},zt=function(e){let t=[{node:e,shadow:null}];for(;t.length>0;){let e=t.pop();if(e.shadow){Rt(e.shadow);continue}let n=e.node,r=(y?y(n):n.nodeType)===Mr.element,i=h(n);if(i)for(let e=i.length-1;e>=0;--e)t.push({node:i[e],shadow:null});if(r){let e=b?b(n):null;if(typeof e==`string`&&L(e)===`template`){let e=n.content;Tt(e)&&t.push({node:e,shadow:null})}}if(r){let e=_(n);Tt(e)&&t.push({node:null,shadow:e},{node:e,shadow:null})}}};return t.sanitize=function(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=null,a=null,o=null,s=null;if(Je=!e,Je&&(e=`<!-->`),typeof e!=`string`&&!Et(e)&&(e=ir(e),typeof e!=`string`))throw $n(`dirty is not a string, aborting`);if(!t.isSupported)return e;Ee?(N=De,P=I):st(n),(k.uponSanitizeElement.length>0||k.uponSanitizeAttribute.length>0)&&(N=rr(N)),k.uponSanitizeAttribute.length>0&&(P=rr(P)),t.removed=[];let c=Ie&&typeof e!=`string`&&Et(e);if(c){yt(e);let t=b?b(e):e.nodeName;if(typeof t==`string`){let n=L(t);if(!N[n]||ge[n])throw ht(e),$n(`root node is forbidden and cannot be sanitized in-place`)}if(wt(e))throw ht(e),$n(`root node is clobbered and cannot be sanitized in-place`);try{zt(e)}catch(t){throw ht(e),t}}else if(Et(e))i=bt(`<!---->`),a=i.ownerDocument.importNode(e,!0),a.nodeType===Mr.element&&a.nodeName===`BODY`||a.nodeName===`HTML`?i=a:i.appendChild(a),zt(a);else{if(!ke&&!Ce&&!Te&&e.indexOf(`<`)===-1)return S&&je?E(e):e;if(i=bt(e),!i)return ke?null:je?C:``}i&&Oe&&mt(i.firstChild);let l=c?e:i;try{let e=xt(l);for(;o=e.nextNode();)jt(o,l),Lt(o),Tt(o.content)&&Rt(o.content)}catch(n){throw c&&(ht(e),Pn(t.removed,e=>{e.element&&vt(e.element)})),n}if(c)return Pn(t.removed,e=>{e.element&&vt(e.element)}),Ce&&Ct(e),e;if(ke){if(Ce&&Ct(i),Ae)for(s=oe.call(i.ownerDocument);i.firstChild;)s.appendChild(i.firstChild);else s=i;return(P.shadowroot||P.shadowrootmode)&&(s=O.call(r,s,!0)),s}let u=Te?i.outerHTML:i.innerHTML;return Te&&N[`!doctype`]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&Qn(Er,i.ownerDocument.doctype.name)&&(u=`<!DOCTYPE `+i.ownerDocument.doctype.name+`>
|
|
17
17
|
`+u),Ce&&(u=St(u)),S&&je?E(u):u},t.setConfig=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};st(e),Ee=!0,De=N,I=P},t.clearConfig=function(){it=null,Ee=!1,De=null,I=null,S=w,C=``},t.isValidAttribute=function(e,t,n){it||st({});let r=L(e),i=L(t);return Mt(r,i,n)},t.addHook=function(e,t){typeof t==`function`&&Xn(k,e)&&Ln(k[e],t)},t.removeHook=function(e,t){if(Xn(k,e)){if(t!==void 0){let n=Fn(k[e],t);return n===-1?void 0:Rn(k[e],n,1)[0]}return In(k[e])}},t.removeHooks=function(e){Xn(k,e)&&(k[e]=[])},t.removeAllHooks=function(){k=Fr()},t}var Rr=Lr(),zr={100:`💯`,1234:`🔢`,grinning:`😀`,smiley:`😃`,smile:`😄`,grin:`😁`,laughing:`😆`,satisfied:`😆`,sweat_smile:`😅`,rofl:`🤣`,joy:`😂`,slightly_smiling_face:`🙂`,upside_down_face:`🙃`,melting_face:`🫠`,wink:`😉`,blush:`😊`,innocent:`😇`,smiling_face_with_three_hearts:`🥰`,heart_eyes:`😍`,star_struck:`🤩`,kissing_heart:`😘`,kissing:`😗`,relaxed:`☺️`,kissing_closed_eyes:`😚`,kissing_smiling_eyes:`😙`,smiling_face_with_tear:`🥲`,yum:`😋`,stuck_out_tongue:`😛`,stuck_out_tongue_winking_eye:`😜`,zany_face:`🤪`,stuck_out_tongue_closed_eyes:`😝`,money_mouth_face:`🤑`,hugs:`🤗`,hand_over_mouth:`🤭`,face_with_open_eyes_and_hand_over_mouth:`🫢`,face_with_peeking_eye:`🫣`,shushing_face:`🤫`,thinking:`🤔`,saluting_face:`🫡`,zipper_mouth_face:`🤐`,raised_eyebrow:`🤨`,neutral_face:`😐`,expressionless:`😑`,no_mouth:`😶`,dotted_line_face:`🫥`,face_in_clouds:`😶🌫️`,smirk:`😏`,unamused:`😒`,roll_eyes:`🙄`,grimacing:`😬`,face_exhaling:`😮💨`,lying_face:`🤥`,shaking_face:`🫨`,relieved:`😌`,pensive:`😔`,sleepy:`😪`,drooling_face:`🤤`,sleeping:`😴`,mask:`😷`,face_with_thermometer:`🤒`,face_with_head_bandage:`🤕`,nauseated_face:`🤢`,vomiting_face:`🤮`,sneezing_face:`🤧`,hot_face:`🥵`,cold_face:`🥶`,woozy_face:`🥴`,dizzy_face:`😵`,face_with_spiral_eyes:`😵💫`,exploding_head:`🤯`,cowboy_hat_face:`🤠`,partying_face:`🥳`,disguised_face:`🥸`,sunglasses:`😎`,nerd_face:`🤓`,monocle_face:`🧐`,confused:`😕`,face_with_diagonal_mouth:`🫤`,worried:`😟`,slightly_frowning_face:`🙁`,frowning_face:`☹️`,open_mouth:`😮`,hushed:`😯`,astonished:`😲`,flushed:`😳`,pleading_face:`🥺`,face_holding_back_tears:`🥹`,frowning:`😦`,anguished:`😧`,fearful:`😨`,cold_sweat:`😰`,disappointed_relieved:`😥`,cry:`😢`,sob:`😭`,scream:`😱`,confounded:`😖`,persevere:`😣`,disappointed:`😞`,sweat:`😓`,weary:`😩`,tired_face:`😫`,yawning_face:`🥱`,triumph:`😤`,rage:`😡`,pout:`😡`,angry:`😠`,cursing_face:`🤬`,smiling_imp:`😈`,imp:`👿`,skull:`💀`,skull_and_crossbones:`☠️`,hankey:`💩`,poop:`💩`,shit:`💩`,clown_face:`🤡`,japanese_ogre:`👹`,japanese_goblin:`👺`,ghost:`👻`,alien:`👽`,space_invader:`👾`,robot:`🤖`,smiley_cat:`😺`,smile_cat:`😸`,joy_cat:`😹`,heart_eyes_cat:`😻`,smirk_cat:`😼`,kissing_cat:`😽`,scream_cat:`🙀`,crying_cat_face:`😿`,pouting_cat:`😾`,see_no_evil:`🙈`,hear_no_evil:`🙉`,speak_no_evil:`🙊`,love_letter:`💌`,cupid:`💘`,gift_heart:`💝`,sparkling_heart:`💖`,heartpulse:`💗`,heartbeat:`💓`,revolving_hearts:`💞`,two_hearts:`💕`,heart_decoration:`💟`,heavy_heart_exclamation:`❣️`,broken_heart:`💔`,heart_on_fire:`❤️🔥`,mending_heart:`❤️🩹`,heart:`❤️`,pink_heart:`🩷`,orange_heart:`🧡`,yellow_heart:`💛`,green_heart:`💚`,blue_heart:`💙`,light_blue_heart:`🩵`,purple_heart:`💜`,brown_heart:`🤎`,black_heart:`🖤`,grey_heart:`🩶`,white_heart:`🤍`,kiss:`💋`,anger:`💢`,boom:`💥`,collision:`💥`,dizzy:`💫`,sweat_drops:`💦`,dash:`💨`,hole:`🕳️`,speech_balloon:`💬`,eye_speech_bubble:`👁️🗨️`,left_speech_bubble:`🗨️`,right_anger_bubble:`🗯️`,thought_balloon:`💭`,zzz:`💤`,wave:`👋`,raised_back_of_hand:`🤚`,raised_hand_with_fingers_splayed:`🖐️`,hand:`✋`,raised_hand:`✋`,vulcan_salute:`🖖`,rightwards_hand:`🫱`,leftwards_hand:`🫲`,palm_down_hand:`🫳`,palm_up_hand:`🫴`,leftwards_pushing_hand:`🫷`,rightwards_pushing_hand:`🫸`,ok_hand:`👌`,pinched_fingers:`🤌`,pinching_hand:`🤏`,v:`✌️`,crossed_fingers:`🤞`,hand_with_index_finger_and_thumb_crossed:`🫰`,love_you_gesture:`🤟`,metal:`🤘`,call_me_hand:`🤙`,point_left:`👈`,point_right:`👉`,point_up_2:`👆`,middle_finger:`🖕`,fu:`🖕`,point_down:`👇`,point_up:`☝️`,index_pointing_at_the_viewer:`🫵`,"+1":`👍`,thumbsup:`👍`,"-1":`👎`,thumbsdown:`👎`,fist_raised:`✊`,fist:`✊`,fist_oncoming:`👊`,facepunch:`👊`,punch:`👊`,fist_left:`🤛`,fist_right:`🤜`,clap:`👏`,raised_hands:`🙌`,heart_hands:`🫶`,open_hands:`👐`,palms_up_together:`🤲`,handshake:`🤝`,pray:`🙏`,writing_hand:`✍️`,nail_care:`💅`,selfie:`🤳`,muscle:`💪`,mechanical_arm:`🦾`,mechanical_leg:`🦿`,leg:`🦵`,foot:`🦶`,ear:`👂`,ear_with_hearing_aid:`🦻`,nose:`👃`,brain:`🧠`,anatomical_heart:`🫀`,lungs:`🫁`,tooth:`🦷`,bone:`🦴`,eyes:`👀`,eye:`👁️`,tongue:`👅`,lips:`👄`,biting_lip:`🫦`,baby:`👶`,child:`🧒`,boy:`👦`,girl:`👧`,adult:`🧑`,blond_haired_person:`👱`,man:`👨`,bearded_person:`🧔`,man_beard:`🧔♂️`,woman_beard:`🧔♀️`,red_haired_man:`👨🦰`,curly_haired_man:`👨🦱`,white_haired_man:`👨🦳`,bald_man:`👨🦲`,woman:`👩`,red_haired_woman:`👩🦰`,person_red_hair:`🧑🦰`,curly_haired_woman:`👩🦱`,person_curly_hair:`🧑🦱`,white_haired_woman:`👩🦳`,person_white_hair:`🧑🦳`,bald_woman:`👩🦲`,person_bald:`🧑🦲`,blond_haired_woman:`👱♀️`,blonde_woman:`👱♀️`,blond_haired_man:`👱♂️`,older_adult:`🧓`,older_man:`👴`,older_woman:`👵`,frowning_person:`🙍`,frowning_man:`🙍♂️`,frowning_woman:`🙍♀️`,pouting_face:`🙎`,pouting_man:`🙎♂️`,pouting_woman:`🙎♀️`,no_good:`🙅`,no_good_man:`🙅♂️`,ng_man:`🙅♂️`,no_good_woman:`🙅♀️`,ng_woman:`🙅♀️`,ok_person:`🙆`,ok_man:`🙆♂️`,ok_woman:`🙆♀️`,tipping_hand_person:`💁`,information_desk_person:`💁`,tipping_hand_man:`💁♂️`,sassy_man:`💁♂️`,tipping_hand_woman:`💁♀️`,sassy_woman:`💁♀️`,raising_hand:`🙋`,raising_hand_man:`🙋♂️`,raising_hand_woman:`🙋♀️`,deaf_person:`🧏`,deaf_man:`🧏♂️`,deaf_woman:`🧏♀️`,bow:`🙇`,bowing_man:`🙇♂️`,bowing_woman:`🙇♀️`,facepalm:`🤦`,man_facepalming:`🤦♂️`,woman_facepalming:`🤦♀️`,shrug:`🤷`,man_shrugging:`🤷♂️`,woman_shrugging:`🤷♀️`,health_worker:`🧑⚕️`,man_health_worker:`👨⚕️`,woman_health_worker:`👩⚕️`,student:`🧑🎓`,man_student:`👨🎓`,woman_student:`👩🎓`,teacher:`🧑🏫`,man_teacher:`👨🏫`,woman_teacher:`👩🏫`,judge:`🧑⚖️`,man_judge:`👨⚖️`,woman_judge:`👩⚖️`,farmer:`🧑🌾`,man_farmer:`👨🌾`,woman_farmer:`👩🌾`,cook:`🧑🍳`,man_cook:`👨🍳`,woman_cook:`👩🍳`,mechanic:`🧑🔧`,man_mechanic:`👨🔧`,woman_mechanic:`👩🔧`,factory_worker:`🧑🏭`,man_factory_worker:`👨🏭`,woman_factory_worker:`👩🏭`,office_worker:`🧑💼`,man_office_worker:`👨💼`,woman_office_worker:`👩💼`,scientist:`🧑🔬`,man_scientist:`👨🔬`,woman_scientist:`👩🔬`,technologist:`🧑💻`,man_technologist:`👨💻`,woman_technologist:`👩💻`,singer:`🧑🎤`,man_singer:`👨🎤`,woman_singer:`👩🎤`,artist:`🧑🎨`,man_artist:`👨🎨`,woman_artist:`👩🎨`,pilot:`🧑✈️`,man_pilot:`👨✈️`,woman_pilot:`👩✈️`,astronaut:`🧑🚀`,man_astronaut:`👨🚀`,woman_astronaut:`👩🚀`,firefighter:`🧑🚒`,man_firefighter:`👨🚒`,woman_firefighter:`👩🚒`,police_officer:`👮`,cop:`👮`,policeman:`👮♂️`,policewoman:`👮♀️`,detective:`🕵️`,male_detective:`🕵️♂️`,female_detective:`🕵️♀️`,guard:`💂`,guardsman:`💂♂️`,guardswoman:`💂♀️`,ninja:`🥷`,construction_worker:`👷`,construction_worker_man:`👷♂️`,construction_worker_woman:`👷♀️`,person_with_crown:`🫅`,prince:`🤴`,princess:`👸`,person_with_turban:`👳`,man_with_turban:`👳♂️`,woman_with_turban:`👳♀️`,man_with_gua_pi_mao:`👲`,woman_with_headscarf:`🧕`,person_in_tuxedo:`🤵`,man_in_tuxedo:`🤵♂️`,woman_in_tuxedo:`🤵♀️`,person_with_veil:`👰`,man_with_veil:`👰♂️`,woman_with_veil:`👰♀️`,bride_with_veil:`👰♀️`,pregnant_woman:`🤰`,pregnant_man:`🫃`,pregnant_person:`🫄`,breast_feeding:`🤱`,woman_feeding_baby:`👩🍼`,man_feeding_baby:`👨🍼`,person_feeding_baby:`🧑🍼`,angel:`👼`,santa:`🎅`,mrs_claus:`🤶`,mx_claus:`🧑🎄`,superhero:`🦸`,superhero_man:`🦸♂️`,superhero_woman:`🦸♀️`,supervillain:`🦹`,supervillain_man:`🦹♂️`,supervillain_woman:`🦹♀️`,mage:`🧙`,mage_man:`🧙♂️`,mage_woman:`🧙♀️`,fairy:`🧚`,fairy_man:`🧚♂️`,fairy_woman:`🧚♀️`,vampire:`🧛`,vampire_man:`🧛♂️`,vampire_woman:`🧛♀️`,merperson:`🧜`,merman:`🧜♂️`,mermaid:`🧜♀️`,elf:`🧝`,elf_man:`🧝♂️`,elf_woman:`🧝♀️`,genie:`🧞`,genie_man:`🧞♂️`,genie_woman:`🧞♀️`,zombie:`🧟`,zombie_man:`🧟♂️`,zombie_woman:`🧟♀️`,troll:`🧌`,massage:`💆`,massage_man:`💆♂️`,massage_woman:`💆♀️`,haircut:`💇`,haircut_man:`💇♂️`,haircut_woman:`💇♀️`,walking:`🚶`,walking_man:`🚶♂️`,walking_woman:`🚶♀️`,standing_person:`🧍`,standing_man:`🧍♂️`,standing_woman:`🧍♀️`,kneeling_person:`🧎`,kneeling_man:`🧎♂️`,kneeling_woman:`🧎♀️`,person_with_probing_cane:`🧑🦯`,man_with_probing_cane:`👨🦯`,woman_with_probing_cane:`👩🦯`,person_in_motorized_wheelchair:`🧑🦼`,man_in_motorized_wheelchair:`👨🦼`,woman_in_motorized_wheelchair:`👩🦼`,person_in_manual_wheelchair:`🧑🦽`,man_in_manual_wheelchair:`👨🦽`,woman_in_manual_wheelchair:`👩🦽`,runner:`🏃`,running:`🏃`,running_man:`🏃♂️`,running_woman:`🏃♀️`,woman_dancing:`💃`,dancer:`💃`,man_dancing:`🕺`,business_suit_levitating:`🕴️`,dancers:`👯`,dancing_men:`👯♂️`,dancing_women:`👯♀️`,sauna_person:`🧖`,sauna_man:`🧖♂️`,sauna_woman:`🧖♀️`,climbing:`🧗`,climbing_man:`🧗♂️`,climbing_woman:`🧗♀️`,person_fencing:`🤺`,horse_racing:`🏇`,skier:`⛷️`,snowboarder:`🏂`,golfing:`🏌️`,golfing_man:`🏌️♂️`,golfing_woman:`🏌️♀️`,surfer:`🏄`,surfing_man:`🏄♂️`,surfing_woman:`🏄♀️`,rowboat:`🚣`,rowing_man:`🚣♂️`,rowing_woman:`🚣♀️`,swimmer:`🏊`,swimming_man:`🏊♂️`,swimming_woman:`🏊♀️`,bouncing_ball_person:`⛹️`,bouncing_ball_man:`⛹️♂️`,basketball_man:`⛹️♂️`,bouncing_ball_woman:`⛹️♀️`,basketball_woman:`⛹️♀️`,weight_lifting:`🏋️`,weight_lifting_man:`🏋️♂️`,weight_lifting_woman:`🏋️♀️`,bicyclist:`🚴`,biking_man:`🚴♂️`,biking_woman:`🚴♀️`,mountain_bicyclist:`🚵`,mountain_biking_man:`🚵♂️`,mountain_biking_woman:`🚵♀️`,cartwheeling:`🤸`,man_cartwheeling:`🤸♂️`,woman_cartwheeling:`🤸♀️`,wrestling:`🤼`,men_wrestling:`🤼♂️`,women_wrestling:`🤼♀️`,water_polo:`🤽`,man_playing_water_polo:`🤽♂️`,woman_playing_water_polo:`🤽♀️`,handball_person:`🤾`,man_playing_handball:`🤾♂️`,woman_playing_handball:`🤾♀️`,juggling_person:`🤹`,man_juggling:`🤹♂️`,woman_juggling:`🤹♀️`,lotus_position:`🧘`,lotus_position_man:`🧘♂️`,lotus_position_woman:`🧘♀️`,bath:`🛀`,sleeping_bed:`🛌`,people_holding_hands:`🧑🤝🧑`,two_women_holding_hands:`👭`,couple:`👫`,two_men_holding_hands:`👬`,couplekiss:`💏`,couplekiss_man_woman:`👩❤️💋👨`,couplekiss_man_man:`👨❤️💋👨`,couplekiss_woman_woman:`👩❤️💋👩`,couple_with_heart:`💑`,couple_with_heart_woman_man:`👩❤️👨`,couple_with_heart_man_man:`👨❤️👨`,couple_with_heart_woman_woman:`👩❤️👩`,family:`👪`,family_man_woman_boy:`👨👩👦`,family_man_woman_girl:`👨👩👧`,family_man_woman_girl_boy:`👨👩👧👦`,family_man_woman_boy_boy:`👨👩👦👦`,family_man_woman_girl_girl:`👨👩👧👧`,family_man_man_boy:`👨👨👦`,family_man_man_girl:`👨👨👧`,family_man_man_girl_boy:`👨👨👧👦`,family_man_man_boy_boy:`👨👨👦👦`,family_man_man_girl_girl:`👨👨👧👧`,family_woman_woman_boy:`👩👩👦`,family_woman_woman_girl:`👩👩👧`,family_woman_woman_girl_boy:`👩👩👧👦`,family_woman_woman_boy_boy:`👩👩👦👦`,family_woman_woman_girl_girl:`👩👩👧👧`,family_man_boy:`👨👦`,family_man_boy_boy:`👨👦👦`,family_man_girl:`👨👧`,family_man_girl_boy:`👨👧👦`,family_man_girl_girl:`👨👧👧`,family_woman_boy:`👩👦`,family_woman_boy_boy:`👩👦👦`,family_woman_girl:`👩👧`,family_woman_girl_boy:`👩👧👦`,family_woman_girl_girl:`👩👧👧`,speaking_head:`🗣️`,bust_in_silhouette:`👤`,busts_in_silhouette:`👥`,people_hugging:`🫂`,footprints:`👣`,monkey_face:`🐵`,monkey:`🐒`,gorilla:`🦍`,orangutan:`🦧`,dog:`🐶`,dog2:`🐕`,guide_dog:`🦮`,service_dog:`🐕🦺`,poodle:`🐩`,wolf:`🐺`,fox_face:`🦊`,raccoon:`🦝`,cat:`🐱`,cat2:`🐈`,black_cat:`🐈⬛`,lion:`🦁`,tiger:`🐯`,tiger2:`🐅`,leopard:`🐆`,horse:`🐴`,moose:`🫎`,donkey:`🫏`,racehorse:`🐎`,unicorn:`🦄`,zebra:`🦓`,deer:`🦌`,bison:`🦬`,cow:`🐮`,ox:`🐂`,water_buffalo:`🐃`,cow2:`🐄`,pig:`🐷`,pig2:`🐖`,boar:`🐗`,pig_nose:`🐽`,ram:`🐏`,sheep:`🐑`,goat:`🐐`,dromedary_camel:`🐪`,camel:`🐫`,llama:`🦙`,giraffe:`🦒`,elephant:`🐘`,mammoth:`🦣`,rhinoceros:`🦏`,hippopotamus:`🦛`,mouse:`🐭`,mouse2:`🐁`,rat:`🐀`,hamster:`🐹`,rabbit:`🐰`,rabbit2:`🐇`,chipmunk:`🐿️`,beaver:`🦫`,hedgehog:`🦔`,bat:`🦇`,bear:`🐻`,polar_bear:`🐻❄️`,koala:`🐨`,panda_face:`🐼`,sloth:`🦥`,otter:`🦦`,skunk:`🦨`,kangaroo:`🦘`,badger:`🦡`,feet:`🐾`,paw_prints:`🐾`,turkey:`🦃`,chicken:`🐔`,rooster:`🐓`,hatching_chick:`🐣`,baby_chick:`🐤`,hatched_chick:`🐥`,bird:`🐦`,penguin:`🐧`,dove:`🕊️`,eagle:`🦅`,duck:`🦆`,swan:`🦢`,owl:`🦉`,dodo:`🦤`,feather:`🪶`,flamingo:`🦩`,peacock:`🦚`,parrot:`🦜`,wing:`🪽`,black_bird:`🐦⬛`,goose:`🪿`,frog:`🐸`,crocodile:`🐊`,turtle:`🐢`,lizard:`🦎`,snake:`🐍`,dragon_face:`🐲`,dragon:`🐉`,sauropod:`🦕`,"t-rex":`🦖`,whale:`🐳`,whale2:`🐋`,dolphin:`🐬`,flipper:`🐬`,seal:`🦭`,fish:`🐟`,tropical_fish:`🐠`,blowfish:`🐡`,shark:`🦈`,octopus:`🐙`,shell:`🐚`,coral:`🪸`,jellyfish:`🪼`,snail:`🐌`,butterfly:`🦋`,bug:`🐛`,ant:`🐜`,bee:`🐝`,honeybee:`🐝`,beetle:`🪲`,lady_beetle:`🐞`,cricket:`🦗`,cockroach:`🪳`,spider:`🕷️`,spider_web:`🕸️`,scorpion:`🦂`,mosquito:`🦟`,fly:`🪰`,worm:`🪱`,microbe:`🦠`,bouquet:`💐`,cherry_blossom:`🌸`,white_flower:`💮`,lotus:`🪷`,rosette:`🏵️`,rose:`🌹`,wilted_flower:`🥀`,hibiscus:`🌺`,sunflower:`🌻`,blossom:`🌼`,tulip:`🌷`,hyacinth:`🪻`,seedling:`🌱`,potted_plant:`🪴`,evergreen_tree:`🌲`,deciduous_tree:`🌳`,palm_tree:`🌴`,cactus:`🌵`,ear_of_rice:`🌾`,herb:`🌿`,shamrock:`☘️`,four_leaf_clover:`🍀`,maple_leaf:`🍁`,fallen_leaf:`🍂`,leaves:`🍃`,empty_nest:`🪹`,nest_with_eggs:`🪺`,mushroom:`🍄`,grapes:`🍇`,melon:`🍈`,watermelon:`🍉`,tangerine:`🍊`,orange:`🍊`,mandarin:`🍊`,lemon:`🍋`,banana:`🍌`,pineapple:`🍍`,mango:`🥭`,apple:`🍎`,green_apple:`🍏`,pear:`🍐`,peach:`🍑`,cherries:`🍒`,strawberry:`🍓`,blueberries:`🫐`,kiwi_fruit:`🥝`,tomato:`🍅`,olive:`🫒`,coconut:`🥥`,avocado:`🥑`,eggplant:`🍆`,potato:`🥔`,carrot:`🥕`,corn:`🌽`,hot_pepper:`🌶️`,bell_pepper:`🫑`,cucumber:`🥒`,leafy_green:`🥬`,broccoli:`🥦`,garlic:`🧄`,onion:`🧅`,peanuts:`🥜`,beans:`🫘`,chestnut:`🌰`,ginger_root:`🫚`,pea_pod:`🫛`,bread:`🍞`,croissant:`🥐`,baguette_bread:`🥖`,flatbread:`🫓`,pretzel:`🥨`,bagel:`🥯`,pancakes:`🥞`,waffle:`🧇`,cheese:`🧀`,meat_on_bone:`🍖`,poultry_leg:`🍗`,cut_of_meat:`🥩`,bacon:`🥓`,hamburger:`🍔`,fries:`🍟`,pizza:`🍕`,hotdog:`🌭`,sandwich:`🥪`,taco:`🌮`,burrito:`🌯`,tamale:`🫔`,stuffed_flatbread:`🥙`,falafel:`🧆`,egg:`🥚`,fried_egg:`🍳`,shallow_pan_of_food:`🥘`,stew:`🍲`,fondue:`🫕`,bowl_with_spoon:`🥣`,green_salad:`🥗`,popcorn:`🍿`,butter:`🧈`,salt:`🧂`,canned_food:`🥫`,bento:`🍱`,rice_cracker:`🍘`,rice_ball:`🍙`,rice:`🍚`,curry:`🍛`,ramen:`🍜`,spaghetti:`🍝`,sweet_potato:`🍠`,oden:`🍢`,sushi:`🍣`,fried_shrimp:`🍤`,fish_cake:`🍥`,moon_cake:`🥮`,dango:`🍡`,dumpling:`🥟`,fortune_cookie:`🥠`,takeout_box:`🥡`,crab:`🦀`,lobster:`🦞`,shrimp:`🦐`,squid:`🦑`,oyster:`🦪`,icecream:`🍦`,shaved_ice:`🍧`,ice_cream:`🍨`,doughnut:`🍩`,cookie:`🍪`,birthday:`🎂`,cake:`🍰`,cupcake:`🧁`,pie:`🥧`,chocolate_bar:`🍫`,candy:`🍬`,lollipop:`🍭`,custard:`🍮`,honey_pot:`🍯`,baby_bottle:`🍼`,milk_glass:`🥛`,coffee:`☕`,teapot:`🫖`,tea:`🍵`,sake:`🍶`,champagne:`🍾`,wine_glass:`🍷`,cocktail:`🍸`,tropical_drink:`🍹`,beer:`🍺`,beers:`🍻`,clinking_glasses:`🥂`,tumbler_glass:`🥃`,pouring_liquid:`🫗`,cup_with_straw:`🥤`,bubble_tea:`🧋`,beverage_box:`🧃`,mate:`🧉`,ice_cube:`🧊`,chopsticks:`🥢`,plate_with_cutlery:`🍽️`,fork_and_knife:`🍴`,spoon:`🥄`,hocho:`🔪`,knife:`🔪`,jar:`🫙`,amphora:`🏺`,earth_africa:`🌍`,earth_americas:`🌎`,earth_asia:`🌏`,globe_with_meridians:`🌐`,world_map:`🗺️`,japan:`🗾`,compass:`🧭`,mountain_snow:`🏔️`,mountain:`⛰️`,volcano:`🌋`,mount_fuji:`🗻`,camping:`🏕️`,beach_umbrella:`🏖️`,desert:`🏜️`,desert_island:`🏝️`,national_park:`🏞️`,stadium:`🏟️`,classical_building:`🏛️`,building_construction:`🏗️`,bricks:`🧱`,rock:`🪨`,wood:`🪵`,hut:`🛖`,houses:`🏘️`,derelict_house:`🏚️`,house:`🏠`,house_with_garden:`🏡`,office:`🏢`,post_office:`🏣`,european_post_office:`🏤`,hospital:`🏥`,bank:`🏦`,hotel:`🏨`,love_hotel:`🏩`,convenience_store:`🏪`,school:`🏫`,department_store:`🏬`,factory:`🏭`,japanese_castle:`🏯`,european_castle:`🏰`,wedding:`💒`,tokyo_tower:`🗼`,statue_of_liberty:`🗽`,church:`⛪`,mosque:`🕌`,hindu_temple:`🛕`,synagogue:`🕍`,shinto_shrine:`⛩️`,kaaba:`🕋`,fountain:`⛲`,tent:`⛺`,foggy:`🌁`,night_with_stars:`🌃`,cityscape:`🏙️`,sunrise_over_mountains:`🌄`,sunrise:`🌅`,city_sunset:`🌆`,city_sunrise:`🌇`,bridge_at_night:`🌉`,hotsprings:`♨️`,carousel_horse:`🎠`,playground_slide:`🛝`,ferris_wheel:`🎡`,roller_coaster:`🎢`,barber:`💈`,circus_tent:`🎪`,steam_locomotive:`🚂`,railway_car:`🚃`,bullettrain_side:`🚄`,bullettrain_front:`🚅`,train2:`🚆`,metro:`🚇`,light_rail:`🚈`,station:`🚉`,tram:`🚊`,monorail:`🚝`,mountain_railway:`🚞`,train:`🚋`,bus:`🚌`,oncoming_bus:`🚍`,trolleybus:`🚎`,minibus:`🚐`,ambulance:`🚑`,fire_engine:`🚒`,police_car:`🚓`,oncoming_police_car:`🚔`,taxi:`🚕`,oncoming_taxi:`🚖`,car:`🚗`,red_car:`🚗`,oncoming_automobile:`🚘`,blue_car:`🚙`,pickup_truck:`🛻`,truck:`🚚`,articulated_lorry:`🚛`,tractor:`🚜`,racing_car:`🏎️`,motorcycle:`🏍️`,motor_scooter:`🛵`,manual_wheelchair:`🦽`,motorized_wheelchair:`🦼`,auto_rickshaw:`🛺`,bike:`🚲`,kick_scooter:`🛴`,skateboard:`🛹`,roller_skate:`🛼`,busstop:`🚏`,motorway:`🛣️`,railway_track:`🛤️`,oil_drum:`🛢️`,fuelpump:`⛽`,wheel:`🛞`,rotating_light:`🚨`,traffic_light:`🚥`,vertical_traffic_light:`🚦`,stop_sign:`🛑`,construction:`🚧`,anchor:`⚓`,ring_buoy:`🛟`,boat:`⛵`,sailboat:`⛵`,canoe:`🛶`,speedboat:`🚤`,passenger_ship:`🛳️`,ferry:`⛴️`,motor_boat:`🛥️`,ship:`🚢`,airplane:`✈️`,small_airplane:`🛩️`,flight_departure:`🛫`,flight_arrival:`🛬`,parachute:`🪂`,seat:`💺`,helicopter:`🚁`,suspension_railway:`🚟`,mountain_cableway:`🚠`,aerial_tramway:`🚡`,artificial_satellite:`🛰️`,rocket:`🚀`,flying_saucer:`🛸`,bellhop_bell:`🛎️`,luggage:`🧳`,hourglass:`⌛`,hourglass_flowing_sand:`⏳`,watch:`⌚`,alarm_clock:`⏰`,stopwatch:`⏱️`,timer_clock:`⏲️`,mantelpiece_clock:`🕰️`,clock12:`🕛`,clock1230:`🕧`,clock1:`🕐`,clock130:`🕜`,clock2:`🕑`,clock230:`🕝`,clock3:`🕒`,clock330:`🕞`,clock4:`🕓`,clock430:`🕟`,clock5:`🕔`,clock530:`🕠`,clock6:`🕕`,clock630:`🕡`,clock7:`🕖`,clock730:`🕢`,clock8:`🕗`,clock830:`🕣`,clock9:`🕘`,clock930:`🕤`,clock10:`🕙`,clock1030:`🕥`,clock11:`🕚`,clock1130:`🕦`,new_moon:`🌑`,waxing_crescent_moon:`🌒`,first_quarter_moon:`🌓`,moon:`🌔`,waxing_gibbous_moon:`🌔`,full_moon:`🌕`,waning_gibbous_moon:`🌖`,last_quarter_moon:`🌗`,waning_crescent_moon:`🌘`,crescent_moon:`🌙`,new_moon_with_face:`🌚`,first_quarter_moon_with_face:`🌛`,last_quarter_moon_with_face:`🌜`,thermometer:`🌡️`,sunny:`☀️`,full_moon_with_face:`🌝`,sun_with_face:`🌞`,ringed_planet:`🪐`,star:`⭐`,star2:`🌟`,stars:`🌠`,milky_way:`🌌`,cloud:`☁️`,partly_sunny:`⛅`,cloud_with_lightning_and_rain:`⛈️`,sun_behind_small_cloud:`🌤️`,sun_behind_large_cloud:`🌥️`,sun_behind_rain_cloud:`🌦️`,cloud_with_rain:`🌧️`,cloud_with_snow:`🌨️`,cloud_with_lightning:`🌩️`,tornado:`🌪️`,fog:`🌫️`,wind_face:`🌬️`,cyclone:`🌀`,rainbow:`🌈`,closed_umbrella:`🌂`,open_umbrella:`☂️`,umbrella:`☔`,parasol_on_ground:`⛱️`,zap:`⚡`,snowflake:`❄️`,snowman_with_snow:`☃️`,snowman:`⛄`,comet:`☄️`,fire:`🔥`,droplet:`💧`,ocean:`🌊`,jack_o_lantern:`🎃`,christmas_tree:`🎄`,fireworks:`🎆`,sparkler:`🎇`,firecracker:`🧨`,sparkles:`✨`,balloon:`🎈`,tada:`🎉`,confetti_ball:`🎊`,tanabata_tree:`🎋`,bamboo:`🎍`,dolls:`🎎`,flags:`🎏`,wind_chime:`🎐`,rice_scene:`🎑`,red_envelope:`🧧`,ribbon:`🎀`,gift:`🎁`,reminder_ribbon:`🎗️`,tickets:`🎟️`,ticket:`🎫`,medal_military:`🎖️`,trophy:`🏆`,medal_sports:`🏅`,"1st_place_medal":`🥇`,"2nd_place_medal":`🥈`,"3rd_place_medal":`🥉`,soccer:`⚽`,baseball:`⚾`,softball:`🥎`,basketball:`🏀`,volleyball:`🏐`,football:`🏈`,rugby_football:`🏉`,tennis:`🎾`,flying_disc:`🥏`,bowling:`🎳`,cricket_game:`🏏`,field_hockey:`🏑`,ice_hockey:`🏒`,lacrosse:`🥍`,ping_pong:`🏓`,badminton:`🏸`,boxing_glove:`🥊`,martial_arts_uniform:`🥋`,goal_net:`🥅`,golf:`⛳`,ice_skate:`⛸️`,fishing_pole_and_fish:`🎣`,diving_mask:`🤿`,running_shirt_with_sash:`🎽`,ski:`🎿`,sled:`🛷`,curling_stone:`🥌`,dart:`🎯`,yo_yo:`🪀`,kite:`🪁`,gun:`🔫`,"8ball":`🎱`,crystal_ball:`🔮`,magic_wand:`🪄`,video_game:`🎮`,joystick:`🕹️`,slot_machine:`🎰`,game_die:`🎲`,jigsaw:`🧩`,teddy_bear:`🧸`,pinata:`🪅`,mirror_ball:`🪩`,nesting_dolls:`🪆`,spades:`♠️`,hearts:`♥️`,diamonds:`♦️`,clubs:`♣️`,chess_pawn:`♟️`,black_joker:`🃏`,mahjong:`🀄`,flower_playing_cards:`🎴`,performing_arts:`🎭`,framed_picture:`🖼️`,art:`🎨`,thread:`🧵`,sewing_needle:`🪡`,yarn:`🧶`,knot:`🪢`,eyeglasses:`👓`,dark_sunglasses:`🕶️`,goggles:`🥽`,lab_coat:`🥼`,safety_vest:`🦺`,necktie:`👔`,shirt:`👕`,tshirt:`👕`,jeans:`👖`,scarf:`🧣`,gloves:`🧤`,coat:`🧥`,socks:`🧦`,dress:`👗`,kimono:`👘`,sari:`🥻`,one_piece_swimsuit:`🩱`,swim_brief:`🩲`,shorts:`🩳`,bikini:`👙`,womans_clothes:`👚`,folding_hand_fan:`🪭`,purse:`👛`,handbag:`👜`,pouch:`👝`,shopping:`🛍️`,school_satchel:`🎒`,thong_sandal:`🩴`,mans_shoe:`👞`,shoe:`👞`,athletic_shoe:`👟`,hiking_boot:`🥾`,flat_shoe:`🥿`,high_heel:`👠`,sandal:`👡`,ballet_shoes:`🩰`,boot:`👢`,hair_pick:`🪮`,crown:`👑`,womans_hat:`👒`,tophat:`🎩`,mortar_board:`🎓`,billed_cap:`🧢`,military_helmet:`🪖`,rescue_worker_helmet:`⛑️`,prayer_beads:`📿`,lipstick:`💄`,ring:`💍`,gem:`💎`,mute:`🔇`,speaker:`🔈`,sound:`🔉`,loud_sound:`🔊`,loudspeaker:`📢`,mega:`📣`,postal_horn:`📯`,bell:`🔔`,no_bell:`🔕`,musical_score:`🎼`,musical_note:`🎵`,notes:`🎶`,studio_microphone:`🎙️`,level_slider:`🎚️`,control_knobs:`🎛️`,microphone:`🎤`,headphones:`🎧`,radio:`📻`,saxophone:`🎷`,accordion:`🪗`,guitar:`🎸`,musical_keyboard:`🎹`,trumpet:`🎺`,violin:`🎻`,banjo:`🪕`,drum:`🥁`,long_drum:`🪘`,maracas:`🪇`,flute:`🪈`,iphone:`📱`,calling:`📲`,phone:`☎️`,telephone:`☎️`,telephone_receiver:`📞`,pager:`📟`,fax:`📠`,battery:`🔋`,low_battery:`🪫`,electric_plug:`🔌`,computer:`💻`,desktop_computer:`🖥️`,printer:`🖨️`,keyboard:`⌨️`,computer_mouse:`🖱️`,trackball:`🖲️`,minidisc:`💽`,floppy_disk:`💾`,cd:`💿`,dvd:`📀`,abacus:`🧮`,movie_camera:`🎥`,film_strip:`🎞️`,film_projector:`📽️`,clapper:`🎬`,tv:`📺`,camera:`📷`,camera_flash:`📸`,video_camera:`📹`,vhs:`📼`,mag:`🔍`,mag_right:`🔎`,candle:`🕯️`,bulb:`💡`,flashlight:`🔦`,izakaya_lantern:`🏮`,lantern:`🏮`,diya_lamp:`🪔`,notebook_with_decorative_cover:`📔`,closed_book:`📕`,book:`📖`,open_book:`📖`,green_book:`📗`,blue_book:`📘`,orange_book:`📙`,books:`📚`,notebook:`📓`,ledger:`📒`,page_with_curl:`📃`,scroll:`📜`,page_facing_up:`📄`,newspaper:`📰`,newspaper_roll:`🗞️`,bookmark_tabs:`📑`,bookmark:`🔖`,label:`🏷️`,moneybag:`💰`,coin:`🪙`,yen:`💴`,dollar:`💵`,euro:`💶`,pound:`💷`,money_with_wings:`💸`,credit_card:`💳`,receipt:`🧾`,chart:`💹`,envelope:`✉️`,email:`📧`,"e-mail":`📧`,incoming_envelope:`📨`,envelope_with_arrow:`📩`,outbox_tray:`📤`,inbox_tray:`📥`,package:`📦`,mailbox:`📫`,mailbox_closed:`📪`,mailbox_with_mail:`📬`,mailbox_with_no_mail:`📭`,postbox:`📮`,ballot_box:`🗳️`,pencil2:`✏️`,black_nib:`✒️`,fountain_pen:`🖋️`,pen:`🖊️`,paintbrush:`🖌️`,crayon:`🖍️`,memo:`📝`,pencil:`📝`,briefcase:`💼`,file_folder:`📁`,open_file_folder:`📂`,card_index_dividers:`🗂️`,date:`📅`,calendar:`📆`,spiral_notepad:`🗒️`,spiral_calendar:`🗓️`,card_index:`📇`,chart_with_upwards_trend:`📈`,chart_with_downwards_trend:`📉`,bar_chart:`📊`,clipboard:`📋`,pushpin:`📌`,round_pushpin:`📍`,paperclip:`📎`,paperclips:`🖇️`,straight_ruler:`📏`,triangular_ruler:`📐`,scissors:`✂️`,card_file_box:`🗃️`,file_cabinet:`🗄️`,wastebasket:`🗑️`,lock:`🔒`,unlock:`🔓`,lock_with_ink_pen:`🔏`,closed_lock_with_key:`🔐`,key:`🔑`,old_key:`🗝️`,hammer:`🔨`,axe:`🪓`,pick:`⛏️`,hammer_and_pick:`⚒️`,hammer_and_wrench:`🛠️`,dagger:`🗡️`,crossed_swords:`⚔️`,bomb:`💣`,boomerang:`🪃`,bow_and_arrow:`🏹`,shield:`🛡️`,carpentry_saw:`🪚`,wrench:`🔧`,screwdriver:`🪛`,nut_and_bolt:`🔩`,gear:`⚙️`,clamp:`🗜️`,balance_scale:`⚖️`,probing_cane:`🦯`,link:`🔗`,chains:`⛓️`,hook:`🪝`,toolbox:`🧰`,magnet:`🧲`,ladder:`🪜`,alembic:`⚗️`,test_tube:`🧪`,petri_dish:`🧫`,dna:`🧬`,microscope:`🔬`,telescope:`🔭`,satellite:`📡`,syringe:`💉`,drop_of_blood:`🩸`,pill:`💊`,adhesive_bandage:`🩹`,crutch:`🩼`,stethoscope:`🩺`,x_ray:`🩻`,door:`🚪`,elevator:`🛗`,mirror:`🪞`,window:`🪟`,bed:`🛏️`,couch_and_lamp:`🛋️`,chair:`🪑`,toilet:`🚽`,plunger:`🪠`,shower:`🚿`,bathtub:`🛁`,mouse_trap:`🪤`,razor:`🪒`,lotion_bottle:`🧴`,safety_pin:`🧷`,broom:`🧹`,basket:`🧺`,roll_of_paper:`🧻`,bucket:`🪣`,soap:`🧼`,bubbles:`🫧`,toothbrush:`🪥`,sponge:`🧽`,fire_extinguisher:`🧯`,shopping_cart:`🛒`,smoking:`🚬`,coffin:`⚰️`,headstone:`🪦`,funeral_urn:`⚱️`,nazar_amulet:`🧿`,hamsa:`🪬`,moyai:`🗿`,placard:`🪧`,identification_card:`🪪`,atm:`🏧`,put_litter_in_its_place:`🚮`,potable_water:`🚰`,wheelchair:`♿`,mens:`🚹`,womens:`🚺`,restroom:`🚻`,baby_symbol:`🚼`,wc:`🚾`,passport_control:`🛂`,customs:`🛃`,baggage_claim:`🛄`,left_luggage:`🛅`,warning:`⚠️`,children_crossing:`🚸`,no_entry:`⛔`,no_entry_sign:`🚫`,no_bicycles:`🚳`,no_smoking:`🚭`,do_not_litter:`🚯`,"non-potable_water":`🚱`,no_pedestrians:`🚷`,no_mobile_phones:`📵`,underage:`🔞`,radioactive:`☢️`,biohazard:`☣️`,arrow_up:`⬆️`,arrow_upper_right:`↗️`,arrow_right:`➡️`,arrow_lower_right:`↘️`,arrow_down:`⬇️`,arrow_lower_left:`↙️`,arrow_left:`⬅️`,arrow_upper_left:`↖️`,arrow_up_down:`↕️`,left_right_arrow:`↔️`,leftwards_arrow_with_hook:`↩️`,arrow_right_hook:`↪️`,arrow_heading_up:`⤴️`,arrow_heading_down:`⤵️`,arrows_clockwise:`🔃`,arrows_counterclockwise:`🔄`,back:`🔙`,end:`🔚`,on:`🔛`,soon:`🔜`,top:`🔝`,place_of_worship:`🛐`,atom_symbol:`⚛️`,om:`🕉️`,star_of_david:`✡️`,wheel_of_dharma:`☸️`,yin_yang:`☯️`,latin_cross:`✝️`,orthodox_cross:`☦️`,star_and_crescent:`☪️`,peace_symbol:`☮️`,menorah:`🕎`,six_pointed_star:`🔯`,khanda:`🪯`,aries:`♈`,taurus:`♉`,gemini:`♊`,cancer:`♋`,leo:`♌`,virgo:`♍`,libra:`♎`,scorpius:`♏`,sagittarius:`♐`,capricorn:`♑`,aquarius:`♒`,pisces:`♓`,ophiuchus:`⛎`,twisted_rightwards_arrows:`🔀`,repeat:`🔁`,repeat_one:`🔂`,arrow_forward:`▶️`,fast_forward:`⏩`,next_track_button:`⏭️`,play_or_pause_button:`⏯️`,arrow_backward:`◀️`,rewind:`⏪`,previous_track_button:`⏮️`,arrow_up_small:`🔼`,arrow_double_up:`⏫`,arrow_down_small:`🔽`,arrow_double_down:`⏬`,pause_button:`⏸️`,stop_button:`⏹️`,record_button:`⏺️`,eject_button:`⏏️`,cinema:`🎦`,low_brightness:`🔅`,high_brightness:`🔆`,signal_strength:`📶`,wireless:`🛜`,vibration_mode:`📳`,mobile_phone_off:`📴`,female_sign:`♀️`,male_sign:`♂️`,transgender_symbol:`⚧️`,heavy_multiplication_x:`✖️`,heavy_plus_sign:`➕`,heavy_minus_sign:`➖`,heavy_division_sign:`➗`,heavy_equals_sign:`🟰`,infinity:`♾️`,bangbang:`‼️`,interrobang:`⁉️`,question:`❓`,grey_question:`❔`,grey_exclamation:`❕`,exclamation:`❗`,heavy_exclamation_mark:`❗`,wavy_dash:`〰️`,currency_exchange:`💱`,heavy_dollar_sign:`💲`,medical_symbol:`⚕️`,recycle:`♻️`,fleur_de_lis:`⚜️`,trident:`🔱`,name_badge:`📛`,beginner:`🔰`,o:`⭕`,white_check_mark:`✅`,ballot_box_with_check:`☑️`,heavy_check_mark:`✔️`,x:`❌`,negative_squared_cross_mark:`❎`,curly_loop:`➰`,loop:`➿`,part_alternation_mark:`〽️`,eight_spoked_asterisk:`✳️`,eight_pointed_black_star:`✴️`,sparkle:`❇️`,copyright:`©️`,registered:`®️`,tm:`™️`,hash:`#️⃣`,asterisk:`*️⃣`,zero:`0️⃣`,one:`1️⃣`,two:`2️⃣`,three:`3️⃣`,four:`4️⃣`,five:`5️⃣`,six:`6️⃣`,seven:`7️⃣`,eight:`8️⃣`,nine:`9️⃣`,keycap_ten:`🔟`,capital_abcd:`🔠`,abcd:`🔡`,symbols:`🔣`,abc:`🔤`,a:`🅰️`,ab:`🆎`,b:`🅱️`,cl:`🆑`,cool:`🆒`,free:`🆓`,information_source:`ℹ️`,id:`🆔`,m:`Ⓜ️`,new:`🆕`,ng:`🆖`,o2:`🅾️`,ok:`🆗`,parking:`🅿️`,sos:`🆘`,up:`🆙`,vs:`🆚`,koko:`🈁`,sa:`🈂️`,u6708:`🈷️`,u6709:`🈶`,u6307:`🈯`,ideograph_advantage:`🉐`,u5272:`🈹`,u7121:`🈚`,u7981:`🈲`,accept:`🉑`,u7533:`🈸`,u5408:`🈴`,u7a7a:`🈳`,congratulations:`㊗️`,secret:`㊙️`,u55b6:`🈺`,u6e80:`🈵`,red_circle:`🔴`,orange_circle:`🟠`,yellow_circle:`🟡`,green_circle:`🟢`,large_blue_circle:`🔵`,purple_circle:`🟣`,brown_circle:`🟤`,black_circle:`⚫`,white_circle:`⚪`,red_square:`🟥`,orange_square:`🟧`,yellow_square:`🟨`,green_square:`🟩`,blue_square:`🟦`,purple_square:`🟪`,brown_square:`🟫`,black_large_square:`⬛`,white_large_square:`⬜`,black_medium_square:`◼️`,white_medium_square:`◻️`,black_medium_small_square:`◾`,white_medium_small_square:`◽`,black_small_square:`▪️`,white_small_square:`▫️`,large_orange_diamond:`🔶`,large_blue_diamond:`🔷`,small_orange_diamond:`🔸`,small_blue_diamond:`🔹`,small_red_triangle:`🔺`,small_red_triangle_down:`🔻`,diamond_shape_with_a_dot_inside:`💠`,radio_button:`🔘`,white_square_button:`🔳`,black_square_button:`🔲`,checkered_flag:`🏁`,triangular_flag_on_post:`🚩`,crossed_flags:`🎌`,black_flag:`🏴`,white_flag:`🏳️`,rainbow_flag:`🏳️🌈`,transgender_flag:`🏳️⚧️`,pirate_flag:`🏴☠️`,ascension_island:`🇦🇨`,andorra:`🇦🇩`,united_arab_emirates:`🇦🇪`,afghanistan:`🇦🇫`,antigua_barbuda:`🇦🇬`,anguilla:`🇦🇮`,albania:`🇦🇱`,armenia:`🇦🇲`,angola:`🇦🇴`,antarctica:`🇦🇶`,argentina:`🇦🇷`,american_samoa:`🇦🇸`,austria:`🇦🇹`,australia:`🇦🇺`,aruba:`🇦🇼`,aland_islands:`🇦🇽`,azerbaijan:`🇦🇿`,bosnia_herzegovina:`🇧🇦`,barbados:`🇧🇧`,bangladesh:`🇧🇩`,belgium:`🇧🇪`,burkina_faso:`🇧🇫`,bulgaria:`🇧🇬`,bahrain:`🇧🇭`,burundi:`🇧🇮`,benin:`🇧🇯`,st_barthelemy:`🇧🇱`,bermuda:`🇧🇲`,brunei:`🇧🇳`,bolivia:`🇧🇴`,caribbean_netherlands:`🇧🇶`,brazil:`🇧🇷`,bahamas:`🇧🇸`,bhutan:`🇧🇹`,bouvet_island:`🇧🇻`,botswana:`🇧🇼`,belarus:`🇧🇾`,belize:`🇧🇿`,canada:`🇨🇦`,cocos_islands:`🇨🇨`,congo_kinshasa:`🇨🇩`,central_african_republic:`🇨🇫`,congo_brazzaville:`🇨🇬`,switzerland:`🇨🇭`,cote_divoire:`🇨🇮`,cook_islands:`🇨🇰`,chile:`🇨🇱`,cameroon:`🇨🇲`,cn:`🇨🇳`,colombia:`🇨🇴`,clipperton_island:`🇨🇵`,costa_rica:`🇨🇷`,cuba:`🇨🇺`,cape_verde:`🇨🇻`,curacao:`🇨🇼`,christmas_island:`🇨🇽`,cyprus:`🇨🇾`,czech_republic:`🇨🇿`,de:`🇩🇪`,diego_garcia:`🇩🇬`,djibouti:`🇩🇯`,denmark:`🇩🇰`,dominica:`🇩🇲`,dominican_republic:`🇩🇴`,algeria:`🇩🇿`,ceuta_melilla:`🇪🇦`,ecuador:`🇪🇨`,estonia:`🇪🇪`,egypt:`🇪🇬`,western_sahara:`🇪🇭`,eritrea:`🇪🇷`,es:`🇪🇸`,ethiopia:`🇪🇹`,eu:`🇪🇺`,european_union:`🇪🇺`,finland:`🇫🇮`,fiji:`🇫🇯`,falkland_islands:`🇫🇰`,micronesia:`🇫🇲`,faroe_islands:`🇫🇴`,fr:`🇫🇷`,gabon:`🇬🇦`,gb:`🇬🇧`,uk:`🇬🇧`,grenada:`🇬🇩`,georgia:`🇬🇪`,french_guiana:`🇬🇫`,guernsey:`🇬🇬`,ghana:`🇬🇭`,gibraltar:`🇬🇮`,greenland:`🇬🇱`,gambia:`🇬🇲`,guinea:`🇬🇳`,guadeloupe:`🇬🇵`,equatorial_guinea:`🇬🇶`,greece:`🇬🇷`,south_georgia_south_sandwich_islands:`🇬🇸`,guatemala:`🇬🇹`,guam:`🇬🇺`,guinea_bissau:`🇬🇼`,guyana:`🇬🇾`,hong_kong:`🇭🇰`,heard_mcdonald_islands:`🇭🇲`,honduras:`🇭🇳`,croatia:`🇭🇷`,haiti:`🇭🇹`,hungary:`🇭🇺`,canary_islands:`🇮🇨`,indonesia:`🇮🇩`,ireland:`🇮🇪`,israel:`🇮🇱`,isle_of_man:`🇮🇲`,india:`🇮🇳`,british_indian_ocean_territory:`🇮🇴`,iraq:`🇮🇶`,iran:`🇮🇷`,iceland:`🇮🇸`,it:`🇮🇹`,jersey:`🇯🇪`,jamaica:`🇯🇲`,jordan:`🇯🇴`,jp:`🇯🇵`,kenya:`🇰🇪`,kyrgyzstan:`🇰🇬`,cambodia:`🇰🇭`,kiribati:`🇰🇮`,comoros:`🇰🇲`,st_kitts_nevis:`🇰🇳`,north_korea:`🇰🇵`,kr:`🇰🇷`,kuwait:`🇰🇼`,cayman_islands:`🇰🇾`,kazakhstan:`🇰🇿`,laos:`🇱🇦`,lebanon:`🇱🇧`,st_lucia:`🇱🇨`,liechtenstein:`🇱🇮`,sri_lanka:`🇱🇰`,liberia:`🇱🇷`,lesotho:`🇱🇸`,lithuania:`🇱🇹`,luxembourg:`🇱🇺`,latvia:`🇱🇻`,libya:`🇱🇾`,morocco:`🇲🇦`,monaco:`🇲🇨`,moldova:`🇲🇩`,montenegro:`🇲🇪`,st_martin:`🇲🇫`,madagascar:`🇲🇬`,marshall_islands:`🇲🇭`,macedonia:`🇲🇰`,mali:`🇲🇱`,myanmar:`🇲🇲`,mongolia:`🇲🇳`,macau:`🇲🇴`,northern_mariana_islands:`🇲🇵`,martinique:`🇲🇶`,mauritania:`🇲🇷`,montserrat:`🇲🇸`,malta:`🇲🇹`,mauritius:`🇲🇺`,maldives:`🇲🇻`,malawi:`🇲🇼`,mexico:`🇲🇽`,malaysia:`🇲🇾`,mozambique:`🇲🇿`,namibia:`🇳🇦`,new_caledonia:`🇳🇨`,niger:`🇳🇪`,norfolk_island:`🇳🇫`,nigeria:`🇳🇬`,nicaragua:`🇳🇮`,netherlands:`🇳🇱`,norway:`🇳🇴`,nepal:`🇳🇵`,nauru:`🇳🇷`,niue:`🇳🇺`,new_zealand:`🇳🇿`,oman:`🇴🇲`,panama:`🇵🇦`,peru:`🇵🇪`,french_polynesia:`🇵🇫`,papua_new_guinea:`🇵🇬`,philippines:`🇵🇭`,pakistan:`🇵🇰`,poland:`🇵🇱`,st_pierre_miquelon:`🇵🇲`,pitcairn_islands:`🇵🇳`,puerto_rico:`🇵🇷`,palestinian_territories:`🇵🇸`,portugal:`🇵🇹`,palau:`🇵🇼`,paraguay:`🇵🇾`,qatar:`🇶🇦`,reunion:`🇷🇪`,romania:`🇷🇴`,serbia:`🇷🇸`,ru:`🇷🇺`,rwanda:`🇷🇼`,saudi_arabia:`🇸🇦`,solomon_islands:`🇸🇧`,seychelles:`🇸🇨`,sudan:`🇸🇩`,sweden:`🇸🇪`,singapore:`🇸🇬`,st_helena:`🇸🇭`,slovenia:`🇸🇮`,svalbard_jan_mayen:`🇸🇯`,slovakia:`🇸🇰`,sierra_leone:`🇸🇱`,san_marino:`🇸🇲`,senegal:`🇸🇳`,somalia:`🇸🇴`,suriname:`🇸🇷`,south_sudan:`🇸🇸`,sao_tome_principe:`🇸🇹`,el_salvador:`🇸🇻`,sint_maarten:`🇸🇽`,syria:`🇸🇾`,swaziland:`🇸🇿`,tristan_da_cunha:`🇹🇦`,turks_caicos_islands:`🇹🇨`,chad:`🇹🇩`,french_southern_territories:`🇹🇫`,togo:`🇹🇬`,thailand:`🇹🇭`,tajikistan:`🇹🇯`,tokelau:`🇹🇰`,timor_leste:`🇹🇱`,turkmenistan:`🇹🇲`,tunisia:`🇹🇳`,tonga:`🇹🇴`,tr:`🇹🇷`,trinidad_tobago:`🇹🇹`,tuvalu:`🇹🇻`,taiwan:`🇹🇼`,tanzania:`🇹🇿`,ukraine:`🇺🇦`,uganda:`🇺🇬`,us_outlying_islands:`🇺🇲`,united_nations:`🇺🇳`,us:`🇺🇸`,uruguay:`🇺🇾`,uzbekistan:`🇺🇿`,vatican_city:`🇻🇦`,st_vincent_grenadines:`🇻🇨`,venezuela:`🇻🇪`,british_virgin_islands:`🇻🇬`,us_virgin_islands:`🇻🇮`,vietnam:`🇻🇳`,vanuatu:`🇻🇺`,wallis_futuna:`🇼🇫`,samoa:`🇼🇸`,kosovo:`🇽🇰`,yemen:`🇾🇪`,mayotte:`🇾🇹`,south_africa:`🇿🇦`,zambia:`🇿🇲`,zimbabwe:`🇿🇼`,england:`🏴`,scotland:`🏴`,wales:`🏴`};function Br(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var Vr=Br();function Hr(e){Vr=e}var Ur={exec:()=>null};function Wr(e){let t=[];return n=>{let r=Math.max(0,Math.min(3,n-1)),i=t[r];return i||(i=e(r),t[r]=i),i}}function z(e,t=``){let n=typeof e==`string`?e:e.source,r={replace:(e,t)=>{let i=typeof t==`string`?t:t.source;return i=i.replace(Kr.caret,`$1`),n=n.replace(e,i),r},getRegex:()=>new RegExp(n,t)};return r}var Gr=((e=``)=>{try{return!!RegExp(`(?<=1)(?<!1)`+e)}catch{return!1}})(),Kr={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] +\S/,listReplaceTask:/^\[[ xX]\] +/,listTaskCheckbox:/\[[ xX]\]/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:e=>RegExp(`^( {0,3}${e})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:Wr(e=>RegExp(`^ {0,${e}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`)),hrRegex:Wr(e=>RegExp(`^ {0,${e}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`)),fencesBeginRegex:Wr(e=>RegExp(`^ {0,${e}}(?:\`\`\`|~~~)`)),headingBeginRegex:Wr(e=>RegExp(`^ {0,${e}}#`)),htmlBeginRegex:Wr(e=>RegExp(`^ {0,${e}}<(?:[a-z].*>|!--)`,`i`)),blockquoteBeginRegex:Wr(e=>RegExp(`^ {0,${e}}>`))},qr=/^(?:[ \t]*(?:\n|$))+/,Jr=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,Yr=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,Xr=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,Zr=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,Qr=/ {0,3}(?:[*+-]|\d{1,9}[.)])/,$r=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,ei=z($r).replace(/bull/g,Qr).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}(?:\s|$)/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,``).getRegex(),ti=z($r).replace(/bull/g,Qr).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}(?:\s|$)/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),ni=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table|[ \t]+\n)[^\n]+)*)/,ri=/^[^\n]+/,ii=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,ai=z(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace(`label`,ii).replace(`title`,/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),oi=z(/^(bull)([ \t][^\n]*?)?(?:\n|$)/).replace(/bull/g,Qr).getRegex(),si=`address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul`,ci=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,li=z(`^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n*|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>[^\\n]*\\n*|$)|<![A-Z][\\s\\S]*?(?:>[^\\n]*\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>[^\\n]*\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))`,`i`).replace(`comment`,ci).replace(`tag`,si).replace(`attribute`,/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),ui=e=>z(ni).replace(`hr`,Xr).replace(`heading`,` {0,3}#{1,6}(?:\\s|$)`).replace(`|lheading`,``).replace(`|table`,``).replace(`blockquote`,` {0,3}>`).replace(`fences`," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~~~)[^\\n]*\\n").replace(`list`,e).replace(`html`,`</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)`).replace(`tag`,si).getRegex(),di=ui(/ {0,3}(?:[*+-]|1[.)])[ \t]+[^ \t\n]/),fi=ui(/ {0,3}(?:[*+-]|\d{1,9}[.)])(?:[ \t]|\n|$)/),pi={blockquote:z(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace(`paragraph`,fi).getRegex(),code:Jr,def:ai,fences:Yr,heading:Zr,hr:Xr,html:li,lheading:ei,list:oi,newline:qr,paragraph:di,table:Ur,text:ri},mi=z(`^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)`).replace(`hr`,Xr).replace(`heading`,` {0,3}#{1,6}(?:\\s|$)`).replace(`blockquote`,` {0,3}>`).replace(`code`,`(?: {4}| {0,3} )[^\\n]`).replace(`fences`," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~~~)[^\\n]*\\n").replace(`list`,` {0,3}(?:[*+-]|1[.)])[ \\t]`).replace(`html`,`</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)`).replace(`tag`,si).getRegex(),hi={...pi,lheading:ti,table:mi,paragraph:z(ni).replace(`hr`,Xr).replace(`heading`,` {0,3}#{1,6}(?:\\s|$)`).replace(`|lheading`,``).replace(`table`,mi).replace(`blockquote`,` {0,3}>`).replace(`fences`," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~~~)[^\\n]*\\n").replace(`list`,` {0,3}(?:[*+-]|1[.)])[ \\t]+[^ \\t\\n]`).replace(`html`,`</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)`).replace(`tag`,si).getRegex()},gi={...pi,html:z(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace(`comment`,ci).replace(/tag/g,`(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b`).getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Ur,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:z(ni).replace(`hr`,Xr).replace(`heading`,` *#{1,6} *[^
|
|
18
18
|
]`).replace(`lheading`,ei).replace(`|table`,``).replace(`blockquote`,` {0,3}>`).replace(`|fences`,``).replace(`|list`,``).replace(`|html`,``).replace(`|tag`,``).getRegex()},_i=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,vi=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,yi=/^( {2,}|\\)\n(?!\s*$)/,bi=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,xi=/[\p{P}\p{S}]/u,Si=/[\s\p{P}\p{S}]/u,Ci=/[^\s\p{P}\p{S}]/u,wi=z(/^((?![*_])punctSpace)/,`u`).replace(/punctSpace/g,Si).getRegex(),Ti=/[\p{Pi}\p{Ps}"']/u,Ei=/(?!~)[\p{P}\p{S}]/u,Di=/(?!~)[\s\p{P}\p{S}]/u,Oi=/(?:[^\s\p{P}\p{S}]|~)/u,ki=z(/link|precode-code|html/,`g`).replace(`link`,/\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace(`precode-`,Gr?"(?<!`)()":"(^^|[^`])").replace(`code`,/(?<b>`+)[^`]+\k<b>(?!`)/).replace(`html`,/<(?! )[^<>]*?>/).getRegex(),Ai=/^(?:\*+(?:((?!\*)punct)|([^\s*]))?)|^_+(?:((?!_)punct)|([^\s_]))?/,ji=z(Ai,`u`).replace(/punct/g,xi).getRegex(),Mi=z(Ai,`u`).replace(/punct/g,Ei).getRegex(),Ni=z(/^(?:\*+(?:((?!\*)(?!openQuote)punct)|([^\s*]))?)|^_+(?:((?!_)(?!openQuote)punct)|([^\s_]))?/,`u`).replace(/openQuote/g,Ti).replace(/punct/g,xi).getRegex(),B=`^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)`,Pi=z(B,`gu`).replace(/notPunctSpace/g,Ci).replace(/punctSpace/g,Si).replace(/punct/g,xi).getRegex(),Fi=z(B,`gu`).replace(/notPunctSpace/g,Oi).replace(/punctSpace/g,Di).replace(/punct/g,Ei).getRegex(),Ii=z(`^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)[\\s](\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|(?:(?!\\*)punct|notPunctSpace)(\\*+)(?!\\*)(?=notPunctSpace)`,`gu`).replace(/notPunctSpace/g,Ci).replace(/punctSpace/g,Si).replace(/punct/g,xi).getRegex(),Li=z(`^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)`,`gu`).replace(/notPunctSpace/g,Ci).replace(/punctSpace/g,Si).replace(/punct/g,xi).getRegex(),Ri=z(`^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)[\\s](_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)|(?:(?!_)punct|notPunctSpace)(_+)(?!_)(?=notPunctSpace)`,`gu`).replace(/notPunctSpace/g,Ci).replace(/punctSpace/g,Si).replace(/punct/g,xi).getRegex(),zi=z(/^~~?(?:((?!~)punct)|[^\s~])/,`u`).replace(/punct/g,xi).getRegex(),Bi=z(`^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)`,`gu`).replace(/notPunctSpace/g,Ci).replace(/punctSpace/g,Si).replace(/punct/g,xi).getRegex(),Vi=z(/\\(punct)/,`gu`).replace(/punct/g,xi).getRegex(),Hi=z(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace(`scheme`,/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace(`email`,/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),Ui=z(ci).replace(`(?:-->|$)`,`-->`).getRegex(),Wi=z(`^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>`).replace(`comment`,Ui).replace(`attribute`,/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Gi=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\])|[^\[\]\\`])*?/,Ki=z(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?\s*\)/).replace(`label`,Gi).replace(`href`,/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]+|(?=\))/).replace(`title`,/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),qi=z(/^!?\[(label)\]\[(ref)\]/).replace(`label`,Gi).replace(`ref`,ii).getRegex(),Ji=z(/^!?\[(ref)\](?:\[\])?/).replace(`ref`,ii).getRegex(),Yi=z(`reflink|nolink(?!\\()`,`g`).replace(`reflink`,qi).replace(`nolink`,Ji).getRegex(),Xi=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,Zi={_backpedal:Ur,anyPunctuation:Vi,autolink:Hi,blockSkip:ki,br:yi,code:vi,del:Ur,delLDelim:Ur,delRDelim:Ur,emStrongLDelim:ji,emStrongRDelimAst:Pi,emStrongRDelimUnd:Li,escape:_i,link:Ki,nolink:Ji,punctuation:wi,reflink:qi,reflinkSearch:Yi,tag:Wi,text:bi,url:Ur},Qi={...Zi,emStrongLDelim:Ni,emStrongRDelimAst:Ii,emStrongRDelimUnd:Ri,link:z(/^!?\[(label)\]\((.*?)\)/).replace(`label`,Gi).getRegex(),reflink:z(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace(`label`,Gi).getRegex()},$i={...Zi,emStrongRDelimAst:Fi,emStrongLDelim:Mi,delLDelim:zi,delRDelim:Bi,url:z(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace(`protocol`,Xi).replace(`email`,/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:z(/^(`+|~+|[^`~])(?:(?=[`~])|(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace(`protocol`,Xi).getRegex()},ea={...$i,br:z(yi).replace(`{2,}`,`*`).getRegex(),text:z($i.text).replace(`\\b_`,`\\b_| {2,}\\n`).replace(/\{2,\}/g,`*`).getRegex()},ta={normal:pi,gfm:hi,pedantic:gi},na={normal:Zi,gfm:$i,breaks:ea,pedantic:Qi},ra={"&":`&`,"<":`<`,">":`>`,'"':`"`,"'":`'`},ia=e=>ra[e];function aa(e,t){if(t){if(Kr.escapeTest.test(e))return e.replace(Kr.escapeReplace,ia)}else if(Kr.escapeTestNoEncode.test(e))return e.replace(Kr.escapeReplaceNoEncode,ia);return e}function oa(e){try{e=encodeURI(e).replace(Kr.percentDecode,`%`)}catch{return null}return e}function sa(e,t){let n=e.replace(Kr.findPipe,(e,t,n)=>{let r=!1,i=t;for(;--i>=0&&n[i]===`\\`;)r=!r;return r?`|`:` |`}).split(Kr.splitPipe),r=0;if(n[0].trim()||n.shift(),n.length>0&&!n.at(-1)?.trim()&&n.pop(),t)if(n.length>t)n.splice(t);else for(;n.length<t;)n.push(``);for(;r<n.length;r++)n[r]=n[r].trim().replace(Kr.slashPipe,`|`);return n}function ca(e,t,n){let r=e.length;if(r===0)return``;let i=0;for(;i<r;){let a=e.charAt(r-i-1);if(a===t&&!n)i++;else if(a!==t&&n)i++;else break}return e.slice(0,r-i)}function la(e){let t=e.split(`
|
|
@@ -83,4 +83,4 @@ Please report this to https://github.com/markedjs/marked.`,e){let e=`<p>An error
|
|
|
83
83
|
`)}),o+=1,r=[])};for(let e of t){if(a){r.push(e),La(e)&&(a=!1);continue}if(i===null&&Fa(e)){s(),i=[];continue}if(i!==null){if(La(e)){n.push({kind:`mermaid`,key:`mermaid:${o}`,code:i.join(`
|
|
84
84
|
`)}),o+=1,i=null;continue}i.push(e);continue}if(Ia(e)){r.push(e),a=!0;continue}r.push(e)}return i!==null&&r.push("```mermaid",...i),s(),n},za=Object.defineProperty,Ba=(e,t)=>za(e,`name`,{value:t,configurable:!0});function Va(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}Ba(Va,`setRef`);function Ha(...e){return t=>{let n=!1,r=e.map(e=>{let r=Va(e,t);return!n&&typeof r==`function`&&(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];typeof n==`function`?n():Va(e[t],null)}}}}Ba(Ha,`composeRefs`);function Ua(...e){return _.useCallback(Ha(...e),e)}Ba(Ua,`useComposedRefs`);var Wa=Object.defineProperty,Ga=(e,t)=>Wa(e,`name`,{value:t,configurable:!0});function Ka(e){let t=_.forwardRef((t,n)=>{let{children:r,...i}=t,a=null,o=!1,s=[];to(r)&&typeof ao==`function`&&(r=ao(r._payload)),_.Children.forEach(r,e=>{if($a(e)){o=!0;let t=e,n=`child`in t.props?t.props.child:t.props.children;to(n)&&typeof ao==`function`&&(n=ao(n._payload)),a=Xa(t,n),s.push(a?.props?.children)}else s.push(e)}),a?a=_.cloneElement(a,void 0,s):!o&&_.Children.count(r)===1&&_.isValidElement(r)&&(a=r);let c=a?Qa(a):void 0,l=Ua(n,c);if(!a){if(r||r===0)throw Error(o?io(e):ro(e));return r}let u=Za(i,a.props??{});return a.type!==_.Fragment&&(u.ref=n?l:c),_.cloneElement(a,u)});return t.displayName=`${e}.Slot`,t}Ga(Ka,`createSlot`);var qa=Ka(`Slot`),Ja=Symbol.for(`radix.slottable`);function Ya(e){let t=Ga(e=>`child`in e?e.children(e.child):e.children,`Slottable`);return t.displayName=`${e}.Slottable`,t.__radixId=Ja,t}Ga(Ya,`createSlottable`);var Xa=Ga((e,t)=>{if(`child`in e.props){let t=e.props.child;return _.isValidElement(t)?_.cloneElement(t,void 0,e.props.children(t.props.children)):null}return _.isValidElement(t)?t:null},`getSlottableElementFromSlottable`);function Za(e,t){let n={...t};for(let r in t){let i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(n[r]=i):r===`style`?n[r]={...i,...a}:r===`className`&&(n[r]=[i,a].filter(Boolean).join(` `))}return{...e,...n}}Ga(Za,`mergeProps`);function Qa(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}Ga(Qa,`getElementRef`);function $a(e){return _.isValidElement(e)&&typeof e.type==`function`&&`__radixId`in e.type&&e.type.__radixId===Ja}Ga($a,`isSlottable`);var eo=Symbol.for(`react.lazy`);function to(e){return typeof e==`object`&&!!e&&`$$typeof`in e&&e.$$typeof===eo&&`_payload`in e&&no(e._payload)}Ga(to,`isLazyComponent`);function no(e){return typeof e==`object`&&!!e&&`then`in e}Ga(no,`isPromiseLike`);var ro=Ga(e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,`createSlotError`),io=Ga(e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,`createSlottableError`),ao=_.use;function oo(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=oo(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n);return r}function so(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=oo(e))&&(r&&(r+=` `),r+=t);return r}var co=e=>typeof e==`boolean`?`${e}`:e===0?`0`:e,lo=so,uo=(e,t)=>n=>{if(t?.variants==null)return lo(e,n?.class,n?.className);let{variants:r,defaultVariants:i}=t,a=Object.keys(r).map(e=>{let t=n?.[e],a=i?.[e];if(t===null)return null;let o=co(t)||co(a);return r[e][o]}),o=n&&Object.entries(n).reduce((e,t)=>{let[n,r]=t;return r===void 0||(e[n]=r),e},{});return lo(e,a,t?.compoundVariants?.reduce((e,t)=>{let{class:n,className:r,...a}=t;return Object.entries(a).every(e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...i,...o}[t]):{...i,...o}[t]===n})?[...e,n,r]:e},[]),n?.class,n?.className)},H=(e,t)=>{let n=Array(e.length+t.length);for(let t=0;t<e.length;t++)n[t]=e[t];for(let r=0;r<t.length;r++)n[e.length+r]=t[r];return n},U=(e,t)=>({classGroupId:e,validator:t}),fo=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),po=`-`,mo=[],ho=`arbitrary..`,go=e=>{let t=yo(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{if(e.startsWith(`[`)&&e.endsWith(`]`))return vo(e);let n=e.split(po);return _o(n,+(n[0]===``&&n.length>1),t)},getConflictingClassGroupIds:(e,t)=>{if(t){let t=r[e],i=n[e];return t?i?H(i,t):t:i||mo}return n[e]||mo}}},_o=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;let r=e[t],i=n.nextPart.get(r);if(i){let n=_o(e,t+1,i);if(n)return n}let a=n.validators;if(a===null)return;let o=t===0?e.join(po):e.slice(t).join(po),s=a.length;for(let e=0;e<s;e++){let t=a[e];if(t.validator(o))return t.classGroupId}},vo=e=>e.slice(1,-1).indexOf(`:`)===-1?void 0:(()=>{let t=e.slice(1,-1),n=t.indexOf(`:`),r=t.slice(0,n);return r?ho+r:void 0})(),yo=e=>{let{theme:t,classGroups:n}=e;return bo(n,t)},bo=(e,t)=>{let n=fo();for(let r in e){let i=e[r];xo(i,n,r,t)}return n},xo=(e,t,n,r)=>{let i=e.length;for(let a=0;a<i;a++){let i=e[a];So(i,t,n,r)}},So=(e,t,n,r)=>{if(typeof e==`string`){Co(e,t,n);return}if(typeof e==`function`){wo(e,t,n,r);return}To(e,t,n,r)},Co=(e,t,n)=>{let r=e===``?t:Eo(t,e);r.classGroupId=n},wo=(e,t,n,r)=>{if(Do(e)){xo(e(r),t,n,r);return}t.validators===null&&(t.validators=[]),t.validators.push(U(n,e))},To=(e,t,n,r)=>{let i=Object.entries(e),a=i.length;for(let e=0;e<a;e++){let[a,o]=i[e];xo(o,Eo(t,a),n,r)}},Eo=(e,t)=>{let n=e,r=t.split(po),i=r.length;for(let e=0;e<i;e++){let t=r[e],i=n.nextPart.get(t);i||(i=fo(),n.nextPart.set(t,i)),n=i}return n},Do=e=>`isThemeGetter`in e&&e.isThemeGetter===!0,Oo=e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null),i=(i,a)=>{n[i]=a,t++,t>e&&(t=0,r=n,n=Object.create(null))};return{get(e){let t=n[e];if(t!==void 0)return t;if((t=r[e])!==void 0)return i(e,t),t},set(e,t){e in n?n[e]=t:i(e,t)}}},ko=`!`,Ao=`:`,jo=[],Mo=(e,t,n,r,i)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:i}),No=e=>{let{prefix:t,experimentalParseClassName:n}=e,r=e=>{let t=[],n=0,r=0,i=0,a,o=e.length;for(let s=0;s<o;s++){let o=e[s];if(n===0&&r===0){if(o===Ao){t.push(e.slice(i,s)),i=s+1;continue}if(o===`/`){a=s;continue}}o===`[`?n++:o===`]`?n--:o===`(`?r++:o===`)`&&r--}let s=t.length===0?e:e.slice(i),c=s,l=!1;s.endsWith(ko)?(c=s.slice(0,-1),l=!0):s.startsWith(ko)&&(c=s.slice(1),l=!0);let u=a&&a>i?a-i:void 0;return Mo(t,l,c,u)};if(t){let e=t+Ao,n=r;r=t=>t.startsWith(e)?n(t.slice(e.length)):Mo(jo,!1,t,void 0,!0)}if(n){let e=r;r=t=>n({className:t,parseClassName:e})}return r},Po=e=>{let t=new Map;return e.orderSensitiveModifiers.forEach((e,n)=>{t.set(e,1e6+n)}),e=>{let n=[],r=[];for(let i=0;i<e.length;i++){let a=e[i],o=a[0]===`[`,s=t.has(a);o||s?(r.length>0&&(r.sort(),n.push(...r),r=[]),n.push(a)):r.push(a)}return r.length>0&&(r.sort(),n.push(...r)),n}},Fo=e=>({cache:Oo(e.cacheSize),parseClassName:No(e),sortModifiers:Po(e),postfixLookupClassGroupIds:Io(e),...go(e)}),Io=e=>{let t=Object.create(null),n=e.postfixLookupClassGroups;if(n)for(let e=0;e<n.length;e++)t[n[e]]=!0;return t},Lo=/\s+/,Ro=(e,t)=>{let{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:a,postfixLookupClassGroupIds:o}=t,s=[],c=e.trim().split(Lo),l=``;for(let e=c.length-1;e>=0;--e){let t=c[e],{isExternal:u,modifiers:d,hasImportantModifier:f,baseClassName:p,maybePostfixModifierPosition:m}=n(t);if(u){l=t+(l.length>0?` `+l:l);continue}let h=!!m,g;if(h){g=r(p.substring(0,m));let e=g&&o[g]?r(p):void 0;e&&e!==g&&(g=e,h=!1)}else g=r(p);if(!g){if(!h){l=t+(l.length>0?` `+l:l);continue}if(g=r(p),!g){l=t+(l.length>0?` `+l:l);continue}h=!1}let _=d.length===0?``:d.length===1?d[0]:a(d).join(`:`),v=f?_+ko:_,y=v+g;if(s.indexOf(y)>-1)continue;s.push(y);let b=i(g,h);for(let e=0;e<b.length;++e){let t=b[e];s.push(v+t)}l=t+(l.length>0?` `+l:l)}return l},zo=(...e)=>{let t=0,n,r,i=``;for(;t<e.length;)(n=e[t++])&&(r=Bo(n))&&(i&&(i+=` `),i+=r);return i},Bo=e=>{if(typeof e==`string`)return e;let t,n=``;for(let r=0;r<e.length;r++)e[r]&&(t=Bo(e[r]))&&(n&&(n+=` `),n+=t);return n},Vo=(e,...t)=>{let n,r,i,a,o=o=>(n=Fo(t.reduce((e,t)=>t(e),e())),r=n.cache.get,i=n.cache.set,a=s,s(o)),s=e=>{let t=r(e);if(t)return t;let a=Ro(e,n);return i(e,a),a};return a=o,(...e)=>a(zo(...e))},Ho=[],Uo=e=>{let t=t=>t[e]||Ho;return t.isThemeGetter=!0,t},Wo=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Go=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Ko=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,qo=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Jo=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Yo=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Xo=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Zo=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Qo=e=>Ko.test(e),W=e=>!!e&&!Number.isNaN(Number(e)),$o=e=>!!e&&Number.isInteger(Number(e)),es=e=>e.endsWith(`%`)&&W(e.slice(0,-1)),ts=e=>qo.test(e),ns=()=>!0,rs=e=>Jo.test(e)&&!Yo.test(e),is=()=>!1,as=e=>Xo.test(e),os=e=>Zo.test(e),ss=e=>!G(e)&&!K(e),cs=e=>e.startsWith(`@container`)&&(e[10]===`/`&&e[11]!==void 0||e[11]===`s`&&e[16]!==void 0&&e.startsWith(`-size/`,10)||e[11]===`n`&&e[18]!==void 0&&e.startsWith(`-normal/`,10)),ls=e=>ws(e,Os,is),G=e=>Wo.test(e),us=e=>ws(e,ks,rs),ds=e=>ws(e,As,W),fs=e=>ws(e,Ms,ns),ps=e=>ws(e,js,is),ms=e=>ws(e,Es,is),hs=e=>ws(e,Ds,os),gs=e=>ws(e,Ns,as),K=e=>Go.test(e),_s=e=>Ts(e,ks),vs=e=>Ts(e,js),ys=e=>Ts(e,Es),bs=e=>Ts(e,Os),xs=e=>Ts(e,Ds),Ss=e=>Ts(e,Ns,!0),Cs=e=>Ts(e,Ms,!0),ws=(e,t,n)=>{let r=Wo.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},Ts=(e,t,n=!1)=>{let r=Go.exec(e);return r?r[1]?t(r[1]):n:!1},Es=e=>e===`position`||e===`percentage`,Ds=e=>e===`image`||e===`url`,Os=e=>e===`length`||e===`size`||e===`bg-size`,ks=e=>e===`length`,As=e=>e===`number`,js=e=>e===`family-name`,Ms=e=>e===`number`||e===`weight`,Ns=e=>e===`shadow`,Ps=Vo(()=>{let e=Uo(`color`),t=Uo(`font`),n=Uo(`text`),r=Uo(`font-weight`),i=Uo(`tracking`),a=Uo(`leading`),o=Uo(`breakpoint`),s=Uo(`container`),c=Uo(`spacing`),l=Uo(`radius`),u=Uo(`shadow`),d=Uo(`inset-shadow`),f=Uo(`text-shadow`),p=Uo(`drop-shadow`),m=Uo(`blur`),h=Uo(`perspective`),g=Uo(`aspect`),_=Uo(`ease`),v=Uo(`animate`),y=()=>[`auto`,`avoid`,`all`,`avoid-page`,`page`,`left`,`right`,`column`],b=()=>[`center`,`top`,`bottom`,`left`,`right`,`top-left`,`left-top`,`top-right`,`right-top`,`bottom-right`,`right-bottom`,`bottom-left`,`left-bottom`],x=()=>[...b(),K,G],S=()=>[`auto`,`hidden`,`clip`,`visible`,`scroll`],C=()=>[`auto`,`contain`,`none`],w=()=>[K,G,c],T=()=>[Qo,`full`,`auto`,...w()],ee=()=>[$o,`none`,`subgrid`,K,G],te=()=>[`auto`,{span:[`full`,$o,K,G]},$o,K,G],E=()=>[$o,`auto`,K,G],ne=()=>[`auto`,`min`,`max`,`fr`,K,G],re=()=>[`start`,`end`,`center`,`between`,`around`,`evenly`,`stretch`,`baseline`,`center-safe`,`end-safe`],ie=()=>[`start`,`end`,`center`,`stretch`,`center-safe`,`end-safe`],D=()=>[`auto`,...w()],ae=()=>[Qo,`auto`,`full`,`dvw`,`dvh`,`lvw`,`lvh`,`svw`,`svh`,`min`,`max`,`fit`,...w()],oe=()=>[Qo,`screen`,`full`,`dvw`,`lvw`,`svw`,`min`,`max`,`fit`,...w()],se=()=>[Qo,`screen`,`full`,`lh`,`dvh`,`lvh`,`svh`,`min`,`max`,`fit`,...w()],O=()=>[e,K,G],k=()=>[...b(),ys,ms,{position:[K,G]}],ce=()=>[`no-repeat`,{repeat:[``,`x`,`y`,`space`,`round`]}],le=()=>[`auto`,`cover`,`contain`,bs,ls,{size:[K,G]}],ue=()=>[es,_s,us],A=()=>[``,`none`,`full`,l,K,G],j=()=>[``,W,_s,us],M=()=>[`solid`,`dashed`,`dotted`,`double`],de=()=>[`normal`,`multiply`,`screen`,`overlay`,`darken`,`lighten`,`color-dodge`,`color-burn`,`hard-light`,`soft-light`,`difference`,`exclusion`,`hue`,`saturation`,`color`,`luminosity`],fe=()=>[W,es,ys,ms],pe=()=>[``,`none`,m,K,G],N=()=>[`none`,W,K,G],me=()=>[`none`,W,K,G],P=()=>[W,K,G],he=()=>[Qo,`full`,...w()];return{cacheSize:500,theme:{animate:[`spin`,`ping`,`pulse`,`bounce`],aspect:[`video`],blur:[ts],breakpoint:[ts],color:[ns],container:[ts],"drop-shadow":[ts],ease:[`in`,`out`,`in-out`],font:[ss],"font-weight":[`thin`,`extralight`,`light`,`normal`,`medium`,`semibold`,`bold`,`extrabold`,`black`],"inset-shadow":[ts],leading:[`none`,`tight`,`snug`,`normal`,`relaxed`,`loose`],perspective:[`dramatic`,`near`,`normal`,`midrange`,`distant`,`none`],radius:[ts],shadow:[ts],spacing:[`px`,W],text:[ts],"text-shadow":[ts],tracking:[`tighter`,`tight`,`normal`,`wide`,`wider`,`widest`]},classGroups:{aspect:[{aspect:[`auto`,`square`,Qo,G,K,g]}],container:[`container`],"container-type":[{"@container":[``,`normal`,`size`,K,G]}],"container-named":[cs],columns:[{columns:[W,G,K,s]}],"break-after":[{"break-after":y()}],"break-before":[{"break-before":y()}],"break-inside":[{"break-inside":[`auto`,`avoid`,`avoid-page`,`avoid-column`]}],"box-decoration":[{"box-decoration":[`slice`,`clone`]}],box:[{box:[`border`,`content`]}],display:[`block`,`inline-block`,`inline`,`flex`,`inline-flex`,`table`,`inline-table`,`table-caption`,`table-cell`,`table-column`,`table-column-group`,`table-footer-group`,`table-header-group`,`table-row-group`,`table-row`,`flow-root`,`grid`,`inline-grid`,`contents`,`list-item`,`hidden`],sr:[`sr-only`,`not-sr-only`],float:[{float:[`right`,`left`,`none`,`start`,`end`]}],clear:[{clear:[`left`,`right`,`both`,`none`,`start`,`end`]}],isolation:[`isolate`,`isolation-auto`],"object-fit":[{object:[`contain`,`cover`,`fill`,`none`,`scale-down`]}],"object-position":[{object:x()}],overflow:[{overflow:S()}],"overflow-x":[{"overflow-x":S()}],"overflow-y":[{"overflow-y":S()}],overscroll:[{overscroll:C()}],"overscroll-x":[{"overscroll-x":C()}],"overscroll-y":[{"overscroll-y":C()}],position:[`static`,`fixed`,`absolute`,`relative`,`sticky`],inset:[{inset:T()}],"inset-x":[{"inset-x":T()}],"inset-y":[{"inset-y":T()}],start:[{"inset-s":T(),start:T()}],end:[{"inset-e":T(),end:T()}],"inset-bs":[{"inset-bs":T()}],"inset-be":[{"inset-be":T()}],top:[{top:T()}],right:[{right:T()}],bottom:[{bottom:T()}],left:[{left:T()}],visibility:[`visible`,`invisible`,`collapse`],z:[{z:[$o,`auto`,K,G]}],basis:[{basis:[Qo,`full`,`auto`,s,...w()]}],"flex-direction":[{flex:[`row`,`row-reverse`,`col`,`col-reverse`]}],"flex-wrap":[{flex:[`nowrap`,`wrap`,`wrap-reverse`]}],flex:[{flex:[W,Qo,`auto`,`initial`,`none`,G]}],grow:[{grow:[``,W,K,G]}],shrink:[{shrink:[``,W,K,G]}],order:[{order:[$o,`first`,`last`,`none`,K,G]}],"grid-cols":[{"grid-cols":ee()}],"col-start-end":[{col:te()}],"col-start":[{"col-start":E()}],"col-end":[{"col-end":E()}],"grid-rows":[{"grid-rows":ee()}],"row-start-end":[{row:te()}],"row-start":[{"row-start":E()}],"row-end":[{"row-end":E()}],"grid-flow":[{"grid-flow":[`row`,`col`,`dense`,`row-dense`,`col-dense`]}],"auto-cols":[{"auto-cols":ne()}],"auto-rows":[{"auto-rows":ne()}],gap:[{gap:w()}],"gap-x":[{"gap-x":w()}],"gap-y":[{"gap-y":w()}],"justify-content":[{justify:[...re(),`normal`]}],"justify-items":[{"justify-items":[...ie(),`normal`]}],"justify-self":[{"justify-self":[`auto`,...ie()]}],"align-content":[{content:[`normal`,...re()]}],"align-items":[{items:[...ie(),{baseline:[``,`last`]}]}],"align-self":[{self:[`auto`,...ie(),{baseline:[``,`last`]}]}],"place-content":[{"place-content":re()}],"place-items":[{"place-items":[...ie(),`baseline`]}],"place-self":[{"place-self":[`auto`,...ie()]}],p:[{p:w()}],px:[{px:w()}],py:[{py:w()}],ps:[{ps:w()}],pe:[{pe:w()}],pbs:[{pbs:w()}],pbe:[{pbe:w()}],pt:[{pt:w()}],pr:[{pr:w()}],pb:[{pb:w()}],pl:[{pl:w()}],m:[{m:D()}],mx:[{mx:D()}],my:[{my:D()}],ms:[{ms:D()}],me:[{me:D()}],mbs:[{mbs:D()}],mbe:[{mbe:D()}],mt:[{mt:D()}],mr:[{mr:D()}],mb:[{mb:D()}],ml:[{ml:D()}],"space-x":[{"space-x":w()}],"space-x-reverse":[`space-x-reverse`],"space-y":[{"space-y":w()}],"space-y-reverse":[`space-y-reverse`],size:[{size:ae()}],"inline-size":[{inline:[`auto`,...oe()]}],"min-inline-size":[{"min-inline":[`auto`,...oe()]}],"max-inline-size":[{"max-inline":[`none`,...oe()]}],"block-size":[{block:[`auto`,...se()]}],"min-block-size":[{"min-block":[`auto`,...se()]}],"max-block-size":[{"max-block":[`none`,...se()]}],w:[{w:[s,`screen`,...ae()]}],"min-w":[{"min-w":[s,`screen`,`none`,...ae()]}],"max-w":[{"max-w":[s,`screen`,`none`,`prose`,{screen:[o]},...ae()]}],h:[{h:[`screen`,`lh`,...ae()]}],"min-h":[{"min-h":[`screen`,`lh`,`none`,...ae()]}],"max-h":[{"max-h":[`screen`,`lh`,...ae()]}],"font-size":[{text:[`base`,n,_s,us]}],"font-smoothing":[`antialiased`,`subpixel-antialiased`],"font-style":[`italic`,`not-italic`],"font-weight":[{font:[r,Cs,fs]}],"font-stretch":[{"font-stretch":[`ultra-condensed`,`extra-condensed`,`condensed`,`semi-condensed`,`normal`,`semi-expanded`,`expanded`,`extra-expanded`,`ultra-expanded`,es,G]}],"font-family":[{font:[vs,ps,t]}],"font-features":[{"font-features":[G]}],"fvn-normal":[`normal-nums`],"fvn-ordinal":[`ordinal`],"fvn-slashed-zero":[`slashed-zero`],"fvn-figure":[`lining-nums`,`oldstyle-nums`],"fvn-spacing":[`proportional-nums`,`tabular-nums`],"fvn-fraction":[`diagonal-fractions`,`stacked-fractions`],tracking:[{tracking:[i,K,G]}],"line-clamp":[{"line-clamp":[W,`none`,K,ds]}],leading:[{leading:[a,...w()]}],"list-image":[{"list-image":[`none`,K,G]}],"list-style-position":[{list:[`inside`,`outside`]}],"list-style-type":[{list:[`disc`,`decimal`,`none`,K,G]}],"text-alignment":[{text:[`left`,`center`,`right`,`justify`,`start`,`end`]}],"placeholder-color":[{placeholder:O()}],"text-color":[{text:O()}],"text-decoration":[`underline`,`overline`,`line-through`,`no-underline`],"text-decoration-style":[{decoration:[...M(),`wavy`]}],"text-decoration-thickness":[{decoration:[W,`from-font`,`auto`,K,us]}],"text-decoration-color":[{decoration:O()}],"underline-offset":[{"underline-offset":[W,`auto`,K,G]}],"text-transform":[`uppercase`,`lowercase`,`capitalize`,`normal-case`],"text-overflow":[`truncate`,`text-ellipsis`,`text-clip`],"text-wrap":[{text:[`wrap`,`nowrap`,`balance`,`pretty`]}],indent:[{indent:w()}],"tab-size":[{tab:[$o,K,G]}],"vertical-align":[{align:[`baseline`,`top`,`middle`,`bottom`,`text-top`,`text-bottom`,`sub`,`super`,K,G]}],whitespace:[{whitespace:[`normal`,`nowrap`,`pre`,`pre-line`,`pre-wrap`,`break-spaces`]}],break:[{break:[`normal`,`words`,`all`,`keep`]}],wrap:[{wrap:[`break-word`,`anywhere`,`normal`]}],hyphens:[{hyphens:[`none`,`manual`,`auto`]}],content:[{content:[`none`,K,G]}],"bg-attachment":[{bg:[`fixed`,`local`,`scroll`]}],"bg-clip":[{"bg-clip":[`border`,`padding`,`content`,`text`]}],"bg-origin":[{"bg-origin":[`border`,`padding`,`content`]}],"bg-position":[{bg:k()}],"bg-repeat":[{bg:ce()}],"bg-size":[{bg:le()}],"bg-image":[{bg:[`none`,{linear:[{to:[`t`,`tr`,`r`,`br`,`b`,`bl`,`l`,`tl`]},$o,K,G],radial:[``,K,G],conic:[$o,K,G]},xs,hs]}],"bg-color":[{bg:O()}],"gradient-from-pos":[{from:ue()}],"gradient-via-pos":[{via:ue()}],"gradient-to-pos":[{to:ue()}],"gradient-from":[{from:O()}],"gradient-via":[{via:O()}],"gradient-to":[{to:O()}],rounded:[{rounded:A()}],"rounded-s":[{"rounded-s":A()}],"rounded-e":[{"rounded-e":A()}],"rounded-t":[{"rounded-t":A()}],"rounded-r":[{"rounded-r":A()}],"rounded-b":[{"rounded-b":A()}],"rounded-l":[{"rounded-l":A()}],"rounded-ss":[{"rounded-ss":A()}],"rounded-se":[{"rounded-se":A()}],"rounded-ee":[{"rounded-ee":A()}],"rounded-es":[{"rounded-es":A()}],"rounded-tl":[{"rounded-tl":A()}],"rounded-tr":[{"rounded-tr":A()}],"rounded-br":[{"rounded-br":A()}],"rounded-bl":[{"rounded-bl":A()}],"border-w":[{border:j()}],"border-w-x":[{"border-x":j()}],"border-w-y":[{"border-y":j()}],"border-w-s":[{"border-s":j()}],"border-w-e":[{"border-e":j()}],"border-w-bs":[{"border-bs":j()}],"border-w-be":[{"border-be":j()}],"border-w-t":[{"border-t":j()}],"border-w-r":[{"border-r":j()}],"border-w-b":[{"border-b":j()}],"border-w-l":[{"border-l":j()}],"divide-x":[{"divide-x":j()}],"divide-x-reverse":[`divide-x-reverse`],"divide-y":[{"divide-y":j()}],"divide-y-reverse":[`divide-y-reverse`],"border-style":[{border:[...M(),`hidden`,`none`]}],"divide-style":[{divide:[...M(),`hidden`,`none`]}],"border-color":[{border:O()}],"border-color-x":[{"border-x":O()}],"border-color-y":[{"border-y":O()}],"border-color-s":[{"border-s":O()}],"border-color-e":[{"border-e":O()}],"border-color-bs":[{"border-bs":O()}],"border-color-be":[{"border-be":O()}],"border-color-t":[{"border-t":O()}],"border-color-r":[{"border-r":O()}],"border-color-b":[{"border-b":O()}],"border-color-l":[{"border-l":O()}],"divide-color":[{divide:O()}],"outline-style":[{outline:[...M(),`none`,`hidden`]}],"outline-offset":[{"outline-offset":[W,K,G]}],"outline-w":[{outline:[``,W,_s,us]}],"outline-color":[{outline:O()}],shadow:[{shadow:[``,`none`,u,Ss,gs]}],"shadow-color":[{shadow:O()}],"inset-shadow":[{"inset-shadow":[`none`,d,Ss,gs]}],"inset-shadow-color":[{"inset-shadow":O()}],"ring-w":[{ring:j()}],"ring-w-inset":[`ring-inset`],"ring-color":[{ring:O()}],"ring-offset-w":[{"ring-offset":[W,us]}],"ring-offset-color":[{"ring-offset":O()}],"inset-ring-w":[{"inset-ring":j()}],"inset-ring-color":[{"inset-ring":O()}],"text-shadow":[{"text-shadow":[`none`,f,Ss,gs]}],"text-shadow-color":[{"text-shadow":O()}],opacity:[{opacity:[W,K,G]}],"mix-blend":[{"mix-blend":[...de(),`plus-darker`,`plus-lighter`]}],"bg-blend":[{"bg-blend":de()}],"mask-clip":[{"mask-clip":[`border`,`padding`,`content`,`fill`,`stroke`,`view`]},`mask-no-clip`],"mask-composite":[{mask:[`add`,`subtract`,`intersect`,`exclude`]}],"mask-image-linear-pos":[{"mask-linear":[W]}],"mask-image-linear-from-pos":[{"mask-linear-from":fe()}],"mask-image-linear-to-pos":[{"mask-linear-to":fe()}],"mask-image-linear-from-color":[{"mask-linear-from":O()}],"mask-image-linear-to-color":[{"mask-linear-to":O()}],"mask-image-t-from-pos":[{"mask-t-from":fe()}],"mask-image-t-to-pos":[{"mask-t-to":fe()}],"mask-image-t-from-color":[{"mask-t-from":O()}],"mask-image-t-to-color":[{"mask-t-to":O()}],"mask-image-r-from-pos":[{"mask-r-from":fe()}],"mask-image-r-to-pos":[{"mask-r-to":fe()}],"mask-image-r-from-color":[{"mask-r-from":O()}],"mask-image-r-to-color":[{"mask-r-to":O()}],"mask-image-b-from-pos":[{"mask-b-from":fe()}],"mask-image-b-to-pos":[{"mask-b-to":fe()}],"mask-image-b-from-color":[{"mask-b-from":O()}],"mask-image-b-to-color":[{"mask-b-to":O()}],"mask-image-l-from-pos":[{"mask-l-from":fe()}],"mask-image-l-to-pos":[{"mask-l-to":fe()}],"mask-image-l-from-color":[{"mask-l-from":O()}],"mask-image-l-to-color":[{"mask-l-to":O()}],"mask-image-x-from-pos":[{"mask-x-from":fe()}],"mask-image-x-to-pos":[{"mask-x-to":fe()}],"mask-image-x-from-color":[{"mask-x-from":O()}],"mask-image-x-to-color":[{"mask-x-to":O()}],"mask-image-y-from-pos":[{"mask-y-from":fe()}],"mask-image-y-to-pos":[{"mask-y-to":fe()}],"mask-image-y-from-color":[{"mask-y-from":O()}],"mask-image-y-to-color":[{"mask-y-to":O()}],"mask-image-radial":[{"mask-radial":[K,G]}],"mask-image-radial-from-pos":[{"mask-radial-from":fe()}],"mask-image-radial-to-pos":[{"mask-radial-to":fe()}],"mask-image-radial-from-color":[{"mask-radial-from":O()}],"mask-image-radial-to-color":[{"mask-radial-to":O()}],"mask-image-radial-shape":[{"mask-radial":[`circle`,`ellipse`]}],"mask-image-radial-size":[{"mask-radial":[{closest:[`side`,`corner`],farthest:[`side`,`corner`]}]}],"mask-image-radial-pos":[{"mask-radial-at":b()}],"mask-image-conic-pos":[{"mask-conic":[W]}],"mask-image-conic-from-pos":[{"mask-conic-from":fe()}],"mask-image-conic-to-pos":[{"mask-conic-to":fe()}],"mask-image-conic-from-color":[{"mask-conic-from":O()}],"mask-image-conic-to-color":[{"mask-conic-to":O()}],"mask-mode":[{mask:[`alpha`,`luminance`,`match`]}],"mask-origin":[{"mask-origin":[`border`,`padding`,`content`,`fill`,`stroke`,`view`]}],"mask-position":[{mask:k()}],"mask-repeat":[{mask:ce()}],"mask-size":[{mask:le()}],"mask-type":[{"mask-type":[`alpha`,`luminance`]}],"mask-image":[{mask:[`none`,K,G]}],filter:[{filter:[``,`none`,K,G]}],blur:[{blur:pe()}],brightness:[{brightness:[W,K,G]}],contrast:[{contrast:[W,K,G]}],"drop-shadow":[{"drop-shadow":[``,`none`,p,Ss,gs]}],"drop-shadow-color":[{"drop-shadow":O()}],grayscale:[{grayscale:[``,W,K,G]}],"hue-rotate":[{"hue-rotate":[W,K,G]}],invert:[{invert:[``,W,K,G]}],saturate:[{saturate:[W,K,G]}],sepia:[{sepia:[``,W,K,G]}],"backdrop-filter":[{"backdrop-filter":[``,`none`,K,G]}],"backdrop-blur":[{"backdrop-blur":pe()}],"backdrop-brightness":[{"backdrop-brightness":[W,K,G]}],"backdrop-contrast":[{"backdrop-contrast":[W,K,G]}],"backdrop-grayscale":[{"backdrop-grayscale":[``,W,K,G]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[W,K,G]}],"backdrop-invert":[{"backdrop-invert":[``,W,K,G]}],"backdrop-opacity":[{"backdrop-opacity":[W,K,G]}],"backdrop-saturate":[{"backdrop-saturate":[W,K,G]}],"backdrop-sepia":[{"backdrop-sepia":[``,W,K,G]}],"border-collapse":[{border:[`collapse`,`separate`]}],"border-spacing":[{"border-spacing":w()}],"border-spacing-x":[{"border-spacing-x":w()}],"border-spacing-y":[{"border-spacing-y":w()}],"table-layout":[{table:[`auto`,`fixed`]}],caption:[{caption:[`top`,`bottom`]}],transition:[{transition:[``,`all`,`colors`,`opacity`,`shadow`,`transform`,`none`,K,G]}],"transition-behavior":[{transition:[`normal`,`discrete`]}],duration:[{duration:[W,`initial`,K,G]}],ease:[{ease:[`linear`,`initial`,_,K,G]}],delay:[{delay:[W,K,G]}],animate:[{animate:[`none`,v,K,G]}],backface:[{backface:[`hidden`,`visible`]}],perspective:[{perspective:[h,K,G]}],"perspective-origin":[{"perspective-origin":x()}],rotate:[{rotate:N()}],"rotate-x":[{"rotate-x":N()}],"rotate-y":[{"rotate-y":N()}],"rotate-z":[{"rotate-z":N()}],scale:[{scale:me()}],"scale-x":[{"scale-x":me()}],"scale-y":[{"scale-y":me()}],"scale-z":[{"scale-z":me()}],"scale-3d":[`scale-3d`],skew:[{skew:P()}],"skew-x":[{"skew-x":P()}],"skew-y":[{"skew-y":P()}],transform:[{transform:[K,G,``,`none`,`gpu`,`cpu`]}],"transform-origin":[{origin:x()}],"transform-style":[{transform:[`3d`,`flat`]}],translate:[{translate:he()}],"translate-x":[{"translate-x":he()}],"translate-y":[{"translate-y":he()}],"translate-z":[{"translate-z":he()}],"translate-none":[`translate-none`],zoom:[{zoom:[$o,K,G]}],accent:[{accent:O()}],appearance:[{appearance:[`none`,`auto`]}],"caret-color":[{caret:O()}],"color-scheme":[{scheme:[`normal`,`dark`,`light`,`light-dark`,`only-dark`,`only-light`]}],cursor:[{cursor:[`auto`,`default`,`pointer`,`wait`,`text`,`move`,`help`,`not-allowed`,`none`,`context-menu`,`progress`,`cell`,`crosshair`,`vertical-text`,`alias`,`copy`,`no-drop`,`grab`,`grabbing`,`all-scroll`,`col-resize`,`row-resize`,`n-resize`,`e-resize`,`s-resize`,`w-resize`,`ne-resize`,`nw-resize`,`se-resize`,`sw-resize`,`ew-resize`,`ns-resize`,`nesw-resize`,`nwse-resize`,`zoom-in`,`zoom-out`,K,G]}],"field-sizing":[{"field-sizing":[`fixed`,`content`]}],"pointer-events":[{"pointer-events":[`auto`,`none`]}],resize:[{resize:[`none`,``,`y`,`x`]}],"scroll-behavior":[{scroll:[`auto`,`smooth`]}],"scrollbar-thumb-color":[{"scrollbar-thumb":O()}],"scrollbar-track-color":[{"scrollbar-track":O()}],"scrollbar-gutter":[{"scrollbar-gutter":[`auto`,`stable`,`both`]}],"scrollbar-w":[{scrollbar:[`auto`,`thin`,`none`]}],"scroll-m":[{"scroll-m":w()}],"scroll-mx":[{"scroll-mx":w()}],"scroll-my":[{"scroll-my":w()}],"scroll-ms":[{"scroll-ms":w()}],"scroll-me":[{"scroll-me":w()}],"scroll-mbs":[{"scroll-mbs":w()}],"scroll-mbe":[{"scroll-mbe":w()}],"scroll-mt":[{"scroll-mt":w()}],"scroll-mr":[{"scroll-mr":w()}],"scroll-mb":[{"scroll-mb":w()}],"scroll-ml":[{"scroll-ml":w()}],"scroll-p":[{"scroll-p":w()}],"scroll-px":[{"scroll-px":w()}],"scroll-py":[{"scroll-py":w()}],"scroll-ps":[{"scroll-ps":w()}],"scroll-pe":[{"scroll-pe":w()}],"scroll-pbs":[{"scroll-pbs":w()}],"scroll-pbe":[{"scroll-pbe":w()}],"scroll-pt":[{"scroll-pt":w()}],"scroll-pr":[{"scroll-pr":w()}],"scroll-pb":[{"scroll-pb":w()}],"scroll-pl":[{"scroll-pl":w()}],"snap-align":[{snap:[`start`,`end`,`center`,`align-none`]}],"snap-stop":[{snap:[`normal`,`always`]}],"snap-type":[{snap:[`none`,`x`,`y`,`both`]}],"snap-strictness":[{snap:[`mandatory`,`proximity`]}],touch:[{touch:[`auto`,`none`,`manipulation`]}],"touch-x":[{"touch-pan":[`x`,`left`,`right`]}],"touch-y":[{"touch-pan":[`y`,`up`,`down`]}],"touch-pz":[`touch-pinch-zoom`],select:[{select:[`none`,`text`,`all`,`auto`]}],"will-change":[{"will-change":[`auto`,`scroll`,`contents`,`transform`,K,G]}],fill:[{fill:[`none`,...O()]}],"stroke-w":[{stroke:[W,_s,us,ds]}],stroke:[{stroke:[`none`,...O()]}],"forced-color-adjust":[{"forced-color-adjust":[`auto`,`none`]}]},conflictingClassGroups:{"container-named":[`container-type`],overflow:[`overflow-x`,`overflow-y`],overscroll:[`overscroll-x`,`overscroll-y`],inset:[`inset-x`,`inset-y`,`inset-bs`,`inset-be`,`start`,`end`,`top`,`right`,`bottom`,`left`],"inset-x":[`right`,`left`],"inset-y":[`top`,`bottom`],flex:[`basis`,`grow`,`shrink`],gap:[`gap-x`,`gap-y`],p:[`px`,`py`,`ps`,`pe`,`pbs`,`pbe`,`pt`,`pr`,`pb`,`pl`],px:[`pr`,`pl`],py:[`pt`,`pb`],m:[`mx`,`my`,`ms`,`me`,`mbs`,`mbe`,`mt`,`mr`,`mb`,`ml`],mx:[`mr`,`ml`],my:[`mt`,`mb`],size:[`w`,`h`],"font-size":[`leading`],"fvn-normal":[`fvn-ordinal`,`fvn-slashed-zero`,`fvn-figure`,`fvn-spacing`,`fvn-fraction`],"fvn-ordinal":[`fvn-normal`],"fvn-slashed-zero":[`fvn-normal`],"fvn-figure":[`fvn-normal`],"fvn-spacing":[`fvn-normal`],"fvn-fraction":[`fvn-normal`],"line-clamp":[`display`,`overflow`],rounded:[`rounded-s`,`rounded-e`,`rounded-t`,`rounded-r`,`rounded-b`,`rounded-l`,`rounded-ss`,`rounded-se`,`rounded-ee`,`rounded-es`,`rounded-tl`,`rounded-tr`,`rounded-br`,`rounded-bl`],"rounded-s":[`rounded-ss`,`rounded-es`],"rounded-e":[`rounded-se`,`rounded-ee`],"rounded-t":[`rounded-tl`,`rounded-tr`],"rounded-r":[`rounded-tr`,`rounded-br`],"rounded-b":[`rounded-br`,`rounded-bl`],"rounded-l":[`rounded-tl`,`rounded-bl`],"border-spacing":[`border-spacing-x`,`border-spacing-y`],"border-w":[`border-w-x`,`border-w-y`,`border-w-s`,`border-w-e`,`border-w-bs`,`border-w-be`,`border-w-t`,`border-w-r`,`border-w-b`,`border-w-l`],"border-w-x":[`border-w-r`,`border-w-l`],"border-w-y":[`border-w-t`,`border-w-b`],"border-color":[`border-color-x`,`border-color-y`,`border-color-s`,`border-color-e`,`border-color-bs`,`border-color-be`,`border-color-t`,`border-color-r`,`border-color-b`,`border-color-l`],"border-color-x":[`border-color-r`,`border-color-l`],"border-color-y":[`border-color-t`,`border-color-b`],translate:[`translate-x`,`translate-y`,`translate-none`],"translate-none":[`translate`,`translate-x`,`translate-y`,`translate-z`],"scroll-m":[`scroll-mx`,`scroll-my`,`scroll-ms`,`scroll-me`,`scroll-mbs`,`scroll-mbe`,`scroll-mt`,`scroll-mr`,`scroll-mb`,`scroll-ml`],"scroll-mx":[`scroll-mr`,`scroll-ml`],"scroll-my":[`scroll-mt`,`scroll-mb`],"scroll-p":[`scroll-px`,`scroll-py`,`scroll-ps`,`scroll-pe`,`scroll-pbs`,`scroll-pbe`,`scroll-pt`,`scroll-pr`,`scroll-pb`,`scroll-pl`],"scroll-px":[`scroll-pr`,`scroll-pl`],"scroll-py":[`scroll-pt`,`scroll-pb`],touch:[`touch-x`,`touch-y`,`touch-pz`],"touch-x":[`touch`],"touch-y":[`touch`],"touch-pz":[`touch`]},conflictingClassGroupModifiers:{"font-size":[`leading`]},postfixLookupClassGroups:[`container-type`],orderSensitiveModifiers:[`*`,`**`,`after`,`backdrop`,`before`,`details-content`,`file`,`first-letter`,`first-line`,`marker`,`placeholder`,`selection`]}}),Fs=(...e)=>Ps(so(e)),Is=uo(`inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50`,{variants:{variant:{default:`bg-primary text-primary-foreground hover:bg-primary/90`,outline:`border border-input bg-background hover:bg-accent hover:text-accent-foreground`,secondary:`bg-secondary text-secondary-foreground hover:bg-secondary/80`,ghost:`hover:bg-accent hover:text-accent-foreground`},size:{default:`h-9 px-4 py-2`,sm:`h-8 rounded-md px-3 text-xs`,lg:`h-10 rounded-md px-8`}},defaultVariants:{variant:`default`,size:`default`}}),Ls=_.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...i},a)=>(0,x.jsx)(r?qa:`button`,{className:Fs(Is({variant:t,size:n,className:e})),ref:a,...i}));Ls.displayName=`Button`;var Rs=`Copying to the clipboard is not available in this browser context.`,zs=e=>{let t=document.createElement(`textarea`);t.value=e,t.setAttribute(`readonly`,``),t.style.position=`fixed`,t.style.top=`0`,t.style.left=`0`,t.style.opacity=`0`,document.body.appendChild(t),t.select(),t.setSelectionRange(0,e.length);let n=document.execCommand(`copy`);return t.remove(),n},Bs=async e=>{let t=navigator.clipboard;if(t!==void 0&&typeof t.writeText==`function`)try{await t.writeText(e);return}catch{if(zs(e))return;throw Error(Rs)}if(!zs(e))throw Error(Rs)},Vs=1500,Hs=`Copy failed`,Us=`Copying to the clipboard failed`,Ws=({value:e,idleText:t,idleAriaLabel:n,copiedAriaLabel:r,className:i})=>{let[a,o]=(0,_.useState)(`idle`),s=(0,_.useRef)(null);return(0,_.useEffect)(()=>()=>{s.current!==null&&clearTimeout(s.current)},[]),(0,x.jsx)(Ls,{type:`button`,variant:`ghost`,size:`sm`,className:i,"aria-label":a===`copied`?r:a===`failed`?Us:n,onClick:async()=>{try{await Bs(e),o(`copied`)}catch(e){console.error(e),o(`failed`)}s.current!==null&&clearTimeout(s.current),s.current=setTimeout(()=>{o(`idle`),s.current=null},Vs)},children:a===`copied`?`Copied`:a===`failed`?Hs:t})},Gs=({code:e,label:t=`Copy code`})=>(0,x.jsx)(Ws,{value:e,idleText:t,idleAriaLabel:t,copiedAriaLabel:`Code copied to clipboard`,className:`console-copy-code-button`}),Ks=`https://cdn.jsdelivr.net/npm/mermaid@10.9.6/dist/mermaid.min.js`,qs=null,Js=0,Ys=e=>(e.initialize({startOnLoad:!1,securityLevel:`strict`,theme:`dark`,themeVariables:{background:`#0d1117`,primaryColor:`#161b22`,primaryTextColor:`#e6edf3`,primaryBorderColor:`#30363d`,lineColor:`#8b949e`,fontSize:`14px`}}),e),Xs=()=>qs===null?window.mermaid===void 0?(qs=new Promise((e,t)=>{let n=document.createElement(`script`);n.src=Ks,n.async=!0,n.onload=()=>{if(window.mermaid===void 0){t(Error(`mermaid failed to load`));return}e(Ys(window.mermaid))},n.onerror=()=>t(Error(`mermaid script failed to load`)),document.head.appendChild(n)}),qs):(qs=Promise.resolve(Ys(window.mermaid)),qs):qs,Zs=async e=>{let t=await Xs();Js+=1;let n=`console-mermaid-${Js}`,{svg:r}=await t.render(n,e);return Rr.sanitize(r,{USE_PROFILES:{svg:!0,svgFilters:!0},ADD_TAGS:[`foreignObject`]})},Qs=.5,$s=e=>Number.isNaN(e)||e<1?1:e>6?6:e,ec=e=>$s($s(e)+Qs),tc=e=>$s($s(e)-Qs),nc=e=>$s(e)<=1,rc=e=>$s(e)>=6,ic=e=>`${Math.round($s(e)*100)}%`,ac=e=>`${$s(e)*100}%`,oc=({svg:e,onClose:t})=>{let[n,r]=(0,_.useState)(1),i=(0,_.useRef)(null);return(0,_.useEffect)(()=>{let t=i.current;if(t===null)return;t.innerHTML=e;let n=t.querySelector(`svg`);n!==null&&(n.style.removeProperty(`max-width`),n.style.setProperty(`width`,`100%`),n.style.setProperty(`height`,`auto`))},[e]),(0,_.useEffect)(()=>{let e=e=>{e.key===`Escape`&&t()};return document.addEventListener(`keydown`,e),()=>{document.removeEventListener(`keydown`,e)}},[t]),(0,x.jsxs)(`div`,{className:`console-mermaid-modal`,role:`dialog`,"aria-modal":`true`,"aria-label":`Enlarged diagram`,children:[(0,x.jsxs)(`div`,{className:`console-mermaid-modal-bar`,children:[(0,x.jsx)(`button`,{type:`button`,className:`console-mermaid-modal-button`,"aria-label":`Zoom out`,disabled:nc(n),onClick:()=>r(tc(n)),children:`−`}),(0,x.jsx)(`span`,{className:`console-mermaid-modal-scale`,children:ic(n)}),(0,x.jsx)(`button`,{type:`button`,className:`console-mermaid-modal-button`,"aria-label":`Zoom in`,disabled:rc(n),onClick:()=>r(ec(n)),children:`+`}),(0,x.jsx)(`button`,{type:`button`,className:`console-mermaid-modal-close`,"aria-label":`Close enlarged diagram`,onClick:t,children:`✕`})]}),(0,x.jsx)(`div`,{className:`console-mermaid-modal-viewport`,children:(0,x.jsx)(`div`,{ref:i,className:`console-mermaid-modal-canvas`,style:{width:ac(n)}})})]})},sc=({code:e})=>{let[t,n]=(0,_.useState)({status:`loading`}),[r,i]=(0,_.useState)(!1),a=(0,_.useRef)(null);return(0,_.useEffect)(()=>{let t=!1;return n({status:`loading`}),Zs(e).then(e=>{t||n({status:`ready`,svg:e})}).catch(e=>{t||n({status:`error`,message:e instanceof Error?e.message:String(e)})}),()=>{t=!0}},[e]),(0,_.useEffect)(()=>{let e=a.current;e!==null&&(e.innerHTML=t.status===`ready`?t.svg:``)},[t]),t.status===`loading`?(0,x.jsx)(`div`,{className:`console-mermaid-loading`,children:`Rendering diagram...`}):t.status===`error`?(0,x.jsxs)(`div`,{className:`console-mermaid`,children:[(0,x.jsxs)(`div`,{className:`console-mermaid-error`,children:[`Mermaid render error: `,t.message]}),(0,x.jsx)(`pre`,{className:`console-mermaid-source`,children:(0,x.jsx)(`code`,{children:e})})]}):(0,x.jsxs)(`div`,{className:`console-mermaid`,children:[(0,x.jsx)(`div`,{ref:a,className:`console-mermaid-rendered`}),(0,x.jsx)(`button`,{type:`button`,className:`console-mermaid-enlarge`,onClick:()=>i(!0),children:`Enlarge diagram`}),r&&(0,x.jsx)(oc,{svg:t.svg,onClose:()=>i(!1)})]})},cc=e=>{let t=e.querySelectorAll(`a[href]`),n=[];return t.forEach((e,t)=>{let r=e.getAttribute(`href`)??``;if(ln(r)===null)return;let i=e.textContent??r,a=document.createElement(`span`);a.className=`console-markdown-reference-host`,e.replaceWith(a),n.push({key:`${t}:${r}`,host:a,href:r,fallbackText:i})}),n},lc=e=>{let t=e.querySelectorAll(`pre > code`),n=[];return t.forEach((e,t)=>{let r=e.parentElement;if(r===null)return;let i=e.textContent??``,a=document.createElement(`div`);a.className=`console-markdown-code-block`;let o=document.createElement(`div`);o.className=`console-markdown-code-copy-host`,r.replaceWith(a),a.append(o,r),n.push({key:`code:${t}`,host:o,code:i})}),n},uc=({source:e,buildImageProxyUrl:t,renderReferenceLink:n,repoContext:r})=>{let i=(0,_.useMemo)(()=>{let n=Pa(e,r);return t===void 0?n:gn(n,t)},[e,t,r]),a=(0,_.useRef)(null),[o,s]=(0,_.useState)([]),[c,l]=(0,_.useState)([]);return(0,_.useEffect)(()=>{let e=a.current;e!==null&&(e.innerHTML=i,l(lc(e)),s(n===void 0?[]:cc(e)))},[i,n]),(0,x.jsxs)(`div`,{ref:a,className:`console-markdown`,children:[c.map(e=>(0,fn.createPortal)((0,x.jsx)(Gs,{code:e.code}),e.host,e.key)),n!==void 0&&o.map(e=>(0,fn.createPortal)(n(e.href,e.fallbackText),e.host,e.key))]})},dc=({body:e,buildImageProxyUrl:t,renderReferenceLink:n,repoContext:r})=>{let i=(0,_.useMemo)(()=>Ra(e),[e]);return e.trim()===``?(0,x.jsx)(`p`,{className:`console-markdown-empty`,children:`No description provided.`}):(0,x.jsx)(`div`,{className:`console-markdown-view`,children:i.map(e=>e.kind===`mermaid`?(0,x.jsx)(sc,{code:e.code},e.key):(0,x.jsx)(uc,{source:e.source,buildImageProxyUrl:t,renderReferenceLink:n,repoContext:r},e.key))})},fc=({title:e,count:t=null,defaultCollapsed:n=!1,headerAction:r,children:i})=>{let[a,o]=(0,_.useState)(n),s=t===null?e:`${e} (${t})`;return(0,x.jsxs)(`section`,{className:`console-panel`,children:[(0,x.jsxs)(`header`,{className:`console-panel-header`,children:[(0,x.jsxs)(`button`,{type:`button`,className:`console-panel-toggle`,"aria-expanded":!a,onClick:()=>o(e=>!e),children:[(0,x.jsx)(`span`,{className:`console-panel-caret`,children:a?`▸`:`▾`}),(0,x.jsx)(`span`,{className:`console-panel-title`,children:s})]}),r!==void 0&&(0,x.jsx)(`div`,{className:`console-panel-action`,children:r})]}),!a&&(0,x.jsx)(`div`,{className:`console-panel-body`,children:i})]})},pc=e=>{switch(e){case`added`:return{label:`A`,color:`#3fb950`};case`modified`:return{label:`M`,color:`#d29922`};case`removed`:return{label:`D`,color:`#f85149`};case`renamed`:return{label:`R`,color:`#a371f7`};case`changed`:return{label:`M`,color:`#d29922`};default:return{label:`?`,color:`#8b949e`}}},mc=()=>({directories:new Map,files:[]}),hc=e=>e.split(`/`).filter(e=>e!==``),gc=(e,t)=>e.name.localeCompare(t.name),_c=(e,t)=>{let n=[];e.directories.forEach((e,r)=>{let i=t===``?r:`${t}/${r}`;n.push({kind:`directory`,name:r,path:i,children:_c(e,i)})}),n.sort(gc);let r=e.files.map(e=>({kind:`file`,name:hc(e.path).at(-1)??e.path,path:e.path,file:e}));return r.sort(gc),[...n,...r]},vc=e=>{let t=mc();for(let n of e){let e=hc(n.path);if(e.length===0){t.files.push(n);continue}let r=e.slice(0,-1),i=t;for(let e of r){let t=i.directories.get(e);if(t===void 0){let t=mc();i.directories.set(e,t),i=t;continue}i=t}i.files.push(n)}return _c(t,``)},yc=/^@@ -(\d+)(?:,\d+)? \+(\d+)(?:,\d+)? @@/,bc=e=>{let t=[],n=0,r=0;for(let i of e.split(`
|
|
85
85
|
`)){if(i.startsWith(`@@`)){let e=i.match(yc);e!==null&&(n=Number(e[1]),r=Number(e[2])),t.push({kind:`hunk`,oldLineNumber:null,newLineNumber:null,content:i});continue}if(i.startsWith(`+`)){t.push({kind:`add`,oldLineNumber:null,newLineNumber:r,content:i}),r+=1;continue}if(i.startsWith(`-`)){t.push({kind:`del`,oldLineNumber:n,newLineNumber:null,content:i}),n+=1;continue}t.push({kind:`ctx`,oldLineNumber:n,newLineNumber:r,content:i}),n+=1,r+=1}return t},xc=[`.png`,`.jpg`,`.jpeg`,`.gif`,`.webp`,`.svg`,`.avif`,`.bmp`,`.ico`],Sc=e=>{let t=e.toLowerCase();return xc.some(e=>t.endsWith(e))},Cc=e=>e.kind===`add`||e.kind===`ctx`?e.newLineNumber===null?null:{line:e.newLineNumber,side:`RIGHT`}:e.kind===`del`?e.oldLineNumber===null?null:{line:e.oldLineNumber,side:`LEFT`}:null,wc=e=>`${e.kind}:${e.oldLineNumber??`x`}:${e.newLineNumber??`x`}:${e.content}`,Tc=({target:e,onSubmit:t,onClose:n})=>{let[r,i]=(0,_.useState)(``),[a,o]=(0,_.useState)({kind:`idle`}),s=async()=>{let n=r.trim();if(!(n.length===0||a.kind===`posting`)){o({kind:`posting`});try{await t(e.path,e.line,e.side,n),i(``),o({kind:`posted`})}catch(e){o({kind:`error`,message:e instanceof Error?e.message:`failed to post`})}}};return(0,x.jsxs)(`div`,{className:`console-diff-composer`,children:[(0,x.jsxs)(`div`,{className:`console-diff-composer-anchor`,children:[`commenting on line `,e.line,` (`,e.side,`)`]}),a.kind===`posted`?(0,x.jsx)(`p`,{className:`console-diff-composer-posted`,children:`Comment saved.`}):(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(`textarea`,{className:`console-diff-composer-input`,rows:3,placeholder:`Leave a review comment on this line…`,value:r,onChange:e=>i(e.target.value)}),(0,x.jsxs)(`div`,{className:`console-diff-composer-controls`,children:[(0,x.jsx)(`button`,{type:`button`,className:`console-diff-composer-submit`,disabled:a.kind===`posting`,onClick:()=>{s()},children:`Comment`}),(0,x.jsx)(`button`,{type:`button`,className:`console-diff-composer-cancel`,onClick:n,children:`Cancel`}),a.kind===`posting`&&(0,x.jsx)(`span`,{className:`console-diff-composer-status`,children:`Posting…`}),a.kind===`error`&&(0,x.jsxs)(`span`,{role:`alert`,className:`console-diff-composer-status console-diff-composer-error`,children:[`Failed: `,a.message]})]})]})]})},Ec=({patch:e,path:t,rawUrl:n,buildImageProxyUrl:r,onAddInlineComment:i})=>{let[a,o]=(0,_.useState)(null);if(e===null||e===``)return t!==void 0&&Sc(t)&&n!=null&&r!==void 0?(0,x.jsx)(`div`,{className:`console-file-diff-image`,children:(0,x.jsx)(`img`,{className:`console-file-diff-image-content`,src:r(n),alt:t})}):(0,x.jsx)(`p`,{className:`console-file-diff-empty`,children:`(no diff / binary or too large)`});let s=bc(e),c=i!==void 0&&t!==void 0&&t.length>0,l=c?4:3;return(0,x.jsx)(`table`,{className:`console-file-diff`,children:(0,x.jsx)(`tbody`,{children:s.map(e=>{let n=wc(e),r=c?Cc(e):null,s=a!==null&&r!==null&&a.line===r.line&&a.side===r.side;return(0,x.jsxs)(_.Fragment,{children:[(0,x.jsxs)(`tr`,{className:`console-diff-row console-diff-${e.kind}`,children:[c&&(0,x.jsx)(`td`,{className:`console-diff-comment-cell`,children:r!==null&&t!==void 0&&(0,x.jsx)(`button`,{type:`button`,className:`console-diff-comment-button`,"aria-label":`Comment on line ${r.line} (${r.side})`,"aria-expanded":s,onClick:()=>o(s?null:{path:t,line:r.line,side:r.side}),children:`+`})}),(0,x.jsx)(`td`,{className:`console-diff-ln`,children:e.oldLineNumber??``}),(0,x.jsx)(`td`,{className:`console-diff-ln`,children:e.newLineNumber??``}),(0,x.jsx)(`td`,{className:`console-diff-code`,children:e.content})]}),s&&i!==void 0&&a!==null&&(0,x.jsx)(`tr`,{className:`console-diff-composer-row`,children:(0,x.jsx)(`td`,{colSpan:l,children:(0,x.jsx)(Tc,{target:a,onSubmit:i,onClose:()=>o(null)})})})]},n)})})})},Dc=e=>({paddingLeft:`${e*16}px`}),Oc=({file:e,depth:t,name:n,buildImageProxyUrl:r,onAddInlineComment:i})=>{let[a,o]=(0,_.useState)(!1),s=pc(e.status);return(0,x.jsxs)(`li`,{className:`console-file`,children:[(0,x.jsxs)(`button`,{type:`button`,className:`console-file-row`,style:Dc(t),"aria-expanded":a,onClick:()=>o(e=>!e),children:[(0,x.jsx)(`span`,{className:`console-file-caret`,children:a?`▾`:`▸`}),(0,x.jsx)(`span`,{className:`console-file-badge`,style:{color:s.color,borderColor:s.color},children:s.label}),(0,x.jsx)(`span`,{className:`console-file-path`,children:n}),(0,x.jsxs)(`span`,{className:`console-file-stat console-file-add`,children:[`+`,e.additions]}),(0,x.jsxs)(`span`,{className:`console-file-stat console-file-del`,children:[`-`,e.deletions]})]}),a&&(0,x.jsx)(Ec,{patch:e.patch,path:e.path,rawUrl:e.rawUrl,buildImageProxyUrl:r,onAddInlineComment:i})]})},kc=({node:e,depth:t,buildImageProxyUrl:n,onAddInlineComment:r})=>e.kind===`file`?(0,x.jsx)(Oc,{file:e.file,depth:t,name:e.name,buildImageProxyUrl:n,onAddInlineComment:r}):(0,x.jsxs)(`li`,{className:`console-file-tree-dir`,children:[(0,x.jsxs)(`div`,{className:`console-file-tree-dir-name`,style:Dc(t),children:[(0,x.jsx)(`span`,{className:`console-file-tree-dir-icon`,"aria-hidden":`true`,children:`📁`}),e.name]}),(0,x.jsx)(`ul`,{className:`console-file-tree-children`,children:e.children.map(e=>(0,x.jsx)(kc,{node:e,depth:t+1,buildImageProxyUrl:n,onAddInlineComment:r},e.path))})]}),Ac=({files:e,isLoading:t,error:n,buildImageProxyUrl:r,onAddInlineComment:i})=>n===null?t?(0,x.jsx)(`p`,{className:`console-files-loading`,children:`Loading changed files...`}):e.length===0?(0,x.jsx)(`p`,{className:`console-files-empty`,children:`No changed files.`}):(0,x.jsx)(`ul`,{className:`console-files console-file-tree`,children:vc(e).map(e=>(0,x.jsx)(kc,{node:e,depth:0,buildImageProxyUrl:r,onAddInlineComment:i},e.path))}):(0,x.jsx)(`p`,{className:`console-files-notloaded`,children:`Not loaded.`}),jc=({comments:e,isLoading:t,error:n,now:r,buildImageProxyUrl:i,renderReferenceLink:a,repoContext:o})=>{let[s,c]=(0,_.useState)(!1);if(n!==null)return(0,x.jsx)(`p`,{className:`console-comment-notloaded`,children:`Not loaded.`});if(t)return(0,x.jsx)(`p`,{className:`console-comment-loading`,children:`Loading comments...`});if(e.length===0)return(0,x.jsx)(`p`,{className:`console-comment-empty`,children:`No comments.`});let l=s?e:e.slice(-1);return(0,x.jsxs)(`div`,{className:`console-comment-list`,children:[!s&&e.length>1&&(0,x.jsxs)(`button`,{type:`button`,className:`console-comment-show-all`,onClick:()=>c(!0),children:[`Show all `,e.length]}),l.map(e=>(0,x.jsxs)(`article`,{className:`console-comment`,children:[(0,x.jsxs)(`header`,{className:`console-comment-header`,children:[(0,x.jsx)(`span`,{className:`console-comment-author`,children:e.author}),(0,x.jsx)(`span`,{className:`console-comment-time`,children:D(e.createdAt,r)})]}),(0,x.jsx)(dc,{body:e.body,buildImageProxyUrl:i,renderReferenceLink:a,repoContext:o})]},`${e.author}:${e.createdAt}:${e.body}`))]})},Mc=e=>e.slice(0,7),Nc=e=>e.split(`
|
|
86
|
-
`)[0],Pc=({commits:e,isLoading:t,error:n,now:r})=>n===null?t?(0,x.jsx)(`p`,{className:`console-commits-loading`,children:`Loading commits...`}):e.length===0?(0,x.jsx)(`p`,{className:`console-commits-empty`,children:`No commits.`}):(0,x.jsx)(`ul`,{className:`console-commits`,children:e.map(e=>(0,x.jsxs)(`li`,{className:`console-commit`,children:[(0,x.jsx)(`span`,{className:`console-commit-message`,children:Nc(e.message)}),(0,x.jsx)(`span`,{className:`console-commit-sha`,children:Mc(e.sha)}),(0,x.jsx)(`span`,{className:`console-commit-author`,children:e.author}),(0,x.jsx)(`span`,{className:`console-commit-time`,children:D(e.authoredAt,r)})]},e.sha))}):(0,x.jsx)(`p`,{className:`console-commits-notloaded`,children:`Not loaded.`}),Fc=({url:e,label:t=`Copy URL`})=>(0,x.jsx)(Ws,{value:e,idleText:`Copy URL`,idleAriaLabel:t,copiedAriaLabel:`URL copied to clipboard`,className:`console-copy-url-button`}),Ic=e=>{let t=new Map;for(let n of e){let e=t.get(n.message);if(e===void 0){t.set(n.message,[n.section]);continue}e.push(n.section)}return Array.from(t,([e,t])=>({message:e,sections:t}))},Lc=e=>e.length<=1?e.join(``):`${e.slice(0,-1).join(`, `)} and ${e[e.length-1]}`,Rc=({failures:e})=>e.length===0?null:(0,x.jsx)(`div`,{role:`alert`,className:`console-detail-fetch-error`,children:Ic(e).map(e=>(0,x.jsxs)(`p`,{className:`console-detail-fetch-error-line`,children:[`Failed to load `,Lc(e.sections),`:`,` `,e.message]},e.message))}),zc={MERGEABLE:{color:`GREEN`,label:`No conflict`,title:`This pull request has no merge conflicts`,modifier:`console-detail-mergeable-chip-ok`},CONFLICTING:{color:`RED`,label:`Conflict`,title:`This pull request has merge conflicts`,modifier:`console-detail-mergeable-chip-conflict`},UNKNOWN:{color:`GRAY`,label:`Checking merge status`,title:`GitHub has not finished computing the merge status yet`,modifier:`console-detail-mergeable-chip-unknown`}},Bc=({mergeableStatus:e})=>{let t=zc[e],n=le(t.color);return(0,x.jsx)(`span`,{className:`console-detail-status-chip console-detail-mergeable-chip ${t.modifier}`,style:{color:n.fg,borderColor:n.border,backgroundColor:n.bg},title:t.title,children:t.label})},Vc=e=>{let t=le(e);return{color:t.fg,borderColor:t.border,backgroundColor:t.bg}},Hc=({isPassedAllCiJob:e,isCiStateSuccess:t,isBranchOutOfDate:n,missingRequiredCheckNames:r})=>{let i=e&&t,a=i?`GREEN`:`RED`,o=i?`CI passing`:`CI failing`,s=!i&&r.length>0?`missing: ${r.join(`, `)}`:null;return(0,x.jsxs)(`span`,{className:`console-detail-pr-status`,children:[(0,x.jsxs)(`span`,{className:`console-detail-status-chip console-detail-ci-chip`,style:Vc(a),title:s??o,children:[o,s!==null&&(0,x.jsxs)(`span`,{className:`console-detail-ci-missing`,children:[` `,`(`,s,`)`]})]}),n&&(0,x.jsx)(`span`,{className:`console-detail-status-chip console-detail-outofdate-chip`,style:Vc(`YELLOW`),title:`This branch is out of date with the base branch`,children:`Out of date`})]})},Uc=({pullRequest:e,body:t,bodyIsLoading:n,files:r,filesAreLoading:i,filesError:a,commits:o,commitsAreLoading:s,commitsError:c,now:l,buildImageProxyUrl:u,renderReferenceLink:d,onAddInlineComment:f})=>{let p=e.summary,m=ln(e.url),h=m===null?void 0:{owner:m.owner,repo:m.repo},g=i||a!==null?null:r.length,_=s||c!==null?null:o.length;return(0,x.jsxs)(x.Fragment,{children:[(0,x.jsxs)(`div`,{className:`console-pr-header`,children:[(0,x.jsx)(`a`,{href:e.url,className:`console-pr-section-title`,target:`_blank`,rel:`noopener noreferrer`,children:p?.title??e.url}),e.isDraft&&(0,x.jsx)(`span`,{className:`console-pr-section-state`,children:`draft`}),(0,x.jsx)(Bc,{mergeableStatus:e.mergeableStatus}),(0,x.jsx)(Hc,{isPassedAllCiJob:e.isPassedAllCiJob,isCiStateSuccess:e.isCiStateSuccess,isBranchOutOfDate:e.isBranchOutOfDate,missingRequiredCheckNames:e.missingRequiredCheckNames}),(0,x.jsx)(`a`,{href:e.url,className:`console-panel-open-link`,target:`_blank`,rel:`noopener noreferrer`,children:`open`}),(0,x.jsx)(Fc,{url:e.url,label:`Copy PR URL`}),(0,x.jsxs)(`div`,{className:`console-pr-statbar`,children:[e.branchName!==null&&(0,x.jsx)(`span`,{className:`console-pr-branch`,children:e.branchName}),p!==null&&(0,x.jsxs)(x.Fragment,{children:[(0,x.jsxs)(`span`,{className:`console-pr-add`,children:[`+`,p.additions]}),(0,x.jsxs)(`span`,{className:`console-pr-del`,children:[`-`,p.deletions]}),(0,x.jsxs)(`span`,{className:`console-pr-files-count`,children:[p.changedFiles,` files`]})]})]})]}),(0,x.jsx)(fc,{title:`Description`,children:n?(0,x.jsx)(`p`,{className:`console-pr-body-loading`,children:`Loading description...`}):(0,x.jsx)(dc,{body:p?.body??t,buildImageProxyUrl:u,renderReferenceLink:d,repoContext:h})}),(0,x.jsx)(fc,{title:`Changed files`,count:g,children:(0,x.jsx)(Ac,{files:r,isLoading:i,error:a,buildImageProxyUrl:u,onAddInlineComment:f})}),(0,x.jsx)(fc,{title:`Commits`,count:_,defaultCollapsed:!0,children:(0,x.jsx)(Pc,{commits:o,isLoading:s,error:c,now:l})})]})},Wc=({item:e,storyName:t,storyColorEnum:n,overlayStatus:r,statusOptions:i,state:a,body:o,bodyIsLoading:s,bodyError:c,comments:l,commentsAreLoading:u,commentsError:d,files:f,filesAreLoading:p,filesError:m,commits:h,commitsAreLoading:g,commitsError:_,stateError:v,pullRequestStatus:y,pullRequestStatusError:b,relatedPullRequests:S,relatedPullRequestsError:C,now:w,commentComposer:T,operationBar:ee,buildImageProxyUrl:te,renderReferenceLink:E,onAddInlineComment:ne})=>{let re=a?.state??`open`,ie=a?.merged??!1,oe=!e.isPr&&re===`closed`?`Closed`:null,se=un(e.nameWithOwner)??void 0,k=le(n),ce=r===null?e.status===null?null:{name:e.status,color:i.find(t=>t.name===e.status)?.color??`GRAY`}:r,ue=ce===null?null:le(ce.color),A=p||m!==null?null:f.length,j=u||d!==null?null:l.length,M=g||_!==null?null:h.length,de=e=>{let t=ln(e);return t===null?e:`PR #${t.number}`},fe=[{section:`item state`,message:v},{section:`pull request status`,message:e.isPr?b:null},{section:`description`,message:c},{section:`comments`,message:d},{section:`changed files`,message:e.isPr?m:null},{section:`commits`,message:e.isPr?_:null},{section:`related pull requests`,message:e.isPr?null:C},...S.flatMap(e=>[{section:`changed files of ${de(e.pullRequest.url)}`,message:e.filesError},{section:`commits of ${de(e.pullRequest.url)}`,message:e.commitsError}])].flatMap(e=>e.message===null?[]:[{section:e.section,message:e.message}]),pe=e.isPr&&y?.found?[{url:e.url,mergeableStatus:y.mergeableStatus}]:[];return(0,x.jsxs)(`article`,{className:`console-detail`,children:[(0,x.jsxs)(`h2`,{className:`console-detail-title`,children:[(0,x.jsx)(O,{isPr:e.isPr,state:re,merged:ie,isDraft:!1,stateReason:``}),(0,x.jsx)(`span`,{className:`console-detail-title-text`,children:e.title}),(0,x.jsx)(`span`,{className:`console-detail-number`,children:e.isPr?`PR #${e.number}`:`#${e.number}`})]}),(0,x.jsxs)(`div`,{className:`console-detail-topline`,children:[ce!==null&&ue!==null&&(0,x.jsx)(`span`,{className:`console-detail-status-chip`,style:{color:ue.fg,borderColor:ue.border,backgroundColor:ue.bg},children:ce.name}),e.agent!==null&&e.agent!==``&&(0,x.jsx)(`span`,{className:`console-detail-agent-chip`,children:e.agent}),t!==null&&(0,x.jsxs)(`span`,{className:`console-storytag`,children:[(0,x.jsx)(`span`,{className:`console-story-dot`,style:{backgroundColor:k.dot}}),t]}),e.isPr&&y?.found&&(0,x.jsx)(Hc,{isPassedAllCiJob:y.isPassedAllCiJob,isCiStateSuccess:y.isCiStateSuccess,isBranchOutOfDate:y.isBranchOutOfDate,missingRequiredCheckNames:y.missingRequiredCheckNames}),!e.isPr&&S.map(e=>(0,x.jsxs)(`span`,{className:`console-related-pr-group`,children:[S.length>1&&(0,x.jsx)(`span`,{className:`console-related-pr-label`,children:de(e.pullRequest.url)}),(0,x.jsx)(Hc,{isPassedAllCiJob:e.pullRequest.isPassedAllCiJob,isCiStateSuccess:e.pullRequest.isCiStateSuccess,isBranchOutOfDate:e.pullRequest.isBranchOutOfDate,missingRequiredCheckNames:e.pullRequest.missingRequiredCheckNames}),(0,x.jsx)(Bc,{mergeableStatus:e.pullRequest.mergeableStatus})]},e.pullRequest.url)),pe.map(e=>(0,x.jsx)(Bc,{mergeableStatus:e.mergeableStatus},e.url)),oe!==null&&(0,x.jsx)(`span`,{className:`console-detail-closed-label`,children:oe})]}),(0,x.jsx)(Rc,{failures:fe}),(0,x.jsxs)(`div`,{className:`console-detail-subbar`,children:[(0,x.jsx)(`a`,{href:e.url,className:`console-detail-link`,target:`_blank`,rel:`noopener noreferrer`,children:e.isPr?`PR #${e.number}`:`Issue #${e.number}`}),(0,x.jsx)(`span`,{className:`console-detail-repo`,children:e.repo}),(0,x.jsx)(`span`,{className:`console-detail-pill`,children:e.isPr?`PR`:`Issue`}),(0,x.jsx)(Fc,{url:e.url})]}),e.labels.length>0&&(0,x.jsx)(`div`,{className:`console-detail-labels`,children:e.labels.map(e=>(0,x.jsx)(`span`,{className:`console-label-chip`,children:e},e))}),(0,x.jsxs)(`div`,{className:`console-detail-createdat`,title:ae(e.createdAt),children:[`opened `,D(e.createdAt,w)]}),(0,x.jsx)(fc,{title:`Description`,headerAction:(0,x.jsx)(`a`,{href:e.url,className:`console-panel-open-link`,target:`_blank`,rel:`noopener noreferrer`,children:`open`}),children:c===null?s?(0,x.jsx)(`p`,{className:`console-detail-body-loading`,children:`Loading description...`}):(0,x.jsx)(dc,{body:o,buildImageProxyUrl:te,renderReferenceLink:E,repoContext:se}):(0,x.jsx)(`p`,{className:`console-detail-body-notloaded`,children:`Not loaded.`})}),e.isPr&&(0,x.jsx)(fc,{title:`Changed files`,count:A,children:(0,x.jsx)(Ac,{files:f,isLoading:p,error:m,onAddInlineComment:ne})}),(0,x.jsx)(fc,{title:`Comments`,count:j,defaultCollapsed:e.isPr,children:(0,x.jsx)(jc,{comments:l,isLoading:u,error:d,now:w,buildImageProxyUrl:te,renderReferenceLink:E,repoContext:se})}),e.isPr&&(0,x.jsx)(fc,{title:`Commits`,count:M,defaultCollapsed:!0,children:(0,x.jsx)(Pc,{commits:h,isLoading:g,error:_,now:w})}),!e.isPr&&S.map(e=>(0,x.jsx)(Uc,{pullRequest:e.pullRequest,body:e.pullRequest.summary?.body??``,bodyIsLoading:!1,files:e.files,filesAreLoading:e.filesAreLoading,filesError:e.filesError,commits:e.commits,commitsAreLoading:e.commitsAreLoading,commitsError:e.commitsError,now:w,buildImageProxyUrl:te,renderReferenceLink:E,onAddInlineComment:ne},e.pullRequest.url)),(0,x.jsxs)(`div`,{className:`console-detail-dock`,children:[(0,x.jsx)(`div`,{className:`console-detail-dock-composer`,children:T}),(0,x.jsx)(`div`,{className:`console-actionbar`,children:ee})]})]})},Gc=({onClose:e})=>(0,x.jsxs)(`div`,{className:`console-op-group`,children:[(0,x.jsx)(`button`,{type:`button`,className:`console-op-button`,onClick:()=>e(`close_not_planned`),children:`Close as not planned`}),(0,x.jsx)(`button`,{type:`button`,className:`console-op-button`,onClick:()=>e(`close`),children:`Close`})]}),Kc=({isManualTriage:e,onSetNextActionDate:t})=>(0,x.jsxs)(`div`,{className:`console-op-group`,children:[(0,x.jsx)(`button`,{type:`button`,className:`console-op-button console-op-button-snooze`,onClick:()=>t(`snooze_1day`),children:`+1 day`}),(0,x.jsx)(`button`,{type:`button`,className:`console-op-button console-op-button-snooze`,onClick:()=>t(`snooze_1week`),children:e?`+1 week and skip`:`+1 week`})]}),qc=[{action:`unnecessary`,label:`Unnecessary`,variant:`unneeded`},{action:`totally_wrong`,label:`Totally wrong`,variant:`wrong`},{action:`request_changes`,label:`Reject`,variant:`reject`},{action:`approve_and_merge`,label:`Approve & Merge`,variant:`approve`}],Jc=`Reject needs an inline comment on the diff.`,Yc=({onReview:e,rejectEnabled:t})=>(0,x.jsxs)(`div`,{className:`console-op-group console-op-group-review`,children:[!t&&(0,x.jsx)(`p`,{className:`console-op-requirement`,children:Jc}),qc.map(n=>{let r=n.action===`request_changes`&&!t;return(0,x.jsx)(`button`,{type:`button`,className:`console-op-button console-op-button-${n.variant}`,disabled:r,onClick:()=>e(n.action),children:n.label},n.action)})]}),Xc=(e,t)=>{let n=t.toLowerCase();return e.find(e=>e.name.toLowerCase()===n)??null},Zc=({statusOptions:e,onSetStatus:t,onSetInTmuxByHuman:n})=>{let r=he.map(t=>({name:t,option:Xc(e,t)})).filter(e=>e.option!==null);return r.length===0?null:(0,x.jsx)(`div`,{className:`console-op-group`,children:r.map(({name:e,option:r})=>{let i=le(r.color),a=e===F;return(0,x.jsx)(`button`,{type:`button`,className:`console-op-button`,style:{color:i.fg,borderColor:i.border,backgroundColor:i.bg},onClick:()=>a?n(r):t(r),children:r.name},r.id)})})},Qc=e=>e.name.toLowerCase().includes(`no story`),$c=({storyOptions:e,onSetStory:t})=>{let n=e.filter(e=>!Qc(e));return n.length===0?null:(0,x.jsx)(`div`,{className:`console-op-group console-op-group-stories`,children:n.map(e=>{let n=le(e.color);return(0,x.jsx)(`button`,{type:`button`,className:`console-op-button`,style:{color:n.fg,borderColor:n.border,backgroundColor:n.bg},onClick:()=>t(e),children:e.name},e.id)})})},el=({tab:e,hasPullRequest:t,rejectEnabled:n,statusOptions:r,storyOptions:i,handlers:a})=>{let o=e===`triage`;return(0,x.jsxs)(`div`,{className:`console-operation-bar`,children:[t&&(0,x.jsx)(Yc,{onReview:a.onReview,rejectEnabled:n}),(0,x.jsx)(Kc,{isManualTriage:ge(e),onSetNextActionDate:a.onSetNextActionDate}),o&&(0,x.jsx)($c,{storyOptions:i,onSetStory:a.onSetStory}),(0,x.jsx)(Zc,{statusOptions:r,onSetStatus:a.onSetStatus,onSetInTmuxByHuman:a.onSetInTmuxByHuman}),(0,x.jsx)(Gc,{onClose:a.onClose})]})},tl=(e,t,n,r)=>{let i=t===null?void 0:e.peek(t),[a,o]=(0,_.useState)(i??r),[s,c]=(0,_.useState)(t!==null&&i===void 0),[l,u]=(0,_.useState)(null);return(0,_.useEffect)(()=>{if(t===null||n===null)return;let r=e.peek(t);if(r!==void 0){o(r),c(!1),u(null);return}let i=!1;return c(!0),u(null),e.load(t,n).then(e=>{i||(o(e),c(!1))}).catch(e=>{i||(u(e instanceof Error?e.message:String(e)),c(!1))}),()=>{i=!0}},[e,t,n]),{data:a,isLoading:s,error:l}},nl=[],rl=[],il=[],al=[],ol={state:`open`,merged:!1,isPullRequest:!1,title:``},sl={found:!1,isConflicted:!1,mergeableStatus:`UNKNOWN`,isPassedAllCiJob:!1,isCiStateSuccess:!1,isBranchOutOfDate:!1,missingRequiredCheckNames:[]},cl=(e,t)=>{let n=t===null?null:`${t.repo}#${t.number}`,r=t===null?null:t.url,i=t?.isPr??!1,a=tl(e.body,n,r,``),o=tl(e.state,n,r,ol),s=tl(e.comments,n,r,nl),c=tl(e.files,i?n:null,i?r:null,rl),l=tl(e.commits,i?n:null,i?r:null,il),u=tl(e.prStatus,i?n:null,i?r:null,sl),d=!i&&(t?.relatedOpenPullRequestUrls.length??0)>0,f=tl(e.relatedPrs,d?n:null,d?r:null,al),[p,m]=(0,_.useState)([]);return(0,_.useEffect)(()=>{if(i||f.data.length===0){m([]);return}let t=!1,n=f.data.map(e=>({pullRequest:e,files:rl,filesAreLoading:!0,filesError:null,commits:il,commitsAreLoading:!0,commitsError:null}));m(n);let r=(e,n)=>{t||m(t=>t.map(t=>t.pullRequest.url===e?{...t,...n}:t))};for(let t of f.data){let n=t.url;e.files.load(n,t.url).then(e=>r(t.url,{files:e,filesAreLoading:!1})).catch(e=>r(t.url,{filesAreLoading:!1,filesError:e instanceof Error?e.message:String(e)})),e.commits.load(n,t.url).then(e=>r(t.url,{commits:e,commitsAreLoading:!1})).catch(e=>r(t.url,{commitsAreLoading:!1,commitsError:e instanceof Error?e.message:String(e)}))}return()=>{t=!0}},[e,i,f.data]),{state:o.data,body:a.data,bodyIsLoading:a.isLoading,bodyError:a.error,comments:s.data,commentsAreLoading:s.isLoading,commentsError:s.error,files:c.data,filesAreLoading:c.isLoading,filesError:c.error,commits:l.data,commitsAreLoading:l.isLoading,commitsError:l.error,stateError:o.error,pullRequestStatus:i?u.data:null,pullRequestStatusError:i?u.error:null,relatedPullRequests:p,relatedPullRequestsError:i?null:f.error}},ll=e=>JSON.stringify([e.author,e.createdAt,e.body]),ul=(e,t)=>{let n=new Set(e.map(ll));return[...e,...t.filter(e=>!n.has(ll(e)))]},dl=({href:e,fallbackText:t,state:n})=>n===null||n.title.trim()===``?(0,x.jsx)(`a`,{className:`console-markdown-reference console-markdown-reference-plain`,href:e,target:`_blank`,rel:`noopener noreferrer`,children:t}):(0,x.jsxs)(`a`,{className:`console-markdown-reference`,href:e,target:`_blank`,rel:`noopener noreferrer`,children:[(0,x.jsx)(O,{...dn(n)}),(0,x.jsx)(`span`,{className:`console-markdown-reference-title`,children:n.title})]}),fl=(e,t)=>{let[n,r]=(0,_.useState)(()=>e.peek(t)??null);return(0,_.useEffect)(()=>{let n=e.peek(t);if(n!==void 0){r(n);return}let i=!1;return r(null),e.load(t,t).then(e=>{i||r(e)}).catch(()=>{i||r(null)}),()=>{i=!0}},[e,t]),n},pl=({cache:e,href:t,fallbackText:n})=>(0,x.jsx)(dl,{href:t,fallbackText:n,state:fl(e,t)}),ml=({tab:e,item:t,caches:n,operations:r,statusOptions:i,storyOptions:a,storyColors:o,storyName:s,overlayStatus:c,now:l,onQueueAction:u})=>{let d=cl(n,t),f=(0,_.useCallback)(e=>hn(e),[]),p=(0,_.useCallback)((e,t)=>(0,x.jsx)(pl,{cache:n.state,href:e,fallbackText:t}),[n.state]),m=t.isPr||t.relatedOpenPullRequestUrls.length>0||d.relatedPullRequests.length>0,[h,g]=(0,_.useState)([]),v=(0,_.useCallback)(async(e,t,n,r)=>{g(i=>[...i,{path:e,line:t,side:n,body:r}])},[]),[y,b]=(0,_.useState)([]),S=(0,_.useCallback)(async e=>{let n=await r.addComment(t,e);return b(e=>[...e,n]),n},[t,r]),C={onReview:e=>{let n=t.isPr?t.url:d.relatedPullRequests[0]?.pullRequest.url??t.relatedOpenPullRequestUrls[0]??t.url,i=e===`request_changes`?h:[];u({kind:{type:`review`,action:e},item:t,commit:()=>r.reviewPullRequest(t,n,e,i)})},onSetNextActionDate:e=>{u({kind:{type:`next_action_date`,action:e},item:t,commit:()=>r.setNextActionDate(t,e)})},onSetStory:e=>{u({kind:{type:`set_story`,optionName:e.name},item:t,commit:()=>r.setStory(t,e)})},onSetStatus:e=>{u({kind:{type:`set_status`,optionName:e.name},item:t,commit:()=>r.setStatus(t,e)})},onSetInTmuxByHuman:e=>{u({kind:{type:`set_in_tmux_by_human`,optionName:e.name},item:t,commit:()=>r.setInTmuxByHuman(t,e)})},onClose:e=>{u({kind:{type:`close`,action:e},item:t,commit:()=>r.closeIssue(t,e)})}},T=s??(t.story.trim()===``?null:t.story);return(0,x.jsx)(Wc,{item:t,storyName:T,storyColorEnum:T===null?null:w(o,T),overlayStatus:c,statusOptions:i,state:d.state,stateError:d.stateError,body:d.body,bodyIsLoading:d.bodyIsLoading,bodyError:d.bodyError,comments:ul(d.comments,y),commentsAreLoading:d.commentsAreLoading,commentsError:d.commentsError,files:d.files,filesAreLoading:d.filesAreLoading,filesError:d.filesError,commits:d.commits,commitsAreLoading:d.commitsAreLoading,commitsError:d.commitsError,pullRequestStatus:d.pullRequestStatus,pullRequestStatusError:d.pullRequestStatusError,relatedPullRequests:d.relatedPullRequests,relatedPullRequestsError:d.relatedPullRequestsError,now:l,buildImageProxyUrl:f,renderReferenceLink:p,onAddInlineComment:v,commentComposer:(0,x.jsx)(sn,{initiallyOpen:!0,onSubmit:S,onUploadFile:e=>r.uploadAttachment(t,e)}),operationBar:(0,x.jsx)(el,{tab:e,item:t,hasPullRequest:m,rejectEnabled:h.length>0,statusOptions:i,storyOptions:a,handlers:C})})},hl=()=>{let e={};for(let t of y)e[t.name]=0;return e},gl=`console`,_l=()=>{let e=Nt(),{snapshots:t,isLoading:n,error:r}=Qt(e),i=jt(e??gl),a=(0,_.useMemo)(()=>{let e=hl();for(let n of y){let r=t[n.name];r!==null&&(n.name===`stories`?e[n.name]=r.stories.length:e[n.name]=_t(r.items,yt(i.overlay,r.generatedAt)))}return e},[t,i.overlay]),o=pt(e,a),{activeTab:s,selectedItemKey:c,openItem:l,closeItem:u,selectTab:d}=o,f=nt(),p=Dt(e,s,i,f),m=De(),h=Date.now(),g=t[s],v=(0,_.useMemo)(()=>g===null?[]:vt(g.items,yt(i.overlay,g.generatedAt)),[g,i.overlay]),b=(0,_.useMemo)(()=>v.map(e=>ht(e)),[v]),C=g?.storyOrder??[],w=(0,_.useMemo)(()=>te(v,i.overlay,C),[v,i.overlay,C]),ee=g?.storyColors??{},E=g?.statusOptions??[],ne=g?.storyOptions??[],re=g?.generatedAt??null,ie=g?.fromCache??!1,D=(0,_.useMemo)(()=>c===null||g===null?null:g.items.find(e=>e.projectItemId===c)??null,[c,g]);st(f,D,v),(0,_.useEffect)(()=>{c!==null&&window.scrollTo({top:0})},[c]);let ae=a[s],oe=(0,_.useRef)({tab:s,count:ae});(0,_.useEffect)(()=>{let e=oe.current;if(oe.current={tab:s,count:ae},e.tab===s&&e.count>0&&ae===0){let e=ct(s,a);e!==null&&(d(e),u())}},[s,ae,a,d,u]);let se=D===null?null:bt(i.overlay,D,t[s]?.generatedAt??null),O=D===null?null:T(D,i.overlay),k=(0,_.useCallback)(e=>{let t=$t(b,e);t===null?u():l(t)},[b,l,u]),ce=(0,_.useCallback)(e=>{let t=ht(e.item);m.enqueue({message:Se(e.kind,e.item,s),color:be(e.kind),commit:e.commit,advance:()=>{xe(e.kind,s)&&k(t)}})},[m,s,k]),le=Lt((0,_.useCallback)(e=>{if(c===null||e===null)return;let t=e===`next`?en(b,c):tn(b,c);t!==null&&l(t)},[c,b,l])),ue=t.stories,j=ue?.stories??[],pe=ue?.defaultNameWithOwner??null,N=(0,_.useCallback)(async(t,n)=>{if(e===null)throw Error(`No project specified in the URL path.`);if(pe===null)throw Error(`No repository configured for this project.`);await et({pjcode:e,title:n,storyOptionId:t,nameWithOwner:pe})},[e,pe]);return(0,x.jsxs)(`main`,{className:`console-app`,children:[m.pending!==null&&(0,x.jsx)(de,{message:m.pending.message,color:m.pending.color,remainingSeconds:m.pending.remainingSeconds,progress:m.pending.progress,onUndo:m.undo}),m.error!==null&&(0,x.jsx)(fe,{message:`Operation failed: ${m.error.reason}`,onDismiss:m.dismissError}),(0,x.jsx)(S,{activeTab:s,counts:a,pjcode:e,generatedAt:re,fromCache:ie,tabHref:o.tabHref,onSelectTab:o.selectTab}),s===`stories`?(0,x.jsx)(M,{stories:j,isLoading:n,error:r,onCreateIssue:N}):D===null?(0,x.jsx)(A,{rows:w,storyColors:ee,activeItemId:null,now:h,isLoading:n,error:r,onSelectItem:e=>o.openItem(e.projectItemId)}):(0,x.jsx)(`div`,{className:`console-detail-screen`,ref:le,children:(0,x.jsx)(ml,{tab:s,item:D,caches:f,operations:p,statusOptions:E,storyOptions:ne,storyColors:ee,storyName:O,overlayStatus:se,now:h,onQueueAction:ce},D.projectItemId)})]})};`serviceWorker`in navigator&&navigator.serviceWorker.register(`/sw.js`).catch(e=>{console.warn(`Service worker registration failed:`,e)});var vl=document.getElementById(`root`);if(vl===null)throw Error(`Root container #root not found`);(0,v.createRoot)(vl).render((0,x.jsx)(_.StrictMode,{children:(0,x.jsx)(_l,{})}));
|
|
86
|
+
`)[0],Pc=({commits:e,isLoading:t,error:n,now:r})=>n===null?t?(0,x.jsx)(`p`,{className:`console-commits-loading`,children:`Loading commits...`}):e.length===0?(0,x.jsx)(`p`,{className:`console-commits-empty`,children:`No commits.`}):(0,x.jsx)(`ul`,{className:`console-commits`,children:e.map(e=>(0,x.jsxs)(`li`,{className:`console-commit`,children:[(0,x.jsx)(`span`,{className:`console-commit-message`,children:Nc(e.message)}),(0,x.jsx)(`span`,{className:`console-commit-sha`,children:Mc(e.sha)}),(0,x.jsx)(`span`,{className:`console-commit-author`,children:e.author}),(0,x.jsx)(`span`,{className:`console-commit-time`,children:D(e.authoredAt,r)})]},e.sha))}):(0,x.jsx)(`p`,{className:`console-commits-notloaded`,children:`Not loaded.`}),Fc=({url:e,label:t=`Copy URL`})=>(0,x.jsx)(Ws,{value:e,idleText:`Copy URL`,idleAriaLabel:t,copiedAriaLabel:`URL copied to clipboard`,className:`console-copy-url-button`}),Ic=e=>{let t=new Map;for(let n of e){let e=t.get(n.message);if(e===void 0){t.set(n.message,[n.section]);continue}e.push(n.section)}return Array.from(t,([e,t])=>({message:e,sections:t}))},Lc=e=>e.length<=1?e.join(``):`${e.slice(0,-1).join(`, `)} and ${e[e.length-1]}`,Rc=({failures:e})=>e.length===0?null:(0,x.jsx)(`div`,{role:`alert`,className:`console-detail-fetch-error`,children:Ic(e).map(e=>(0,x.jsxs)(`p`,{className:`console-detail-fetch-error-line`,children:[`Failed to load `,Lc(e.sections),`:`,` `,e.message]},e.message))}),zc={MERGEABLE:{color:`GREEN`,label:`No conflict`,title:`This pull request has no merge conflicts`,modifier:`console-detail-mergeable-chip-ok`},CONFLICTING:{color:`RED`,label:`Conflict`,title:`This pull request has merge conflicts`,modifier:`console-detail-mergeable-chip-conflict`},UNKNOWN:{color:`GRAY`,label:`Checking merge status`,title:`GitHub has not finished computing the merge status yet`,modifier:`console-detail-mergeable-chip-unknown`}},Bc=({mergeableStatus:e})=>{let t=zc[e],n=le(t.color);return(0,x.jsx)(`span`,{className:`console-detail-status-chip console-detail-mergeable-chip ${t.modifier}`,style:{color:n.fg,borderColor:n.border,backgroundColor:n.bg},title:t.title,children:t.label})},Vc=e=>{let t=le(e);return{color:t.fg,borderColor:t.border,backgroundColor:t.bg}},Hc=({isPassedAllCiJob:e,isCiStateSuccess:t,isBranchOutOfDate:n,missingRequiredCheckNames:r})=>{let i=e&&t,a=i?`GREEN`:`RED`,o=i?`CI passing`:`CI failing`,s=!i&&r.length>0?`missing: ${r.join(`, `)}`:null;return(0,x.jsxs)(`span`,{className:`console-detail-pr-status`,children:[(0,x.jsxs)(`span`,{className:`console-detail-status-chip console-detail-ci-chip`,style:Vc(a),title:s??o,children:[o,s!==null&&(0,x.jsxs)(`span`,{className:`console-detail-ci-missing`,children:[` `,`(`,s,`)`]})]}),n&&(0,x.jsx)(`span`,{className:`console-detail-status-chip console-detail-outofdate-chip`,style:Vc(`YELLOW`),title:`This branch is out of date with the base branch`,children:`Out of date`})]})},Uc=({pullRequest:e,body:t,bodyIsLoading:n,files:r,filesAreLoading:i,filesError:a,commits:o,commitsAreLoading:s,commitsError:c,now:l,buildImageProxyUrl:u,renderReferenceLink:d,onAddInlineComment:f})=>{let p=e.summary,m=ln(e.url),h=m===null?void 0:{owner:m.owner,repo:m.repo},g=i||a!==null?null:r.length,_=s||c!==null?null:o.length;return(0,x.jsxs)(x.Fragment,{children:[(0,x.jsxs)(`div`,{className:`console-pr-header`,children:[(0,x.jsx)(`a`,{href:e.url,className:`console-pr-section-title`,target:`_blank`,rel:`noopener noreferrer`,children:p?.title??e.url}),e.isDraft&&(0,x.jsx)(`span`,{className:`console-pr-section-state`,children:`draft`}),(0,x.jsx)(Bc,{mergeableStatus:e.mergeableStatus}),(0,x.jsx)(Hc,{isPassedAllCiJob:e.isPassedAllCiJob,isCiStateSuccess:e.isCiStateSuccess,isBranchOutOfDate:e.isBranchOutOfDate,missingRequiredCheckNames:e.missingRequiredCheckNames}),(0,x.jsx)(`a`,{href:e.url,className:`console-panel-open-link`,target:`_blank`,rel:`noopener noreferrer`,children:`open`}),(0,x.jsx)(Fc,{url:e.url,label:`Copy PR URL`}),(0,x.jsxs)(`div`,{className:`console-pr-statbar`,children:[e.branchName!==null&&(0,x.jsx)(`span`,{className:`console-pr-branch`,children:e.branchName}),p!==null&&(0,x.jsxs)(x.Fragment,{children:[(0,x.jsxs)(`span`,{className:`console-pr-add`,children:[`+`,p.additions]}),(0,x.jsxs)(`span`,{className:`console-pr-del`,children:[`-`,p.deletions]}),(0,x.jsxs)(`span`,{className:`console-pr-files-count`,children:[p.changedFiles,` files`]})]})]})]}),(0,x.jsx)(fc,{title:`Description`,children:n?(0,x.jsx)(`p`,{className:`console-pr-body-loading`,children:`Loading description...`}):(0,x.jsx)(dc,{body:p?.body??t,buildImageProxyUrl:u,renderReferenceLink:d,repoContext:h})}),(0,x.jsx)(fc,{title:`Changed files`,count:g,children:(0,x.jsx)(Ac,{files:r,isLoading:i,error:a,buildImageProxyUrl:u,onAddInlineComment:f})}),(0,x.jsx)(fc,{title:`Commits`,count:_,defaultCollapsed:!0,children:(0,x.jsx)(Pc,{commits:o,isLoading:s,error:c,now:l})})]})},Wc=({item:e,storyName:t,storyColorEnum:n,overlayStatus:r,statusOptions:i,state:a,body:o,bodyIsLoading:s,bodyError:c,comments:l,commentsAreLoading:u,commentsError:d,files:f,filesAreLoading:p,filesError:m,commits:h,commitsAreLoading:g,commitsError:_,stateError:v,pullRequestStatus:y,pullRequestStatusError:b,relatedPullRequests:S,relatedPullRequestsError:C,now:w,commentComposer:T,operationBar:ee,buildImageProxyUrl:te,renderReferenceLink:E,onAddInlineComment:ne})=>{let re=a?.state??`open`,ie=a?.merged??!1,oe=!e.isPr&&re===`closed`?`Closed`:null,se=un(e.nameWithOwner)??void 0,k=le(n),ce=r===null?e.status===null?null:{name:e.status,color:i.find(t=>t.name===e.status)?.color??`GRAY`}:r,ue=ce===null?null:le(ce.color),A=p||m!==null?null:f.length,j=u||d!==null?null:l.length,M=g||_!==null?null:h.length,de=e=>{let t=ln(e);return t===null?e:`PR #${t.number}`},fe=[{section:`item state`,message:v},{section:`pull request status`,message:e.isPr?b:null},{section:`description`,message:c},{section:`comments`,message:d},{section:`changed files`,message:e.isPr?m:null},{section:`commits`,message:e.isPr?_:null},{section:`related pull requests`,message:e.isPr?null:C},...S.flatMap(e=>[{section:`changed files of ${de(e.pullRequest.url)}`,message:e.filesError},{section:`commits of ${de(e.pullRequest.url)}`,message:e.commitsError}])].flatMap(e=>e.message===null?[]:[{section:e.section,message:e.message}]),pe=e.isPr&&y?.found?[{url:e.url,mergeableStatus:y.mergeableStatus}]:[];return(0,x.jsxs)(`article`,{className:`console-detail`,children:[(0,x.jsxs)(`h2`,{className:`console-detail-title`,children:[(0,x.jsx)(O,{isPr:e.isPr,state:re,merged:ie,isDraft:!1,stateReason:``}),(0,x.jsx)(`span`,{className:`console-detail-title-text`,children:e.title}),(0,x.jsx)(`span`,{className:`console-detail-number`,children:e.isPr?`PR #${e.number}`:`#${e.number}`})]}),(0,x.jsxs)(`div`,{className:`console-detail-topline`,children:[ce!==null&&ue!==null&&(0,x.jsx)(`span`,{className:`console-detail-status-chip`,style:{color:ue.fg,borderColor:ue.border,backgroundColor:ue.bg},children:ce.name}),e.agent!==null&&e.agent!==``&&(0,x.jsx)(`span`,{className:`console-detail-agent-chip`,children:e.agent}),t!==null&&(0,x.jsxs)(`span`,{className:`console-storytag`,children:[(0,x.jsx)(`span`,{className:`console-story-dot`,style:{backgroundColor:k.dot}}),t]}),e.isPr&&y?.found&&(0,x.jsx)(Hc,{isPassedAllCiJob:y.isPassedAllCiJob,isCiStateSuccess:y.isCiStateSuccess,isBranchOutOfDate:y.isBranchOutOfDate,missingRequiredCheckNames:y.missingRequiredCheckNames}),!e.isPr&&S.map(e=>(0,x.jsxs)(`span`,{className:`console-related-pr-group`,children:[S.length>1&&(0,x.jsx)(`span`,{className:`console-related-pr-label`,children:de(e.pullRequest.url)}),(0,x.jsx)(Hc,{isPassedAllCiJob:e.pullRequest.isPassedAllCiJob,isCiStateSuccess:e.pullRequest.isCiStateSuccess,isBranchOutOfDate:e.pullRequest.isBranchOutOfDate,missingRequiredCheckNames:e.pullRequest.missingRequiredCheckNames}),(0,x.jsx)(Bc,{mergeableStatus:e.pullRequest.mergeableStatus})]},e.pullRequest.url)),pe.map(e=>(0,x.jsx)(Bc,{mergeableStatus:e.mergeableStatus},e.url)),oe!==null&&(0,x.jsx)(`span`,{className:`console-detail-closed-label`,children:oe})]}),(0,x.jsx)(Rc,{failures:fe}),(0,x.jsxs)(`div`,{className:`console-detail-subbar`,children:[(0,x.jsx)(`a`,{href:e.url,className:`console-detail-link`,target:`_blank`,rel:`noopener noreferrer`,children:e.isPr?`PR #${e.number}`:`Issue #${e.number}`}),(0,x.jsx)(`span`,{className:`console-detail-repo`,children:e.repo}),(0,x.jsx)(`span`,{className:`console-detail-pill`,children:e.isPr?`PR`:`Issue`}),(0,x.jsx)(Fc,{url:e.url})]}),e.labels.length>0&&(0,x.jsx)(`div`,{className:`console-detail-labels`,children:e.labels.map(e=>(0,x.jsx)(`span`,{className:`console-label-chip`,children:e},e))}),(0,x.jsxs)(`div`,{className:`console-detail-createdat`,title:ae(e.createdAt),children:[`opened `,D(e.createdAt,w)]}),(0,x.jsx)(fc,{title:`Description`,headerAction:(0,x.jsx)(`a`,{href:e.url,className:`console-panel-open-link`,target:`_blank`,rel:`noopener noreferrer`,children:`open`}),children:c===null?s?(0,x.jsx)(`p`,{className:`console-detail-body-loading`,children:`Loading description...`}):(0,x.jsx)(dc,{body:o,buildImageProxyUrl:te,renderReferenceLink:E,repoContext:se}):(0,x.jsx)(`p`,{className:`console-detail-body-notloaded`,children:`Not loaded.`})}),e.isPr&&(0,x.jsx)(fc,{title:`Changed files`,count:A,children:(0,x.jsx)(Ac,{files:f,isLoading:p,error:m,onAddInlineComment:ne})}),(0,x.jsx)(fc,{title:`Comments`,count:j,defaultCollapsed:e.isPr,children:(0,x.jsx)(jc,{comments:l,isLoading:u,error:d,now:w,buildImageProxyUrl:te,renderReferenceLink:E,repoContext:se})}),e.isPr&&(0,x.jsx)(fc,{title:`Commits`,count:M,defaultCollapsed:!0,children:(0,x.jsx)(Pc,{commits:h,isLoading:g,error:_,now:w})}),!e.isPr&&S.map(e=>(0,x.jsx)(Uc,{pullRequest:e.pullRequest,body:e.pullRequest.summary?.body??``,bodyIsLoading:!1,files:e.files,filesAreLoading:e.filesAreLoading,filesError:e.filesError,commits:e.commits,commitsAreLoading:e.commitsAreLoading,commitsError:e.commitsError,now:w,buildImageProxyUrl:te,renderReferenceLink:E,onAddInlineComment:ne},e.pullRequest.url)),(0,x.jsxs)(`div`,{className:`console-detail-dock`,children:[(0,x.jsx)(`div`,{className:`console-detail-dock-composer`,children:T}),(0,x.jsx)(`div`,{className:`console-actionbar`,children:ee})]})]})},Gc=({onClose:e})=>(0,x.jsxs)(`div`,{className:`console-op-group`,children:[(0,x.jsx)(`button`,{type:`button`,className:`console-op-button`,onClick:()=>e(`close_not_planned`),children:`Close as not planned`}),(0,x.jsx)(`button`,{type:`button`,className:`console-op-button`,onClick:()=>e(`close`),children:`Close`})]}),Kc=({isManualTriage:e,onSetNextActionDate:t})=>(0,x.jsxs)(`div`,{className:`console-op-group`,children:[(0,x.jsx)(`button`,{type:`button`,className:`console-op-button console-op-button-snooze`,onClick:()=>t(`snooze_1day`),children:`+1 day`}),(0,x.jsx)(`button`,{type:`button`,className:`console-op-button console-op-button-snooze`,onClick:()=>t(`snooze_1week`),children:e?`+1 week and skip`:`+1 week`})]}),qc=[{action:`unnecessary`,label:`Unnecessary`,variant:`unneeded`},{action:`totally_wrong`,label:`Totally wrong`,variant:`wrong`},{action:`request_changes`,label:`Reject`,variant:`reject`},{action:`approve_and_merge`,label:`Approve & Merge`,variant:`approve`}],Jc=`Reject needs an inline comment on the diff.`,Yc=({onReview:e,rejectEnabled:t})=>(0,x.jsxs)(`div`,{className:`console-op-group console-op-group-review`,children:[!t&&(0,x.jsx)(`p`,{className:`console-op-requirement`,children:Jc}),qc.map(n=>{let r=n.action===`request_changes`&&!t;return(0,x.jsx)(`button`,{type:`button`,className:`console-op-button console-op-button-${n.variant}`,disabled:r,onClick:()=>e(n.action),children:n.label},n.action)})]}),Xc=(e,t)=>{let n=t.toLowerCase();return e.find(e=>e.name.toLowerCase()===n)??null},Zc=({statusOptions:e,onSetStatus:t,onSetInTmuxByHuman:n})=>{let r=he.map(t=>({name:t,option:Xc(e,t)})).filter(e=>e.option!==null);return r.length===0?null:(0,x.jsx)(`div`,{className:`console-op-group`,children:r.map(({name:e,option:r})=>{let i=le(r.color),a=e===F;return(0,x.jsx)(`button`,{type:`button`,className:`console-op-button`,style:{color:i.fg,borderColor:i.border,backgroundColor:i.bg},onClick:()=>a?n(r):t(r),children:r.name},r.id)})})},Qc=e=>e.name.toLowerCase().includes(`no story`),$c=({storyOptions:e,onSetStory:t})=>{let n=e.filter(e=>!Qc(e));return n.length===0?null:(0,x.jsx)(`div`,{className:`console-op-group console-op-group-stories`,children:n.map(e=>{let n=le(e.color);return(0,x.jsx)(`button`,{type:`button`,className:`console-op-button`,style:{color:n.fg,borderColor:n.border,backgroundColor:n.bg},onClick:()=>t(e),children:e.name},e.id)})})},el=({tab:e,hasPullRequest:t,rejectEnabled:n,statusOptions:r,storyOptions:i,handlers:a})=>{let o=e===`triage`;return(0,x.jsxs)(`div`,{className:`console-operation-bar`,children:[t&&(0,x.jsx)(Yc,{onReview:a.onReview,rejectEnabled:n}),(0,x.jsx)(Kc,{isManualTriage:ge(e),onSetNextActionDate:a.onSetNextActionDate}),o&&(0,x.jsx)($c,{storyOptions:i,onSetStory:a.onSetStory}),(0,x.jsx)(Zc,{statusOptions:r,onSetStatus:a.onSetStatus,onSetInTmuxByHuman:a.onSetInTmuxByHuman}),(0,x.jsx)(Gc,{onClose:a.onClose})]})},tl=(e,t,n,r)=>{let i=t===null?void 0:e.peek(t),[a,o]=(0,_.useState)(i??r),[s,c]=(0,_.useState)(t!==null&&i===void 0),[l,u]=(0,_.useState)(null);return(0,_.useEffect)(()=>{if(t===null||n===null)return;let r=e.peek(t);if(r!==void 0){o(r),c(!1),u(null);return}let i=!1;return c(!0),u(null),e.load(t,n).then(e=>{i||(o(e),c(!1))}).catch(e=>{i||(u(e instanceof Error?e.message:String(e)),c(!1))}),()=>{i=!0}},[e,t,n]),{data:a,isLoading:s,error:l}},nl=[],rl=[],il=[],al=[],ol={state:`open`,merged:!1,isPullRequest:!1,title:``},sl={found:!1,isConflicted:!1,mergeableStatus:`UNKNOWN`,isPassedAllCiJob:!1,isCiStateSuccess:!1,isBranchOutOfDate:!1,missingRequiredCheckNames:[]},cl=(e,t)=>{let n=t===null?null:`${t.repo}#${t.number}`,r=t===null?null:t.url,i=t?.isPr??!1,a=tl(e.body,n,r,``),o=tl(e.state,n,r,ol),s=tl(e.comments,n,r,nl),c=tl(e.files,i?n:null,i?r:null,rl),l=tl(e.commits,i?n:null,i?r:null,il),u=tl(e.prStatus,i?n:null,i?r:null,sl),d=!i&&(t?.relatedOpenPullRequestUrls.length??0)>0,f=tl(e.relatedPrs,d?n:null,d?r:null,al),[p,m]=(0,_.useState)([]);return(0,_.useEffect)(()=>{if(i||f.data.length===0){m([]);return}let t=!1,n=f.data.map(e=>({pullRequest:e,files:rl,filesAreLoading:!0,filesError:null,commits:il,commitsAreLoading:!0,commitsError:null}));m(n);let r=(e,n)=>{t||m(t=>t.map(t=>t.pullRequest.url===e?{...t,...n}:t))};for(let t of f.data){let n=t.url;e.files.load(n,t.url).then(e=>r(t.url,{files:e,filesAreLoading:!1})).catch(e=>r(t.url,{filesAreLoading:!1,filesError:e instanceof Error?e.message:String(e)})),e.commits.load(n,t.url).then(e=>r(t.url,{commits:e,commitsAreLoading:!1})).catch(e=>r(t.url,{commitsAreLoading:!1,commitsError:e instanceof Error?e.message:String(e)}))}return()=>{t=!0}},[e,i,f.data]),{state:o.data,body:a.data,bodyIsLoading:a.isLoading,bodyError:a.error,comments:s.data,commentsAreLoading:s.isLoading,commentsError:s.error,files:c.data,filesAreLoading:c.isLoading,filesError:c.error,commits:l.data,commitsAreLoading:l.isLoading,commitsError:l.error,stateError:o.error,pullRequestStatus:i?u.data:null,pullRequestStatusError:i?u.error:null,relatedPullRequests:p,relatedPullRequestsError:i?null:f.error}},ll=e=>JSON.stringify([e.author,e.createdAt,e.body]),ul=(e,t)=>{let n=new Set(e.map(ll));return[...e,...t.filter(e=>!n.has(ll(e)))]},dl=({href:e,fallbackText:t,state:n})=>n===null||n.title.trim()===``?(0,x.jsx)(`a`,{className:`console-markdown-reference console-markdown-reference-plain`,href:e,target:`_blank`,rel:`noopener noreferrer`,children:t}):(0,x.jsxs)(`a`,{className:`console-markdown-reference`,href:e,target:`_blank`,rel:`noopener noreferrer`,children:[(0,x.jsx)(O,{...dn(n)}),(0,x.jsx)(`span`,{className:`console-markdown-reference-title`,children:n.title})]}),fl=(e,t)=>{let[n,r]=(0,_.useState)(()=>e.peek(t)??null);return(0,_.useEffect)(()=>{let n=e.peek(t);if(n!==void 0){r(n);return}let i=!1;return r(null),e.load(t,t).then(e=>{i||r(e)}).catch(()=>{i||r(null)}),()=>{i=!0}},[e,t]),n},pl=({cache:e,href:t,fallbackText:n})=>(0,x.jsx)(dl,{href:t,fallbackText:n,state:fl(e,t)}),ml=({tab:e,item:t,caches:n,operations:r,statusOptions:i,storyOptions:a,storyColors:o,storyName:s,overlayStatus:c,now:l,onQueueAction:u})=>{let d=cl(n,t),f=(0,_.useCallback)(e=>hn(e,t.url),[t.url]),p=(0,_.useCallback)((e,t)=>(0,x.jsx)(pl,{cache:n.state,href:e,fallbackText:t}),[n.state]),m=t.isPr||t.relatedOpenPullRequestUrls.length>0||d.relatedPullRequests.length>0,[h,g]=(0,_.useState)([]),v=(0,_.useCallback)(async(e,t,n,r)=>{g(i=>[...i,{path:e,line:t,side:n,body:r}])},[]),[y,b]=(0,_.useState)([]),S=(0,_.useCallback)(async e=>{let n=await r.addComment(t,e);return b(e=>[...e,n]),n},[t,r]),C={onReview:e=>{let n=t.isPr?t.url:d.relatedPullRequests[0]?.pullRequest.url??t.relatedOpenPullRequestUrls[0]??t.url,i=e===`request_changes`?h:[];u({kind:{type:`review`,action:e},item:t,commit:()=>r.reviewPullRequest(t,n,e,i)})},onSetNextActionDate:e=>{u({kind:{type:`next_action_date`,action:e},item:t,commit:()=>r.setNextActionDate(t,e)})},onSetStory:e=>{u({kind:{type:`set_story`,optionName:e.name},item:t,commit:()=>r.setStory(t,e)})},onSetStatus:e=>{u({kind:{type:`set_status`,optionName:e.name},item:t,commit:()=>r.setStatus(t,e)})},onSetInTmuxByHuman:e=>{u({kind:{type:`set_in_tmux_by_human`,optionName:e.name},item:t,commit:()=>r.setInTmuxByHuman(t,e)})},onClose:e=>{u({kind:{type:`close`,action:e},item:t,commit:()=>r.closeIssue(t,e)})}},T=s??(t.story.trim()===``?null:t.story);return(0,x.jsx)(Wc,{item:t,storyName:T,storyColorEnum:T===null?null:w(o,T),overlayStatus:c,statusOptions:i,state:d.state,stateError:d.stateError,body:d.body,bodyIsLoading:d.bodyIsLoading,bodyError:d.bodyError,comments:ul(d.comments,y),commentsAreLoading:d.commentsAreLoading,commentsError:d.commentsError,files:d.files,filesAreLoading:d.filesAreLoading,filesError:d.filesError,commits:d.commits,commitsAreLoading:d.commitsAreLoading,commitsError:d.commitsError,pullRequestStatus:d.pullRequestStatus,pullRequestStatusError:d.pullRequestStatusError,relatedPullRequests:d.relatedPullRequests,relatedPullRequestsError:d.relatedPullRequestsError,now:l,buildImageProxyUrl:f,renderReferenceLink:p,onAddInlineComment:v,commentComposer:(0,x.jsx)(sn,{initiallyOpen:!0,onSubmit:S,onUploadFile:e=>r.uploadAttachment(t,e)}),operationBar:(0,x.jsx)(el,{tab:e,item:t,hasPullRequest:m,rejectEnabled:h.length>0,statusOptions:i,storyOptions:a,handlers:C})})},hl=()=>{let e={};for(let t of y)e[t.name]=0;return e},gl=`console`,_l=()=>{let e=Nt(),{snapshots:t,isLoading:n,error:r}=Qt(e),i=jt(e??gl),a=(0,_.useMemo)(()=>{let e=hl();for(let n of y){let r=t[n.name];r!==null&&(n.name===`stories`?e[n.name]=r.stories.length:e[n.name]=_t(r.items,yt(i.overlay,r.generatedAt)))}return e},[t,i.overlay]),o=pt(e,a),{activeTab:s,selectedItemKey:c,openItem:l,closeItem:u,selectTab:d}=o,f=nt(),p=Dt(e,s,i,f),m=De(),h=Date.now(),g=t[s],v=(0,_.useMemo)(()=>g===null?[]:vt(g.items,yt(i.overlay,g.generatedAt)),[g,i.overlay]),b=(0,_.useMemo)(()=>v.map(e=>ht(e)),[v]),C=g?.storyOrder??[],w=(0,_.useMemo)(()=>te(v,i.overlay,C),[v,i.overlay,C]),ee=g?.storyColors??{},E=g?.statusOptions??[],ne=g?.storyOptions??[],re=g?.generatedAt??null,ie=g?.fromCache??!1,D=(0,_.useMemo)(()=>c===null||g===null?null:g.items.find(e=>e.projectItemId===c)??null,[c,g]);st(f,D,v),(0,_.useEffect)(()=>{c!==null&&window.scrollTo({top:0})},[c]);let ae=a[s],oe=(0,_.useRef)({tab:s,count:ae});(0,_.useEffect)(()=>{let e=oe.current;if(oe.current={tab:s,count:ae},e.tab===s&&e.count>0&&ae===0){let e=ct(s,a);e!==null&&(d(e),u())}},[s,ae,a,d,u]);let se=D===null?null:bt(i.overlay,D,t[s]?.generatedAt??null),O=D===null?null:T(D,i.overlay),k=(0,_.useCallback)(e=>{let t=$t(b,e);t===null?u():l(t)},[b,l,u]),ce=(0,_.useCallback)(e=>{let t=ht(e.item);m.enqueue({message:Se(e.kind,e.item,s),color:be(e.kind),commit:e.commit,advance:()=>{xe(e.kind,s)&&k(t)}})},[m,s,k]),le=Lt((0,_.useCallback)(e=>{if(c===null||e===null)return;let t=e===`next`?en(b,c):tn(b,c);t!==null&&l(t)},[c,b,l])),ue=t.stories,j=ue?.stories??[],pe=ue?.defaultNameWithOwner??null,N=(0,_.useCallback)(async(t,n)=>{if(e===null)throw Error(`No project specified in the URL path.`);if(pe===null)throw Error(`No repository configured for this project.`);await et({pjcode:e,title:n,storyOptionId:t,nameWithOwner:pe})},[e,pe]);return(0,x.jsxs)(`main`,{className:`console-app`,children:[m.pending!==null&&(0,x.jsx)(de,{message:m.pending.message,color:m.pending.color,remainingSeconds:m.pending.remainingSeconds,progress:m.pending.progress,onUndo:m.undo}),m.error!==null&&(0,x.jsx)(fe,{message:`Operation failed: ${m.error.reason}`,onDismiss:m.dismissError}),(0,x.jsx)(S,{activeTab:s,counts:a,pjcode:e,generatedAt:re,fromCache:ie,tabHref:o.tabHref,onSelectTab:o.selectTab}),s===`stories`?(0,x.jsx)(M,{stories:j,isLoading:n,error:r,onCreateIssue:N}):D===null?(0,x.jsx)(A,{rows:w,storyColors:ee,activeItemId:null,now:h,isLoading:n,error:r,onSelectItem:e=>o.openItem(e.projectItemId)}):(0,x.jsx)(`div`,{className:`console-detail-screen`,ref:le,children:(0,x.jsx)(ml,{tab:s,item:D,caches:f,operations:p,statusOptions:E,storyOptions:ne,storyColors:ee,storyName:O,overlayStatus:se,now:h,onQueueAction:ce},D.projectItemId)})]})};`serviceWorker`in navigator&&navigator.serviceWorker.register(`/sw.js`).catch(e=>{console.warn(`Service worker registration failed:`,e)});var vl=document.getElementById(`root`);if(vl===null)throw Error(`Root container #root not found`);(0,v.createRoot)(vl).render((0,x.jsx)(_.StrictMode,{children:(0,x.jsx)(_l,{})}));
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<meta charset="UTF-8" />
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
6
|
<title>TDPM Console</title>
|
|
7
|
-
<script type="module" crossorigin src="/assets/index-
|
|
7
|
+
<script type="module" crossorigin src="/assets/index-g4SqIzCh.js"></script>
|
|
8
8
|
<link rel="stylesheet" crossorigin href="/assets/index-Bh2slMtk.css">
|
|
9
9
|
</head>
|
|
10
10
|
<body>
|
|
@@ -41,6 +41,7 @@ const consoleDataDelivery_1 = require("./consoleDataDelivery");
|
|
|
41
41
|
const consoleReadApi_1 = require("./consoleReadApi");
|
|
42
42
|
const consoleOperationApi_1 = require("./consoleOperationApi");
|
|
43
43
|
const consoleImageProxy_1 = require("./consoleImageProxy");
|
|
44
|
+
const consoleGithubTokenResolver_1 = require("./consoleGithubTokenResolver");
|
|
44
45
|
const dashboardComposeService_1 = require("./dashboardComposeService");
|
|
45
46
|
const OwnerCallFile_1 = require("../../../domain/usecases/intmux/OwnerCallFile");
|
|
46
47
|
exports.DEFAULT_WEB_PORT = 9980;
|
|
@@ -289,8 +290,21 @@ const sendImage = (response, contentType, body) => {
|
|
|
289
290
|
response.end(body);
|
|
290
291
|
};
|
|
291
292
|
const handleImageProxy = async (options, response, searchParams) => {
|
|
292
|
-
const
|
|
293
|
-
if (
|
|
293
|
+
const resolveGithubToken = options.resolveGithubToken ?? null;
|
|
294
|
+
if (resolveGithubToken === null) {
|
|
295
|
+
sendJson(response, 502, { error: 'github token is not configured' });
|
|
296
|
+
return;
|
|
297
|
+
}
|
|
298
|
+
const itemUrl = searchParams.get('itemUrl') ?? '';
|
|
299
|
+
const repositoryOwner = (0, consoleGithubTokenResolver_1.extractRepositoryOwner)(itemUrl);
|
|
300
|
+
if (repositoryOwner === null) {
|
|
301
|
+
sendJson(response, 400, {
|
|
302
|
+
error: 'missing or unreadable itemUrl parameter',
|
|
303
|
+
});
|
|
304
|
+
return;
|
|
305
|
+
}
|
|
306
|
+
const githubToken = resolveGithubToken(repositoryOwner);
|
|
307
|
+
if (githubToken.length === 0) {
|
|
294
308
|
sendJson(response, 502, { error: 'github token is not configured' });
|
|
295
309
|
return;
|
|
296
310
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webServer.js","sourceRoot":"","sources":["../../../../src/adapter/entry-points/console/webServer.ts"],"names":[],"mappings":";;;;;;;;;;;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