zxq-com 0.0.19 → 0.0.20

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.
@@ -1,4 +1,3 @@
1
1
  export declare function getUUID(prefix?: string): string;
2
- export declare function log(...args: any[]): void;
3
2
  export declare function getCookie(name: string): string | null | undefined;
4
3
  export declare function isDevelopment(): boolean;
@@ -1,8 +1,10 @@
1
+ export declare function log(...args: any[]): void;
1
2
  export interface WsConfig {
2
3
  name: string;
3
4
  url: string;
4
5
  trustIp?: string;
5
6
  clientId?: string;
7
+ debug?: boolean;
6
8
  }
7
9
  export declare const EVENT_TYPE: {
8
10
  readonly CLIENT_NAME: "__client-name";
package/dist/zxq-com.cjs CHANGED
@@ -1,4 +1,4 @@
1
- Object.defineProperty(exports,`__esModule`,{value:!0});var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},s=(n,r,a)=>(a=n==null?{}:e(i(n)),o(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n));const c=require(`./useDynamicComponent-YT-u9Rpv.cjs`),l=require(`./zxqWs-5Aa3WYS2.cjs`),u=require(`./styles-BZV65AUo.cjs`),d=require(`./A2UIRenderer-DqVIH5p7.cjs`);let f=require(`vue`),p=require(`markdown-it`);p=s(p);const m={iconApi:`https://api.iconify.design`};function h(e){Object.assign(m,e)}function g(e){let t=`.`,n=`__`,r=`--`,i;if(e){let i=e.blockPrefix;i&&(t=i),i=e.elementPrefix,i&&(n=i),i=e.modifierPrefix,i&&(r=i)}let a={install(e){i=e.c;let t=e.context;t.bem={},t.bem.b=null,t.bem.els=null}};function o(e){let n,r;return{before(e){n=e.bem.b,r=e.bem.els,e.bem.els=null},after(e){e.bem.b=n,e.bem.els=r},$({context:n,props:r}){return e=typeof e==`string`?e:e({context:n,props:r}),n.bem.b=e,`${r?.bPrefix||t}${n.bem.b}`}}}function s(e){let r;return{before(e){r=e.bem.els},after(e){e.bem.els=r},$({context:r,props:i}){return e=typeof e==`string`?e:e({context:r,props:i}),r.bem.els=e.split(`,`).map(e=>e.trim()),r.bem.els.map(e=>`${i?.bPrefix||t}${r.bem.b}${n}${e}`).join(`, `)}}}function c(e){return{$({context:i,props:a}){e=typeof e==`string`?e:e({context:i,props:a});let o=e.split(`,`).map(e=>e.trim());function s(e){return o.map(o=>`&${a?.bPrefix||t}${i.bem.b}${e===void 0?``:`${n}${e}`}${r}${o}`).join(`, `)}let c=i.bem.els;if(c!==null){if(process.env.NODE_ENV!==`production`&&c.length>=2)throw Error(`[css-render/plugin-bem]: m(${e}) is invalid, using modifier inside multiple elements is not allowed`);return s(c[0])}else return s()}}}function l(e){return{$({context:i,props:a}){e=typeof e==`string`?e:e({context:i,props:a});let o=i.bem.els;if(process.env.NODE_ENV!==`production`&&o!==null&&o.length>=2)throw Error(`[css-render/plugin-bem]: notM(${e}) is invalid, using modifier inside multiple elements is not allowed`);return`&:not(${a?.bPrefix||t}${i.bem.b}${o!==null&&o.length>0?`${n}${o[0]}`:``}${r}${e})`}}}return Object.assign(a,{cB:((...e)=>i(o(e[0]),e[1],e[2])),cE:((...e)=>i(s(e[0]),e[1],e[2])),cM:((...e)=>i(c(e[0]),e[1],e[2])),cNotM:((...e)=>i(l(e[0]),e[1],e[2]))}),a}function _(e){let t=0;for(let n=0;n<e.length;++n)e[n]===`&`&&++t;return t}var v=/\s*,(?![^(]*\))\s*/g,y=/\s+/g;function b(e,t){let n=[];return t.split(v).forEach(t=>{let r=_(t);if(r){if(r===1){e.forEach(e=>{n.push(t.replace(`&`,e))});return}}else{e.forEach(e=>{n.push((e&&e+` `)+t)});return}let i=[t];for(;r--;){let t=[];i.forEach(n=>{e.forEach(e=>{t.push(n.replace(`&`,e))})}),i=t}i.forEach(e=>n.push(e))}),n}function x(e,t){let n=[];return t.split(v).forEach(t=>{e.forEach(e=>{n.push((e&&e+` `)+t)})}),n}function S(e){let t=[``];return e.forEach(e=>{e&&=e.trim(),e&&(t=e.includes(`&`)?b(t,e):x(t,e))}),t.join(`, `).replace(y,` `)}function C(e){if(!e)return;let t=e.parentElement;t&&t.removeChild(e)}function w(e,t){return(t??document.head).querySelector(`style[cssr-id="${e}"]`)}function T(e){let t=document.createElement(`style`);return t.setAttribute(`cssr-id`,e),t}function E(e){return e?/^\s*@(s|m)/.test(e):!1}var D=/[A-Z]/g;function O(e){return e.replace(D,e=>`-`+e.toLowerCase())}function k(e,t=` `){return typeof e==`object`&&e?` {
1
+ Object.defineProperty(exports,`__esModule`,{value:!0});var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},s=(n,r,a)=>(a=n==null?{}:e(i(n)),o(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n));const c=require(`./useDynamicComponent-YT-u9Rpv.cjs`),l=require(`./zxqWs-DO1p80Cs.cjs`),u=require(`./styles-BZV65AUo.cjs`),d=require(`./A2UIRenderer-DqVIH5p7.cjs`);let f=require(`vue`),p=require(`markdown-it`);p=s(p);const m={iconApi:`https://api.iconify.design`};function h(e){Object.assign(m,e)}function g(e){let t=`.`,n=`__`,r=`--`,i;if(e){let i=e.blockPrefix;i&&(t=i),i=e.elementPrefix,i&&(n=i),i=e.modifierPrefix,i&&(r=i)}let a={install(e){i=e.c;let t=e.context;t.bem={},t.bem.b=null,t.bem.els=null}};function o(e){let n,r;return{before(e){n=e.bem.b,r=e.bem.els,e.bem.els=null},after(e){e.bem.b=n,e.bem.els=r},$({context:n,props:r}){return e=typeof e==`string`?e:e({context:n,props:r}),n.bem.b=e,`${r?.bPrefix||t}${n.bem.b}`}}}function s(e){let r;return{before(e){r=e.bem.els},after(e){e.bem.els=r},$({context:r,props:i}){return e=typeof e==`string`?e:e({context:r,props:i}),r.bem.els=e.split(`,`).map(e=>e.trim()),r.bem.els.map(e=>`${i?.bPrefix||t}${r.bem.b}${n}${e}`).join(`, `)}}}function c(e){return{$({context:i,props:a}){e=typeof e==`string`?e:e({context:i,props:a});let o=e.split(`,`).map(e=>e.trim());function s(e){return o.map(o=>`&${a?.bPrefix||t}${i.bem.b}${e===void 0?``:`${n}${e}`}${r}${o}`).join(`, `)}let c=i.bem.els;if(c!==null){if(process.env.NODE_ENV!==`production`&&c.length>=2)throw Error(`[css-render/plugin-bem]: m(${e}) is invalid, using modifier inside multiple elements is not allowed`);return s(c[0])}else return s()}}}function l(e){return{$({context:i,props:a}){e=typeof e==`string`?e:e({context:i,props:a});let o=i.bem.els;if(process.env.NODE_ENV!==`production`&&o!==null&&o.length>=2)throw Error(`[css-render/plugin-bem]: notM(${e}) is invalid, using modifier inside multiple elements is not allowed`);return`&:not(${a?.bPrefix||t}${i.bem.b}${o!==null&&o.length>0?`${n}${o[0]}`:``}${r}${e})`}}}return Object.assign(a,{cB:((...e)=>i(o(e[0]),e[1],e[2])),cE:((...e)=>i(s(e[0]),e[1],e[2])),cM:((...e)=>i(c(e[0]),e[1],e[2])),cNotM:((...e)=>i(l(e[0]),e[1],e[2]))}),a}function _(e){let t=0;for(let n=0;n<e.length;++n)e[n]===`&`&&++t;return t}var v=/\s*,(?![^(]*\))\s*/g,y=/\s+/g;function b(e,t){let n=[];return t.split(v).forEach(t=>{let r=_(t);if(r){if(r===1){e.forEach(e=>{n.push(t.replace(`&`,e))});return}}else{e.forEach(e=>{n.push((e&&e+` `)+t)});return}let i=[t];for(;r--;){let t=[];i.forEach(n=>{e.forEach(e=>{t.push(n.replace(`&`,e))})}),i=t}i.forEach(e=>n.push(e))}),n}function x(e,t){let n=[];return t.split(v).forEach(t=>{e.forEach(e=>{n.push((e&&e+` `)+t)})}),n}function S(e){let t=[``];return e.forEach(e=>{e&&=e.trim(),e&&(t=e.includes(`&`)?b(t,e):x(t,e))}),t.join(`, `).replace(y,` `)}function C(e){if(!e)return;let t=e.parentElement;t&&t.removeChild(e)}function w(e,t){return(t??document.head).querySelector(`style[cssr-id="${e}"]`)}function T(e){let t=document.createElement(`style`);return t.setAttribute(`cssr-id`,e),t}function E(e){return e?/^\s*@(s|m)/.test(e):!1}var D=/[A-Z]/g;function O(e){return e.replace(D,e=>`-`+e.toLowerCase())}function k(e,t=` `){return typeof e==`object`&&e?` {
2
2
  `+Object.entries(e).map(e=>t+` ${O(e[0])}: ${e[1]};`).join(`
3
3
  `)+`
4
4
  `+t+`}`:`: ${e};`}function A(e,t,n){return typeof e==`function`?e({context:t.context,props:n}):e}function j(e,t,n,r){if(!t)return``;let i=A(t,n,r);if(!i)return``;if(typeof i==`string`)return`${e} {\n${i}\n}`;let a=Object.keys(i);if(a.length===0)return n.config.keepEmptyBlock?e+` {
@@ -1317,4 +1317,4 @@ Object.defineProperty(exports,`__esModule`,{value:!0});var e=Object.create,t=Obj
1317
1317
  pointer-events: none;
1318
1318
  opacity: var(--n-opacity-spinning);
1319
1319
  `)])]),Yv={small:20,medium:18,large:16};const Xv=Object.assign(Object.assign(Object.assign({},Z.props),{contentClass:String,contentStyle:[Object,String],description:String,size:{type:[String,Number],default:`medium`},show:{type:Boolean,default:!0},rotate:{type:Boolean,default:!0},spinning:{type:Boolean,validator:()=>!0,default:void 0},delay:Number}),eh);var Zv=(0,f.defineComponent)({name:`Spin`,props:Xv,slots:Object,setup(e){process.env.NODE_ENV!==`production`&&(0,f.watchEffect)(()=>{e.spinning!==void 0&&pi(`spin`,"`spinning` is deprecated, please use `show` instead.")});let{mergedClsPrefixRef:t,inlineThemeDisabled:n}=Mi(e),r=Z(`Spin`,`-spin`,Jv,qv,e,t),i=(0,f.computed)(()=>{let{size:t}=e,{common:{cubicBezierEaseInOut:n},self:i}=r.value,{opacitySpinning:a,color:o,textColor:s}=i,c=typeof t==`number`?xe(t):i[G(`size`,t)];return{"--n-bezier":n,"--n-opacity-spinning":a,"--n-size":c,"--n-color":o,"--n-text-color":s}}),a=n?Ni(`spin`,(0,f.computed)(()=>{let{size:t}=e;return typeof t==`number`?String(t):t[0]}),i,e):void 0,o=St(e,[`spinning`,`show`]),s=(0,f.ref)(!1);return(0,f.watchEffect)(t=>{let n;if(o.value){let{delay:r}=e;if(r){n=window.setTimeout(()=>{s.value=!0},r),t(()=>{clearTimeout(n)});return}}s.value=o.value}),{mergedClsPrefix:t,active:s,mergedStrokeWidth:(0,f.computed)(()=>{let{strokeWidth:t}=e;if(t!==void 0)return t;let{size:n}=e;return Yv[typeof n==`number`?`medium`:n]}),cssVars:n?void 0:i,themeClass:a?.themeClass,onRender:a?.onRender}},render(){var e;let{$slots:t,mergedClsPrefix:n,description:r}=this,i=t.icon&&this.rotate,a=(r||t.description)&&(0,f.h)(`div`,{class:`${n}-spin-description`},r||t.description?.call(t)),o=t.icon?(0,f.h)(`div`,{class:[`${n}-spin-body`,this.themeClass]},(0,f.h)(`div`,{class:[`${n}-spin`,i&&`${n}-spin--rotate`],style:t.default?``:this.cssVars},t.icon()),a):(0,f.h)(`div`,{class:[`${n}-spin-body`,this.themeClass]},(0,f.h)(th,{clsPrefix:n,style:t.default?``:this.cssVars,stroke:this.stroke,"stroke-width":this.mergedStrokeWidth,radius:this.radius,scale:this.scale,class:`${n}-spin`}),a);return(e=this.onRender)==null||e.call(this),t.default?(0,f.h)(`div`,{class:[`${n}-spin-container`,this.themeClass],style:this.cssVars},(0,f.h)(`div`,{class:[`${n}-spin-content`,this.active&&`${n}-spin-content--spinning`,this.contentClass],style:this.contentStyle},t),(0,f.h)(f.Transition,{name:`fade-in-transition`},{default:()=>this.active?o:null})):o}}),Qv=`2.44.1`;function $v({componentPrefix:e=`N`,components:t=[]}={}){let n=[];function r(t,n,r){t.component(e+n)||t.component(e+n,r)}function i(e){n.includes(e)||(n.push(e),t.forEach(t=>{let{name:n,alias:i}=t;r(e,n,t),i&&i.forEach(n=>{r(e,n,t)})}))}return{version:Qv,componentPrefix:e,install:i}}var ey=$v;function ty(e,t=.2){if(!e)return``;e=e.replace(`#`,``),e.length===3&&(e=e.split(``).map(e=>e+e).join(``));let n=parseInt(e.slice(0,2),16),r=parseInt(e.slice(2,4),16),i=parseInt(e.slice(4,6),16);return n=Math.floor(n*(1-t)),r=Math.floor(r*(1-t)),i=Math.floor(i*(1-t)),`#`+[n,r,i].map(e=>e.toString(16).padStart(2,`0`)).join(``)}function ny(e,t=.2){if(!e)return``;e=e.replace(`#`,``),e.length===3&&(e=e.split(``).map(e=>e+e).join(``));let n=parseInt(e.slice(0,2),16),r=parseInt(e.slice(2,4),16),i=parseInt(e.slice(4,6),16);return n=Math.min(255,Math.floor(n+(255-n)*t)),r=Math.min(255,Math.floor(r+(255-r)*t)),i=Math.min(255,Math.floor(i+(255-i)*t)),`#`+[n,r,i].map(e=>e.toString(16).padStart(2,`0`)).join(``)}var ry=ey({components:[I_,y_,Lg,bv,uv,Zv,Wv]}),iy={inlineThemeDisabled:!0,mergedBorderedRef:(0,f.ref)(),mergedBreakpointsRef:(0,f.ref)(),mergedClsPrefixRef:(0,f.ref)(`n`),mergedComponentPropsRef:(0,f.ref)(),mergedDateLocaleRef:(0,f.ref)(),mergedHljsRef:(0,f.ref)(),mergedIconsRef:(0,f.ref)(),mergedKatexRef:(0,f.ref)(),mergedLocaleRef:(0,f.ref)(`zh-CN`),mergedNamespaceRef:(0,f.ref)(),mergedRtlRef:(0,f.ref)(),mergedThemeHashRef:(0,f.ref)(`15czh83`),mergedThemeRef:(0,f.ref)(),preflightStyleDisabled:!1,styleMountTarget:void 0,mergedThemeOverridesRef:(0,f.ref)()},ay={install(e){if(e.use(ry),m.theme){let{primaryColor:e,primaryColorHover:t,primaryColorPressed:n,primaryColorSuppl:r}=m.theme?.common||{};e&&(m.theme.common={primaryColor:e,primaryColorHover:t||ny(e,.3),primaryColorPressed:n||ty(e,.3),primaryColorSuppl:r||e}),Object.assign(iy,{mergedThemeOverridesRef:(0,f.ref)(m?.theme)})}e.provide(`n-config-provider`,iy)}},oy={class:`zxq-button`},sy=(0,f.defineComponent)({name:`ZButton`,__name:`Button`,setup(e){return(e,t)=>((0,f.openBlock)(),(0,f.createElementBlock)(`button`,oy,[(0,f.renderSlot)(e.$slots,`default`)]))}}),cy=sy,ly=/^[a-z0-9]+(-[a-z0-9]+)*$/,uy=(e,t,n,r=``)=>{let i=e.split(`:`);if(e.slice(0,1)===`@`){if(i.length<2||i.length>3)return null;r=i.shift().slice(1)}if(i.length>3||!i.length)return null;if(i.length>1){let e=i.pop(),n=i.pop(),a={provider:i.length>0?i[0]:r,prefix:n,name:e};return t&&!dy(a)?null:a}let a=i[0],o=a.split(`-`);if(o.length>1){let e={provider:r,prefix:o.shift(),name:o.join(`-`)};return t&&!dy(e)?null:e}if(n&&r===``){let e={provider:r,prefix:``,name:a};return t&&!dy(e,n)?null:e}return null},dy=(e,t)=>e?!!((t&&e.prefix===``||e.prefix)&&e.name):!1,fy=Object.freeze({left:0,top:0,width:16,height:16}),py=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),my=Object.freeze({...fy,...py}),hy=Object.freeze({...my,body:``,hidden:!1});function gy(e,t){let n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);let r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function _y(e,t){let n=gy(e,t);for(let r in hy)r in py?r in e&&!(r in n)&&(n[r]=py[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function vy(e,t){let n=e.icons,r=e.aliases||Object.create(null),i=Object.create(null);function a(e){if(n[e])return i[e]=[];if(!(e in i)){i[e]=null;let t=r[e]&&r[e].parent,n=t&&a(t);n&&(i[e]=[t].concat(n))}return i[e]}return Object.keys(n).concat(Object.keys(r)).forEach(a),i}function yy(e,t,n){let r=e.icons,i=e.aliases||Object.create(null),a={};function o(e){a=_y(r[e]||i[e],a)}return o(t),n.forEach(o),_y(e,a)}function by(e,t){let n=[];if(typeof e!=`object`||typeof e.icons!=`object`)return n;e.not_found instanceof Array&&e.not_found.forEach(e=>{t(e,null),n.push(e)});let r=vy(e);for(let i in r){let a=r[i];a&&(t(i,yy(e,i,a)),n.push(i))}return n}var xy={provider:``,aliases:{},not_found:{},...fy};function Sy(e,t){for(let n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function Cy(e){if(typeof e!=`object`||!e)return null;let t=e;if(typeof t.prefix!=`string`||!e.icons||typeof e.icons!=`object`||!Sy(e,xy))return null;let n=t.icons;for(let e in n){let t=n[e];if(!e||typeof t.body!=`string`||!Sy(t,hy))return null}let r=t.aliases||Object.create(null);for(let e in r){let t=r[e],i=t.parent;if(!e||typeof i!=`string`||!n[i]&&!r[i]||!Sy(t,hy))return null}return t}var wy=Object.create(null);function Ty(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function Ey(e,t){let n=wy[e]||(wy[e]=Object.create(null));return n[t]||(n[t]=Ty(e,t))}function Dy(e,t){return Cy(t)?by(t,(t,n)=>{n?e.icons[t]=n:e.missing.add(t)}):[]}function Oy(e,t,n){try{if(typeof n.body==`string`)return e.icons[t]={...n},!0}catch{}return!1}var ky=!1;function Ay(e){return typeof e==`boolean`&&(ky=e),ky}function jy(e){let t=typeof e==`string`?uy(e,!0,ky):e;if(t){let e=Ey(t.provider,t.prefix),n=t.name;return e.icons[n]||(e.missing.has(n)?null:void 0)}}function My(e,t){let n=uy(e,!0,ky);if(!n)return!1;let r=Ey(n.provider,n.prefix);return t?Oy(r,n.name,t):(r.missing.add(n.name),!0)}function Ny(e,t){if(typeof e!=`object`)return!1;if(typeof t!=`string`&&(t=e.provider||``),ky&&!t&&!e.prefix){let t=!1;return Cy(e)&&(e.prefix=``,by(e,(e,n)=>{My(e,n)&&(t=!0)})),t}let n=e.prefix;return dy({prefix:n,name:`a`})?!!Dy(Ey(t,n),e):!1}var Py=Object.freeze({width:null,height:null}),Fy=Object.freeze({...Py,...py}),Iy=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Ly=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Ry(e,t,n){if(t===1)return e;if(n||=100,typeof e==`number`)return Math.ceil(e*t*n)/n;if(typeof e!=`string`)return e;let r=e.split(Iy);if(r===null||!r.length)return e;let i=[],a=r.shift(),o=Ly.test(a);for(;;){if(o){let e=parseFloat(a);isNaN(e)?i.push(a):i.push(Math.ceil(e*t*n)/n)}else i.push(a);if(a=r.shift(),a===void 0)return i.join(``);o=!o}}function zy(e,t=`defs`){let n=``,r=e.indexOf(`<`+t);for(;r>=0;){let i=e.indexOf(`>`,r),a=e.indexOf(`</`+t);if(i===-1||a===-1)break;let o=e.indexOf(`>`,a);if(o===-1)break;n+=e.slice(i+1,a).trim(),e=e.slice(0,r).trim()+e.slice(o+1)}return{defs:n,content:e}}function By(e,t){return e?`<defs>`+e+`</defs>`+t:t}function Vy(e,t,n){let r=zy(e);return By(r.defs,t+r.content+n)}var Hy=e=>e===`unset`||e===`undefined`||e===`none`;function Uy(e,t){let n={...my,...e},r={...Fy,...t},i={left:n.left,top:n.top,width:n.width,height:n.height},a=n.body;[n,r].forEach(e=>{let t=[],n=e.hFlip,r=e.vFlip,o=e.rotate;n?r?o+=2:(t.push(`translate(`+(i.width+i.left).toString()+` `+(0-i.top).toString()+`)`),t.push(`scale(-1 1)`),i.top=i.left=0):r&&(t.push(`translate(`+(0-i.left).toString()+` `+(i.height+i.top).toString()+`)`),t.push(`scale(1 -1)`),i.top=i.left=0);let s;switch(o<0&&(o-=Math.floor(o/4)*4),o%=4,o){case 1:s=i.height/2+i.top,t.unshift(`rotate(90 `+s.toString()+` `+s.toString()+`)`);break;case 2:t.unshift(`rotate(180 `+(i.width/2+i.left).toString()+` `+(i.height/2+i.top).toString()+`)`);break;case 3:s=i.width/2+i.left,t.unshift(`rotate(-90 `+s.toString()+` `+s.toString()+`)`);break}o%2==1&&(i.left!==i.top&&(s=i.left,i.left=i.top,i.top=s),i.width!==i.height&&(s=i.width,i.width=i.height,i.height=s)),t.length&&(a=Vy(a,`<g transform="`+t.join(` `)+`">`,`</g>`))});let o=r.width,s=r.height,c=i.width,l=i.height,u,d;o===null?(d=s===null?`1em`:s===`auto`?l:s,u=Ry(d,c/l)):(u=o===`auto`?c:o,d=s===null?Ry(u,l/c):s===`auto`?l:s);let f={},p=(e,t)=>{Hy(t)||(f[e]=t.toString())};p(`width`,u),p(`height`,d);let m=[i.left,i.top,c,l];return f.viewBox=m.join(` `),{attributes:f,viewBox:m,body:a}}var Wy=/\sid="(\S+)"/g,Gy=`IconifyId`+Date.now().toString(16)+(Math.random()*16777216|0).toString(16),Ky=0;function qy(e,t=Gy){let n=[],r;for(;r=Wy.exec(e);)n.push(r[1]);if(!n.length)return e;let i=`suffix`+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(n=>{let r=typeof t==`function`?t(n):t+(Ky++).toString(),a=n.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`);e=e.replace(RegExp(`([#;"])(`+a+`)([")]|\\.[a-z])`,`g`),`$1`+r+i+`$3`)}),e=e.replace(new RegExp(i,`g`),``),e}var Jy=Object.create(null);function Yy(e,t){Jy[e]=t}function Xy(e){return Jy[e]||Jy[``]}function Zy(e){let t;if(typeof e.resources==`string`)t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||`/`,maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}for(var Qy=Object.create(null),$y=[`https://api.simplesvg.com`,`https://api.unisvg.com`],eb=[];$y.length>0;)$y.length===1||Math.random()>.5?eb.push($y.shift()):eb.push($y.pop());Qy[``]=Zy({resources:[`https://api.iconify.design`].concat(eb)});function tb(e,t){let n=Zy(t);return n===null?!1:(Qy[e]=n,!0)}function nb(e){return Qy[e]}var rb=()=>{let e;try{if(e=fetch,typeof e==`function`)return e}catch{}},ib=rb();function ab(e,t){let n=nb(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let e=0;n.resources.forEach(t=>{let n=t;e=Math.max(e,n.length)});let i=t+`.json?icons=`;r=n.maxURL-e-n.path.length-i.length}return r}function ob(e){return e===404}var sb=(e,t,n)=>{let r=[],i=ab(e,t),a=`icons`,o={type:a,provider:e,prefix:t,icons:[]},s=0;return n.forEach((n,c)=>{s+=n.length+1,s>=i&&c>0&&(r.push(o),o={type:a,provider:e,prefix:t,icons:[]},s=n.length),o.icons.push(n)}),r.push(o),r};function cb(e){if(typeof e==`string`){let t=nb(e);if(t)return t.path}return`/`}var lb=(e,t,n)=>{if(!ib){n(`abort`,424);return}let r=cb(t.provider);switch(t.type){case`icons`:{let e=t.prefix,n=t.icons.join(`,`),i=new URLSearchParams({icons:n});r+=e+`.json?`+i.toString();break}case`custom`:{let e=t.uri;r+=e.slice(0,1)===`/`?e.slice(1):e;break}default:n(`abort`,400);return}let i=503;ib(e+r).then(e=>{let t=e.status;if(t!==200){setTimeout(()=>{n(ob(t)?`abort`:`next`,t)});return}return i=501,e.json()}).then(e=>{if(typeof e!=`object`||!e){setTimeout(()=>{e===404?n(`abort`,e):n(`next`,i)});return}setTimeout(()=>{n(`success`,e)})}).catch(()=>{n(`next`,i)})},ub={prepare:sb,send:lb};function db(e){let t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((e,t)=>e.provider===t.provider?e.prefix===t.prefix?e.name.localeCompare(t.name):e.prefix.localeCompare(t.prefix):e.provider.localeCompare(t.provider));let r={provider:``,prefix:``,name:``};return e.forEach(e=>{if(r.name===e.name&&r.prefix===e.prefix&&r.provider===e.provider)return;r=e;let i=e.provider,a=e.prefix,o=e.name,s=n[i]||(n[i]=Object.create(null)),c=s[a]||(s[a]=Ey(i,a)),l;l=o in c.icons?t.loaded:a===``||c.missing.has(o)?t.missing:t.pending;let u={provider:i,prefix:a,name:o};l.push(u)}),t}function fb(e,t){e.forEach(e=>{let n=e.loaderCallbacks;n&&(e.loaderCallbacks=n.filter(e=>e.id!==t))})}function pb(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;let t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1,r=e.provider,i=e.prefix;t.forEach(t=>{let a=t.icons,o=a.pending.length;a.pending=a.pending.filter(t=>{if(t.prefix!==i)return!0;let o=t.name;if(e.icons[o])a.loaded.push({provider:r,prefix:i,name:o});else if(e.missing.has(o))a.missing.push({provider:r,prefix:i,name:o});else return n=!0,!0;return!1}),a.pending.length!==o&&(n||fb([e],t.id),t.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),t.abort))})}))}var mb=0;function hb(e,t,n){let r=mb++,i=fb.bind(null,n,r);if(!t.pending.length)return i;let a={id:r,icons:t,callback:e,abort:i};return n.forEach(e=>{(e.loaderCallbacks||=[]).push(a)}),i}function gb(e,t=!0,n=!1){let r=[];return e.forEach(e=>{let i=typeof e==`string`?uy(e,t,n):e;i&&r.push(i)}),r}var _b={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function vb(e,t,n,r){let i=e.resources.length,a=e.random?Math.floor(Math.random()*i):e.index,o;if(e.random){let t=e.resources.slice(0);for(o=[];t.length>1;){let e=Math.floor(Math.random()*t.length);o.push(t[e]),t=t.slice(0,e).concat(t.slice(e+1))}o=o.concat(t)}else o=e.resources.slice(a).concat(e.resources.slice(0,a));let s=Date.now(),c=`pending`,l=0,u,d=null,f=[],p=[];typeof r==`function`&&p.push(r);function m(){d&&=(clearTimeout(d),null)}function h(){c===`pending`&&(c=`aborted`),m(),f.forEach(e=>{e.status===`pending`&&(e.status=`aborted`)}),f=[]}function g(e,t){t&&(p=[]),typeof e==`function`&&p.push(e)}function _(){return{startTime:s,payload:t,status:c,queriesSent:l,queriesPending:f.length,subscribe:g,abort:h}}function v(){c=`failed`,p.forEach(e=>{e(void 0,u)})}function y(){f.forEach(e=>{e.status===`pending`&&(e.status=`aborted`)}),f=[]}function b(t,n,r){let i=n!==`success`;switch(f=f.filter(e=>e!==t),c){case`pending`:break;case`failed`:if(i||!e.dataAfterTimeout)return;break;default:return}if(n===`abort`){u=r,v();return}if(i){u=r,f.length||(o.length?x():v());return}if(m(),y(),!e.random){let n=e.resources.indexOf(t.resource);n!==-1&&n!==e.index&&(e.index=n)}c=`completed`,p.forEach(e=>{e(r)})}function x(){if(c!==`pending`)return;m();let r=o.shift();if(r===void 0){if(f.length){d=setTimeout(()=>{m(),c===`pending`&&(y(),v())},e.timeout);return}v();return}let i={status:`pending`,resource:r,callback:(e,t)=>{b(i,e,t)}};f.push(i),l++,d=setTimeout(x,e.rotate),n(r,t,i.callback)}return setTimeout(x),_}function yb(e){let t={..._b,...e},n=[];function r(){n=n.filter(e=>e().status===`pending`)}function i(e,i,a){let o=vb(t,e,i,(e,t)=>{r(),a&&a(e,t)});return n.push(o),o}function a(e){return n.find(t=>e(t))||null}return{query:i,find:a,setIndex:e=>{t.index=e},getIndex:()=>t.index,cleanup:r}}function bb(){}var xb=Object.create(null);function Sb(e){if(!xb[e]){let t=nb(e);if(!t)return;xb[e]={config:t,redundancy:yb(t)}}return xb[e]}function Cb(e,t,n){let r,i;if(typeof e==`string`){let t=Xy(e);if(!t)return n(void 0,424),bb;i=t.send;let a=Sb(e);a&&(r=a.redundancy)}else{let t=Zy(e);if(t){r=yb(t);let n=Xy(e.resources?e.resources[0]:``);n&&(i=n.send)}}return!r||!i?(n(void 0,424),bb):r.query(t,i,n)().abort}function wb(){}function Tb(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,pb(e)}))}function Eb(e){let t=[],n=[];return e.forEach(e=>{(e.match(ly)?t:n).push(e)}),{valid:t,invalid:n}}function Db(e,t,n){function r(){let n=e.pendingIcons;t.forEach(t=>{n&&n.delete(t),e.icons[t]||e.missing.add(t)})}if(n&&typeof n==`object`)try{if(!Dy(e,n).length){r();return}}catch(e){console.error(e)}r(),Tb(e)}function Ob(e,t){e instanceof Promise?e.then(e=>{t(e)}).catch(()=>{t(null)}):t(e)}function kb(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;let{provider:t,prefix:n}=e,r=e.iconsToLoad;if(delete e.iconsToLoad,!r||!r.length)return;let i=e.loadIcon;if(e.loadIcons&&(r.length>1||!i)){Ob(e.loadIcons(r,n,t),t=>{Db(e,r,t)});return}if(i){r.forEach(r=>{Ob(i(r,n,t),t=>{Db(e,[r],t?{prefix:n,icons:{[r]:t}}:null)})});return}let{valid:a,invalid:o}=Eb(r);if(o.length&&Db(e,o,null),!a.length)return;let s=n.match(ly)?Xy(t):null;if(!s){Db(e,a,null);return}s.prepare(t,n,a).forEach(n=>{Cb(t,n,t=>{Db(e,n.icons,t)})})}))}var Ab=(e,t)=>{let n=db(gb(e,!0,Ay()));if(!n.pending.length){let e=!0;return t&&setTimeout(()=>{e&&t(n.loaded,n.missing,n.pending,wb)}),()=>{e=!1}}let r=Object.create(null),i=[],a,o;return n.pending.forEach(e=>{let{provider:t,prefix:n}=e;if(n===o&&t===a)return;a=t,o=n,i.push(Ey(t,n));let s=r[t]||(r[t]=Object.create(null));s[n]||(s[n]=[])}),n.pending.forEach(e=>{let{provider:t,prefix:n,name:i}=e,a=Ey(t,n),o=a.pendingIcons||=new Set;o.has(i)||(o.add(i),r[t][n].push(i))}),i.forEach(e=>{let t=r[e.provider][e.prefix];t.length&&kb(e,t)}),t?hb(t,n,i):wb};function jb(e,t){let n={...e};for(let e in t){let r=t[e],i=typeof r;e in Py?(r===null||r&&(i===`string`||i===`number`))&&(n[e]=r):i===typeof n[e]&&(n[e]=e===`rotate`?r%4:r)}return n}var Mb=/[\s,]+/;function Nb(e,t){t.split(Mb).forEach(t=>{switch(t.trim()){case`horizontal`:e.hFlip=!0;break;case`vertical`:e.vFlip=!0;break}})}function Pb(e,t=0){let n=e.replace(/^-?[0-9.]*/,``);function r(e){for(;e<0;)e+=4;return e%4}if(n===``){let t=parseInt(e);return isNaN(t)?0:r(t)}else if(n!==e){let t=0;switch(n){case`%`:t=25;break;case`deg`:t=90}if(t){let i=parseFloat(e.slice(0,e.length-n.length));return isNaN(i)?0:(i/=t,i%1==0?r(i):0)}}return t}function Fb(e,t){let n=e.indexOf(`xlink:`)===-1?``:` xmlns:xlink="http://www.w3.org/1999/xlink"`;for(let e in t)n+=` `+e+`="`+t[e]+`"`;return`<svg xmlns="http://www.w3.org/2000/svg"`+n+`>`+e+`</svg>`}function Ib(e){return e.replace(/"/g,`'`).replace(/%/g,`%25`).replace(/#/g,`%23`).replace(/</g,`%3C`).replace(/>/g,`%3E`).replace(/\s+/g,` `)}function Lb(e){return`data:image/svg+xml,`+Ib(e)}function Rb(e){return`url("`+Lb(e)+`")`}var zb={...Fy,inline:!1},Bb={xmlns:`http://www.w3.org/2000/svg`,"xmlns:xlink":`http://www.w3.org/1999/xlink`,"aria-hidden":!0,role:`img`},Vb={display:`inline-block`},Hb={backgroundColor:`currentColor`},Ub={backgroundColor:`transparent`},Wb={Image:`var(--svg)`,Repeat:`no-repeat`,Size:`100% 100%`},Gb={webkitMask:Hb,mask:Hb,background:Ub};for(let e in Gb){let t=Gb[e];for(let n in Wb)t[e+n]=Wb[n]}var Kb={};[`horizontal`,`vertical`].forEach(e=>{let t=e.slice(0,1)+`Flip`;Kb[e+`-flip`]=t,Kb[e.slice(0,1)+`-flip`]=t,Kb[e+`Flip`]=t});function qb(e){return e+(e.match(/^[-0-9.]+$/)?`px`:``)}var Jb=(e,t)=>{let n=jb(zb,t),r={...Bb},i=t.mode||`svg`,a={},o=t.style,s=typeof o==`object`&&!(o instanceof Array)?o:{};for(let e in t){let i=t[e];if(i!==void 0)switch(e){case`icon`:case`style`:case`onLoad`:case`mode`:case`ssr`:break;case`inline`:case`hFlip`:case`vFlip`:n[e]=i===!0||i===`true`||i===1;break;case`flip`:typeof i==`string`&&Nb(n,i);break;case`color`:a.color=i;break;case`rotate`:typeof i==`string`?n[e]=Pb(i):typeof i==`number`&&(n[e]=i);break;case`ariaHidden`:case`aria-hidden`:i!==!0&&i!==`true`&&delete r[`aria-hidden`];break;default:{let t=Kb[e];t?(i===!0||i===`true`||i===1)&&(n[t]=!0):zb[e]===void 0&&(r[e]=i)}}}let c=Uy(e,n),l=c.attributes;if(n.inline&&(a.verticalAlign=`-0.125em`),i===`svg`){r.style={...a,...s},Object.assign(r,l);let e=0,n=t.id;return typeof n==`string`&&(n=n.replace(/-/g,`_`)),r.innerHTML=qy(c.body,n?()=>n+`ID`+ e++:`iconifyVue`),(0,f.h)(`svg`,r)}let{body:u,width:d,height:p}=e,m=i===`mask`||(i===`bg`?!1:u.indexOf(`currentColor`)!==-1),h=Fb(u,{...l,width:d+``,height:p+``});return r.style={...a,"--svg":Rb(h),width:qb(l.width),height:qb(l.height),...Vb,...m?Hb:Ub,...s},(0,f.h)(`span`,r)};if(Ay(!0),Yy(``,ub),typeof document<`u`&&typeof window<`u`){let e=window;if(e.IconifyPreload!==void 0){let t=e.IconifyPreload,n=`Invalid IconifyPreload syntax.`;typeof t==`object`&&t&&(t instanceof Array?t:[t]).forEach(e=>{try{(typeof e!=`object`||!e||e instanceof Array||typeof e.icons!=`object`||typeof e.prefix!=`string`||!Ny(e))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){let t=e.IconifyProviders;if(typeof t==`object`&&t)for(let e in t){let n=`IconifyProviders[`+e+`] is invalid.`;try{let r=t[e];if(typeof r!=`object`||!r||r.resources===void 0)continue;tb(e,r)||console.error(n)}catch{console.error(n)}}}}var Yb={...my,body:``},Xb=(0,f.defineComponent)((e,{emit:t})=>{let n=(0,f.ref)(null);function r(){n.value&&=(n.value.abort?.(),null)}let i=(0,f.ref)(!!e.ssr),a=(0,f.ref)(``),o=(0,f.shallowRef)(null);function s(){let i=e.icon;if(typeof i==`object`&&i&&typeof i.body==`string`)return a.value=``,{data:i};let o;if(typeof i!=`string`||(o=uy(i,!1,!0))===null)return null;let s=jy(o);if(!s){let e=n.value;return(!e||e.name!==i)&&(s===null?n.value={name:i}:n.value={name:i,abort:Ab([o],c)}),null}r(),a.value!==i&&(a.value=i,(0,f.nextTick)(()=>{t(`load`,i)}));let l=e.customise;if(l){s=Object.assign({},s);let e=l(s.body,o.name,o.prefix,o.provider);typeof e==`string`&&(s.body=e)}let u=[`iconify`];return o.prefix!==``&&u.push(`iconify--`+o.prefix),o.provider!==``&&u.push(`iconify--`+o.provider),{data:s,classes:u}}function c(){let e=s();e?e.data!==o.value?.data&&(o.value=e):o.value=null}return i.value?c():(0,f.onMounted)(()=>{i.value=!0,c()}),(0,f.watch)(()=>e.icon,c),(0,f.onUnmounted)(r),()=>{let t=o.value;if(!t)return Jb(Yb,e);let n=e;return t.classes&&(n={...e,class:t.classes.join(` `)}),Jb({...my,...t.data},n)}},{props:[`icon`,`mode`,`ssr`,`width`,`height`,`style`,`color`,`inline`,`rotate`,`hFlip`,`horizontalFlip`,`vFlip`,`verticalFlip`,`flip`,`id`,`ariaHidden`,`customise`,`title`],emits:[`load`]}),Zb=(0,f.defineComponent)({name:`ZIcon`,__name:`Icon`,props:{icon:{}},setup(e){let t=e,n=(0,f.computed)(()=>typeof t.icon==`string`);return(t,r)=>n.value?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(Xb),{key:0,icon:e.icon},null,8,[`icon`])):((0,f.openBlock)(),(0,f.createBlock)((0,f.resolveDynamicComponent)(e.icon),{key:1}))}}),Qb=Zb;function $b(){let e=(0,f.inject)(`n-config-provider`,{});return{themeVarRef:(0,f.computed)(()=>e.mergedThemeOverridesRef.value.common)}}var ex={class:`z-icon-picker overflow-hidden flex w-full`,style:{height:`300px`}},tx=[`onClick`],nx={class:`flex-1 overflow-hidden flex flex-col h-full`},rx={class:`category flex overflow-auto items-center gap-[10px] pr-[10px]`},ix={key:0},ax={class:`icon-list overflow-auto flex-1`},ox=[`onClick`],sx=(0,f.defineComponent)({name:`ZIconPicker`,__name:`IconPicker`,props:{host:{default:m?.iconApi}},emits:[`select`],setup(e,{emit:t}){(0,f.useCssVars)(e=>({v30412ec1:(0,f.unref)(C),b2fd4700:(0,f.unref)(w)}));let n=e,r=t,i={collections:n.host+`/collections`,collection:n.host+`/collection`,search:n.host+`/search`},a=(0,f.ref)(!1),o=(0,f.ref)([]);s();async function s(){a.value=!0;try{let e=await(await fetch(i.collections)).json();a.value=!1;let t=[];for(let[n,r]of Object.entries(e))!r.hidden&&![`Archive / Unmaintained`].includes(r.category)&&t.push({name:r.name,prefix:n});o.value=t,d(o.value[0])}catch{a.value=!1}}let c=(0,f.computed)(()=>{let e=[{label:`ALl`,key:``}];return u.value?.icons?.categories&&Object.keys(u.value?.icons?.categories).forEach(t=>{e.push({label:t,key:t})}),e}),l=(0,f.ref)(!1),u=(0,f.ref)({});async function d(e){if(u.value=e,!e.icons){l.value=!0;let t=await(await fetch(i.collection+`?prefix=`+e.prefix)).json();l.value=!1;let n=new Set;if(t.categories){for(let e of Object.values(t.categories))e.forEach(e=>n.add(e));t.all=[...n]}else t.all=t.uncategorized;e.icons=t}p.value=``,g.value=1}let p=(0,f.ref)(``);function m(e){g.value=1,p.value=e}let h=(0,f.computed)(()=>u.value.icons?p.value?u.value.icons.categories[p.value]:[...u.value.icons.all]:[]),g=(0,f.ref)(1),_=(0,f.ref)(50);(0,f.watch)(_,()=>g.value=1);let v=(0,f.computed)(()=>h.value.slice((g.value-1)*_.value,g.value*_.value));function y(e){r(`select`,u.value.prefix+`:`+e)}let b=(0,f.ref)(``);(0,f.watch)(b,e=>{e?x(e):s()});async function x(e){let t=await(await fetch(i.search+`?query=`+e)).json();if(t.total>0){let e=[];for(let[n,r]of Object.entries(t.collections))!r.hidden&&![`Archive / Unmaintained`].includes(r.category)&&e.push({name:r.name,prefix:n,icons:{all:t.icons.filter(e=>e.startsWith(n+`:`)).map(e=>e.replace(n+`:`,``))}});o.value=e,d(o.value[0])}else o.value=[],u.value={}}let{themeVarRef:S}=$b(),{primaryColor:C}=S.value,w=ny(C,.95);return(e,t)=>{let n=(0,f.resolveComponent)(`n-spin`),r=(0,f.resolveComponent)(`n-button`),i=(0,f.resolveComponent)(`n-dropdown`),s=(0,f.resolveComponent)(`n-input`),x=(0,f.resolveComponent)(`n-pagination`),S=(0,f.resolveComponent)(`n-tooltip`);return(0,f.openBlock)(),(0,f.createElementBlock)(`div`,ex,[(0,f.createVNode)(n,{show:a.value,class:`overflow-auto h-full set min-w-[300px]`},{default:(0,f.withCtx)(()=>[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(o.value,e=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{class:(0,f.normalizeClass)([`item`,{selected:u.value.name===e.name}]),key:e.name,onClick:t=>d(e)},(0,f.toDisplayString)(e.name),11,tx))),128))]),_:1},8,[`show`]),(0,f.createElementVNode)(`div`,nx,[(0,f.createVNode)(n,{show:l.value,class:`h-full`,"content-class":`h-full overflow-hidden flex flex-col`},{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`div`,rx,[c.value.length>1?((0,f.openBlock)(),(0,f.createElementBlock)(`div`,ix,[(0,f.createVNode)(i,{class:`z-icon-picker-dropdown`,trigger:`click`,options:c.value,onSelect:m},{default:(0,f.withCtx)(()=>[(0,f.createVNode)(r,{size:`small`},{icon:(0,f.withCtx)(()=>[(0,f.createVNode)(Qb,{icon:`lets-icons:folder-dublicate-duotone-line`})]),default:(0,f.withCtx)(()=>[(0,f.createTextVNode)(` `+(0,f.toDisplayString)(p.value||`All`),1)]),_:1})]),_:1},8,[`options`])])):(0,f.createCommentVNode)(``,!0),(0,f.createVNode)(s,{class:`flex-1`,value:b.value,"onUpdate:value":t[0]||=e=>b.value=e,valueModifiers:{trim:!0},size:`small`,placeholder:`搜索图标`,clearable:``},{prefix:(0,f.withCtx)(()=>[(0,f.createVNode)(Qb,{icon:`icon-park-outline:search`})]),_:1},8,[`value`]),(0,f.createVNode)(x,{page:g.value,"onUpdate:page":t[1]||=e=>g.value=e,"page-size":_.value,"onUpdate:pageSize":t[2]||=e=>_.value=e,"item-count":h.value.length,"show-size-picker":!1,simple:``,"page-sizes":[50,100,200,500]},null,8,[`page`,`page-size`,`item-count`])]),(0,f.createElementVNode)(`div`,ax,[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(v.value,e=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{key:e,onClick:t=>y(e)},[(0,f.createVNode)(S,{trigger:`hover`,delay:500},{trigger:(0,f.withCtx)(()=>[(0,f.createVNode)(Qb,{class:`icon`,icon:u.value.prefix+`:`+e},null,8,[`icon`])]),default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`span`,null,(0,f.toDisplayString)(u.value.prefix+`:`+e),1)]),_:2},1024)],8,ox))),128))])]),_:1},8,[`show`])])])}}}),cx=c.o(sx,[[`__scopeId`,`data-v-0f4d48cc`]]),lx=(0,f.defineComponent)({name:`IconInput`,__name:`IconInput`,props:{value:{default:``},valueModifiers:{}},emits:[`update:value`],setup(e){let t=(0,f.useModel)(e,`value`);function n(e){t.value=e,r.value=!1}let r=(0,f.ref)(!1);function i(e){r.value=e}return(e,a)=>{let o=(0,f.resolveComponent)(`n-input`),s=(0,f.resolveComponent)(`n-popover`);return(0,f.openBlock)(),(0,f.createBlock)(s,{show:r.value,trigger:`click`,"on-update:show":i,"content-style":`width: 750px;`},{trigger:(0,f.withCtx)(()=>[(0,f.createVNode)(o,(0,f.mergeProps)(e.$attrs,{value:t.value,"onUpdate:value":a[0]||=e=>t.value=e}),{prefix:(0,f.withCtx)(()=>[(0,f.createVNode)(Qb,{icon:t.value||`qlementine-icons:empty-slot-16`,style:{"font-size":`20px`}},null,8,[`icon`])]),_:1},16,[`value`])]),default:(0,f.withCtx)(()=>[(0,f.createVNode)(cx,{onSelect:n})]),_:1},8,[`show`])}}}),ux=lx;function dx(){m.iconApi&&tb(``,{resources:[m.iconApi]})}async function fx(e,t=`svg`){await Promise.all(Object.entries(e).map(e=>{let[n,r]=e,i=n.lastIndexOf(`/`)+1,a=n.lastIndexOf(`.`);return My(`${t}:${n.slice(i,a)}`,{...px(typeof r==`object`?r.default:r)})}))}function px(e){let t=new DOMParser().parseFromString(e,`image/svg+xml`).documentElement,n=[...t.childNodes].filter(e=>e.nodeType===Node.ELEMENT_NODE).map(e=>new XMLSerializer().serializeToString(e)).join(``),[r,i,a,o]=(t.getAttribute(`viewBox`)||``).split(` `).map(e=>{let t=Number(e);return Number.isNaN(t)?void 0:t});return{body:n,height:o,left:r,top:i,width:a}}var mx=[Qb,cx,ux],hx={install(e){dx(),mx.forEach(t=>{e.component(t.name,t)})}},gx=class{constructor(){this.originalClassMap=new Map,this.markdownIt=new p.default({highlight:(e,t)=>{if(t===`html`){let t=document.createElement(`iframe`);return t.classList.add(`html-view`),t.srcdoc=e,t.sandbox.add(``),t.outerHTML}return e}})}render(e,t){t&&this.applyTagClassMap(t);let n=this.markdownIt.render(e);return this.unapplyTagClassMap(),n}applyTagClassMap(e){Object.entries(e).forEach(([e,t])=>{let n;switch(e){case`p`:n=`paragraph`;break;case`h1`:case`h2`:case`h3`:case`h4`:case`h5`:case`h6`:n=`heading`;break;case`ul`:n=`bullet_list`;break;case`ol`:n=`ordered_list`;break;case`li`:n=`list_item`;break;case`a`:n=`link`;break;case`strong`:n=`strong`;break;case`em`:n=`em`;break}if(!n)return;let r=`${n}_open`;if(this.originalClassMap.has(r))return;let i=this.markdownIt.renderer.rules[r];this.originalClassMap.set(r,i),this.markdownIt.renderer.rules[r]=(e,n,r,a,o)=>{let s=e[n];for(let e of t)s.attrJoin(`class`,e);return i?i.call(this,e,n,r,a,o):o.renderToken(e,n,r)}})}unapplyTagClassMap(){this.originalClassMap.forEach((e,t)=>{e?this.markdownIt.renderer.rules[t]=e:delete this.markdownIt.renderer.rules[t]}),this.originalClassMap.clear()}},_x=null;function vx(){return _x||=new gx,_x}var yx=(0,f.defineComponent)({__name:`A2UIRow`,props:{surfaceId:{},component:{},weight:{},alignment:{},distribution:{}},setup(e){(0,f.useCssVars)(e=>({v5094c2ad:e.weight}));let t=e,{theme:n}=c.t(t),r=(0,f.computed)(()=>{let e=t.alignment??`stretch`,r=t.distribution??`start`;return{...n.components.Row,[`align-${e}`]:!0,[`distribute-${r}`]:!0}});return(t,i)=>{let a=(0,f.resolveComponent)(`a2ui-row`);return(0,f.openBlock)(),(0,f.createBlock)(a,{"data-alignment":e.alignment,"data-distribution":e.distribution},{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`section`,{class:(0,f.normalizeClass)(r.value),style:(0,f.normalizeStyle)((0,f.unref)(n).additionalStyles?.Row)},[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(e.component.properties.children,(t,n)=>((0,f.openBlock)(),(0,f.createBlock)(d.t,{key:t.id||n,"surface-id":e.surfaceId,component:t},null,8,[`surface-id`,`component`]))),128))],6)]),_:1},8,[`data-alignment`,`data-distribution`])}}}),bx=c.o(yx,[[`__scopeId`,`data-v-fe543389`]]),xx=(0,f.defineComponent)({__name:`A2UIColumn`,props:{surfaceId:{},component:{},weight:{},alignment:{},distribution:{}},setup(e){(0,f.useCssVars)(e=>({v28cabe82:e.weight}));let t=e,{theme:n}=c.t(t),r=(0,f.computed)(()=>{let e=t.alignment??`stretch`,r=t.distribution??`start`;return{...n.components.Column,[`align-${e}`]:!0,[`distribute-${r}`]:!0}});return(t,i)=>{let a=(0,f.resolveComponent)(`a2ui-column`);return(0,f.openBlock)(),(0,f.createBlock)(a,null,{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`section`,{class:(0,f.normalizeClass)(r.value),style:(0,f.normalizeStyle)((0,f.unref)(n).additionalStyles?.Column)},[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(e.component.properties.children,(t,n)=>((0,f.openBlock)(),(0,f.createBlock)(d.t,{key:t.id||n,"surface-id":e.surfaceId,component:t},null,8,[`surface-id`,`component`]))),128))],6)]),_:1})}}}),Sx=c.o(xx,[[`__scopeId`,`data-v-ab0d090c`]]),{entries:Cx,setPrototypeOf:wx,isFrozen:Tx,getPrototypeOf:Ex,getOwnPropertyDescriptor:Dx}=Object,{freeze:Ox,seal:kx,create:Ax}=Object,{apply:jx,construct:Mx}=typeof Reflect<`u`&&Reflect;Ox||=function(e){return e},kx||=function(e){return e},jx||=function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];return e.apply(t,r)},Mx||=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return new e(...n)};var Nx=qx(Array.prototype.forEach),Px=qx(Array.prototype.lastIndexOf),Fx=qx(Array.prototype.pop),Ix=qx(Array.prototype.push),Lx=qx(Array.prototype.splice),Rx=qx(String.prototype.toLowerCase),zx=qx(String.prototype.toString),Bx=qx(String.prototype.match),Vx=qx(String.prototype.replace),Hx=qx(String.prototype.indexOf),Ux=qx(String.prototype.trim),Wx=qx(Object.prototype.hasOwnProperty),Gx=qx(RegExp.prototype.test),Kx=Jx(TypeError);function qx(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return jx(e,t,r)}}function Jx(e){return function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return Mx(e,n)}}function $(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Rx;wx&&wx(e,null);let r=t.length;for(;r--;){let i=t[r];if(typeof i==`string`){let e=n(i);e!==i&&(Tx(t)||(t[r]=e),i=e)}e[i]=!0}return e}function Yx(e){for(let t=0;t<e.length;t++)Wx(e,t)||(e[t]=null);return e}function Xx(e){let t=Ax(null);for(let[n,r]of Cx(e))Wx(e,n)&&(Array.isArray(r)?t[n]=Yx(r):r&&typeof r==`object`&&r.constructor===Object?t[n]=Xx(r):t[n]=r);return t}function Zx(e,t){for(;e!==null;){let n=Dx(e,t);if(n){if(n.get)return qx(n.get);if(typeof n.value==`function`)return qx(n.value)}e=Ex(e)}function n(){return null}return n}var Qx=Ox(`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(`.`)),$x=Ox(`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(`.`)),eS=Ox([`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`]),tS=Ox([`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`]),nS=Ox(`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(`.`)),rS=Ox([`maction`,`maligngroup`,`malignmark`,`mlongdiv`,`mscarries`,`mscarry`,`msgroup`,`mstack`,`msline`,`msrow`,`semantics`,`annotation`,`annotation-xml`,`mprescripts`,`none`]),iS=Ox([`#text`]),aS=Ox(`accept.action.align.alt.autocapitalize.autocomplete.autopictureinpicture.autoplay.background.bgcolor.border.capture.cellpadding.cellspacing.checked.cite.class.clear.color.cols.colspan.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.slot`.split(`.`)),oS=Ox(`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.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-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(`.`)),sS=Ox(`accent.accentunder.align.bevelled.close.columnsalign.columnlines.columnspan.denomalign.depth.dir.display.displaystyle.encoding.fence.frame.height.href.id.largeop.length.linethickness.lspace.lquote.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(`.`)),cS=Ox([`xlink:href`,`xml:id`,`xlink:title`,`xml:space`,`xmlns:xlink`]),lS=kx(/\{\{[\w\W]*|[\w\W]*\}\}/gm),uS=kx(/<%[\w\W]*|[\w\W]*%>/gm),dS=kx(/\$\{[\w\W]*/gm),fS=kx(/^data-[\-\w.\u00B7-\uFFFF]+$/),pS=kx(/^aria-[\-\w]+$/),mS=kx(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),hS=kx(/^(?:\w+script|data):/i),gS=kx(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),_S=kx(/^html$/i),vS=kx(/^[a-z][.\w]*(-[.\w]+)+$/i),yS=Object.freeze({__proto__:null,ARIA_ATTR:pS,ATTR_WHITESPACE:gS,CUSTOM_ELEMENT:vS,DATA_ATTR:fS,DOCTYPE_NAME:_S,ERB_EXPR:uS,IS_ALLOWED_URI:mS,IS_SCRIPT_OR_DATA:hS,MUSTACHE_EXPR:lS,TMPLIT_EXPR:dS}),bS={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},xS=function(){return typeof window>`u`?null:window},SS=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}},CS=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function wS(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:xS(),t=e=>wS(e);if(t.version=`3.3.3`,t.removed=[],!e||!e.document||e.document.nodeType!==bS.document||!e.Element)return t.isSupported=!1,t;let{document:n}=e,r=n,i=r.currentScript,{DocumentFragment:a,HTMLTemplateElement:o,Node:s,Element:c,NodeFilter:l,NamedNodeMap:u=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:d,DOMParser:f,trustedTypes:p}=e,m=c.prototype,h=Zx(m,`cloneNode`),g=Zx(m,`remove`),_=Zx(m,`nextSibling`),v=Zx(m,`childNodes`),y=Zx(m,`parentNode`);if(typeof o==`function`){let e=n.createElement(`template`);e.content&&e.content.ownerDocument&&(n=e.content.ownerDocument)}let b,x=``,{implementation:S,createNodeIterator:C,createDocumentFragment:w,getElementsByTagName:T}=n,{importNode:E}=r,D=CS();t.isSupported=typeof Cx==`function`&&typeof y==`function`&&S&&S.createHTMLDocument!==void 0;let{MUSTACHE_EXPR:O,ERB_EXPR:k,TMPLIT_EXPR:A,DATA_ATTR:j,ARIA_ATTR:M,IS_SCRIPT_OR_DATA:N,ATTR_WHITESPACE:P,CUSTOM_ELEMENT:F}=yS,{IS_ALLOWED_URI:ee}=yS,I=null,L=$({},[...Qx,...$x,...eS,...nS,...iS]),R=null,te=$({},[...aS,...oS,...sS,...cS]),z=Object.seal(Ax(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}})),ne=null,re=null,ie=Object.seal(Ax(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),ae=!0,oe=!0,se=!1,ce=!0,le=!1,ue=!0,de=!1,fe=!1,B=!1,pe=!1,V=!1,H=!1,U=!0,W=!1,me=!0,G=!1,he={},K=null,ge=$({},[`annotation-xml`,`audio`,`colgroup`,`desc`,`foreignobject`,`head`,`iframe`,`math`,`mi`,`mn`,`mo`,`ms`,`mtext`,`noembed`,`noframes`,`noscript`,`plaintext`,`script`,`style`,`svg`,`template`,`thead`,`title`,`video`,`xmp`]),_e=null,ve=$({},[`audio`,`video`,`img`,`source`,`image`,`track`]),ye=null,be=$({},[`alt`,`class`,`for`,`id`,`label`,`name`,`pattern`,`placeholder`,`role`,`summary`,`title`,`value`,`style`,`xmlns`]),xe=`http://www.w3.org/1998/Math/MathML`,Se=`http://www.w3.org/2000/svg`,Ce=`http://www.w3.org/1999/xhtml`,we=Ce,Te=!1,Ee=null,De=$({},[xe,Se,Ce],zx),Oe=$({},[`mi`,`mo`,`mn`,`ms`,`mtext`]),ke=$({},[`annotation-xml`]),Ae=$({},[`title`,`style`,`font`,`a`,`script`]),je=null,Me=[`application/xhtml+xml`,`text/html`],Ne=null,Pe=null,Fe=n.createElement(`form`),Ie=function(e){return e instanceof RegExp||e instanceof Function},Le=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(Pe&&Pe===e)){if((!e||typeof e!=`object`)&&(e={}),e=Xx(e),je=Me.indexOf(e.PARSER_MEDIA_TYPE)===-1?`text/html`:e.PARSER_MEDIA_TYPE,Ne=je===`application/xhtml+xml`?zx:Rx,I=Wx(e,`ALLOWED_TAGS`)?$({},e.ALLOWED_TAGS,Ne):L,R=Wx(e,`ALLOWED_ATTR`)?$({},e.ALLOWED_ATTR,Ne):te,Ee=Wx(e,`ALLOWED_NAMESPACES`)?$({},e.ALLOWED_NAMESPACES,zx):De,ye=Wx(e,`ADD_URI_SAFE_ATTR`)?$(Xx(be),e.ADD_URI_SAFE_ATTR,Ne):be,_e=Wx(e,`ADD_DATA_URI_TAGS`)?$(Xx(ve),e.ADD_DATA_URI_TAGS,Ne):ve,K=Wx(e,`FORBID_CONTENTS`)?$({},e.FORBID_CONTENTS,Ne):ge,ne=Wx(e,`FORBID_TAGS`)?$({},e.FORBID_TAGS,Ne):Xx({}),re=Wx(e,`FORBID_ATTR`)?$({},e.FORBID_ATTR,Ne):Xx({}),he=Wx(e,`USE_PROFILES`)?e.USE_PROFILES:!1,ae=e.ALLOW_ARIA_ATTR!==!1,oe=e.ALLOW_DATA_ATTR!==!1,se=e.ALLOW_UNKNOWN_PROTOCOLS||!1,ce=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,le=e.SAFE_FOR_TEMPLATES||!1,ue=e.SAFE_FOR_XML!==!1,de=e.WHOLE_DOCUMENT||!1,pe=e.RETURN_DOM||!1,V=e.RETURN_DOM_FRAGMENT||!1,H=e.RETURN_TRUSTED_TYPE||!1,B=e.FORCE_BODY||!1,U=e.SANITIZE_DOM!==!1,W=e.SANITIZE_NAMED_PROPS||!1,me=e.KEEP_CONTENT!==!1,G=e.IN_PLACE||!1,ee=e.ALLOWED_URI_REGEXP||mS,we=e.NAMESPACE||Ce,Oe=e.MATHML_TEXT_INTEGRATION_POINTS||Oe,ke=e.HTML_INTEGRATION_POINTS||ke,z=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&Ie(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(z.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&Ie(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(z.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements==`boolean`&&(z.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),le&&(oe=!1),V&&(pe=!0),he&&(I=$({},iS),R=Ax(null),he.html===!0&&($(I,Qx),$(R,aS)),he.svg===!0&&($(I,$x),$(R,oS),$(R,cS)),he.svgFilters===!0&&($(I,eS),$(R,oS),$(R,cS)),he.mathMl===!0&&($(I,nS),$(R,sS),$(R,cS))),Wx(e,`ADD_TAGS`)||(ie.tagCheck=null),Wx(e,`ADD_ATTR`)||(ie.attributeCheck=null),e.ADD_TAGS&&(typeof e.ADD_TAGS==`function`?ie.tagCheck=e.ADD_TAGS:(I===L&&(I=Xx(I)),$(I,e.ADD_TAGS,Ne))),e.ADD_ATTR&&(typeof e.ADD_ATTR==`function`?ie.attributeCheck=e.ADD_ATTR:(R===te&&(R=Xx(R)),$(R,e.ADD_ATTR,Ne))),e.ADD_URI_SAFE_ATTR&&$(ye,e.ADD_URI_SAFE_ATTR,Ne),e.FORBID_CONTENTS&&(K===ge&&(K=Xx(K)),$(K,e.FORBID_CONTENTS,Ne)),e.ADD_FORBID_CONTENTS&&(K===ge&&(K=Xx(K)),$(K,e.ADD_FORBID_CONTENTS,Ne)),me&&(I[`#text`]=!0),de&&$(I,[`html`,`head`,`body`]),I.table&&($(I,[`tbody`]),delete ne.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!=`function`)throw Kx(`TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.`);if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!=`function`)throw Kx(`TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.`);b=e.TRUSTED_TYPES_POLICY,x=b.createHTML(``)}else b===void 0&&(b=SS(p,i)),b!==null&&typeof x==`string`&&(x=b.createHTML(``));Ox&&Ox(e),Pe=e}},Re=$({},[...$x,...eS,...tS]),ze=$({},[...nS,...rS]),Be=function(e){let t=y(e);(!t||!t.tagName)&&(t={namespaceURI:we,tagName:`template`});let n=Rx(e.tagName),r=Rx(t.tagName);return Ee[e.namespaceURI]?e.namespaceURI===Se?t.namespaceURI===Ce?n===`svg`:t.namespaceURI===xe?n===`svg`&&(r===`annotation-xml`||Oe[r]):!!Re[n]:e.namespaceURI===xe?t.namespaceURI===Ce?n===`math`:t.namespaceURI===Se?n===`math`&&ke[r]:!!ze[n]:e.namespaceURI===Ce?t.namespaceURI===Se&&!ke[r]||t.namespaceURI===xe&&!Oe[r]?!1:!ze[n]&&(Ae[n]||!Re[n]):!!(je===`application/xhtml+xml`&&Ee[e.namespaceURI]):!1},Ve=function(e){Ix(t.removed,{element:e});try{y(e).removeChild(e)}catch{g(e)}},He=function(e,n){try{Ix(t.removed,{attribute:n.getAttributeNode(e),from:n})}catch{Ix(t.removed,{attribute:null,from:n})}if(n.removeAttribute(e),e===`is`)if(pe||V)try{Ve(n)}catch{}else try{n.setAttribute(e,``)}catch{}},Ue=function(e){let t=null,r=null;if(B)e=`<remove></remove>`+e;else{let t=Bx(e,/^[\r\n\t ]+/);r=t&&t[0]}je===`application/xhtml+xml`&&we===Ce&&(e=`<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>`+e+`</body></html>`);let i=b?b.createHTML(e):e;if(we===Ce)try{t=new f().parseFromString(i,je)}catch{}if(!t||!t.documentElement){t=S.createDocument(we,`template`,null);try{t.documentElement.innerHTML=Te?x:i}catch{}}let a=t.body||t.documentElement;return e&&r&&a.insertBefore(n.createTextNode(r),a.childNodes[0]||null),we===Ce?T.call(t,de?`html`:`body`)[0]:de?t.documentElement:a},We=function(e){return C.call(e.ownerDocument||e,e,l.SHOW_ELEMENT|l.SHOW_COMMENT|l.SHOW_TEXT|l.SHOW_PROCESSING_INSTRUCTION|l.SHOW_CDATA_SECTION,null)},Ge=function(e){return e instanceof d&&(typeof e.nodeName!=`string`||typeof e.textContent!=`string`||typeof e.removeChild!=`function`||!(e.attributes instanceof u)||typeof e.removeAttribute!=`function`||typeof e.setAttribute!=`function`||typeof e.namespaceURI!=`string`||typeof e.insertBefore!=`function`||typeof e.hasChildNodes!=`function`)},Ke=function(e){return typeof s==`function`&&e instanceof s};function qe(e,n,r){Nx(e,e=>{e.call(t,n,r,Pe)})}let Je=function(e){let n=null;if(qe(D.beforeSanitizeElements,e,null),Ge(e))return Ve(e),!0;let r=Ne(e.nodeName);if(qe(D.uponSanitizeElement,e,{tagName:r,allowedTags:I}),ue&&e.hasChildNodes()&&!Ke(e.firstElementChild)&&Gx(/<[/\w!]/g,e.innerHTML)&&Gx(/<[/\w!]/g,e.textContent)||e.nodeType===bS.progressingInstruction||ue&&e.nodeType===bS.comment&&Gx(/<[/\w]/g,e.data))return Ve(e),!0;if(!(ie.tagCheck instanceof Function&&ie.tagCheck(r))&&(!I[r]||ne[r])){if(!ne[r]&&q(r)&&(z.tagNameCheck instanceof RegExp&&Gx(z.tagNameCheck,r)||z.tagNameCheck instanceof Function&&z.tagNameCheck(r)))return!1;if(me&&!K[r]){let t=y(e)||e.parentNode,n=v(e)||e.childNodes;if(n&&t){let r=n.length;for(let i=r-1;i>=0;--i){let r=h(n[i],!0);r.__removalCount=(e.__removalCount||0)+1,t.insertBefore(r,_(e))}}}return Ve(e),!0}return e instanceof c&&!Be(e)||(r===`noscript`||r===`noembed`||r===`noframes`)&&Gx(/<\/no(script|embed|frames)/i,e.innerHTML)?(Ve(e),!0):(le&&e.nodeType===bS.text&&(n=e.textContent,Nx([O,k,A],e=>{n=Vx(n,e,` `)}),e.textContent!==n&&(Ix(t.removed,{element:e.cloneNode()}),e.textContent=n)),qe(D.afterSanitizeElements,e,null),!1)},Ye=function(e,t,r){if(re[t]||U&&(t===`id`||t===`name`)&&(r in n||r in Fe))return!1;if(!(oe&&!re[t]&&Gx(j,t))&&!(ae&&Gx(M,t))&&!(ie.attributeCheck instanceof Function&&ie.attributeCheck(t,e))){if(!R[t]||re[t]){if(!(q(e)&&(z.tagNameCheck instanceof RegExp&&Gx(z.tagNameCheck,e)||z.tagNameCheck instanceof Function&&z.tagNameCheck(e))&&(z.attributeNameCheck instanceof RegExp&&Gx(z.attributeNameCheck,t)||z.attributeNameCheck instanceof Function&&z.attributeNameCheck(t,e))||t===`is`&&z.allowCustomizedBuiltInElements&&(z.tagNameCheck instanceof RegExp&&Gx(z.tagNameCheck,r)||z.tagNameCheck instanceof Function&&z.tagNameCheck(r))))return!1}else if(!ye[t]&&!Gx(ee,Vx(r,P,``))&&!((t===`src`||t===`xlink:href`||t===`href`)&&e!==`script`&&Hx(r,`data:`)===0&&_e[e])&&!(se&&!Gx(N,Vx(r,P,``)))&&r)return!1}return!0},q=function(e){return e!==`annotation-xml`&&Bx(e,F)},Xe=function(e){qe(D.beforeSanitizeAttributes,e,null);let{attributes:n}=e;if(!n||Ge(e))return;let r={attrName:``,attrValue:``,keepAttr:!0,allowedAttributes:R,forceKeepAttr:void 0},i=n.length;for(;i--;){let{name:a,namespaceURI:o,value:s}=n[i],c=Ne(a),l=s,u=a===`value`?l:Ux(l);if(r.attrName=c,r.attrValue=u,r.keepAttr=!0,r.forceKeepAttr=void 0,qe(D.uponSanitizeAttribute,e,r),u=r.attrValue,W&&(c===`id`||c===`name`)&&(He(a,e),u=`user-content-`+u),ue&&Gx(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,u)){He(a,e);continue}if(c===`attributename`&&Bx(u,`href`)){He(a,e);continue}if(r.forceKeepAttr)continue;if(!r.keepAttr){He(a,e);continue}if(!ce&&Gx(/\/>/i,u)){He(a,e);continue}le&&Nx([O,k,A],e=>{u=Vx(u,e,` `)});let d=Ne(e.nodeName);if(!Ye(d,c,u)){He(a,e);continue}if(b&&typeof p==`object`&&typeof p.getAttributeType==`function`&&!o)switch(p.getAttributeType(d,c)){case`TrustedHTML`:u=b.createHTML(u);break;case`TrustedScriptURL`:u=b.createScriptURL(u);break}if(u!==l)try{o?e.setAttributeNS(o,a,u):e.setAttribute(a,u),Ge(e)?Ve(e):Fx(t.removed)}catch{He(a,e)}}qe(D.afterSanitizeAttributes,e,null)},Ze=function e(t){let n=null,r=We(t);for(qe(D.beforeSanitizeShadowDOM,t,null);n=r.nextNode();)qe(D.uponSanitizeShadowNode,n,null),Je(n),Xe(n),n.content instanceof a&&e(n.content);qe(D.afterSanitizeShadowDOM,t,null)};return t.sanitize=function(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=null,o=null,c=null,l=null;if(Te=!e,Te&&(e=`<!-->`),typeof e!=`string`&&!Ke(e))if(typeof e.toString==`function`){if(e=e.toString(),typeof e!=`string`)throw Kx(`dirty is not a string, aborting`)}else throw Kx(`toString is not a function`);if(!t.isSupported)return e;if(fe||Le(n),t.removed=[],typeof e==`string`&&(G=!1),G){if(e.nodeName){let t=Ne(e.nodeName);if(!I[t]||ne[t])throw Kx(`root node is forbidden and cannot be sanitized in-place`)}}else if(e instanceof s)i=Ue(`<!---->`),o=i.ownerDocument.importNode(e,!0),o.nodeType===bS.element&&o.nodeName===`BODY`||o.nodeName===`HTML`?i=o:i.appendChild(o);else{if(!pe&&!le&&!de&&e.indexOf(`<`)===-1)return b&&H?b.createHTML(e):e;if(i=Ue(e),!i)return pe?null:H?x:``}i&&B&&Ve(i.firstChild);let u=We(G?e:i);for(;c=u.nextNode();)Je(c),Xe(c),c.content instanceof a&&Ze(c.content);if(G)return e;if(pe){if(V)for(l=w.call(i.ownerDocument);i.firstChild;)l.appendChild(i.firstChild);else l=i;return(R.shadowroot||R.shadowrootmode)&&(l=E.call(r,l,!0)),l}let d=de?i.outerHTML:i.innerHTML;return de&&I[`!doctype`]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&Gx(_S,i.ownerDocument.doctype.name)&&(d=`<!DOCTYPE `+i.ownerDocument.doctype.name+`>
1320
- `+d),le&&Nx([O,k,A],e=>{d=Vx(d,e,` `)}),b&&H?b.createHTML(d):d},t.setConfig=function(){Le(arguments.length>0&&arguments[0]!==void 0?arguments[0]:{}),fe=!0},t.clearConfig=function(){Pe=null,fe=!1},t.isValidAttribute=function(e,t,n){return Pe||Le({}),Ye(Ne(e),Ne(t),n)},t.addHook=function(e,t){typeof t==`function`&&Ix(D[e],t)},t.removeHook=function(e,t){if(t!==void 0){let n=Px(D[e],t);return n===-1?void 0:Lx(D[e],n,1)[0]}return Fx(D[e])},t.removeHooks=function(e){D[e]=[]},t.removeAllHooks=function(){D=CS()},t}var TS=wS(),ES=[`innerHTML`],DS=(0,f.defineComponent)({__name:`A2UIText`,props:{surfaceId:{},component:{},weight:{},text:{},usageHint:{}},setup(e){(0,f.useCssVars)(e=>({v29f7b2ea:e.weight}));let t=e,{theme:n,resolvePrimitive:r}=c.t(t),i=vx(),a=(0,f.computed)(()=>{let e=t.usageHint,a=r(t.text);if(a==null)return`(empty)`;switch(e){case`h1`:a=`# ${a}`;break;case`h2`:a=`## ${a}`;break;case`h3`:a=`### ${a}`;break;case`h4`:a=`#### ${a}`;break;case`h5`:a=`##### ${a}`;break;case`caption`:a=`*${a}*`;break;default:a=String(a);break}return TS.sanitize(i.render(a,u.n(n.markdown,[`ol`,`ul`,`li`],{})))}),o=(0,f.computed)(()=>{let e=t.usageHint;return u.r(n.components.Text.all,e?n.components.Text[e]:{})}),s=(0,f.computed)(()=>{let e=t.usageHint,r=n.additionalStyles?.Text;if(!r)return null;let i={};return i=l(r)?r[e??`body`]:r,i});function l(e){return typeof e!=`object`||!e||Array.isArray(e)?!1:[`h1`,`h2`,`h3`,`h4`,`h5`,`h6`,`caption`,`body`].every(t=>t in e)}return(e,t)=>{let n=(0,f.resolveComponent)(`a2ui-text`);return(0,f.openBlock)(),(0,f.createBlock)(n,null,{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`section`,{class:(0,f.normalizeClass)(o.value),style:(0,f.normalizeStyle)(s.value),innerHTML:a.value},null,14,ES)]),_:1})}}}),OS=DS;const kS={Row:{type:()=>bx,props:e=>{let t=e.properties;return{alignment:t.alignment??`stretch`,distribution:t.distribution??`start`}}},Column:{type:()=>Sx,props:e=>{let t=e.properties;return{alignment:t.alignment??`stretch`,distribution:t.distribution??`start`}}},List:{type:()=>Promise.resolve().then(()=>require(`./A2UIList-DcLtvZb0.cjs`)).then(e=>e.default),props:e=>({direction:e.properties.direction??`vertical`})},Card:()=>Promise.resolve().then(()=>require(`./A2UICard-BhGyY9Gx.cjs`)).then(e=>e.default),Image:{type:()=>Promise.resolve().then(()=>require(`./A2UIImage-BeT7cRh7.cjs`)).then(e=>e.default),props:e=>{let t=e.properties;return{url:t.url,usageHint:t.usageHint}}},Icon:{type:()=>Promise.resolve().then(()=>require(`./A2UIIcon-7d6g1X7l.cjs`)).then(e=>e.default),props:e=>({name:e.properties.name})},Video:{type:()=>Promise.resolve().then(()=>require(`./A2UIVideo-CRBBhgyW.cjs`)).then(e=>e.default),props:e=>({url:e.properties.url})},AudioPlayer:{type:()=>Promise.resolve().then(()=>require(`./A2UIAudio-CjRHo_tK.cjs`)).then(e=>e.default),props:e=>({url:e.properties.url})},Text:{type:()=>OS,props:e=>{let t=e.properties;return{text:t.text,usageHint:t.usageHint||null}}},Button:{type:()=>Promise.resolve().then(()=>require(`./A2UIButton-CnppLi7b.cjs`)).then(e=>e.default),props:e=>({action:e.properties.action})},Divider:()=>Promise.resolve().then(()=>require(`./A2UIDivider-CvM6sA_R.cjs`)).then(e=>e.default),MultipleChoice:{type:()=>Promise.resolve().then(()=>require(`./A2UIMultipleChoice-n7GyQjXd.cjs`)).then(e=>e.default),props:e=>{let t=e.properties;return{options:t.options||[],value:t.selections,description:`Select an item`}}},TextField:{type:()=>Promise.resolve().then(()=>require(`./A2UITextField-D652Ge6_.cjs`)).then(e=>e.default),props:e=>{let t=e.properties;return{text:t.text??null,label:t.label,textFieldType:t.type}}},DateTimeInput:{type:()=>Promise.resolve().then(()=>require(`./A2UIDateTimeInput-D-aG6mZk.cjs`)).then(e=>e.default),props:e=>{let t=e.properties;return{enableDate:t.enableDate,enableTime:t.enableTime,value:t.value}}},CheckBox:{type:()=>Promise.resolve().then(()=>require(`./A2UICheckbox-B5uHUsbP.cjs`)).then(e=>e.default),props:e=>{let t=e.properties;return{label:t.label,value:t.value}}},Slider:{type:()=>Promise.resolve().then(()=>require(`./A2UISlider-NnRbh48d.cjs`)).then(e=>e.default),props:e=>{let t=e.properties;return{value:t.value,minValue:t.minValue,maxValue:t.maxValue,label:``}}},Tabs:{type:()=>Promise.resolve().then(()=>require(`./A2UITabs-CvuzauYt.cjs`)).then(e=>e.default),props:e=>({tabs:e.properties.tabItems})},Modal:{type:()=>Promise.resolve().then(()=>require(`./A2UIModal-BNDMZHNM.cjs`)).then(e=>e.default),props:()=>({})}};var AS=(0,f.defineComponent)({__name:`A2UISurface`,props:{surfaceId:{},surface:{}},setup(e){let t=e,n=(0,f.computed)(()=>{let e=t.surface,n={};if(e?.styles)for(let[t,r]of Object.entries(e.styles))switch(t){case`primaryColor`:n[`--p-100`]=`#ffffff`,n[`--p-99`]=`color-mix(in srgb, ${r} 2%, white 98%)`,n[`--p-98`]=`color-mix(in srgb, ${r} 4%, white 96%)`,n[`--p-95`]=`color-mix(in srgb, ${r} 10%, white 90%)`,n[`--p-90`]=`color-mix(in srgb, ${r} 20%, white 80%)`,n[`--p-80`]=`color-mix(in srgb, ${r} 40%, white 60%)`,n[`--p-70`]=`color-mix(in srgb, ${r} 60%, white 40%)`,n[`--p-60`]=`color-mix(in srgb, ${r} 80%, white 20%)`,n[`--p-50`]=r,n[`--p-40`]=`color-mix(in srgb, ${r} 80%, black 20%)`,n[`--p-35`]=`color-mix(in srgb, ${r} 70%, black 30%)`,n[`--p-30`]=`color-mix(in srgb, ${r} 60%, black 40%)`,n[`--p-25`]=`color-mix(in srgb, ${r} 50%, black 50%)`,n[`--p-20`]=`color-mix(in srgb, ${r} 40%, black 60%)`,n[`--p-15`]=`color-mix(in srgb, ${r} 30%, black 70%)`,n[`--p-10`]=`color-mix(in srgb, ${r} 20%, black 80%)`,n[`--p-5`]=`color-mix(in srgb, ${r} 10%, black 90%)`,n[`--0`]=`#00000`;break;case`font`:n[`--font-family`]=r,n[`--font-family-flex`]=r;break}return n});return(t,r)=>{let i=(0,f.resolveComponent)(`a2ui-surface`);return(0,f.openBlock)(),(0,f.createBlock)(i,{style:(0,f.normalizeStyle)(n.value)},{default:(0,f.withCtx)(()=>[e.surfaceId&&e.surface?.componentTree?((0,f.openBlock)(),(0,f.createBlock)(d.t,{key:0,"surface-id":e.surfaceId,component:e.surface.componentTree},null,8,[`surface-id`,`component`])):(0,f.createCommentVNode)(``,!0)]),_:1},8,[`style`])}}}),jS=c.o(AS,[[`__scopeId`,`data-v-9fea9d5c`]]),MS={"typography-f-sf":!0,"typography-fs-n":!0,"typography-w-500":!0,"layout-as-n":!0,"layout-dis-iflx":!0,"layout-al-c":!0},NS={"layout-w-100":!0},PS={"typography-f-s":!0,"typography-fs-n":!0,"typography-w-400":!0,"layout-mt-0":!0,"layout-mb-2":!0,"typography-sz-bm":!0,"color-c-n10":!0},FS={"typography-f-sf":!0,"typography-fs-n":!0,"typography-w-500":!0,"layout-pt-3":!0,"layout-pb-3":!0,"layout-pl-5":!0,"layout-pr-5":!0,"layout-mb-1":!0,"border-br-16":!0,"border-bw-0":!0,"border-c-n70":!0,"border-bs-s":!0,"color-bgc-s30":!0,"color-c-n100":!0,"behavior-ho-80":!0},IS={"typography-f-sf":!0,"typography-fs-n":!0,"typography-w-500":!0,"layout-mt-0":!0,"layout-mb-2":!0,"color-c-n10":!0},LS={...IS,"typography-sz-tl":!0},RS={...IS,"typography-sz-tm":!0},zS={...IS,"typography-sz-ts":!0},BS={"behavior-sw-n":!0},VS={"typography-f-sf":!0,"typography-fs-n":!0,"typography-w-400":!0,"layout-pl-4":!0,"layout-pr-4":!0,"layout-pt-2":!0,"layout-pb-2":!0,"border-br-6":!0,"border-bw-1":!0,"color-bc-s70":!0,"border-bs-s":!0,"layout-as-n":!0,"color-c-n10":!0},HS={"typography-f-s":!0,"typography-fs-n":!0,"typography-w-400":!0,"layout-m-0":!0,"typography-sz-bm":!0,"layout-as-n":!0,"color-c-n10":!0},US={"typography-f-s":!0,"typography-fs-n":!0,"typography-w-400":!0,"layout-m-0":!0,"typography-sz-bm":!0,"layout-as-n":!0},WS={...US},GS={...US},KS={"typography-f-c":!0,"typography-fs-n":!0,"typography-w-400":!0,"typography-sz-bm":!0,"typography-ws-p":!0,"layout-as-n":!0},qS={...VS,"layout-r-none":!0,"layout-fs-c":!0},JS={"layout-el-cv":!0},YS=u.r(MS,{"color-c-p30":!0}),XS=u.r(VS,{"color-c-n5":!0}),ZS=u.r(qS,{"color-c-n5":!0}),QS=u.r(FS,{"color-c-n100":!0}),$S=u.r(LS,{"color-c-n5":!0}),eC=u.r(RS,{"color-c-n5":!0}),tC=u.r(zS,{"color-c-n5":!0}),nC=u.r(PS,{"color-c-n5":!0}),rC=u.r(HS,{"color-c-n60":!0}),iC=u.r(KS,{"color-c-n35":!0}),aC=u.r(US,{"color-c-n35":!0}),oC=u.r(WS,{"color-c-n35":!0}),sC=u.r(GS,{"color-c-n35":!0});const cC={additionalStyles:{Card:{"min-width":`320px`,"box-sizing":`border-box`},Button:{"--n-60":`var(--n-100)`},Image:{"max-width":`120px`,"max-height":`120px`,marginLeft:`auto`,marginRight:`auto`}},components:{AudioPlayer:{},Button:{"layout-pt-2":!0,"layout-pb-2":!0,"layout-pl-5":!0,"layout-pr-5":!0,"border-br-2":!0,"border-bw-0":!0,"border-bs-s":!0,"color-bgc-p30":!0,"color-c-n100":!0,"behavior-ho-70":!0},Card:{"border-br-4":!0,"color-bgc-p100":!0,"color-bc-n90":!0,"border-bw-1":!0,"border-bs-s":!0,"layout-pt-10":!0,"layout-pb-10":!0,"layout-pl-4":!0,"layout-pr-4":!0},CheckBox:{element:{"layout-m-0":!0,"layout-mr-2":!0,"layout-p-2":!0,"border-br-12":!0,"border-bw-1":!0,"border-bs-s":!0,"color-bgc-p100":!0,"color-bc-p60":!0,"color-c-n30":!0,"color-c-p30":!0},label:{"color-c-p30":!0,"typography-f-sf":!0,"typography-v-r":!0,"typography-w-400":!0,"layout-flx-1":!0,"typography-sz-ll":!0},container:{"layout-dsp-iflex":!0,"layout-al-c":!0}},Column:{},DateTimeInput:{container:{},label:{},element:{"layout-pt-2":!0,"layout-pb-2":!0,"layout-pl-3":!0,"layout-pr-3":!0,"border-br-12":!0,"border-bw-1":!0,"border-bs-s":!0,"color-bgc-p100":!0,"color-bc-p60":!0,"color-c-n30":!0}},Divider:{"color-bgc-n90":!0,"layout-mt-6":!0,"layout-mb-6":!0},Image:{all:{"border-br-50pc":!0,"layout-el-cv":!0,"layout-w-100":!0,"layout-h-100":!0,"layout-dsp-flexhor":!0,"layout-al-c":!0,"layout-sp-c":!0,"layout-mb-3":!0},avatar:{},header:{},icon:{},largeFeature:{},mediumFeature:{},smallFeature:{}},Icon:{"border-br-1":!0,"layout-p-2":!0,"color-bgc-n98":!0,"layout-dsp-flexhor":!0,"layout-al-c":!0,"layout-sp-c":!0},List:{"layout-g-4":!0,"layout-p-2":!0},Modal:{backdrop:{"color-bbgc-p60_20":!0},element:{"border-br-2":!0,"color-bgc-p100":!0,"layout-p-4":!0,"border-bw-1":!0,"border-bs-s":!0,"color-bc-p80":!0}},MultipleChoice:{container:{},label:{},element:{}},Row:{"layout-g-4":!0,"layout-mb-3":!0},Slider:{container:{},label:{},element:{}},Tabs:{container:{},controls:{all:{},selected:{}},element:{}},Text:{all:{"layout-w-100":!0,"layout-g-2":!0,"color-c-p30":!0},h1:{"typography-f-sf":!0,"typography-ta-c":!0,"typography-v-r":!0,"typography-w-500":!0,"layout-mt-0":!0,"layout-mr-0":!0,"layout-ml-0":!0,"layout-mb-2":!0,"layout-p-0":!0,"typography-sz-tl":!0},h2:{"typography-f-sf":!0,"typography-ta-c":!0,"typography-v-r":!0,"typography-w-500":!0,"layout-mt-0":!0,"layout-mr-0":!0,"layout-ml-0":!0,"layout-mb-2":!0,"layout-p-0":!0,"typography-sz-tl":!0},h3:{"typography-f-sf":!0,"typography-ta-c":!0,"typography-v-r":!0,"typography-w-500":!0,"layout-mt-0":!0,"layout-mr-0":!0,"layout-ml-0":!0,"layout-mb-0":!0,"layout-p-0":!0,"typography-sz-ts":!0},h4:{"typography-f-sf":!0,"typography-ta-c":!0,"typography-v-r":!0,"typography-w-500":!0,"layout-mt-0":!0,"layout-mr-0":!0,"layout-ml-0":!0,"layout-mb-0":!0,"layout-p-0":!0,"typography-sz-bl":!0},h5:{"typography-f-sf":!0,"typography-ta-c":!0,"typography-v-r":!0,"typography-w-500":!0,"layout-mt-0":!0,"layout-mr-0":!0,"layout-ml-0":!0,"layout-mb-0":!0,"layout-p-0":!0,"color-c-n30":!0,"typography-sz-bm":!0,"layout-mb-1":!0},body:{},caption:{}},TextField:{container:{"typography-sz-bm":!0,"layout-w-100":!0,"layout-g-2":!0,"layout-dsp-flexhor":!0,"layout-al-c":!0},label:{"layout-flx-0":!0},element:{"typography-sz-bm":!0,"layout-pt-2":!0,"layout-pb-2":!0,"layout-pl-3":!0,"layout-pr-3":!0,"border-br-12":!0,"border-bw-1":!0,"border-bs-s":!0,"color-bgc-p100":!0,"color-bc-p60":!0,"color-c-n30":!0,"color-c-p30":!0}},Video:{"border-br-5":!0,"layout-el-cv":!0}},elements:{a:YS,audio:NS,body:nC,button:QS,h1:$S,h2:eC,h3:tC,h4:{},h5:{},iframe:BS,input:XS,p:rC,pre:iC,textarea:ZS,video:JS},markdown:{p:Object.keys(rC),h1:Object.keys($S),h2:Object.keys(eC),h3:Object.keys(tC),h4:[],h5:[],ul:Object.keys(oC),ol:Object.keys(aC),li:Object.keys(sC),a:Object.keys(YS),strong:[],em:[]}};var lC=[cy],uC={install(e,t){h(t||{}),e.use(ay),lC.forEach(t=>{e.component(t.name,t)}),e.use(hx),t?.ws&&e.use(l.i,t.ws)}};exports.A2UISurface=jS,exports.A2UiRenderer=d.t,exports.DEFAULT_CATALOG=kS,exports.EVENT_TYPE=l.t,exports.MessageProcessor=c.n,exports.ZButton=cy,exports.ZIcon=Qb,exports.ZIconInput=ux,exports.ZIconPicker=cx,exports.default=uC,exports.defaultTheme=cC,exports.loadLocalSvgIcons=fx,exports.provideA2UI=c.i,exports.regAPIProvider=dx,exports.t=s,exports.useA2UIConfig=c.a,exports.useDynamicComponent=c.t,exports.useMarkdownRenderer=vx,exports.useMessageProcessor=c.r,exports.useWs=l.n,exports.ws=l.r,exports.zwqWs=l.i;
1320
+ `+d),le&&Nx([O,k,A],e=>{d=Vx(d,e,` `)}),b&&H?b.createHTML(d):d},t.setConfig=function(){Le(arguments.length>0&&arguments[0]!==void 0?arguments[0]:{}),fe=!0},t.clearConfig=function(){Pe=null,fe=!1},t.isValidAttribute=function(e,t,n){return Pe||Le({}),Ye(Ne(e),Ne(t),n)},t.addHook=function(e,t){typeof t==`function`&&Ix(D[e],t)},t.removeHook=function(e,t){if(t!==void 0){let n=Px(D[e],t);return n===-1?void 0:Lx(D[e],n,1)[0]}return Fx(D[e])},t.removeHooks=function(e){D[e]=[]},t.removeAllHooks=function(){D=CS()},t}var TS=wS(),ES=[`innerHTML`],DS=(0,f.defineComponent)({__name:`A2UIText`,props:{surfaceId:{},component:{},weight:{},text:{},usageHint:{}},setup(e){(0,f.useCssVars)(e=>({v29f7b2ea:e.weight}));let t=e,{theme:n,resolvePrimitive:r}=c.t(t),i=vx(),a=(0,f.computed)(()=>{let e=t.usageHint,a=r(t.text);if(a==null)return`(empty)`;switch(e){case`h1`:a=`# ${a}`;break;case`h2`:a=`## ${a}`;break;case`h3`:a=`### ${a}`;break;case`h4`:a=`#### ${a}`;break;case`h5`:a=`##### ${a}`;break;case`caption`:a=`*${a}*`;break;default:a=String(a);break}return TS.sanitize(i.render(a,u.n(n.markdown,[`ol`,`ul`,`li`],{})))}),o=(0,f.computed)(()=>{let e=t.usageHint;return u.r(n.components.Text.all,e?n.components.Text[e]:{})}),s=(0,f.computed)(()=>{let e=t.usageHint,r=n.additionalStyles?.Text;if(!r)return null;let i={};return i=l(r)?r[e??`body`]:r,i});function l(e){return typeof e!=`object`||!e||Array.isArray(e)?!1:[`h1`,`h2`,`h3`,`h4`,`h5`,`h6`,`caption`,`body`].every(t=>t in e)}return(e,t)=>{let n=(0,f.resolveComponent)(`a2ui-text`);return(0,f.openBlock)(),(0,f.createBlock)(n,null,{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`section`,{class:(0,f.normalizeClass)(o.value),style:(0,f.normalizeStyle)(s.value),innerHTML:a.value},null,14,ES)]),_:1})}}}),OS=DS;const kS={Row:{type:()=>bx,props:e=>{let t=e.properties;return{alignment:t.alignment??`stretch`,distribution:t.distribution??`start`}}},Column:{type:()=>Sx,props:e=>{let t=e.properties;return{alignment:t.alignment??`stretch`,distribution:t.distribution??`start`}}},List:{type:()=>Promise.resolve().then(()=>require(`./A2UIList-DcLtvZb0.cjs`)).then(e=>e.default),props:e=>({direction:e.properties.direction??`vertical`})},Card:()=>Promise.resolve().then(()=>require(`./A2UICard-BhGyY9Gx.cjs`)).then(e=>e.default),Image:{type:()=>Promise.resolve().then(()=>require(`./A2UIImage-BeT7cRh7.cjs`)).then(e=>e.default),props:e=>{let t=e.properties;return{url:t.url,usageHint:t.usageHint}}},Icon:{type:()=>Promise.resolve().then(()=>require(`./A2UIIcon-7d6g1X7l.cjs`)).then(e=>e.default),props:e=>({name:e.properties.name})},Video:{type:()=>Promise.resolve().then(()=>require(`./A2UIVideo-CRBBhgyW.cjs`)).then(e=>e.default),props:e=>({url:e.properties.url})},AudioPlayer:{type:()=>Promise.resolve().then(()=>require(`./A2UIAudio-CjRHo_tK.cjs`)).then(e=>e.default),props:e=>({url:e.properties.url})},Text:{type:()=>OS,props:e=>{let t=e.properties;return{text:t.text,usageHint:t.usageHint||null}}},Button:{type:()=>Promise.resolve().then(()=>require(`./A2UIButton-CnppLi7b.cjs`)).then(e=>e.default),props:e=>({action:e.properties.action})},Divider:()=>Promise.resolve().then(()=>require(`./A2UIDivider-CvM6sA_R.cjs`)).then(e=>e.default),MultipleChoice:{type:()=>Promise.resolve().then(()=>require(`./A2UIMultipleChoice-n7GyQjXd.cjs`)).then(e=>e.default),props:e=>{let t=e.properties;return{options:t.options||[],value:t.selections,description:`Select an item`}}},TextField:{type:()=>Promise.resolve().then(()=>require(`./A2UITextField-D652Ge6_.cjs`)).then(e=>e.default),props:e=>{let t=e.properties;return{text:t.text??null,label:t.label,textFieldType:t.type}}},DateTimeInput:{type:()=>Promise.resolve().then(()=>require(`./A2UIDateTimeInput-D-aG6mZk.cjs`)).then(e=>e.default),props:e=>{let t=e.properties;return{enableDate:t.enableDate,enableTime:t.enableTime,value:t.value}}},CheckBox:{type:()=>Promise.resolve().then(()=>require(`./A2UICheckbox-B5uHUsbP.cjs`)).then(e=>e.default),props:e=>{let t=e.properties;return{label:t.label,value:t.value}}},Slider:{type:()=>Promise.resolve().then(()=>require(`./A2UISlider-NnRbh48d.cjs`)).then(e=>e.default),props:e=>{let t=e.properties;return{value:t.value,minValue:t.minValue,maxValue:t.maxValue,label:``}}},Tabs:{type:()=>Promise.resolve().then(()=>require(`./A2UITabs-CvuzauYt.cjs`)).then(e=>e.default),props:e=>({tabs:e.properties.tabItems})},Modal:{type:()=>Promise.resolve().then(()=>require(`./A2UIModal-BNDMZHNM.cjs`)).then(e=>e.default),props:()=>({})}};var AS=(0,f.defineComponent)({__name:`A2UISurface`,props:{surfaceId:{},surface:{}},setup(e){let t=e,n=(0,f.computed)(()=>{let e=t.surface,n={};if(e?.styles)for(let[t,r]of Object.entries(e.styles))switch(t){case`primaryColor`:n[`--p-100`]=`#ffffff`,n[`--p-99`]=`color-mix(in srgb, ${r} 2%, white 98%)`,n[`--p-98`]=`color-mix(in srgb, ${r} 4%, white 96%)`,n[`--p-95`]=`color-mix(in srgb, ${r} 10%, white 90%)`,n[`--p-90`]=`color-mix(in srgb, ${r} 20%, white 80%)`,n[`--p-80`]=`color-mix(in srgb, ${r} 40%, white 60%)`,n[`--p-70`]=`color-mix(in srgb, ${r} 60%, white 40%)`,n[`--p-60`]=`color-mix(in srgb, ${r} 80%, white 20%)`,n[`--p-50`]=r,n[`--p-40`]=`color-mix(in srgb, ${r} 80%, black 20%)`,n[`--p-35`]=`color-mix(in srgb, ${r} 70%, black 30%)`,n[`--p-30`]=`color-mix(in srgb, ${r} 60%, black 40%)`,n[`--p-25`]=`color-mix(in srgb, ${r} 50%, black 50%)`,n[`--p-20`]=`color-mix(in srgb, ${r} 40%, black 60%)`,n[`--p-15`]=`color-mix(in srgb, ${r} 30%, black 70%)`,n[`--p-10`]=`color-mix(in srgb, ${r} 20%, black 80%)`,n[`--p-5`]=`color-mix(in srgb, ${r} 10%, black 90%)`,n[`--0`]=`#00000`;break;case`font`:n[`--font-family`]=r,n[`--font-family-flex`]=r;break}return n});return(t,r)=>{let i=(0,f.resolveComponent)(`a2ui-surface`);return(0,f.openBlock)(),(0,f.createBlock)(i,{style:(0,f.normalizeStyle)(n.value)},{default:(0,f.withCtx)(()=>[e.surfaceId&&e.surface?.componentTree?((0,f.openBlock)(),(0,f.createBlock)(d.t,{key:0,"surface-id":e.surfaceId,component:e.surface.componentTree},null,8,[`surface-id`,`component`])):(0,f.createCommentVNode)(``,!0)]),_:1},8,[`style`])}}}),jS=c.o(AS,[[`__scopeId`,`data-v-9fea9d5c`]]),MS={"typography-f-sf":!0,"typography-fs-n":!0,"typography-w-500":!0,"layout-as-n":!0,"layout-dis-iflx":!0,"layout-al-c":!0},NS={"layout-w-100":!0},PS={"typography-f-s":!0,"typography-fs-n":!0,"typography-w-400":!0,"layout-mt-0":!0,"layout-mb-2":!0,"typography-sz-bm":!0,"color-c-n10":!0},FS={"typography-f-sf":!0,"typography-fs-n":!0,"typography-w-500":!0,"layout-pt-3":!0,"layout-pb-3":!0,"layout-pl-5":!0,"layout-pr-5":!0,"layout-mb-1":!0,"border-br-16":!0,"border-bw-0":!0,"border-c-n70":!0,"border-bs-s":!0,"color-bgc-s30":!0,"color-c-n100":!0,"behavior-ho-80":!0},IS={"typography-f-sf":!0,"typography-fs-n":!0,"typography-w-500":!0,"layout-mt-0":!0,"layout-mb-2":!0,"color-c-n10":!0},LS={...IS,"typography-sz-tl":!0},RS={...IS,"typography-sz-tm":!0},zS={...IS,"typography-sz-ts":!0},BS={"behavior-sw-n":!0},VS={"typography-f-sf":!0,"typography-fs-n":!0,"typography-w-400":!0,"layout-pl-4":!0,"layout-pr-4":!0,"layout-pt-2":!0,"layout-pb-2":!0,"border-br-6":!0,"border-bw-1":!0,"color-bc-s70":!0,"border-bs-s":!0,"layout-as-n":!0,"color-c-n10":!0},HS={"typography-f-s":!0,"typography-fs-n":!0,"typography-w-400":!0,"layout-m-0":!0,"typography-sz-bm":!0,"layout-as-n":!0,"color-c-n10":!0},US={"typography-f-s":!0,"typography-fs-n":!0,"typography-w-400":!0,"layout-m-0":!0,"typography-sz-bm":!0,"layout-as-n":!0},WS={...US},GS={...US},KS={"typography-f-c":!0,"typography-fs-n":!0,"typography-w-400":!0,"typography-sz-bm":!0,"typography-ws-p":!0,"layout-as-n":!0},qS={...VS,"layout-r-none":!0,"layout-fs-c":!0},JS={"layout-el-cv":!0},YS=u.r(MS,{"color-c-p30":!0}),XS=u.r(VS,{"color-c-n5":!0}),ZS=u.r(qS,{"color-c-n5":!0}),QS=u.r(FS,{"color-c-n100":!0}),$S=u.r(LS,{"color-c-n5":!0}),eC=u.r(RS,{"color-c-n5":!0}),tC=u.r(zS,{"color-c-n5":!0}),nC=u.r(PS,{"color-c-n5":!0}),rC=u.r(HS,{"color-c-n60":!0}),iC=u.r(KS,{"color-c-n35":!0}),aC=u.r(US,{"color-c-n35":!0}),oC=u.r(WS,{"color-c-n35":!0}),sC=u.r(GS,{"color-c-n35":!0});const cC={additionalStyles:{Card:{"min-width":`320px`,"box-sizing":`border-box`},Button:{"--n-60":`var(--n-100)`},Image:{"max-width":`120px`,"max-height":`120px`,marginLeft:`auto`,marginRight:`auto`}},components:{AudioPlayer:{},Button:{"layout-pt-2":!0,"layout-pb-2":!0,"layout-pl-5":!0,"layout-pr-5":!0,"border-br-2":!0,"border-bw-0":!0,"border-bs-s":!0,"color-bgc-p30":!0,"color-c-n100":!0,"behavior-ho-70":!0},Card:{"border-br-4":!0,"color-bgc-p100":!0,"color-bc-n90":!0,"border-bw-1":!0,"border-bs-s":!0,"layout-pt-10":!0,"layout-pb-10":!0,"layout-pl-4":!0,"layout-pr-4":!0},CheckBox:{element:{"layout-m-0":!0,"layout-mr-2":!0,"layout-p-2":!0,"border-br-12":!0,"border-bw-1":!0,"border-bs-s":!0,"color-bgc-p100":!0,"color-bc-p60":!0,"color-c-n30":!0,"color-c-p30":!0},label:{"color-c-p30":!0,"typography-f-sf":!0,"typography-v-r":!0,"typography-w-400":!0,"layout-flx-1":!0,"typography-sz-ll":!0},container:{"layout-dsp-iflex":!0,"layout-al-c":!0}},Column:{},DateTimeInput:{container:{},label:{},element:{"layout-pt-2":!0,"layout-pb-2":!0,"layout-pl-3":!0,"layout-pr-3":!0,"border-br-12":!0,"border-bw-1":!0,"border-bs-s":!0,"color-bgc-p100":!0,"color-bc-p60":!0,"color-c-n30":!0}},Divider:{"color-bgc-n90":!0,"layout-mt-6":!0,"layout-mb-6":!0},Image:{all:{"border-br-50pc":!0,"layout-el-cv":!0,"layout-w-100":!0,"layout-h-100":!0,"layout-dsp-flexhor":!0,"layout-al-c":!0,"layout-sp-c":!0,"layout-mb-3":!0},avatar:{},header:{},icon:{},largeFeature:{},mediumFeature:{},smallFeature:{}},Icon:{"border-br-1":!0,"layout-p-2":!0,"color-bgc-n98":!0,"layout-dsp-flexhor":!0,"layout-al-c":!0,"layout-sp-c":!0},List:{"layout-g-4":!0,"layout-p-2":!0},Modal:{backdrop:{"color-bbgc-p60_20":!0},element:{"border-br-2":!0,"color-bgc-p100":!0,"layout-p-4":!0,"border-bw-1":!0,"border-bs-s":!0,"color-bc-p80":!0}},MultipleChoice:{container:{},label:{},element:{}},Row:{"layout-g-4":!0,"layout-mb-3":!0},Slider:{container:{},label:{},element:{}},Tabs:{container:{},controls:{all:{},selected:{}},element:{}},Text:{all:{"layout-w-100":!0,"layout-g-2":!0,"color-c-p30":!0},h1:{"typography-f-sf":!0,"typography-ta-c":!0,"typography-v-r":!0,"typography-w-500":!0,"layout-mt-0":!0,"layout-mr-0":!0,"layout-ml-0":!0,"layout-mb-2":!0,"layout-p-0":!0,"typography-sz-tl":!0},h2:{"typography-f-sf":!0,"typography-ta-c":!0,"typography-v-r":!0,"typography-w-500":!0,"layout-mt-0":!0,"layout-mr-0":!0,"layout-ml-0":!0,"layout-mb-2":!0,"layout-p-0":!0,"typography-sz-tl":!0},h3:{"typography-f-sf":!0,"typography-ta-c":!0,"typography-v-r":!0,"typography-w-500":!0,"layout-mt-0":!0,"layout-mr-0":!0,"layout-ml-0":!0,"layout-mb-0":!0,"layout-p-0":!0,"typography-sz-ts":!0},h4:{"typography-f-sf":!0,"typography-ta-c":!0,"typography-v-r":!0,"typography-w-500":!0,"layout-mt-0":!0,"layout-mr-0":!0,"layout-ml-0":!0,"layout-mb-0":!0,"layout-p-0":!0,"typography-sz-bl":!0},h5:{"typography-f-sf":!0,"typography-ta-c":!0,"typography-v-r":!0,"typography-w-500":!0,"layout-mt-0":!0,"layout-mr-0":!0,"layout-ml-0":!0,"layout-mb-0":!0,"layout-p-0":!0,"color-c-n30":!0,"typography-sz-bm":!0,"layout-mb-1":!0},body:{},caption:{}},TextField:{container:{"typography-sz-bm":!0,"layout-w-100":!0,"layout-g-2":!0,"layout-dsp-flexhor":!0,"layout-al-c":!0},label:{"layout-flx-0":!0},element:{"typography-sz-bm":!0,"layout-pt-2":!0,"layout-pb-2":!0,"layout-pl-3":!0,"layout-pr-3":!0,"border-br-12":!0,"border-bw-1":!0,"border-bs-s":!0,"color-bgc-p100":!0,"color-bc-p60":!0,"color-c-n30":!0,"color-c-p30":!0}},Video:{"border-br-5":!0,"layout-el-cv":!0}},elements:{a:YS,audio:NS,body:nC,button:QS,h1:$S,h2:eC,h3:tC,h4:{},h5:{},iframe:BS,input:XS,p:rC,pre:iC,textarea:ZS,video:JS},markdown:{p:Object.keys(rC),h1:Object.keys($S),h2:Object.keys(eC),h3:Object.keys(tC),h4:[],h5:[],ul:Object.keys(oC),ol:Object.keys(aC),li:Object.keys(sC),a:Object.keys(YS),strong:[],em:[]}};var lC=[cy],uC={install(e,t){h(t||{}),e.use(ay),lC.forEach(t=>{e.component(t.name,t)}),e.use(hx),t?.ws&&e.use(l.a,t.ws)}};exports.A2UISurface=jS,exports.A2UiRenderer=d.t,exports.DEFAULT_CATALOG=kS,exports.EVENT_TYPE=l.t,exports.MessageProcessor=c.n,exports.ZButton=cy,exports.ZIcon=Qb,exports.ZIconInput=ux,exports.ZIconPicker=cx,exports.default=uC,exports.defaultTheme=cC,exports.loadLocalSvgIcons=fx,exports.log=l.n,exports.provideA2UI=c.i,exports.regAPIProvider=dx,exports.t=s,exports.useA2UIConfig=c.a,exports.useDynamicComponent=c.t,exports.useMarkdownRenderer=vx,exports.useMessageProcessor=c.r,exports.useWs=l.r,exports.ws=l.i,exports.zwqWs=l.a;