wizards 0.2.1 → 0.2.2

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 (23) hide show
  1. package/README.md +4 -1
  2. package/apps/runtime/dist/env.js +1 -1
  3. package/apps/runtime/dist/plugins/loader.js +23 -1
  4. package/apps/web/dist/assets/{ChangelogDialog-Co_9fs61.js → ChangelogDialog-4HCt88rf.js} +1 -1
  5. package/apps/web/dist/assets/{ChatPanel-Br3nYkUc.js → ChatPanel-B91fTrzg.js} +1 -1
  6. package/apps/web/dist/assets/{EditorPage-BSjQC6FE.js → EditorPage-ZZjb9mGV.js} +1 -1
  7. package/apps/web/dist/assets/{HomePage-8v4HqIbP.js → HomePage-Cn5TCZk7.js} +1 -1
  8. package/apps/web/dist/assets/{LocalRuntime-CTyLGC98.js → LocalRuntime-DupxjXff.js} +1 -1
  9. package/apps/web/dist/assets/{NewWizardPage-BBL2yenw.js → NewWizardPage-Bz3PIQGp.js} +1 -1
  10. package/apps/web/dist/assets/{PublicRunner-BwtoEVlE.js → PublicRunner-Axs1zwqe.js} +1 -1
  11. package/apps/web/dist/assets/{RunnerView-DOizlTad.js → RunnerView-Bhv6RNME.js} +1 -1
  12. package/apps/web/dist/assets/{SettingsPage-CBDv04YS.js → SettingsPage-in_RmI8i.js} +1 -1
  13. package/apps/web/dist/assets/{SetupPage-CfXTOaIm.js → SetupPage-xiqJMR0J.js} +1 -1
  14. package/apps/web/dist/assets/{SharePage-CgByqrAF.js → SharePage-C8B9BUSU.js} +1 -1
  15. package/apps/web/dist/assets/changelog-C2LDEzLQ.js +1 -0
  16. package/apps/web/dist/assets/{index-BmpnE7IO.js → index-2Ktgo6f1.js} +2 -2
  17. package/apps/web/dist/assets/{outputs-COE_nvAw.js → outputs-Dhqtf-SA.js} +1 -1
  18. package/apps/web/dist/index.html +1 -1
  19. package/modules/README.md +1 -1
  20. package/node_modules/@engenty-wizards/plugin-sdk/dist/index.d.ts +24 -1
  21. package/node_modules/@engenty-wizards/plugin-sdk/dist/studio.d.ts +1 -1
  22. package/package.json +1 -1
  23. package/apps/web/dist/assets/changelog-03JgixQA.js +0 -1
@@ -1,4 +1,4 @@
1
- import{a as e,n as t,t as n}from"./jsx-runtime-D3jfb0Ew.js";import{a as r,c as i,s as a}from"./api-KMi35npD.js";import{t as o}from"./createLucideIcon-q3MZMmnf.js";import{t as s}from"./check-CUpby_J9.js";import{n as c}from"./plus-Du-Jx8aI.js";import{n as l}from"./mic-Bvz4mA2j.js";import{d as u,h as d,m as f,y as p}from"./ui-Cs6lpsmj.js";import{d as m}from"./index-BmpnE7IO.js";var ee={name:`arrow-up`,size:24,node:[[`path`,{d:`m5 12 7-7 7 7`,key:`hav0vg`}],[`path`,{d:`M12 19V5`,key:`x0mq9r`}]]};ee.node;var te=o(ee),h={name:`film`,size:24,node:[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M7 3v18`,key:`bbkbws`}],[`path`,{d:`M3 7.5h4`,key:`zfgn84`}],[`path`,{d:`M3 12h18`,key:`1i2n21`}],[`path`,{d:`M3 16.5h4`,key:`1230mu`}],[`path`,{d:`M17 3v18`,key:`in4fa5`}],[`path`,{d:`M17 7.5h4`,key:`myr1c1`}],[`path`,{d:`M17 16.5h4`,key:`go4c1d`}]]};h.node;var ne=o(h),re={name:`link-2`,size:24,node:[[`path`,{d:`M9 17H7A5 5 0 0 1 7 7h2`,key:`8i5ue5`}],[`path`,{d:`M15 7h2a5 5 0 1 1 0 10h-2`,key:`1b9ql8`}],[`line`,{x1:`8`,x2:`16`,y1:`12`,y2:`12`,key:`1jonct`}]]};re.node;var ie=o(re),ae={name:`mail`,size:24,node:[[`path`,{d:`m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7`,key:`132q7q`}],[`rect`,{x:`2`,y:`4`,width:`20`,height:`16`,rx:`2`,key:`izxlao`}]]};ae.node;var oe=o(ae),se={name:`maximize-2`,size:24,node:[[`path`,{d:`M15 3h6v6`,key:`1q9fwt`}],[`path`,{d:`m21 3-7 7`,key:`1l2asr`}],[`path`,{d:`m3 21 7-7`,key:`tjx5ai`}],[`path`,{d:`M9 21H3v-6`,key:`wtvkvv`}]]};se.node;var ce=o(se),g={name:`paperclip`,size:24,node:[[`path`,{d:`m16 6-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551`,key:`1miecu`}]]};g.node;var le=o(g),ue={name:`pencil`,size:24,node:[[`path`,{d:`M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z`,key:`1a8usu`}],[`path`,{d:`m15 5 4 4`,key:`1mk7zo`}]]};ue.node;var de=o(ue),fe={name:`share`,size:24,node:[[`path`,{d:`M12 2v13`,key:`1km8f5`}],[`path`,{d:`m16 6-4-4-4 4`,key:`13yo43`}],[`path`,{d:`M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8`,key:`1b2hhj`}]]};fe.node;var pe=o(fe),_={name:`sparkles`,size:24,node:[[`path`,{d:`M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z`,key:`1s2grr`}],[`path`,{d:`M20 2v4`,key:`1rf3ol`}],[`path`,{d:`M22 4h-4`,key:`gwowj6`}],[`circle`,{cx:`4`,cy:`20`,r:`2`,key:`6kqj1y`}]],aliases:[`stars`]};_.node;var me=o(_),he={name:`square`,size:24,node:[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}]]};he.node;var ge=o(he),_e={name:`trash`,size:24,node:[[`path`,{d:`M10 11v6`,key:`nco0om`}],[`path`,{d:`M14 11v6`,key:`outv1u`}],[`path`,{d:`M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6`,key:`miytrc`}],[`path`,{d:`M3 6h18`,key:`d0wm0j`}],[`path`,{d:`M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2`,key:`e791ji`}]],aliases:[`trash-2`]};_e.node;var ve=o(_e),v=e(t(),1),ye=typeof window<`u`&&window.matchMedia?.(`(pointer: coarse)`).matches===!0,be=typeof navigator<`u`&&!!navigator.mediaDevices?.getUserMedia;function y(){(0,v.useEffect)(()=>{let e=window.visualViewport;if(!e)return;let t=document.documentElement,n=()=>{let n=e.scale>1.01?0:window.innerHeight-e.height-e.offsetTop,r=n>80;t.style.setProperty(`--kb`,r?`${Math.round(n)}px`:`0px`),t.classList.toggle(`keyboard-open`,r)};return n(),e.addEventListener(`resize`,n),e.addEventListener(`scroll`,n),()=>{e.removeEventListener(`resize`,n),e.removeEventListener(`scroll`,n),t.style.removeProperty(`--kb`),t.classList.remove(`keyboard-open`)}},[])}function xe(e){let[t,n]=(0,v.useState)(!1);return(0,v.useEffect)(()=>{if(!e||!(`wakeLock`in navigator))return;let t=null,r=!1,i=async()=>{if(!(r||t||document.visibilityState!==`visible`))try{let e=await navigator.wakeLock.request(`screen`);if(r){e.release().catch(()=>void 0);return}t=e,n(!0),e.addEventListener(`release`,()=>{t===e&&(t=null,n(!1))})}catch{}};return i(),document.addEventListener(`visibilitychange`,i),()=>{r=!0,document.removeEventListener(`visibilitychange`,i),t?.release().catch(()=>void 0),t=null,n(!1)}},[e]),t}var Se=`wz.notify`,Ce=new Set,we=null;function Te(){try{return localStorage.getItem(Se)===`1`}catch{return!1}}function Ee(e){try{e?localStorage.setItem(Se,`1`):localStorage.removeItem(Se)}catch{}for(let e of Ce)e()}var De=typeof window<`u`&&`Notification`in window;function Oe(){return Te()?De&&Notification.permission===`granted`?`on`:`quiet`:`off`}function ke(){return(0,v.useSyncExternalStore)(e=>(Ce.add(e),()=>Ce.delete(e)),Oe,()=>`off`)}function b(){return De&&Notification.permission===`denied`}async function Ae(){Ee(!0);try{we??=new AudioContext,we.resume()}catch{we=null}if(De&&Notification.permission==="default")try{await Notification.requestPermission()}catch{}De&&Notification.permission===`granted`&&await navigator.serviceWorker?.register(`${r}/sw.js`).catch(()=>void 0);for(let e of Ce)e();return Oe()}function x(){Ee(!1)}function je(){let e=we;if(e?.state!==`running`)return;let t=e.currentTime;for(let[n,r]of[660,880].entries()){let i=e.createOscillator(),a=e.createGain();i.frequency.value=r,a.gain.setValueAtTime(0,t+n*.16),a.gain.linearRampToValueAtTime(.18,t+n*.16+.02),a.gain.exponentialRampToValueAtTime(.001,t+n*.16+.32),i.connect(a).connect(e.destination),i.start(t+n*.16),i.stop(t+n*.16+.34)}}async function S(e){if(!Te())return;if(document.visibilityState===`visible`){je(),navigator.vibrate?.([120,60,120]);return}if(!De||Notification.permission!==`granted`)return;let t={body:e.body,tag:e.tag,icon:a(`icons/icon-192.png`),badge:a(`icons/icon-192.png`),data:{url:location.href}};try{let n=await navigator.serviceWorker?.getRegistration();if(n?.active){await n.showNotification(e.title,t);return}}catch{}try{new Notification(e.title,t)}catch{}}function Me(){if(typeof navigator>`u`||!navigator.canShare)return!1;try{return navigator.canShare({files:[new File([`x`],`x.pdf`,{type:`application/pdf`})]})}catch{return!1}}function Ne(e,t){this.v=e,this.k=t}function C(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 Pe(e){if(Array.isArray(e))return e}function Fe(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function Ie(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
1
+ import{a as e,n as t,t as n}from"./jsx-runtime-D3jfb0Ew.js";import{a as r,c as i,s as a}from"./api-KMi35npD.js";import{t as o}from"./createLucideIcon-q3MZMmnf.js";import{t as s}from"./check-CUpby_J9.js";import{n as c}from"./plus-Du-Jx8aI.js";import{n as l}from"./mic-Bvz4mA2j.js";import{d as u,h as d,m as f,y as p}from"./ui-Cs6lpsmj.js";import{d as m}from"./index-2Ktgo6f1.js";var ee={name:`arrow-up`,size:24,node:[[`path`,{d:`m5 12 7-7 7 7`,key:`hav0vg`}],[`path`,{d:`M12 19V5`,key:`x0mq9r`}]]};ee.node;var te=o(ee),h={name:`film`,size:24,node:[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M7 3v18`,key:`bbkbws`}],[`path`,{d:`M3 7.5h4`,key:`zfgn84`}],[`path`,{d:`M3 12h18`,key:`1i2n21`}],[`path`,{d:`M3 16.5h4`,key:`1230mu`}],[`path`,{d:`M17 3v18`,key:`in4fa5`}],[`path`,{d:`M17 7.5h4`,key:`myr1c1`}],[`path`,{d:`M17 16.5h4`,key:`go4c1d`}]]};h.node;var ne=o(h),re={name:`link-2`,size:24,node:[[`path`,{d:`M9 17H7A5 5 0 0 1 7 7h2`,key:`8i5ue5`}],[`path`,{d:`M15 7h2a5 5 0 1 1 0 10h-2`,key:`1b9ql8`}],[`line`,{x1:`8`,x2:`16`,y1:`12`,y2:`12`,key:`1jonct`}]]};re.node;var ie=o(re),ae={name:`mail`,size:24,node:[[`path`,{d:`m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7`,key:`132q7q`}],[`rect`,{x:`2`,y:`4`,width:`20`,height:`16`,rx:`2`,key:`izxlao`}]]};ae.node;var oe=o(ae),se={name:`maximize-2`,size:24,node:[[`path`,{d:`M15 3h6v6`,key:`1q9fwt`}],[`path`,{d:`m21 3-7 7`,key:`1l2asr`}],[`path`,{d:`m3 21 7-7`,key:`tjx5ai`}],[`path`,{d:`M9 21H3v-6`,key:`wtvkvv`}]]};se.node;var ce=o(se),g={name:`paperclip`,size:24,node:[[`path`,{d:`m16 6-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551`,key:`1miecu`}]]};g.node;var le=o(g),ue={name:`pencil`,size:24,node:[[`path`,{d:`M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z`,key:`1a8usu`}],[`path`,{d:`m15 5 4 4`,key:`1mk7zo`}]]};ue.node;var de=o(ue),fe={name:`share`,size:24,node:[[`path`,{d:`M12 2v13`,key:`1km8f5`}],[`path`,{d:`m16 6-4-4-4 4`,key:`13yo43`}],[`path`,{d:`M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8`,key:`1b2hhj`}]]};fe.node;var pe=o(fe),_={name:`sparkles`,size:24,node:[[`path`,{d:`M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z`,key:`1s2grr`}],[`path`,{d:`M20 2v4`,key:`1rf3ol`}],[`path`,{d:`M22 4h-4`,key:`gwowj6`}],[`circle`,{cx:`4`,cy:`20`,r:`2`,key:`6kqj1y`}]],aliases:[`stars`]};_.node;var me=o(_),he={name:`square`,size:24,node:[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}]]};he.node;var ge=o(he),_e={name:`trash`,size:24,node:[[`path`,{d:`M10 11v6`,key:`nco0om`}],[`path`,{d:`M14 11v6`,key:`outv1u`}],[`path`,{d:`M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6`,key:`miytrc`}],[`path`,{d:`M3 6h18`,key:`d0wm0j`}],[`path`,{d:`M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2`,key:`e791ji`}]],aliases:[`trash-2`]};_e.node;var ve=o(_e),v=e(t(),1),ye=typeof window<`u`&&window.matchMedia?.(`(pointer: coarse)`).matches===!0,be=typeof navigator<`u`&&!!navigator.mediaDevices?.getUserMedia;function y(){(0,v.useEffect)(()=>{let e=window.visualViewport;if(!e)return;let t=document.documentElement,n=()=>{let n=e.scale>1.01?0:window.innerHeight-e.height-e.offsetTop,r=n>80;t.style.setProperty(`--kb`,r?`${Math.round(n)}px`:`0px`),t.classList.toggle(`keyboard-open`,r)};return n(),e.addEventListener(`resize`,n),e.addEventListener(`scroll`,n),()=>{e.removeEventListener(`resize`,n),e.removeEventListener(`scroll`,n),t.style.removeProperty(`--kb`),t.classList.remove(`keyboard-open`)}},[])}function xe(e){let[t,n]=(0,v.useState)(!1);return(0,v.useEffect)(()=>{if(!e||!(`wakeLock`in navigator))return;let t=null,r=!1,i=async()=>{if(!(r||t||document.visibilityState!==`visible`))try{let e=await navigator.wakeLock.request(`screen`);if(r){e.release().catch(()=>void 0);return}t=e,n(!0),e.addEventListener(`release`,()=>{t===e&&(t=null,n(!1))})}catch{}};return i(),document.addEventListener(`visibilitychange`,i),()=>{r=!0,document.removeEventListener(`visibilitychange`,i),t?.release().catch(()=>void 0),t=null,n(!1)}},[e]),t}var Se=`wz.notify`,Ce=new Set,we=null;function Te(){try{return localStorage.getItem(Se)===`1`}catch{return!1}}function Ee(e){try{e?localStorage.setItem(Se,`1`):localStorage.removeItem(Se)}catch{}for(let e of Ce)e()}var De=typeof window<`u`&&`Notification`in window;function Oe(){return Te()?De&&Notification.permission===`granted`?`on`:`quiet`:`off`}function ke(){return(0,v.useSyncExternalStore)(e=>(Ce.add(e),()=>Ce.delete(e)),Oe,()=>`off`)}function b(){return De&&Notification.permission===`denied`}async function Ae(){Ee(!0);try{we??=new AudioContext,we.resume()}catch{we=null}if(De&&Notification.permission==="default")try{await Notification.requestPermission()}catch{}De&&Notification.permission===`granted`&&await navigator.serviceWorker?.register(`${r}/sw.js`).catch(()=>void 0);for(let e of Ce)e();return Oe()}function x(){Ee(!1)}function je(){let e=we;if(e?.state!==`running`)return;let t=e.currentTime;for(let[n,r]of[660,880].entries()){let i=e.createOscillator(),a=e.createGain();i.frequency.value=r,a.gain.setValueAtTime(0,t+n*.16),a.gain.linearRampToValueAtTime(.18,t+n*.16+.02),a.gain.exponentialRampToValueAtTime(.001,t+n*.16+.32),i.connect(a).connect(e.destination),i.start(t+n*.16),i.stop(t+n*.16+.34)}}async function S(e){if(!Te())return;if(document.visibilityState===`visible`){je(),navigator.vibrate?.([120,60,120]);return}if(!De||Notification.permission!==`granted`)return;let t={body:e.body,tag:e.tag,icon:a(`icons/icon-192.png`),badge:a(`icons/icon-192.png`),data:{url:location.href}};try{let n=await navigator.serviceWorker?.getRegistration();if(n?.active){await n.showNotification(e.title,t);return}}catch{}try{new Notification(e.title,t)}catch{}}function Me(){if(typeof navigator>`u`||!navigator.canShare)return!1;try{return navigator.canShare({files:[new File([`x`],`x.pdf`,{type:`application/pdf`})]})}catch{return!1}}function Ne(e,t){this.v=e,this.k=t}function C(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 Pe(e){if(Array.isArray(e))return e}function Fe(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function Ie(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
2
2
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Le(e,t){return Pe(e)||Fe(e,t)||w(e,t)||Ie()}function w(e,t){if(e){if(typeof e==`string`)return C(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)?C(e,t):void 0}}function T(e){var t,n;function r(t,n){try{var a=e[t](n),o=a.value,s=o instanceof Ne;Promise.resolve(s?o.v:o).then(function(n){if(s){var c=t===`return`&&o.k?t:`next`;if(!o.k||n.done)return r(c,n);n=e[c](n).value}i(!!a.done,n)},function(e){r(`throw`,e)})}catch(e){i(2,e)}}function i(e,i){e===2?t.reject(i):t.resolve({value:i,done:e}),(t=t.next)?r(t.key,t.arg):n=null}this._invoke=function(e,i){return new Promise(function(a,o){var s={key:e,arg:i,resolve:a,reject:o,next:null};n?n=n.next=s:(t=n=s,r(e,i))})},typeof e.return!=`function`&&(this.return=void 0)}T.prototype[typeof Symbol==`function`&&Symbol.asyncIterator||`@@asyncIterator`]=function(){return this},T.prototype.next=function(e){return this._invoke(`next`,e)},T.prototype.throw=function(e){return this._invoke(`throw`,e)},T.prototype.return=function(e){return this._invoke(`return`,e)};var Re=Object.entries,E=Object.setPrototypeOf,ze=Object.isFrozen,Be=Object.getPrototypeOf,Ve=Object.getOwnPropertyDescriptor,D=Object.freeze,O=Object.seal,He=Object.create,Ue=typeof Reflect<`u`&&Reflect,k=Ue.apply,We=Ue.construct;D||=function(e){return e},O||=function(e){return e},k||=function(e,t){var n=[...arguments].slice(2);return e.apply(t,n)},We||=function(e){return new e(...[...arguments].slice(1))};var Ge=P(Array.prototype.forEach);Array.prototype.indexOf;var Ke=P(Array.prototype.lastIndexOf),qe=P(Array.prototype.pop),Je=P(Array.prototype.push);Array.prototype.slice;var Ye=P(Array.prototype.splice),Xe=Array.isArray,Ze=P(String.prototype.toLowerCase),Qe=P(String.prototype.toString),$e=P(String.prototype.match),et=P(String.prototype.replace),tt=P(String.prototype.indexOf),nt=P(String.prototype.trim),rt=P(Number.prototype.toString),it=P(Boolean.prototype.toString),at=typeof BigInt>`u`?null:P(BigInt.prototype.toString),ot=typeof Symbol>`u`?null:P(Symbol.prototype.toString),A=P(Object.prototype.hasOwnProperty),j=P(Object.prototype.toString),M=P(RegExp.prototype.test),N=st(TypeError);function P(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);var n=[...arguments].slice(1);return k(e,t,n)}}function st(e){return function(){return We(e,[...arguments])}}function F(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ze;if(E&&E(e,null),!Xe(t))return e;let r=t.length;for(;r--;){let i=t[r];if(typeof i==`string`){let e=n(i);e!==i&&(ze(t)||(t[r]=e),i=e)}e[i]=!0}return e}function ct(e){for(let t=0;t<e.length;t++)A(e,t)||(e[t]=null);return e}function I(e){let t=He(null);for(let r of Re(e)){var n=Le(r,2);let i=n[0],a=n[1];A(e,i)&&(t[i]=Xe(a)?ct(a):a&&typeof a==`object`&&a.constructor===Object?I(a):a)}return t}function lt(e){switch(typeof e){case`string`:return e;case`number`:return rt(e);case`boolean`:return it(e);case`bigint`:return at?at(e):`0`;case`symbol`:return ot?ot(e):`Symbol()`;case`undefined`:return j(e);case`function`:case`object`:{if(e===null)return j(e);let t=e,n=L(t,`toString`);if(typeof n==`function`){let e=n(t);return typeof e==`string`?e:j(e)}return j(e)}default:return j(e)}}function L(e,t){for(;e!==null;){let n=Ve(e,t);if(n){if(n.get)return P(n.get);if(typeof n.value==`function`)return P(n.value)}e=Be(e)}function n(){return null}return n}function ut(e){try{return M(e,``),!0}catch{return!1}}var dt=D(`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(`.`)),ft=D(`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(`.`)),pt=D([`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`]),mt=D([`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`]),ht=D(`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(`.`)),gt=D([`maction`,`maligngroup`,`malignmark`,`mlongdiv`,`mscarries`,`mscarry`,`msgroup`,`mstack`,`msline`,`msrow`,`semantics`,`annotation`,`annotation-xml`,`mprescripts`,`none`]),_t=D([`#text`]),vt=D(`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(`.`)),yt=D(`accent-height.accumulate.additive.alignment-baseline.amplitude.ascent.attributename.attributetype.azimuth.basefrequency.baseline-shift.begin.bias.by.class.clip.clippathunits.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.cx.cy.d.dx.dy.diffuseconstant.direction.display.divisor.dominant-baseline.dur.edgemode.elevation.end.exponent.fill.fill-opacity.fill-rule.filter.filterunits.flood-color.flood-opacity.font-family.font-size.font-size-adjust.font-stretch.font-style.font-variant.font-weight.fx.fy.g1.g2.glyph-name.glyphref.gradientunits.gradienttransform.height.href.id.image-rendering.in.in2.intercept.k.k1.k2.k3.k4.kerning.keypoints.keysplines.keytimes.lang.lengthadjust.letter-spacing.kernelmatrix.kernelunitlength.lighting-color.local.marker-end.marker-mid.marker-start.markerheight.markerunits.markerwidth.maskcontentunits.maskunits.max.mask.mask-type.media.method.mode.min.name.numoctaves.offset.operator.opacity.order.orient.orientation.origin.overflow.paint-order.path.pathlength.patterncontentunits.patterntransform.patternunits.pointer-events.points.preservealpha.preserveaspectratio.primitiveunits.r.rx.ry.radius.refx.refy.repeatcount.repeatdur.restart.result.rotate.scale.seed.shape-rendering.slope.specularconstant.specularexponent.spreadmethod.startoffset.stddeviation.stitchtiles.stop-color.stop-opacity.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke.stroke-width.style.surfacescale.systemlanguage.tabindex.tablevalues.targetx.targety.transform.transform-origin.text-anchor.text-decoration.text-orientation.text-rendering.textlength.type.u1.u2.unicode.values.vector-effect.viewbox.visibility.version.vert-adv-y.vert-origin-x.vert-origin-y.width.word-spacing.wrap.writing-mode.xchannelselector.ychannelselector.x.x1.x2.xmlns.y.y1.y2.z.zoomandpan`.split(`.`)),bt=D(`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(`.`)),xt=D([`xlink:href`,`xml:id`,`xlink:title`,`xml:space`,`xmlns:xlink`]),St=O(/{{[\w\W]*|^[\w\W]*}}/g),Ct=O(/<%[\w\W]*|^[\w\W]*%>/g),wt=O(/\${[\w\W]*/g),Tt=O(/^data-[\-\w.\u00B7-\uFFFF]+$/),Et=O(/^aria-[\-\w]+$/),Dt=O(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Ot=O(/^(?:\w+script|data):/i),kt=O(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),At=O(/^html$/i),jt=O(/^[a-z][.\w]*(-[.\w]+)+$/i),Mt=O(/<[/\w!]/g),Nt=O(/<[/\w]/g),Pt=O(/<\/no(script|embed|frames)/i),Ft=O(/\/>/i),R={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},It=[`style`,`script`,`xmp`,`iframe`,`noembed`,`noframes`,`plaintext`,`noscript`],Lt=D(F({},It)),Rt=function(){let e={};return Ge(It,t=>{e[t]=O(RegExp(`</`+t+`(?=[\\t\\n\\f\\r />])`,`i`))}),D(e)}(),zt=function(){return typeof window>`u`?null:window},Bt=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}},Vt=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},Ht=function(e,t,n,r){return A(e,t)&&Xe(e[t])?F(r.base?I(r.base):{},e[t],r.transform):n},Ut=function(e,t,n){let r=A(e,t)?e[t]:void 0;return r&&typeof r==`object`?I(r):n()};function Wt(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:zt(),t=e=>Wt(e);if(t.version=`3.4.16`,t.removed=[],!e||!e.document||e.document.nodeType!==R.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=L(d,`cloneNode`),p=L(d,`remove`),m=L(d,`removeAttributeNode`),ee=L(d,`nextSibling`),te=L(d,`childNodes`),h=L(d,`parentNode`),ne=L(d,`shadowRoot`),re=L(d,`attributes`),ie=o&&o.prototype?L(o.prototype,`nodeType`):null,ae=o&&o.prototype?L(o.prototype,`nodeName`):null,oe=o&&o.prototype?L(o.prototype,`ownerDocument`):null,se=function(e){return ie?ie(e):e.nodeType},ce=function(e){return ae?ae(e):e.nodeName};if(typeof a==`function`){let e=n.createElement(`template`);e.content&&e.content.ownerDocument&&(n=e.content.ownerDocument)}let g,le=``,ue,de=!1,fe=0,pe=function(){if(fe>0)throw N(`A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.`)},_=function(e){pe(),fe++;try{return g.createHTML(e)}finally{fe--}},me=function(e){pe(),fe++;try{return g.createScriptURL(e)}finally{fe--}},he=function(){return de||=(ue=Bt(u,i),!0),ue},ge=n,_e=ge.implementation,ve=ge.createNodeIterator,v=ge.createDocumentFragment,ye=ge.getElementsByTagName,be=r.importNode,y=Vt();t.isSupported=typeof Re==`function`&&typeof h==`function`&&_e&&_e.createHTMLDocument!==void 0;let xe=St,Se=Ct,Ce=wt,we=Tt,Te=Et,Ee=Ot,De=kt,Oe=jt,ke=Dt,b=null,Ae=F({},[...dt,...ft,...pt,...ht,..._t]),x=null,je=F({},[...vt,...yt,...bt,...xt]),S=Object.seal(He(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}})),Me=null,Ne=null,C=Object.seal(He(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),Pe=!0,Fe=!0,Ie=!1,Le=!0,w=!1,T=!0,E=!1,ze=!1,Be=null,Ve=null,Ue=!1,k=!1,We=!1,rt=!1,it=!0,at=!1,ot=`user-content-`,j=!0,P=!1,st={},ct=null,It=F({},`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(`.`)),Gt=null,Kt=F({},[`audio`,`video`,`img`,`source`,`image`,`track`]),z=null,qt=F({},[`alt`,`class`,`for`,`id`,`label`,`name`,`pattern`,`placeholder`,`role`,`summary`,`title`,`value`,`style`,`xmlns`]),B=`http://www.w3.org/1998/Math/MathML`,V=`http://www.w3.org/2000/svg`,H=`http://www.w3.org/1999/xhtml`,Jt=H,U=!1,Yt=null,Xt=F({},[B,V,H],Qe),Zt=D([`mi`,`mo`,`mn`,`ms`,`mtext`]),Qt=F({},Zt),$t=D([`annotation-xml`]),en=F({},$t),tn=F({},[`title`,`style`,`font`,`a`,`script`]),nn=null,rn=[`application/xhtml+xml`,`text/html`],W=null,an=null,on=n.createElement(`form`),sn=function(e){return e instanceof RegExp||e instanceof Function},cn=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(an&&an===e)return;(!e||typeof e!=`object`)&&(e={}),e=I(e),nn=rn.indexOf(e.PARSER_MEDIA_TYPE)===-1?`text/html`:e.PARSER_MEDIA_TYPE,W=nn===`application/xhtml+xml`?Qe:Ze,b=Ht(e,`ALLOWED_TAGS`,Ae,{transform:W}),x=Ht(e,`ALLOWED_ATTR`,je,{transform:W}),Yt=Ht(e,`ALLOWED_NAMESPACES`,Xt,{transform:Qe}),z=Ht(e,`ADD_URI_SAFE_ATTR`,qt,{transform:W,base:qt}),Gt=Ht(e,`ADD_DATA_URI_TAGS`,Kt,{transform:W,base:Kt}),ct=Ht(e,`FORBID_CONTENTS`,It,{transform:W}),Me=Ht(e,`FORBID_TAGS`,I({}),{transform:W}),Ne=Ht(e,`FORBID_ATTR`,I({}),{transform:W}),st=A(e,`USE_PROFILES`)?e.USE_PROFILES&&typeof e.USE_PROFILES==`object`?I(e.USE_PROFILES):e.USE_PROFILES:!1,Pe=e.ALLOW_ARIA_ATTR!==!1,Fe=e.ALLOW_DATA_ATTR!==!1,Ie=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Le=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,w=e.SAFE_FOR_TEMPLATES||!1,T=e.SAFE_FOR_XML!==!1,E=e.WHOLE_DOCUMENT||!1,k=e.RETURN_DOM||!1,We=e.RETURN_DOM_FRAGMENT||!1,rt=e.RETURN_TRUSTED_TYPE||!1,Ue=e.FORCE_BODY||!1,it=e.SANITIZE_DOM!==!1,at=e.SANITIZE_NAMED_PROPS||!1,j=e.KEEP_CONTENT!==!1,P=e.IN_PLACE||!1,ke=ut(e.ALLOWED_URI_REGEXP)?e.ALLOWED_URI_REGEXP:Dt,Jt=typeof e.NAMESPACE==`string`?e.NAMESPACE:H,Qt=Ut(e,`MATHML_TEXT_INTEGRATION_POINTS`,()=>F({},Zt)),en=Ut(e,`HTML_INTEGRATION_POINTS`,()=>F({},$t));let t=Ut(e,`CUSTOM_ELEMENT_HANDLING`,()=>He(null));if(S=He(null),A(t,`tagNameCheck`)&&sn(t.tagNameCheck)&&(S.tagNameCheck=t.tagNameCheck),A(t,`attributeNameCheck`)&&sn(t.attributeNameCheck)&&(S.attributeNameCheck=t.attributeNameCheck),A(t,`allowCustomizedBuiltInElements`)&&typeof t.allowCustomizedBuiltInElements==`boolean`&&(S.allowCustomizedBuiltInElements=t.allowCustomizedBuiltInElements),O(S),w&&(Fe=!1),We&&(k=!0),st&&(b=F({},_t),x=He(null),st.html===!0&&(F(b,dt),F(x,vt)),st.svg===!0&&(F(b,ft),F(x,yt),F(x,xt)),st.svgFilters===!0&&(F(b,pt),F(x,yt),F(x,xt)),st.mathMl===!0&&(F(b,ht),F(x,bt),F(x,xt))),C.tagCheck=null,C.attributeCheck=null,A(e,`ADD_TAGS`)&&(typeof e.ADD_TAGS==`function`?C.tagCheck=e.ADD_TAGS:Xe(e.ADD_TAGS)&&(b===Ae&&(b=I(b)),F(b,e.ADD_TAGS,W))),A(e,`ADD_ATTR`)&&(typeof e.ADD_ATTR==`function`?C.attributeCheck=e.ADD_ATTR:Xe(e.ADD_ATTR)&&(x===je&&(x=I(x)),F(x,e.ADD_ATTR,W))),A(e,`ADD_FORBID_CONTENTS`)&&Xe(e.ADD_FORBID_CONTENTS)&&(ct===It&&(ct=I(ct)),F(ct,e.ADD_FORBID_CONTENTS,W)),j&&(b[`#text`]=!0),E&&F(b,[`html`,`head`,`body`]),b.table&&(F(b,[`tbody`]),delete Me.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!=`function`)throw N(`TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.`);if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!=`function`)throw N(`TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.`);let t=g;g=e.TRUSTED_TYPES_POLICY;try{le=_(``)}catch(e){throw g=t,e}}else e.TRUSTED_TYPES_POLICY===null?(g=void 0,le=``):(g===void 0&&(g=he()),g&&typeof le==`string`&&(le=_(``)));D&&D(e),an=e},ln=F({},[...ft,...pt,...mt]),un=F({},[...ht,...gt]),dn=function(e,t,n){return t.namespaceURI===H?e===`svg`:t.namespaceURI===B?e===`svg`&&(n===`annotation-xml`||Qt[n]):!!ln[e]},fn=function(e,t,n){return t.namespaceURI===H?e===`math`:t.namespaceURI===V?e===`math`&&en[n]:!!un[e]},pn=function(e,t,n){return t.namespaceURI===V&&!en[n]||t.namespaceURI===B&&!Qt[n]?!1:!un[e]&&(tn[e]||!ln[e])},mn=function(e){let t=h(e);(!t||!t.tagName)&&(t={namespaceURI:Jt,tagName:`template`});let n=Ze(e.tagName),r=Ze(t.tagName);return Yt[e.namespaceURI]?e.namespaceURI===V?dn(n,t,r):e.namespaceURI===B?fn(n,t,r):e.namespaceURI===H?pn(n,t,r):!!(nn===`application/xhtml+xml`&&Yt[e.namespaceURI]):!1},G=function(e){Je(t.removed,{element:e});try{h(e).removeChild(e)}catch{if(p(e),!h(e))throw N(`a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place`)}},hn=function(e,t,n){try{m(e,t)}catch{try{e.removeAttribute(n)}catch{}}},gn=function(e){yn(e);let t=te(e);if(t){let e=[];Ge(t,t=>{Je(e,t)}),Ge(e,e=>{try{p(e)}catch{}})}let n=re(e);if(n)for(let t=n.length-1;t>=0;--t){let r=n[t],i=r&&r.name;typeof i==`string`&&hn(e,r,i)}},_n=function(e,n,r){if(!r)try{r=n.getAttributeNode(e)}catch{r=null}Je(t.removed,{attribute:r||null,from:n});try{r?m(n,r):n.removeAttribute(e)}catch{try{n.removeAttribute(e)}catch{}}if(e===`is`){if(k||We)try{G(n)}catch{}else try{n.setAttribute(e,``)}catch{}}},vn=function(e){let t=re(e);if(t)for(let n=t.length-1;n>=0;--n){let r=t[n],i=r&&r.name;typeof i!=`string`||x[W(i)]||hn(e,r,i)}},yn=function(e){let t=[e];for(;t.length>0;){let e=t.pop();se(e)===R.element&&vn(e);let n=te(e);if(n)for(let e=n.length-1;e>=0;--e)t.push(n[e])}},bn=function(e,t){return T?e===`patchsrc`||e===`for`&&t!==`label`&&t!==`output`:!1},xn=function(e){if(!T)return;let t=[e];for(;t.length>0;){let e=t.pop(),n=se(e);if(n===R.processingInstruction||n===R.comment&&M(Nt,e.data)){try{p(e)}catch{}continue}if(n===R.element){let t=e,n=W(ce(e));try{t.hasAttribute&&t.hasAttribute(`patchsrc`)&&t.removeAttribute(`patchsrc`),t.hasAttribute&&t.hasAttribute(`for`)&&bn(`for`,n)&&t.removeAttribute(`for`)}catch{}}let r=te(e);if(r)for(let e=r.length-1;e>=0;--e)t.push(r[e])}},K=function(e){let t=null,r=null;if(Ue)e=`<remove></remove>`+e;else{let t=$e(e,/^[\r\n\t ]+/);r=t&&t[0]}nn===`application/xhtml+xml`&&Jt===H&&(e=`<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>`+e+`</body></html>`);let i=g?_(e):e;if(Jt===H)try{t=new l().parseFromString(i,nn)}catch{}if(!t||!t.documentElement){t=_e.createDocument(Jt,`template`,null);try{t.documentElement.innerHTML=U?le:i}catch{}}let a=t.body||t.documentElement;return e&&r&&a.insertBefore(n.createTextNode(r),a.childNodes[0]||null),Jt===H?ye.call(t,E?`html`:`body`)[0]:E?t.documentElement:a},Sn=function(e){let t=oe?oe(e):e.ownerDocument;return ve.call(t||e,e,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},q=function(e){return e=et(e,xe,` `),e=et(e,Se,` `),e=et(e,Ce,` `),e},Cn=function(e){e.normalize();let t=oe?oe(e):e.ownerDocument,n=ve.call(t||e,e,c.SHOW_TEXT|c.SHOW_COMMENT|c.SHOW_CDATA_SECTION|c.SHOW_PROCESSING_INSTRUCTION,null),r=n.nextNode();for(;r;)r.data=q(r.data),r=n.nextNode();let i=e.querySelectorAll?.call(e,`template`);i&&Ge(i,e=>{Tn(e.content)&&Cn(e.content)})},wn=function(e){let t=ae?ae(e):null;return typeof t!=`string`||W(t)!==`form`?!1:typeof e.nodeName!=`string`||typeof e.textContent!=`string`||typeof e.removeChild!=`function`||e.attributes!==re(e)||typeof e.removeAttribute!=`function`||typeof e.removeAttributeNode!=`function`||typeof e.getAttributeNode!=`function`||typeof e.setAttribute!=`function`||typeof e.namespaceURI!=`string`||typeof e.insertBefore!=`function`||typeof e.hasChildNodes!=`function`||e.nodeType!==ie(e)||e.childNodes!==te(e)},Tn=function(e){if(!ie||typeof e!=`object`||!e)return!1;try{return ie(e)===R.documentFragment}catch{return!1}},En=function(e){if(!ie||typeof e!=`object`||!e)return!1;try{return typeof ie(e)==`number`}catch{return!1}};function J(e,n,r){e.length!==0&&Ge(e,e=>{e.call(t,n,r,an)})}let Dn=function(e,t){return!!(T&&e.hasChildNodes()&&!En(e.firstElementChild)&&M(Mt,e.textContent)&&M(Mt,e.innerHTML)||T&&e.namespaceURI===H&&Lt[t]&&(En(e.firstElementChild)||typeof e.textContent==`string`&&M(Rt[t],e.textContent))||e.nodeType===R.processingInstruction||T&&e.nodeType===R.comment&&M(Nt,e.data))},On=function(e,t){return e instanceof RegExp?M(e,t):e instanceof Function&&!!e(t,...[...arguments].slice(2))},kn=function(e,t,n){if(!Me[t]&&Fn(t)&&On(S.tagNameCheck,t))return!1;if(j&&!ct[t]){let t=h(e),r=te(e);if(r&&t){let i=r.length;for(let a=i-1;a>=0;--a){let i=e===n?f(r[a],!0):r[a];t.insertBefore(i,ee(e))}}}return G(e),!0},An=function(e,t,n,r){return e.length===0?t:t===n||t===r?I(t):t},jn=function(e,t){return e===t||h(e)!==null?!1:(P&&yn(e),!0)},Mn=function(e,n){if(J(y.beforeSanitizeElements,e,null),jn(e,n))return!0;if(wn(e))return G(e),!0;let r=W(ce(e));if(b=An(y.uponSanitizeElement,b,Ae,Be),J(y.uponSanitizeElement,e,{tagName:r,allowedTags:b}),jn(e,n))return!0;if(Dn(e,r))return G(e),!0;if(Me[r]||!(C.tagCheck instanceof Function&&C.tagCheck(r))&&!b[r]){let t=kn(e,r,n);return t===!1&&(J(y.afterSanitizeElements,e,null),jn(e,n))?!0:t}if(se(e)===R.element&&!mn(e)||(r===`noscript`||r===`noembed`||r===`noframes`)&&M(Pt,e.innerHTML))return G(e),!0;if(w&&e.nodeType===R.text){let n=q(e.textContent);e.textContent!==n&&(Je(t.removed,{element:e.cloneNode()}),e.textContent=n)}return J(y.afterSanitizeElements,e,null),jn(e,n)},Nn=function(e,t,r){if(Ne[t]||bn(t,e)||it&&(t===`id`||t===`name`)&&(r in n||r in on))return!1;let i=x[t]||C.attributeCheck instanceof Function&&C.attributeCheck(t,e);return Fe&&M(we,t)||Pe&&M(Te,t)?!0:i?z[t]||M(ke,et(r,De,``))||(t===`src`||t===`xlink:href`||t===`href`)&&e!==`script`&&tt(r,`data:`)===0&&Gt[e]||Ie&&!M(Ee,et(r,De,``))?!0:!r:Fn(e)&&On(S.tagNameCheck,e)&&On(S.attributeNameCheck,t,e)||t===`is`&&S.allowCustomizedBuiltInElements&&On(S.tagNameCheck,r)},Pn=F({},[`annotation-xml`,`color-profile`,`font-face`,`font-face-format`,`font-face-name`,`font-face-src`,`font-face-uri`,`missing-glyph`]),Fn=function(e){return!Pn[Ze(e)]&&M(Oe,e)},In=function(e,t,n,r){if(g&&typeof u==`object`&&typeof u.getAttributeType==`function`&&!n)switch(u.getAttributeType(e,t)){case`TrustedHTML`:return _(r);case`TrustedScriptURL`:return me(r)}return r},Ln=function(e,t,n,r){try{return n?e.setAttributeNS(n,t,r):e.setAttribute(t,r),!wn(e)||(G(e),!1)}catch{return _n(t,e),!1}},Rn=function(e,n){if(J(y.beforeSanitizeAttributes,e,null),jn(e,n))return;let r=e.attributes;if(!r||wn(e))return;x=An(y.uponSanitizeAttribute,x,je,Ve);let i={attrName:``,attrValue:``,keepAttr:!0,allowedAttributes:x,forceKeepAttr:void 0},a=r.length,o=W(e.nodeName);for(;a--;){let n=r[a],s=n.name,c=n.namespaceURI,l=n.value,u=W(s),d=l,f=s===`value`?d:nt(d),p=!1;if(i.attrName=u,i.attrValue=f,i.keepAttr=!0,i.forceKeepAttr=void 0,J(y.uponSanitizeAttribute,e,i),f=i.attrValue,at&&(u===`id`||u===`name`)&&tt(f,ot)!==0&&(_n(s,e,n),f=ot+f,p=!0),T&&M(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,f)){_n(s,e,n);continue}if(u===`attributename`&&$e(f,`href`)){_n(s,e,n);continue}if(!i.forceKeepAttr){if(!i.keepAttr){_n(s,e,n);continue}if(!Le&&M(Ft,f)){_n(s,e,n);continue}if(w&&(f=q(f)),!Nn(o,u,f)){_n(s,e,n);continue}f=In(o,u,c,f),f!==d&&Ln(e,s,c,f)&&p&&qe(t.removed)}}J(y.afterSanitizeAttributes,e,null),jn(e,n)},zn=function(e){let t=null,n=Sn(e);for(J(y.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)if(J(y.uponSanitizeShadowNode,t,null),Mn(t,e),Rn(t,e),Tn(t.content)&&zn(t.content),se(t)===R.element){let e=ne(t);Tn(e)&&(Bn(e),zn(e))}J(y.afterSanitizeShadowDOM,e,null)},Bn=function(e){let t=[{node:e,shadow:null}];for(;t.length>0;){let e=t.pop();if(e.shadow){zn(e.shadow);continue}let n=e.node,r=se(n)===R.element,i=te(n);if(i)for(let e=i.length-1;e>=0;--e)t.push({node:i[e],shadow:null});if(r){let e=ae?ae(n):null;if(typeof e==`string`&&W(e)===`template`){let e=n.content;Tn(e)&&t.push({node:e,shadow:null})}}if(r){let e=ne(n);Tn(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(U=!e,U&&(e=`<!-->`),typeof e!=`string`&&!En(e)&&(e=lt(e),typeof e!=`string`))throw N(`dirty is not a string, aborting`);if(!t.isSupported)return e;ze?(b=Be,x=Ve):cn(n),(y.uponSanitizeElement.length>0||y.uponSanitizeAttribute.length>0)&&(b=I(b)),y.uponSanitizeAttribute.length>0&&(x=I(x)),t.removed=[];let c=P&&typeof e!=`string`&&En(e);if(c){xn(e);let t=ce(e);if(typeof t==`string`){let n=W(t);if(!b[n]||Me[n])throw gn(e),N(`root node is forbidden and cannot be sanitized in-place`)}if(wn(e))throw gn(e),N(`root node is clobbered and cannot be sanitized in-place`);try{Bn(e)}catch(t){throw gn(e),t}}else if(En(e))i=K(`<!---->`),a=i.ownerDocument.importNode(e,!0),a.nodeType===R.element&&a.nodeName===`BODY`||a.nodeName===`HTML`?i=a:i.appendChild(a),Bn(i);else{if(!k&&!w&&!E&&e.indexOf(`<`)===-1)return g&&rt?_(e):e;if(i=K(e),!i)return k?null:rt?le:``}i&&Ue&&G(i.firstChild);let l=c?e:i;try{let e=Sn(l);for(;o=e.nextNode();)Mn(o,l),Rn(o,l),Tn(o.content)&&zn(o.content)}catch(n){throw c&&(gn(e),Ge(t.removed,e=>{e.element&&yn(e.element)})),n}if(c){let n=!1;if(Ge(t.removed,t=>{t.element&&(t.element===e&&(n=!0),yn(t.element))}),n)throw N(`a node selected for removal could not be safely returned; refusing to sanitize in place`);return w&&Cn(e),e}if(k){if(w&&Cn(i),We)for(s=v.call(i.ownerDocument);i.firstChild;)s.appendChild(i.firstChild);else s=i;return(x.shadowroot||x.shadowrootmode)&&(s=be.call(r,s,!0)),s}let u=E?i.outerHTML:i.innerHTML;return E&&b[`!doctype`]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&M(At,i.ownerDocument.doctype.name)&&(u=`<!DOCTYPE `+i.ownerDocument.doctype.name+`>
3
3
  `+u),w&&(u=q(u)),g&&rt?_(u):u},t.setConfig=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};cn(e),ze=!0,Be=b,Ve=x},t.clearConfig=function(){an=null,ze=!1,Be=null,Ve=null,g=ue,le=``},t.isValidAttribute=function(e,t,n){an||cn({});let r=W(e),i=W(t);return Nn(r,i,n)},t.addHook=function(e,t){typeof t==`function`&&A(y,e)&&Je(y[e],t)},t.removeHook=function(e,t){if(A(y,e)){if(t!==void 0){let n=Ke(y[e],t);return n===-1?void 0:Ye(y[e],n,1)[0]}return qe(y[e])}},t.removeHooks=function(e){A(y,e)&&(y[e]=[])},t.removeAllHooks=function(){y=Vt()},t}var Gt=Wt();function Kt(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var z=Kt();function qt(e){z=e}var B={exec:()=>null};function V(e){let t=[];return n=>{let r=Math.max(0,Math.min(3,n-1)),i=t[r];return i||(i=e(r),t[r]=i),i}}function H(e,t=``){let n=typeof e==`string`?e:e.source,r={replace:(e,t)=>{let i=typeof t==`string`?t:t.source;return i=i.replace(U.caret,`$1`),n=n.replace(e,i),r},getRegex:()=>new RegExp(n,t)};return r}var Jt=((e=``)=>{try{return!!RegExp(`(?<=1)(?<!1)`+e)}catch{return!1}})(),U={codeRemoveIndent:/^(?: {0,3}\t| {1,4})/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,endingSpaceTabChar:/[ \t]$/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,leadingSpaceTab:/^[ \t]+/,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] +\S/,listReplaceTask:/^\[[ xX]\] +/,listTaskCheckbox:/\[[ xX]\]/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,numericCharacterReference:/&#(?:(\d{1,7})|[Xx]([A-Fa-f0-9]{1,6}));/g,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:e=>RegExp(`^( {0,3}${e})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:V(e=>RegExp(`^ {0,${e}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`)),hrRegex:V(e=>RegExp(`^ {0,${e}}((?:-[ ]*){3,}|(?:_[ ]*){3,}|(?:\\*[ ]*){3,})(?:\\n+|$)`)),fencesBeginRegex:V(e=>RegExp(`^ {0,${e}}(?:\`\`\`|~~~)`)),headingBeginRegex:V(e=>RegExp(`^ {0,${e}}#`)),htmlBeginRegex:V(e=>RegExp(`^ {0,${e}}(?:</?(?:${ln})(?: +|$|/?>)|<(?:script|pre|style|textarea|!--))`,`i`)),blockquoteBeginRegex:V(e=>RegExp(`^ {0,${e}}>`))},Yt=/^(?:[ \t]*(?:\n|$))+/,Xt=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,Zt=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,Qt=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,$t=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,en=/ {0,3}(?:[*+-]|\d{1,9}[.)])/,tn=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |fences|blockquote|heading|hr|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,nn=H(tn).replace(/bull/g,en).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}(?:\s|$)/).replace(/hr/g,/ {0,3}(?:(?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,``).getRegex(),rn=H(tn).replace(/bull/g,en).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}(?:\s|$)/).replace(/hr/g,/ {0,3}(?:(?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),W=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table|[ \t]+\n)[^\n]+)*)/,an=/^[^\n]+/,on=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,sn=H(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace(`label`,on).replace(`title`,/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),cn=H(/^(bull)([ \t][^\n]*?)?(?:\n|$)/).replace(/bull/g,en).getRegex(),ln=`address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul`,un=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,dn=H(`^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n*|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>[^\\n]*\\n*|$)|<![A-Z][\\s\\S]*?(?:>[^\\n]*\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>[^\\n]*\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][a-z0-9-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][a-z0-9-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))`,`i`).replace(`comment`,un).replace(`tag`,ln).replace(`attribute`,/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),fn=e=>H(W).replace(`hr`,Qt).replace(`heading`,` {0,3}#{1,6}(?:\\s|$)`).replace(`|lheading`,``).replace(`|table`,``).replace(`blockquote`,` {0,3}>`).replace(`fences`," {0,3}(?:`{3,}(?=[^`\\n]*(?:\\n|$))|~~~)[^\\n]*(?:\\n|$)").replace(`list`,e).replace(`html`,`</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)`).replace(`tag`,ln).getRegex(),pn=fn(/ {0,3}(?:[*+-]|1[.)])[ \t]+[^ \t\n]/),mn=fn(/ {0,3}(?:[*+-]|\d{1,9}[.)])(?:[ \t]|\n|$)/),G={blockquote:H(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace(`paragraph`,mn).getRegex(),code:Xt,def:sn,fences:Zt,heading:$t,hr:Qt,html:dn,lheading:nn,list:cn,newline:Yt,paragraph:pn,table:B,text:an},hn=H(`^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)`).replace(`hr`,Qt).replace(`heading`,` {0,3}#{1,6}(?:\\s|$)`).replace(`blockquote`,` {0,3}>`).replace(`code`,`(?: {4}| {0,3} )[^\\n]`).replace(`fences`," {0,3}(?:`{3,}(?=[^`\\n]*(?:\\n|$))|~~~)[^\\n]*(?:\\n|$)").replace(`list`,` {0,3}(?:[*+-]|1[.)])[ \\t]`).replace(`html`,`</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)`).replace(`tag`,ln).getRegex(),gn={...G,lheading:rn,table:hn,paragraph:H(W).replace(`hr`,Qt).replace(`heading`,` {0,3}#{1,6}(?:\\s|$)`).replace(`|lheading`,``).replace(`table`,hn).replace(`blockquote`,` {0,3}>`).replace(`fences`," {0,3}(?:`{3,}(?=[^`\\n]*(?:\\n|$))|~~~)[^\\n]*(?:\\n|$)").replace(`list`,` {0,3}(?:[*+-]|1[.)])[ \\t]+[^ \\t\\n]`).replace(`html`,`</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)`).replace(`tag`,ln).getRegex()},_n={...G,html:H(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace(`comment`,un).replace(/tag/g,`(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b`).getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:B,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:H(W).replace(`hr`,Qt).replace(`heading`,` *#{1,6} *[^
4
4
  ]`).replace(`lheading`,nn).replace(`|table`,``).replace(`blockquote`,` {0,3}>`).replace(`|fences`,``).replace(`|list`,``).replace(`|html`,``).replace(`|tag`,``).getRegex()},vn=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,yn=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,bn=/^( {2,}|\\)\n(?!\s*$)[ \t]*/,xn=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,K=/[\p{P}\p{S}]/u,Sn=/[\s\p{P}\p{S}]/u,q=/[^\s\p{P}\p{S}]/u,Cn=H(/^((?![*_])punctSpace)/,`u`).replace(/punctSpace/g,Sn).getRegex(),wn=/[\p{Pi}\p{Ps}"']/u,Tn=/(?!~)[\p{P}\p{S}]/u,En=/(?!~)[\s\p{P}\p{S}]/u,J=/(?:[^\s\p{P}\p{S}]|~)/u,Dn=H(/link|precode-code|html/,`g`).replace(`link`,/\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace(`precode-`,Jt?"(?<!`)()":"(^^|[^`])").replace(`code`,/(?<b>`+)[^`]+\k<b>(?!`)/).replace(`html`,/<(?! )[^<>]*?>/).getRegex(),On=/^(?:\*+(?:((?!\*)punct)|([^\s*]))?)|^_+(?:((?!_)punct)|([^\s_]))?/,kn=H(On,`u`).replace(/punct/g,K).getRegex(),An=H(On,`u`).replace(/punct/g,Tn).getRegex(),jn=H(/^(?:\*+(?:((?!\*)(?!openQuote)punct)|([^\s*]))?)|^_+(?:((?!_)(?!openQuote)punct)|([^\s_]))?/,`u`).replace(/openQuote/g,wn).replace(/punct/g,K).getRegex(),Mn=`^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)`,Nn=H(Mn,`gu`).replace(/notPunctSpace/g,q).replace(/punctSpace/g,Sn).replace(/punct/g,K).getRegex(),Pn=H(Mn,`gu`).replace(/notPunctSpace/g,J).replace(/punctSpace/g,En).replace(/punct/g,Tn).getRegex(),Fn=H(`^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)[\\s](\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|(?:(?!\\*)punct|notPunctSpace)(\\*+)(?!\\*)(?=notPunctSpace)`,`gu`).replace(/notPunctSpace/g,q).replace(/punctSpace/g,Sn).replace(/punct/g,K).getRegex(),In=H(`^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)`,`gu`).replace(/notPunctSpace/g,q).replace(/punctSpace/g,Sn).replace(/punct/g,K).getRegex(),Ln=H(`^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)[\\s](_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)|(?:(?!_)punct|notPunctSpace)(_+)(?!_)(?=notPunctSpace)`,`gu`).replace(/notPunctSpace/g,q).replace(/punctSpace/g,Sn).replace(/punct/g,K).getRegex(),Rn=H(/^~~?(?:((?!~)punct)|[^\s~])/,`u`).replace(/punct/g,K).getRegex(),zn=H(`^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)`,`gu`).replace(/notPunctSpace/g,q).replace(/punctSpace/g,Sn).replace(/punct/g,K).getRegex(),Bn=H(/\\(punct)/,`gu`).replace(/punct/g,K).getRegex(),Vn=H(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace(`scheme`,/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace(`email`,/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),Hn=H(un).replace(`(?:-->|$)`,`-->`).getRegex(),Un=H(`^comment|^</[a-zA-Z][a-zA-Z0-9-]*\\s*>|^<[a-zA-Z][a-zA-Z0-9-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>`).replace(`comment`,Hn).replace(`attribute`,/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Wn=/\[(?:\\[\s\S]|[^\[\]\\])*\]/,Gn=H(/(?:\[(?:brackets|\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\])|[^\[\]\\`])*?/).replace(`brackets`,Wn).getRegex(),Kn=H(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?\s*\)/).replace(`label`,Gn).replace(`href`,/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]+|(?=\))/).replace(`title`,/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),qn=H(/^!?\[(label)\]\[(ref)\]/).replace(`label`,Gn).replace(`ref`,on).getRegex(),Jn=H(/^!?\[(ref)\](?:\[\])?/).replace(`ref`,on).getRegex(),Yn=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\]){1,999}/,Xn=H(/(?:[^\[\]\\`]*(?:\[(?:brackets|\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\]))){0,999}?[^\[\]\\`]*?/).replace(`brackets`,Wn).getRegex(),Zn=H(`reflink|nolink(?!\\()`,`g`).replace(`reflink`,H(/^!?\[(label)\]\[(ref)\]/).replace(`label`,Xn).replace(`ref`,Yn).getRegex()).replace(`nolink`,H(/^!?\[(ref)\](?:\[\])?/).replace(`ref`,Yn).getRegex()).getRegex(),Qn=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,$n=H(/(?:mailto:email|xmpp:email(?:\/[A-Za-z0-9@.]+)?)/).replace(/email/g,/[A-Za-z0-9._+-]+@[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![\w-])/).getRegex(),er={_backpedal:B,anyPunctuation:Bn,autolink:Vn,blockSkip:Dn,br:bn,code:yn,del:B,delLDelim:B,delRDelim:B,emStrongLDelim:kn,emStrongRDelimAst:Nn,emStrongRDelimUnd:In,escape:vn,link:Kn,nolink:Jn,punctuation:Cn,reflink:qn,reflinkSearch:Zn,tag:Un,text:xn,url:B},tr={...er,emStrongLDelim:jn,emStrongRDelimAst:Fn,emStrongRDelimUnd:Ln,link:H(/^!?\[(label)\]\((.*?)\)/).replace(`label`,Gn).getRegex(),reflink:H(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace(`label`,Gn).getRegex()},nr={...er,emStrongRDelimAst:Pn,emStrongLDelim:An,delLDelim:Rn,delRDelim:zn,url:H(/^emailProtocol|^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace(`emailProtocol`,$n).replace(`protocol`,Qn).replace(`email`,/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![\w-])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:H(/^(?:[^a-zA-Z0-9](?=emailProtocol)|(`+|~+|[^`~])(?:(?=[`~])|(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9](?=emailProtocol)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))))/).replace(`protocol`,Qn).replace(/emailProtocol/g,/(?:mailto|xmpp):/).getRegex()},rr={...nr,br:H(bn).replace(`{2,}`,`*`).getRegex(),text:H(nr.text).replace(`\\b_`,`\\b_| {2,}\\n`).replace(/\{2,\}/g,`*`).getRegex()},ir={normal:G,gfm:gn,pedantic:_n},ar={normal:er,gfm:nr,breaks:rr,pedantic:tr},or={"&":`&amp;`,"<":`&lt;`,">":`&gt;`,'"':`&quot;`,"'":`&#39;`},sr=e=>or[e];function Y(e,t){if(t){if(U.escapeTest.test(e))return e.replace(U.escapeReplace,sr)}else if(U.escapeTestNoEncode.test(e))return e.replace(U.escapeReplaceNoEncode,sr);return e}function cr(e){return e.replace(U.numericCharacterReference,(e,t,n)=>{let r=t===void 0?Number.parseInt(n,16):Number.parseInt(t,10);return r===0||r>1114111||r>=55296&&r<=57343?`�`:String.fromCodePoint(r)})}function lr(e){try{e=encodeURI(e).replace(U.percentDecode,`%`)}catch{return null}return e}function ur(e,t){let n=e.replace(U.findPipe,(e,t,n)=>{let r=!1,i=t;for(;--i>=0&&n[i]===`\\`;)r=!r;return r?`|`:` |`}).split(U.splitPipe),r=0;if(n[0].trim()||n.shift(),n.length>0&&!n.at(-1)?.trim()&&n.pop(),t){if(n.length>t)n.splice(t);else for(;n.length<t;)n.push(``)}for(;r<n.length;r++)n[r]=n[r].trim().replace(U.slashPipe,`|`);return n}function dr(e,t,n){let r=e.length;if(r===0)return``;let i=0;for(;i<r;){let a=e.charAt(r-i-1);if(a===t&&!n)i++;else if(a!==t&&n)i++;else break}return e.slice(0,r-i)}function fr(e){let t=e.split(`
@@ -31,7 +31,7 @@
31
31
  dispatchEvent(new Event("wizard-install"));
32
32
  });
33
33
  </script>
34
- <script type="module" crossorigin src="/studio/assets/index-BmpnE7IO.js"></script>
34
+ <script type="module" crossorigin src="/studio/assets/index-2Ktgo6f1.js"></script>
35
35
  <link rel="modulepreload" crossorigin href="/studio/assets/jsx-runtime-D3jfb0Ew.js">
36
36
  <link rel="modulepreload" crossorigin href="/studio/assets/preload-helper-CNEI7N0N.js">
37
37
  <link rel="modulepreload" crossorigin href="/studio/assets/createLucideIcon-q3MZMmnf.js">
package/modules/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Plugins that ship with engenty wizards: every runtime loads what is in this folder, in a
4
4
  checkout, in the npm package and in the Docker image. Each is a folder with an
5
- `engenty.plugin.json`, as [docs/plugins.md](../docs/plugins.md) describes.
5
+ `engenty.plugin.json`, as [the plugin docs](../docs/content/dev/plugins/index.md) describe.
6
6
 
7
7
  A module here is part of the open product. A plugin that is not goes into a folder of
8
8
  `PLUGINS_DIR` instead.
@@ -2,7 +2,7 @@ import type { LibSQLDatabase } from "drizzle-orm/libsql";
2
2
  import type { z } from "zod";
3
3
  /**
4
4
  * What the runtime hands a plugin's server half. A plugin is a file or a folder the runtime finds
5
- * at start (docs/plugins.md); its default export is a factory that registers what it adds. The
5
+ * at start (docs/content/dev/plugins); its default export is a factory that registers what it adds. The
6
6
  * runtime remembers every registration under the plugin's id and takes it back when the plugin
7
7
  * unloads or reloads.
8
8
  */
@@ -109,6 +109,23 @@ export interface PluginEvents {
109
109
  }
110
110
  /** The tenant's database. A plugin reads and writes its own tables with it. */
111
111
  export type PluginDb = LibSQLDatabase<Record<string, never>>;
112
+ /** What a plugin asks a model. */
113
+ export interface PluginGenerateRequest<T = undefined> {
114
+ prompt: string;
115
+ system?: string;
116
+ /** The answer as an object of this shape instead of text. */
117
+ schema?: z.ZodType<T>;
118
+ /** The tenant's model class. Default `standard`; `classifier` is the fast, cheap one. */
119
+ model?: "classifier" | "standard" | "high" | "highest";
120
+ maxOutputTokens?: number;
121
+ /** Default: two minutes. */
122
+ signal?: AbortSignal;
123
+ }
124
+ export interface PluginGenerateResult<T = undefined> {
125
+ text: string;
126
+ /** Set when the request had a `schema`. */
127
+ object: T;
128
+ }
112
129
  export interface PluginServerApi {
113
130
  registerHttpRoute(route: PluginRoute): void;
114
131
  registerTool<S extends z.ZodType>(tool: PluginTool<S>): void;
@@ -121,6 +138,12 @@ export interface PluginServerApi {
121
138
  on<E extends keyof PluginEvents>(event: E, listener: (payload: PluginEvents[E]) => void | Promise<void>): void;
122
139
  /** The database of the tenant the current request, step or event belongs to. */
123
140
  getTenantDb(): PluginDb;
141
+ /**
142
+ * Asks a model of the current tenant, on the models its studio is set up with; the call is
143
+ * paid like any other of the tenant's. When no model is set up it throws an error with the
144
+ * status 503 and the code `no_model`, which a route passes on as it is.
145
+ */
146
+ generate<T = undefined>(request: PluginGenerateRequest<T>): Promise<PluginGenerateResult<T>>;
124
147
  /** Something to undo when the plugin unloads or reloads: a timer, a socket. */
125
148
  onUnload(dispose: () => void | Promise<void>): void;
126
149
  }
@@ -3,7 +3,7 @@ import type { ComponentType } from "react";
3
3
  * What the studio hands a plugin's studio half: the built `client.js` the studio loads after
4
4
  * sign-in. Its default export registers pages, entries of the top bar and sections of the
5
5
  * settings. React, the router and the studio's own components come from the studio
6
- * (docs/plugins.md), so the page a plugin draws is part of the same app.
6
+ * (docs/content/dev/plugins), so the page a plugin draws is part of the same app.
7
7
  */
8
8
  export type StudioLang = "de" | "en";
9
9
  /** A plugin's words. `de` is the source: a key missing in `en` shows the German. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wizards",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "Make a wish. Get your wizard. It guides you step by step. Let AI do the work. Runs on your machine, on the AI subscription you already have.",
5
5
  "license": "FSL-1.1-MIT",
6
6
  "homepage": "https://engenty.ai",
@@ -1 +0,0 @@
1
- var e=JSON.parse(`[{"version":"v0.2.1","timestamp":1791223497,"commits":[{"id":"9c16b47","message":"the AI apps start the MCP server as the wizards command, after the rename from engenty-wizards","group":"Fixed","scope":null,"breaking":false},{"id":"f118703","message":"the wizards run in the person's own AI apps — connect writes the MCP server into Claude Desktop, Cursor, Codex and others, a run shows the wizard itself as an MCP App widget, and Settings → Einbinden adds an app with one click and tests it until it works","group":"Added","scope":null,"breaking":false}]},{"version":"v0.2.0","timestamp":1791223087,"commits":[{"id":"4404371","message":"a runtime takes plugins: tools for agent steps, routes with tables of their own, listeners on runs that end, and pages, top bar icons and settings sections in the studio; they load from modules/ and PLUGINS_DIR at start and again while it runs","group":"Added","scope":null,"breaking":false}]},{"version":"v0.1.11","timestamp":1791208594,"commits":[{"id":"85facbd","message":"the package is on npm as wizards, and the README's studio picture shows the branches with their conditions","group":"Docs","scope":null,"breaking":false},{"id":"6ca5cfc","message":"a branch that skips steps runs beside them in the editor, with its condition readable on the line; it ran behind the step with the condition hidden","group":"Fixed","scope":null,"breaking":false}]},{"version":"v0.1.10","timestamp":1791206923,"commits":[{"id":"8f35bf0","message":"the README shows the studio with a branched flow and a wizard in use, from its first page to the result","group":"Docs","scope":null,"breaking":false},{"id":"7abf9df","message":"the editor's review notes, tool names and branch labels follow the language; they were German in the English studio","group":"Fixed","scope":null,"breaking":false}]},{"version":"v0.1.9","timestamp":1791203125,"commits":[{"id":"5182fec","message":"the installer is engenty.ai/install.sh (was wizards.sh), and the command and the npm package are wizards (were engenty-wizards); the installer renames an install made under the old names","group":"Changed","scope":null,"breaking":false},{"id":"c6500f9","message":"the proxy sends the runtime /w/ and /s/ with the slash","group":"Docs","scope":null,"breaking":false}]},{"version":"v0.1.8","timestamp":1791196160,"commits":[{"id":"a965d36","message":"the marketplace's pages are written by the site at engenty.ai, at /wizards/<slug> and /de/wizards/<slug>","group":"Docs","scope":null,"breaking":false}]},{"version":"v0.1.7","timestamp":1791194770,"commits":[{"id":"66e9109","message":"a banner in the studio says when a newer release is out; the update installs from there, the runtime restarts into the new version and the page reloads","group":"Added","scope":null,"breaking":false},{"id":"5e27bf6","message":"the studio chat counts the seconds of a turn and says what the architect is doing and thinking; pasted pictures show in the thread and the architect sees them","group":"Added","scope":null,"breaking":false}]},{"version":"v0.1.6","timestamp":1791167380,"commits":[{"id":"481807b","message":"video models render at 720p, or 480p when a step asks; a larger clip is scaled down, and the price follows the resolution","group":"Added","scope":null,"breaking":false},{"id":"bb20f2b","message":"the settings say Codex makes images on the sign-in too; only video and audio still need a key","group":"Fixed","scope":null,"breaking":false}]},{"version":"v0.1.5","timestamp":1791151312,"commits":[{"id":"f4b7e43","message":"plan for a setup by capability","group":"Docs","scope":null,"breaking":false},{"id":"8ddaab7","message":"a wizard says which models it lacks before it runs, and only refuses to start when every path needs one; templates can be filtered by capability, and those this install cannot run are greyed out","group":"Added","scope":null,"breaking":false},{"id":"2689c74","message":"Codex makes images on the ChatGPT plan, and runs each model class on its own model (Luna, Sol, Astra); image, video and voice stay empty without a gateway key instead of naming models nothing can reach","group":"Added","scope":null,"breaking":false}]},{"version":"v0.1.4","timestamp":1791144283,"commits":[{"id":"071e6ca","message":"the changelog's groups read NEW, FIXED, DOCS in every language, like the entries they stand before","group":"Fixed","scope":null,"breaking":false}]},{"version":"v0.1.3","timestamp":1791142528,"commits":[{"id":"32d1698","message":"the publish job fetches the package artifact by name; with one artifact left it no longer lands in its own folder","group":"Fixed","scope":"release","breaking":false}]},{"version":"v0.1.2","timestamp":1791140122,"commits":[{"id":"4bc37b9","message":"a marketplace entry opens in the local studio at localhost:24368 instead of the Mac app's engenty-wizards:// link","group":"Added","scope":null,"breaking":false},{"id":"e09e748","message":"the Mac app is no longer built or offered; the studio offers to install itself as a Chrome app in a banner, starting at login on a Mac is a LaunchAgent that runs the command, and the setup, README and docs point there","group":"Added","scope":null,"breaking":false},{"id":"ab10b49","message":"engenty wizards starts at login — the Mac app opens in the menu bar without its window (\\"Open at Login\\" in its menus), on Linux a systemd user service; the setup asks, \`engenty-wizards autostart on|off\` switches it, and the Mac app's server takes port 24368 too","group":"Added","scope":null,"breaking":false},{"id":"239e338","message":"the setup page installs a missing AI client in its own terminal, and both setups suggest the client whose app is on the Mac — its subscription is most likely already paid for","group":"Added","scope":null,"breaking":false},{"id":"b479df7","message":"an inline terminal's stream sends its last lines and its end before it closes; a page that opens it afterwards gets them all","group":"Fixed","scope":null,"breaking":false}]},{"version":"v0.1.1","timestamp":1791138130,"commits":[{"id":"21f70df","message":"the German tagline on the sign-in page follows the new one","group":"Docs","scope":null,"breaking":false},{"id":"765ae7c","message":"the studio says when a newer release is out and, on an install made by wizards.sh, updates it from the footer","group":"Added","scope":null,"breaking":false},{"id":"825da6c","message":"the tagline is \\"Make a wish. Get your wizard.\\" In the README, the npm package description and the banner of wizards.sh.","group":"Docs","scope":null,"breaking":false},{"id":"05e2e5c","message":"the local runtime listens on 24368, AGENT on a phone keypad; the Docker image stays on 8891","group":"Added","scope":null,"breaking":false},{"id":"71bb778","message":"Ctrl-C stops engenty-wizards again — the login shell that reads the person's variables runs in a session of its own and no longer keeps the terminal","group":"Fixed","scope":null,"breaking":false},{"id":"ee20646","message":"wizards.sh opens with the tall engenty — one eye; it wakes up, looks around, hops and blinks","group":"Added","scope":null,"breaking":false},{"id":"81d4f21","message":"the studio moves to /studio; the root of a host is free for a landing page","group":"Added","scope":null,"breaking":false},{"id":"f6058fd","message":"the marketplace is an app of its own; the runtime searches it live and keeps its starters and the starred entries for offline use","group":"Added","scope":null,"breaking":false},{"id":"e6fdeab","message":"engenty-wizards://new?starter=<id> opens a marketplace template in the desktop app","group":"Added","scope":null,"breaking":false}]},{"version":"v0.1.0","timestamp":1791100948,"commits":[{"id":"71cc075","message":"install with wizards.sh; the local install and how its pieces share it","group":"Docs","scope":null,"breaking":false},{"id":"6ae641d","message":"the desktop app is a window on the local install and brings no runtime along","group":"Added","scope":null,"breaking":false},{"id":"9c9dbb8","message":"an installer, wizards.sh, that every runtime serves","group":"Added","scope":null,"breaking":false},{"id":"34d0a1a","message":"an engenty-wizards command for a local install in ~/.engenty/wizards","group":"Added","scope":null,"breaking":false},{"id":"4ac6329","message":"the search skips filler words with umlauts too","group":"Fixed","scope":null,"breaking":false},{"id":"3bda9a6","message":"the gallery's footer stays without version, changelog and open-source links","group":"Fixed","scope":null,"breaking":false},{"id":"9e65725","message":"a changelog and open-source credits in the studio's footer; pnpm release cuts a release from the commits","group":"Added","scope":null,"breaking":false},{"id":"45d2906","message":"an entry's search terms are scored one by one, not as one long text","group":"Fixed","scope":null,"breaking":false},{"id":"648819c","message":"marketplace entries carry the words people ask for, so a search by words finds them","group":"Added","scope":null,"breaking":false},{"id":"0838373","message":"one project unless the limit says more; an account page; previews and layouts in the project settings","group":"Added","scope":null,"breaking":false},{"id":"8da2aaf","message":"a project holds base infos, logos, colours, assets, documents and facts for all its wizards","group":"Added","scope":null,"breaking":false},{"id":"8679ae2","message":"the gallery has the studio's footer line","group":"Fixed","scope":null,"breaking":false},{"id":"d5086f3","message":"the gallery's field is narrower","group":"Fixed","scope":null,"breaking":false},{"id":"4a82b26","message":"the gallery invites to start a wizard from a template","group":"Other","scope":null,"breaking":false},{"id":"07d2def","message":"a template's header is the dialog's own colour under a spotlight; in the light a tinted grey","group":"Fixed","scope":null,"breaking":false},{"id":"d10be9f","message":"a template opens with its flow as a diagram; the gallery's field is narrower, its chips centred","group":"Added","scope":null,"breaking":false},{"id":"fbee998","message":"the gallery says what it is, compact and from the left; its search is a two-line field to write into","group":"Added","scope":null,"breaking":false},{"id":"478f271","message":"the gallery opens with one question and the search field; quieter filter chips","group":"Added","scope":null,"breaking":false},{"id":"15d7f94","message":"the marketplace search asks the model for the signed-in tenant; a sentence without a model keeps only close finds","group":"Fixed","scope":null,"breaking":false},{"id":"c254357","message":"a marketplace of wizards to start from, with a gallery, admin, translation and search","group":"Added","scope":null,"breaking":false},{"id":"4d6e270","message":"AI media is marked in its file and labelled with the EU icons (AI Act, Art. 50)","group":"Added","scope":null,"breaking":false},{"id":"f86f070","message":"two writers of the same blob no longer share a temporary file","group":"Fixed","scope":null,"breaking":false},{"id":"c6a06cc","message":"plan for definition versions and importing older packages","group":"Docs","scope":null,"breaking":false},{"id":"a37e826","message":"wizard packages carry their own extension, .wizard","group":"Added","scope":null,"breaking":false},{"id":"e104574","message":"wizards export as a package (.wizard.zip) and import into a project","group":"Added","scope":null,"breaking":false},{"id":"b389539","message":"the editor pane's resize handle is a short, thick pill","group":"Added","scope":null,"breaking":false},{"id":"670c3ce","message":"chat composer takes files (+) and dictation","group":"Added","scope":null,"breaking":false},{"id":"766f6fd","message":"editor side pane resizable; Steps tab steps with ← / →, header and strip spacing fixed","group":"Added","scope":null,"breaking":false},{"id":"8205c88","message":"the arrow on a live wizard's card opens it in a new tab","group":"Added","scope":null,"breaking":false},{"id":"2696a50","message":"the AI clients page says it is an MCP server and sets a client up step by step","group":"Added","scope":null,"breaking":false},{"id":"6004a7d","message":"settings in sub-pages with a nav on the left (a dropdown on phones); MCP servers under Connectors","group":"Added","scope":null,"breaking":false},{"id":"49054fa","message":"settings button in the top bar; the user menu closes on Einstellungen","group":"Added","scope":null,"breaking":false},{"id":"65c9867","message":"at most 5 projects per tenant","group":"Added","scope":null,"breaking":false},{"id":"7ecca24","message":"the project switcher switches the wizard list","group":"Fixed","scope":null,"breaking":false},{"id":"c037604","message":"light / dark in the user menu, in place of the top bar's toggle","group":"Added","scope":null,"breaking":false},{"id":"ef464ab","message":"upload limits and sorting, pictures while a step works, faster photo steps, a feedback box on reviews","group":"Added","scope":null,"breaking":false},{"id":"1cbc02f","message":"starters for receipts, video ad, property film, window offer, menu plan and ten website helpers","group":"Added","scope":null,"breaking":false},{"id":"8069115","message":"photos reach an installed AI client, and a photo without text is described","group":"Fixed","scope":null,"breaking":false},{"id":"013f7df","message":"embed a wizard in a website, inline or behind a button that opens it in a window","group":"Added","scope":null,"breaking":false},{"id":"78c2a2a","message":"the editor at /edit/<id>, signed-out visitors of the start page go to SIGNED_OUT_URL","group":"Fixed","scope":null,"breaking":false},{"id":"deb4942","message":"wizards at /w/<token>, the app at the root of https://engenty.ai","group":"Added","scope":null,"breaking":false},{"id":"b811b4c","message":"serve the app under a path (https://engenty.ai/w)","group":"Added","scope":null,"breaking":false},{"id":"4821fb1","message":"the hosted addresses (engenty.ai) as defaults, no private repo names in the public sources","group":"Fixed","scope":null,"breaking":false},{"id":"ca2207e","message":"the drop engenty as app icon, tray icon and favicon","group":"Added","scope":null,"breaking":false},{"id":"90fcbce","message":"a README for people who install it, developer notes in docs/development.md","group":"Docs","scope":null,"breaking":false},{"id":"4b0c54a","message":"a built runtime links to its own port, the sandbox falls back to agentOS","group":"Fixed","scope":null,"breaking":false},{"id":"7071edf","message":"no links to the clients' pages, a placeholder dot in the footer","group":"Fixed","scope":"setup","breaking":false},{"id":"14171bf","message":"installed AI clients as the model of a local runtime, first-start setup as a wizard","group":"Added","scope":null,"breaking":false},{"id":"ca3f3a7","message":"align vertical head turn with pointer gaze","group":"Fixed","scope":"engenty","breaking":false},{"id":"e1f04ff","message":"add furry and jelly renderers with an interactive builder","group":"Added","scope":"engenty","breaking":false},{"id":"99207af","message":"whole credits in the top bar, a footer line with the account's places","group":"Added","scope":null,"breaking":false},{"id":"e498ab1","message":"decision steps — yes/no and choice output fields, branches on step outputs","group":"Added","scope":null,"breaking":false},{"id":"e83a433","message":"pnpm workspace with apps/ and packages/","group":"Changed","scope":null,"breaking":false},{"id":"281e3a3","message":"desktop app — Tauri shell with the runtime as a Node sidecar","group":"Added","scope":null,"breaking":false},{"id":"9296521","message":"a database per tenant, model classes, sign-in at the Manage-App, phone inputs","group":"Added","scope":null,"breaking":false},{"id":"63b1693","message":"engenty's built-in connectors — Gmail, Drive, Calendar, Contacts, Outlook, OneDrive, Slack, GitHub, HubSpot, S3","group":"Added","scope":null,"breaking":false},{"id":"cd431c9","message":"connectors from the integrations registry, asked-first changes in connected accounts","group":"Added","scope":null,"breaking":false},{"id":"8dbe30d","message":"harden browser and file downloads, step navigation in the inspector, store and mailbox docs","group":"Added","scope":null,"breaking":false},{"id":"54370e8","message":"light/dark mode with engenty-coloured dark pages, jelly and fur coats, quiet focus rings","group":"Added","scope":null,"breaking":false},{"id":"371b033","message":"lists and connections kept between runs, mail and browser tools, camera and ask panel","group":"Added","scope":null,"breaking":false},{"id":"07df228","message":"setup per AI client and a self-served plugin with /wizard","group":"Added","scope":null,"breaking":false},{"id":"de27ae8","message":"interactive widgets with a workspace per wizard, shareable results","group":"Added","scope":null,"breaking":false},{"id":"12854e1","message":"live studio — MCP and other edits show up without a reload","group":"Added","scope":null,"breaking":false},{"id":"7f72420","message":"OAuth sign-in for MCP clients, connected apps in settings","group":"Added","scope":null,"breaking":false},{"id":"3014699","message":"MCP endpoint for authoring wizards with personal API keys","group":"Added","scope":null,"breaking":false},{"id":"985e612","message":"engenty wizards — prompt-built AI wizards with shareable links","group":"Added","scope":null,"breaking":false}]}]`);export{e as default};