@leitwerk-dev/ui 0.1.9 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (170) hide show
  1. package/dist/assets/ApiTokensPage-B15IzsLp.css +1 -0
  2. package/dist/assets/ApiTokensPage-ClJp9PYr.js +1 -0
  3. package/dist/assets/ChronicleMarkdown-lqwX9Ywa.js +16 -0
  4. package/dist/assets/ChronicleMarkdown-wsUF8Z75.css +1 -0
  5. package/dist/assets/FutureLaunchDetailPage-BOoZaG11.css +1 -0
  6. package/dist/assets/FutureLaunchDetailPage-CB7mNpYv.js +1 -0
  7. package/dist/assets/GenericLauncher-CExW6wei.css +1 -0
  8. package/dist/assets/GenericLauncher-DTyRwWVd.js +1 -0
  9. package/dist/assets/HomePage-D_OT6OWU.js +1 -0
  10. package/dist/assets/PageHeader-DPuQInDo.css +1 -0
  11. package/dist/assets/PageHeader-sphJnWL1.js +1 -0
  12. package/dist/assets/ProcessActionsMenu-IKG-csM4.js +1 -0
  13. package/dist/assets/ProcessActionsMenu-VKT7PE6z.css +1 -0
  14. package/dist/assets/ProcessDetailPage-CiI5T6pN.js +14 -0
  15. package/dist/assets/ProcessDetailPage-Cth6A0DN.css +1 -0
  16. package/dist/assets/ProcessFlowDiagram-Dx2wheGN.js +2 -0
  17. package/dist/assets/ProcessesPage-CdnLkrSk.js +1 -0
  18. package/dist/assets/ProcessesPage-yPjjrzjg.css +1 -0
  19. package/dist/assets/ScheduleDateTimePicker-DmojMRxN.js +1 -0
  20. package/dist/assets/{ScheduleDateTimePicker-CadXN9z7.css → ScheduleDateTimePicker-uacJAkIq.css} +1 -1
  21. package/dist/assets/SkillsPage-CJrtt8xU.css +1 -0
  22. package/dist/assets/SkillsPage-CmiSWLOW.js +2 -0
  23. package/dist/assets/WatchersPage-Bu1vfZQI.js +1 -0
  24. package/dist/assets/WatchersPage-cRBnmTAD.css +1 -0
  25. package/dist/assets/external-links-CX92-VRP.js +1 -0
  26. package/dist/assets/http-client-VpPXJwbR.js +2 -0
  27. package/dist/assets/index-BkfAI7to.js +6 -0
  28. package/dist/assets/index-DtEI5gsQ.css +1 -0
  29. package/dist/assets/index-client-BYQviCtQ.js +2 -0
  30. package/dist/assets/{mermaid-render.worker-DAVgiVRG.js → mermaid-render.worker-QW2WZpEE.js} +12 -12
  31. package/dist/assets/process-terminal-display-BQRQwGod.js +1 -0
  32. package/dist/assets/router.svelte-EEldxHlO.js +1 -0
  33. package/dist/index.html +8 -8
  34. package/package.json +8 -8
  35. package/src/App.svelte +36 -0
  36. package/src/chronicle/components/ChronicleActionSection.svelte +70 -143
  37. package/src/chronicle/components/ChronicleCreateIssueButton.svelte +22 -0
  38. package/src/chronicle/components/ChronicleEntryHeader.svelte +76 -0
  39. package/src/chronicle/components/ChronicleExpandButton.svelte +11 -34
  40. package/src/chronicle/components/ChronicleFailureMessage.svelte +41 -0
  41. package/src/chronicle/components/ChronicleFlow.svelte +133 -28
  42. package/src/chronicle/components/ChronicleLeafOutcomeRendererHost.svelte +1 -8
  43. package/src/chronicle/components/ChronicleLeafOutcomeSection.svelte +25 -52
  44. package/src/chronicle/components/ChronicleLiveChip.svelte +1 -35
  45. package/src/chronicle/components/ChronicleLiveTail.svelte +55 -154
  46. package/src/chronicle/components/ChronicleMarkdown.svelte +6 -6
  47. package/src/chronicle/components/ChronicleOperatorInputSection.svelte +5 -18
  48. package/src/chronicle/components/ChronicleProcessErrorSection.svelte +10 -107
  49. package/src/chronicle/components/ChroniclePromptSection.svelte +6 -26
  50. package/src/chronicle/components/ChronicleQuestionRequest.svelte +22 -5
  51. package/src/chronicle/components/ChronicleReasoningDetailsOverlay.svelte +71 -109
  52. package/src/chronicle/components/ChronicleRecoverySection.svelte +96 -264
  53. package/src/chronicle/components/ChronicleScheduledActionSection.svelte +1 -1
  54. package/src/chronicle/components/ChronicleSectionHeader.svelte +1 -4
  55. package/src/chronicle/components/ChronicleStartupHistory.svelte +63 -0
  56. package/src/chronicle/components/ChronicleStartupRecoverySection.svelte +10 -26
  57. package/src/chronicle/components/ChronicleThinkingSection.svelte +25 -165
  58. package/src/chronicle/components/ChronicleThinkingText.svelte +1 -0
  59. package/src/chronicle/components/ChronicleToolApproval.svelte +40 -0
  60. package/src/chronicle/components/ChronicleToolCallItem.svelte +1 -1
  61. package/src/chronicle/components/ChronicleTurnCluster.svelte +208 -284
  62. package/src/chronicle/components/ChronicleTurnDetailsButton.svelte +16 -0
  63. package/src/chronicle/components/ChronicleTurnProgress.svelte +77 -54
  64. package/src/chronicle/components/ChronicleTurnRail.svelte +327 -391
  65. package/src/chronicle/components/CompactActionComposer.svelte +36 -13
  66. package/src/chronicle/components/ReadonlyJsonValue.svelte +30 -0
  67. package/src/chronicle/lib/action-bindings.ts +1 -1
  68. package/src/chronicle/lib/action-model-display.ts +2 -2
  69. package/src/chronicle/lib/action-preview.ts +1 -1
  70. package/src/chronicle/lib/chronicle-projection.ts +125 -109
  71. package/src/chronicle/lib/chronicle-rail-groups.ts +158 -0
  72. package/src/chronicle/lib/chronicle-selectable-items.ts +16 -11
  73. package/src/chronicle/lib/chronicle-ticket-artifact.ts +7 -0
  74. package/src/chronicle/lib/formatting.ts +19 -0
  75. package/src/chronicle/lib/leaf-outcome-loader.ts +30 -111
  76. package/src/chronicle/lib/leaf-outcome-runtime.ts +3 -15
  77. package/src/chronicle/lib/result-presentation.ts +40 -0
  78. package/src/chronicle/lib/retry-groups.ts +24 -0
  79. package/src/chronicle/lib/scroll-sync.ts +1 -0
  80. package/src/chronicle/lib/tool-call-summary.ts +1 -9
  81. package/src/chronicle/ticket-selection.ts +23 -0
  82. package/src/components/ElapsedTime.svelte +31 -0
  83. package/src/components/ExternalLink.svelte +39 -0
  84. package/src/components/FormFieldRenderer.svelte +4 -1
  85. package/src/components/GenericLauncher.svelte +40 -15
  86. package/src/components/KeyboardShortcutsModal.svelte +2 -2
  87. package/src/components/LaunchChecklist.svelte +184 -0
  88. package/src/components/ModalShell.svelte +43 -32
  89. package/src/components/PageHeader.svelte +7 -33
  90. package/src/components/ProcessActionsMenu.svelte +217 -140
  91. package/src/components/ProcessInfoOverlay.svelte +13 -21
  92. package/src/components/ProgressChecklist.svelte +46 -0
  93. package/src/components/ProgressChecklistRows.svelte +80 -0
  94. package/src/components/launcher-form-copy.ts +4 -1
  95. package/src/components/launcher-model-config.ts +1 -1
  96. package/src/extension-ui-dev-server.ts +2 -5
  97. package/src/lib/api-tokens.ts +34 -0
  98. package/src/lib/api.ts +323 -455
  99. package/src/lib/elapsed-time.ts +19 -0
  100. package/src/lib/external-links.ts +81 -0
  101. package/src/lib/flow-layout.ts +1 -8
  102. package/src/lib/format.ts +3 -26
  103. package/src/lib/future-launch-detail.ts +1 -1
  104. package/src/lib/http-client.ts +79 -0
  105. package/src/lib/launch-updates.ts +17 -0
  106. package/src/lib/markdown.ts +8 -1
  107. package/src/lib/primary-path-detail.ts +97 -3
  108. package/src/lib/primary-path-replay.ts +13 -7
  109. package/src/lib/process-row-view.ts +1 -1
  110. package/src/lib/process-terminal-display.ts +4 -7
  111. package/src/lib/processes.svelte.ts +41 -9
  112. package/src/lib/reasoning-history.ts +95 -0
  113. package/src/lib/retry-config.svelte.ts +1 -1
  114. package/src/lib/rich-markdown-elements.ts +2 -2
  115. package/src/lib/router-logic.ts +3 -0
  116. package/src/lib/runtime-config.ts +1 -3
  117. package/src/lib/test-fixtures.ts +1 -1
  118. package/src/lib/tool-call-rendering.ts +4 -1
  119. package/src/lib/ui-extensions.svelte.ts +78 -127
  120. package/src/lib/ws-classifier.ts +8 -1
  121. package/src/pages/ApiTokensPage.svelte +213 -0
  122. package/src/pages/FutureLaunchDetailPage.svelte +7 -35
  123. package/src/pages/HomePage.svelte +7 -7
  124. package/src/pages/ProcessCard.svelte +1 -1
  125. package/src/pages/ProcessDetailPage.svelte +158 -62
  126. package/src/pages/ProcessGallery.svelte +1 -1
  127. package/src/pages/ProcessesPage.svelte +7 -42
  128. package/src/pages/SkillsPage.svelte +37 -26
  129. package/src/pages/WatchersPage.svelte +31 -53
  130. package/src/pages/process-detail/ProcessDetailChronicle.svelte +125 -28
  131. package/src/pages/process-detail/ProcessDetailHeader.svelte +24 -2
  132. package/src/pages/process-detail/ProcessSummary.svelte +35 -0
  133. package/src/pages/process-detail/TicketCreationComposer.svelte +219 -0
  134. package/src/pages/process-detail/process-detail-action-drafts.svelte.ts +5 -5
  135. package/src/pages/process-detail/process-detail-actions.svelte.ts +4 -2
  136. package/src/pages/process-detail/process-detail-chronicle-dom.ts +39 -14
  137. package/src/pages/process-detail/process-detail-chronicle-scroll.svelte.ts +68 -10
  138. package/src/pages/process-detail/process-detail-view-model.ts +10 -24
  139. package/src/shell/AppShell.svelte +4 -1
  140. package/src/shell/Sidebar.svelte +88 -125
  141. package/src/styles/controls.css +188 -0
  142. package/dist/assets/ChronicleMarkdown-B1hD4HFS.js +0 -16
  143. package/dist/assets/ChronicleMarkdown-D6hFzERy.css +0 -1
  144. package/dist/assets/FutureLaunchDetailPage-Dy3FlLih.js +0 -1
  145. package/dist/assets/FutureLaunchDetailPage-UFgp7Ju4.css +0 -1
  146. package/dist/assets/GenericLauncher-BPEQjJ1J.js +0 -1
  147. package/dist/assets/GenericLauncher-D_GMtsQ5.css +0 -1
  148. package/dist/assets/HomePage-E41Krxko.js +0 -1
  149. package/dist/assets/PageHeader-DDgWPeHS.js +0 -1
  150. package/dist/assets/PageHeader-vhyfX7xT.css +0 -1
  151. package/dist/assets/ProcessActionsMenu-BWlFe5c4.css +0 -1
  152. package/dist/assets/ProcessActionsMenu-cI0j2LWe.js +0 -1
  153. package/dist/assets/ProcessDetailPage-DVHldJgi.js +0 -12
  154. package/dist/assets/ProcessDetailPage-Oh6ld320.css +0 -1
  155. package/dist/assets/ProcessFlowDiagram-C6m6V_cB.js +0 -2
  156. package/dist/assets/ProcessesPage-B2QGyCZO.js +0 -1
  157. package/dist/assets/ProcessesPage-BcM38HMs.css +0 -1
  158. package/dist/assets/ScheduleDateTimePicker-aey_oMiH.js +0 -1
  159. package/dist/assets/SkillsPage-MPITMvhn.css +0 -1
  160. package/dist/assets/SkillsPage-iB4sbq7r.js +0 -2
  161. package/dist/assets/WatchersPage-BOSgjtw0.css +0 -1
  162. package/dist/assets/WatchersPage-l0rwv-Nx.js +0 -1
  163. package/dist/assets/api-CtKbU0lT.js +0 -1
  164. package/dist/assets/dist-eOPUi0B8.js +0 -2
  165. package/dist/assets/index-B4flHG_s.js +0 -7
  166. package/dist/assets/index-DunTIQSW.css +0 -1
  167. package/dist/assets/index-client-CnG8mWmF.js +0 -2
  168. package/dist/assets/retry-config.svelte-WukHimiy.js +0 -1
  169. package/dist/assets/router.svelte-2RvxUvs5.js +0 -1
  170. package/src/lib/process-initial-prompt.ts +0 -7
@@ -0,0 +1 @@
1
+ .tokens-page.svelte-3ff2qh{width:100%;max-width:900px;padding:var(--space-lg) 0 var(--space-2xl);margin:0 auto}h1.svelte-3ff2qh{font-size:var(--type-title-lg);margin:0 0 var(--space-xs)}h2.svelte-3ff2qh{font-size:var(--type-title-md);margin:0 0 var(--space-md)}h3.svelte-3ff2qh{font-size:var(--type-body-lg);overflow-wrap:anywhere;margin:0}p.svelte-3ff2qh{max-width:72ch;color:var(--chronicle-text-muted)}.identity.svelte-3ff2qh{color:var(--chronicle-text);font-weight:600}section.svelte-3ff2qh{margin-top:var(--space-xl);padding-top:var(--space-lg);border-top:1px solid var(--chronicle-border)}form.svelte-3ff2qh{gap:var(--space-sm);max-width:480px;display:grid}label.svelte-3ff2qh{font-weight:600;display:block}input.svelte-3ff2qh,select.svelte-3ff2qh,textarea.svelte-3ff2qh{border:1px solid var(--chronicle-border-strong);border-radius:var(--radius-sm);background:var(--chronicle-panel-surface);width:100%;min-width:0;min-height:44px;color:var(--chronicle-text);caret-color:var(--chronicle-accent);padding:10px 12px}input.svelte-3ff2qh{height:calc(1lh + 22px)}input.svelte-3ff2qh::placeholder{color:var(--chronicle-text-muted)}button.svelte-3ff2qh{border:1px solid var(--chronicle-border-strong);border-radius:var(--radius-sm);background:var(--chronicle-panel-surface);min-height:44px;color:var(--chronicle-text);cursor:pointer;padding:10px 16px}button.svelte-3ff2qh:hover:not(:disabled){background:var(--chronicle-panel-muted)}button.svelte-3ff2qh:disabled{opacity:.55;cursor:default}.primary.svelte-3ff2qh{background:var(--chronicle-accent);color:var(--chronicle-text-on-accent);border-color:var(--chronicle-accent);justify-self:start}.primary.svelte-3ff2qh:hover:not(:disabled){background:color-mix(in srgb, var(--chronicle-accent) 88%, black)}.danger.svelte-3ff2qh,.error.svelte-3ff2qh{color:var(--chronicle-danger-text)}.hint.svelte-3ff2qh{font-size:var(--type-body-sm);margin:0 0 var(--space-xs)}.secret-display.svelte-3ff2qh{background:var(--chronicle-panel-muted);padding:var(--space-lg);border-radius:var(--radius-md);border:0}textarea.svelte-3ff2qh{font-family:var(--font-mono);resize:vertical;margin:var(--space-xs) 0 var(--space-md);overflow-wrap:anywhere}.actions.svelte-3ff2qh,.section-heading.svelte-3ff2qh,.token-heading.svelte-3ff2qh{align-items:center;gap:var(--space-sm);flex-wrap:wrap;display:flex}.section-heading.svelte-3ff2qh,.token-heading.svelte-3ff2qh{justify-content:space-between}.section-heading.svelte-3ff2qh h2:where(.svelte-3ff2qh){margin:0}.token-list.svelte-3ff2qh{margin:var(--space-md) 0;padding:0;list-style:none}li.svelte-3ff2qh{padding:var(--space-lg) 0;border-bottom:1px solid var(--chronicle-border)}.token-id.svelte-3ff2qh{overflow-wrap:anywhere;font-size:var(--type-body-sm)}dl.svelte-3ff2qh{gap:var(--space-md);font-size:var(--type-body-sm);font-variant-numeric:tabular-nums;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));display:grid}dt.svelte-3ff2qh{color:var(--chronicle-text-muted)}dd.svelte-3ff2qh{margin:var(--space-2xs) 0 0}.revoke-confirmation.svelte-3ff2qh{padding:var(--space-md);background:var(--chronicle-danger-surface-soft)}@media (width<=600px){.tokens-page.svelte-3ff2qh{padding-top:var(--space-sm)}.secret-display.svelte-3ff2qh{padding:var(--space-md)}}
@@ -0,0 +1 @@
1
+ import{$ as e,A as t,B as n,D as r,F as i,H as a,I as o,N as s,P as c,Q as l,U as u,V as d,W as f,X as p,Z as m,bt as h,c as g,d as _,f as ee,gt as v,h as te,ht as y,it as b,lt as x,m as S,n as C,nt as w,o as T,q as E,st as D}from"./index-client-BYQviCtQ.js";import{i as O,n as k}from"./http-client-VpPXJwbR.js";function A(e,t={}){return O({path:e,init:{...t,credentials:`same-origin`,cache:`no-store`},malformed:`Malformed API token response`,error:(e,t)=>Error(k(t)??`Request failed (${e.status})`)})}function j(){return A(`/api/auth/tokens`)}function M(e,t){return A(`/api/auth/tokens`,{method:`POST`,headers:{"content-type":`application/json`,"x-csrf-token":e},body:JSON.stringify(t)})}function N(e,t){return A(`/api/auth/tokens${t?`/${encodeURIComponent(t)}`:``}`,{method:`DELETE`,headers:{"x-csrf-token":e}})}var P=o(`<p class="shared-owner svelte-3ff2qh">Every visitor shares the anonymous token owner and can view and revoke every anonymous token.</p>`),F=o(`<p role="alert" class="error svelte-3ff2qh"> </p>`),I=o(`<p role="status" class="svelte-3ff2qh"> </p>`),L=o(`<p role="status" class="svelte-3ff2qh">Loading tokens…</p>`),ne=o(`<button type="button" class="svelte-3ff2qh">Try again</button>`),re=o(`<section class="secret-display svelte-3ff2qh" aria-labelledby="save-token-heading"><h2 id="save-token-heading" tabindex="-1" aria-describedby="save-token-instruction" class="svelte-3ff2qh">Save your token now</h2> <p id="save-token-instruction" class="svelte-3ff2qh">This secret appears only once. Save it before dismissing this message or leaving the page.</p> <label for="new-token" class="svelte-3ff2qh">New API token</label> <textarea id="new-token" readonly="" rows="2" spellcheck="false" autocomplete="off" class="svelte-3ff2qh"></textarea> <div class="actions svelte-3ff2qh"><button type="button" class="svelte-3ff2qh">Copy token</button><button type="button" class="svelte-3ff2qh">I saved it — dismiss</button></div> <!></section>`),ie=o(`<p class="svelte-3ff2qh">Token issuance is disabled. You can still view and revoke existing tokens.</p>`),ae=o(`<option>30 minutes</option>`),oe=o(`<option>No expiration</option>`),se=o(`<label for="token-date" class="svelte-3ff2qh">Expiration date and time (local time)</label> <input id="token-date" type="datetime-local" required="" class="svelte-3ff2qh"/>`,1),ce=o(`<form class="svelte-3ff2qh"><label for="token-name" class="svelte-3ff2qh">Name</label> <input id="token-name" required="" maxlength="100" placeholder="e.g. Release automation" autocomplete="off" class="svelte-3ff2qh"/> <label for="token-expiration" class="svelte-3ff2qh">Expiration</label> <select id="token-expiration" class="svelte-3ff2qh"><option> </option><!><option>Choose date and time</option><!></select> <!> <p class="hint svelte-3ff2qh"> </p> <button class="primary svelte-3ff2qh" type="submit"> </button></form>`),le=o(`<p class="svelte-3ff2qh">No tokens yet. Create one to connect an HTTP API client.</p>`),ue=o(`<div><dt class="svelte-3ff2qh">Revoked</dt><dd class="svelte-3ff2qh"> </dd></div>`),de=o(`<button type="button" class="danger svelte-3ff2qh">Revoke</button>`),fe=o(`<li class="svelte-3ff2qh"><div class="token-heading svelte-3ff2qh"><h3 class="svelte-3ff2qh"> </h3><span> </span></div> <p class="token-id svelte-3ff2qh"><code> </code> </p> <dl class="svelte-3ff2qh"><div><dt class="svelte-3ff2qh">Created</dt><dd class="svelte-3ff2qh"> </dd></div><div><dt class="svelte-3ff2qh">Expires</dt><dd class="svelte-3ff2qh"> </dd></div><div><dt class="svelte-3ff2qh">Last used</dt><dd class="svelte-3ff2qh"> </dd></div><!></dl> <!></li>`),pe=o(`<div class="revoke-confirmation svelte-3ff2qh"><p class="svelte-3ff2qh"> </p><div class="actions svelte-3ff2qh"><button type="button" class="danger svelte-3ff2qh">Confirm revoke all</button><button type="button" class="svelte-3ff2qh">Cancel</button></div></div>`),me=o(`<button type="button" class="danger svelte-3ff2qh">Revoke all tokens</button>`),he=o(`<ul class="token-list svelte-3ff2qh"></ul> <!>`,1),ge=o(`<!> <section aria-labelledby="create-token-heading" class="svelte-3ff2qh"><h2 id="create-token-heading" class="svelte-3ff2qh">Create a token</h2> <!></section> <section aria-labelledby="your-tokens-heading" class="svelte-3ff2qh"><div class="section-heading svelte-3ff2qh"><h2 id="your-tokens-heading" class="svelte-3ff2qh"> </h2><button type="button" class="svelte-3ff2qh">Refresh</button></div> <!></section>`,1),_e=o(`<div class="tokens-page svelte-3ff2qh"><header><h1 class="svelte-3ff2qh">API tokens</h1> <p class="identity svelte-3ff2qh"> </p> <p class="svelte-3ff2qh">Tokens grant full application HTTP API access as their owner. Save them securely and revoke tokens you no longer use. Logging out does not revoke them.</p> <!></header> <!> <!> <!></div>`);function R(n,o){v(o,!0);let O=b(null),k=b(!0),A=b(!1),R=b(``),z=b(``),B=b(``),V=b(`default`),H=b(``),U=b(``),W=b(``),G=b(!1),K=!0,q=b(null),J=b(null),Y=e=>new Date(e).toLocaleString(),ve=e=>e>=864e5?`${e/864e5} days`:`${e/6e4} minutes`;async function X(){w(k,!0),w(R,``);try{let e=await j();K&&w(O,e,!0)}catch(e){K&&w(R,e instanceof Error?e.message:`Could not load tokens. Try again.`,!0)}finally{K&&w(k,!1)}}C(()=>(X(),()=>{K=!1,w(U,``)}));function ye(e=!0){w(U,``),w(W,``),e&&f().then(()=>{K&&u(J)?.focus()})}async function be(e){if(e.preventDefault(),!(!u(O)||u(A)||u(U))){w(A,!0),w(R,``),w(z,``);try{let e=u(V)===`none`?null:u(V)===`canary`?new Date(Date.now()+18e5).toISOString():u(V)===`date`?new Date(u(H)).toISOString():void 0,t=await M(u(O).csrfToken,{name:u(B),expiresAt:e});if(!K)return;w(U,t.secret,!0),w(W,``),w(B,``),w(O,{...u(O),tokens:[t.token,...u(O).tokens]},!0),await f(),K&&(u(q)?.focus(),u(q)?.scrollIntoView?.({block:`center`}))}catch(e){K&&w(R,e instanceof Error?e.message:`Could not create token. Try again.`,!0)}finally{K&&w(A,!1)}}}async function xe(){try{await navigator.clipboard.writeText(u(U)),K&&u(U)&&w(W,`Copied to clipboard.`)}catch{K&&u(U)&&w(W,`Copy failed. Select the token and copy it manually.`)}}async function Se(e){if(!(!u(O)||u(A))){w(A,!0),w(R,``),w(z,``);try{if(await N(u(O).csrfToken,e),!K)return;w(G,!1),w(z,e?`Token revoked.`:`All tokens revoked.`,!0);let t=await j();K&&w(O,t,!0)}catch(e){K&&w(R,e instanceof Error?e.message:`Could not revoke tokens. Try again.`,!0)}finally{K&&w(A,!1)}}}var Z=_e();a(`pagehide`,p,()=>ye(!1));var Q=m(Z),$=e(m(Q),2),Ce=m($,!0);h($);var we=e($,4),Te=e=>{var t=P();c(e,t)};t(we,e=>{o.authEnabled||e(Te)}),h(Q);var Ee=e(Q,2),De=e=>{var t=F(),n=m(t,!0);h(t),E(()=>s(n,u(R))),c(e,t)};t(Ee,e=>{u(R)&&e(De)});var Oe=e(Ee,2),ke=e=>{var t=I(),n=m(t,!0);h(t),E(()=>s(n,u(z))),c(e,t)};t(Oe,e=>{u(z)&&e(ke)});var Ae=e(Oe,2),je=e=>{var t=L();c(e,t)},Me=e=>{var t=ne();d(`click`,t,X),c(e,t)},Ne=n=>{var f=ge(),p=l(f),v=n=>{var r=re(),i=m(r);T(i,e=>w(q,e),()=>u(q));var a=e(i,6);x(a);var o=e(a,2),l=m(o),f=e(l);h(o);var p=e(o,2),g=e=>{var t=I(),n=m(t,!0);h(t),E(()=>s(n,u(W))),c(e,t)};t(p,e=>{u(W)&&e(g)}),h(r),E(()=>S(a,u(U))),d(`click`,l,xe),d(`click`,f,()=>ye()),c(n,r)};t(p,e=>{u(U)&&e(v)});var y=e(p,2),b=e(m(y),2),C=e=>{var t=ie();c(e,t)},j=n=>{var r=ce(),i=e(m(r),2);_(i),T(i,e=>w(J,e),()=>u(J));var o=e(i,4),d=m(o),f=m(d);h(d),d.value=d.__value=`default`;var p=e(d),ee=e=>{var t=ae();t.value=t.__value=`canary`,c(e,t)};t(p,e=>{u(O).policy.maxTtlMs>=18e5&&e(ee)});var v=e(p);v.value=v.__value=`date`;var y=e(v),b=e=>{var t=oe();t.value=t.__value=`none`,c(e,t)};t(y,e=>{u(O).policy.allowNoExpiry&&e(b)}),h(o);var x=e(o,2),S=t=>{var n=se(),r=e(l(n),2);_(r),E(()=>r.disabled=u(A)||!!u(U)),g(r,()=>u(H),e=>w(H,e)),c(t,n)};t(x,e=>{u(V)===`date`&&e(S)});var C=e(x,2),D=m(C);h(C);var k=e(C,2),j=m(k,!0);h(k),h(r),E((e,t,n)=>{i.disabled=u(A)||!!u(U),o.disabled=u(A)||!!u(U),s(f,`Default (${e??``})`),s(D,`Dated tokens may last up to ${t??``}.`),k.disabled=n,s(j,u(A)?`Working…`:`Create token`)},[()=>ve(u(O).policy.defaultTtlMs),()=>ve(u(O).policy.maxTtlMs),()=>u(A)||!!u(U)||!u(B).trim()]),a(`submit`,r,be),g(i,()=>u(B),e=>w(B,e)),te(o,()=>u(V),e=>w(V,e)),c(n,r)};t(b,e=>{u(O).policy.enabled?e(j,-1):e(C)}),h(y);var M=e(y,2),N=m(M),P=m(N),F=m(P,!0);h(P);var L=e(P);h(N);var ne=e(N,2),_e=e=>{var t=le();c(e,t)},R=n=>{var a=he(),f=l(a);r(f,21,()=>u(O).tokens,e=>e.id,(n,r)=>{var i=fe(),a=m(i),o=m(a),l=m(o,!0);h(o);var f=e(o),p=m(f,!0);h(f),h(a);var g=e(a,2),_=m(g),v=m(_);h(_);var te=e(_);h(g);var y=e(g,2),b=m(y),x=e(m(b)),S=m(x,!0);h(x),h(b);var C=e(b),w=e(m(C)),T=m(w,!0);h(w),h(C);var D=e(C),O=e(m(D)),k=m(O,!0);h(O),h(D);var j=e(D),M=t=>{var n=ue(),i=e(m(n)),a=m(i,!0);h(i),h(n),E(e=>s(a,e),[()=>Y(u(r).revokedAt)]),c(t,n)};t(j,e=>{u(r).revokedAt&&e(M)}),h(y);var N=e(y,2),P=e=>{var t=de();E(()=>{t.disabled=u(A),ee(t,`aria-label`,`Revoke ${u(r).name}`)}),d(`click`,t,()=>Se(u(r).id)),c(e,t)};t(N,e=>{u(r).revokedAt||e(P)}),h(i),E((e,t,n,i)=>{s(l,u(r).name),s(p,e),s(v,`${u(r).prefix??``}…`),s(te,` · ${u(r).id??``}`),s(S,t),s(T,n),s(k,i)},[()=>u(r).revokedAt?`Revoked`:u(r).expiresAt&&Date.parse(u(r).expiresAt)<=Date.now()?`Expired`:`Active`,()=>Y(u(r).createdAt),()=>u(r).expiresAt?Y(u(r).expiresAt):`No expiration`,()=>u(r).lastUsedAt?Y(u(r).lastUsedAt):`Never`]),c(n,i)}),h(f);var p=e(f,2),g=n=>{var r=i(),a=l(r),f=t=>{var n=pe(),r=m(n),i=m(r);h(r);var a=e(r),l=m(a),f=e(l);h(a),h(n),E(()=>{s(i,`Revoke all ${o.authEnabled?`your`:`shared anonymous`} tokens? Every client using them will lose access. Accepted work and schedules will continue.`),l.disabled=u(A),f.disabled=u(A)}),d(`click`,l,()=>Se()),d(`click`,f,()=>{w(G,!1)}),c(t,n)},p=e=>{var t=me();E(()=>t.disabled=u(A)),d(`click`,t,()=>{w(G,!0)}),c(e,t)};t(a,e=>{u(G)?e(f):e(p,-1)}),c(n,r)},_=D(()=>u(O).tokens.some(e=>!e.revokedAt));t(p,e=>{u(_)&&e(g)}),c(n,a)};t(ne,e=>{u(O).tokens.length===0?e(_e):e(R,-1)}),h(M),E(()=>{s(F,o.authEnabled?`Your tokens`:`Shared anonymous tokens`),L.disabled=u(A)||u(k)}),d(`click`,L,X),c(n,f)};t(Ae,e=>{u(k)&&!u(O)?e(je):u(O)?e(Ne,-1):e(Me,1)}),h(Z),E(()=>s(Ce,o.authEnabled?o.actor.displayName??o.actor.id:`Anonymous`)),c(n,Z),y()}n([`click`]);export{R as default};
@@ -0,0 +1,16 @@
1
+ import{E as e,I as t,P as n,S as r,b as i,bt as a,gt as o,ht as s,q as c,r as l,y as u}from"./index-client-BYQviCtQ.js";import{$ as d,G as f,J as p,K as m,O as h}from"./http-client-VpPXJwbR.js";import{c as g,s as _}from"./external-links-CX92-VRP.js";var v=Object.defineProperty,y=(e,t)=>{let n={};for(var r in e)v(n,r,{get:e[r],enumerable:!0});return t||v(n,Symbol.toStringTag,{value:`Module`}),n},b=[`image/png`,`image/jpeg`,`image/webp`],x=/^[A-Za-z0-9][A-Za-z0-9._-]*$/,S=/^img_[A-Za-z0-9]+\.(png|jpg|webp)$/;function ee(e){return x.test(e)}function te(e){let t=S.exec(e)?.[1];return t===`png`||t===`jpg`||t===`webp`?{extension:t}:null}m({imageId:d(),url:d(),mimeType:p(b),byteSize:f()});var ne=/^\/api\/processes\/([^/]+)\/turn-records\/([^/]+)\/result-images\/([^/]+)$/;function re(e){let t=ne.exec(e),n=t?.[1],r=t?.[2],i=t?.[3];return n&&r&&i&&ee(n)&&ee(r)&&te(i)?{instanceId:n,turnRecordId:r,imageId:i}:null}function ie(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 ae(e){if(Array.isArray(e))return e}function oe(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 se(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
2
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ce(e,t){return ae(e)||oe(e,t)||le(e,t)||se()}function le(e,t){if(e){if(typeof e==`string`)return ie(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)?ie(e,t):void 0}}var ue=Object.entries,de=Object.setPrototypeOf,fe=Object.isFrozen,pe=Object.getPrototypeOf,C=Object.getOwnPropertyDescriptor,w=Object.freeze,T=Object.seal,me=Object.create,he=typeof Reflect<`u`&&Reflect,ge=he.apply,_e=he.construct;w||=function(e){return e},T||=function(e){return e},ge||=function(e,t){var n=[...arguments].slice(2);return e.apply(t,n)},_e||=function(e){return new e(...[...arguments].slice(1))};var ve=O(Array.prototype.forEach),ye=O(Array.prototype.lastIndexOf),be=O(Array.prototype.pop),xe=O(Array.prototype.push),Se=O(Array.prototype.splice),Ce=Array.isArray,we=O(String.prototype.toLowerCase),Te=O(String.prototype.toString),Ee=O(String.prototype.match),De=O(String.prototype.replace),Oe=O(String.prototype.indexOf),ke=O(String.prototype.trim),Ae=O(Number.prototype.toString),je=O(Boolean.prototype.toString),Me=typeof BigInt>`u`?null:O(BigInt.prototype.toString),Ne=typeof Symbol>`u`?null:O(Symbol.prototype.toString),E=O(Object.prototype.hasOwnProperty),Pe=O(Object.prototype.toString),D=O(RegExp.prototype.test),Fe=k(TypeError);function O(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);var n=[...arguments].slice(1);return ge(e,t,n)}}function k(e){return function(){return _e(e,[...arguments])}}function A(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:we;if(de&&de(e,null),!Ce(t))return e;let r=t.length;for(;r--;){let i=t[r];if(typeof i==`string`){let e=n(i);e!==i&&(fe(t)||(t[r]=e),i=e)}e[i]=!0}return e}function Ie(e){for(let t=0;t<e.length;t++)E(e,t)||(e[t]=null);return e}function j(e){let t=me(null);for(let r of ue(e)){var n=ce(r,2);let i=n[0],a=n[1];E(e,i)&&(t[i]=Ce(a)?Ie(a):a&&typeof a==`object`&&a.constructor===Object?j(a):a)}return t}function Le(e){switch(typeof e){case`string`:return e;case`number`:return Ae(e);case`boolean`:return je(e);case`bigint`:return Me?Me(e):`0`;case`symbol`:return Ne?Ne(e):`Symbol()`;case`undefined`:return Pe(e);case`function`:case`object`:{if(e===null)return Pe(e);let t=e,n=M(t,`toString`);if(typeof n==`function`){let e=n(t);return typeof e==`string`?e:Pe(e)}return Pe(e)}default:return Pe(e)}}function M(e,t){for(;e!==null;){let n=C(e,t);if(n){if(n.get)return O(n.get);if(typeof n.value==`function`)return O(n.value)}e=pe(e)}function n(){return null}return n}function Re(e){try{return D(e,``),!0}catch{return!1}}var ze=w(`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(`.`)),Be=w(`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(`.`)),Ve=w([`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`]),He=w([`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`]),Ue=w(`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(`.`)),We=w([`maction`,`maligngroup`,`malignmark`,`mlongdiv`,`mscarries`,`mscarry`,`msgroup`,`mstack`,`msline`,`msrow`,`semantics`,`annotation`,`annotation-xml`,`mprescripts`,`none`]),Ge=w([`#text`]),Ke=w(`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(`.`)),qe=w(`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(`.`)),Je=w(`accent.accentunder.align.bevelled.close.columnalign.columnlines.columnspacing.columnspan.denomalign.depth.dir.display.displaystyle.encoding.fence.frame.height.href.id.largeop.length.linethickness.lquote.lspace.mathbackground.mathcolor.mathsize.mathvariant.maxsize.minsize.movablelimits.notation.numalign.open.rowalign.rowlines.rowspacing.rowspan.rspace.rquote.scriptlevel.scriptminsize.scriptsizemultiplier.selection.separator.separators.stretchy.subscriptshift.supscriptshift.symmetric.voffset.width.xmlns`.split(`.`)),Ye=w([`xlink:href`,`xml:id`,`xlink:title`,`xml:space`,`xmlns:xlink`]),Xe=T(/{{[\w\W]*|^[\w\W]*}}/g),Ze=T(/<%[\w\W]*|^[\w\W]*%>/g),Qe=T(/\${[\w\W]*/g),$e=T(/^data-[\-\w.\u00B7-\uFFFF]+$/),et=T(/^aria-[\-\w]+$/),tt=T(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),nt=T(/^(?:\w+script|data):/i),rt=T(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),it=T(/^html$/i),at=T(/^[a-z][.\w]*(-[.\w]+)+$/i),ot=T(/<[/\w!]/g),st=T(/<[/\w]/g),ct=T(/<\/no(script|embed|frames)/i),lt=T(/\/>/i),N={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},ut=function(){return typeof window>`u`?null:window},dt=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}},ft=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},pt=function(e,t,n,r){return E(e,t)&&Ce(e[t])?A(r.base?j(r.base):{},e[t],r.transform):n};function mt(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:ut(),t=e=>mt(e);if(t.version=`3.4.12`,t.removed=[],!e||!e.document||e.document.nodeType!==N.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=M(d,`cloneNode`),p=M(d,`remove`),m=M(d,`nextSibling`),h=M(d,`childNodes`),g=M(d,`parentNode`),_=M(d,`shadowRoot`),v=M(d,`attributes`),y=o&&o.prototype?M(o.prototype,`nodeType`):null,b=o&&o.prototype?M(o.prototype,`nodeName`):null;if(typeof a==`function`){let e=n.createElement(`template`);e.content&&e.content.ownerDocument&&(n=e.content.ownerDocument)}let x,S=``,ee,te=!1,ne=0,re=function(){if(ne>0)throw Fe(`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.`)},ie=function(e){re(),ne++;try{return x.createHTML(e)}finally{ne--}},ae=function(e){re(),ne++;try{return x.createScriptURL(e)}finally{ne--}},oe=function(){return te||=(ee=dt(u,i),!0),ee},se=n,ce=se.implementation,le=se.createNodeIterator,de=se.createDocumentFragment,fe=se.getElementsByTagName,pe=r.importNode,C=ft();t.isSupported=typeof ue==`function`&&typeof g==`function`&&ce&&ce.createHTMLDocument!==void 0;let he=Xe,ge=Ze,_e=Qe,Ae=$e,je=et,Me=nt,Ne=rt,Pe=at,O=tt,k=null,Ie=A({},[...ze,...Be,...Ve,...Ue,...Ge]),P=null,ht=A({},[...Ke,...qe,...Je,...Ye]),F=Object.seal(me(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}})),I=null,gt=null,L=Object.seal(me(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),_t=!0,vt=!0,yt=!1,bt=!0,xt=!1,St=!0,Ct=!1,wt=!1,Tt=null,Et=null,Dt=!1,Ot=!1,kt=!1,At=!1,jt=!0,Mt=!1,Nt=`user-content-`,Pt=!0,Ft=!1,It={},R=null,Lt=A({},`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(`.`)),Rt=null,zt=A({},[`audio`,`video`,`img`,`source`,`image`,`track`]),Bt=null,Vt=A({},[`alt`,`class`,`for`,`id`,`label`,`name`,`pattern`,`placeholder`,`role`,`summary`,`title`,`value`,`style`,`xmlns`]),Ht=`http://www.w3.org/1998/Math/MathML`,z=`http://www.w3.org/2000/svg`,B=`http://www.w3.org/1999/xhtml`,V=B,Ut=!1,Wt=null,Gt=A({},[Ht,z,B],Te),Kt=w([`mi`,`mo`,`mn`,`ms`,`mtext`]),H=A({},Kt),U=w([`annotation-xml`]),qt=A({},U),Jt=A({},[`title`,`style`,`font`,`a`,`script`]),Yt=null,Xt=[`application/xhtml+xml`,`text/html`],W=null,Zt=null,Qt=n.createElement(`form`),$t=function(e){return e instanceof RegExp||e instanceof Function},en=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(Zt&&Zt===e)return;(!e||typeof e!=`object`)&&(e={}),e=j(e),Yt=Xt.indexOf(e.PARSER_MEDIA_TYPE)===-1?`text/html`:e.PARSER_MEDIA_TYPE,W=Yt===`application/xhtml+xml`?Te:we,k=pt(e,`ALLOWED_TAGS`,Ie,{transform:W}),P=pt(e,`ALLOWED_ATTR`,ht,{transform:W}),Wt=pt(e,`ALLOWED_NAMESPACES`,Gt,{transform:Te}),Bt=pt(e,`ADD_URI_SAFE_ATTR`,Vt,{transform:W,base:Vt}),Rt=pt(e,`ADD_DATA_URI_TAGS`,zt,{transform:W,base:zt}),R=pt(e,`FORBID_CONTENTS`,Lt,{transform:W}),I=pt(e,`FORBID_TAGS`,j({}),{transform:W}),gt=pt(e,`FORBID_ATTR`,j({}),{transform:W}),It=E(e,`USE_PROFILES`)?e.USE_PROFILES&&typeof e.USE_PROFILES==`object`?j(e.USE_PROFILES):e.USE_PROFILES:!1,_t=e.ALLOW_ARIA_ATTR!==!1,vt=e.ALLOW_DATA_ATTR!==!1,yt=e.ALLOW_UNKNOWN_PROTOCOLS||!1,bt=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,xt=e.SAFE_FOR_TEMPLATES||!1,St=e.SAFE_FOR_XML!==!1,Ct=e.WHOLE_DOCUMENT||!1,Ot=e.RETURN_DOM||!1,kt=e.RETURN_DOM_FRAGMENT||!1,At=e.RETURN_TRUSTED_TYPE||!1,Dt=e.FORCE_BODY||!1,jt=e.SANITIZE_DOM!==!1,Mt=e.SANITIZE_NAMED_PROPS||!1,Pt=e.KEEP_CONTENT!==!1,Ft=e.IN_PLACE||!1,O=Re(e.ALLOWED_URI_REGEXP)?e.ALLOWED_URI_REGEXP:tt,V=typeof e.NAMESPACE==`string`?e.NAMESPACE:B,H=E(e,`MATHML_TEXT_INTEGRATION_POINTS`)&&e.MATHML_TEXT_INTEGRATION_POINTS&&typeof e.MATHML_TEXT_INTEGRATION_POINTS==`object`?j(e.MATHML_TEXT_INTEGRATION_POINTS):A({},Kt),qt=E(e,`HTML_INTEGRATION_POINTS`)&&e.HTML_INTEGRATION_POINTS&&typeof e.HTML_INTEGRATION_POINTS==`object`?j(e.HTML_INTEGRATION_POINTS):A({},U);let t=E(e,`CUSTOM_ELEMENT_HANDLING`)&&e.CUSTOM_ELEMENT_HANDLING&&typeof e.CUSTOM_ELEMENT_HANDLING==`object`?j(e.CUSTOM_ELEMENT_HANDLING):me(null);if(F=me(null),E(t,`tagNameCheck`)&&$t(t.tagNameCheck)&&(F.tagNameCheck=t.tagNameCheck),E(t,`attributeNameCheck`)&&$t(t.attributeNameCheck)&&(F.attributeNameCheck=t.attributeNameCheck),E(t,`allowCustomizedBuiltInElements`)&&typeof t.allowCustomizedBuiltInElements==`boolean`&&(F.allowCustomizedBuiltInElements=t.allowCustomizedBuiltInElements),T(F),xt&&(vt=!1),kt&&(Ot=!0),It&&(k=A({},Ge),P=me(null),It.html===!0&&(A(k,ze),A(P,Ke)),It.svg===!0&&(A(k,Be),A(P,qe),A(P,Ye)),It.svgFilters===!0&&(A(k,Ve),A(P,qe),A(P,Ye)),It.mathMl===!0&&(A(k,Ue),A(P,Je),A(P,Ye))),L.tagCheck=null,L.attributeCheck=null,E(e,`ADD_TAGS`)&&(typeof e.ADD_TAGS==`function`?L.tagCheck=e.ADD_TAGS:Ce(e.ADD_TAGS)&&(k===Ie&&(k=j(k)),A(k,e.ADD_TAGS,W))),E(e,`ADD_ATTR`)&&(typeof e.ADD_ATTR==`function`?L.attributeCheck=e.ADD_ATTR:Ce(e.ADD_ATTR)&&(P===ht&&(P=j(P)),A(P,e.ADD_ATTR,W))),E(e,`ADD_URI_SAFE_ATTR`)&&Ce(e.ADD_URI_SAFE_ATTR)&&A(Bt,e.ADD_URI_SAFE_ATTR,W),E(e,`FORBID_CONTENTS`)&&Ce(e.FORBID_CONTENTS)&&(R===Lt&&(R=j(R)),A(R,e.FORBID_CONTENTS,W)),E(e,`ADD_FORBID_CONTENTS`)&&Ce(e.ADD_FORBID_CONTENTS)&&(R===Lt&&(R=j(R)),A(R,e.ADD_FORBID_CONTENTS,W)),Pt&&(k[`#text`]=!0),Ct&&A(k,[`html`,`head`,`body`]),k.table&&(A(k,[`tbody`]),delete I.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!=`function`)throw Fe(`TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.`);if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!=`function`)throw Fe(`TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.`);let t=x;x=e.TRUSTED_TYPES_POLICY;try{S=ie(``)}catch(e){throw x=t,e}}else e.TRUSTED_TYPES_POLICY===null?(x=void 0,S=``):(x===void 0&&(x=oe()),x&&typeof S==`string`&&(S=ie(``)));w&&w(e),Zt=e},tn=A({},[...Be,...Ve,...He]),nn=A({},[...Ue,...We]),rn=function(e,t,n){return t.namespaceURI===B?e===`svg`:t.namespaceURI===Ht?e===`svg`&&(n===`annotation-xml`||H[n]):!!tn[e]},an=function(e,t,n){return t.namespaceURI===B?e===`math`:t.namespaceURI===z?e===`math`&&qt[n]:!!nn[e]},on=function(e,t,n){return t.namespaceURI===z&&!qt[n]||t.namespaceURI===Ht&&!H[n]?!1:!nn[e]&&(Jt[e]||!tn[e])},sn=function(e){let t=g(e);(!t||!t.tagName)&&(t={namespaceURI:V,tagName:`template`});let n=we(e.tagName),r=we(t.tagName);return Wt[e.namespaceURI]?e.namespaceURI===z?rn(n,t,r):e.namespaceURI===Ht?an(n,t,r):e.namespaceURI===B?on(n,t,r):!!(Yt===`application/xhtml+xml`&&Wt[e.namespaceURI]):!1},cn=function(e){xe(t.removed,{element:e});try{g(e).removeChild(e)}catch{if(p(e),!g(e))throw Fe(`a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place`)}},ln=function(e){fn(e);let t=h(e);if(t){let e=[];ve(t,t=>{xe(e,t)}),ve(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{}}},un=function(e,n){try{xe(t.removed,{attribute:n.getAttributeNode(e),from:n})}catch{xe(t.removed,{attribute:null,from:n})}if(n.removeAttribute(e),e===`is`){if(Ot||kt)try{cn(n)}catch{}else try{n.setAttribute(e,``)}catch{}}},dn=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[W(i)]))try{e.removeAttribute(i)}catch{}}},fn=function(e){let t=[e];for(;t.length>0;){let e=t.pop();(y?y(e):e.nodeType)===N.element&&dn(e);let n=h(e);if(n)for(let e=n.length-1;e>=0;--e)t.push(n[e])}},pn=function(e){if(!St)return;let t=[e];for(;t.length>0;){let e=t.pop(),n=y?y(e):e.nodeType;if(n===N.processingInstruction||n===N.comment&&D(st,e.data)){try{p(e)}catch{}continue}if(n===N.element){let t=e,n=W(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])}},mn=function(e){let t=null,r=null;if(Dt)e=`<remove></remove>`+e;else{let t=Ee(e,/^[\r\n\t ]+/);r=t&&t[0]}Yt===`application/xhtml+xml`&&V===B&&(e=`<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>`+e+`</body></html>`);let i=x?ie(e):e;if(V===B)try{t=new l().parseFromString(i,Yt)}catch{}if(!t||!t.documentElement){t=ce.createDocument(V,`template`,null);try{t.documentElement.innerHTML=Ut?S:i}catch{}}let a=t.body||t.documentElement;return e&&r&&a.insertBefore(n.createTextNode(r),a.childNodes[0]||null),V===B?fe.call(t,Ct?`html`:`body`)[0]:Ct?t.documentElement:a},hn=function(e){return le.call(e.ownerDocument||e,e,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},gn=function(e){return e=De(e,he,` `),e=De(e,ge,` `),e=De(e,_e,` `),e},_n=function(e){e.normalize();let t=le.call(e.ownerDocument||e,e,c.SHOW_TEXT|c.SHOW_COMMENT|c.SHOW_CDATA_SECTION|c.SHOW_PROCESSING_INSTRUCTION,null),n=t.nextNode();for(;n;)n.data=gn(n.data),n=t.nextNode();let r=e.querySelectorAll?.call(e,`template`);r&&ve(r,e=>{vn(e.content)&&_n(e.content)})},G=function(e){let t=b?b(e):null;return typeof t!=`string`||W(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)},vn=function(e){if(!y||typeof e!=`object`||!e)return!1;try{return y(e)===N.documentFragment}catch{return!1}},yn=function(e){if(!y||typeof e!=`object`||!e)return!1;try{return typeof y(e)==`number`}catch{return!1}};function K(e,n,r){e.length!==0&&ve(e,e=>{e.call(t,n,r,Zt)})}let bn=function(e,t){return!!(St&&e.hasChildNodes()&&!yn(e.firstElementChild)&&D(ot,e.textContent)&&D(ot,e.innerHTML)||St&&e.namespaceURI===B&&t===`style`&&yn(e.firstElementChild)||e.nodeType===N.processingInstruction||St&&e.nodeType===N.comment&&D(st,e.data))},xn=function(e,t){if(!I[t]&&Tn(t)&&(F.tagNameCheck instanceof RegExp&&D(F.tagNameCheck,t)||F.tagNameCheck instanceof Function&&F.tagNameCheck(t)))return!1;if(Pt&&!R[t]){let t=g(e),n=h(e);if(n&&t){let r=n.length;for(let i=r-1;i>=0;--i){let r=Ft?n[i]:f(n[i],!0);t.insertBefore(r,m(e))}}}return cn(e),!0},Sn=function(e,n){if(K(C.beforeSanitizeElements,e,null),e!==n&&g(e)===null)return!0;if(G(e))return cn(e),!0;let r=W(b?b(e):e.nodeName);if(K(C.uponSanitizeElement,e,{tagName:r,allowedTags:k}),e!==n&&g(e)===null)return!0;if(bn(e,r))return cn(e),!0;if(I[r]||!(L.tagCheck instanceof Function&&L.tagCheck(r))&&!k[r]){let t=xn(e,r);return t===!1&&K(C.afterSanitizeElements,e,null),t}if((y?y(e):e.nodeType)===N.element&&!sn(e)||(r===`noscript`||r===`noembed`||r===`noframes`)&&D(ct,e.innerHTML))return cn(e),!0;if(xt&&e.nodeType===N.text){let n=gn(e.textContent);e.textContent!==n&&(xe(t.removed,{element:e.cloneNode()}),e.textContent=n)}return K(C.afterSanitizeElements,e,null),!1},Cn=function(e,t,r){if(gt[t]||St&&t===`patchsrc`||St&&t===`for`&&e!==`label`&&e!==`output`||jt&&(t===`id`||t===`name`)&&(r in n||r in Qt))return!1;let i=P[t]||L.attributeCheck instanceof Function&&L.attributeCheck(t,e);if(!(vt&&D(Ae,t))&&!(_t&&D(je,t))){if(!i){if(!(Tn(e)&&(F.tagNameCheck instanceof RegExp&&D(F.tagNameCheck,e)||F.tagNameCheck instanceof Function&&F.tagNameCheck(e))&&(F.attributeNameCheck instanceof RegExp&&D(F.attributeNameCheck,t)||F.attributeNameCheck instanceof Function&&F.attributeNameCheck(t,e))||t===`is`&&F.allowCustomizedBuiltInElements&&(F.tagNameCheck instanceof RegExp&&D(F.tagNameCheck,r)||F.tagNameCheck instanceof Function&&F.tagNameCheck(r))))return!1}else if(!Bt[t]&&!D(O,De(r,Ne,``))&&!((t===`src`||t===`xlink:href`||t===`href`)&&e!==`script`&&Oe(r,`data:`)===0&&Rt[e])&&!(yt&&!D(Me,De(r,Ne,``)))&&r)return!1}return!0},wn=A({},[`annotation-xml`,`color-profile`,`font-face`,`font-face-format`,`font-face-name`,`font-face-src`,`font-face-uri`,`missing-glyph`]),Tn=function(e){return!wn[we(e)]&&D(Pe,e)},En=function(e,t,n,r){if(x&&typeof u==`object`&&typeof u.getAttributeType==`function`&&!n)switch(u.getAttributeType(e,t)){case`TrustedHTML`:return ie(r);case`TrustedScriptURL`:return ae(r)}return r},Dn=function(e,n,r,i){try{r?e.setAttributeNS(r,n,i):e.setAttribute(n,i),G(e)?cn(e):be(t.removed)}catch{un(n,e)}},On=function(e){K(C.beforeSanitizeAttributes,e,null);let t=e.attributes;if(!t||G(e))return;let n={attrName:``,attrValue:``,keepAttr:!0,allowedAttributes:P,forceKeepAttr:void 0},r=t.length,i=W(e.nodeName);for(;r--;){let a=t[r],o=a.name,s=a.namespaceURI,c=a.value,l=W(o),u=c,d=o===`value`?u:ke(u);if(n.attrName=l,n.attrValue=d,n.keepAttr=!0,n.forceKeepAttr=void 0,K(C.uponSanitizeAttribute,e,n),d=n.attrValue,Mt&&(l===`id`||l===`name`)&&Oe(d,Nt)!==0&&(un(o,e),d=Nt+d),St&&D(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,d)){un(o,e);continue}if(l===`attributename`&&Ee(d,`href`)){un(o,e);continue}if(!n.forceKeepAttr){if(!n.keepAttr){un(o,e);continue}if(!bt&&D(lt,d)){un(o,e);continue}if(xt&&(d=gn(d)),!Cn(i,l,d)){un(o,e);continue}d=En(i,l,s,d),d!==u&&Dn(e,o,s,d)}}K(C.afterSanitizeAttributes,e,null)},kn=function(e){let t=null,n=hn(e);for(K(C.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)if(K(C.uponSanitizeShadowNode,t,null),Sn(t,e),On(t),vn(t.content)&&kn(t.content),(y?y(t):t.nodeType)===N.element){let e=_(t);vn(e)&&(An(e),kn(e))}K(C.afterSanitizeShadowDOM,e,null)},An=function(e){let t=[{node:e,shadow:null}];for(;t.length>0;){let e=t.pop();if(e.shadow){kn(e.shadow);continue}let n=e.node,r=(y?y(n):n.nodeType)===N.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`&&W(e)===`template`){let e=n.content;vn(e)&&t.push({node:e,shadow:null})}}if(r){let e=_(n);vn(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(Ut=!e,Ut&&(e=`<!-->`),typeof e!=`string`&&!yn(e)&&(e=Le(e),typeof e!=`string`))throw Fe(`dirty is not a string, aborting`);if(!t.isSupported)return e;wt?(k=Tt,P=Et):en(n),(C.uponSanitizeElement.length>0||C.uponSanitizeAttribute.length>0)&&(k=j(k)),C.uponSanitizeAttribute.length>0&&(P=j(P)),t.removed=[];let c=Ft&&typeof e!=`string`&&yn(e);if(c){pn(e);let t=b?b(e):e.nodeName;if(typeof t==`string`){let n=W(t);if(!k[n]||I[n])throw ln(e),Fe(`root node is forbidden and cannot be sanitized in-place`)}if(G(e))throw ln(e),Fe(`root node is clobbered and cannot be sanitized in-place`);try{An(e)}catch(t){throw ln(e),t}}else if(yn(e))i=mn(`<!---->`),a=i.ownerDocument.importNode(e,!0),a.nodeType===N.element&&a.nodeName===`BODY`||a.nodeName===`HTML`?i=a:i.appendChild(a),An(a);else{if(!Ot&&!xt&&!Ct&&e.indexOf(`<`)===-1)return x&&At?ie(e):e;if(i=mn(e),!i)return Ot?null:At?S:``}i&&Dt&&cn(i.firstChild);let l=c?e:i,u=hn(l);try{for(;o=u.nextNode();)Sn(o,l),On(o),vn(o.content)&&kn(o.content)}catch(n){throw c&&(ln(e),ve(t.removed,e=>{e.element&&fn(e.element)})),n}if(c)return ve(t.removed,e=>{e.element&&fn(e.element)}),xt&&_n(e),e;if(Ot){if(xt&&_n(i),kt)for(s=de.call(i.ownerDocument);i.firstChild;)s.appendChild(i.firstChild);else s=i;return(P.shadowroot||P.shadowrootmode)&&(s=pe.call(r,s,!0)),s}let d=Ct?i.outerHTML:i.innerHTML;return Ct&&k[`!doctype`]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&D(it,i.ownerDocument.doctype.name)&&(d=`<!DOCTYPE `+i.ownerDocument.doctype.name+`>
3
+ `+d),xt&&(d=gn(d)),x&&At?ie(d):d},t.setConfig=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};en(e),wt=!0,Tt=k,Et=P},t.clearConfig=function(){Zt=null,wt=!1,Tt=null,Et=null,x=ee,S=``},t.isValidAttribute=function(e,t,n){Zt||en({});let r=W(e),i=W(t);return Cn(r,i,n)},t.addHook=function(e,t){typeof t==`function`&&E(C,e)&&xe(C[e],t)},t.removeHook=function(e,t){if(E(C,e)){if(t!==void 0){let n=ye(C[e],t);return n===-1?void 0:Se(C[e],n,1)[0]}return be(C[e])}},t.removeHooks=function(e){E(C,e)&&(C[e]=[])},t.removeAllHooks=function(){C=ft()},t}var P=mt(),ht={};function F(e){let t=ht[e];if(t)return t;t=ht[e]=[];for(let e=0;e<128;e++){let n=String.fromCharCode(e);t.push(n)}for(let n=0;n<e.length;n++){let r=e.charCodeAt(n);t[r]=`%`+(`0`+r.toString(16).toUpperCase()).slice(-2)}return t}function I(e,t){typeof t!=`string`&&(t=I.defaultChars);let n=F(t);return e.replace(/(%[a-f0-9]{2})+/gi,function(e){let t=``;for(let r=0,i=e.length;r<i;r+=3){let a=parseInt(e.slice(r+1,r+3),16);if(a<128){t+=n[a];continue}if((a&224)==192&&r+3<i){let n=parseInt(e.slice(r+4,r+6),16);if((n&192)==128){let e=a<<6&1984|n&63;t+=e<128?`��`:String.fromCharCode(e),r+=3;continue}}if((a&240)==224&&r+6<i){let n=parseInt(e.slice(r+4,r+6),16),i=parseInt(e.slice(r+7,r+9),16);if((n&192)==128&&(i&192)==128){let e=a<<12&61440|n<<6&4032|i&63;t+=e<2048||e>=55296&&e<=57343?`���`:String.fromCharCode(e),r+=6;continue}}if((a&248)==240&&r+9<i){let n=parseInt(e.slice(r+4,r+6),16),i=parseInt(e.slice(r+7,r+9),16),o=parseInt(e.slice(r+10,r+12),16);if((n&192)==128&&(i&192)==128&&(o&192)==128){let e=a<<18&1835008|n<<12&258048|i<<6&4032|o&63;e<65536||e>1114111?t+=`����`:(e-=65536,t+=String.fromCharCode(55296+(e>>10),56320+(e&1023))),r+=9;continue}}t+=`�`}return t})}I.defaultChars=`;/?:@&=+$,#`,I.componentChars=``;var gt={};function L(e){let t=gt[e];if(t)return t;t=gt[e]=[];for(let e=0;e<128;e++){let n=String.fromCharCode(e);/^[0-9a-z]$/i.test(n)?t.push(n):t.push(`%`+(`0`+e.toString(16).toUpperCase()).slice(-2))}for(let n=0;n<e.length;n++)t[e.charCodeAt(n)]=e[n];return t}function _t(e,t,n){typeof t!=`string`&&(n=t,t=_t.defaultChars),n===void 0&&(n=!0);let r=L(t),i=``;for(let t=0,a=e.length;t<a;t++){let o=e.charCodeAt(t);if(n&&o===37&&t+2<a&&/^[0-9a-f]{2}$/i.test(e.slice(t+1,t+3))){i+=e.slice(t,t+3),t+=2;continue}if(o<128){i+=r[o];continue}if(o>=55296&&o<=57343){if(o>=55296&&o<=56319&&t+1<a){let n=e.charCodeAt(t+1);if(n>=56320&&n<=57343){i+=encodeURIComponent(e[t]+e[t+1]),t++;continue}}i+=`%EF%BF%BD`;continue}i+=encodeURIComponent(e[t])}return i}_t.defaultChars=`;/?:@&=+$,-_.!~*'()#`,_t.componentChars=`-_.!~*'()`;function vt(e){let t=``;return t+=e.protocol||``,t+=e.slashes?`//`:``,t+=e.auth?e.auth+`@`:``,e.hostname&&e.hostname.indexOf(`:`)!==-1?t+=`[`+e.hostname+`]`:t+=e.hostname||``,t+=e.port?`:`+e.port:``,t+=e.pathname||``,t+=e.search||``,t+=e.hash||``,t}function yt(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var bt=/^([a-z0-9.+-]+:)/i,xt=/:[0-9]*$/,St=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,Ct=[`%`,`/`,`?`,`;`,`#`,`'`,`{`,`}`,`|`,`\\`,`^`,"`",`<`,`>`,`"`,"`",` `,`\r`,`
4
+ `,` `],wt=[`/`,`?`,`#`],Tt=255,Et=/^[+a-z0-9A-Z_-]{0,63}$/,Dt=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Ot={javascript:!0,"javascript:":!0},kt={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function At(e,t){if(e&&e instanceof yt)return e;let n=new yt;return n.parse(e,t),n}yt.prototype.parse=function(e,t){let n,r,i,a=e;if(a=a.trim(),!t&&e.split(`#`).length===1){let e=St.exec(a);if(e)return this.pathname=e[1],e[2]&&(this.search=e[2]),this}let o=bt.exec(a);if(o&&(o=o[0],n=o.toLowerCase(),this.protocol=o,a=a.substr(o.length)),(t||o||a.match(/^\/\/[^@\/]+@[^@\/]+/))&&(i=a.substr(0,2)===`//`,i&&!(o&&Ot[o])&&(a=a.substr(2),this.slashes=!0)),!Ot[o]&&(i||o&&!kt[o])){let e=-1;for(let t=0;t<wt.length;t++)r=a.indexOf(wt[t]),r!==-1&&(e===-1||r<e)&&(e=r);let t,n;n=e===-1?a.lastIndexOf(`@`):a.lastIndexOf(`@`,e),n!==-1&&(t=a.slice(0,n),a=a.slice(n+1),this.auth=t),e=-1;for(let t=0;t<Ct.length;t++)r=a.indexOf(Ct[t]),r!==-1&&(e===-1||r<e)&&(e=r);e===-1&&(e=a.length),a[e-1]===`:`&&e--;let i=a.slice(0,e);a=a.slice(e),this.parseHost(i),this.hostname=this.hostname||``;let o=this.hostname[0]===`[`&&this.hostname[this.hostname.length-1]===`]`;if(!o){let e=this.hostname.split(/\./);for(let t=0,n=e.length;t<n;t++){let n=e[t];if(n&&!n.match(Et)){let r=``;for(let e=0,t=n.length;e<t;e++)n.charCodeAt(e)>127?r+=`x`:r+=n[e];if(!r.match(Et)){let r=e.slice(0,t),i=e.slice(t+1),o=n.match(Dt);o&&(r.push(o[1]),i.unshift(o[2])),i.length&&(a=i.join(`.`)+a),this.hostname=r.join(`.`);break}}}}this.hostname.length>Tt&&(this.hostname=``),o&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}let s=a.indexOf(`#`);s!==-1&&(this.hash=a.substr(s),a=a.slice(0,s));let c=a.indexOf(`?`);return c!==-1&&(this.search=a.substr(c),a=a.slice(0,c)),a&&(this.pathname=a),kt[n]&&this.hostname&&!this.pathname&&(this.pathname=``),this},yt.prototype.parseHost=function(e){let t=xt.exec(e);t&&(t=t[0],t!==`:`&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};var jt=y({decode:()=>I,encode:()=>_t,format:()=>vt,parse:()=>At}),Mt=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,Nt=/[\0-\x1F\x7F-\x9F]/,Pt=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,Ft=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,It=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,R=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,Lt=y({Any:()=>Mt,Cc:()=>Nt,Cf:()=>Pt,P:()=>Ft,S:()=>It,Z:()=>R}),Rt=new Uint16Array(`ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻\xA0ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌`.split(``).map(e=>e.charCodeAt(0))),zt=new Uint16Array(`Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢`.split(``).map(e=>e.charCodeAt(0))),Bt=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),Vt=String.fromCodePoint??function(e){let t=``;return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t};function Ht(e){return e>=55296&&e<=57343||e>1114111?65533:Bt.get(e)??e}var z;(function(e){e[e.NUM=35]=`NUM`,e[e.SEMI=59]=`SEMI`,e[e.EQUALS=61]=`EQUALS`,e[e.ZERO=48]=`ZERO`,e[e.NINE=57]=`NINE`,e[e.LOWER_A=97]=`LOWER_A`,e[e.LOWER_F=102]=`LOWER_F`,e[e.LOWER_X=120]=`LOWER_X`,e[e.LOWER_Z=122]=`LOWER_Z`,e[e.UPPER_A=65]=`UPPER_A`,e[e.UPPER_F=70]=`UPPER_F`,e[e.UPPER_Z=90]=`UPPER_Z`})(z||={});var B=32,V;(function(e){e[e.VALUE_LENGTH=49152]=`VALUE_LENGTH`,e[e.BRANCH_LENGTH=16256]=`BRANCH_LENGTH`,e[e.JUMP_TABLE=127]=`JUMP_TABLE`})(V||={});function Ut(e){return e>=z.ZERO&&e<=z.NINE}function Wt(e){return e>=z.UPPER_A&&e<=z.UPPER_F||e>=z.LOWER_A&&e<=z.LOWER_F}function Gt(e){return e>=z.UPPER_A&&e<=z.UPPER_Z||e>=z.LOWER_A&&e<=z.LOWER_Z||Ut(e)}function Kt(e){return e===z.EQUALS||Gt(e)}var H;(function(e){e[e.EntityStart=0]=`EntityStart`,e[e.NumericStart=1]=`NumericStart`,e[e.NumericDecimal=2]=`NumericDecimal`,e[e.NumericHex=3]=`NumericHex`,e[e.NamedEntity=4]=`NamedEntity`})(H||={});var U;(function(e){e[e.Legacy=0]=`Legacy`,e[e.Strict=1]=`Strict`,e[e.Attribute=2]=`Attribute`})(U||={});var qt=class{constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=H.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=U.Strict}startEntity(e){this.decodeMode=e,this.state=H.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case H.EntityStart:return e.charCodeAt(t)===z.NUM?(this.state=H.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=H.NamedEntity,this.stateNamedEntity(e,t));case H.NumericStart:return this.stateNumericStart(e,t);case H.NumericDecimal:return this.stateNumericDecimal(e,t);case H.NumericHex:return this.stateNumericHex(e,t);case H.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(e.charCodeAt(t)|B)===z.LOWER_X?(this.state=H.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=H.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,n,r){if(t!==n){let i=n-t;this.result=this.result*r**+i+parseInt(e.substr(t,i),r),this.consumed+=i}}stateNumericHex(e,t){let n=t;for(;t<e.length;){let r=e.charCodeAt(t);if(Ut(r)||Wt(r))t+=1;else return this.addToNumericResult(e,n,t,16),this.emitNumericEntity(r,3)}return this.addToNumericResult(e,n,t,16),-1}stateNumericDecimal(e,t){let n=t;for(;t<e.length;){let r=e.charCodeAt(t);if(Ut(r))t+=1;else return this.addToNumericResult(e,n,t,10),this.emitNumericEntity(r,2)}return this.addToNumericResult(e,n,t,10),-1}emitNumericEntity(e,t){var n;if(this.consumed<=t)return(n=this.errors)==null||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===z.SEMI)this.consumed+=1;else if(this.decodeMode===U.Strict)return 0;return this.emitCodePoint(Ht(this.result),this.consumed),this.errors&&(e!==z.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){let{decodeTree:n}=this,r=n[this.treeIndex],i=(r&V.VALUE_LENGTH)>>14;for(;t<e.length;t++,this.excess++){let a=e.charCodeAt(t);if(this.treeIndex=Yt(n,r,this.treeIndex+Math.max(1,i),a),this.treeIndex<0)return this.result===0||this.decodeMode===U.Attribute&&(i===0||Kt(a))?0:this.emitNotTerminatedNamedEntity();if(r=n[this.treeIndex],i=(r&V.VALUE_LENGTH)>>14,i!==0){if(a===z.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==U.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var e;let{result:t,decodeTree:n}=this,r=(n[t]&V.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,r,this.consumed),(e=this.errors)==null||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,n){let{decodeTree:r}=this;return this.emitCodePoint(t===1?r[e]&~V.VALUE_LENGTH:r[e+1],n),t===3&&this.emitCodePoint(r[e+2],n),n}end(){var e;switch(this.state){case H.NamedEntity:return this.result!==0&&(this.decodeMode!==U.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case H.NumericDecimal:return this.emitNumericEntity(0,2);case H.NumericHex:return this.emitNumericEntity(0,3);case H.NumericStart:return(e=this.errors)==null||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case H.EntityStart:return 0}}};function Jt(e){let t=``,n=new qt(e,e=>t+=Vt(e));return function(e,r){let i=0,a=0;for(;(a=e.indexOf(`&`,a))>=0;){t+=e.slice(i,a),n.startEntity(r);let o=n.write(e,a+1);if(o<0){i=a+n.end();break}i=a+o,a=o===0?i+1:i}let o=t+e.slice(i);return t=``,o}}function Yt(e,t,n,r){let i=(t&V.BRANCH_LENGTH)>>7,a=t&V.JUMP_TABLE;if(i===0)return a!==0&&r===a?n:-1;if(a){let t=r-a;return t<0||t>=i?-1:e[n+t]-1}let o=n,s=o+i-1;for(;o<=s;){let t=o+s>>>1,n=e[t];if(n<r)o=t+1;else if(n>r)s=t-1;else return e[t+i]}return-1}var Xt=Jt(Rt);Jt(zt);function W(e,t=U.Legacy){return Xt(e,t)}function Zt(e){return Xt(e,U.Strict)}var Qt=y({arrayReplaceAt:()=>an,asciiTrim:()=>En,assign:()=>rn,escapeHtml:()=>G,escapeRE:()=>yn,fromCodePoint:()=>sn,has:()=>nn,isMdAsciiPunct:()=>Cn,isPunctChar:()=>xn,isPunctCharCode:()=>Sn,isSpace:()=>K,isString:()=>en,isValidEntityCode:()=>on,isWhiteSpace:()=>bn,lib:()=>Dn,normalizeReference:()=>wn,unescapeAll:()=>pn,unescapeMd:()=>fn});function $t(e){return Object.prototype.toString.call(e)}function en(e){return $t(e)===`[object String]`}var tn=Object.prototype.hasOwnProperty;function nn(e,t){return tn.call(e,t)}function rn(e){return Array.prototype.slice.call(arguments,1).forEach(function(t){if(t){if(typeof t!=`object`)throw TypeError(t+`must be object`);Object.keys(t).forEach(function(n){e[n]=t[n]})}}),e}function an(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))}function on(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||(e&65535)==65535||(e&65535)==65534||e>=0&&e<=8||e===11||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function sn(e){if(e>65535){e-=65536;let t=55296+(e>>10),n=56320+(e&1023);return String.fromCharCode(t,n)}return String.fromCharCode(e)}var cn=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,ln=RegExp(cn.source+`|&([a-z#][a-z0-9]{1,31});`,`gi`),un=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function dn(e,t){if(t.charCodeAt(0)===35&&un.test(t)){let n=t[1].toLowerCase()===`x`?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return on(n)?sn(n):e}let n=W(e);return n===e?e:n}function fn(e){return e.indexOf(`\\`)<0?e:e.replace(cn,`$1`)}function pn(e){return e.indexOf(`\\`)<0&&e.indexOf(`&`)<0?e:e.replace(ln,function(e,t,n){return t||dn(e,n)})}var mn=/[&<>"]/,hn=/[&<>"]/g,gn={"&":`&amp;`,"<":`&lt;`,">":`&gt;`,'"':`&quot;`};function _n(e){return gn[e]}function G(e){return mn.test(e)?e.replace(hn,_n):e}var vn=/[.?*+^$[\]\\(){}|-]/g;function yn(e){return e.replace(vn,`\\$&`)}function K(e){switch(e){case 9:case 32:return!0}return!1}function bn(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function xn(e){return Ft.test(e)||It.test(e)}function Sn(e){return xn(sn(e))}function Cn(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function wn(e){return e=e.trim().replace(/\s+/g,` `),e.toLowerCase().toUpperCase()}function Tn(e){return e===32||e===9||e===10||e===13}function En(e){let t=0;for(;t<e.length&&Tn(e.charCodeAt(t));t++);let n=e.length-1;for(;n>=t&&Tn(e.charCodeAt(n));n--);return e.slice(t,n+1)}var Dn={mdurl:jt,ucmicro:Lt};function On(e,t,n){let r,i,a,o,s=e.posMax,c=e.pos;for(e.pos=t+1,r=1;e.pos<s;){if(a=e.src.charCodeAt(e.pos),a===93&&(r--,r===0)){i=!0;break}if(o=e.pos,e.md.inline.skipToken(e),a===91){if(o===e.pos-1)r++;else if(n)return e.pos=c,-1}}let l=-1;return i&&(l=e.pos),e.pos=c,l}function kn(e,t,n){let r,i=t,a={ok:!1,pos:0,str:``};if(e.charCodeAt(i)===60){for(i++;i<n;){if(r=e.charCodeAt(i),r===10||r===60)return a;if(r===62)return a.pos=i+1,a.str=pn(e.slice(t+1,i)),a.ok=!0,a;if(r===92&&i+1<n){i+=2;continue}i++}return a}let o=0;for(;i<n&&(r=e.charCodeAt(i),!(r===32||r<32||r===127));){if(r===92&&i+1<n){if(e.charCodeAt(i+1)===32)break;i+=2;continue}if(r===40&&(o++,o>32))return a;if(r===41){if(o===0)break;o--}i++}return t===i||o!==0?a:(a.str=pn(e.slice(t,i)),a.pos=i,a.ok=!0,a)}function An(e,t,n,r){let i,a=t,o={ok:!1,can_continue:!1,pos:0,str:``,marker:0};if(r)o.str=r.str,o.marker=r.marker;else{if(a>=n)return o;let r=e.charCodeAt(a);if(r!==34&&r!==39&&r!==40)return o;t++,a++,r===40&&(r=41),o.marker=r}for(;a<n;){if(i=e.charCodeAt(a),i===o.marker)return o.pos=a+1,o.str+=pn(e.slice(t,a)),o.ok=!0,o;if(i===40&&o.marker===41)return o;i===92&&a+1<n&&a++,a++}return o.can_continue=!0,o.str+=pn(e.slice(t,a)),o}var jn=y({parseLinkDestination:()=>kn,parseLinkLabel:()=>On,parseLinkTitle:()=>An}),q={};q.code_inline=function(e,t,n,r,i){let a=e[t];return`<code`+i.renderAttrs(a)+`>`+G(a.content)+`</code>`},q.code_block=function(e,t,n,r,i){let a=e[t];return`<pre`+i.renderAttrs(a)+`><code>`+G(e[t].content)+`</code></pre>
5
+ `},q.fence=function(e,t,n,r,i){let a=e[t],o=a.info?pn(a.info).trim():``,s=``,c=``;if(o){let e=o.split(/(\s+)/g);s=e[0],c=e.slice(2).join(``)}let l;if(l=n.highlight&&n.highlight(a.content,s,c)||G(a.content),l.indexOf(`<pre`)===0)return l+`
6
+ `;if(o){let e=a.attrIndex(`class`),t=a.attrs?a.attrs.slice():[];e<0?t.push([`class`,n.langPrefix+s]):(t[e]=t[e].slice(),t[e][1]+=` `+n.langPrefix+s);let r={attrs:t};return`<pre><code${i.renderAttrs(r)}>${l}</code></pre>\n`}return`<pre><code${i.renderAttrs(a)}>${l}</code></pre>\n`},q.image=function(e,t,n,r,i){let a=e[t];return a.attrs[a.attrIndex(`alt`)][1]=i.renderInlineAsText(a.children,n,r),i.renderToken(e,t,n)},q.hardbreak=function(e,t,n){return n.xhtmlOut?`<br />
7
+ `:`<br>
8
+ `},q.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?`<br />
9
+ `:`<br>
10
+ `:`
11
+ `},q.text=function(e,t){return G(e[t].content)},q.html_block=function(e,t){return e[t].content},q.html_inline=function(e,t){return e[t].content};function Mn(){this.rules=rn({},q)}Mn.prototype.renderAttrs=function(e){let t,n,r;if(!e.attrs)return``;for(r=``,t=0,n=e.attrs.length;t<n;t++)r+=` `+G(e.attrs[t][0])+`="`+G(e.attrs[t][1])+`"`;return r},Mn.prototype.renderToken=function(e,t,n){let r=e[t],i=``;if(r.hidden)return``;r.block&&r.nesting!==-1&&t&&e[t-1].hidden&&(i+=`
12
+ `),i+=(r.nesting===-1?`</`:`<`)+r.tag,i+=this.renderAttrs(r),r.nesting===0&&n.xhtmlOut&&(i+=` /`);let a=!1;if(r.block&&(a=!0,r.nesting===1&&t+1<e.length)){let n=e[t+1];(n.type===`inline`||n.hidden||n.nesting===-1&&n.tag===r.tag)&&(a=!1)}return i+=a?`>
13
+ `:`>`,i},Mn.prototype.renderInline=function(e,t,n){let r=``,i=this.rules;for(let a=0,o=e.length;a<o;a++){let o=e[a].type;i[o]===void 0?r+=this.renderToken(e,a,t):r+=i[o](e,a,t,n,this)}return r},Mn.prototype.renderInlineAsText=function(e,t,n){let r=``;for(let i=0,a=e.length;i<a;i++)switch(e[i].type){case`text`:r+=e[i].content;break;case`image`:r+=this.renderInlineAsText(e[i].children,t,n);break;case`html_inline`:case`html_block`:r+=e[i].content;break;case`softbreak`:case`hardbreak`:r+=`
14
+ `}return r},Mn.prototype.render=function(e,t,n){let r=``,i=this.rules;for(let a=0,o=e.length;a<o;a++){let o=e[a].type;o===`inline`?r+=this.renderInline(e[a].children,t,n):i[o]===void 0?r+=this.renderToken(e,a,t,n):r+=i[o](e,a,t,n,this)}return r};function J(){this.__rules__=[],this.__cache__=null}J.prototype.__find__=function(e){for(let t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1},J.prototype.__compile__=function(){let e=this,t=[``];e.__rules__.forEach(function(e){e.enabled&&e.alt.forEach(function(e){t.indexOf(e)<0&&t.push(e)})}),e.__cache__={},t.forEach(function(t){e.__cache__[t]=[],e.__rules__.forEach(function(n){n.enabled&&(t&&n.alt.indexOf(t)<0||e.__cache__[t].push(n.fn))})})},J.prototype.at=function(e,t,n){let r=this.__find__(e),i=n||{};if(r===-1)throw Error(`Parser rule not found: `+e);this.__rules__[r].fn=t,this.__rules__[r].alt=i.alt||[],this.__cache__=null},J.prototype.before=function(e,t,n,r){let i=this.__find__(e),a=r||{};if(i===-1)throw Error(`Parser rule not found: `+e);this.__rules__.splice(i,0,{name:t,enabled:!0,fn:n,alt:a.alt||[]}),this.__cache__=null},J.prototype.after=function(e,t,n,r){let i=this.__find__(e),a=r||{};if(i===-1)throw Error(`Parser rule not found: `+e);this.__rules__.splice(i+1,0,{name:t,enabled:!0,fn:n,alt:a.alt||[]}),this.__cache__=null},J.prototype.push=function(e,t,n){let r=n||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:r.alt||[]}),this.__cache__=null},J.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);let n=[];return e.forEach(function(e){let r=this.__find__(e);if(r<0){if(t)return;throw Error(`Rules manager: invalid rule name `+e)}this.__rules__[r].enabled=!0,n.push(e)},this),this.__cache__=null,n},J.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach(function(e){e.enabled=!1}),this.enable(e,t)},J.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);let n=[];return e.forEach(function(e){let r=this.__find__(e);if(r<0){if(t)return;throw Error(`Rules manager: invalid rule name `+e)}this.__rules__[r].enabled=!1,n.push(e)},this),this.__cache__=null,n},J.prototype.getRules=function(e){return this.__cache__===null&&this.__compile__(),this.__cache__[e]||[]};function Y(e,t,n){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content=``,this.markup=``,this.info=``,this.meta=null,this.block=!1,this.hidden=!1}Y.prototype.attrIndex=function(e){if(!this.attrs)return-1;let t=this.attrs;for(let n=0,r=t.length;n<r;n++)if(t[n][0]===e)return n;return-1},Y.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]},Y.prototype.attrSet=function(e,t){let n=this.attrIndex(e),r=[e,t];n<0?this.attrPush(r):this.attrs[n]=r},Y.prototype.attrGet=function(e){let t=this.attrIndex(e),n=null;return t>=0&&(n=this.attrs[t][1]),n},Y.prototype.attrJoin=function(e,t){let n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=this.attrs[n][1]+` `+t};function Nn(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}Nn.prototype.Token=Y;var Pn=/\r\n?|\n/g,Fn=/\0/g;function In(e){let t;t=e.src.replace(Pn,`
15
+ `),t=t.replace(Fn,`�`),e.src=t}function Ln(e){let t;e.inlineMode?(t=new e.Token(`inline`,``,0),t.content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}function Rn(e){let t=e.tokens;for(let n=0,r=t.length;n<r;n++){let r=t[n];r.type===`inline`&&e.md.inline.parse(r.content,e.md,e.env,r.children)}}function zn(e){return/^<a[>\s]/i.test(e)}function Bn(e){return/^<\/a\s*>/i.test(e)}function Vn(e){let t=e.tokens;if(e.md.options.linkify)for(let n=0,r=t.length;n<r;n++){if(t[n].type!==`inline`||!e.md.linkify.pretest(t[n].content))continue;let r=t[n].children,i=0;for(let a=r.length-1;a>=0;a--){let o=r[a];if(o.type===`link_close`){for(a--;r[a].level!==o.level&&r[a].type!==`link_open`;)a--;continue}if(o.type===`html_inline`&&(zn(o.content)&&i>0&&i--,Bn(o.content)&&i++),!(i>0)&&o.type===`text`&&e.md.linkify.test(o.content)){let i=o.content,s=e.md.linkify.match(i),c=[],l=o.level,u=0;s.length>0&&s[0].index===0&&a>0&&r[a-1].type===`text_special`&&(s=s.slice(1));for(let t=0;t<s.length;t++){let n=s[t].url,r=e.md.normalizeLink(n);if(!e.md.validateLink(r))continue;let a=s[t].text;a=s[t].schema?s[t].schema===`mailto:`&&!/^mailto:/i.test(a)?e.md.normalizeLinkText(`mailto:`+a).replace(/^mailto:/,``):e.md.normalizeLinkText(a):e.md.normalizeLinkText(`http://`+a).replace(/^http:\/\//,``);let o=s[t].index;if(o>u){let t=new e.Token(`text`,``,0);t.content=i.slice(u,o),t.level=l,c.push(t)}let d=new e.Token(`link_open`,`a`,1);d.attrs=[[`href`,r]],d.level=l++,d.markup=`linkify`,d.info=`auto`,c.push(d);let f=new e.Token(`text`,``,0);f.content=a,f.level=l,c.push(f);let p=new e.Token(`link_close`,`a`,-1);p.level=--l,p.markup=`linkify`,p.info=`auto`,c.push(p),u=s[t].lastIndex}if(u<i.length){let t=new e.Token(`text`,``,0);t.content=i.slice(u),t.level=l,c.push(t)}t[n].children=r=an(r,a,c)}}}}var Hn=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,Un=/\((c|tm|r)\)/i,Wn=/\((c|tm|r)\)/gi,Gn={c:`©`,r:`®`,tm:`™`};function Kn(e,t){return Gn[t.toLowerCase()]}function qn(e){let t=0;for(let n=e.length-1;n>=0;n--){let r=e[n];r.type===`text`&&!t&&(r.content=r.content.replace(Wn,Kn)),r.type===`link_open`&&r.info===`auto`&&t--,r.type===`link_close`&&r.info===`auto`&&t++}}function Jn(e){let t=0;for(let n=e.length-1;n>=0;n--){let r=e[n];r.type===`text`&&!t&&Hn.test(r.content)&&(r.content=r.content.replace(/\+-/g,`±`).replace(/\.{2,}/g,`…`).replace(/([?!])…/g,`$1..`).replace(/([?!]){4,}/g,`$1$1$1`).replace(/,{2,}/g,`,`).replace(/(^|[^-])---(?=[^-]|$)/gm,`$1—`).replace(/(^|\s)--(?=\s|$)/gm,`$1–`).replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,`$1–`)),r.type===`link_open`&&r.info===`auto`&&t--,r.type===`link_close`&&r.info===`auto`&&t++}}function Yn(e){let t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)e.tokens[t].type===`inline`&&(Un.test(e.tokens[t].content)&&qn(e.tokens[t].children),Hn.test(e.tokens[t].content)&&Jn(e.tokens[t].children))}var Xn=/['"]/,Zn=/['"]/g,Qn=`’`;function $n(e,t,n,r){e[t]||(e[t]=[]),e[t].push({pos:n,ch:r})}function er(e,t){let n=``,r=0;t.sort((e,t)=>e.pos-t.pos);for(let i=0;i<t.length;i++){let a=t[i];n+=e.slice(r,a.pos)+a.ch,r=a.pos+1}return n+e.slice(r)}function tr(e,t){let n,r=[],i={};for(let a=0;a<e.length;a++){let o=e[a],s=e[a].level;for(n=r.length-1;n>=0&&!(r[n].level<=s);n--);if(r.length=n+1,o.type!==`text`)continue;let c=o.content,l=0,u=c.length;OUTER:for(;l<u;){Zn.lastIndex=l;let o=Zn.exec(c);if(!o)break;let d=!0,f=!0;l=o.index+1;let p=o[0]===`'`,m=32;if(o.index-1>=0)m=c.charCodeAt(o.index-1);else for(n=a-1;n>=0&&e[n].type!==`softbreak`&&e[n].type!==`hardbreak`;n--)if(e[n].content){m=e[n].content.charCodeAt(e[n].content.length-1);break}let h=32;if(l<u)h=c.charCodeAt(l);else for(n=a+1;n<e.length&&e[n].type!==`softbreak`&&e[n].type!==`hardbreak`;n++)if(e[n].content){h=e[n].content.charCodeAt(0);break}let g=Cn(m)||Sn(m),_=Cn(h)||Sn(h),v=bn(m),y=bn(h);if(y?d=!1:_&&(v||g||(d=!1)),v?f=!1:g&&(y||_||(f=!1)),h===34&&o[0]===`"`&&m>=48&&m<=57&&(f=d=!1),d&&f&&(d=g,f=_),!d&&!f){p&&$n(i,a,o.index,Qn);continue}if(f)for(n=r.length-1;n>=0;n--){let e=r[n];if(r[n].level<s)break;if(e.single===p&&r[n].level===s){e=r[n];let s,c;p?(s=t.md.options.quotes[2],c=t.md.options.quotes[3]):(s=t.md.options.quotes[0],c=t.md.options.quotes[1]),$n(i,a,o.index,c),$n(i,e.token,e.pos,s),r.length=n;continue OUTER}}d?r.push({token:a,pos:o.index,single:p,level:s}):f&&p&&$n(i,a,o.index,Qn)}}Object.keys(i).forEach(function(t){e[t].content=er(e[t].content,i[t])})}function nr(e){if(e.md.options.typographer)for(let t=e.tokens.length-1;t>=0;t--)e.tokens[t].type!==`inline`||!Xn.test(e.tokens[t].content)||tr(e.tokens[t].children,e)}function rr(e){let t,n,r=e.tokens,i=r.length;for(let e=0;e<i;e++){if(r[e].type!==`inline`)continue;let i=r[e].children,a=i.length;for(t=0;t<a;t++)i[t].type===`text_special`&&(i[t].type=`text`);for(t=n=0;t<a;t++)i[t].type===`text`&&t+1<a&&i[t+1].type===`text`?i[t+1].content=i[t].content+i[t+1].content:(t!==n&&(i[n]=i[t]),n++);t!==n&&(i.length=n)}}var ir=[[`normalize`,In],[`block`,Ln],[`inline`,Rn],[`linkify`,Vn],[`replacements`,Yn],[`smartquotes`,nr],[`text_join`,rr]];function ar(){this.ruler=new J;for(let e=0;e<ir.length;e++)this.ruler.push(ir[e][0],ir[e][1])}ar.prototype.process=function(e){let t=this.ruler.getRules(``);for(let n=0,r=t.length;n<r;n++)t[n](e)},ar.prototype.State=Nn;function X(e,t,n,r){this.src=e,this.md=t,this.env=n,this.tokens=r,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType=`root`,this.level=0;let i=this.src;for(let e=0,t=0,n=0,r=0,a=i.length,o=!1;t<a;t++){let s=i.charCodeAt(t);if(!o){if(K(s)){n++,s===9?r+=4-r%4:r++;continue}o=!0}(s===10||t===a-1)&&(s!==10&&t++,this.bMarks.push(e),this.eMarks.push(t),this.tShift.push(n),this.sCount.push(r),this.bsCount.push(0),o=!1,n=0,r=0,e=t+1)}this.bMarks.push(i.length),this.eMarks.push(i.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}X.prototype.push=function(e,t,n){let r=new Y(e,t,n);return r.block=!0,n<0&&this.level--,r.level=this.level,n>0&&this.level++,this.tokens.push(r),r},X.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},X.prototype.skipEmptyLines=function(e){for(let t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},X.prototype.skipSpaces=function(e){for(let t=this.src.length;e<t&&K(this.src.charCodeAt(e));e++);return e},X.prototype.skipSpacesBack=function(e,t){if(e<=t)return e;for(;e>t;)if(!K(this.src.charCodeAt(--e)))return e+1;return e},X.prototype.skipChars=function(e,t){for(let n=this.src.length;e<n&&this.src.charCodeAt(e)===t;e++);return e},X.prototype.skipCharsBack=function(e,t,n){if(e<=n)return e;for(;e>n;)if(t!==this.src.charCodeAt(--e))return e+1;return e},X.prototype.getLines=function(e,t,n,r){if(e>=t)return``;let i=Array(t-e);for(let a=0,o=e;o<t;o++,a++){let e=0,s=this.bMarks[o],c=s,l;for(l=o+1<t||r?this.eMarks[o]+1:this.eMarks[o];c<l&&e<n;){let t=this.src.charCodeAt(c);if(K(t))t===9?e+=4-(e+this.bsCount[o])%4:e++;else if(c-s<this.tShift[o])e++;else break;c++}e>n?i[a]=Array(e-n+1).join(` `)+this.src.slice(c,l):i[a]=this.src.slice(c,l)}return i.join(``)},X.prototype.Token=Y;var or=65536;function sr(e,t){let n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];return e.src.slice(n,r)}function cr(e){let t=[],n=e.length,r=0,i=e.charCodeAt(r),a=!1,o=0,s=``;for(;r<n;)i===124&&(a?(s+=e.substring(o,r-1),o=r):(t.push(s+e.substring(o,r)),s=``,o=r+1)),a=i===92,r++,i=e.charCodeAt(r);return t.push(s+e.substring(o)),t}function lr(e,t,n,r){if(t+2>n)return!1;let i=t+1;if(e.sCount[i]<e.blkIndent||e.sCount[i]-e.blkIndent>=4)return!1;let a=e.bMarks[i]+e.tShift[i];if(a>=e.eMarks[i])return!1;let o=e.src.charCodeAt(a++);if(o!==124&&o!==45&&o!==58||a>=e.eMarks[i])return!1;let s=e.src.charCodeAt(a++);if(s!==124&&s!==45&&s!==58&&!K(s)||o===45&&K(s))return!1;for(;a<e.eMarks[i];){let t=e.src.charCodeAt(a);if(t!==124&&t!==45&&t!==58&&!K(t))return!1;a++}let c=sr(e,t+1),l=c.split(`|`),u=[];for(let e=0;e<l.length;e++){let t=l[e].trim();if(!t){if(e===0||e===l.length-1)continue;return!1}if(!/^:?-+:?$/.test(t))return!1;t.charCodeAt(t.length-1)===58?u.push(t.charCodeAt(0)===58?`center`:`right`):t.charCodeAt(0)===58?u.push(`left`):u.push(``)}if(c=sr(e,t).trim(),c.indexOf(`|`)===-1||e.sCount[t]-e.blkIndent>=4)return!1;l=cr(c),l.length&&l[0]===``&&l.shift(),l.length&&l[l.length-1]===``&&l.pop();let d=l.length;if(d===0||d!==u.length)return!1;if(r)return!0;let f=e.parentType;e.parentType=`table`;let p=e.md.block.ruler.getRules(`blockquote`),m=e.push(`table_open`,`table`,1),h=[t,0];m.map=h;let g=e.push(`thead_open`,`thead`,1);g.map=[t,t+1];let _=e.push(`tr_open`,`tr`,1);_.map=[t,t+1];for(let t=0;t<l.length;t++){let n=e.push(`th_open`,`th`,1);u[t]&&(n.attrs=[[`style`,`text-align:`+u[t]]]);let r=e.push(`inline`,``,0);r.content=l[t].trim(),r.children=[],e.push(`th_close`,`th`,-1)}e.push(`tr_close`,`tr`,-1),e.push(`thead_close`,`thead`,-1);let v,y=0;for(i=t+2;i<n&&!(e.sCount[i]<e.blkIndent);i++){let r=!1;for(let t=0,a=p.length;t<a;t++)if(p[t](e,i,n,!0)){r=!0;break}if(r||(c=sr(e,i).trim(),!c)||e.sCount[i]-e.blkIndent>=4||(l=cr(c),l.length&&l[0]===``&&l.shift(),l.length&&l[l.length-1]===``&&l.pop(),y+=d-l.length,y>or))break;if(i===t+2){let n=e.push(`tbody_open`,`tbody`,1);n.map=v=[t+2,0]}let a=e.push(`tr_open`,`tr`,1);a.map=[i,i+1];for(let t=0;t<d;t++){let n=e.push(`td_open`,`td`,1);u[t]&&(n.attrs=[[`style`,`text-align:`+u[t]]]);let r=e.push(`inline`,``,0);r.content=l[t]?l[t].trim():``,r.children=[],e.push(`td_close`,`td`,-1)}e.push(`tr_close`,`tr`,-1)}return v&&(e.push(`tbody_close`,`tbody`,-1),v[1]=i),e.push(`table_close`,`table`,-1),h[1]=i,e.parentType=f,e.line=i,!0}function ur(e,t,n){if(e.sCount[t]-e.blkIndent<4)return!1;let r=t+1,i=r;for(;r<n;){if(e.isEmpty(r)){r++;continue}if(e.sCount[r]-e.blkIndent>=4){r++,i=r;continue}break}e.line=i;let a=e.push(`code_block`,`code`,0);return a.content=e.getLines(t,i,4+e.blkIndent,!1)+`
16
+ `,a.map=[t,e.line],!0}function dr(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||i+3>a)return!1;let o=e.src.charCodeAt(i);if(o!==126&&o!==96)return!1;let s=i;i=e.skipChars(i,o);let c=i-s;if(c<3)return!1;let l=e.src.slice(s,i),u=e.src.slice(i,a);if(o===96&&u.indexOf(String.fromCharCode(o))>=0)return!1;if(r)return!0;let d=t,f=!1;for(;d++,!(d>=n||(i=s=e.bMarks[d]+e.tShift[d],a=e.eMarks[d],i<a&&e.sCount[d]<e.blkIndent));)if(e.src.charCodeAt(i)===o&&!(e.sCount[d]-e.blkIndent>=4)&&(i=e.skipChars(i,o),!(i-s<c)&&(i=e.skipSpaces(i),!(i<a)))){f=!0;break}c=e.sCount[t],e.line=d+ +!!f;let p=e.push(`fence`,`code`,0);return p.info=u,p.content=e.getLines(t+1,d,c,!0),p.markup=l,p.map=[t,e.line],!0}function fr(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t],o=e.lineMax;if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(i)!==62)return!1;if(r)return!0;let s=[],c=[],l=[],u=[],d=e.md.block.ruler.getRules(`blockquote`),f=e.parentType;e.parentType=`blockquote`;let p=!1,m;for(m=t;m<n;m++){let t=e.sCount[m]<e.blkIndent;if(i=e.bMarks[m]+e.tShift[m],a=e.eMarks[m],i>=a)break;if(e.src.charCodeAt(i++)===62&&!t){let t=e.sCount[m]+1,n,r;e.src.charCodeAt(i)===32?(i++,t++,r=!1,n=!0):e.src.charCodeAt(i)===9?(n=!0,(e.bsCount[m]+t)%4==3?(i++,t++,r=!1):r=!0):n=!1;let o=t;for(s.push(e.bMarks[m]),e.bMarks[m]=i;i<a;){let t=e.src.charCodeAt(i);if(K(t))t===9?o+=4-(o+e.bsCount[m]+ +!!r)%4:o++;else break;i++}p=i>=a,c.push(e.bsCount[m]),e.bsCount[m]=e.sCount[m]+1+ +!!n,l.push(e.sCount[m]),e.sCount[m]=o-t,u.push(e.tShift[m]),e.tShift[m]=i-e.bMarks[m];continue}if(p)break;let r=!1;for(let t=0,i=d.length;t<i;t++)if(d[t](e,m,n,!0)){r=!0;break}if(r){e.lineMax=m,e.blkIndent!==0&&(s.push(e.bMarks[m]),c.push(e.bsCount[m]),u.push(e.tShift[m]),l.push(e.sCount[m]),e.sCount[m]-=e.blkIndent);break}s.push(e.bMarks[m]),c.push(e.bsCount[m]),u.push(e.tShift[m]),l.push(e.sCount[m]),e.sCount[m]=-1}let h=e.blkIndent;e.blkIndent=0;let g=e.push(`blockquote_open`,`blockquote`,1);g.markup=`>`;let _=[t,0];g.map=_,e.md.block.tokenize(e,t,m);let v=e.push(`blockquote_close`,`blockquote`,-1);v.markup=`>`,e.lineMax=o,e.parentType=f,_[1]=e.line;for(let n=0;n<u.length;n++)e.bMarks[n+t]=s[n],e.tShift[n+t]=u[n],e.sCount[n+t]=l[n],e.bsCount[n+t]=c[n];return e.blkIndent=h,!0}function pr(e,t,n,r){let i=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let a=e.bMarks[t]+e.tShift[t],o=e.src.charCodeAt(a++);if(o!==42&&o!==45&&o!==95)return!1;let s=1;for(;a<i;){let t=e.src.charCodeAt(a++);if(t!==o&&!K(t))return!1;t===o&&s++}if(s<3)return!1;if(r)return!0;e.line=t+1;let c=e.push(`hr`,`hr`,0);return c.map=[t,e.line],c.markup=Array(s+1).join(String.fromCharCode(o)),!0}function mr(e,t){let n=e.eMarks[t],r=e.bMarks[t]+e.tShift[t],i=e.src.charCodeAt(r++);return i!==42&&i!==45&&i!==43||r<n&&!K(e.src.charCodeAt(r))?-1:r}function hr(e,t){let n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t],i=n;if(i+1>=r)return-1;let a=e.src.charCodeAt(i++);if(a<48||a>57)return-1;for(;;){if(i>=r)return-1;if(a=e.src.charCodeAt(i++),a>=48&&a<=57){if(i-n>=10)return-1;continue}if(a===41||a===46)break;return-1}return i<r&&(a=e.src.charCodeAt(i),!K(a))?-1:i}function gr(e,t){let n=e.level+2;for(let r=t+2,i=e.tokens.length-2;r<i;r++)e.tokens[r].level===n&&e.tokens[r].type===`paragraph_open`&&(e.tokens[r+2].hidden=!0,e.tokens[r].hidden=!0,r+=2)}function _r(e,t,n,r){let i,a,o,s,c=t,l=!0;if(e.sCount[c]-e.blkIndent>=4||e.listIndent>=0&&e.sCount[c]-e.listIndent>=4&&e.sCount[c]<e.blkIndent)return!1;let u=!1;r&&e.parentType===`paragraph`&&e.sCount[c]>=e.blkIndent&&(u=!0);let d,f,p;if((p=hr(e,c))>=0){if(d=!0,o=e.bMarks[c]+e.tShift[c],f=Number(e.src.slice(o,p-1)),u&&f!==1)return!1}else if((p=mr(e,c))>=0)d=!1;else return!1;if(u&&e.skipSpaces(p)>=e.eMarks[c])return!1;if(r)return!0;let m=e.src.charCodeAt(p-1),h=e.tokens.length;d?(s=e.push(`ordered_list_open`,`ol`,1),f!==1&&(s.attrs=[[`start`,f]])):s=e.push(`bullet_list_open`,`ul`,1);let g=[c,0];s.map=g,s.markup=String.fromCharCode(m);let _=!1,v=e.md.block.ruler.getRules(`list`),y=e.parentType;for(e.parentType=`list`;c<n;){a=p,i=e.eMarks[c];let t=e.sCount[c]+p-(e.bMarks[c]+e.tShift[c]),r=t;for(;a<i;){let t=e.src.charCodeAt(a);if(t===9)r+=4-(r+e.bsCount[c])%4;else if(t===32)r++;else break;a++}let u=a,f;f=u>=i?1:r-t,f>4&&(f=1);let h=t+f;s=e.push(`list_item_open`,`li`,1),s.markup=String.fromCharCode(m);let g=[c,0];s.map=g,d&&(s.info=e.src.slice(o,p-1));let y=e.tight,b=e.tShift[c],x=e.sCount[c],S=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=h,e.tight=!0,e.tShift[c]=u-e.bMarks[c],e.sCount[c]=r,u>=i&&e.isEmpty(c+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,c,n,!0),(!e.tight||_)&&(l=!1),_=e.line-c>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=S,e.tShift[c]=b,e.sCount[c]=x,e.tight=y,s=e.push(`list_item_close`,`li`,-1),s.markup=String.fromCharCode(m),c=e.line,g[1]=c,c>=n||e.sCount[c]<e.blkIndent||e.sCount[c]-e.blkIndent>=4)break;let ee=!1;for(let t=0,r=v.length;t<r;t++)if(v[t](e,c,n,!0)){ee=!0;break}if(ee)break;if(d){if(p=hr(e,c),p<0)break;o=e.bMarks[c]+e.tShift[c]}else if(p=mr(e,c),p<0)break;if(m!==e.src.charCodeAt(p-1))break}return s=d?e.push(`ordered_list_close`,`ol`,-1):e.push(`bullet_list_close`,`ul`,-1),s.markup=String.fromCharCode(m),g[1]=c,e.line=c,e.parentType=y,l&&gr(e,h),!0}function vr(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t],o=t+1;if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(i)!==91)return!1;function s(t){let n=e.lineMax;if(t>=n||e.isEmpty(t))return null;let r=!1;if(e.sCount[t]-e.blkIndent>3&&(r=!0),e.sCount[t]<0&&(r=!0),!r){let r=e.md.block.ruler.getRules(`reference`),i=e.parentType;e.parentType=`reference`;let a=!1;for(let i=0,o=r.length;i<o;i++)if(r[i](e,t,n,!0)){a=!0;break}if(e.parentType=i,a)return null}let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];return e.src.slice(i,a+1)}let c=e.src.slice(i,a+1);a=c.length;let l=-1;for(i=1;i<a;i++){let e=c.charCodeAt(i);if(e===91)return!1;if(e===93){l=i;break}if(e===10){let e=s(o);e!==null&&(c+=e,a=c.length,o++)}else if(e===92&&(i++,i<a&&c.charCodeAt(i)===10)){let e=s(o);e!==null&&(c+=e,a=c.length,o++)}}if(l<0||c.charCodeAt(l+1)!==58)return!1;for(i=l+2;i<a;i++){let e=c.charCodeAt(i);if(e===10){let e=s(o);e!==null&&(c+=e,a=c.length,o++)}else if(!K(e))break}let u=e.md.helpers.parseLinkDestination(c,i,a);if(!u.ok)return!1;let d=e.md.normalizeLink(u.str);if(!e.md.validateLink(d))return!1;i=u.pos;let f=i,p=o,m=i;for(;i<a;i++){let e=c.charCodeAt(i);if(e===10){let e=s(o);e!==null&&(c+=e,a=c.length,o++)}else if(!K(e))break}let h=e.md.helpers.parseLinkTitle(c,i,a);for(;h.can_continue;){let t=s(o);if(t===null)break;c+=t,i=a,a=c.length,o++,h=e.md.helpers.parseLinkTitle(c,i,a,h)}let g;for(i<a&&m!==i&&h.ok?(g=h.str,i=h.pos):(g=``,i=f,o=p);i<a&&K(c.charCodeAt(i));)i++;if(i<a&&c.charCodeAt(i)!==10&&g)for(g=``,i=f,o=p;i<a&&K(c.charCodeAt(i));)i++;if(i<a&&c.charCodeAt(i)!==10)return!1;let _=wn(c.slice(1,l));return _?r?!0:(e.env.references===void 0&&(e.env.references={}),e.env.references[_]===void 0&&(e.env.references[_]={title:g,href:d}),e.line=o,!0):!1}var yr=`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.h1.h2.h3.h4.h5.h6.head.header.hr.html.iframe.legend.li.link.main.menu.menuitem.nav.noframes.ol.optgroup.option.p.param.search.section.summary.table.tbody.td.tfoot.th.thead.title.tr.track.ul`.split(`.`),br=`<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^"'=<>\`\\x00-\\x20]+|'[^']*'|"[^"]*"))?)*\\s*\\/?>`,xr=`<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>`,Sr=RegExp(`^(?:`+br+`|`+xr+`|<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->|<[?][\\s\\S]*?[?]>|<![A-Za-z][^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)`),Cr=RegExp(`^(?:`+br+`|`+xr+`)`),wr=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[RegExp(`^</?(`+yr.join(`|`)+`)(?=(\\s|/?>|$))`,`i`),/^$/,!0],[RegExp(Cr.source+`\\s*$`),/^$/,!1]];function Tr(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(i)!==60)return!1;let o=e.src.slice(i,a),s=0;for(;s<wr.length&&!wr[s][0].test(o);s++);if(s===wr.length)return!1;if(r)return wr[s][2];let c=t+1,l=wr[s][1].test(``);if(!wr[s][1].test(o)){for(;c<n&&!(e.sCount[c]<e.blkIndent&&(l||!e.isEmpty(c)));c++)if(i=e.bMarks[c]+e.tShift[c],a=e.eMarks[c],o=e.src.slice(i,a),wr[s][1].test(o)){o.length!==0&&c++;break}}e.line=c;let u=e.push(`html_block`,``,0);return u.map=[t,c],u.content=e.getLines(t,c,e.blkIndent,!0),!0}function Er(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let o=e.src.charCodeAt(i);if(o!==35||i>=a)return!1;let s=1;for(o=e.src.charCodeAt(++i);o===35&&i<a&&s<=6;)s++,o=e.src.charCodeAt(++i);if(s>6||i<a&&!K(o))return!1;if(r)return!0;a=e.skipSpacesBack(a,i);let c=e.skipCharsBack(a,35,i);c>i&&K(e.src.charCodeAt(c-1))&&(a=c),e.line=t+1;let l=e.push(`heading_open`,`h`+String(s),1);l.markup=`########`.slice(0,s),l.map=[t,e.line];let u=e.push(`inline`,``,0);u.content=En(e.src.slice(i,a)),u.map=[t,e.line],u.children=[];let d=e.push(`heading_close`,`h`+String(s),-1);return d.markup=`########`.slice(0,s),!0}function Dr(e,t,n){let r=e.md.block.ruler.getRules(`paragraph`);if(e.sCount[t]-e.blkIndent>=4)return!1;let i=e.parentType;e.parentType=`paragraph`;let a=0,o,s=t+1;for(;s<n&&!e.isEmpty(s);s++){if(e.sCount[s]-e.blkIndent>3)continue;if(e.sCount[s]>=e.blkIndent){let t=e.bMarks[s]+e.tShift[s],n=e.eMarks[s];if(t<n&&(o=e.src.charCodeAt(t),(o===45||o===61)&&(t=e.skipChars(t,o),t=e.skipSpaces(t),t>=n))){a=o===61?1:2;break}}if(e.sCount[s]<0)continue;let t=!1;for(let i=0,a=r.length;i<a;i++)if(r[i](e,s,n,!0)){t=!0;break}if(t)break}if(!a)return e.parentType=i,!1;let c=En(e.getLines(t,s,e.blkIndent,!1));e.line=s+1;let l=e.push(`heading_open`,`h`+String(a),1);l.markup=String.fromCharCode(o),l.map=[t,e.line];let u=e.push(`inline`,``,0);u.content=c,u.map=[t,e.line-1],u.children=[];let d=e.push(`heading_close`,`h`+String(a),-1);return d.markup=String.fromCharCode(o),e.parentType=i,!0}function Or(e,t,n){let r=e.md.block.ruler.getRules(`paragraph`),i=e.parentType,a=t+1;for(e.parentType=`paragraph`;a<n&&!e.isEmpty(a);a++){if(e.sCount[a]-e.blkIndent>3||e.sCount[a]<0)continue;let t=!1;for(let i=0,o=r.length;i<o;i++)if(r[i](e,a,n,!0)){t=!0;break}if(t)break}let o=En(e.getLines(t,a,e.blkIndent,!1));e.line=a;let s=e.push(`paragraph_open`,`p`,1);s.map=[t,e.line];let c=e.push(`inline`,``,0);return c.content=o,c.map=[t,e.line],c.children=[],e.push(`paragraph_close`,`p`,-1),e.parentType=i,!0}var kr=[[`table`,lr,[`paragraph`,`reference`]],[`code`,ur],[`fence`,dr,[`paragraph`,`reference`,`blockquote`,`list`]],[`blockquote`,fr,[`paragraph`,`reference`,`blockquote`,`list`]],[`hr`,pr,[`paragraph`,`reference`,`blockquote`,`list`]],[`list`,_r,[`paragraph`,`reference`,`blockquote`]],[`reference`,vr],[`html_block`,Tr,[`paragraph`,`reference`,`blockquote`]],[`heading`,Er,[`paragraph`,`reference`,`blockquote`]],[`lheading`,Dr],[`paragraph`,Or]];function Ar(){this.ruler=new J;for(let e=0;e<kr.length;e++)this.ruler.push(kr[e][0],kr[e][1],{alt:(kr[e][2]||[]).slice()})}Ar.prototype.tokenize=function(e,t,n){let r=this.ruler.getRules(``),i=r.length,a=e.md.options.maxNesting,o=t,s=!1;for(;o<n&&(e.line=o=e.skipEmptyLines(o),!(o>=n||e.sCount[o]<e.blkIndent));){if(e.level>=a){e.line=n;break}let t=e.line,c=!1;for(let a=0;a<i;a++)if(c=r[a](e,o,n,!1),c){if(t>=e.line)throw Error(`block rule didn't increment state.line`);break}if(!c)throw Error(`none of the block rules matched`);e.tight=!s,e.isEmpty(e.line-1)&&(s=!0),o=e.line,o<n&&e.isEmpty(o)&&(s=!0,o++,e.line=o)}},Ar.prototype.parse=function(e,t,n,r){if(!e)return;let i=new this.State(e,t,n,r);this.tokenize(i,i.line,i.lineMax)},Ar.prototype.State=X;function jr(e,t,n,r){this.src=e,this.env=n,this.md=t,this.tokens=r,this.tokens_meta=Array(r.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending=``,this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.linkLevel=0}jr.prototype.pushPending=function(){let e=new Y(`text`,``,0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending=``,e},jr.prototype.push=function(e,t,n){this.pending&&this.pushPending();let r=new Y(e,t,n),i=null;return n<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),r.level=this.level,n>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],i={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(r),this.tokens_meta.push(i),r},jr.prototype.scanDelims=function(e,t){let n=this.posMax,r=this.src.charCodeAt(e),i;if(e===0)i=32;else if(e===1)i=this.src.charCodeAt(0),(i&63488)==55296&&(i=65533);else if(i=this.src.charCodeAt(e-1),(i&64512)==56320){let t=this.src.charCodeAt(e-2);i=(t&64512)==55296?65536+(t-55296<<10)+(i-56320):65533}else(i&64512)==55296&&(i=65533);let a=e;for(;a<n&&this.src.charCodeAt(a)===r;)a++;let o=a-e,s=a<n?this.src.charCodeAt(a):32;if((s&64512)==55296){let e=this.src.charCodeAt(a+1);s=(e&64512)==56320?65536+(s-55296<<10)+(e-56320):65533}else(s&64512)==56320&&(s=65533);let c=Cn(i)||Sn(i),l=Cn(s)||Sn(s),u=bn(i),d=bn(s),f=!d&&(!l||u||c),p=!u&&(!c||d||l);return{can_open:f&&(t||!p||c),can_close:p&&(t||!f||l),length:o}},jr.prototype.Token=Y;function Mr(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}function Nr(e,t){let n=e.pos;for(;n<e.posMax&&!Mr(e.src.charCodeAt(n));)n++;return n!==e.pos&&(t||(e.pending+=e.src.slice(e.pos,n)),e.pos=n,!0)}var Pr=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;function Fr(e,t){if(!e.md.options.linkify||e.linkLevel>0)return!1;let n=e.pos,r=e.posMax;if(n+3>r||e.src.charCodeAt(n)!==58||e.src.charCodeAt(n+1)!==47||e.src.charCodeAt(n+2)!==47)return!1;let i=e.pending.match(Pr);if(!i)return!1;let a=i[1],o=e.md.linkify.matchAtStart(e.src.slice(n-a.length));if(!o)return!1;let s=o.url;if(s.length<=a.length)return!1;let c=s.length;for(;c>0&&s.charCodeAt(c-1)===42;)c--;c!==s.length&&(s=s.slice(0,c));let l=e.md.normalizeLink(s);if(!e.md.validateLink(l))return!1;if(!t){e.pending=e.pending.slice(0,-a.length);let t=e.push(`link_open`,`a`,1);t.attrs=[[`href`,l]],t.markup=`linkify`,t.info=`auto`;let n=e.push(`text`,``,0);n.content=e.md.normalizeLinkText(s);let r=e.push(`link_close`,`a`,-1);r.markup=`linkify`,r.info=`auto`}return e.pos+=s.length-a.length,!0}function Ir(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==10)return!1;let r=e.pending.length-1,i=e.posMax;if(!t){if(r>=0&&e.pending.charCodeAt(r)===32){if(r>=1&&e.pending.charCodeAt(r-1)===32){let t=r-1;for(;t>=1&&e.pending.charCodeAt(t-1)===32;)t--;e.pending=e.pending.slice(0,t),e.push(`hardbreak`,`br`,0)}else e.pending=e.pending.slice(0,-1),e.push(`softbreak`,`br`,0)}else e.push(`softbreak`,`br`,0)}for(n++;n<i&&K(e.src.charCodeAt(n));)n++;return e.pos=n,!0}var Lr=[];for(let e=0;e<256;e++)Lr.push(0);`\\!"#$%&'()*+,./:;<=>?@[]^_\`{|}~-`.split(``).forEach(function(e){Lr[e.charCodeAt(0)]=1});function Rr(e,t){let n=e.pos,r=e.posMax;if(e.src.charCodeAt(n)!==92||(n++,n>=r))return!1;let i=e.src.charCodeAt(n);if(i===10){for(t||e.push(`hardbreak`,`br`,0),n++;n<r&&(i=e.src.charCodeAt(n),K(i));)n++;return e.pos=n,!0}if(i===32){if(!t){let t=e.push(`text_special`,``,0);t.content=`\\`,t.markup=`\\`,t.info=`escape`}return e.pos=n,!0}let a=e.src[n];if(i>=55296&&i<=56319&&n+1<r){let t=e.src.charCodeAt(n+1);t>=56320&&t<=57343&&(a+=e.src[n+1],n++)}let o=`\\`+a;if(!t){let t=e.push(`text_special`,``,0);t.content=i<256&&Lr[i]!==0?a:o,t.markup=o,t.info=`escape`}return e.pos=n+1,!0}function zr(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==96)return!1;let r=n;n++;let i=e.posMax;for(;n<i&&e.src.charCodeAt(n)===96;)n++;let a=e.src.slice(r,n),o=a.length;if(e.backticksScanned&&(e.backticks[o]||0)<=r)return t||(e.pending+=a),e.pos+=o,!0;let s=n,c;for(;(c=e.src.indexOf("`",s))!==-1;){for(s=c+1;s<i&&e.src.charCodeAt(s)===96;)s++;let r=s-c;if(r===o){if(!t){let t=e.push(`code_inline`,`code`,0);t.markup=a,t.content=e.src.slice(n,c).replace(/\n/g,` `).replace(/^ (.+) $/,`$1`)}return e.pos=s,!0}e.backticks[r]=c}return e.backticksScanned=!0,t||(e.pending+=a),e.pos+=o,!0}function Br(e,t){let n=e.pos,r=e.src.charCodeAt(n);if(t||r!==126)return!1;let i=e.scanDelims(e.pos,!0),a=i.length,o=String.fromCharCode(r);if(a<2)return!1;let s;a%2&&(s=e.push(`text`,``,0),s.content=o,a--);for(let t=0;t<a;t+=2)s=e.push(`text`,``,0),s.content=o+o,e.delimiters.push({marker:r,length:0,token:e.tokens.length-1,end:-1,open:i.can_open,close:i.can_close});return e.pos+=i.length,!0}function Vr(e,t){let n,r=[],i=t.length;for(let a=0;a<i;a++){let i=t[a];if(i.marker!==126||i.end===-1)continue;let o=t[i.end];n=e.tokens[i.token],n.type=`s_open`,n.tag=`s`,n.nesting=1,n.markup=`~~`,n.content=``,n=e.tokens[o.token],n.type=`s_close`,n.tag=`s`,n.nesting=-1,n.markup=`~~`,n.content=``,e.tokens[o.token-1].type===`text`&&e.tokens[o.token-1].content===`~`&&r.push(o.token-1)}for(;r.length;){let t=r.pop(),i=t+1;for(;i<e.tokens.length&&e.tokens[i].type===`s_close`;)i++;i--,t!==i&&(n=e.tokens[i],e.tokens[i]=e.tokens[t],e.tokens[t]=n)}}function Hr(e){let t=e.tokens_meta,n=e.tokens_meta.length;Vr(e,e.delimiters);for(let r=0;r<n;r++)t[r]&&t[r].delimiters&&Vr(e,t[r].delimiters)}var Ur={tokenize:Br,postProcess:Hr};function Wr(e,t){let n=e.pos,r=e.src.charCodeAt(n);if(t||r!==95&&r!==42)return!1;let i=e.scanDelims(e.pos,r===42);for(let t=0;t<i.length;t++){let t=e.push(`text`,``,0);t.content=String.fromCharCode(r),e.delimiters.push({marker:r,length:i.length,token:e.tokens.length-1,end:-1,open:i.can_open,close:i.can_close})}return e.pos+=i.length,!0}function Gr(e,t){let n=t.length;for(let r=n-1;r>=0;r--){let n=t[r];if(n.marker!==95&&n.marker!==42||n.end===-1)continue;let i=t[n.end],a=r>0&&t[r-1].end===n.end+1&&t[r-1].marker===n.marker&&t[r-1].token===n.token-1&&t[n.end+1].token===i.token+1,o=String.fromCharCode(n.marker),s=e.tokens[n.token];s.type=a?`strong_open`:`em_open`,s.tag=a?`strong`:`em`,s.nesting=1,s.markup=a?o+o:o,s.content=``;let c=e.tokens[i.token];c.type=a?`strong_close`:`em_close`,c.tag=a?`strong`:`em`,c.nesting=-1,c.markup=a?o+o:o,c.content=``,a&&(e.tokens[t[r-1].token].content=``,e.tokens[t[n.end+1].token].content=``,r--)}}function Kr(e){let t=e.tokens_meta,n=e.tokens_meta.length;Gr(e,e.delimiters);for(let r=0;r<n;r++)t[r]&&t[r].delimiters&&Gr(e,t[r].delimiters)}var qr={tokenize:Wr,postProcess:Kr};function Jr(e,t){let n,r,i,a,o=``,s=``,c=e.pos,l=!0;if(e.src.charCodeAt(e.pos)!==91)return!1;let u=e.pos,d=e.posMax,f=e.pos+1,p=e.md.helpers.parseLinkLabel(e,e.pos,!0);if(p<0)return!1;let m=p+1;if(m<d&&e.src.charCodeAt(m)===40){for(l=!1,m++;m<d&&(n=e.src.charCodeAt(m),!(!K(n)&&n!==10));m++);if(m>=d)return!1;if(c=m,i=e.md.helpers.parseLinkDestination(e.src,m,e.posMax),i.ok){for(o=e.md.normalizeLink(i.str),e.md.validateLink(o)?m=i.pos:o=``,c=m;m<d&&(n=e.src.charCodeAt(m),!(!K(n)&&n!==10));m++);if(i=e.md.helpers.parseLinkTitle(e.src,m,e.posMax),m<d&&c!==m&&i.ok)for(s=i.str,m=i.pos;m<d&&(n=e.src.charCodeAt(m),!(!K(n)&&n!==10));m++);}(m>=d||e.src.charCodeAt(m)!==41)&&(l=!0),m++}if(l){if(e.env.references===void 0)return!1;if(m<d&&e.src.charCodeAt(m)===91?(c=m+1,m=e.md.helpers.parseLinkLabel(e,m),m>=0?r=e.src.slice(c,m++):m=p+1):m=p+1,r||=e.src.slice(f,p),a=e.env.references[wn(r)],!a)return e.pos=u,!1;o=a.href,s=a.title}if(!t){e.pos=f,e.posMax=p;let t=e.push(`link_open`,`a`,1),n=[[`href`,o]];t.attrs=n,s&&n.push([`title`,s]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push(`link_close`,`a`,-1)}return e.pos=m,e.posMax=d,!0}function Yr(e,t){let n,r,i,a,o,s,c,l,u=``,d=e.pos,f=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91)return!1;let p=e.pos+2,m=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(m<0)return!1;if(a=m+1,a<f&&e.src.charCodeAt(a)===40){for(a++;a<f&&(n=e.src.charCodeAt(a),!(!K(n)&&n!==10));a++);if(a>=f)return!1;for(l=a,s=e.md.helpers.parseLinkDestination(e.src,a,e.posMax),s.ok&&(u=e.md.normalizeLink(s.str),e.md.validateLink(u)?a=s.pos:u=``),l=a;a<f&&(n=e.src.charCodeAt(a),!(!K(n)&&n!==10));a++);if(s=e.md.helpers.parseLinkTitle(e.src,a,e.posMax),a<f&&l!==a&&s.ok)for(c=s.str,a=s.pos;a<f&&(n=e.src.charCodeAt(a),!(!K(n)&&n!==10));a++);else c=``;if(a>=f||e.src.charCodeAt(a)!==41)return e.pos=d,!1;a++}else{if(e.env.references===void 0)return!1;if(a<f&&e.src.charCodeAt(a)===91?(l=a+1,a=e.md.helpers.parseLinkLabel(e,a),a>=0?i=e.src.slice(l,a++):a=m+1):a=m+1,i||=e.src.slice(p,m),o=e.env.references[wn(i)],!o)return e.pos=d,!1;u=o.href,c=o.title}if(!t){r=e.src.slice(p,m);let t=[];e.md.inline.parse(r,e.md,e.env,t);let n=e.push(`image`,`img`,0),i=[[`src`,u],[`alt`,``]];n.attrs=i,n.children=t,n.content=r,c&&i.push([`title`,c])}return e.pos=a,e.posMax=f,!0}var Xr=/^([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])?)*)$/,Zr=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function Qr(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==60)return!1;let r=e.pos,i=e.posMax;for(;;){if(++n>=i)return!1;let t=e.src.charCodeAt(n);if(t===60)return!1;if(t===62)break}let a=e.src.slice(r+1,n);if(Zr.test(a)){let n=e.md.normalizeLink(a);if(!e.md.validateLink(n))return!1;if(!t){let t=e.push(`link_open`,`a`,1);t.attrs=[[`href`,n]],t.markup=`autolink`,t.info=`auto`;let r=e.push(`text`,``,0);r.content=e.md.normalizeLinkText(a);let i=e.push(`link_close`,`a`,-1);i.markup=`autolink`,i.info=`auto`}return e.pos+=a.length+2,!0}if(Xr.test(a)){let n=e.md.normalizeLink(`mailto:`+a);if(!e.md.validateLink(n))return!1;if(!t){let t=e.push(`link_open`,`a`,1);t.attrs=[[`href`,n]],t.markup=`autolink`,t.info=`auto`;let r=e.push(`text`,``,0);r.content=e.md.normalizeLinkText(a);let i=e.push(`link_close`,`a`,-1);i.markup=`autolink`,i.info=`auto`}return e.pos+=a.length+2,!0}return!1}function $r(e){return/^<a[>\s]/i.test(e)}function ei(e){return/^<\/a\s*>/i.test(e)}function ti(e){let t=e|32;return t>=97&&t<=122}function ni(e,t){if(!e.md.options.html)return!1;let n=e.posMax,r=e.pos;if(e.src.charCodeAt(r)!==60||r+2>=n)return!1;let i=e.src.charCodeAt(r+1);if(i!==33&&i!==63&&i!==47&&!ti(i))return!1;let a=e.src.slice(r).match(Sr);if(!a)return!1;if(!t){let t=e.push(`html_inline`,``,0);t.content=a[0],$r(t.content)&&e.linkLevel++,ei(t.content)&&e.linkLevel--}return e.pos+=a[0].length,!0}var ri=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,ii=/^&([a-z][a-z0-9]{1,31});/i;function ai(e,t){let n=e.pos,r=e.posMax;if(e.src.charCodeAt(n)!==38||n+1>=r)return!1;if(e.src.charCodeAt(n+1)===35){let r=e.src.slice(n).match(ri);if(r){if(!t){let t=r[1][0].toLowerCase()===`x`?parseInt(r[1].slice(1),16):parseInt(r[1],10),n=e.push(`text_special`,``,0);n.content=on(t)?sn(t):sn(65533),n.markup=r[0],n.info=`entity`}return e.pos+=r[0].length,!0}}else{let r=e.src.slice(n).match(ii);if(r){let n=Zt(r[0]);if(n!==r[0]){if(!t){let t=e.push(`text_special`,``,0);t.content=n,t.markup=r[0],t.info=`entity`}return e.pos+=r[0].length,!0}}}return!1}function oi(e){let t={},n=e.length;if(!n)return;let r=0,i=-2,a=[];for(let o=0;o<n;o++){let n=e[o];if(a.push(0),(e[r].marker!==n.marker||i!==n.token-1)&&(r=o),i=n.token,n.length=n.length||0,!n.close)continue;t.hasOwnProperty(n.marker)||(t[n.marker]=[-1,-1,-1,-1,-1,-1]);let s=t[n.marker][(n.open?3:0)+n.length%3],c=r-a[r]-1,l=c;for(;c>s;c-=a[c]+1){let t=e[c];if(t.marker===n.marker&&t.open&&t.end<0){let r=!1;if((t.close||n.open)&&(t.length+n.length)%3==0&&(t.length%3!=0||n.length%3!=0)&&(r=!0),!r){let r=c>0&&!e[c-1].open?a[c-1]+1:0;a[o]=o-c+r,a[c]=r,n.open=!1,t.end=o,t.close=!1,l=-1,i=-2;break}}}l!==-1&&(t[n.marker][(n.open?3:0)+(n.length||0)%3]=l)}}function si(e){let t=e.tokens_meta,n=e.tokens_meta.length;oi(e.delimiters);for(let e=0;e<n;e++)t[e]&&t[e].delimiters&&oi(t[e].delimiters)}function ci(e){let t,n,r=0,i=e.tokens,a=e.tokens.length;for(t=n=0;t<a;t++)i[t].nesting<0&&r--,i[t].level=r,i[t].nesting>0&&r++,i[t].type===`text`&&t+1<a&&i[t+1].type===`text`?i[t+1].content=i[t].content+i[t+1].content:(t!==n&&(i[n]=i[t]),n++);t!==n&&(i.length=n)}var li=[[`text`,Nr],[`linkify`,Fr],[`newline`,Ir],[`escape`,Rr],[`backticks`,zr],[`strikethrough`,Ur.tokenize],[`emphasis`,qr.tokenize],[`link`,Jr],[`image`,Yr],[`autolink`,Qr],[`html_inline`,ni],[`entity`,ai]],ui=[[`balance_pairs`,si],[`strikethrough`,Ur.postProcess],[`emphasis`,qr.postProcess],[`fragments_join`,ci]];function di(){this.ruler=new J;for(let e=0;e<li.length;e++)this.ruler.push(li[e][0],li[e][1]);this.ruler2=new J;for(let e=0;e<ui.length;e++)this.ruler2.push(ui[e][0],ui[e][1])}di.prototype.skipToken=function(e){let t=e.pos,n=this.ruler.getRules(``),r=n.length,i=e.md.options.maxNesting,a=e.cache;if(a[t]!==void 0){e.pos=a[t];return}let o=!1;if(e.level<i){for(let i=0;i<r;i++)if(e.level++,o=n[i](e,!0),e.level--,o){if(t>=e.pos)throw Error(`inline rule didn't increment state.pos`);break}}else e.pos=e.posMax;o||e.pos++,a[t]=e.pos},di.prototype.tokenize=function(e){let t=this.ruler.getRules(``),n=t.length,r=e.posMax,i=e.md.options.maxNesting;for(;e.pos<r;){let a=e.pos,o=!1;if(e.level<i){for(let r=0;r<n;r++)if(o=t[r](e,!1),o){if(a>=e.pos)throw Error(`inline rule didn't increment state.pos`);break}}if(o){if(e.pos>=r)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},di.prototype.parse=function(e,t,n,r){let i=new this.State(e,t,n,r);this.tokenize(i);let a=this.ruler2.getRules(``),o=a.length;for(let e=0;e<o;e++)a[e](i)},di.prototype.State=jr;function fi(e){let t={};e||={},t.src_Any=Mt.source,t.src_Cc=Nt.source,t.src_Z=R.source,t.src_P=Ft.source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join(`|`),t.src_ZCc=[t.src_Z,t.src_Cc].join(`|`);let n=`[><|]`;return t.src_pseudo_letter=`(?:(?!${n}|${t.src_ZPCc})${t.src_Any})`,t.src_ip4=`(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)`,t.src_auth=`(?:(?:(?!${t.src_ZCc}|[@/\\[\\]()]).){1,50}@)?`,t.src_port=`(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?`,t.src_host_terminator=`(?=$|${n}|${t.src_ZPCc})(?!${e[`---`]?`-(?!--)|`:`-|`}_|:\\d|\\.-|\\.(?!$|${t.src_ZPCc}))`,t.src_path=`(?:[/?#](?:(?!${t.src_ZCc}|${n}|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!${t.src_ZCc}|\\]).)*\\]|\\((?:(?!${t.src_ZCc}|[)]).)*\\)|\\{(?:(?!${t.src_ZCc}|[}]).)*\\}|\\"(?:(?!${t.src_ZCc}|["]).)+\\"|\\'(?:(?!${t.src_ZCc}|[']).)+\\'|\\'(?=${t.src_pseudo_letter}|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!${t.src_ZCc}|[.]|$)|`+(e[`---`]?`\\-(?!--(?:[^-]|$))(?:-*)|`:`\\-+|`)+`,(?!${t.src_ZCc}|$)|;(?!${t.src_ZCc}|$)|\\!+(?!${t.src_ZCc}|[!]|$)|\\?(?!${t.src_ZCc}|[?]|$))+|\\/)?`,t.src_email_name=`[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]{0,63}`,t.src_xn=`xn--[a-z0-9\\-]{1,59}`,t.src_domain_root=`(?:`+t.src_xn+`|${t.src_pseudo_letter}{1,63})`,t.src_domain=`(?:`+t.src_xn+`|(?:${t.src_pseudo_letter})|(?:${t.src_pseudo_letter}(?:-|${t.src_pseudo_letter}){0,61}${t.src_pseudo_letter}))`,t.src_host=`(?:(?:(?:(?:${t.src_domain})\\.)*${t.src_domain}))`,t.tpl_host_fuzzy=`(?:`+t.src_ip4+`|(?:(?:(?:${t.src_domain})\\.)+(?:%TLDS%)))`,t.tpl_host_no_ip_fuzzy=`(?:(?:(?:${t.src_domain})\\.)+(?:%TLDS%))`,t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test=`localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:${t.src_ZPCc}|>|$))`,t.tpl_email_fuzzy=`(^|${n}|"|\\(|${t.src_ZCc})(${t.src_email_name}@${t.tpl_host_fuzzy_strict})`,t.tpl_link_fuzzy=`(^|(?![.:/\\-_@])(?:[$+<=>^\`|\uff5c]|${t.src_ZPCc}))((?![$+<=>^\`|\uff5c])${t.tpl_host_port_fuzzy_strict}${t.src_path})`,t.tpl_link_no_ip_fuzzy=`(^|(?![.:/\\-_@])(?:[$+<=>^\`|\uff5c]|${t.src_ZPCc}))((?![$+<=>^\`|\uff5c])${t.tpl_host_port_no_ip_fuzzy_strict}${t.src_path})`,t}function pi(e){return Array.prototype.slice.call(arguments,1).forEach(function(t){t&&Object.keys(t).forEach(function(n){e[n]=t[n]})}),e}function mi(e){return Object.prototype.toString.call(e)}function hi(e){return mi(e)===`[object String]`}function gi(e){return mi(e)===`[object Object]`}function _i(e){return mi(e)===`[object RegExp]`}function vi(e){return mi(e)===`[object Function]`}function yi(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,`\\$&`)}var bi={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function xi(e){return Object.keys(e||{}).reduce(function(e,t){return e||bi.hasOwnProperty(t)},!1)}var Si={"http:":{validate:function(e,t,n){let r=e.slice(t);return n.re.http||(n.re.http=RegExp(`^\\/\\/${n.re.src_auth}${n.re.src_host_port_strict}${n.re.src_path}`,`i`)),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":`http:`,"ftp:":`http:`,"//":{validate:function(e,t,n){let r=e.slice(t);return n.re.no_http||(n.re.no_http=RegExp(`^`+n.re.src_auth+`(?:localhost|(?:(?:${n.re.src_domain})\\.)+${n.re.src_domain_root})`+n.re.src_port+n.re.src_host_terminator+n.re.src_path,`i`)),n.re.no_http.test(r)?t>=3&&e[t-3]===`:`||t>=3&&e[t-3]===`/`?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){let r=e.slice(t);return n.re.mailto||(n.re.mailto=RegExp(`^${n.re.src_email_name}@${n.re.src_host_strict}`,`i`)),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},Ci=`a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]`,wi=`biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф`.split(`|`);function Ti(e){return function(t,n){let r=t.slice(n);return e.test(r)?r.match(e)[0].length:0}}function Ei(){return function(e,t){t.normalize(e)}}function Di(e){let t=e.re=fi(e.__opts__),n=e.__tlds__.slice();e.onCompile(),e.__tlds_replaced__||n.push(Ci),n.push(t.src_xn),t.src_tlds=n.join(`|`);function r(e){return e.replace(`%TLDS%`,t.src_tlds)}t.email_fuzzy=RegExp(r(t.tpl_email_fuzzy),`i`),t.email_fuzzy_global=RegExp(r(t.tpl_email_fuzzy),`ig`),t.link_fuzzy=RegExp(r(t.tpl_link_fuzzy),`i`),t.link_fuzzy_global=RegExp(r(t.tpl_link_fuzzy),`ig`),t.link_no_ip_fuzzy=RegExp(r(t.tpl_link_no_ip_fuzzy),`i`),t.link_no_ip_fuzzy_global=RegExp(r(t.tpl_link_no_ip_fuzzy),`ig`),t.host_fuzzy_test=RegExp(r(t.tpl_host_fuzzy_test),`i`);let i=[];e.__compiled__={};function a(e,t){throw Error(`(LinkifyIt) Invalid schema "${e}": ${t}`)}Object.keys(e.__schemas__).forEach(function(t){let n=e.__schemas__[t];if(n===null)return;let r={validate:null,link:null};if(e.__compiled__[t]=r,gi(n)){_i(n.validate)?r.validate=Ti(n.validate):vi(n.validate)?r.validate=n.validate:a(t,n),vi(n.normalize)?r.normalize=n.normalize:n.normalize?a(t,n):r.normalize=Ei();return}if(hi(n)){i.push(t);return}a(t,n)}),i.forEach(function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)}),e.__compiled__[``]={validate:null,normalize:Ei()};let o=Object.keys(e.__compiled__).filter(function(t){return t.length>0&&e.__compiled__[t]}).map(yi).join(`|`);e.re.schema_test=RegExp(`(^|(?!_)(?:[><\uff5c]|${t.src_ZPCc}))(${o})`,`i`),e.re.schema_search=RegExp(`(^|(?!_)(?:[><\uff5c]|${t.src_ZPCc}))(${o})`,`ig`),e.re.schema_at_start=RegExp(`^${e.re.schema_search.source}`,`i`),e.re.pretest=RegExp(`(${e.re.schema_test.source})|(${e.re.host_fuzzy_test.source})|@`,`i`)}function Oi(e,t,n,r){let i=e.slice(n,r);this.schema=t.toLowerCase(),this.index=n,this.lastIndex=r,this.raw=i,this.text=i,this.url=i}function Z(e,t){if(!(this instanceof Z))return new Z(e,t);t||xi(e)&&(t=e,e={}),this.__opts__=pi({},bi,t),this.__schemas__=pi({},Si,e),this.__compiled__={},this.__tlds__=wi,this.__tlds_replaced__=!1,this.re={},Di(this)}Z.prototype.add=function(e,t){return this.__schemas__[e]=t,Di(this),this},Z.prototype.set=function(e){return this.__opts__=pi(this.__opts__,e),this},Z.prototype.test=function(e){if(!e.length)return!1;let t,n;if(this.re.schema_test.test(e)){for(n=this.re.schema_search,n.lastIndex=0;(t=n.exec(e))!==null;)if(this.testSchemaAt(e,t[2],n.lastIndex))return!0}return!!(this.__opts__.fuzzyLink&&this.__compiled__[`http:`]&&e.search(this.re.host_fuzzy_test)>=0&&e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy)!==null||this.__opts__.fuzzyEmail&&this.__compiled__[`mailto:`]&&e.indexOf(`@`)>=0&&e.match(this.re.email_fuzzy)!==null)},Z.prototype.pretest=function(e){return this.re.pretest.test(e)},Z.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},Z.prototype.match=function(e){let t=[],n=[],r=[],i=[],a,o,s;function c(e,t){return e?t?e.index===t.index?e.lastIndex>=t.lastIndex?e:t:e.index<t.index?e:t:e:t}if(!e.length)return null;if(this.re.schema_test.test(e))for(s=this.re.schema_search,s.lastIndex=0;(a=s.exec(e))!==null;)o=this.testSchemaAt(e,a[2],s.lastIndex),o&&n.push({schema:a[2],index:a.index+a[1].length,lastIndex:a.index+a[0].length+o});if(this.__opts__.fuzzyLink&&this.__compiled__[`http:`])for(s=this.__opts__.fuzzyIP?this.re.link_fuzzy_global:this.re.link_no_ip_fuzzy_global,s.lastIndex=0;(a=s.exec(e))!==null;)r.push({schema:``,index:a.index+a[1].length,lastIndex:a.index+a[0].length});if(this.__opts__.fuzzyEmail&&this.__compiled__[`mailto:`])for(s=this.re.email_fuzzy_global,s.lastIndex=0;(a=s.exec(e))!==null;)i.push({schema:`mailto:`,index:a.index+a[1].length,lastIndex:a.index+a[0].length});let l=[0,0,0],u=0;for(;;){let a=[n[l[0]],i[l[1]],r[l[2]]],o=c(c(a[0],a[1]),a[2]);if(!o)break;if(o===a[0]?l[0]++:o===a[1]?l[1]++:l[2]++,o.index<u)continue;let s=new Oi(e,o.schema,o.index,o.lastIndex);this.__compiled__[s.schema].normalize(s,this),t.push(s),u=o.lastIndex}return t.length?t:null},Z.prototype.matchAtStart=function(e){if(!e.length)return null;let t=this.re.schema_at_start.exec(e);if(!t)return null;let n=this.testSchemaAt(e,t[2],t[0].length);if(!n)return null;let r=new Oi(e,t[2],t.index+t[1].length,t.index+t[0].length+n);return this.__compiled__[r.schema].normalize(r,this),r},Z.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(e,t,n){return e!==n[t-1]}).reverse(),Di(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,Di(this),this)},Z.prototype.normalize=function(e){e.schema||(e.url=`http://${e.url}`),e.schema===`mailto:`&&!/^mailto:/i.test(e.url)&&(e.url=`mailto:${e.url}`)},Z.prototype.onCompile=function(){};var ki=2147483647,Ai=36,ji=1,Mi=26,Ni=38,Pi=700,Fi=72,Ii=128,Li=`-`,Ri=/^xn--/,zi=/[^\0-\x7F]/,Bi=/[\x2E\u3002\uFF0E\uFF61]/g,Vi={overflow:`Overflow: input needs wider integers to process`,"not-basic":`Illegal input >= 0x80 (not a basic code point)`,"invalid-input":`Invalid input`},Hi=35,Q=Math.floor,Ui=String.fromCharCode;function Wi(e){throw RangeError(Vi[e])}function Gi(e,t){let n=[],r=e.length;for(;r--;)n[r]=t(e[r]);return n}function Ki(e,t){let n=e.split(`@`),r=``;n.length>1&&(r=n[0]+`@`,e=n[1]),e=e.replace(Bi,`.`);let i=Gi(e.split(`.`),t).join(`.`);return r+i}function qi(e){let t=[],n=0,r=e.length;for(;n<r;){let i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){let r=e.charCodeAt(n++);(r&64512)==56320?t.push(((i&1023)<<10)+(r&1023)+65536):(t.push(i),n--)}else t.push(i)}return t}var Ji=e=>String.fromCodePoint(...e),Yi=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:Ai},Xi=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},Zi=function(e,t,n){let r=0;for(e=n?Q(e/Pi):e>>1,e+=Q(e/t);e>455;r+=Ai)e=Q(e/Hi);return Q(r+36*e/(e+Ni))},Qi=function(e){let t=[],n=e.length,r=0,i=Ii,a=Fi,o=e.lastIndexOf(Li);o<0&&(o=0);for(let n=0;n<o;++n)e.charCodeAt(n)>=128&&Wi(`not-basic`),t.push(e.charCodeAt(n));for(let s=o>0?o+1:0;s<n;){let o=r;for(let t=1,i=Ai;;i+=Ai){s>=n&&Wi(`invalid-input`);let o=Yi(e.charCodeAt(s++));o>=Ai&&Wi(`invalid-input`),o>Q((ki-r)/t)&&Wi(`overflow`),r+=o*t;let c=i<=a?ji:i>=a+Mi?Mi:i-a;if(o<c)break;let l=Ai-c;t>Q(ki/l)&&Wi(`overflow`),t*=l}let c=t.length+1;a=Zi(r-o,c,o==0),Q(r/c)>ki-i&&Wi(`overflow`),i+=Q(r/c),r%=c,t.splice(r++,0,i)}return String.fromCodePoint(...t)},$i=function(e){let t=[];e=qi(e);let n=e.length,r=Ii,i=0,a=Fi;for(let n of e)n<128&&t.push(Ui(n));let o=t.length,s=o;for(o&&t.push(Li);s<n;){let n=ki;for(let t of e)t>=r&&t<n&&(n=t);let c=s+1;n-r>Q((ki-i)/c)&&Wi(`overflow`),i+=(n-r)*c,r=n;for(let n of e)if(n<r&&++i>ki&&Wi(`overflow`),n===r){let e=i;for(let n=Ai;;n+=Ai){let r=n<=a?ji:n>=a+Mi?Mi:n-a;if(e<r)break;let i=e-r,o=Ai-r;t.push(Ui(Xi(r+i%o,0))),e=Q(i/o)}t.push(Ui(Xi(e,0))),a=Zi(i,c,s===o),i=0,++s}++i,++r}return t.join(``)},ea={version:`2.3.1`,ucs2:{decode:qi,encode:Ji},decode:Qi,encode:$i,toASCII:function(e){return Ki(e,function(e){return zi.test(e)?`xn--`+$i(e):e})},toUnicode:function(e){return Ki(e,function(e){return Ri.test(e)?Qi(e.slice(4).toLowerCase()):e})}},ta={default:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:`language-`,linkify:!1,typographer:!1,quotes:`“”‘’`,highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},zero:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:`language-`,linkify:!1,typographer:!1,quotes:`“”‘’`,highlight:null,maxNesting:20},components:{core:{rules:[`normalize`,`block`,`inline`,`text_join`]},block:{rules:[`paragraph`]},inline:{rules:[`text`],rules2:[`balance_pairs`,`fragments_join`]}}},commonmark:{options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:`language-`,linkify:!1,typographer:!1,quotes:`“”‘’`,highlight:null,maxNesting:20},components:{core:{rules:[`normalize`,`block`,`inline`,`text_join`]},block:{rules:[`blockquote`,`code`,`fence`,`heading`,`hr`,`html_block`,`lheading`,`list`,`reference`,`paragraph`]},inline:{rules:[`autolink`,`backticks`,`emphasis`,`entity`,`escape`,`html_inline`,`image`,`link`,`newline`,`text`],rules2:[`balance_pairs`,`emphasis`,`fragments_join`]}}}},na=/^(vbscript|javascript|file|data):/,ra=/^data:image\/(gif|png|jpeg|webp);/;function ia(e){let t=e.trim().toLowerCase();return!na.test(t)||ra.test(t)}var aa=[`http:`,`https:`,`mailto:`];function oa(e){let t=At(e,!0);if(t.hostname&&(!t.protocol||aa.indexOf(t.protocol)>=0))try{t.hostname=ea.toASCII(t.hostname)}catch{}return _t(vt(t))}function sa(e){let t=At(e,!0);if(t.hostname&&(!t.protocol||aa.indexOf(t.protocol)>=0))try{t.hostname=ea.toUnicode(t.hostname)}catch{}return I(vt(t),I.defaultChars+`%`)}function $(e,t){if(!(this instanceof $))return new $(e,t);t||en(e)||(t=e||{},e=`default`),this.inline=new di,this.block=new Ar,this.core=new ar,this.renderer=new Mn,this.linkify=new Z,this.validateLink=ia,this.normalizeLink=oa,this.normalizeLinkText=sa,this.utils=Qt,this.helpers=rn({},jn),this.options={},this.configure(e),t&&this.set(t)}$.prototype.set=function(e){return rn(this.options,e),this},$.prototype.configure=function(e){let t=this;if(en(e)){let t=e;if(e=ta[t],!e)throw Error('Wrong `markdown-it` preset "'+t+`", check name`)}if(!e)throw Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach(function(n){e.components[n].rules&&t[n].ruler.enableOnly(e.components[n].rules),e.components[n].rules2&&t[n].ruler2.enableOnly(e.components[n].rules2)}),this},$.prototype.enable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),[`core`,`block`,`inline`].forEach(function(t){n=n.concat(this[t].ruler.enable(e,!0))},this),n=n.concat(this.inline.ruler2.enable(e,!0));let r=e.filter(function(e){return n.indexOf(e)<0});if(r.length&&!t)throw Error(`MarkdownIt. Failed to enable unknown rule(s): `+r);return this},$.prototype.disable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),[`core`,`block`,`inline`].forEach(function(t){n=n.concat(this[t].ruler.disable(e,!0))},this),n=n.concat(this.inline.ruler2.disable(e,!0));let r=e.filter(function(e){return n.indexOf(e)<0});if(r.length&&!t)throw Error(`MarkdownIt. Failed to disable unknown rule(s): `+r);return this},$.prototype.use=function(e){let t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},$.prototype.parse=function(e,t){if(typeof e!=`string`)throw Error(`Input data should be a String`);let n=new this.core.State(e,this,t);return this.core.process(n),n.tokens},$.prototype.render=function(e,t){return t||={},this.renderer.render(this.parse(e,t),this.options,t)},$.prototype.parseInline=function(e,t){let n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},$.prototype.renderInline=function(e,t){return t||={},this.renderer.render(this.parseInline(e,t),this.options,t)};function ca(e){let t=new $({html:!0,linkify:!1,breaks:!1,xhtmlOut:!0});if(!e.rich)return t;let n=t.utils.escapeHtml;t.renderer.rules.image=(e,t)=>{let r=e[t],i=r?.attrGet(`src`)??``;return re(i)?`<span data-result-image="${n(i)}" data-alt="${n(r?.content??``)}"></span>`:n(r?.content??``)};let r=t.renderer.rules.fence;return t.renderer.rules.fence=(e,t,i,a,o)=>{let s=e[t];return s?.info.trim().split(/\s+/,1)[0]?.toLowerCase()===`mermaid`?`<div data-mermaid-source><pre><code>${n(s.content)}</code></pre></div>`:r?r(e,t,i,a,o):o.renderToken(e,t,i)},t}var la=ca({rich:!1}),ua=ca({rich:!0});function da(e){let t=P(globalThis.window);if(!t.isSupported||typeof t.sanitize!=`function`)throw Error(`renderMarkdownToHtml requires a DOM-capable environment for DOMPurify`);let n=t.sanitize(e,{FORBID_TAGS:[`audio`,`embed`,`iframe`,`img`,`object`,`picture`,`source`,`track`,`video`],FORBID_ATTR:[`poster`,`srcset`]}),r=globalThis.document.createElement(`template`);r.innerHTML=n;for(let e of r.content.querySelectorAll(`a[href]`))_(e);return r.innerHTML}function fa(e){return da(la.render(h(e),{}))}function pa(e){return da(ua.render(h(e),{}))}function ma(e){return h(e).replace(/<br\s*\/?>/gi,` `).replace(/<\/?[^>]+>/g,` `).replace(/```([\s\S]*?)```/g,(e,t)=>t.trim()).replace(/^#{1,6}\s+/gm,``).replace(/^\s*[-*+]\s+/gm,``).replace(/^\s*\d+\.\s+/gm,``).replace(/^\s*>\s?/gm,``).replace(/\[([^\]]+)\]\(([^)]+)\)/g,`$1`).replace(/`([^`]+)`/g,`$1`).replace(/\*\*([^*]+)\*\*/g,`$1`).replace(/__([^_]+)__/g,`$1`).replace(/\*([^*]+)\*/g,`$1`).replace(/_([^_]+)_/g,`$1`).replace(/\s+/g,` `).trim()}function ha(e,t){return e.length<=t?e:`${e.slice(0,t).trimEnd()}…`}var ga=/@import[^;]+;/gi;function _a(){return new Worker(new URL(`/assets/mermaid-render.worker-QW2WZpEE.js`,``+import.meta.url),{type:`module`})}function va(e){return P(globalThis.window).sanitize(e.replace(ga,``),{USE_PROFILES:{svg:!0,svgFilters:!0},FORBID_TAGS:[`script`,`foreignObject`,`iframe`,`image`,`use`],FORBID_ATTR:[`href`,`xlink:href`,`style`,`onload`,`onclick`,`onerror`]})}function ya(e){if(e.firstElementChild)return;let t=e.dataset.resultImage??``;if(!re(t))return;let n=document.createElement(`a`);n.href=t,g(n),n.setAttribute(`aria-label`,`Open image: ${e.dataset.alt??``}`);let r=document.createElement(`img`);r.src=t,r.alt=e.dataset.alt??``,n.append(r),e.append(n)}function ba(e,t){e.replaceChildren();let n=document.createElement(`p`);n.setAttribute(`role`,`status`),n.textContent=`Diagram could not be rendered. Mermaid source is shown below.`;let r=document.createElement(`pre`);r.textContent=t,e.append(n,r)}function xa(e,t){let n=[...e.querySelectorAll(`[data-mermaid-source]`)].filter(e=>!e.shadowRoot&&e.dataset.rendering!==`true`);if(n.length===0)return null;let r;try{r=t()}catch{for(let e of n){let t=e.textContent??``;e.dataset.rendering=`true`,e.replaceChildren(),ba(e.attachShadow({mode:`open`}),t)}return null}let i=new Map,a=1,o=!1,s=()=>{o||(o=!0,i.clear(),r.terminate())},c=()=>{i.size===0&&s()};r.onmessage=e=>{let t=i.get(e.data.id);if(t){if(i.delete(e.data.id),e.data.ok)try{let n=va(e.data.svg);t.root.innerHTML=`<style>:host{display:block;margin:0 0 14px;overflow:auto;--bg:#fff;--fg:#27272a}svg{display:block;max-width:100%;height:auto}</style>${n}`}catch{ba(t.root,t.source)}else ba(t.root,t.source);c()}},r.onerror=()=>{for(let{root:e,source:t}of i.values())ba(e,t);s()};for(let e of n){let t=e.textContent??``;e.dataset.rendering=`true`,e.replaceChildren();let n=e.attachShadow({mode:`open`}),o=a++;i.set(o,{root:n,source:t});try{r.postMessage({id:o,source:t})}catch{i.delete(o),ba(n,t)}}return c(),s}function Sa(e,t){for(let t of e.querySelectorAll(`[data-result-image]`))ya(t);return xa(e,t)}function Ca(e={}){let t=e.createMermaidWorker??_a;return function(e,n){let r=0,i=null,a=()=>{r+=1;let n=r;i?.(),i=null,queueMicrotask(()=>{r===n&&(i=Sa(e,t))})};return a(),{update:a,destroy:()=>{r+=1,i?.(),i=null}}}}var wa=Ca(),Ta=t(`<div></div>`);function Ea(t,d){o(d,!0);let f=l(d,`className`,3,``);var p=Ta();e(p,()=>pa(d.markdown),!0),a(p),r(p,(e,t)=>wa?.(e,t),()=>d.markdown),c(e=>u(p,1,e,`svelte-ge54nu`),[()=>i(`chronicle-markdown ${f()}`.trim())]),n(t,p),s()}export{$ as a,ha as i,ma as n,y as o,fa as r,Ea as t};
@@ -0,0 +1 @@
1
+ .chronicle-markdown.svelte-ge54nu{max-width:72ch;color:var(--chronicle-text);font-size:var(--type-body);overflow-wrap:anywhere;line-height:1.6}.chronicle-markdown.svelte-ge54nu h1,.chronicle-markdown.svelte-ge54nu h2,.chronicle-markdown.svelte-ge54nu h3,.chronicle-markdown.svelte-ge54nu h4,.chronicle-markdown.svelte-ge54nu h5,.chronicle-markdown.svelte-ge54nu h6{letter-spacing:-.01em;color:var(--chronicle-text);margin:0 0 12px;font-weight:650;line-height:1.24}.chronicle-markdown.svelte-ge54nu h1{font-size:18px}.chronicle-markdown.svelte-ge54nu h2{font-size:16px}.chronicle-markdown.svelte-ge54nu h3{font-size:15px}.chronicle-markdown.svelte-ge54nu p,.chronicle-markdown.svelte-ge54nu ul,.chronicle-markdown.svelte-ge54nu ol,.chronicle-markdown.svelte-ge54nu blockquote{max-width:72ch}.chronicle-markdown.svelte-ge54nu p,.chronicle-markdown.svelte-ge54nu ul,.chronicle-markdown.svelte-ge54nu ol,.chronicle-markdown.svelte-ge54nu blockquote,.chronicle-markdown.svelte-ge54nu pre,.chronicle-markdown.svelte-ge54nu table{margin:0 0 10px}.chronicle-markdown.svelte-ge54nu ul,.chronicle-markdown.svelte-ge54nu ol{padding-left:20px}.chronicle-markdown.svelte-ge54nu li+li{margin-top:4px}.chronicle-markdown.svelte-ge54nu blockquote{border:1px solid color-mix(in srgb, var(--chronicle-border) 84%, white 16%);background:color-mix(in srgb, var(--chronicle-panel-muted) 74%, white 26%);color:var(--chronicle-text-muted);border-radius:12px;margin-left:0;padding:12px 14px}.chronicle-markdown.svelte-ge54nu pre{border:1px solid color-mix(in srgb, var(--chronicle-border) 84%, white 16%);background:var(--chronicle-code-surface);white-space:pre-wrap;color:var(--chronicle-text);border-radius:12px;padding:12px 14px;overflow-x:auto}.chronicle-markdown.svelte-ge54nu code{font-family:var(--font-mono);background:var(--chronicle-code-inline);overflow-wrap:anywhere;word-break:break-word;-webkit-box-decoration-break:clone;box-decoration-break:clone;border-radius:6px;padding:.14em .32em;font-size:12px}.chronicle-markdown.svelte-ge54nu pre code{font-variant-numeric:tabular-nums;background:0 0;padding:0}.chronicle-markdown.svelte-ge54nu a{color:var(--chronicle-link);text-decoration:none}.chronicle-markdown.svelte-ge54nu a:hover{text-decoration:underline}.chronicle-markdown.svelte-ge54nu [data-result-image]{margin:0 0 10px;display:block}.chronicle-markdown.svelte-ge54nu [data-result-image] a{display:block}.chronicle-markdown.svelte-ge54nu [data-result-image] img{border:1px solid color-mix(in srgb, currentColor 18%, transparent);border-radius:12px;max-width:100%;height:auto;display:block}.chronicle-markdown.svelte-ge54nu hr{border:0;border-top:1px solid var(--chronicle-border);margin:12px 0}.chronicle-markdown.svelte-ge54nu table{border-collapse:collapse;width:100%;font-size:var(--type-body-sm);font-variant-numeric:tabular-nums}.chronicle-markdown.svelte-ge54nu th,.chronicle-markdown.svelte-ge54nu td{border:1px solid var(--chronicle-border);text-align:left;vertical-align:top;padding:8px 10px}.chronicle-markdown.svelte-ge54nu th{background:color-mix(in srgb, var(--chronicle-panel-muted) 78%, white 22%);font-weight:600}.chronicle-markdown.svelte-ge54nu :last-child{margin-bottom:0}
@@ -0,0 +1 @@
1
+ .future-launch-page.svelte-1n3l9yw{width:100%;min-height:100%;padding:var(--space-2xs) 0 var(--space-xl)}.future-launch-detail.svelte-1n3l9yw,.future-launch-editor.svelte-1n3l9yw{gap:var(--space-lg);max-width:980px;display:grid}.detail-warning.svelte-1n3l9yw,.cancel-confirm.svelte-1n3l9yw p:where(.svelte-1n3l9yw){font-size:var(--type-body);color:var(--chronicle-text-muted);margin:0;line-height:1.6}.detail-load-error.svelte-1n3l9yw,.missing-state.svelte-1n3l9yw{gap:var(--space-sm);flex-wrap:wrap;align-items:center;display:flex}.missing-state.svelte-1n3l9yw p:where(.svelte-1n3l9yw){max-width:70ch;font-size:var(--type-body);color:var(--chronicle-text-muted);margin:0;line-height:1.6}.confirm-actions.svelte-1n3l9yw{gap:var(--space-sm);flex-wrap:wrap;justify-content:flex-end;align-items:center;display:flex}.detail-warning.svelte-1n3l9yw{padding:var(--space-sm) var(--space-md);border:1px solid var(--chronicle-border);border-radius:var(--radius-md);background:var(--chronicle-panel-muted)}.cancel-confirm.svelte-1n3l9yw{justify-content:space-between;gap:var(--space-lg);padding:var(--space-md);border:1px solid var(--chronicle-danger-border);border-radius:var(--radius-lg);background:var(--chronicle-danger-surface);align-items:center;display:flex}.cancel-confirm.svelte-1n3l9yw h2:where(.svelte-1n3l9yw){margin:0 0 var(--space-2xs);font-size:var(--type-body-lg);color:var(--chronicle-danger-text-strong);line-height:1.3}.cancel-error.svelte-1n3l9yw{margin-top:var(--space-xs)!important;color:var(--chronicle-danger-text-strong)!important}.detail-sections.svelte-1n3l9yw{gap:var(--space-md);display:grid}.detail-section.svelte-1n3l9yw{gap:var(--space-sm);padding:var(--space-lg);border:1px solid color-mix(in srgb, var(--chronicle-border) 86%, white 14%);border-radius:var(--radius-lg);background:var(--chronicle-panel-surface);box-shadow:var(--chronicle-shadow-soft);display:grid}.detail-section.svelte-1n3l9yw h2:where(.svelte-1n3l9yw){font-size:var(--type-title-sm);color:var(--chronicle-text);margin:0;line-height:1.25}.detail-list.svelte-1n3l9yw{gap:var(--space-xs);display:grid}.detail-item.svelte-1n3l9yw{gap:var(--space-md);padding-top:var(--space-xs);border-top:1px solid color-mix(in srgb, var(--chronicle-border) 70%, transparent 30%);grid-template-columns:minmax(140px,220px) minmax(0,1fr);display:grid}.detail-item.svelte-1n3l9yw dt:where(.svelte-1n3l9yw),.detail-item.svelte-1n3l9yw dd:where(.svelte-1n3l9yw){font-size:var(--type-body);margin:0;line-height:1.55}.detail-item.svelte-1n3l9yw dt:where(.svelte-1n3l9yw){color:var(--chronicle-text-muted);font-weight:650}.detail-item.svelte-1n3l9yw dd:where(.svelte-1n3l9yw){white-space:pre-wrap;word-break:break-word;color:var(--chronicle-text)}@media (width<=760px){.cancel-confirm.svelte-1n3l9yw{display:grid}.confirm-actions.svelte-1n3l9yw{justify-content:flex-start}.detail-item.svelte-1n3l9yw{gap:var(--space-2xs);grid-template-columns:1fr}}
@@ -0,0 +1 @@
1
+ import{$ as e,A as t,B as n,D as r,I as i,J as a,N as o,P as s,Q as c,U as l,V as u,Z as d,bt as f,et as p,f as m,gt as h,ht as g,it as _,nt as v,q as y,st as b,yt as ee}from"./index-client-BYQviCtQ.js";import{T as x}from"./http-client-VpPXJwbR.js";import{c as S,d as C,r as w,s as te,u as ne}from"./router.svelte-EEldxHlO.js";import{E as re,Q as T,_ as ie,d as ae,l as E,m as oe,nt as se,y as ce}from"./index-BkfAI7to.js";import{t as le}from"./GenericLauncher-DTyRwWVd.js";import{t as D}from"./PageHeader-sphJnWL1.js";function O(e){if(e==null)return null;if(typeof e==`boolean`)return e?`Yes`:`No`;if(typeof e==`number`)return Number.isFinite(e)?String(e):null;if(typeof e==`string`){let t=e.trim();return t===``?null:t}if(Array.isArray(e)){let t=e.map(O).filter(e=>!!e);return t.length>0?t.join(`, `):null}return typeof e==`object`?JSON.stringify(e,null,2):String(e)}function k(e,t){return e?.launchConfigSchema.fields.find(e=>e.id===t)?.label||x(t.replace(/([a-z0-9])([A-Z])/g,`$1 $2`))}function A(e,t,n,r){let i=r.filter(e=>e.value.trim()!==``);i.length>0&&e.push({id:t,title:n,items:i})}function j(e){let t=e.toLowerCase();return t.includes(`branch`)||t.includes(`merge`)||t.includes(`mr`)}function M(e){let t=e.toLowerCase();return t.includes(`repo`)||t.includes(`project`)||t.includes(`component`)||t.includes(`path`)}function N(e){let t=e.toLowerCase();return t.includes(`instruction`)||t.includes(`prompt`)||t.includes(`description`)||t.includes(`summary`)}function ue(e,t){let n=[];A(n,`schedule`,`Schedule`,[{label:`Launches`,value:e.nextRunAt},{label:`Recurrence`,value:e.scheduleKind===`cron`?e.cronExpression??`Cron schedule`:`One time`}]),A(n,`process`,`Process`,[{label:`Process`,value:t?.displayName??e.launcherLabel},{label:`Title`,value:e.launchTitle??e.title}]);let r=[],i=[],a=[],o=[];for(let[n,s]of Object.entries(e.launcherInput)){let e=O(s);if(!e)continue;let c={label:k(t,n),value:e};j(n)?i.push(c):M(n)?r.push(c):N(n)?a.push(c):o.push(c)}A(n,`projects`,`Projects / repositories`,r),A(n,`branches`,`Branches / MR settings`,i),A(n,`instructions`,`Instructions`,a),A(n,`details`,`Selected fields`,o);let s=[];typeof e.modelConfig.defaultModelProfileId==`string`&&s.push({label:`Default model`,value:e.modelConfig.defaultModelProfileId});for(let[t,n]of Object.entries(e.modelConfig.turnConfigs??{}))typeof n?.modelProfileId==`string`&&n.modelProfileId.trim()!==``&&s.push({label:x(t),value:n.modelProfileId});return A(n,`runtime`,`Runtime / model settings`,s),n}var de=i(`<section class="future-launch-editor svelte-1n3l9yw" data-section="future-launch-edit"><!> <!></section>`),fe=i(`<button type="button" class="ui-button secondary-button" data-pressable="true">Edit</button> <button type="button" class="ui-button danger-button" data-variant="danger-quiet" data-pressable="true">Cancel scheduled launch</button>`,1),pe=i(`<div class="detail-warning svelte-1n3l9yw" role="alert" data-section="model-policy-block"><strong>Blocked</strong> <p>Edit the model selection or restore model availability.</p></div>`),P=i(`<p class="detail-warning svelte-1n3l9yw" role="status"> </p>`),F=i(`<p class="detail-warning svelte-1n3l9yw" role="status">Loading field labels…</p>`),I=i(`<p class="cancel-error svelte-1n3l9yw" role="alert"> </p>`),L=i(`<div class="cancel-confirm svelte-1n3l9yw" data-section="cancel-confirmation" role="alertdialog" aria-modal="false" aria-labelledby="cancel-title"><div><h2 id="cancel-title" class="svelte-1n3l9yw">Cancel this scheduled launch?</h2> <p class="svelte-1n3l9yw">This launch will be removed and will not run at the scheduled time.</p> <!></div> <div class="confirm-actions svelte-1n3l9yw"><button type="button" class="ui-button secondary-button" data-pressable="true">Keep scheduled</button> <button type="button" class="ui-button danger-button" data-variant="danger" data-pressable="true"> </button></div></div>`),R=i(`<div class="detail-item svelte-1n3l9yw"><dt class="svelte-1n3l9yw"> </dt> <dd class="svelte-1n3l9yw"> </dd></div>`),z=i(`<section class="detail-section svelte-1n3l9yw"><h2 class="svelte-1n3l9yw"> </h2> <div class="detail-list svelte-1n3l9yw"></div></section>`),B=i(`<section class="future-launch-detail svelte-1n3l9yw" data-section="future-launch-detail"><!> <!> <!> <!> <div class="detail-sections svelte-1n3l9yw"></div></section>`),me=i(`<section class="future-launch-detail svelte-1n3l9yw" data-section="future-launch-not-found"><!> <div class="missing-state svelte-1n3l9yw" role="status"><p class="svelte-1n3l9yw">Check All processes for any process this schedule may have started.</p> <button type="button" class="ui-button secondary-button">View all processes</button></div></section>`),he=i(`<div class="detail-load-error svelte-1n3l9yw" role="status"><p class="detail-warning svelte-1n3l9yw"> </p> <button type="button" class="ui-button secondary-button">Retry</button></div>`),ge=i(`<section class="future-launch-detail loading svelte-1n3l9yw" data-section="future-launch-missing"><!> <!></section>`),_e=i(`<div class="future-launch-page svelte-1n3l9yw" data-page="future-launch-detail"><!></div>`);function V(n,i){h(i,!0);let x=_(p([])),O=_(!1),k=_(null),A=_(!1),j=_(!1),M=_(!1),N=_(null),V=_(null),H=_(!1),U=_(null),W=_(!1),G=_(null),K=0,q=0,ve=S(),ye=C(),J=b(()=>l(V)?.id===i.futureExecutionId?l(V):null),Y=b(()=>l(J)?l(x).find(e=>e.id===l(J).launcherId)??null:null),be=b(()=>l(J)?ue(l(J),l(Y)):[]),X=b(()=>l(J)?{mode:l(J).scheduleKind===`cron`?`cron`:`once`,...l(J).scheduleKind===`once`?{runAt:l(J).nextRunAt}:{},...l(J).scheduleKind===`cron`&&l(J).cronExpression?{cronExpression:l(J).cronExpression}:{}}:null);a(()=>{l(G)!==i.futureExecutionId&&(v(G,i.futureExecutionId,!0),v(A,!1),v(j,!1),v(N,null),v(V,null),v(H,!1),v(U,null),v(W,!1),q+=1)}),a(()=>{Q()}),a(()=>{i.futureExecutionId,Z()});async function Z(){let e=i.futureExecutionId,t=++q;v(H,!0),v(U,null),v(W,!1);try{let n=await ce(e);if(t!==q||i.futureExecutionId!==e)return;if(n.kind!==`launch`||n.id!==e){v(U,`The scheduled launch response did not match this page.`);return}v(V,n,!0)}catch(n){if(t!==q||i.futureExecutionId!==e)return;if(n instanceof oe&&n.status===404){v(W,!0);return}v(U,n instanceof Error?n.message:`Couldn't load scheduled launch details`,!0)}finally{t===q&&v(H,!1)}}function xe(){Z()}async function Q(){let e=++K;v(O,!0),v(k,null);try{let t=await re();if(e!==K)return;v(x,t,!0)}catch(t){if(e!==K)return;v(k,t instanceof Error?t.message:`Couldn't load process type details`,!0)}finally{e===K&&v(O,!1)}}function Se(e){ae(e),v(V,e,!0),v(A,!1),v(j,!1),E(),w(te(e.id),{replace:!0})}function Ce(e){E(),w(ne(e))}async function we(){if(l(J)){v(M,!0),v(N,null);try{await ie(l(J).id),await E(),w(ve)}catch(e){v(N,e instanceof Error?e.message:`Couldn't cancel this scheduled launch`,!0)}finally{v(M,!1)}}}var $=_e(),Te=d($),Ee=t=>{var n=de(),r=d(n);D(r,{get title(){return l(J).title},subtitle:`Update the saved launch details, then save to return to the schedule summary.`});var i=e(r,2);le(i,{get launcher(){return l(Y)},get initialTitle(){return l(J).launchTitle},get initialValues(){return l(J).launcherInput},get initialSkillIds(){return l(J).skillIds},get initialModelConfig(){return l(J).modelConfig},get initialSchedule(){return l(X)},get editingFutureLaunch(){return l(J)},onLaunched:Ce,onScheduled:Se}),f(n),s(t,n)},De=n=>{var i=B(),a=d(i);{let t=t=>{var n=fe(),r=c(n),i=e(r,2);y(()=>{r.disabled=!l(Y),m(r,`title`,l(Y)?void 0:`Editing requires this process type to be available`),i.disabled=l(M)}),u(`click`,r,()=>v(A,!0)),u(`click`,i,()=>v(j,!0)),s(t,n)},n=b(()=>`Launches ${T(l(J).nextRunAt)} · ${se(l(J).nextRunAt)}`);D(a,{get title(){return l(J).title},get subtitle(){return l(n)},actions:t,$$slots:{actions:!0}})}var p=e(a,2),h=t=>{var n=pe(),r=e(d(n));ee(),f(n),y(()=>o(r,` — ${l(J).blockedReason.summary??``} `)),s(t,n)};t(p,e=>{l(J).status===`blocked`&&l(J).blockedReason&&e(h)});var g=e(p,2),_=e=>{var t=P(),n=d(t);f(t),y(()=>o(n,`Showing stored values. ${l(k)??``}`)),s(e,t)},x=e=>{var t=F();s(e,t)};t(g,e=>{l(k)?e(_):l(O)&&!l(Y)&&e(x,1)});var S=e(g,2),C=n=>{var r=L(),i=d(r),a=e(d(i),4),c=e=>{var t=I(),n=d(t,!0);f(t),y(()=>o(n,l(N))),s(e,t)};t(a,e=>{l(N)&&e(c)}),f(i);var p=e(i,2),m=d(p),h=e(m,2),g=d(h,!0);f(h),f(p),f(r),y(()=>{m.disabled=l(M),h.disabled=l(M),o(g,l(M)?`Canceling…`:`Cancel launch`)}),u(`click`,m,()=>v(j,!1)),u(`click`,h,()=>void we()),s(n,r)};t(S,e=>{l(j)&&e(C)});var w=e(S,2);r(w,21,()=>l(be),e=>e.id,(t,n)=>{var i=z(),a=d(i),c=d(a,!0);f(a);var u=e(a,2);r(u,21,()=>l(n).items,e=>`${l(n).id}:${e.label}`,(t,r)=>{var i=R(),a=d(i),c=d(a,!0);f(a);var u=e(a,2),p=d(u,!0);f(u),f(i),y(e=>{o(c,l(r).label),o(p,e)},[()=>l(n).id===`schedule`&&l(r).label===`Launches`?T(l(r).value):l(r).value]),s(t,i)}),f(u),f(i),y(()=>{m(i,`data-detail-section`,l(n).id),o(c,l(n).title)}),s(t,i)}),f(w),f(i),s(n,i)},Oe=t=>{var n=me(),r=d(n);D(r,{title:`Scheduled launch no longer available`,subtitle:`It may have already run or been canceled.`});var i=e(r,2),a=e(d(i),2);f(i),f(n),u(`click`,a,()=>w(ye)),s(t,n)},ke=n=>{var r=ge(),i=d(r);{let e=b(()=>l(U)?`Couldn't load scheduled launch`:`Loading scheduled launch…`);D(i,{get title(){return l(e)}})}var a=e(i,2),c=t=>{var n=he(),r=d(n),i=d(r,!0);f(r);var a=e(r,2);f(n),y(()=>o(i,l(U))),u(`click`,a,xe),s(t,n)};t(a,e=>{l(U)&&e(c)}),f(r),s(n,r)};t(Te,e=>{l(J)&&l(A)&&l(Y)&&l(X)?e(Ee):l(J)?e(De,1):l(W)?e(Oe,2):e(ke,-1)}),f($),s(n,$),g()}n([`click`]);export{V as default};
@@ -0,0 +1 @@
1
+ .launch-checklist.svelte-13nlyz1{border-block:1px solid var(--chronicle-border);background:var(--chronicle-panel-surface);width:min(100%,680px)}.summary-button.svelte-13nlyz1{align-items:center;gap:var(--space-sm);width:100%;padding:var(--space-md) 0;color:var(--chronicle-text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:12px 1fr 20px;font-weight:650;display:grid}.summary-button.svelte-13nlyz1:focus-visible,.text-button.svelte-13nlyz1:focus-visible,.try-again.svelte-13nlyz1:focus-visible{outline:2px solid var(--chronicle-accent);outline-offset:3px}.summary-button.svelte-13nlyz1 svg:where(.svelte-13nlyz1){fill:none;stroke:currentColor;stroke-width:1.7px;width:18px;transition:transform var(--duration-fast) var(--ease-out-quart)}.summary-button.svelte-13nlyz1 svg.rotated:where(.svelte-13nlyz1){transform:rotate(180deg)}.summary-mark.svelte-13nlyz1{background:var(--chronicle-accent);border-radius:50%;width:9px;height:9px}.summary-mark[data-status=completed].svelte-13nlyz1{background:var(--chronicle-success)}.summary-mark[data-status=created].svelte-13nlyz1{background:var(--chronicle-text-muted)}.summary-mark[data-status=failed].svelte-13nlyz1{background:var(--chronicle-danger)}.steps.svelte-13nlyz1{padding-bottom:var(--space-md)}.checklist-message.svelte-13nlyz1{padding:var(--space-md) 0;color:var(--chronicle-text-muted);margin:0}.text-button.svelte-13nlyz1{color:var(--chronicle-link);font:inherit;text-underline-offset:3px;cursor:pointer;background:0 0;border:0;padding:0;text-decoration:underline}.try-again.svelte-13nlyz1{margin:var(--space-xs) 0 var(--space-md) var(--space-xl);border:1px solid var(--chronicle-border-strong);border-radius:var(--radius-sm);background:var(--chronicle-panel-surface);color:var(--chronicle-text);font:inherit;cursor:pointer;padding:8px 14px;font-weight:650}@media (prefers-reduced-motion:reduce){.summary-button.svelte-13nlyz1 svg:where(.svelte-13nlyz1){transition:none}}.skill-selector.svelte-1y8lm60{border:0;margin:1.25rem 0;padding:0}.skill-option.svelte-1y8lm60{align-items:flex-start;gap:.65rem;margin:.65rem 0;display:flex}.skill-option.svelte-1y8lm60 small:where(.svelte-1y8lm60){color:var(--color-text-muted,#667085);margin-top:.15rem;display:block}.launcher-form.svelte-1phnp69{gap:var(--space-lg);flex-direction:column;width:min(100%,920px);display:flex;container-type:inline-size}.launcher-fields.svelte-1phnp69{flex-direction:column;gap:0;display:flex}.launcher-fields.svelte-1phnp69:has(.active-launch-checklist:where(.svelte-1phnp69))>:where(.svelte-1phnp69):not(.form-footer){display:none}.field-group.svelte-1phnp69{gap:var(--space-xs);padding:var(--space-lg) 0;border-top:1px solid color-mix(in srgb, var(--chronicle-border) 84%, white 16%);flex-direction:column;display:flex}.title-field.svelte-1phnp69{gap:var(--space-xs) var(--space-lg);padding-bottom:var(--space-lg);grid-template-columns:minmax(188px,.36fr) minmax(0,1fr);align-items:start;display:grid}.title-field.svelte-1phnp69 .field-label:where(.svelte-1phnp69){padding-top:var(--space-xs);grid-column:1}.title-field.svelte-1phnp69 input:where(.svelte-1phnp69){grid-area:1/2/span 2}.title-field.svelte-1phnp69 .field-description:where(.svelte-1phnp69){grid-column:1;max-width:24ch}.model-config-group.svelte-1phnp69,.schedule-group.svelte-1phnp69{margin-top:var(--space-sm);padding:var(--space-lg);border:1px solid color-mix(in srgb, var(--chronicle-border) 86%, white 14%);border-radius:var(--radius-lg);background:color-mix(in srgb, var(--chronicle-panel-muted) 42%, transparent 58%)}.model-config-group.svelte-1phnp69{gap:var(--space-md)}.schedule-group.svelte-1phnp69{gap:var(--space-sm)}.model-config-intro.svelte-1phnp69,.model-config-turn-list-shell.svelte-1phnp69,.model-config-status-row.svelte-1phnp69{gap:8px;display:grid}.model-config-status.svelte-1phnp69{gap:12px;max-width:72ch;display:grid}.model-config-summary-header.svelte-1phnp69{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px 16px;display:flex}.model-config-summary-title.svelte-1phnp69{margin:0}.model-config-turn-list-shell.svelte-1phnp69{gap:0;display:grid}.model-config-summary-turn-list.svelte-1phnp69{gap:0;margin:0;padding:0;list-style:none;display:grid}.model-config-summary-turn.svelte-1phnp69{border-top:1px solid color-mix(in srgb, var(--chronicle-border) 82%, white 18%);min-height:52px;color:var(--chronicle-text);background:0 0;grid-template-columns:minmax(0,1fr) minmax(240px,320px) auto;align-items:center;gap:12px 16px;padding:8px 0;font-size:.9375rem;line-height:1.45;display:grid}.model-config-summary-turn-label.svelte-1phnp69{min-width:0;font-weight:620}.model-config-summary-turn-model.svelte-1phnp69{min-width:0;color:var(--chronicle-text-muted)}.model-config-summary-turn-select.svelte-1phnp69{min-width:0;max-width:100%}.model-config-summary-turn-side.svelte-1phnp69{justify-content:flex-end;min-width:72px;display:flex}.model-config-summary-turn-adjusted.svelte-1phnp69{color:var(--chronicle-link);font-size:.8125rem;font-weight:620;line-height:1.4}.model-config-summary-turn[data-adjusted=true].svelte-1phnp69 .model-config-summary-turn-label:where(.svelte-1phnp69),.model-config-summary-turn[data-adjusted=true].svelte-1phnp69 .model-config-summary-turn-model:where(.svelte-1phnp69){color:color-mix(in srgb, var(--chronicle-accent) 74%, var(--chronicle-text) 26%)}.model-config-status-note.svelte-1phnp69{color:color-mix(in srgb, var(--chronicle-accent) 68%, var(--chronicle-text) 32%)}.model-config-actions-row.svelte-1phnp69{flex-wrap:wrap;align-items:baseline;gap:8px 14px;display:flex}.model-config-link-button.svelte-1phnp69{color:var(--chronicle-link);font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-size:.95rem;font-weight:620;line-height:1.4;text-decoration:none}.model-config-link-button.svelte-1phnp69:hover{color:color-mix(in srgb, var(--chronicle-accent) 78%, var(--chronicle-text) 22%);text-underline-offset:.18em;text-decoration:underline}.model-config-reset-link.svelte-1phnp69{color:color-mix(in srgb, var(--chronicle-link) 88%, var(--chronicle-text) 12%)}.model-config-default-group.svelte-1phnp69{background:0 0;border-top:0;gap:10px;padding:14px 0;display:grid}.model-config-default-row.svelte-1phnp69{gap:var(--space-xs) var(--space-lg);grid-template-columns:minmax(188px,.36fr) minmax(0,1fr);align-items:center;display:grid}.model-config-default-select.svelte-1phnp69{min-width:0}.model-step-title.svelte-1phnp69{display:block}.launcher-fields.svelte-1phnp69>.field-group:where(.svelte-1phnp69):first-child{border-top:0;padding-top:0}.field-label.svelte-1phnp69{color:var(--chronicle-text);margin:0;font-size:.95rem;font-weight:620;line-height:1.4}.field-description.svelte-1phnp69,.state-msg.svelte-1phnp69{color:var(--chronicle-text-muted);margin:0;font-size:.875rem;line-height:1.55}input.svelte-1phnp69,select.svelte-1phnp69{border:1px solid color-mix(in srgb, var(--chronicle-border) 88%, white 12%);background:color-mix(in srgb, white 88%, var(--chronicle-panel-muted) 12%);width:100%;color:var(--chronicle-text);font:inherit;transition:border-color var(--duration-fast) var(--ease-out-quart), background var(--duration-fast) var(--ease-out-quart), box-shadow var(--duration-fast) var(--ease-out-quart);border-radius:14px;padding:12px 14px}input.svelte-1phnp69::placeholder{color:var(--chronicle-text-faint)}input.svelte-1phnp69:hover,select.svelte-1phnp69:hover{border-color:color-mix(in srgb, var(--chronicle-accent) 20%, var(--chronicle-border) 80%)}input.svelte-1phnp69:focus-visible,select.svelte-1phnp69:focus-visible,.cron-example-chip.svelte-1phnp69:focus-visible,.secondary-button.svelte-1phnp69:focus-visible,.model-config-link-button.svelte-1phnp69:focus-visible,.submit-button.svelte-1phnp69:focus-visible{outline:2px solid color-mix(in srgb, var(--chronicle-accent) 72%, white 28%);outline-offset:2px}.cron-example-chip.svelte-1phnp69{border:1px solid color-mix(in srgb, var(--chronicle-border-strong) 82%, white 18%);background:color-mix(in srgb, var(--chronicle-card-surface) 95%, white 5%);color:var(--chronicle-text);font:inherit;cursor:pointer;transition:transform var(--duration-fast) var(--ease-out-quart), border-color var(--duration-fast) var(--ease-out-quart), background var(--duration-fast) var(--ease-out-quart);border-radius:999px;padding:6px 12px}.cron-example-chip.svelte-1phnp69:hover{border-color:color-mix(in srgb, var(--chronicle-accent) 28%, var(--chronicle-border-strong) 72%);background:color-mix(in srgb, white 94%, var(--chronicle-accent-soft) 6%);transform:translateY(-1px)}.form-error-banner.svelte-1phnp69 ul:where(.svelte-1phnp69){margin:0;padding-left:18px}.form-error-banner.svelte-1phnp69 li:where(.svelte-1phnp69),.form-error-banner.svelte-1phnp69 p:where(.svelte-1phnp69){color:var(--chronicle-danger-text);font-size:.875rem;line-height:1.55}.form-error-banner.svelte-1phnp69{border:1px solid color-mix(in srgb, var(--chronicle-danger) 36%, var(--chronicle-border) 64%);background:color-mix(in srgb, white 90%, var(--chronicle-danger) 10%);border-radius:16px;gap:8px;padding:14px 16px;display:grid}.form-error-title.svelte-1phnp69,.state-title.svelte-1phnp69{color:var(--chronicle-text);margin:0;font-size:.95rem;font-weight:620;line-height:1.4}.state-block.svelte-1phnp69{background:var(--chronicle-panel-muted);border:1px solid var(--chronicle-border);border-radius:16px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:16px;display:flex}.state-block.error.svelte-1phnp69{background:color-mix(in srgb, white 92%, var(--chronicle-danger) 8%);border-color:color-mix(in srgb, var(--chronicle-danger) 34%, var(--chronicle-border) 66%)}.state-block.success.svelte-1phnp69{background:color-mix(in srgb, white 94%, var(--chronicle-success) 6%);border-color:color-mix(in srgb, var(--chronicle-success) 28%, var(--chronicle-border) 72%)}.state-block.warning.svelte-1phnp69{background:color-mix(in srgb, white 94%, var(--chronicle-warning,#d97706) 6%);border-color:color-mix(in srgb, var(--chronicle-warning,#d97706) 28%, var(--chronicle-border) 72%)}.state-copy.svelte-1phnp69{gap:6px;display:grid}.state-msg.error.svelte-1phnp69,.refresh-error.svelte-1phnp69,.schedule-error.svelte-1phnp69{color:var(--chronicle-danger-text)}.state-msg.warning.svelte-1phnp69{color:color-mix(in srgb, var(--chronicle-text) 78%, var(--chronicle-warning,#d97706) 22%)}.warning-list.svelte-1phnp69{gap:6px;margin:0;padding-left:18px;display:grid}.schedule-mode-grid.svelte-1phnp69{gap:var(--space-sm);grid-template-columns:repeat(auto-fit,minmax(176px,1fr));display:grid}.schedule-date-time-group.svelte-1phnp69{gap:10px}.cron-example-list.svelte-1phnp69{gap:8px;display:grid}.cron-example-chip.svelte-1phnp69{border-radius:14px;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px 14px;padding:10px 12px;display:flex}.cron-example-expression.svelte-1phnp69{font-family:var(--font-family-mono,ui-monospace, SFMono-Regular, Menlo, monospace);font-size:.875rem;font-weight:620}.cron-example-label.svelte-1phnp69{color:var(--chronicle-text-muted);font-size:.875rem;line-height:1.45}.form-footer.svelte-1phnp69{justify-content:flex-end;align-items:center;gap:var(--space-sm);margin-top:var(--space-lg);padding-top:var(--space-lg);border-top:1px solid color-mix(in srgb, var(--chronicle-border) 84%, white 16%);flex-wrap:wrap;display:flex}.secondary-button.svelte-1phnp69,.submit-button.svelte-1phnp69{min-height:46px;font:inherit;cursor:pointer;transition:transform var(--duration-fast) var(--ease-out-quart), background var(--duration-fast) var(--ease-out-quart), border-color var(--duration-fast) var(--ease-out-quart), box-shadow var(--duration-fast) var(--ease-out-quart);border-radius:999px;padding:0 16px;font-weight:620}.secondary-button.svelte-1phnp69{border:1px solid color-mix(in srgb, var(--chronicle-border-strong) 84%, white 16%);background:color-mix(in srgb, var(--chronicle-card-surface) 94%, white 6%);color:var(--chronicle-text)}.submit-button.svelte-1phnp69{border:1px solid color-mix(in srgb, var(--chronicle-accent) 72%, var(--chronicle-text) 28%);background:var(--chronicle-accent);color:var(--chronicle-text-on-accent);box-shadow:0 8px 18px color-mix(in srgb, var(--chronicle-accent) 28%, transparent 72%)}.secondary-button.svelte-1phnp69:hover,.submit-button.svelte-1phnp69:hover{transform:translateY(-1px)}.submit-button.svelte-1phnp69:disabled,.secondary-button.svelte-1phnp69:disabled{opacity:.62;cursor:default;box-shadow:none;transform:none}@container (width<=600px){.title-field.svelte-1phnp69,.model-config-default-row.svelte-1phnp69{grid-template-columns:1fr}.title-field.svelte-1phnp69 .field-label:where(.svelte-1phnp69),.title-field.svelte-1phnp69 input:where(.svelte-1phnp69),.title-field.svelte-1phnp69 .field-description:where(.svelte-1phnp69){grid-area:auto/1}.title-field.svelte-1phnp69 .field-label:where(.svelte-1phnp69){padding-top:0}}@media (width<=860px){.title-field.svelte-1phnp69,.model-config-default-row.svelte-1phnp69,.model-config-summary-turn.svelte-1phnp69{grid-template-columns:1fr}.title-field.svelte-1phnp69 .field-label:where(.svelte-1phnp69),.title-field.svelte-1phnp69 input:where(.svelte-1phnp69),.title-field.svelte-1phnp69 .field-description:where(.svelte-1phnp69){grid-area:auto/1}.title-field.svelte-1phnp69 .field-label:where(.svelte-1phnp69){padding-top:0}.model-config-summary-turn-side.svelte-1phnp69{justify-content:flex-start;min-width:0}}@media (width<=720px){.model-config-status-row.svelte-1phnp69{align-items:stretch}.model-config-summary-header.svelte-1phnp69{align-items:flex-start}.cron-example-chip.svelte-1phnp69{justify-content:flex-start}.form-footer.svelte-1phnp69{align-items:stretch}.submit-button.svelte-1phnp69,.secondary-button.svelte-1phnp69{justify-content:center;width:100%}}
@@ -0,0 +1 @@
1
+ import{$ as e,A as t,B as n,D as r,H as i,I as a,J as o,N as s,P as c,Q as l,U as u,V as d,Z as f,_ as p,bt as m,d as h,et as g,f as _,g as v,gt as y,ht as b,it as x,m as ee,nt as S,p as te,q as C,r as w,s as T,st as E,y as D,yt as O}from"./index-client-BYQviCtQ.js";import{D as k,b as A}from"./http-client-VpPXJwbR.js";import{C as ne,F as re,Q as ie,S as ae,T as oe,U as j,X as se,nt as ce,p as le,w as ue,x as de}from"./index-BkfAI7to.js";import{t as fe}from"./browser-storage-LbKCyf_w.js";import{a as pe,i as me,n as he,o as ge,r as _e,s as M,t as ve,u as ye}from"./ScheduleDateTimePicker-DmojMRxN.js";var N=`leitwerk.launcher-recents:`,P=5;function F(e,t){return`${N}${e}:${t}`}function be(e,t,n,r=P){let i;try{i=e.getItem(F(t,n))}catch{return[]}if(!i)return[];try{let e=JSON.parse(i);return Array.isArray(e)?k(e,r):[]}catch{return[]}}function xe(e,t,n,r,i=P){let a=be(e,t,n,i),o=A(a,r,i),s=F(t,n);try{return o.length===0?(e.removeItem?.(s),o):(e.setItem(s,JSON.stringify(o)),o)}catch{return a}}var I=a(`<div class="checklist-message svelte-13nlyz1" role="status"><p> </p> <button type="button" class="text-button svelte-13nlyz1">Retry progress</button></div>`),Se=a(`<p class="checklist-message svelte-13nlyz1">Preparing launch checklist…</p>`),Ce=a(`<button type="button" class="try-again svelte-13nlyz1">Try again</button>`),L=a(`<div class="steps svelte-13nlyz1"><!></div> <!>`,1),R=a(`<button type="button" class="summary-button svelte-13nlyz1"><span class="summary-mark svelte-13nlyz1" aria-hidden="true"></span> <span> </span> <svg viewBox="0 0 20 20" aria-hidden="true"><path d="m5 7 5 5 5-5"></path></svg></button> <!>`,1),z=a(`<section class="launch-checklist svelte-13nlyz1" aria-label="Process startup" aria-live="polite"><!></section>`);function we(n,r){y(r,!0);let i=x(null),a=x(null),p=x(!0),h=null,g=x(()=>{}),v=E(()=>{if(!u(i))return null;let e=u(i).steps.find(e=>e.id===`start_worker`)?.startedAt,t=u(i).steps.find(e=>e.id===`prepare_workspace`)?.completedAt;return!e||!t?null:Math.max(0,Math.round((Date.parse(t)-Date.parse(e))/1e3))}),ee=E(()=>u(i)?.steps.filter(e=>[`start_worker`,`connect_worker`,`prepare_workspace`,`start_first_turn`].includes(e.id)).every(e=>e.status===`completed`)??!1),te=E(()=>u(i)?.status===`completed`?u(ee)?u(v)===null?`Process started`:`Process started in ${u(v)}s`:`Process created`:u(i)?.status===`failed`?`Process startup needs attention`:u(i)?.status===`cancelled`?`Process startup was cancelled`:`Starting process`);o(()=>{let e=r.launchRunId,t=!1,n=0,o=null;S(i,null),S(a,null);let s=async()=>{let c=++n;try{let o=await de(e);if(t||c!==n)return;if(S(i,o,!0),S(a,null),o.instanceId&&o.instanceId!==h&&(h=o.instanceId,r.onInstanceAvailable?.(o.instanceId)),[`completed`,`failed`,`cancelled`].includes(o.status)){S(p,!1);return}}catch(e){if(t||c!==n)return;S(a,e instanceof Error?e.message:`Couldn't load launch progress`,!0)}o=setTimeout(()=>void s(),750)};S(g,()=>{o&&clearTimeout(o),o=null,s()});let c=le(t=>{t.payload.launchRunId===e&&u(g)()});return s(),()=>{t=!0,n+=1,o&&clearTimeout(o),c()}});var w=z(),T=f(w),O=t=>{var n=I(),r=f(n),i=f(r,!0);m(r);var o=e(r,2);m(n),C(()=>s(i,u(a))),d(`click`,o,function(...e){u(g)?.apply(this,e)}),c(t,n)},k=e=>{var t=Se();c(e,t)},A=n=>{var a=R(),o=l(a),h=f(o),g=e(h,2),v=f(g,!0);m(g);var y=e(g,2);let b;m(o);var x=e(o,2),w=n=>{var a=L(),o=l(a),s=f(o);{let e=E(()=>u(i).steps.map(e=>({...e,detail:e.safeSummary,timing:{startedAt:e.startedAt??null,endedAt:e.completedAt??null,running:![`completed`,`failed`,`cancelled`].includes(u(i).status)&&e.status===`in_progress`}})));M(s,{get steps(){return u(e)}})}m(o);var p=e(o,2),h=e=>{var t=Ce();d(`click`,t,function(...e){r.onTryAgain?.apply(this,e)}),c(e,t)};t(p,e=>{u(i).status===`failed`&&r.onTryAgain&&e(h)}),c(n,a)};t(x,e=>{u(p)&&e(w)}),C(()=>{_(o,`aria-expanded`,u(p)),_(h,`data-status`,u(i).status===`completed`&&!u(ee)?`created`:u(i).status),s(v,u(te)),b=D(y,0,`svelte-13nlyz1`,null,b,{rotated:u(p)})}),d(`click`,o,()=>S(p,!u(p))),c(n,a)};t(T,e=>{u(a)&&!u(i)?e(O):u(i)?e(A,-1):e(k,1)}),m(w),C(()=>_(w,`data-status`,u(i)?.status??`loading`)),c(n,w),b()}n([`click`]);function B(e){return e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)}function V(e){return Object.fromEntries(e.map(e=>[e.id,e]))}function Te(e){return e.id===`repoLocator`?`Repository path or URL`:e.label}function Ee(e,t){let n=e;for(let[e,r]of Object.entries(t).sort(([e],[t])=>t.length-e.length))n=n.replace(RegExp(`\\b${B(e)}\\b`,`g`),Te(r));return n}function De(e){return typeof e==`string`?e.trim()===``:e==null}function H(e,t){e.includes(t)||e.push(t)}function Oe(e,t){let n=V(e),r=typeof t.fieldId==`string`?n[t.fieldId]:void 0;if(r&&t.code===`required`)return`Required.`;if(r?.id===`repoLocator`&&t.code===`invalid_repo_locator`)return`Use a local path or remote Git URL.`;let i=Ee(t.message,n).trim();return i===``?`Check this field.`:i}function ke(e,t){let n={},r=[];for(let i of t){let t=Oe(e,i);if(typeof i.fieldId==`string`&&i.fieldId.trim()!==``){let e=i.fieldId.trim();n[e]=n[e]??[],H(n[e],t);continue}H(r,t)}return{fieldErrors:n,formErrors:r}}function Ae(e,t){for(let n of e)if((t[n.id]?.length??0)>0)return n.id;for(let e of Object.keys(t))if((t[e]?.length??0)>0)return e;return null}function je(e){if(e.warnings.length===0)return null;let t=V(e.fields),n=[],r=!0;for(let i of e.warnings){if(typeof i.fieldId!=`string`||i.fieldId.trim()===``){r=!1;continue}let a=i.fieldId.trim(),o=t[a];if(!o||o.required!==!0||!De(e.values[a])){r=!1;continue}H(n,a)}if(r&&n.length>0)return null;let i=[],a=[];for(let t of e.warnings)H(i,Oe(e.fields,t)),typeof t.fieldId==`string`&&t.fieldId.trim()!==``&&H(a,t.fieldId.trim());return{tone:`warning`,title:`We adjusted some starter values`,message:`Review the highlighted details before you launch.`,fieldIds:a,details:i}}function Me(e){return Object.values(e).filter(e=>e.trim()!==``).length}function Ne(e){let t=e.defaultModelProfileId.trim()!==``,n=Me(e.turnModelProfileIds),r=n+ +!!t,i=`recommended`;return t&&n>0?i=`mixed`:t?i=`default_only`:n>0&&(i=`turn_overrides_only`),{mode:i,hasCustomizations:r>0,hasProcessDefault:t,turnOverrideCount:n,totalCustomizedChoices:r}}function U(e){return e===`instance_turn_config`}function Pe(e){let t=W(e);return t?`Recommended (${t})`:`Recommended`}function Fe(e){let t=e.recommendedProfile?.id.trim()??``;return t===``?e.availableProfiles:e.availableProfiles.filter(e=>e.id!==t)}function Ie(){return`Use process default`}function W(e){if(!e)return null;let t=e.id.trim();if(t!==``)return t;let n=e.label.trim();return n===``?null:n}function Le(e){return e===`instance_default`||e===`process_config_default`}function G(e){return e===`process_config_turn`||e===`catalog_default`}function K(e){return e===`adjusted`?`Uses adjusted models`:`Use recommended models`}function q(e){if(e.kind==="default")switch(e.source){case`instance_default`:return`Custom for this launch (${e.modelName??`unknown model`})`;case`process_config_default`:return`Process default (${e.modelName??`unknown model`})`;case`catalog_default`:return`Recommended (${e.modelName??`unknown model`})`;default:return`No model available`}switch(e.source){case`instance_turn_config`:return`Custom (${e.modelName??`unknown model`})`;case`instance_default`:case`process_config_default`:return`Use process default`;case`process_config_turn`:case`catalog_default`:return`Recommended (${e.modelName??`unknown model`})`;default:return`No model available`}}function Re(e){let t=e?.source??`none`,n=e?.profile??null;if(!n)return{kind:`default`,label:`Default model`,turnId:null,state:`missing`,source:t,profile:null,modelName:null,statusLabel:`No model available`};let r={kind:`default`,label:`Default model`,turnId:null,state:t===`instance_default`?`custom`:`recommended`,source:t,profile:n,modelName:W(n),statusLabel:``};return{...r,statusLabel:q(r)}}function ze(e){let t=e.effective?.source??`none`,n=e.effective?.profile??null;if(!n)return{kind:`turn`,label:e.description,turnId:e.turnId,state:`missing`,source:t,profile:null,modelName:null,statusLabel:`No model available`};let r;r=t===`instance_turn_config`?`custom`:Le(t)?`use_process_default`:G(t)?`recommended`:`missing`;let i={kind:`turn`,label:e.description,turnId:e.turnId,state:r,source:t,profile:n,modelName:W(n),statusLabel:``};return{...i,statusLabel:q(i)}}function Be(e){let t=e.hasCustomizations?`adjusted`:`recommended`;return{mode:t,statusLabel:K(t),turns:(e.preview?.turns??[]).map(e=>({turnId:e.turnId,label:e.description,source:e.effective.source,profile:e.effective.profile,modelName:W(e.effective.profile),isAdjusted:U(e.effective.source)}))}}var J=a(`<small class="svelte-1y8lm60"> </small>`),Y=a(`<label class="skill-option svelte-1y8lm60"><input type="checkbox"/> <span><strong> </strong> <!></span></label>`),X=a(`<fieldset class="skill-selector svelte-1y8lm60" data-section="launcher-skills"><legend class="field-label">Skills</legend> <p class="field-description">Make selected skills available to every AI step in this run.</p> <!></fieldset>`);function Ve(n,i){y(i,!0);let a=[],o=w(i,`selectedIds`,31,()=>g([]));var l=X(),d=e(f(l),4);r(d,17,()=>i.skills,e=>e.id,(n,r)=>{var i=Y(),l=f(i);h(l);var d,p=e(l,2),g=f(p),_=f(g,!0);m(g);var v=e(g,2),y=e=>{var t=J(),n=f(t,!0);m(t),C(()=>s(n,u(r).description)),c(e,t)};t(v,e=>{u(r).description&&e(y)}),m(p),m(i),C(()=>{d!==(d=u(r).id)&&(l.value=(l.__value=u(r).id)??``),s(_,u(r).label)}),T(a,[],l,()=>(u(r).id,o()),o),c(n,i)}),m(l),c(n,l),b()}var He=a(`<p class="state-msg svelte-1phnp69">Loading the starter values for this process…</p>`),Ue=a(`<div class="state-block error svelte-1phnp69" role="status"><div class="state-copy svelte-1phnp69"><p class="state-title svelte-1phnp69">We couldn't prepare this form yet.</p> <p class="state-msg error svelte-1phnp69"> </p></div> <button type="button" class="secondary-button svelte-1phnp69" data-pressable="true">Retry</button></div>`),We=a(`<p class="state-msg error refresh-error svelte-1phnp69" role="status">We couldn't refresh the latest options, so we're showing the last set we loaded.</p>`),Ge=a(`<p class="state-msg error refresh-error svelte-1phnp69" role="status">We couldn't refresh the current model preview, so we're showing the last preview we loaded.</p>`),Ke=a(`<li class="state-msg warning svelte-1phnp69"> </li>`),qe=a(`<ul class="warning-list svelte-1phnp69"></ul>`),Je=a(`<div class="state-block warning svelte-1phnp69" data-section="launcher-defaults-notice" role="status"><div class="state-copy svelte-1phnp69"><p class="state-title svelte-1phnp69"> </p> <p class="state-msg svelte-1phnp69"> </p> <!></div></div>`),Ye=a(`<p class="svelte-1phnp69">Complete the required details, then try again.</p>`),Xe=a(`<p class="svelte-1phnp69"> </p>`),Ze=a(`<li class="svelte-1phnp69"> </li>`),Qe=a(`<ul class="svelte-1phnp69"></ul>`),$e=a(`<div class="form-error-banner svelte-1phnp69" data-section="launcher-form-error-banner" role="alert"><p class="form-error-title svelte-1phnp69"> </p> <!> <!> <!></div>`),et=a(`<div class="state-block success svelte-1phnp69" role="status"><div class="state-copy svelte-1phnp69"><p class="state-title svelte-1phnp69">Saved</p> <p class="state-msg svelte-1phnp69"> </p></div></div>`),tt=a(`<option> </option>`),nt=a(`<p class="field-description model-config-status-note svelte-1phnp69">Refreshing the current recommendation…</p>`),rt=a(`<button type="button" class="model-config-link-button svelte-1phnp69" data-action="cancel-model-config-editor">(cancel)</button>`),it=a(`<button type="button" class="model-config-link-button model-config-reset-link svelte-1phnp69" data-action="reset-model-config">(reset)</button>`),at=a(`<select class="model-config-summary-turn-select svelte-1phnp69"><option> </option><!></select>`),ot=a(`<span class="model-config-summary-turn-model svelte-1phnp69"> </span>`),st=a(`<span class="model-config-summary-turn-adjusted svelte-1phnp69">Adjusted</span>`),ct=a(`<li class="model-config-summary-turn svelte-1phnp69" role="listitem"><span class="model-config-summary-turn-label svelte-1phnp69"> </span> <!> <div class="model-config-summary-turn-side svelte-1phnp69"><!></div></li>`),lt=a(`<div class="model-config-turn-list-shell svelte-1phnp69" data-section="launcher-model-config-turn-list"><ul class="model-config-summary-turn-list svelte-1phnp69" data-section="launcher-model-config-summary-turn-list"></ul></div>`),ut=a(`<section class="field-group model-config-group svelte-1phnp69" data-section="launcher-model-config"><div class="model-config-intro svelte-1phnp69"><p class="field-label svelte-1phnp69">Model setup</p> <p class="field-description svelte-1phnp69">Recommended models are ready to use. Change the default model here, or customize individual steps when needed.</p></div> <div class="field-group model-config-default-group svelte-1phnp69" data-section="launcher-model-config-default"><div class="model-config-default-row svelte-1phnp69"><label class="field-label model-step-title svelte-1phnp69">Default model</label> <select class="model-config-default-select svelte-1phnp69"><option> </option><!></select></div> <!></div> <div class="model-config-status-row svelte-1phnp69"><div class="model-config-status svelte-1phnp69" data-section="launcher-model-config-summary" role="status" aria-live="polite"><div class="model-config-summary-header svelte-1phnp69"><p class="field-label model-config-summary-title svelte-1phnp69" data-section="launcher-model-config-summary-copy">Models Per Step</p> <div class="model-config-actions-row svelte-1phnp69"><button type="button" class="model-config-link-button svelte-1phnp69" data-action="toggle-model-config-editor"> </button> <!> <!></div></div> <!></div></div></section>`),dt=a(`<p class="field-description svelte-1phnp69"> </p>`),ft=a(`<div class="field-group nested-field-group schedule-date-time-group svelte-1phnp69"><label class="field-label svelte-1phnp69">Start at</label> <!> <!> <p class="field-description svelte-1phnp69">The server stores this in UTC and catches it up after a restart.</p></div>`),pt=a(`<button type="button" class="cron-example-chip svelte-1phnp69"><span class="cron-example-expression svelte-1phnp69"> </span> <span class="cron-example-label svelte-1phnp69"> </span></button>`),mt=a(`<p class="field-description svelte-1phnp69">Checking the next run…</p>`),ht=a(`<p class="field-description schedule-error svelte-1phnp69"> </p>`),gt=a(`<div class="field-group nested-field-group svelte-1phnp69"><label class="field-label svelte-1phnp69">Cron expression</label> <input type="text" placeholder="0 9 * * 1-5" class="svelte-1phnp69"/> <p class="field-description svelte-1phnp69">Cron uses 5 fields and runs in UTC.</p> <div class="cron-example-list svelte-1phnp69" data-section="launcher-cron-examples"></div> <!></div>`),_t=a(`<div class="active-launch-checklist svelte-1phnp69"><!></div>`),vt=a(`<button class="submit-button svelte-1phnp69" type="submit" data-pressable="true"> </button>`),yt=a(`<!> <!> <!> <!> <!> <form class="launcher-fields svelte-1phnp69" novalidate=""><div class="field-group title-field svelte-1phnp69"><label class="field-label svelte-1phnp69">Title</label> <input data-launcher-form-field="" type="text" placeholder="Optional title" class="svelte-1phnp69"/> <p class="field-description svelte-1phnp69">Leave blank to generate a title later.</p></div> <!> <!> <!> <section class="field-group schedule-group svelte-1phnp69" data-section="launcher-schedule-config"><div class="model-config-header"><div><p class="field-label svelte-1phnp69">When to run</p> <p class="field-description svelte-1phnp69">Store schedules in UTC, while this form shows times in your local timezone.</p></div></div> <div class="schedule-mode-grid svelte-1phnp69" role="radiogroup" aria-label="When to run"><label class="schedule-choice"><input type="radio" class="svelte-1phnp69"/> <span>Start now</span></label> <label class="schedule-choice"><input type="radio" class="svelte-1phnp69"/> <span>Start later</span></label> <label class="schedule-choice"><input type="radio" class="svelte-1phnp69"/> <span>Run on cron</span></label></div> <!></section> <div class="form-footer svelte-1phnp69"><!></div></form>`,1),bt=a(`<div class="launcher-form svelte-1phnp69"><!></div>`);function Z(n,a){y(a,!0);let T=w(a,`initialRelaunchDraft`,3,null),D=w(a,`initialTitle`,3,void 0),A=w(a,`initialValues`,3,null),le=w(a,`initialSkillIds`,3,null),de=w(a,`initialModelConfig`,3,null),M=w(a,`initialSchedule`,3,null),N=w(a,`editingFutureLaunch`,3,null),P=x(``),F=x(g([])),I=x(g({})),Se=x(g({})),Ce=x(g({})),L=x(``),R=x(g({})),z=x(!1),B=x(null),V=x(!0),Te=x(null),Ee=x(g([])),De=x(null),H=x(null),Oe=x(null),Me=x(!1),U=x(null),W=x(!1),Le=x(null),G=x(null),K=x(null),q=x(g([])),J=x(g({})),Y=x(`now`),X=x(``),Z=x(``),xt=x(``),Q=x(``),St=x(null),Ct=x(null),wt=x(!1),Tt=0,Et=0,Dt=0,Ot=0,kt=null,At=E(()=>a.launcher.skills??[]),jt=E(()=>Ne({defaultModelProfileId:u(L),turnModelProfileIds:u(R)})),Mt=E(()=>Re(u(H)?.defaultModel??null)),Nt=E(()=>Be({preview:u(H),hasCustomizations:u(jt).hasCustomizations})),Pt=E(()=>u(Oe)?.profile??(u(L).trim()===``?u(H)?.defaultModel.profile??null:null)),Ft=E(()=>Pe(u(Pt))),It=E(()=>Fe({availableProfiles:a.launcher.modelConfigSchema?.availableProfiles??[],recommendedProfile:u(Pt)})),Lt=E(()=>je({fields:a.launcher.launchConfigSchema.fields,values:u(I),warnings:u(Ee)})),Rt=E(()=>Object.values(u(J)).reduce((e,t)=>e+t.length,0)),zt=[{expression:`0 9 * * 1-5`,label:`Weekdays at 09:00 UTC`},{expression:`0 13 * * *`,label:`Daily at 13:00 UTC`},{expression:`0 */4 * * *`,label:`Every 4 hours`},{expression:`30 8 * * 1`,label:`Mondays at 08:30 UTC`}];function Bt(){return`${a.launcher.launchConfigSchema.id}-process-title`}function Vt(e){return`${a.launcher.launchConfigSchema.id}-${e}`}function Ht(e){return`${Vt(e)}-description`}function Ut(e){return`${Vt(e)}-option-description`}function Wt(e){return`${Vt(e)}-errors`}function Gt(e){queueMicrotask(()=>{let t=document.getElementById(Vt(e));t instanceof HTMLElement&&(t.focus(),typeof t.scrollIntoView==`function`&&t.scrollIntoView({behavior:`smooth`,block:`center`}))})}function Kt(){return a.launcher.launchConfigSchema.fields.some(e=>e.kind===`select`)}function qt(){return(a.launcher.modelConfigSchema?.llmTurns.length??0)>0}function $(){kt=null}function Jt(){if(!kt){$();return}let e=kt;$(),vn(e)}function Yt(e){return e.kind===`textarea`?`deferred`:`immediate`}function Xt(e){return typeof e.defaultModelProfileId==`string`?e.defaultModelProfileId:``}function Zt(e){let t={};for(let n of a.launcher.modelConfigSchema?.llmTurns??[]){let r=e.turnConfigs?.[n.turnId]?.modelProfileId;t[n.turnId]=typeof r==`string`?r:``}return t}function Qt(){let e=fe();if(!e)return{};let t={};for(let n of a.launcher.launchConfigSchema.fields)n.kind===`text`&&n.rememberRecentValues===!0&&(t[n.id]=be(e,a.launcher.id,n.id));return t}function $t(...e){let t={};for(let n of a.launcher.launchConfigSchema.fields)n.kind===`text`&&n.rememberRecentValues===!0&&(t[n.id]=k(e.flatMap(e=>e[n.id]??[])));return t}async function en(){let e=Qt();try{return $t(await oe(a.launcher.id),e)}catch{return e}}function tn(e){let t=fe();if(!t)return;let n={...u(Ce)};for(let r of a.launcher.launchConfigSchema.fields)r.kind===`text`&&r.rememberRecentValues===!0&&(n[r.id]=xe(t,a.launcher.id,r.id,typeof e[r.id]==`string`?e[r.id]:``));S(Ce,n,!0)}function nn(){return M()?{mode:M().mode,...typeof M().runAt==`string`?{runAt:M().runAt}:{},...typeof M().cronExpression==`string`?{cronExpression:M().cronExpression}:{}}:{mode:`now`}}function rn(e,t){switch(e.kind){case`boolean`:return t===!0;case`number`:return typeof t==`number`&&Number.isFinite(t)?String(t):typeof t==`string`?t:``;default:return typeof t==`string`?t:t==null?``:String(t)}}function an(e){let t={};for(let n of a.launcher.launchConfigSchema.fields)t[n.id]=rn(n,e[n.id]);return t}function on(e){let t={};for(let n of a.launcher.launchConfigSchema.fields){let r=e[n.id];switch(n.kind){case`boolean`:t[n.id]=r===!0;break;case`number`:{let e=typeof r==`string`?r:``;if(e===``)continue;let i=Number(e);t[n.id]=Number.isFinite(i)?i:e;break}default:t[n.id]=typeof r==`string`?r:``}}return t}function sn(){return on(u(I))}function cn(){return u(P).trim()===``?null:u(P)}function ln(e){let t=Object.fromEntries(Object.entries(e.turnModelProfileIds).filter(([,e])=>e.trim()!==``).map(([e,t])=>[e,{modelProfileId:t}]));return{...e.defaultModelProfileId.trim()===``?{}:{defaultModelProfileId:e.defaultModelProfileId.trim()},...Object.keys(t).length>0?{turnConfigs:t}:{}}}function un(){return ln({defaultModelProfileId:u(L),turnModelProfileIds:u(R)})}function dn(e){return Ne({defaultModelProfileId:Xt(e),turnModelProfileIds:Zt(e)}).turnOverrideCount>0}function fn(){S(G,null),S(K,null),S(q,[],!0),S(J,{},!0)}function pn(e){return u(H)?.turns.find(t=>t.turnId===e)?.effective??null}function mn(e,t){return ze({turnId:e,description:t,effective:pn(e),defaultLine:u(Mt)})}function hn(e){return e.kind!==`text`||e.rememberRecentValues!==!0?[]:u(Ce)[e.id]??[]}async function gn(e,t){if(!qt()){S(H,null),S(Oe,null),S(Me,!1),S(U,null);return}let n=++Dt;S(Me,u(H)===null),S(U,null);try{let r=await ne(a.launcher.id,on(e),t);if(n!==Dt)return;S(H,r,!0),(t.defaultModelProfileId??``).trim()===``&&S(Oe,r.defaultModel,!0)}catch(e){if(n!==Dt)return;S(U,e instanceof Error?e.message:`We couldn't refresh the model preview`,!0)}finally{n===Dt&&S(Me,!1)}}async function _n(e){if(!Kt()){S(Se,{},!0),S(De,null);return}let t=++Et;S(De,null);try{let n=await ue(a.launcher.id,on(e));if(t!==Et)return;S(Se,n,!0)}catch(e){if(t!==Et)return;S(De,e instanceof Error?e.message:`We couldn't refresh the available options`,!0)}}function vn(e){let t=ln({defaultModelProfileId:u(L),turnModelProfileIds:u(R)});_n(e),gn(e,t)}function yn(e,t){if(t===`immediate`){$(),vn(e);return}kt=e}async function bn(){let e=++Tt;$(),S(V,!0),S(Te,null),S(Ee,[],!0),S(De,null),S(U,null),fn(),S(P,``),S(F,[],!0),S(I,an({}),!0),S(Se,{},!0),S(Ce,Qt(),!0),S(H,null),S(Me,!1),S(L,``),S(R,Zt({}),!0),S(z,!1),S(B,null),S(Y,`now`),S(X,``),S(Z,``),S(xt,``),S(Q,``),S(St,null),S(Ct,null);try{let{defaults:t,title:n,modelConfig:r,warnings:i}=await ae(a.launcher.id);if(e!==Tt)return;let o=T(),s=o?.launcherInput??A(),c=s?{...t,...s}:t,l=o?o.title:D(),d=l===void 0?n??``:l??``,f=o?.modelConfig??de()??r;S(Ee,i??[],!0);let p=an(c),m=nn();if(S(P,d,!0),S(F,[...o?.skillIds??le()??[]],!0),S(I,p,!0),S(Ce,await en(),!0),e!==Tt)return;S(L,Xt(f),!0),S(R,Zt(f),!0),S(z,dn(f),!0),S(B,u(z)?Zt(f):null,!0),S(Y,m.mode,!0);let h=m.mode===`once`&&typeof m.runAt==`string`?me(m.runAt):{date:``,time:``},g=ge(h.time);S(X,h.date,!0),S(Z,g.hour,!0),S(xt,g.minute,!0),S(Q,m.mode===`cron`&&typeof m.cronExpression==`string`?m.cronExpression:``,!0),_n(p),gn(p,f)}catch(t){if(e!==Tt)return;S(Te,t instanceof Error?t.message:`We couldn't load the starter values`,!0)}finally{e===Tt&&S(V,!1)}}o(()=>(a.launcher,T(),D(),A(),le(),de(),M(),N()?.id,bn(),()=>{$(),Tt+=1,Et+=1,Dt+=1,Ot+=1}));function xn(e){let t=u(I)[e];return typeof t==`string`?t:``}function Sn(e){let t=u(I)[e];return typeof t==`string`?t:``}function Cn(e){return u(I)[e]===!0}function wn(e){return u(J)[e]??[]}function Tn(e){let t=u(Se)[e.id]??e.options??[],n=xn(e.id).trim();return e.kind!==`select`||n===``||t.some(e=>e.value===n)?t:[{value:n,label:n},...t]}function En(e){if(e.kind!==`select`)return null;let t=xn(e.id).trim();return t===``?null:Tn(e).find(e=>e.value===t)??null}function Dn(e){if(!u(J)[e])return;let t={...u(J)};delete t[e],S(J,t,!0)}function On(e,t,n={}){let r={...u(I),[e.id]:t};S(I,r,!0),Dn(e.id),S(G,null),S(q,[],!0),yn(r,n.dependentRefresh??Yt(e))}function kn(e){S(L,e,!0),S(G,null),S(q,[],!0),$(),gn(u(I),ln({defaultModelProfileId:e,turnModelProfileIds:u(R)}))}function An(e,t){let n={...u(R),[e]:t};S(R,n,!0),S(G,null),S(q,[],!0),$(),gn(u(I),ln({defaultModelProfileId:u(L),turnModelProfileIds:n}))}function jn(){S(B,{...u(R)},!0),S(z,!0)}function Mn(){S(B,null),S(z,!1)}function Nn(){let e=u(B)??{...u(R)};S(R,e,!0),S(G,null),S(q,[],!0),S(U,null),$(),Mn(),gn(u(I),ln({defaultModelProfileId:u(L),turnModelProfileIds:e}))}function Pn(){let e=Zt({});S(R,e,!0),S(G,null),S(q,[],!0),S(U,null),$(),gn(u(I),ln({defaultModelProfileId:u(L),turnModelProfileIds:e}))}function Fn(e=!1){e&&(Ot+=1),S(St,null),S(Ct,null),S(wt,!1)}function In(){S(G,null),S(K,null)}function Ln(){if(u(X)!==``||u(Z)!==``||u(xt)!==``)return;let e=_e(),t=ge(e.time);S(X,e.date,!0),S(Z,t.hour,!0),S(xt,t.minute,!0)}function Rn(e){S(Y,e,!0),e===`once`&&Ln(),In(),e!==`cron`&&Fn(!0)}function zn(e){S(X,e,!0),In()}function Bn(e){S(Z,e,!0),In()}function Vn(e){S(xt,e,!0),In()}function Hn(){return he({hour:u(Z),minute:u(xt)})}function Un(){return pe({date:u(X),time:Hn()})}function Wn(){return u(Y)===`once`?{mode:`once`,runAt:Un()}:u(Y)===`cron`?{mode:`cron`,cronExpression:u(Q)}:{mode:`now`}}function Gn(e){S(Q,e,!0),S(G,null),S(K,null)}async function Kn(e){let t=e.trim();if(u(Y)!==`cron`){Fn(!0);return}if(!t){Fn(!0);return}let n=++Ot;S(wt,!0),S(Ct,null);try{let e=await j(t);if(n!==Ot)return;S(St,e,!0)}catch(e){if(n!==Ot)return;S(St,null),S(Ct,e instanceof Error?e.message:`Couldn't preview this cron`,!0)}finally{n===Ot&&S(wt,!1)}}o(()=>{let e=u(Y),t=u(Q);if(e!==`cron`){Fn(!0);return}Kn(t)});function qn(e){let t=ke(a.launcher.launchConfigSchema.fields,e);S(J,t.fieldErrors,!0),S(q,t.formErrors,!0);let n=Ae(a.launcher.launchConfigSchema.fields,t.fieldErrors);n&&Gt(n)}function Jn(e){let t=[];return e.description&&t.push(Ht(e.id)),e.kind===`select`&&En(e)?.description&&t.push(Ut(e.id)),wn(e.id).length>0&&t.push(Wt(e.id)),t.length>0?t.join(` `):void 0}function Yn(){return u(W)?N()?u(Y)===`now`?`Running now…`:`Saving schedule…`:u(Y)===`now`?`Starting process…`:`Saving schedule…`:N()?u(Y)===`now`?`Run now`:`Save schedule`:u(Y)===`now`?a.launcher.launchConfigSchema.submitLabel??`Start process`:u(Y)===`cron`?`Save cron schedule`:`Schedule process`}async function Xn(e){e.preventDefault(),$(),fn(),S(W,!0);try{let e=Wn();if(e.mode===`once`&&!e.runAt){S(G,`Choose a future date and time.`),Gt(`schedule-date`);return}if(e.mode===`cron`&&!u(Q).trim()){S(G,`Enter a cron expression.`),Gt(`schedule-cron`);return}let t=cn(),n=sn(),r=un(),i=N()?await se(N().id,t,n,r,e,u(F)):await re(a.launcher.id,t,n,r,e,u(F));switch(i.kind){case`launch_started`:S(Le,i.launchRunId,!0);return;case`success`:tn(n),a.onLaunched(i.process.id);return;case`scheduled`:if(tn(n),a.onScheduled){a.onScheduled(i.futureExecution);return}S(K,i.futureExecution.scheduleKind===`cron`?`Saved cron schedule. Next run: ${ie(i.futureExecution.nextRunAt)}.`:`Scheduled for ${ie(i.futureExecution.nextRunAt)}.`,!0);return;case`validation_error`:qn(i.errors);return;case`failure`:S(G,i.error,!0);return}}catch(e){S(G,e instanceof Error?e.message:`We couldn't start this process`,!0)}finally{S(W,!1)}}var Zn=bt(),Qn=f(Zn),$n=e=>{var t=He();c(e,t)},er=t=>{var n=Ue(),r=f(n),i=e(f(r),2),a=f(i,!0);m(i),m(r);var o=e(r,2);m(n),C(()=>s(a,u(Te))),d(`click`,o,()=>void bn()),c(t,n)},tr=n=>{var o=yt(),g=l(o),y=e=>{var t=We();c(e,t)};t(g,e=>{u(De)&&e(y)});var b=e(g,2),x=e=>{var t=Ge();c(e,t)};t(b,e=>{u(U)&&e(x)});var w=e(b,2),T=n=>{var i=Je(),a=f(i),o=f(a),l=f(o,!0);m(o);var d=e(o,2),p=f(d,!0);m(d);var h=e(d,2),g=e=>{var t=qe();r(t,20,()=>u(Lt).details,e=>e,(e,t)=>{var n=Ke(),r=f(n,!0);m(n),C(()=>s(r,t)),c(e,n)}),m(t),c(e,t)};t(h,e=>{u(Lt).details.length>0&&e(g)}),m(a),m(i),C(()=>{_(i,`data-tone`,u(Lt).tone),_(i,`data-field-count`,u(Lt).fieldIds.length),s(l,u(Lt).title),s(p,u(Lt).message)}),c(n,i)};t(w,e=>{u(Lt)&&e(T)});var D=e(w,2),k=n=>{var i=$e(),a=f(i),o=f(a,!0);m(a);var l=e(a,2),d=e=>{var t=Ye();c(e,t)};t(l,e=>{u(Rt)>0&&e(d)});var p=e(l,2),h=e=>{var t=Xe(),n=f(t,!0);m(t),C(()=>s(n,u(G))),c(e,t)};t(p,e=>{u(G)&&e(h)});var g=e(p,2),v=e=>{var t=Qe();r(t,20,()=>u(q),e=>e,(e,t)=>{var n=Ze(),r=f(n,!0);m(n),C(()=>s(r,t)),c(e,n)}),m(t),c(e,t)};t(g,e=>{u(q).length>0&&e(v)}),m(i),C(()=>{_(i,`data-field-error-count`,u(Rt)),_(i,`data-form-error-count`,u(q).length),s(o,u(Rt)>0?`Check the highlighted fields.`:`We couldn't continue yet.`)}),c(n,i)};t(D,e=>{(u(G)||u(q).length>0||u(Rt)>0)&&e(k)});var A=e(D,2),ne=t=>{var n=et(),r=f(n),i=e(f(r),2),a=f(i,!0);m(i),m(r),m(n),C(()=>s(a,u(K))),c(t,n)};t(A,e=>{u(K)&&e(ne)});var re=e(A,2),ae=f(re),oe=f(ae),j=e(oe,2);h(j),_(j,`maxlength`,80),O(2),m(ae);var se=e(ae,2);r(se,17,()=>a.launcher.launchConfigSchema.fields,e=>e.id,(e,t)=>{{let n=E(()=>Vt(u(t).id)),r=E(()=>u(t).kind===`boolean`?Cn(u(t).id):u(t).kind===`number`?Sn(u(t).id):xn(u(t).id)),i=E(()=>wn(u(t).id)),a=E(()=>Ht(u(t).id)),o=E(()=>Wt(u(t).id)),s=E(()=>Jn(u(t))),c=E(()=>Tn(u(t))),l=E(()=>En(u(t))?.description??null),d=E(()=>Ut(u(t).id)),f=E(()=>hn(u(t)));ye(e,{get field(){return u(t)},get id(){return u(n)},get value(){return u(r)},get errors(){return u(i)},get descriptionId(){return u(a)},get errorId(){return u(o)},get describedBy(){return u(s)},marker:`launcher`,textareaRows:5,get options(){return u(c)},get selectedOptionDescription(){return u(l)},get selectedOptionDescriptionId(){return u(d)},get recentValues(){return u(f)},layout:`split`,onValueChange:(e,t)=>On(e,t),onTextBlur:Jt,onRecentValue:(e,t)=>On(e,t,{dependentRefresh:`immediate`})})}});var le=e(se,2),ue=e=>{Ve(e,{get skills(){return u(At)},get selectedIds(){return u(F)},set selectedIds(e){S(F,e,!0)}})};t(le,e=>{u(At).length>0&&e(ue)});var de=e(le,2),fe=n=>{var i=ut(),o=e(f(i),2),l=f(o),h=f(l),g=e(h,2),y=f(g),b=f(y,!0);m(y),y.value=y.__value=``;var x=e(y);r(x,17,()=>u(It),e=>e.id,(e,t)=>{var n=tt(),r=f(n);m(n);var i={};C(()=>{n.disabled=u(t).availability!==`available`,s(r,`${u(t).label??``}${u(t).availability===`available`?``:` — ${u(t).availability??`unavailable`}`}`),i!==(i=u(t).id)&&(n.value=(n.__value=u(t).id)??``)}),c(e,n)}),m(g);var ee;v(g),m(l);var S=e(l,2),te=e=>{var t=nt();c(e,t)};t(S,e=>{u(Me)&&u(H)===null&&e(te)}),m(o);var w=e(o,2),T=f(w),D=f(T),O=e(f(D),2),k=f(O),A=f(k,!0);m(k);var ne=e(k,2),re=e=>{var t=rt();d(`click`,t,Nn),c(e,t)};t(ne,e=>{u(z)&&e(re)});var ie=e(ne,2),ae=e=>{var t=it();d(`click`,t,Pn),c(e,t)};t(ie,e=>{!u(z)&&u(jt).turnOverrideCount>0&&e(ae)}),m(O),m(D);var oe=e(D,2),j=n=>{var i=lt(),o=f(i);r(o,23,()=>u(Nt).turns,e=>e.turnId,(n,i,o)=>{let l=E(()=>mn(u(i).turnId,u(i).label));var h=ct(),g=f(h),y=f(g,!0);m(g);var b=e(g,2),x=t=>{var n=at(),o=f(n),l=f(o,!0);m(o),o.value=o.__value=``;var h=e(o);r(h,17,()=>a.launcher.modelConfigSchema?.availableProfiles??[],e=>e.id,(e,t)=>{var n=tt(),r=f(n);m(n);var i={};C(()=>{n.disabled=u(t).availability!==void 0&&u(t).availability!==`available`,s(r,`${u(t).label??``}${u(t).availability&&u(t).availability!==`available`?` — ${u(t).availability}`:``}`),i!==(i=u(t).id)&&(n.value=(n.__value=u(t).id)??``)}),c(e,n)}),m(n);var g;v(n),C(e=>{_(n,`id`,`${a.launcher.launchConfigSchema.id}-${u(i).turnId}-model-profile`),s(l,e),g!==(g=u(R)[u(i).turnId]??``)&&(n.value=(n.__value=u(R)[u(i).turnId]??``)??``,p(n,u(R)[u(i).turnId]??``))},[()=>Ie()]),d(`change`,n,e=>An(u(i).turnId,e.currentTarget.value)),c(t,n)},ee=e=>{var t=ot(),n=f(t,!0);m(t),C(()=>s(n,u(i).modelName??`No model available`)),c(e,t)};t(b,e=>{u(z)?e(x):e(ee,-1)});var S=e(b,2),te=f(S),w=e=>{var t=st();c(e,t)};t(te,e=>{u(i).isAdjusted&&e(w)}),m(S),m(h),C(()=>{_(h,`data-turn-id`,u(i).turnId),_(h,`data-turn-index`,u(o)+1),_(h,`data-model-state`,u(l).state),_(h,`data-effective-source`,u(i).source),_(h,`data-effective-profile-id`,u(i).profile?.id??``),_(h,`data-model-name`,u(i).modelName??``),_(h,`data-adjusted`,u(i).isAdjusted?`true`:`false`),_(h,`data-editing`,u(z)?`true`:`false`),s(y,u(i).label)}),c(n,h)}),m(o),m(i),C(()=>{_(i,`data-open`,u(z)?`true`:`false`),_(i,`data-customization-mode`,u(jt).mode),_(i,`data-override-count`,u(jt).turnOverrideCount)}),c(n,i)};t(oe,e=>{u(Nt).turns.length>0&&e(j)}),m(T),m(w),m(i),C(()=>{_(o,`data-effective-source`,u(H)?.defaultModel.source??`none`),_(o,`data-effective-profile-id`,u(Mt).profile?.id??``),_(o,`data-model-state`,u(Mt).state),_(h,`for`,`${a.launcher.launchConfigSchema.id}-default-model-profile`),_(g,`id`,`${a.launcher.launchConfigSchema.id}-default-model-profile`),s(b,u(Ft)),ee!==(ee=u(L))&&(g.value=(g.__value=u(L))??``,p(g,u(L))),_(T,`data-summary-mode`,u(Nt).mode),_(T,`data-customization-mode`,u(jt).mode),_(T,`data-customization-count`,u(jt).totalCustomizedChoices),_(T,`data-preview-loading`,u(Me)),_(T,`data-editing`,u(z)?`true`:`false`),_(T,`data-override-count`,u(jt).turnOverrideCount),_(k,`aria-expanded`,u(z)),s(A,u(z)?`(done)`:`(edit)`)}),d(`change`,g,e=>kn(e.currentTarget.value)),d(`click`,k,()=>{if(u(z)){Mn();return}jn()}),c(n,i)},pe=E(()=>qt());t(de,e=>{u(pe)&&e(fe)});var me=e(de,2),he=e(f(me),2),ge=f(he),_e=f(ge);h(_e),O(2),m(ge);var M=e(ge,2),N=f(M);h(N),O(2),m(M);var be=e(M,2),xe=f(be);h(xe),O(2),m(be),m(he);var I=e(he,2),Se=n=>{let r=E(Un);var i=ft(),o=f(i),l=e(o,2);{let e=E(()=>`${a.launcher.launchConfigSchema.id}-schedule-date`),t=E(()=>`${a.launcher.launchConfigSchema.id}-schedule-hour`),n=E(()=>`${a.launcher.launchConfigSchema.id}-schedule-minute`);ve(l,{get dateId(){return u(e)},get hourId(){return u(t)},get minuteId(){return u(n)},get dateValue(){return u(X)},get hourValue(){return u(Z)},get minuteValue(){return u(xt)},dataSection:`launcher-schedule-once-picker`,onDateChange:zn,onHourChange:Bn,onMinuteChange:Vn})}var d=e(l,2),p=e=>{var t=dt(),n=f(t);m(t),C((e,t)=>s(n,`Runs at ${e??``} · ${t??``}`),[()=>ie(u(r)),()=>ce(u(r))]),c(e,t)};t(d,e=>{u(r)&&e(p)}),O(2),m(i),C(()=>_(o,`for`,`${a.launcher.launchConfigSchema.id}-schedule-date`)),c(n,i)},Ce=n=>{var i=gt(),o=f(i),l=e(o,2);h(l);var p=e(l,4);r(p,21,()=>zt,e=>e.expression,(t,n)=>{var r=pt(),i=f(r),a=f(i,!0);m(i);var o=e(i,2),l=f(o,!0);m(o),m(r),C(()=>{_(r,`data-cron-example`,u(n).expression),s(a,u(n).expression),s(l,u(n).label)}),d(`click`,r,()=>Gn(u(n).expression)),c(t,r)}),m(p);var g=e(p,2),v=e=>{var t=mt();c(e,t)},y=e=>{var t=dt(),n=f(t);m(t),C((e,t)=>s(n,`Next run: ${e??``} · ${t??``}`),[()=>ie(u(St)),()=>ce(u(St))]),c(e,t)},b=e=>{var t=ht(),n=f(t,!0);m(t),C(()=>s(n,u(Ct))),c(e,t)};t(g,e=>{u(wt)?e(v):u(St)?e(y,1):u(Ct)&&e(b,2)}),m(i),C(()=>{_(o,`for`,`${a.launcher.launchConfigSchema.id}-schedule-cron`),_(l,`id`,`${a.launcher.launchConfigSchema.id}-schedule-cron`),ee(l,u(Q))}),d(`input`,l,e=>{S(Q,e.currentTarget.value,!0),S(G,null),S(K,null)}),c(n,i)};t(I,e=>{u(Y)===`once`?e(Se):u(Y)===`cron`&&e(Ce,1)}),m(me);var B=e(me,2),Te=f(B),Ee=e=>{var t=_t();we(f(t),{get launchRunId(){return u(Le)},onInstanceAvailable:e=>{tn(sn()),a.onLaunched(e)},onTryAgain:()=>{S(Le,null),S(W,!1)}}),m(t),c(e,t)},Oe=e=>{var t=vt(),n=f(t,!0);m(t),C(e=>{t.disabled=u(W)||u(V),s(n,e)},[()=>Yn()]),c(e,t)};t(Te,e=>{u(Le)?e(Ee):e(Oe,-1)}),m(B),m(re),C((e,t)=>{_(oe,`for`,e),_(j,`id`,t),ee(j,u(P)),_(ge,`data-selected`,u(Y)===`now`),_(_e,`name`,`${a.launcher.launchConfigSchema.id}-schedule-mode`),te(_e,u(Y)===`now`),_(M,`data-selected`,u(Y)===`once`),_(N,`name`,`${a.launcher.launchConfigSchema.id}-schedule-mode`),te(N,u(Y)===`once`),_(be,`data-selected`,u(Y)===`cron`),_(xe,`name`,`${a.launcher.launchConfigSchema.id}-schedule-mode`),te(xe,u(Y)===`cron`)},[()=>Bt(),()=>Bt()]),i(`submit`,re,Xn),d(`input`,j,e=>{S(P,e.currentTarget.value,!0),fn()}),d(`change`,_e,()=>Rn(`now`)),d(`change`,N,()=>Rn(`once`)),d(`change`,xe,()=>Rn(`cron`)),c(n,o)};t(Qn,e=>{u(V)?e($n):u(Te)?e(er,1):e(tr,-1)}),m(Zn),C(()=>{_(Zn,`data-launcher-id`,a.launcher.id),_(Zn,`aria-busy`,u(W)||u(V))}),c(n,Zn),b()}n([`click`,`input`,`change`]);export{Z as t};
@@ -0,0 +1 @@
1
+ import{$ as e,A as t,B as n,D as r,I as i,J as a,N as o,P as s,Q as c,U as l,V as u,Z as d,bt as f,dt as p,et as m,f as h,gt as g,ht as _,it as v,k as y,nt as b,o as x,q as S,r as C,st as w,ut as T}from"./index-client-BYQviCtQ.js";import"./http-client-VpPXJwbR.js";import{c as E,r as D,s as O,u as k}from"./router.svelte-EEldxHlO.js";import{E as A,d as j,gt as ee,ht as te,mt as M,n as N,vt as P}from"./index-BkfAI7to.js";import{t as F}from"./GenericLauncher-DTyRwWVd.js";import{t as I}from"./PageHeader-sphJnWL1.js";import{i as ne,t as L}from"./ProcessFlowDiagram-Dx2wheGN.js";import{r as re}from"./process-terminal-display-BQRQwGod.js";var R=i(`<button type="button" class="process-card svelte-gj61h3" data-pressable="true"><span class="card-main svelte-gj61h3"><span class="card-title svelte-gj61h3"> </span> <span class="card-description svelte-gj61h3"> </span></span> <span class="card-flow svelte-gj61h3"><!></span></button>`);function z(t,n){g(n,!0);let r=C(n,`tabindexValue`,3,0),i=w(()=>n.launcher.card.title??n.launcher.label),a=w(()=>n.launcher.card.description??n.launcher.description);var c=R(),p=d(c),m=d(p),v=d(m,!0);f(m);var y=e(m,2),b=d(y,!0);f(y),f(p);var x=e(p,2),T=d(x);L(T,{get launcher(){return n.launcher},compact:!0}),f(x),f(c),S(()=>{h(c,`data-process-card-id`,n.launcher.id),h(c,`data-launcher-id`,n.launcher.id),h(c,`tabindex`,r()),h(c,`aria-label`,`${l(i)}. ${l(a)}`),o(v,l(i)),o(b,l(a))}),u(`click`,c,()=>n.onSelect(n.launcher.id)),u(`keydown`,c,function(...e){n.onKeydown?.apply(this,e)}),s(t,c),_()}n([`click`,`keydown`]);var B=i(`<div class="notice svelte-19ht5jv" role="status" data-state="launcher-unavailable">That process isn't available. Choose another process type to continue.</div>`),V=i(`<div class="gallery-state svelte-19ht5jv">Loading the process types you can launch…</div>`),H=i(`<div class="gallery-state gallery-error svelte-19ht5jv"><div><p class="state-title svelte-19ht5jv">We couldn't load the available process types.</p> <p class="svelte-19ht5jv"> </p></div> <button type="button" class="secondary-button svelte-19ht5jv" data-pressable="true">Retry</button></div>`),U=i(`<div class="gallery-state svelte-19ht5jv"><p class="state-title svelte-19ht5jv">No process types are available yet.</p> <p class="svelte-19ht5jv">Check your configured extensions or start the server components that expose launchers.</p></div>`),W=i(`<p class="gallery-refresh-error svelte-19ht5jv" role="status">We couldn't refresh the launcher list — showing the last process list we loaded.</p>`),G=i(`<li class="svelte-19ht5jv"><!></li>`),K=i(`<!> <ul class="card-grid svelte-19ht5jv" data-section="launcher-list"></ul>`,1),q=i(`<section class="process-gallery svelte-19ht5jv" data-section="process-gallery" aria-labelledby="process-gallery-title"><!> <!> <!></section>`);function ie(n,i){g(i,!0);let p=C(i,`loading`,3,!1),m=C(i,`error`,3,null),h=C(i,`unavailableLauncherId`,3,null),y=v(null);a(()=>{if(i.launchers.length===0){b(y,null);return}(!l(y)||!i.launchers.some(e=>e.id===l(y)))&&b(y,i.launchers[0]?.id??null,!0)});function x(e){queueMicrotask(()=>{Array.from(document.querySelectorAll(`[data-process-card-id]`)).find(t=>t.dataset.processCardId===e)?.focus()})}function T(){let e=document.querySelector(`[data-section="launcher-list"]`);if(!e)return 1;let t=getComputedStyle(e).gridTemplateColumns.split(` `).filter(e=>e.trim().length>0);return Math.max(1,t.length)}function E(e){if(i.launchers.length===0)return;let t=Math.max(0,Math.min(i.launchers.length-1,e)),n=i.launchers[t]?.id;n&&(b(y,n,!0),x(n))}function D(){let e=i.launchers.findIndex(e=>e.id===l(y));return e>=0?e:0}function O(e){if(!(e.defaultPrevented||i.launchers.length===0))switch(e.key){case`ArrowRight`:e.preventDefault(),E(D()+1);return;case`ArrowLeft`:e.preventDefault(),E(D()-1);return;case`ArrowDown`:e.preventDefault(),E(D()+T());return;case`ArrowUp`:e.preventDefault(),E(D()-T());return;case`Home`:e.preventDefault(),E(0);return;case`End`:e.preventDefault(),E(i.launchers.length-1)}}var k=q(),A=d(k);I(A,{title:`Start a process`,titleId:`process-gallery-title`,subtitle:`Choose the workflow that matches the work. Each card shows the turns the process will guide you through before you open setup.`});var j=e(A,2),ee=e=>{var t=B();s(e,t)};t(j,e=>{h()&&e(ee)});var te=e(j,2),M=e=>{var t=V();s(e,t)},N=t=>{var n=H(),r=d(n),a=e(d(r),2),c=d(a,!0);f(a),f(r);var l=e(r,2);f(n),S(()=>o(c,m())),u(`click`,l,function(...e){i.onRetry?.apply(this,e)}),s(t,n)},P=e=>{var t=U();s(e,t)},F=n=>{var a=K(),o=c(a),u=e=>{var t=W();s(e,t)};t(o,e=>{m()&&e(u)});var p=e(o,2);r(p,21,()=>i.launchers,e=>e.id,(e,t)=>{var n=G(),r=d(n);{let e=w(()=>l(t).id===l(y)?0:-1);z(r,{get launcher(){return l(t)},get tabindexValue(){return l(e)},onKeydown:O,onSelect:e=>{b(y,e,!0),i.onSelect(e)}})}f(n),s(e,n)}),f(p),s(n,a)};t(te,e=>{p()&&i.launchers.length===0?e(M):m()&&i.launchers.length===0?e(N,1):i.launchers.length===0?e(P,2):e(F,-1)}),f(k),s(n,k),_()}n([`click`]);var ae=i(`<button type="button" class="ui-button page-header-button" data-pressable="true"><span aria-hidden="true">←</span> Process types</button>`),oe=i(`<section class="configure-phase svelte-bpgxme" data-section="process-configure" aria-labelledby="configure-title" tabindex="-1"><header class="setup-header svelte-bpgxme"><!> <!></header> <div class="home-launcher-shell svelte-bpgxme" data-section="launcher-form"><!></div></section>`),se=i(`<div class="home-experience svelte-bpgxme" data-page="home"><!></div>`);function J(n,r){g(r,!0);let i=()=>p(N,`$wsStore`,c),o=()=>p(P,`$keyboardShortcutHelpOpen`,c),[c,h]=T(),S=C(r,`launcherId`,3,void 0),R=v(m([])),z=v(!1),B=v(null),V=v(null),H=v(null),U=v(null),W=0,G=v(null),K=v(null),q=null,J=w(()=>S()===void 0?null:S()),Y=w(()=>l(J)??l(V)),X=w(()=>l(Y)?l(R).find(e=>e.id===l(Y))??null:null);a(()=>{S()===null&&(b(V,null),b(U,null))}),a(()=>{if(!l(J)){b(H,null);return}l(R).length===0&&l(z)||b(H,l(R).some(e=>e.id===l(J))?null:l(J),!0)}),a(()=>{let e=l(X);if(!e){q=null;return}q!==e.id&&(q=e.id,queueMicrotask(()=>{l(K)&&l(K).focus({preventScroll:!0})}))}),a(()=>{let e=i().reconnectCount;l(G)!==e&&(b(G,e,!0),Z())}),a(()=>{let e=o(),t=t=>{if(!(t.defaultPrevented||e||!te(t)||ee(t.target)||l(R).length===0)){if(l(X)){if(t.key===`Escape`){t.preventDefault(),le();return}if(t.key===`Enter`&&!M(t.target)){let e=document.querySelector(`[data-section="launcher-form"] [data-launcher-form-field]`);if(!e)return;t.preventDefault(),e.focus(),e.scrollIntoView({behavior:`smooth`,block:`center`})}return}if(t.key===`ArrowDown`||t.key===`ArrowRight`||t.key===`ArrowUp`||t.key===`ArrowLeft`){let e=document.querySelector(`[data-section="process-gallery"] [data-process-card-id][tabindex="0"]`);if(!e)return;t.preventDefault(),e.focus()}}};return window.addEventListener(`keydown`,t),()=>{window.removeEventListener(`keydown`,t)}});async function Z(){let e=++W;b(z,!0),b(B,null);try{let t=await A();if(e!==W)return;b(R,t,!0);let n=re();n&&t.some(e=>e.id===n.launcherId)?(b(V,n.launcherId,!0),b(U,n,!0),b(H,null),l(J)||D(E(n.launcherId),{replace:!0})):(b(V,null),b(U,null),n&&b(H,n.launcherId,!0))}catch(t){if(e!==W)return;b(B,t instanceof Error?t.message:`Couldn't load available processes`,!0)}finally{e===W&&b(z,!1)}}function Q(){b(V,null),b(U,null)}function ce(e){Q(),S()===void 0&&b(V,e,!0),D(E(e))}function le(){Q(),D(E())}function ue(e,t){t&&ne({instanceId:e,message:t}),D(k(e))}function de(e){j(e),D(O(e.id))}var $=se(),fe=d($),pe=t=>{var n=oe(),r=d(n),i=d(r);{let e=e=>{var t=ae();u(`click`,t,le),s(e,t)},t=w(()=>l(X).card.title??l(X).label),n=w(()=>l(X).card.description??l(X).description);I(i,{get title(){return l(t)},titleId:`configure-title`,get subtitle(){return l(n)},actions:e,$$slots:{actions:!0}})}var a=e(i,2);L(a,{get launcher(){return l(X)},mode:`happy`,expandable:!0}),f(r);var o=e(r,2),c=d(o);y(c,()=>l(X).id,e=>{F(e,{get launcher(){return l(X)},get initialRelaunchDraft(){return l(U)},onLaunched:ue,onScheduled:de})}),f(o),f(n),x(n,e=>b(K,e),()=>l(K)),s(t,n)},me=e=>{ie(e,{get launchers(){return l(R)},get loading(){return l(z)},get error(){return l(B)},get unavailableLauncherId(){return l(H)},onRetry:()=>void Z(),onSelect:ce})};t(fe,e=>{l(X)?e(pe):e(me,-1)}),f($),s(n,$),_(),h()}n([`click`]);export{J as default};
@@ -0,0 +1 @@
1
+ .page-header.svelte-6k6hra{gap:var(--space-sm);z-index:5;display:grid;position:relative}.page-header-row.svelte-6k6hra{justify-content:space-between;align-items:center;gap:var(--space-md);min-width:0;min-height:44px;padding:0 0 var(--space-sm);border-bottom:1px solid color-mix(in srgb, var(--chronicle-border) 84%, white 16%);display:flex}.page-header-copy.svelte-6k6hra{gap:3px;min-width:0;display:grid}.page-header-subtitle.svelte-6k6hra{margin:0}h1.svelte-6k6hra{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:min(100%,68ch);font-family:var(--font-display);letter-spacing:-.012em;color:var(--chronicle-text);margin:0;font-size:clamp(1.12rem,1rem + .45vw,1.42rem);font-weight:650;line-height:1.08;overflow:hidden}.page-header-actions.svelte-6k6hra{justify-content:flex-end;align-items:center;gap:var(--space-xs);flex-wrap:wrap;flex:none;min-width:0;display:flex}.page-header-subtitle.svelte-6k6hra{max-width:68ch;font-size:var(--type-body-sm);color:var(--chronicle-text-muted);line-height:1.55}@media (width<=720px){.page-header-row.svelte-6k6hra,.page-header-actions.svelte-6k6hra{flex-direction:column;align-items:stretch}.page-header-actions.svelte-6k6hra{width:100%}h1.svelte-6k6hra{white-space:normal;font-size:1.02rem;line-height:1.16}.page-header[data-mobile-layout=compact].svelte-6k6hra .page-header-row:where(.svelte-6k6hra),.page-header[data-mobile-layout=compact].svelte-6k6hra .page-header-actions:where(.svelte-6k6hra){flex-direction:row;align-items:center}.page-header[data-mobile-layout=compact].svelte-6k6hra .page-header-actions:where(.svelte-6k6hra){flex:none;width:auto}.page-header[data-mobile-layout=compact].svelte-6k6hra h1:where(.svelte-6k6hra){white-space:nowrap}}