@bdky/aaas-pilot-kit-vue3 1.0.7 → 1.0.9

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 +1 @@
1
- "use strict";var __webpack_modules__={"../../node_modules/core-js/internals/a-callable.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/is-callable.js"),t=o("../../node_modules/core-js/internals/try-to-string.js"),s=TypeError;e.exports=function(e){if(r(e))return e;throw new s(t(e)+" is not a function")}},"../../node_modules/core-js/internals/an-object.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/is-object.js"),t=String,s=TypeError;e.exports=function(e){if(r(e))return e;throw new s(t(e)+" is not an object")}},"../../node_modules/core-js/internals/array-includes.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/to-indexed-object.js"),t=o("../../node_modules/core-js/internals/to-absolute-index.js"),s=o("../../node_modules/core-js/internals/length-of-array-like.js"),i=function(e){return function(n,o,i){var l,a=r(n),u=s(a);if(0===u)return!e&&-1;var c=t(i,u);if(e&&o!=o){for(;u>c;)if((l=a[c++])!=l)return!0}else for(;u>c;c++)if((e||c in a)&&a[c]===o)return e||c||0;return!e&&-1}};e.exports={includes:i(!0),indexOf:i(!1)}},"../../node_modules/core-js/internals/classof-raw.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/function-uncurry-this.js"),t=r({}.toString),s=r("".slice);e.exports=function(e){return s(t(e),8,-1)}},"../../node_modules/core-js/internals/copy-constructor-properties.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/has-own-property.js"),t=o("../../node_modules/core-js/internals/own-keys.js"),s=o("../../node_modules/core-js/internals/object-get-own-property-descriptor.js"),i=o("../../node_modules/core-js/internals/object-define-property.js");e.exports=function(e,n,o){for(var l=t(n),a=i.f,u=s.f,c=0;c<l.length;c++){var d=l[c];r(e,d)||o&&r(o,d)||a(e,d,u(n,d))}}},"../../node_modules/core-js/internals/create-non-enumerable-property.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/descriptors.js"),t=o("../../node_modules/core-js/internals/object-define-property.js"),s=o("../../node_modules/core-js/internals/create-property-descriptor.js");e.exports=r?function(e,n,o){return t.f(e,n,s(1,o))}:function(e,n,o){return e[n]=o,e}},"../../node_modules/core-js/internals/create-property-descriptor.js":function(e){e.exports=function(e,n){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:n}}},"../../node_modules/core-js/internals/define-built-in.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/is-callable.js"),t=o("../../node_modules/core-js/internals/object-define-property.js"),s=o("../../node_modules/core-js/internals/make-built-in.js"),i=o("../../node_modules/core-js/internals/define-global-property.js");e.exports=function(e,n,o,l){l||(l={});var a=l.enumerable,u=void 0!==l.name?l.name:n;if(r(o)&&s(o,u,l),l.global)a?e[n]=o:i(n,o);else{try{l.unsafe?e[n]&&(a=!0):delete e[n]}catch(e){}a?e[n]=o:t.f(e,n,{value:o,enumerable:!1,configurable:!l.nonConfigurable,writable:!l.nonWritable})}return e}},"../../node_modules/core-js/internals/define-global-property.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/global-this.js"),t=Object.defineProperty;e.exports=function(e,n){try{t(r,e,{value:n,configurable:!0,writable:!0})}catch(o){r[e]=n}return n}},"../../node_modules/core-js/internals/descriptors.js":function(e,n,o){e.exports=!o("../../node_modules/core-js/internals/fails.js")(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},"../../node_modules/core-js/internals/document-create-element.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/global-this.js"),t=o("../../node_modules/core-js/internals/is-object.js"),s=r.document,i=t(s)&&t(s.createElement);e.exports=function(e){return i?s.createElement(e):{}}},"../../node_modules/core-js/internals/enum-bug-keys.js":function(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"../../node_modules/core-js/internals/environment-user-agent.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/global-this.js").navigator,t=r&&r.userAgent;e.exports=t?String(t):""},"../../node_modules/core-js/internals/environment-v8-version.js":function(e,n,o){var r,t,s=o("../../node_modules/core-js/internals/global-this.js"),i=o("../../node_modules/core-js/internals/environment-user-agent.js"),l=s.process,a=s.Deno,u=l&&l.versions||a&&a.version,c=u&&u.v8;c&&(t=(r=c.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!t&&i&&(!(r=i.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=i.match(/Chrome\/(\d+)/))&&(t=+r[1]),e.exports=t},"../../node_modules/core-js/internals/export.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/global-this.js"),t=o("../../node_modules/core-js/internals/object-get-own-property-descriptor.js").f,s=o("../../node_modules/core-js/internals/create-non-enumerable-property.js"),i=o("../../node_modules/core-js/internals/define-built-in.js"),l=o("../../node_modules/core-js/internals/define-global-property.js"),a=o("../../node_modules/core-js/internals/copy-constructor-properties.js"),u=o("../../node_modules/core-js/internals/is-forced.js");e.exports=function(e,n){var o,c,d,j,_,f=e.target,p=e.global,m=e.stat;if(o=p?r:m?r[f]||l(f,{}):r[f]&&r[f].prototype)for(c in n){if(j=n[c],d=e.dontCallGetSet?(_=t(o,c))&&_.value:o[c],!u(p?c:f+(m?".":"#")+c,e.forced)&&void 0!==d){if(typeof j==typeof d)continue;a(j,d)}(e.sham||d&&d.sham)&&s(j,"sham",!0),i(o,c,j,e)}}},"../../node_modules/core-js/internals/fails.js":function(e){e.exports=function(e){try{return!!e()}catch(e){return!0}}},"../../node_modules/core-js/internals/function-bind-native.js":function(e,n,o){e.exports=!o("../../node_modules/core-js/internals/fails.js")(function(){var e=(function(){}).bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})},"../../node_modules/core-js/internals/function-call.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/function-bind-native.js"),t=Function.prototype.call;e.exports=r?t.bind(t):function(){return t.apply(t,arguments)}},"../../node_modules/core-js/internals/function-name.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/descriptors.js"),t=o("../../node_modules/core-js/internals/has-own-property.js"),s=Function.prototype,i=r&&Object.getOwnPropertyDescriptor,l=t(s,"name"),a=l&&(!r||r&&i(s,"name").configurable);e.exports={EXISTS:l,PROPER:l&&"something"===(function(){}).name,CONFIGURABLE:a}},"../../node_modules/core-js/internals/function-uncurry-this.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/function-bind-native.js"),t=Function.prototype,s=t.call,i=r&&t.bind.bind(s,s);e.exports=r?i:function(e){return function(){return s.apply(e,arguments)}}},"../../node_modules/core-js/internals/get-built-in.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/global-this.js"),t=o("../../node_modules/core-js/internals/is-callable.js");e.exports=function(e,n){var o;return arguments.length<2?t(o=r[e])?o:void 0:r[e]&&r[e][n]}},"../../node_modules/core-js/internals/get-method.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/a-callable.js"),t=o("../../node_modules/core-js/internals/is-null-or-undefined.js");e.exports=function(e,n){var o=e[n];return t(o)?void 0:r(o)}},"../../node_modules/core-js/internals/global-this.js":function(e,n,o){var r=function(e){return e&&e.Math===Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof o.g&&o.g)||r("object"==typeof this&&this)||function(){return this}()||Function("return this")()},"../../node_modules/core-js/internals/has-own-property.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/function-uncurry-this.js"),t=o("../../node_modules/core-js/internals/to-object.js"),s=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,n){return s(t(e),n)}},"../../node_modules/core-js/internals/hidden-keys.js":function(e){e.exports={}},"../../node_modules/core-js/internals/ie8-dom-define.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/descriptors.js"),t=o("../../node_modules/core-js/internals/fails.js"),s=o("../../node_modules/core-js/internals/document-create-element.js");e.exports=!r&&!t(function(){return 7!==Object.defineProperty(s("div"),"a",{get:function(){return 7}}).a})},"../../node_modules/core-js/internals/indexed-object.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/function-uncurry-this.js"),t=o("../../node_modules/core-js/internals/fails.js"),s=o("../../node_modules/core-js/internals/classof-raw.js"),i=Object,l=r("".split);e.exports=t(function(){return!i("z").propertyIsEnumerable(0)})?function(e){return"String"===s(e)?l(e,""):i(e)}:i},"../../node_modules/core-js/internals/inspect-source.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/function-uncurry-this.js"),t=o("../../node_modules/core-js/internals/is-callable.js"),s=o("../../node_modules/core-js/internals/shared-store.js"),i=r(Function.toString);t(s.inspectSource)||(s.inspectSource=function(e){return i(e)}),e.exports=s.inspectSource},"../../node_modules/core-js/internals/internal-state.js":function(e,n,o){var r,t,s,i=o("../../node_modules/core-js/internals/weak-map-basic-detection.js"),l=o("../../node_modules/core-js/internals/global-this.js"),a=o("../../node_modules/core-js/internals/is-object.js"),u=o("../../node_modules/core-js/internals/create-non-enumerable-property.js"),c=o("../../node_modules/core-js/internals/has-own-property.js"),d=o("../../node_modules/core-js/internals/shared-store.js"),j=o("../../node_modules/core-js/internals/shared-key.js"),_=o("../../node_modules/core-js/internals/hidden-keys.js"),f="Object already initialized",p=l.TypeError,m=l.WeakMap;if(i||d.state){var b=d.state||(d.state=new m);b.get=b.get,b.has=b.has,b.set=b.set,r=function(e,n){if(b.has(e))throw new p(f);return n.facade=e,b.set(e,n),n},t=function(e){return b.get(e)||{}},s=function(e){return b.has(e)}}else{var y=j("state");_[y]=!0,r=function(e,n){if(c(e,y))throw new p(f);return n.facade=e,u(e,y,n),n},t=function(e){return c(e,y)?e[y]:{}},s=function(e){return c(e,y)}}e.exports={set:r,get:t,has:s,enforce:function(e){return s(e)?t(e):r(e,{})},getterFor:function(e){return function(n){var o;if(!a(n)||(o=t(n)).type!==e)throw new p("Incompatible receiver, "+e+" required");return o}}}},"../../node_modules/core-js/internals/is-callable.js":function(e){var n="object"==typeof document&&document.all;e.exports=void 0===n&&void 0!==n?function(e){return"function"==typeof e||e===n}:function(e){return"function"==typeof e}},"../../node_modules/core-js/internals/is-forced.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/fails.js"),t=o("../../node_modules/core-js/internals/is-callable.js"),s=/#|\.prototype\./,i=function(e,n){var o=a[l(e)];return o===c||o!==u&&(t(n)?r(n):!!n)},l=i.normalize=function(e){return String(e).replace(s,".").toLowerCase()},a=i.data={},u=i.NATIVE="N",c=i.POLYFILL="P";e.exports=i},"../../node_modules/core-js/internals/is-null-or-undefined.js":function(e){e.exports=function(e){return null==e}},"../../node_modules/core-js/internals/is-object.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/is-callable.js");e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},"../../node_modules/core-js/internals/is-pure.js":function(e){e.exports=!1},"../../node_modules/core-js/internals/is-symbol.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/get-built-in.js"),t=o("../../node_modules/core-js/internals/is-callable.js"),s=o("../../node_modules/core-js/internals/object-is-prototype-of.js"),i=o("../../node_modules/core-js/internals/use-symbol-as-uid.js"),l=Object;e.exports=i?function(e){return"symbol"==typeof e}:function(e){var n=r("Symbol");return t(n)&&s(n.prototype,l(e))}},"../../node_modules/core-js/internals/length-of-array-like.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/to-length.js");e.exports=function(e){return r(e.length)}},"../../node_modules/core-js/internals/make-built-in.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/function-uncurry-this.js"),t=o("../../node_modules/core-js/internals/fails.js"),s=o("../../node_modules/core-js/internals/is-callable.js"),i=o("../../node_modules/core-js/internals/has-own-property.js"),l=o("../../node_modules/core-js/internals/descriptors.js"),a=o("../../node_modules/core-js/internals/function-name.js").CONFIGURABLE,u=o("../../node_modules/core-js/internals/inspect-source.js"),c=o("../../node_modules/core-js/internals/internal-state.js"),d=c.enforce,j=c.get,_=String,f=Object.defineProperty,p=r("".slice),m=r("".replace),b=r([].join),y=l&&!t(function(){return 8!==f(function(){},"length",{value:8}).length}),v=String(String).split("String"),g=e.exports=function(e,n,o){"Symbol("===p(_(n),0,7)&&(n="["+m(_(n),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),o&&o.getter&&(n="get "+n),o&&o.setter&&(n="set "+n),(!i(e,"name")||a&&e.name!==n)&&(l?f(e,"name",{value:n,configurable:!0}):e.name=n),y&&o&&i(o,"arity")&&e.length!==o.arity&&f(e,"length",{value:o.arity});try{o&&i(o,"constructor")&&o.constructor?l&&f(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=d(e);return i(r,"source")||(r.source=b(v,"string"==typeof n?n:"")),e};Function.prototype.toString=g(function(){return s(this)&&j(this).source||u(this)},"toString")},"../../node_modules/core-js/internals/math-trunc.js":function(e){var n=Math.ceil,o=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?o:n)(r)}},"../../node_modules/core-js/internals/object-define-property.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/descriptors.js"),t=o("../../node_modules/core-js/internals/ie8-dom-define.js"),s=o("../../node_modules/core-js/internals/v8-prototype-define-bug.js"),i=o("../../node_modules/core-js/internals/an-object.js"),l=o("../../node_modules/core-js/internals/to-property-key.js"),a=TypeError,u=Object.defineProperty,c=Object.getOwnPropertyDescriptor,d="enumerable",j="configurable",_="writable";n.f=r?s?function(e,n,o){if(i(e),n=l(n),i(o),"function"==typeof e&&"prototype"===n&&"value"in o&&_ in o&&!o[_]){var r=c(e,n);r&&r[_]&&(e[n]=o.value,o={configurable:j in o?o[j]:r[j],enumerable:d in o?o[d]:r[d],writable:!1})}return u(e,n,o)}:u:function(e,n,o){if(i(e),n=l(n),i(o),t)try{return u(e,n,o)}catch(e){}if("get"in o||"set"in o)throw new a("Accessors not supported");return"value"in o&&(e[n]=o.value),e}},"../../node_modules/core-js/internals/object-get-own-property-descriptor.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/descriptors.js"),t=o("../../node_modules/core-js/internals/function-call.js"),s=o("../../node_modules/core-js/internals/object-property-is-enumerable.js"),i=o("../../node_modules/core-js/internals/create-property-descriptor.js"),l=o("../../node_modules/core-js/internals/to-indexed-object.js"),a=o("../../node_modules/core-js/internals/to-property-key.js"),u=o("../../node_modules/core-js/internals/has-own-property.js"),c=o("../../node_modules/core-js/internals/ie8-dom-define.js"),d=Object.getOwnPropertyDescriptor;n.f=r?d:function(e,n){if(e=l(e),n=a(n),c)try{return d(e,n)}catch(e){}if(u(e,n))return i(!t(s.f,e,n),e[n])}},"../../node_modules/core-js/internals/object-get-own-property-names.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/object-keys-internal.js"),t=o("../../node_modules/core-js/internals/enum-bug-keys.js").concat("length","prototype");n.f=Object.getOwnPropertyNames||function(e){return r(e,t)}},"../../node_modules/core-js/internals/object-get-own-property-symbols.js":function(e,n){n.f=Object.getOwnPropertySymbols},"../../node_modules/core-js/internals/object-is-prototype-of.js":function(e,n,o){e.exports=o("../../node_modules/core-js/internals/function-uncurry-this.js")({}.isPrototypeOf)},"../../node_modules/core-js/internals/object-keys-internal.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/function-uncurry-this.js"),t=o("../../node_modules/core-js/internals/has-own-property.js"),s=o("../../node_modules/core-js/internals/to-indexed-object.js"),i=o("../../node_modules/core-js/internals/array-includes.js").indexOf,l=o("../../node_modules/core-js/internals/hidden-keys.js"),a=r([].push);e.exports=function(e,n){var o,r=s(e),u=0,c=[];for(o in r)!t(l,o)&&t(r,o)&&a(c,o);for(;n.length>u;)t(r,o=n[u++])&&(~i(c,o)||a(c,o));return c}},"../../node_modules/core-js/internals/object-property-is-enumerable.js":function(e,n){var o={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor;n.f=r&&!o.call({1:2},1)?function(e){var n=r(this,e);return!!n&&n.enumerable}:o},"../../node_modules/core-js/internals/ordinary-to-primitive.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/function-call.js"),t=o("../../node_modules/core-js/internals/is-callable.js"),s=o("../../node_modules/core-js/internals/is-object.js"),i=TypeError;e.exports=function(e,n){var o,l;if("string"===n&&t(o=e.toString)&&!s(l=r(o,e))||t(o=e.valueOf)&&!s(l=r(o,e))||"string"!==n&&t(o=e.toString)&&!s(l=r(o,e)))return l;throw new i("Can't convert object to primitive value")}},"../../node_modules/core-js/internals/own-keys.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/get-built-in.js"),t=o("../../node_modules/core-js/internals/function-uncurry-this.js"),s=o("../../node_modules/core-js/internals/object-get-own-property-names.js"),i=o("../../node_modules/core-js/internals/object-get-own-property-symbols.js"),l=o("../../node_modules/core-js/internals/an-object.js"),a=t([].concat);e.exports=r("Reflect","ownKeys")||function(e){var n=s.f(l(e)),o=i.f;return o?a(n,o(e)):n}},"../../node_modules/core-js/internals/require-object-coercible.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/is-null-or-undefined.js"),t=TypeError;e.exports=function(e){if(r(e))throw new t("Can't call method on "+e);return e}},"../../node_modules/core-js/internals/shared-key.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/shared.js"),t=o("../../node_modules/core-js/internals/uid.js"),s=r("keys");e.exports=function(e){return s[e]||(s[e]=t(e))}},"../../node_modules/core-js/internals/shared-store.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/is-pure.js"),t=o("../../node_modules/core-js/internals/global-this.js"),s=o("../../node_modules/core-js/internals/define-global-property.js"),i="__core-js_shared__",l=e.exports=t[i]||s(i,{});(l.versions||(l.versions=[])).push({version:"3.44.0",mode:r?"pure":"global",copyright:"\xa9 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.44.0/LICENSE",source:"https://github.com/zloirock/core-js"})},"../../node_modules/core-js/internals/shared.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/shared-store.js");e.exports=function(e,n){return r[e]||(r[e]=n||{})}},"../../node_modules/core-js/internals/symbol-constructor-detection.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/environment-v8-version.js"),t=o("../../node_modules/core-js/internals/fails.js"),s=o("../../node_modules/core-js/internals/global-this.js").String;e.exports=!!Object.getOwnPropertySymbols&&!t(function(){var e=Symbol("symbol detection");return!s(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41})},"../../node_modules/core-js/internals/to-absolute-index.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/to-integer-or-infinity.js"),t=Math.max,s=Math.min;e.exports=function(e,n){var o=r(e);return o<0?t(o+n,0):s(o,n)}},"../../node_modules/core-js/internals/to-indexed-object.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/indexed-object.js"),t=o("../../node_modules/core-js/internals/require-object-coercible.js");e.exports=function(e){return r(t(e))}},"../../node_modules/core-js/internals/to-integer-or-infinity.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/math-trunc.js");e.exports=function(e){var n=+e;return n!=n||0===n?0:r(n)}},"../../node_modules/core-js/internals/to-length.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/to-integer-or-infinity.js"),t=Math.min;e.exports=function(e){var n=r(e);return n>0?t(n,0x1fffffffffffff):0}},"../../node_modules/core-js/internals/to-object.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/require-object-coercible.js"),t=Object;e.exports=function(e){return t(r(e))}},"../../node_modules/core-js/internals/to-primitive.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/function-call.js"),t=o("../../node_modules/core-js/internals/is-object.js"),s=o("../../node_modules/core-js/internals/is-symbol.js"),i=o("../../node_modules/core-js/internals/get-method.js"),l=o("../../node_modules/core-js/internals/ordinary-to-primitive.js"),a=o("../../node_modules/core-js/internals/well-known-symbol.js"),u=TypeError,c=a("toPrimitive");e.exports=function(e,n){if(!t(e)||s(e))return e;var o,a=i(e,c);if(a){if(void 0===n&&(n="default"),!t(o=r(a,e,n))||s(o))return o;throw new u("Can't convert object to primitive value")}return void 0===n&&(n="number"),l(e,n)}},"../../node_modules/core-js/internals/to-property-key.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/to-primitive.js"),t=o("../../node_modules/core-js/internals/is-symbol.js");e.exports=function(e){var n=r(e,"string");return t(n)?n:n+""}},"../../node_modules/core-js/internals/try-to-string.js":function(e){var n=String;e.exports=function(e){try{return n(e)}catch(e){return"Object"}}},"../../node_modules/core-js/internals/uid.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/function-uncurry-this.js"),t=0,s=Math.random(),i=r(1.1.toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+i(++t+s,36)}},"../../node_modules/core-js/internals/use-symbol-as-uid.js":function(e,n,o){e.exports=o("../../node_modules/core-js/internals/symbol-constructor-detection.js")&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},"../../node_modules/core-js/internals/v8-prototype-define-bug.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/descriptors.js"),t=o("../../node_modules/core-js/internals/fails.js");e.exports=r&&t(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},"../../node_modules/core-js/internals/weak-map-basic-detection.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/global-this.js"),t=o("../../node_modules/core-js/internals/is-callable.js"),s=r.WeakMap;e.exports=t(s)&&/native code/.test(String(s))},"../../node_modules/core-js/internals/well-known-symbol.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/global-this.js"),t=o("../../node_modules/core-js/internals/shared.js"),s=o("../../node_modules/core-js/internals/has-own-property.js"),i=o("../../node_modules/core-js/internals/uid.js"),l=o("../../node_modules/core-js/internals/symbol-constructor-detection.js"),a=o("../../node_modules/core-js/internals/use-symbol-as-uid.js"),u=r.Symbol,c=t("wks"),d=a?u.for||u:u&&u.withoutSetter||i;e.exports=function(e){return s(c,e)||(c[e]=l&&s(u,e)?u[e]:d("Symbol."+e)),c[e]}},"../../node_modules/core-js/modules/es.object.has-own.js":function(e,n,o){o("../../node_modules/core-js/internals/export.js")({target:"Object",stat:!0},{hasOwn:o("../../node_modules/core-js/internals/has-own-property.js")})}},__webpack_module_cache__={};function __webpack_require__(e){var n=__webpack_module_cache__[e];if(void 0!==n)return n.exports;var o=__webpack_module_cache__[e]={exports:{}};return __webpack_modules__[e].call(o.exports,o,o.exports,__webpack_require__),o.exports}__webpack_require__.d=(e,n)=>{for(var o in n)__webpack_require__.o(n,o)&&!__webpack_require__.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:n[o]})},__webpack_require__.g=(()=>{if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}})(),__webpack_require__.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var __webpack_exports__={};for(var __webpack_i__ in(()=>{let e;__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{useAaaSPilotKit:()=>l,injectAaaSPilotKit:()=>i,Language:()=>o.Language,useAaaSPilotKitProvider:()=>t,provideAaaSPilotKit:()=>s,useConversationList:()=>f,AaaSPilotKitProviderKey:()=>r,useAaaSPilotKitEvents:()=>a,useConversationEnd:()=>p,useConversation:()=>_,BaseAgentService:()=>o.BaseAgentService}),__webpack_require__("../../node_modules/core-js/modules/es.object.has-own.js");let n=require("vue"),o=require("@bdky/aaas-pilot-kit"),r=Symbol("AaaSPilotKitProvider");function t(e){let r=(0,n.shallowRef)(null),t=(0,n.ref)(!1),s=(0,n.ref)(!1),i=(0,n.ref)(!1),l=(0,n.ref)(!1),a=()=>{if(r.value)return;t.value=!1;let s=(0,o.createAaaSPilotKit)(e);r.value=(0,n.markRaw)(s)},u=()=>{r.value&&!t.value&&(t.value=!0,r.value.dispose(),r.value=null,s.value=!1,i.value=!1,l.value=!1)};a();let c=null;return(0,n.watch)(r,e=>{if(c&&(c(),c=null),null==e?void 0:e.emitter){let n=e.emitter,o=e=>{i.value=e},r=e=>{l.value=e},t=()=>{s.value=!0};if(!n.listenerCount||"function"!=typeof n.listenerCount)return void console.warn("Provider emitter is not fully initialized");n.on("mute",o),n.on("is_rendering_change",r),n.on("ready",t),c=()=>{n.off("mute",o),n.off("is_rendering_change",r),n.off("ready",t)}}},{immediate:!0}),(0,n.onUnmounted)(()=>{c&&c(),u()}),{controller:(0,n.readonly)(r),isReady:(0,n.readonly)(s),isMuted:(0,n.readonly)(i),isRendering:(0,n.readonly)(l),dispose:u,create:a}}function s(e){let o=t(e);return(0,n.provide)(r,o),o}function i(){let e=(0,n.inject)(r);if(!e)throw Error("useAaaSPilotKit must be used within a component that provides AaaSPilotKit");return e}let l=()=>i(),a=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=l(),{onReady:r,onAsrStart:t,onAsrMessage:s,onRenderStart:i,onInactivity:a,onBusy:u,onInterrupt:c,onConversationChange:d,onIsRenderingChange:j,onReplyStart:_,onTtft:f}=e,p=null;(0,n.watch)(o.controller,()=>{(0,n.nextTick)().then(()=>{(()=>{p&&(p(),p=null);let e=o.controller.value;if(!(null==e?void 0:e.emitter))return;let n=e.emitter,l=()=>{null==r||r()},m=()=>{null==t||t()},b=e=>{null==s||s(e)},y=e=>{null==i||i(e)},v=e=>{null==a||a(e)},g=e=>{null==u||u(e)},h=e=>{null==c||c(e)},w=e=>{null==d||d(e)},x=e=>{null==j||j(e)},S=e=>{null==_||_(e)},k=e=>{null==f||f(e)};n.listenerCount&&"function"==typeof n.listenerCount?(n.on("ready",l),n.on("asr_start",m),n.on("asr_message",b),n.on("render_start",y),n.on("inactivity",v),n.on("busy",g),n.on("interrupt",h),n.on("conversation_change",w),n.on("is_rendering_change",x),n.on("reply_start",S),n.on("ttft",k),p=()=>{n.off("ready",l),n.off("asr_start",m),n.off("asr_message",b),n.off("render_start",y),n.off("inactivity",v),n.off("busy",g),n.off("interrupt",h),n.off("conversation_change",w),n.off("is_rendering_change",x),n.off("reply_start",S),n.off("ttft",k)}):console.warn("Emitter is not fully initialized")})()})},{immediate:!0}),(0,n.onUnmounted)(()=>{p&&p()})},u="undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),c=new Uint8Array(16),d=[];for(let e=0;e<256;++e)d.push((e+256).toString(16).slice(1));let j=function(n,o,r){if(u&&!o&&!n)return u();var t=n,s=o,i=r;let l=(t=t||{}).random??t.rng?.()??function(){if(!e){if("undefined"==typeof crypto||!crypto.getRandomValues)throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");e=crypto.getRandomValues.bind(crypto)}return e(c)}();if(l.length<16)throw Error("Random bytes length must be >= 16");if(l[6]=15&l[6]|64,l[8]=63&l[8]|128,s){if((i=i||0)<0||i+16>s.length)throw RangeError(`UUID byte range ${i}:${i+15} is out of buffer bounds`);for(let e=0;e<16;++e)s[i+e]=l[e];return s}return function(e,n=0){return(d[e[n+0]]+d[e[n+1]]+d[e[n+2]]+d[e[n+3]]+"-"+d[e[n+4]]+d[e[n+5]]+"-"+d[e[n+6]]+d[e[n+7]]+"-"+d[e[n+8]]+d[e[n+9]]+"-"+d[e[n+10]]+d[e[n+11]]+d[e[n+12]]+d[e[n+13]]+d[e[n+14]]+d[e[n+15]]).toLowerCase()}(l)};function _(e){let r=(0,n.ref)([]),t=[],s=null;return(0,n.watch)(e,e=>{var i;i=null!=e?e:null,s&&s(),s=(e=>{if((e=>{if(!e||"aiWorker"===e.type){t=[],r.value=[];return}let n={uiId:j(),mod:"text",content:e.text,completed:!1};t=[n],r.value=[n]})(e),!e)return null;let s=(0,n.toRaw)(e),i=e=>{let n=[],o=[...t][t.length-1];if(o)if(o.mod===e.mod)o.content+=e.content,o.completed=e.completed,n=[...t.slice(0,t.length-1),o];else{let o={...e,uiId:j()};n=[...t,o]}else n=[{...e,uiId:j()}];t=n,r.value=n},l=e=>{let n=[],o=[...t][t.length-1];if(o)if(o.mod===e.mod)o.content=e.content,o.completed=e.completed,n=[...t.slice(0,t.length-1),o];else{let o={...e,uiId:j()};n=[...t,o]}else n=[{...e,uiId:j()}];t=n,r.value=n},a=null,u=(null==s?void 0:s.emitter)?(0,n.toRaw)(s.emitter):null;if(!u)return console.warn("Conversation emitter is not available"),null;if(!u.on||"function"!=typeof u.on)return console.warn("Conversation emitter is not fully initialized"),null;try{s instanceof o.AIWorkerConversationBean?(u.on("content_change",i),a=()=>{u.off("content_change",i)}):(u.on("content_change",l),a=()=>{u.off("content_change",l)})}catch(e){return console.error("Error setting up emitter listeners:",e),null}return a})(i)},{immediate:!0}),(0,n.onUnmounted)(()=>{s&&s()}),{conversationContents:r}}function f(){let e=l(),o=(0,n.ref)([]),r=null;return(0,n.watch)(e.controller,()=>{(0,n.nextTick)().then(()=>{(()=>{r&&(r(),r=null);let n=e.controller.value;if(!(null==n?void 0:n.emitter))return;let t=n.emitter,s=e=>{o.value=[...o.value,e]};t.listenerCount&&"function"==typeof t.listenerCount?(t.on("conversation_add",s),r=()=>{t.off("conversation_add",s)}):console.warn("Controller emitter is not fully initialized")})()})},{immediate:!0}),(0,n.onUnmounted)(()=>{r&&r()}),{conversationList:o}}let p=(e,r)=>{let t=null;(0,n.watch)(e,()=>{(0,n.nextTick)().then(()=>{(()=>{t&&(t(),t=null);let s=e.value;if(!s||!(s instanceof o.AIWorkerConversationBean))return;let i=(0,n.toRaw)(s),l=(0,n.toRaw)(i.emitter);if(!l||"function"!=typeof l.on)return console.warn("[useConversationEnd] emitter 未正确初始化");let a=e=>{null==r||r(e)};l.on("conversation_end",a),t=()=>{l.off("conversation_end",a)}})()})},{immediate:!0}),(0,n.onUnmounted)(()=>{t&&t()})}})(),exports.AaaSPilotKitProviderKey=__webpack_exports__.AaaSPilotKitProviderKey,exports.BaseAgentService=__webpack_exports__.BaseAgentService,exports.Language=__webpack_exports__.Language,exports.injectAaaSPilotKit=__webpack_exports__.injectAaaSPilotKit,exports.provideAaaSPilotKit=__webpack_exports__.provideAaaSPilotKit,exports.useAaaSPilotKit=__webpack_exports__.useAaaSPilotKit,exports.useAaaSPilotKitEvents=__webpack_exports__.useAaaSPilotKitEvents,exports.useAaaSPilotKitProvider=__webpack_exports__.useAaaSPilotKitProvider,exports.useConversation=__webpack_exports__.useConversation,exports.useConversationEnd=__webpack_exports__.useConversationEnd,exports.useConversationList=__webpack_exports__.useConversationList,__webpack_exports__)-1===["AaaSPilotKitProviderKey","BaseAgentService","Language","injectAaaSPilotKit","provideAaaSPilotKit","useAaaSPilotKit","useAaaSPilotKitEvents","useAaaSPilotKitProvider","useConversation","useConversationEnd","useConversationList"].indexOf(__webpack_i__)&&(exports[__webpack_i__]=__webpack_exports__[__webpack_i__]);Object.defineProperty(exports,"__esModule",{value:!0});
1
+ "use strict";var __webpack_modules__={"../../node_modules/core-js/internals/a-callable.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/is-callable.js"),r=o("../../node_modules/core-js/internals/try-to-string.js"),s=TypeError;e.exports=function(e){if(t(e))return e;throw new s(r(e)+" is not a function")}},"../../node_modules/core-js/internals/an-object.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/is-object.js"),r=String,s=TypeError;e.exports=function(e){if(t(e))return e;throw new s(r(e)+" is not an object")}},"../../node_modules/core-js/internals/array-includes.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/to-indexed-object.js"),r=o("../../node_modules/core-js/internals/to-absolute-index.js"),s=o("../../node_modules/core-js/internals/length-of-array-like.js"),i=function(e){return function(n,o,i){var l,a=t(n),u=s(a);if(0===u)return!e&&-1;var c=r(i,u);if(e&&o!=o){for(;u>c;)if((l=a[c++])!=l)return!0}else for(;u>c;c++)if((e||c in a)&&a[c]===o)return e||c||0;return!e&&-1}};e.exports={includes:i(!0),indexOf:i(!1)}},"../../node_modules/core-js/internals/classof-raw.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/function-uncurry-this.js"),r=t({}.toString),s=t("".slice);e.exports=function(e){return s(r(e),8,-1)}},"../../node_modules/core-js/internals/copy-constructor-properties.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/has-own-property.js"),r=o("../../node_modules/core-js/internals/own-keys.js"),s=o("../../node_modules/core-js/internals/object-get-own-property-descriptor.js"),i=o("../../node_modules/core-js/internals/object-define-property.js");e.exports=function(e,n,o){for(var l=r(n),a=i.f,u=s.f,c=0;c<l.length;c++){var d=l[c];t(e,d)||o&&t(o,d)||a(e,d,u(n,d))}}},"../../node_modules/core-js/internals/create-non-enumerable-property.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/descriptors.js"),r=o("../../node_modules/core-js/internals/object-define-property.js"),s=o("../../node_modules/core-js/internals/create-property-descriptor.js");e.exports=t?function(e,n,o){return r.f(e,n,s(1,o))}:function(e,n,o){return e[n]=o,e}},"../../node_modules/core-js/internals/create-property-descriptor.js":function(e){e.exports=function(e,n){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:n}}},"../../node_modules/core-js/internals/define-built-in.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/is-callable.js"),r=o("../../node_modules/core-js/internals/object-define-property.js"),s=o("../../node_modules/core-js/internals/make-built-in.js"),i=o("../../node_modules/core-js/internals/define-global-property.js");e.exports=function(e,n,o,l){l||(l={});var a=l.enumerable,u=void 0!==l.name?l.name:n;if(t(o)&&s(o,u,l),l.global)a?e[n]=o:i(n,o);else{try{l.unsafe?e[n]&&(a=!0):delete e[n]}catch(e){}a?e[n]=o:r.f(e,n,{value:o,enumerable:!1,configurable:!l.nonConfigurable,writable:!l.nonWritable})}return e}},"../../node_modules/core-js/internals/define-global-property.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/global-this.js"),r=Object.defineProperty;e.exports=function(e,n){try{r(t,e,{value:n,configurable:!0,writable:!0})}catch(o){t[e]=n}return n}},"../../node_modules/core-js/internals/descriptors.js":function(e,n,o){e.exports=!o("../../node_modules/core-js/internals/fails.js")(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},"../../node_modules/core-js/internals/document-create-element.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/global-this.js"),r=o("../../node_modules/core-js/internals/is-object.js"),s=t.document,i=r(s)&&r(s.createElement);e.exports=function(e){return i?s.createElement(e):{}}},"../../node_modules/core-js/internals/enum-bug-keys.js":function(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"../../node_modules/core-js/internals/environment-user-agent.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/global-this.js").navigator,r=t&&t.userAgent;e.exports=r?String(r):""},"../../node_modules/core-js/internals/environment-v8-version.js":function(e,n,o){var t,r,s=o("../../node_modules/core-js/internals/global-this.js"),i=o("../../node_modules/core-js/internals/environment-user-agent.js"),l=s.process,a=s.Deno,u=l&&l.versions||a&&a.version,c=u&&u.v8;c&&(r=(t=c.split("."))[0]>0&&t[0]<4?1:+(t[0]+t[1])),!r&&i&&(!(t=i.match(/Edge\/(\d+)/))||t[1]>=74)&&(t=i.match(/Chrome\/(\d+)/))&&(r=+t[1]),e.exports=r},"../../node_modules/core-js/internals/export.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/global-this.js"),r=o("../../node_modules/core-js/internals/object-get-own-property-descriptor.js").f,s=o("../../node_modules/core-js/internals/create-non-enumerable-property.js"),i=o("../../node_modules/core-js/internals/define-built-in.js"),l=o("../../node_modules/core-js/internals/define-global-property.js"),a=o("../../node_modules/core-js/internals/copy-constructor-properties.js"),u=o("../../node_modules/core-js/internals/is-forced.js");e.exports=function(e,n){var o,c,d,j,f,_=e.target,p=e.global,m=e.stat;if(o=p?t:m?t[_]||l(_,{}):t[_]&&t[_].prototype)for(c in n){if(j=n[c],d=e.dontCallGetSet?(f=r(o,c))&&f.value:o[c],!u(p?c:_+(m?".":"#")+c,e.forced)&&void 0!==d){if(typeof j==typeof d)continue;a(j,d)}(e.sham||d&&d.sham)&&s(j,"sham",!0),i(o,c,j,e)}}},"../../node_modules/core-js/internals/fails.js":function(e){e.exports=function(e){try{return!!e()}catch(e){return!0}}},"../../node_modules/core-js/internals/function-bind-native.js":function(e,n,o){e.exports=!o("../../node_modules/core-js/internals/fails.js")(function(){var e=(function(){}).bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})},"../../node_modules/core-js/internals/function-call.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/function-bind-native.js"),r=Function.prototype.call;e.exports=t?r.bind(r):function(){return r.apply(r,arguments)}},"../../node_modules/core-js/internals/function-name.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/descriptors.js"),r=o("../../node_modules/core-js/internals/has-own-property.js"),s=Function.prototype,i=t&&Object.getOwnPropertyDescriptor,l=r(s,"name"),a=l&&(!t||t&&i(s,"name").configurable);e.exports={EXISTS:l,PROPER:l&&"something"===(function(){}).name,CONFIGURABLE:a}},"../../node_modules/core-js/internals/function-uncurry-this.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/function-bind-native.js"),r=Function.prototype,s=r.call,i=t&&r.bind.bind(s,s);e.exports=t?i:function(e){return function(){return s.apply(e,arguments)}}},"../../node_modules/core-js/internals/get-built-in.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/global-this.js"),r=o("../../node_modules/core-js/internals/is-callable.js");e.exports=function(e,n){var o;return arguments.length<2?r(o=t[e])?o:void 0:t[e]&&t[e][n]}},"../../node_modules/core-js/internals/get-method.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/a-callable.js"),r=o("../../node_modules/core-js/internals/is-null-or-undefined.js");e.exports=function(e,n){var o=e[n];return r(o)?void 0:t(o)}},"../../node_modules/core-js/internals/global-this.js":function(e,n,o){var t=function(e){return e&&e.Math===Math&&e};e.exports=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof o.g&&o.g)||t("object"==typeof this&&this)||function(){return this}()||Function("return this")()},"../../node_modules/core-js/internals/has-own-property.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/function-uncurry-this.js"),r=o("../../node_modules/core-js/internals/to-object.js"),s=t({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,n){return s(r(e),n)}},"../../node_modules/core-js/internals/hidden-keys.js":function(e){e.exports={}},"../../node_modules/core-js/internals/ie8-dom-define.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/descriptors.js"),r=o("../../node_modules/core-js/internals/fails.js"),s=o("../../node_modules/core-js/internals/document-create-element.js");e.exports=!t&&!r(function(){return 7!==Object.defineProperty(s("div"),"a",{get:function(){return 7}}).a})},"../../node_modules/core-js/internals/indexed-object.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/function-uncurry-this.js"),r=o("../../node_modules/core-js/internals/fails.js"),s=o("../../node_modules/core-js/internals/classof-raw.js"),i=Object,l=t("".split);e.exports=r(function(){return!i("z").propertyIsEnumerable(0)})?function(e){return"String"===s(e)?l(e,""):i(e)}:i},"../../node_modules/core-js/internals/inspect-source.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/function-uncurry-this.js"),r=o("../../node_modules/core-js/internals/is-callable.js"),s=o("../../node_modules/core-js/internals/shared-store.js"),i=t(Function.toString);r(s.inspectSource)||(s.inspectSource=function(e){return i(e)}),e.exports=s.inspectSource},"../../node_modules/core-js/internals/internal-state.js":function(e,n,o){var t,r,s,i=o("../../node_modules/core-js/internals/weak-map-basic-detection.js"),l=o("../../node_modules/core-js/internals/global-this.js"),a=o("../../node_modules/core-js/internals/is-object.js"),u=o("../../node_modules/core-js/internals/create-non-enumerable-property.js"),c=o("../../node_modules/core-js/internals/has-own-property.js"),d=o("../../node_modules/core-js/internals/shared-store.js"),j=o("../../node_modules/core-js/internals/shared-key.js"),f=o("../../node_modules/core-js/internals/hidden-keys.js"),_="Object already initialized",p=l.TypeError,m=l.WeakMap;if(i||d.state){var b=d.state||(d.state=new m);b.get=b.get,b.has=b.has,b.set=b.set,t=function(e,n){if(b.has(e))throw new p(_);return n.facade=e,b.set(e,n),n},r=function(e){return b.get(e)||{}},s=function(e){return b.has(e)}}else{var v=j("state");f[v]=!0,t=function(e,n){if(c(e,v))throw new p(_);return n.facade=e,u(e,v,n),n},r=function(e){return c(e,v)?e[v]:{}},s=function(e){return c(e,v)}}e.exports={set:t,get:r,has:s,enforce:function(e){return s(e)?r(e):t(e,{})},getterFor:function(e){return function(n){var o;if(!a(n)||(o=r(n)).type!==e)throw new p("Incompatible receiver, "+e+" required");return o}}}},"../../node_modules/core-js/internals/is-callable.js":function(e){var n="object"==typeof document&&document.all;e.exports=void 0===n&&void 0!==n?function(e){return"function"==typeof e||e===n}:function(e){return"function"==typeof e}},"../../node_modules/core-js/internals/is-forced.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/fails.js"),r=o("../../node_modules/core-js/internals/is-callable.js"),s=/#|\.prototype\./,i=function(e,n){var o=a[l(e)];return o===c||o!==u&&(r(n)?t(n):!!n)},l=i.normalize=function(e){return String(e).replace(s,".").toLowerCase()},a=i.data={},u=i.NATIVE="N",c=i.POLYFILL="P";e.exports=i},"../../node_modules/core-js/internals/is-null-or-undefined.js":function(e){e.exports=function(e){return null==e}},"../../node_modules/core-js/internals/is-object.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/is-callable.js");e.exports=function(e){return"object"==typeof e?null!==e:t(e)}},"../../node_modules/core-js/internals/is-pure.js":function(e){e.exports=!1},"../../node_modules/core-js/internals/is-symbol.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/get-built-in.js"),r=o("../../node_modules/core-js/internals/is-callable.js"),s=o("../../node_modules/core-js/internals/object-is-prototype-of.js"),i=o("../../node_modules/core-js/internals/use-symbol-as-uid.js"),l=Object;e.exports=i?function(e){return"symbol"==typeof e}:function(e){var n=t("Symbol");return r(n)&&s(n.prototype,l(e))}},"../../node_modules/core-js/internals/length-of-array-like.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/to-length.js");e.exports=function(e){return t(e.length)}},"../../node_modules/core-js/internals/make-built-in.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/function-uncurry-this.js"),r=o("../../node_modules/core-js/internals/fails.js"),s=o("../../node_modules/core-js/internals/is-callable.js"),i=o("../../node_modules/core-js/internals/has-own-property.js"),l=o("../../node_modules/core-js/internals/descriptors.js"),a=o("../../node_modules/core-js/internals/function-name.js").CONFIGURABLE,u=o("../../node_modules/core-js/internals/inspect-source.js"),c=o("../../node_modules/core-js/internals/internal-state.js"),d=c.enforce,j=c.get,f=String,_=Object.defineProperty,p=t("".slice),m=t("".replace),b=t([].join),v=l&&!r(function(){return 8!==_(function(){},"length",{value:8}).length}),y=String(String).split("String"),g=e.exports=function(e,n,o){"Symbol("===p(f(n),0,7)&&(n="["+m(f(n),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),o&&o.getter&&(n="get "+n),o&&o.setter&&(n="set "+n),(!i(e,"name")||a&&e.name!==n)&&(l?_(e,"name",{value:n,configurable:!0}):e.name=n),v&&o&&i(o,"arity")&&e.length!==o.arity&&_(e,"length",{value:o.arity});try{o&&i(o,"constructor")&&o.constructor?l&&_(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var t=d(e);return i(t,"source")||(t.source=b(y,"string"==typeof n?n:"")),e};Function.prototype.toString=g(function(){return s(this)&&j(this).source||u(this)},"toString")},"../../node_modules/core-js/internals/math-trunc.js":function(e){var n=Math.ceil,o=Math.floor;e.exports=Math.trunc||function(e){var t=+e;return(t>0?o:n)(t)}},"../../node_modules/core-js/internals/object-define-property.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/descriptors.js"),r=o("../../node_modules/core-js/internals/ie8-dom-define.js"),s=o("../../node_modules/core-js/internals/v8-prototype-define-bug.js"),i=o("../../node_modules/core-js/internals/an-object.js"),l=o("../../node_modules/core-js/internals/to-property-key.js"),a=TypeError,u=Object.defineProperty,c=Object.getOwnPropertyDescriptor,d="enumerable",j="configurable",f="writable";n.f=t?s?function(e,n,o){if(i(e),n=l(n),i(o),"function"==typeof e&&"prototype"===n&&"value"in o&&f in o&&!o[f]){var t=c(e,n);t&&t[f]&&(e[n]=o.value,o={configurable:j in o?o[j]:t[j],enumerable:d in o?o[d]:t[d],writable:!1})}return u(e,n,o)}:u:function(e,n,o){if(i(e),n=l(n),i(o),r)try{return u(e,n,o)}catch(e){}if("get"in o||"set"in o)throw new a("Accessors not supported");return"value"in o&&(e[n]=o.value),e}},"../../node_modules/core-js/internals/object-get-own-property-descriptor.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/descriptors.js"),r=o("../../node_modules/core-js/internals/function-call.js"),s=o("../../node_modules/core-js/internals/object-property-is-enumerable.js"),i=o("../../node_modules/core-js/internals/create-property-descriptor.js"),l=o("../../node_modules/core-js/internals/to-indexed-object.js"),a=o("../../node_modules/core-js/internals/to-property-key.js"),u=o("../../node_modules/core-js/internals/has-own-property.js"),c=o("../../node_modules/core-js/internals/ie8-dom-define.js"),d=Object.getOwnPropertyDescriptor;n.f=t?d:function(e,n){if(e=l(e),n=a(n),c)try{return d(e,n)}catch(e){}if(u(e,n))return i(!r(s.f,e,n),e[n])}},"../../node_modules/core-js/internals/object-get-own-property-names.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/object-keys-internal.js"),r=o("../../node_modules/core-js/internals/enum-bug-keys.js").concat("length","prototype");n.f=Object.getOwnPropertyNames||function(e){return t(e,r)}},"../../node_modules/core-js/internals/object-get-own-property-symbols.js":function(e,n){n.f=Object.getOwnPropertySymbols},"../../node_modules/core-js/internals/object-is-prototype-of.js":function(e,n,o){e.exports=o("../../node_modules/core-js/internals/function-uncurry-this.js")({}.isPrototypeOf)},"../../node_modules/core-js/internals/object-keys-internal.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/function-uncurry-this.js"),r=o("../../node_modules/core-js/internals/has-own-property.js"),s=o("../../node_modules/core-js/internals/to-indexed-object.js"),i=o("../../node_modules/core-js/internals/array-includes.js").indexOf,l=o("../../node_modules/core-js/internals/hidden-keys.js"),a=t([].push);e.exports=function(e,n){var o,t=s(e),u=0,c=[];for(o in t)!r(l,o)&&r(t,o)&&a(c,o);for(;n.length>u;)r(t,o=n[u++])&&(~i(c,o)||a(c,o));return c}},"../../node_modules/core-js/internals/object-property-is-enumerable.js":function(e,n){var o={}.propertyIsEnumerable,t=Object.getOwnPropertyDescriptor;n.f=t&&!o.call({1:2},1)?function(e){var n=t(this,e);return!!n&&n.enumerable}:o},"../../node_modules/core-js/internals/ordinary-to-primitive.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/function-call.js"),r=o("../../node_modules/core-js/internals/is-callable.js"),s=o("../../node_modules/core-js/internals/is-object.js"),i=TypeError;e.exports=function(e,n){var o,l;if("string"===n&&r(o=e.toString)&&!s(l=t(o,e))||r(o=e.valueOf)&&!s(l=t(o,e))||"string"!==n&&r(o=e.toString)&&!s(l=t(o,e)))return l;throw new i("Can't convert object to primitive value")}},"../../node_modules/core-js/internals/own-keys.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/get-built-in.js"),r=o("../../node_modules/core-js/internals/function-uncurry-this.js"),s=o("../../node_modules/core-js/internals/object-get-own-property-names.js"),i=o("../../node_modules/core-js/internals/object-get-own-property-symbols.js"),l=o("../../node_modules/core-js/internals/an-object.js"),a=r([].concat);e.exports=t("Reflect","ownKeys")||function(e){var n=s.f(l(e)),o=i.f;return o?a(n,o(e)):n}},"../../node_modules/core-js/internals/require-object-coercible.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/is-null-or-undefined.js"),r=TypeError;e.exports=function(e){if(t(e))throw new r("Can't call method on "+e);return e}},"../../node_modules/core-js/internals/shared-key.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/shared.js"),r=o("../../node_modules/core-js/internals/uid.js"),s=t("keys");e.exports=function(e){return s[e]||(s[e]=r(e))}},"../../node_modules/core-js/internals/shared-store.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/is-pure.js"),r=o("../../node_modules/core-js/internals/global-this.js"),s=o("../../node_modules/core-js/internals/define-global-property.js"),i="__core-js_shared__",l=e.exports=r[i]||s(i,{});(l.versions||(l.versions=[])).push({version:"3.44.0",mode:t?"pure":"global",copyright:"\xa9 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.44.0/LICENSE",source:"https://github.com/zloirock/core-js"})},"../../node_modules/core-js/internals/shared.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/shared-store.js");e.exports=function(e,n){return t[e]||(t[e]=n||{})}},"../../node_modules/core-js/internals/symbol-constructor-detection.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/environment-v8-version.js"),r=o("../../node_modules/core-js/internals/fails.js"),s=o("../../node_modules/core-js/internals/global-this.js").String;e.exports=!!Object.getOwnPropertySymbols&&!r(function(){var e=Symbol("symbol detection");return!s(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&t&&t<41})},"../../node_modules/core-js/internals/to-absolute-index.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/to-integer-or-infinity.js"),r=Math.max,s=Math.min;e.exports=function(e,n){var o=t(e);return o<0?r(o+n,0):s(o,n)}},"../../node_modules/core-js/internals/to-indexed-object.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/indexed-object.js"),r=o("../../node_modules/core-js/internals/require-object-coercible.js");e.exports=function(e){return t(r(e))}},"../../node_modules/core-js/internals/to-integer-or-infinity.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/math-trunc.js");e.exports=function(e){var n=+e;return n!=n||0===n?0:t(n)}},"../../node_modules/core-js/internals/to-length.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/to-integer-or-infinity.js"),r=Math.min;e.exports=function(e){var n=t(e);return n>0?r(n,0x1fffffffffffff):0}},"../../node_modules/core-js/internals/to-object.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/require-object-coercible.js"),r=Object;e.exports=function(e){return r(t(e))}},"../../node_modules/core-js/internals/to-primitive.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/function-call.js"),r=o("../../node_modules/core-js/internals/is-object.js"),s=o("../../node_modules/core-js/internals/is-symbol.js"),i=o("../../node_modules/core-js/internals/get-method.js"),l=o("../../node_modules/core-js/internals/ordinary-to-primitive.js"),a=o("../../node_modules/core-js/internals/well-known-symbol.js"),u=TypeError,c=a("toPrimitive");e.exports=function(e,n){if(!r(e)||s(e))return e;var o,a=i(e,c);if(a){if(void 0===n&&(n="default"),!r(o=t(a,e,n))||s(o))return o;throw new u("Can't convert object to primitive value")}return void 0===n&&(n="number"),l(e,n)}},"../../node_modules/core-js/internals/to-property-key.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/to-primitive.js"),r=o("../../node_modules/core-js/internals/is-symbol.js");e.exports=function(e){var n=t(e,"string");return r(n)?n:n+""}},"../../node_modules/core-js/internals/try-to-string.js":function(e){var n=String;e.exports=function(e){try{return n(e)}catch(e){return"Object"}}},"../../node_modules/core-js/internals/uid.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/function-uncurry-this.js"),r=0,s=Math.random(),i=t(1.1.toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+i(++r+s,36)}},"../../node_modules/core-js/internals/use-symbol-as-uid.js":function(e,n,o){e.exports=o("../../node_modules/core-js/internals/symbol-constructor-detection.js")&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},"../../node_modules/core-js/internals/v8-prototype-define-bug.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/descriptors.js"),r=o("../../node_modules/core-js/internals/fails.js");e.exports=t&&r(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},"../../node_modules/core-js/internals/weak-map-basic-detection.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/global-this.js"),r=o("../../node_modules/core-js/internals/is-callable.js"),s=t.WeakMap;e.exports=r(s)&&/native code/.test(String(s))},"../../node_modules/core-js/internals/well-known-symbol.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/global-this.js"),r=o("../../node_modules/core-js/internals/shared.js"),s=o("../../node_modules/core-js/internals/has-own-property.js"),i=o("../../node_modules/core-js/internals/uid.js"),l=o("../../node_modules/core-js/internals/symbol-constructor-detection.js"),a=o("../../node_modules/core-js/internals/use-symbol-as-uid.js"),u=t.Symbol,c=r("wks"),d=a?u.for||u:u&&u.withoutSetter||i;e.exports=function(e){return s(c,e)||(c[e]=l&&s(u,e)?u[e]:d("Symbol."+e)),c[e]}},"../../node_modules/core-js/modules/es.object.has-own.js":function(e,n,o){o("../../node_modules/core-js/internals/export.js")({target:"Object",stat:!0},{hasOwn:o("../../node_modules/core-js/internals/has-own-property.js")})}},__webpack_module_cache__={};function __webpack_require__(e){var n=__webpack_module_cache__[e];if(void 0!==n)return n.exports;var o=__webpack_module_cache__[e]={exports:{}};return __webpack_modules__[e].call(o.exports,o,o.exports,__webpack_require__),o.exports}__webpack_require__.d=(e,n)=>{for(var o in n)__webpack_require__.o(n,o)&&!__webpack_require__.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:n[o]})},__webpack_require__.g=(()=>{if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}})(),__webpack_require__.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var __webpack_exports__={};for(var __webpack_i__ in(()=>{let e;__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{useAaaSPilotKit:()=>l,injectAaaSPilotKit:()=>i,Language:()=>o.Language,useAaaSPilotKitProvider:()=>r,provideAaaSPilotKit:()=>s,useConversationList:()=>_,AaaSPilotKitProviderKey:()=>t,useAaaSPilotKitEvents:()=>a,useConversationEnd:()=>p,useConversation:()=>f,BaseAgentService:()=>o.BaseAgentService}),__webpack_require__("../../node_modules/core-js/modules/es.object.has-own.js");let n=require("vue"),o=require("@bdky/aaas-pilot-kit"),t=Symbol("AaaSPilotKitProvider");function r(e){let t=(0,n.shallowRef)(null),r=(0,n.ref)(!1),s=(0,n.ref)(!1),i=(0,n.ref)(!1),l=(0,n.ref)(!1),a=()=>{if(t.value)return;r.value=!1;let s=(0,o.createAaaSPilotKit)(e);t.value=(0,n.markRaw)(s)},u=()=>{t.value&&!r.value&&(r.value=!0,t.value.dispose(),t.value=null,s.value=!1,i.value=!1,l.value=!1)};a();let c=null;return(0,n.watch)(t,e=>{if(c&&(c(),c=null),null==e?void 0:e.emitter){let n=e.emitter,o=e=>{i.value=e},t=e=>{l.value=e},r=()=>{s.value=!0};if(!n.listenerCount||"function"!=typeof n.listenerCount)return void console.warn("Provider emitter is not fully initialized");n.on("mute",o),n.on("is_rendering_change",t),n.on("ready",r),c=()=>{n.off("mute",o),n.off("is_rendering_change",t),n.off("ready",r)}}},{immediate:!0}),(0,n.onUnmounted)(()=>{c&&c(),u()}),{controller:(0,n.readonly)(t),isReady:(0,n.readonly)(s),isMuted:(0,n.readonly)(i),isRendering:(0,n.readonly)(l),dispose:u,create:a}}function s(e){let o=r(e);return(0,n.provide)(t,o),o}function i(){let e=(0,n.inject)(t);if(!e)throw Error("useAaaSPilotKit must be used within a component that provides AaaSPilotKit");return e}let l=()=>i(),a=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=l(),{onReady:t,onAsrStart:r,onAsrMessage:s,onRenderStart:i,onInactivity:a,onBusy:u,onInterrupt:c,onConversationChange:d,onIsRenderingChange:j,onReplyStart:f,onTtft:_}=e,p=null;(0,n.watch)(o.controller,()=>{(0,n.nextTick)().then(()=>{(()=>{p&&(p(),p=null);let e=o.controller.value;if(!(null==e?void 0:e.emitter))return;let n=e.emitter,l=()=>{null==t||t()},m=()=>{null==r||r()},b=e=>{null==s||s(e)},v=e=>{null==i||i(e)},y=e=>{null==a||a(e)},g=e=>{null==u||u(e)},h=e=>{null==c||c(e)},w=e=>{null==d||d(e)},x=e=>{null==j||j(e)},S=e=>{null==f||f(e)},k=e=>{null==_||_(e)};n.listenerCount&&"function"==typeof n.listenerCount?(n.on("ready",l),n.on("asr_start",m),n.on("asr_message",b),n.on("render_start",v),n.on("inactivity",y),n.on("busy",g),n.on("interrupt",h),n.on("conversation_change",w),n.on("is_rendering_change",x),n.on("reply_start",S),n.on("ttft",k),p=()=>{n.off("ready",l),n.off("asr_start",m),n.off("asr_message",b),n.off("render_start",v),n.off("inactivity",y),n.off("busy",g),n.off("interrupt",h),n.off("conversation_change",w),n.off("is_rendering_change",x),n.off("reply_start",S),n.off("ttft",k)}):console.warn("Emitter is not fully initialized")})()})},{immediate:!0}),(0,n.onUnmounted)(()=>{p&&p()})},u="undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),c=new Uint8Array(16),d=[];for(let e=0;e<256;++e)d.push((e+256).toString(16).slice(1));let j=function(n,o,t){if(u&&!o&&!n)return u();var r=n,s=o,i=t;let l=(r=r||{}).random??r.rng?.()??function(){if(!e){if("undefined"==typeof crypto||!crypto.getRandomValues)throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");e=crypto.getRandomValues.bind(crypto)}return e(c)}();if(l.length<16)throw Error("Random bytes length must be >= 16");if(l[6]=15&l[6]|64,l[8]=63&l[8]|128,s){if((i=i||0)<0||i+16>s.length)throw RangeError(`UUID byte range ${i}:${i+15} is out of buffer bounds`);for(let e=0;e<16;++e)s[i+e]=l[e];return s}return function(e,n=0){return(d[e[n+0]]+d[e[n+1]]+d[e[n+2]]+d[e[n+3]]+"-"+d[e[n+4]]+d[e[n+5]]+"-"+d[e[n+6]]+d[e[n+7]]+"-"+d[e[n+8]]+d[e[n+9]]+"-"+d[e[n+10]]+d[e[n+11]]+d[e[n+12]]+d[e[n+13]]+d[e[n+14]]+d[e[n+15]]).toLowerCase()}(l)};function f(e){let t=l(),r=(0,n.ref)([]),s=[],i=null;return(0,n.watch)(e,e=>{var l;l=null!=e?e:null,i&&i(),i=(e=>{let i;if(s=i=(e=>{let n=t.controller.value,r=null==n?void 0:n.conversationService;if(!e||!r)return[];let s=r.getUIState(e.id);if(s)return s.contents;if("client"===e.type)return[{uiId:j(),mod:"text",content:e.text,completed:!1}];if(e instanceof o.AIWorkerConversationBean){var i;if((null==(i=r.last)?void 0:i.id)===e.id)return[];if(e.contents.length>0){let n=r.buildSnapshotUIState(e);return r.setUIState(e.id,n),n.contents}}return[]})(e),r.value=i,!e)return null;let l=(0,n.toRaw)(e),a=n=>{s=n,r.value=[...n];let o=t.controller.value,i=null==o?void 0:o.conversationService;e&&i&&i.setUIState(e.id,{contents:n,mode:"stream"})},u=e=>{let n=s[s.length-1],o=[];if(n)if(n.mod===e.mod){let t={...n,content:n.content+e.content,completed:e.completed};o=[...s.slice(0,s.length-1),t]}else{let n={...e,uiId:j()};o=[...s,n]}else o=[{...e,uiId:j()}];a(o)},c=e=>{let n=s[s.length-1],o=[];if(n)if(n.mod===e.mod){let t={...n,content:e.content,completed:e.completed};o=[...s.slice(0,s.length-1),t]}else{let n={...e,uiId:j()};o=[...s,n]}else o=[{...e,uiId:j()}];a(o)},d=null,f=(null==l?void 0:l.emitter)?(0,n.toRaw)(l.emitter):null;if(!f)return console.warn("Conversation emitter is not available"),null;if(!f.on||"function"!=typeof f.on)return console.warn("Conversation emitter is not fully initialized"),null;try{l instanceof o.AIWorkerConversationBean?(f.on("content_change",u),d=()=>{f.off("content_change",u)}):(f.on("content_change",c),d=()=>{f.off("content_change",c)})}catch(e){return console.error("Error setting up emitter listeners:",e),null}return d})(l)},{immediate:!0}),(0,n.onUnmounted)(()=>{i&&i()}),{conversationContents:r}}function _(){let e=l(),o=(0,n.ref)([]),t=null;return(0,n.watch)(e.controller,()=>{(0,n.nextTick)().then(()=>{(()=>{t&&(t(),t=null);let n=e.controller.value;if(!(null==n?void 0:n.emitter))return;let r=n.conversationService;r&&(o.value=[...r.beans]);let s=n.emitter,i=e=>{o.value=[...o.value,e]};s.listenerCount&&"function"==typeof s.listenerCount?(s.on("conversation_add",i),t=()=>{s.off("conversation_add",i)}):console.warn("Controller emitter is not fully initialized")})()})},{immediate:!0}),(0,n.onUnmounted)(()=>{t&&t()}),{conversationList:o}}let p=(e,t)=>{let r=null;(0,n.watch)(e,()=>{(0,n.nextTick)().then(()=>{(()=>{r&&(r(),r=null);let s=e.value;if(!s||!(s instanceof o.AIWorkerConversationBean))return;let i=(0,n.toRaw)(s),l=(0,n.toRaw)(i.emitter);if(!l||"function"!=typeof l.on)return console.warn("[useConversationEnd] emitter 未正确初始化");let a=e=>{null==t||t(e)};l.on("conversation_end",a),r=()=>{l.off("conversation_end",a)}})()})},{immediate:!0}),(0,n.onUnmounted)(()=>{r&&r()})}})(),exports.AaaSPilotKitProviderKey=__webpack_exports__.AaaSPilotKitProviderKey,exports.BaseAgentService=__webpack_exports__.BaseAgentService,exports.Language=__webpack_exports__.Language,exports.injectAaaSPilotKit=__webpack_exports__.injectAaaSPilotKit,exports.provideAaaSPilotKit=__webpack_exports__.provideAaaSPilotKit,exports.useAaaSPilotKit=__webpack_exports__.useAaaSPilotKit,exports.useAaaSPilotKitEvents=__webpack_exports__.useAaaSPilotKitEvents,exports.useAaaSPilotKitProvider=__webpack_exports__.useAaaSPilotKitProvider,exports.useConversation=__webpack_exports__.useConversation,exports.useConversationEnd=__webpack_exports__.useConversationEnd,exports.useConversationList=__webpack_exports__.useConversationList,__webpack_exports__)-1===["AaaSPilotKitProviderKey","BaseAgentService","Language","injectAaaSPilotKit","provideAaaSPilotKit","useAaaSPilotKit","useAaaSPilotKitEvents","useAaaSPilotKitProvider","useConversation","useConversationEnd","useConversationList"].indexOf(__webpack_i__)&&(exports[__webpack_i__]=__webpack_exports__[__webpack_i__]);Object.defineProperty(exports,"__esModule",{value:!0});
@@ -1 +1 @@
1
- let e;import{inject as n,markRaw as o,nextTick as r,onUnmounted as t,provide as s,readonly as i,ref as l,shallowRef as u,toRaw as c,watch as a}from"vue";import{AIWorkerConversationBean as d,BaseAgentService as j,Language as f,createAaaSPilotKit as m}from"@bdky/aaas-pilot-kit";var p={"../../node_modules/core-js/internals/a-callable.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/is-callable.js"),t=o("../../node_modules/core-js/internals/try-to-string.js"),s=TypeError;e.exports=function(e){if(r(e))return e;throw new s(t(e)+" is not a function")}},"../../node_modules/core-js/internals/an-object.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/is-object.js"),t=String,s=TypeError;e.exports=function(e){if(r(e))return e;throw new s(t(e)+" is not an object")}},"../../node_modules/core-js/internals/array-includes.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/to-indexed-object.js"),t=o("../../node_modules/core-js/internals/to-absolute-index.js"),s=o("../../node_modules/core-js/internals/length-of-array-like.js"),i=function(e){return function(n,o,i){var l,u=r(n),c=s(u);if(0===c)return!e&&-1;var a=t(i,c);if(e&&o!=o){for(;c>a;)if((l=u[a++])!=l)return!0}else for(;c>a;a++)if((e||a in u)&&u[a]===o)return e||a||0;return!e&&-1}};e.exports={includes:i(!0),indexOf:i(!1)}},"../../node_modules/core-js/internals/classof-raw.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/function-uncurry-this.js"),t=r({}.toString),s=r("".slice);e.exports=function(e){return s(t(e),8,-1)}},"../../node_modules/core-js/internals/copy-constructor-properties.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/has-own-property.js"),t=o("../../node_modules/core-js/internals/own-keys.js"),s=o("../../node_modules/core-js/internals/object-get-own-property-descriptor.js"),i=o("../../node_modules/core-js/internals/object-define-property.js");e.exports=function(e,n,o){for(var l=t(n),u=i.f,c=s.f,a=0;a<l.length;a++){var d=l[a];r(e,d)||o&&r(o,d)||u(e,d,c(n,d))}}},"../../node_modules/core-js/internals/create-non-enumerable-property.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/descriptors.js"),t=o("../../node_modules/core-js/internals/object-define-property.js"),s=o("../../node_modules/core-js/internals/create-property-descriptor.js");e.exports=r?function(e,n,o){return t.f(e,n,s(1,o))}:function(e,n,o){return e[n]=o,e}},"../../node_modules/core-js/internals/create-property-descriptor.js":function(e){e.exports=function(e,n){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:n}}},"../../node_modules/core-js/internals/define-built-in.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/is-callable.js"),t=o("../../node_modules/core-js/internals/object-define-property.js"),s=o("../../node_modules/core-js/internals/make-built-in.js"),i=o("../../node_modules/core-js/internals/define-global-property.js");e.exports=function(e,n,o,l){l||(l={});var u=l.enumerable,c=void 0!==l.name?l.name:n;if(r(o)&&s(o,c,l),l.global)u?e[n]=o:i(n,o);else{try{l.unsafe?e[n]&&(u=!0):delete e[n]}catch(e){}u?e[n]=o:t.f(e,n,{value:o,enumerable:!1,configurable:!l.nonConfigurable,writable:!l.nonWritable})}return e}},"../../node_modules/core-js/internals/define-global-property.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/global-this.js"),t=Object.defineProperty;e.exports=function(e,n){try{t(r,e,{value:n,configurable:!0,writable:!0})}catch(o){r[e]=n}return n}},"../../node_modules/core-js/internals/descriptors.js":function(e,n,o){e.exports=!o("../../node_modules/core-js/internals/fails.js")(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},"../../node_modules/core-js/internals/document-create-element.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/global-this.js"),t=o("../../node_modules/core-js/internals/is-object.js"),s=r.document,i=t(s)&&t(s.createElement);e.exports=function(e){return i?s.createElement(e):{}}},"../../node_modules/core-js/internals/enum-bug-keys.js":function(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"../../node_modules/core-js/internals/environment-user-agent.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/global-this.js").navigator,t=r&&r.userAgent;e.exports=t?String(t):""},"../../node_modules/core-js/internals/environment-v8-version.js":function(e,n,o){var r,t,s=o("../../node_modules/core-js/internals/global-this.js"),i=o("../../node_modules/core-js/internals/environment-user-agent.js"),l=s.process,u=s.Deno,c=l&&l.versions||u&&u.version,a=c&&c.v8;a&&(t=(r=a.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!t&&i&&(!(r=i.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=i.match(/Chrome\/(\d+)/))&&(t=+r[1]),e.exports=t},"../../node_modules/core-js/internals/export.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/global-this.js"),t=o("../../node_modules/core-js/internals/object-get-own-property-descriptor.js").f,s=o("../../node_modules/core-js/internals/create-non-enumerable-property.js"),i=o("../../node_modules/core-js/internals/define-built-in.js"),l=o("../../node_modules/core-js/internals/define-global-property.js"),u=o("../../node_modules/core-js/internals/copy-constructor-properties.js"),c=o("../../node_modules/core-js/internals/is-forced.js");e.exports=function(e,n){var o,a,d,j,f,m=e.target,p=e.global,_=e.stat;if(o=p?r:_?r[m]||l(m,{}):r[m]&&r[m].prototype)for(a in n){if(j=n[a],d=e.dontCallGetSet?(f=t(o,a))&&f.value:o[a],!c(p?a:m+(_?".":"#")+a,e.forced)&&void 0!==d){if(typeof j==typeof d)continue;u(j,d)}(e.sham||d&&d.sham)&&s(j,"sham",!0),i(o,a,j,e)}}},"../../node_modules/core-js/internals/fails.js":function(e){e.exports=function(e){try{return!!e()}catch(e){return!0}}},"../../node_modules/core-js/internals/function-bind-native.js":function(e,n,o){e.exports=!o("../../node_modules/core-js/internals/fails.js")(function(){var e=(function(){}).bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})},"../../node_modules/core-js/internals/function-call.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/function-bind-native.js"),t=Function.prototype.call;e.exports=r?t.bind(t):function(){return t.apply(t,arguments)}},"../../node_modules/core-js/internals/function-name.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/descriptors.js"),t=o("../../node_modules/core-js/internals/has-own-property.js"),s=Function.prototype,i=r&&Object.getOwnPropertyDescriptor,l=t(s,"name"),u=l&&(!r||r&&i(s,"name").configurable);e.exports={EXISTS:l,PROPER:l&&"something"===(function(){}).name,CONFIGURABLE:u}},"../../node_modules/core-js/internals/function-uncurry-this.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/function-bind-native.js"),t=Function.prototype,s=t.call,i=r&&t.bind.bind(s,s);e.exports=r?i:function(e){return function(){return s.apply(e,arguments)}}},"../../node_modules/core-js/internals/get-built-in.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/global-this.js"),t=o("../../node_modules/core-js/internals/is-callable.js");e.exports=function(e,n){var o;return arguments.length<2?t(o=r[e])?o:void 0:r[e]&&r[e][n]}},"../../node_modules/core-js/internals/get-method.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/a-callable.js"),t=o("../../node_modules/core-js/internals/is-null-or-undefined.js");e.exports=function(e,n){var o=e[n];return t(o)?void 0:r(o)}},"../../node_modules/core-js/internals/global-this.js":function(e,n,o){var r=function(e){return e&&e.Math===Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof o.g&&o.g)||r("object"==typeof this&&this)||function(){return this}()||Function("return this")()},"../../node_modules/core-js/internals/has-own-property.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/function-uncurry-this.js"),t=o("../../node_modules/core-js/internals/to-object.js"),s=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,n){return s(t(e),n)}},"../../node_modules/core-js/internals/hidden-keys.js":function(e){e.exports={}},"../../node_modules/core-js/internals/ie8-dom-define.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/descriptors.js"),t=o("../../node_modules/core-js/internals/fails.js"),s=o("../../node_modules/core-js/internals/document-create-element.js");e.exports=!r&&!t(function(){return 7!==Object.defineProperty(s("div"),"a",{get:function(){return 7}}).a})},"../../node_modules/core-js/internals/indexed-object.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/function-uncurry-this.js"),t=o("../../node_modules/core-js/internals/fails.js"),s=o("../../node_modules/core-js/internals/classof-raw.js"),i=Object,l=r("".split);e.exports=t(function(){return!i("z").propertyIsEnumerable(0)})?function(e){return"String"===s(e)?l(e,""):i(e)}:i},"../../node_modules/core-js/internals/inspect-source.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/function-uncurry-this.js"),t=o("../../node_modules/core-js/internals/is-callable.js"),s=o("../../node_modules/core-js/internals/shared-store.js"),i=r(Function.toString);t(s.inspectSource)||(s.inspectSource=function(e){return i(e)}),e.exports=s.inspectSource},"../../node_modules/core-js/internals/internal-state.js":function(e,n,o){var r,t,s,i=o("../../node_modules/core-js/internals/weak-map-basic-detection.js"),l=o("../../node_modules/core-js/internals/global-this.js"),u=o("../../node_modules/core-js/internals/is-object.js"),c=o("../../node_modules/core-js/internals/create-non-enumerable-property.js"),a=o("../../node_modules/core-js/internals/has-own-property.js"),d=o("../../node_modules/core-js/internals/shared-store.js"),j=o("../../node_modules/core-js/internals/shared-key.js"),f=o("../../node_modules/core-js/internals/hidden-keys.js"),m="Object already initialized",p=l.TypeError,_=l.WeakMap;if(i||d.state){var y=d.state||(d.state=new _);y.get=y.get,y.has=y.has,y.set=y.set,r=function(e,n){if(y.has(e))throw new p(m);return n.facade=e,y.set(e,n),n},t=function(e){return y.get(e)||{}},s=function(e){return y.has(e)}}else{var b=j("state");f[b]=!0,r=function(e,n){if(a(e,b))throw new p(m);return n.facade=e,c(e,b,n),n},t=function(e){return a(e,b)?e[b]:{}},s=function(e){return a(e,b)}}e.exports={set:r,get:t,has:s,enforce:function(e){return s(e)?t(e):r(e,{})},getterFor:function(e){return function(n){var o;if(!u(n)||(o=t(n)).type!==e)throw new p("Incompatible receiver, "+e+" required");return o}}}},"../../node_modules/core-js/internals/is-callable.js":function(e){var n="object"==typeof document&&document.all;e.exports=void 0===n&&void 0!==n?function(e){return"function"==typeof e||e===n}:function(e){return"function"==typeof e}},"../../node_modules/core-js/internals/is-forced.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/fails.js"),t=o("../../node_modules/core-js/internals/is-callable.js"),s=/#|\.prototype\./,i=function(e,n){var o=u[l(e)];return o===a||o!==c&&(t(n)?r(n):!!n)},l=i.normalize=function(e){return String(e).replace(s,".").toLowerCase()},u=i.data={},c=i.NATIVE="N",a=i.POLYFILL="P";e.exports=i},"../../node_modules/core-js/internals/is-null-or-undefined.js":function(e){e.exports=function(e){return null==e}},"../../node_modules/core-js/internals/is-object.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/is-callable.js");e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},"../../node_modules/core-js/internals/is-pure.js":function(e){e.exports=!1},"../../node_modules/core-js/internals/is-symbol.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/get-built-in.js"),t=o("../../node_modules/core-js/internals/is-callable.js"),s=o("../../node_modules/core-js/internals/object-is-prototype-of.js"),i=o("../../node_modules/core-js/internals/use-symbol-as-uid.js"),l=Object;e.exports=i?function(e){return"symbol"==typeof e}:function(e){var n=r("Symbol");return t(n)&&s(n.prototype,l(e))}},"../../node_modules/core-js/internals/length-of-array-like.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/to-length.js");e.exports=function(e){return r(e.length)}},"../../node_modules/core-js/internals/make-built-in.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/function-uncurry-this.js"),t=o("../../node_modules/core-js/internals/fails.js"),s=o("../../node_modules/core-js/internals/is-callable.js"),i=o("../../node_modules/core-js/internals/has-own-property.js"),l=o("../../node_modules/core-js/internals/descriptors.js"),u=o("../../node_modules/core-js/internals/function-name.js").CONFIGURABLE,c=o("../../node_modules/core-js/internals/inspect-source.js"),a=o("../../node_modules/core-js/internals/internal-state.js"),d=a.enforce,j=a.get,f=String,m=Object.defineProperty,p=r("".slice),_=r("".replace),y=r([].join),b=l&&!t(function(){return 8!==m(function(){},"length",{value:8}).length}),v=String(String).split("String"),h=e.exports=function(e,n,o){"Symbol("===p(f(n),0,7)&&(n="["+_(f(n),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),o&&o.getter&&(n="get "+n),o&&o.setter&&(n="set "+n),(!i(e,"name")||u&&e.name!==n)&&(l?m(e,"name",{value:n,configurable:!0}):e.name=n),b&&o&&i(o,"arity")&&e.length!==o.arity&&m(e,"length",{value:o.arity});try{o&&i(o,"constructor")&&o.constructor?l&&m(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=d(e);return i(r,"source")||(r.source=y(v,"string"==typeof n?n:"")),e};Function.prototype.toString=h(function(){return s(this)&&j(this).source||c(this)},"toString")},"../../node_modules/core-js/internals/math-trunc.js":function(e){var n=Math.ceil,o=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?o:n)(r)}},"../../node_modules/core-js/internals/object-define-property.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/descriptors.js"),t=o("../../node_modules/core-js/internals/ie8-dom-define.js"),s=o("../../node_modules/core-js/internals/v8-prototype-define-bug.js"),i=o("../../node_modules/core-js/internals/an-object.js"),l=o("../../node_modules/core-js/internals/to-property-key.js"),u=TypeError,c=Object.defineProperty,a=Object.getOwnPropertyDescriptor,d="enumerable",j="configurable",f="writable";n.f=r?s?function(e,n,o){if(i(e),n=l(n),i(o),"function"==typeof e&&"prototype"===n&&"value"in o&&f in o&&!o[f]){var r=a(e,n);r&&r[f]&&(e[n]=o.value,o={configurable:j in o?o[j]:r[j],enumerable:d in o?o[d]:r[d],writable:!1})}return c(e,n,o)}:c:function(e,n,o){if(i(e),n=l(n),i(o),t)try{return c(e,n,o)}catch(e){}if("get"in o||"set"in o)throw new u("Accessors not supported");return"value"in o&&(e[n]=o.value),e}},"../../node_modules/core-js/internals/object-get-own-property-descriptor.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/descriptors.js"),t=o("../../node_modules/core-js/internals/function-call.js"),s=o("../../node_modules/core-js/internals/object-property-is-enumerable.js"),i=o("../../node_modules/core-js/internals/create-property-descriptor.js"),l=o("../../node_modules/core-js/internals/to-indexed-object.js"),u=o("../../node_modules/core-js/internals/to-property-key.js"),c=o("../../node_modules/core-js/internals/has-own-property.js"),a=o("../../node_modules/core-js/internals/ie8-dom-define.js"),d=Object.getOwnPropertyDescriptor;n.f=r?d:function(e,n){if(e=l(e),n=u(n),a)try{return d(e,n)}catch(e){}if(c(e,n))return i(!t(s.f,e,n),e[n])}},"../../node_modules/core-js/internals/object-get-own-property-names.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/object-keys-internal.js"),t=o("../../node_modules/core-js/internals/enum-bug-keys.js").concat("length","prototype");n.f=Object.getOwnPropertyNames||function(e){return r(e,t)}},"../../node_modules/core-js/internals/object-get-own-property-symbols.js":function(e,n){n.f=Object.getOwnPropertySymbols},"../../node_modules/core-js/internals/object-is-prototype-of.js":function(e,n,o){e.exports=o("../../node_modules/core-js/internals/function-uncurry-this.js")({}.isPrototypeOf)},"../../node_modules/core-js/internals/object-keys-internal.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/function-uncurry-this.js"),t=o("../../node_modules/core-js/internals/has-own-property.js"),s=o("../../node_modules/core-js/internals/to-indexed-object.js"),i=o("../../node_modules/core-js/internals/array-includes.js").indexOf,l=o("../../node_modules/core-js/internals/hidden-keys.js"),u=r([].push);e.exports=function(e,n){var o,r=s(e),c=0,a=[];for(o in r)!t(l,o)&&t(r,o)&&u(a,o);for(;n.length>c;)t(r,o=n[c++])&&(~i(a,o)||u(a,o));return a}},"../../node_modules/core-js/internals/object-property-is-enumerable.js":function(e,n){var o={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor;n.f=r&&!o.call({1:2},1)?function(e){var n=r(this,e);return!!n&&n.enumerable}:o},"../../node_modules/core-js/internals/ordinary-to-primitive.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/function-call.js"),t=o("../../node_modules/core-js/internals/is-callable.js"),s=o("../../node_modules/core-js/internals/is-object.js"),i=TypeError;e.exports=function(e,n){var o,l;if("string"===n&&t(o=e.toString)&&!s(l=r(o,e))||t(o=e.valueOf)&&!s(l=r(o,e))||"string"!==n&&t(o=e.toString)&&!s(l=r(o,e)))return l;throw new i("Can't convert object to primitive value")}},"../../node_modules/core-js/internals/own-keys.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/get-built-in.js"),t=o("../../node_modules/core-js/internals/function-uncurry-this.js"),s=o("../../node_modules/core-js/internals/object-get-own-property-names.js"),i=o("../../node_modules/core-js/internals/object-get-own-property-symbols.js"),l=o("../../node_modules/core-js/internals/an-object.js"),u=t([].concat);e.exports=r("Reflect","ownKeys")||function(e){var n=s.f(l(e)),o=i.f;return o?u(n,o(e)):n}},"../../node_modules/core-js/internals/require-object-coercible.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/is-null-or-undefined.js"),t=TypeError;e.exports=function(e){if(r(e))throw new t("Can't call method on "+e);return e}},"../../node_modules/core-js/internals/shared-key.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/shared.js"),t=o("../../node_modules/core-js/internals/uid.js"),s=r("keys");e.exports=function(e){return s[e]||(s[e]=t(e))}},"../../node_modules/core-js/internals/shared-store.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/is-pure.js"),t=o("../../node_modules/core-js/internals/global-this.js"),s=o("../../node_modules/core-js/internals/define-global-property.js"),i="__core-js_shared__",l=e.exports=t[i]||s(i,{});(l.versions||(l.versions=[])).push({version:"3.44.0",mode:r?"pure":"global",copyright:"\xa9 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.44.0/LICENSE",source:"https://github.com/zloirock/core-js"})},"../../node_modules/core-js/internals/shared.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/shared-store.js");e.exports=function(e,n){return r[e]||(r[e]=n||{})}},"../../node_modules/core-js/internals/symbol-constructor-detection.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/environment-v8-version.js"),t=o("../../node_modules/core-js/internals/fails.js"),s=o("../../node_modules/core-js/internals/global-this.js").String;e.exports=!!Object.getOwnPropertySymbols&&!t(function(){var e=Symbol("symbol detection");return!s(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41})},"../../node_modules/core-js/internals/to-absolute-index.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/to-integer-or-infinity.js"),t=Math.max,s=Math.min;e.exports=function(e,n){var o=r(e);return o<0?t(o+n,0):s(o,n)}},"../../node_modules/core-js/internals/to-indexed-object.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/indexed-object.js"),t=o("../../node_modules/core-js/internals/require-object-coercible.js");e.exports=function(e){return r(t(e))}},"../../node_modules/core-js/internals/to-integer-or-infinity.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/math-trunc.js");e.exports=function(e){var n=+e;return n!=n||0===n?0:r(n)}},"../../node_modules/core-js/internals/to-length.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/to-integer-or-infinity.js"),t=Math.min;e.exports=function(e){var n=r(e);return n>0?t(n,0x1fffffffffffff):0}},"../../node_modules/core-js/internals/to-object.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/require-object-coercible.js"),t=Object;e.exports=function(e){return t(r(e))}},"../../node_modules/core-js/internals/to-primitive.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/function-call.js"),t=o("../../node_modules/core-js/internals/is-object.js"),s=o("../../node_modules/core-js/internals/is-symbol.js"),i=o("../../node_modules/core-js/internals/get-method.js"),l=o("../../node_modules/core-js/internals/ordinary-to-primitive.js"),u=o("../../node_modules/core-js/internals/well-known-symbol.js"),c=TypeError,a=u("toPrimitive");e.exports=function(e,n){if(!t(e)||s(e))return e;var o,u=i(e,a);if(u){if(void 0===n&&(n="default"),!t(o=r(u,e,n))||s(o))return o;throw new c("Can't convert object to primitive value")}return void 0===n&&(n="number"),l(e,n)}},"../../node_modules/core-js/internals/to-property-key.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/to-primitive.js"),t=o("../../node_modules/core-js/internals/is-symbol.js");e.exports=function(e){var n=r(e,"string");return t(n)?n:n+""}},"../../node_modules/core-js/internals/try-to-string.js":function(e){var n=String;e.exports=function(e){try{return n(e)}catch(e){return"Object"}}},"../../node_modules/core-js/internals/uid.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/function-uncurry-this.js"),t=0,s=Math.random(),i=r(1.1.toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+i(++t+s,36)}},"../../node_modules/core-js/internals/use-symbol-as-uid.js":function(e,n,o){e.exports=o("../../node_modules/core-js/internals/symbol-constructor-detection.js")&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},"../../node_modules/core-js/internals/v8-prototype-define-bug.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/descriptors.js"),t=o("../../node_modules/core-js/internals/fails.js");e.exports=r&&t(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},"../../node_modules/core-js/internals/weak-map-basic-detection.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/global-this.js"),t=o("../../node_modules/core-js/internals/is-callable.js"),s=r.WeakMap;e.exports=t(s)&&/native code/.test(String(s))},"../../node_modules/core-js/internals/well-known-symbol.js":function(e,n,o){var r=o("../../node_modules/core-js/internals/global-this.js"),t=o("../../node_modules/core-js/internals/shared.js"),s=o("../../node_modules/core-js/internals/has-own-property.js"),i=o("../../node_modules/core-js/internals/uid.js"),l=o("../../node_modules/core-js/internals/symbol-constructor-detection.js"),u=o("../../node_modules/core-js/internals/use-symbol-as-uid.js"),c=r.Symbol,a=t("wks"),d=u?c.for||c:c&&c.withoutSetter||i;e.exports=function(e){return s(a,e)||(a[e]=l&&s(c,e)?c[e]:d("Symbol."+e)),a[e]}},"../../node_modules/core-js/modules/es.object.has-own.js":function(e,n,o){o("../../node_modules/core-js/internals/export.js")({target:"Object",stat:!0},{hasOwn:o("../../node_modules/core-js/internals/has-own-property.js")})}},_={};function y(e){var n=_[e];if(void 0!==n)return n.exports;var o=_[e]={exports:{}};return p[e].call(o.exports,o,o.exports,y),o.exports}y.g=(()=>{if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}})(),y("../../node_modules/core-js/modules/es.object.has-own.js");let b=Symbol("AaaSPilotKitProvider");function v(e){let n=u(null),r=l(!1),s=l(!1),c=l(!1),d=l(!1),j=()=>{n.value||(r.value=!1,n.value=o(m(e)))},f=()=>{n.value&&!r.value&&(r.value=!0,n.value.dispose(),n.value=null,s.value=!1,c.value=!1,d.value=!1)};j();let p=null;return a(n,e=>{if(p&&(p(),p=null),null==e?void 0:e.emitter){let n=e.emitter,o=e=>{c.value=e},r=e=>{d.value=e},t=()=>{s.value=!0};if(!n.listenerCount||"function"!=typeof n.listenerCount)return void console.warn("Provider emitter is not fully initialized");n.on("mute",o),n.on("is_rendering_change",r),n.on("ready",t),p=()=>{n.off("mute",o),n.off("is_rendering_change",r),n.off("ready",t)}}},{immediate:!0}),t(()=>{p&&p(),f()}),{controller:i(n),isReady:i(s),isMuted:i(c),isRendering:i(d),dispose:f,create:j}}function h(e){let n=v(e);return s(b,n),n}function g(){let e=n(b);if(!e)throw Error("useAaaSPilotKit must be used within a component that provides AaaSPilotKit");return e}let w=()=>g(),x=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=w(),{onReady:o,onAsrStart:s,onAsrMessage:i,onRenderStart:l,onInactivity:u,onBusy:c,onInterrupt:d,onConversationChange:j,onIsRenderingChange:f,onReplyStart:m,onTtft:p}=e,_=null;a(n.controller,()=>{r().then(()=>{(()=>{_&&(_(),_=null);let e=n.controller.value;if(!(null==e?void 0:e.emitter))return;let r=e.emitter,t=()=>{null==o||o()},a=()=>{null==s||s()},y=e=>{null==i||i(e)},b=e=>{null==l||l(e)},v=e=>{null==u||u(e)},h=e=>{null==c||c(e)},g=e=>{null==d||d(e)},w=e=>{null==j||j(e)},x=e=>{null==f||f(e)},S=e=>{null==m||m(e)},O=e=>{null==p||p(e)};r.listenerCount&&"function"==typeof r.listenerCount?(r.on("ready",t),r.on("asr_start",a),r.on("asr_message",y),r.on("render_start",b),r.on("inactivity",v),r.on("busy",h),r.on("interrupt",g),r.on("conversation_change",w),r.on("is_rendering_change",x),r.on("reply_start",S),r.on("ttft",O),_=()=>{r.off("ready",t),r.off("asr_start",a),r.off("asr_message",y),r.off("render_start",b),r.off("inactivity",v),r.off("busy",h),r.off("interrupt",g),r.off("conversation_change",w),r.off("is_rendering_change",x),r.off("reply_start",S),r.off("ttft",O)}):console.warn("Emitter is not fully initialized")})()})},{immediate:!0}),t(()=>{_&&_()})},S="undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),O=new Uint8Array(16),P=[];for(let e=0;e<256;++e)P.push((e+256).toString(16).slice(1));let k=function(n,o,r){if(S&&!o&&!n)return S();var t=n,s=r;let i=(t=t||{}).random??t.rng?.()??function(){if(!e){if("undefined"==typeof crypto||!crypto.getRandomValues)throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");e=crypto.getRandomValues.bind(crypto)}return e(O)}();if(i.length<16)throw Error("Random bytes length must be >= 16");if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,o){if((s=s||0)<0||s+16>o.length)throw RangeError(`UUID byte range ${s}:${s+15} is out of buffer bounds`);for(let e=0;e<16;++e)o[s+e]=i[e];return o}return function(e,n=0){return(P[e[n+0]]+P[e[n+1]]+P[e[n+2]]+P[e[n+3]]+"-"+P[e[n+4]]+P[e[n+5]]+"-"+P[e[n+6]]+P[e[n+7]]+"-"+P[e[n+8]]+P[e[n+9]]+"-"+P[e[n+10]]+P[e[n+11]]+P[e[n+12]]+P[e[n+13]]+P[e[n+14]]+P[e[n+15]]).toLowerCase()}(i)};function E(e){let n=l([]),o=[],r=null;return a(e,e=>{r&&r(),r=(e=>{if((e=>{if(!e||"aiWorker"===e.type){o=[],n.value=[];return}let r={uiId:k(),mod:"text",content:e.text,completed:!1};o=[r],n.value=[r]})(e),!e)return null;let r=c(e),t=e=>{let r=[],t=[...o][o.length-1];if(t)if(t.mod===e.mod)t.content+=e.content,t.completed=e.completed,r=[...o.slice(0,o.length-1),t];else{let n={...e,uiId:k()};r=[...o,n]}else r=[{...e,uiId:k()}];o=r,n.value=r},s=e=>{let r=[],t=[...o][o.length-1];if(t)if(t.mod===e.mod)t.content=e.content,t.completed=e.completed,r=[...o.slice(0,o.length-1),t];else{let n={...e,uiId:k()};r=[...o,n]}else r=[{...e,uiId:k()}];o=r,n.value=r},i=null,l=(null==r?void 0:r.emitter)?c(r.emitter):null;if(!l)return console.warn("Conversation emitter is not available"),null;if(!l.on||"function"!=typeof l.on)return console.warn("Conversation emitter is not fully initialized"),null;try{r instanceof d?(l.on("content_change",t),i=()=>{l.off("content_change",t)}):(l.on("content_change",s),i=()=>{l.off("content_change",s)})}catch(e){return console.error("Error setting up emitter listeners:",e),null}return i})(null!=e?e:null)},{immediate:!0}),t(()=>{r&&r()}),{conversationContents:n}}function C(){let e=w(),n=l([]),o=null;return a(e.controller,()=>{r().then(()=>{(()=>{o&&(o(),o=null);let r=e.controller.value;if(!(null==r?void 0:r.emitter))return;let t=r.emitter,s=e=>{n.value=[...n.value,e]};t.listenerCount&&"function"==typeof t.listenerCount?(t.on("conversation_add",s),o=()=>{t.off("conversation_add",s)}):console.warn("Controller emitter is not fully initialized")})()})},{immediate:!0}),t(()=>{o&&o()}),{conversationList:n}}let I=(e,n)=>{let o=null;a(e,()=>{r().then(()=>{(()=>{o&&(o(),o=null);let r=e.value;if(!r||!(r instanceof d))return;let t=c(r),s=c(t.emitter);if(!s||"function"!=typeof s.on)return console.warn("[useConversationEnd] emitter 未正确初始化");let i=e=>{null==n||n(e)};s.on("conversation_end",i),o=()=>{s.off("conversation_end",i)}})()})},{immediate:!0}),t(()=>{o&&o()})};export{b as AaaSPilotKitProviderKey,j as BaseAgentService,f as Language,g as injectAaaSPilotKit,h as provideAaaSPilotKit,w as useAaaSPilotKit,x as useAaaSPilotKitEvents,v as useAaaSPilotKitProvider,E as useConversation,I as useConversationEnd,C as useConversationList};
1
+ let e;import{inject as n,markRaw as o,nextTick as t,onUnmounted as r,provide as s,readonly as i,ref as l,shallowRef as u,toRaw as c,watch as a}from"vue";import{AIWorkerConversationBean as d,BaseAgentService as j,Language as f,createAaaSPilotKit as m}from"@bdky/aaas-pilot-kit";var p={"../../node_modules/core-js/internals/a-callable.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/is-callable.js"),r=o("../../node_modules/core-js/internals/try-to-string.js"),s=TypeError;e.exports=function(e){if(t(e))return e;throw new s(r(e)+" is not a function")}},"../../node_modules/core-js/internals/an-object.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/is-object.js"),r=String,s=TypeError;e.exports=function(e){if(t(e))return e;throw new s(r(e)+" is not an object")}},"../../node_modules/core-js/internals/array-includes.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/to-indexed-object.js"),r=o("../../node_modules/core-js/internals/to-absolute-index.js"),s=o("../../node_modules/core-js/internals/length-of-array-like.js"),i=function(e){return function(n,o,i){var l,u=t(n),c=s(u);if(0===c)return!e&&-1;var a=r(i,c);if(e&&o!=o){for(;c>a;)if((l=u[a++])!=l)return!0}else for(;c>a;a++)if((e||a in u)&&u[a]===o)return e||a||0;return!e&&-1}};e.exports={includes:i(!0),indexOf:i(!1)}},"../../node_modules/core-js/internals/classof-raw.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/function-uncurry-this.js"),r=t({}.toString),s=t("".slice);e.exports=function(e){return s(r(e),8,-1)}},"../../node_modules/core-js/internals/copy-constructor-properties.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/has-own-property.js"),r=o("../../node_modules/core-js/internals/own-keys.js"),s=o("../../node_modules/core-js/internals/object-get-own-property-descriptor.js"),i=o("../../node_modules/core-js/internals/object-define-property.js");e.exports=function(e,n,o){for(var l=r(n),u=i.f,c=s.f,a=0;a<l.length;a++){var d=l[a];t(e,d)||o&&t(o,d)||u(e,d,c(n,d))}}},"../../node_modules/core-js/internals/create-non-enumerable-property.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/descriptors.js"),r=o("../../node_modules/core-js/internals/object-define-property.js"),s=o("../../node_modules/core-js/internals/create-property-descriptor.js");e.exports=t?function(e,n,o){return r.f(e,n,s(1,o))}:function(e,n,o){return e[n]=o,e}},"../../node_modules/core-js/internals/create-property-descriptor.js":function(e){e.exports=function(e,n){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:n}}},"../../node_modules/core-js/internals/define-built-in.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/is-callable.js"),r=o("../../node_modules/core-js/internals/object-define-property.js"),s=o("../../node_modules/core-js/internals/make-built-in.js"),i=o("../../node_modules/core-js/internals/define-global-property.js");e.exports=function(e,n,o,l){l||(l={});var u=l.enumerable,c=void 0!==l.name?l.name:n;if(t(o)&&s(o,c,l),l.global)u?e[n]=o:i(n,o);else{try{l.unsafe?e[n]&&(u=!0):delete e[n]}catch(e){}u?e[n]=o:r.f(e,n,{value:o,enumerable:!1,configurable:!l.nonConfigurable,writable:!l.nonWritable})}return e}},"../../node_modules/core-js/internals/define-global-property.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/global-this.js"),r=Object.defineProperty;e.exports=function(e,n){try{r(t,e,{value:n,configurable:!0,writable:!0})}catch(o){t[e]=n}return n}},"../../node_modules/core-js/internals/descriptors.js":function(e,n,o){e.exports=!o("../../node_modules/core-js/internals/fails.js")(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},"../../node_modules/core-js/internals/document-create-element.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/global-this.js"),r=o("../../node_modules/core-js/internals/is-object.js"),s=t.document,i=r(s)&&r(s.createElement);e.exports=function(e){return i?s.createElement(e):{}}},"../../node_modules/core-js/internals/enum-bug-keys.js":function(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"../../node_modules/core-js/internals/environment-user-agent.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/global-this.js").navigator,r=t&&t.userAgent;e.exports=r?String(r):""},"../../node_modules/core-js/internals/environment-v8-version.js":function(e,n,o){var t,r,s=o("../../node_modules/core-js/internals/global-this.js"),i=o("../../node_modules/core-js/internals/environment-user-agent.js"),l=s.process,u=s.Deno,c=l&&l.versions||u&&u.version,a=c&&c.v8;a&&(r=(t=a.split("."))[0]>0&&t[0]<4?1:+(t[0]+t[1])),!r&&i&&(!(t=i.match(/Edge\/(\d+)/))||t[1]>=74)&&(t=i.match(/Chrome\/(\d+)/))&&(r=+t[1]),e.exports=r},"../../node_modules/core-js/internals/export.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/global-this.js"),r=o("../../node_modules/core-js/internals/object-get-own-property-descriptor.js").f,s=o("../../node_modules/core-js/internals/create-non-enumerable-property.js"),i=o("../../node_modules/core-js/internals/define-built-in.js"),l=o("../../node_modules/core-js/internals/define-global-property.js"),u=o("../../node_modules/core-js/internals/copy-constructor-properties.js"),c=o("../../node_modules/core-js/internals/is-forced.js");e.exports=function(e,n){var o,a,d,j,f,m=e.target,p=e.global,_=e.stat;if(o=p?t:_?t[m]||l(m,{}):t[m]&&t[m].prototype)for(a in n){if(j=n[a],d=e.dontCallGetSet?(f=r(o,a))&&f.value:o[a],!c(p?a:m+(_?".":"#")+a,e.forced)&&void 0!==d){if(typeof j==typeof d)continue;u(j,d)}(e.sham||d&&d.sham)&&s(j,"sham",!0),i(o,a,j,e)}}},"../../node_modules/core-js/internals/fails.js":function(e){e.exports=function(e){try{return!!e()}catch(e){return!0}}},"../../node_modules/core-js/internals/function-bind-native.js":function(e,n,o){e.exports=!o("../../node_modules/core-js/internals/fails.js")(function(){var e=(function(){}).bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})},"../../node_modules/core-js/internals/function-call.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/function-bind-native.js"),r=Function.prototype.call;e.exports=t?r.bind(r):function(){return r.apply(r,arguments)}},"../../node_modules/core-js/internals/function-name.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/descriptors.js"),r=o("../../node_modules/core-js/internals/has-own-property.js"),s=Function.prototype,i=t&&Object.getOwnPropertyDescriptor,l=r(s,"name"),u=l&&(!t||t&&i(s,"name").configurable);e.exports={EXISTS:l,PROPER:l&&"something"===(function(){}).name,CONFIGURABLE:u}},"../../node_modules/core-js/internals/function-uncurry-this.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/function-bind-native.js"),r=Function.prototype,s=r.call,i=t&&r.bind.bind(s,s);e.exports=t?i:function(e){return function(){return s.apply(e,arguments)}}},"../../node_modules/core-js/internals/get-built-in.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/global-this.js"),r=o("../../node_modules/core-js/internals/is-callable.js");e.exports=function(e,n){var o;return arguments.length<2?r(o=t[e])?o:void 0:t[e]&&t[e][n]}},"../../node_modules/core-js/internals/get-method.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/a-callable.js"),r=o("../../node_modules/core-js/internals/is-null-or-undefined.js");e.exports=function(e,n){var o=e[n];return r(o)?void 0:t(o)}},"../../node_modules/core-js/internals/global-this.js":function(e,n,o){var t=function(e){return e&&e.Math===Math&&e};e.exports=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof o.g&&o.g)||t("object"==typeof this&&this)||function(){return this}()||Function("return this")()},"../../node_modules/core-js/internals/has-own-property.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/function-uncurry-this.js"),r=o("../../node_modules/core-js/internals/to-object.js"),s=t({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,n){return s(r(e),n)}},"../../node_modules/core-js/internals/hidden-keys.js":function(e){e.exports={}},"../../node_modules/core-js/internals/ie8-dom-define.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/descriptors.js"),r=o("../../node_modules/core-js/internals/fails.js"),s=o("../../node_modules/core-js/internals/document-create-element.js");e.exports=!t&&!r(function(){return 7!==Object.defineProperty(s("div"),"a",{get:function(){return 7}}).a})},"../../node_modules/core-js/internals/indexed-object.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/function-uncurry-this.js"),r=o("../../node_modules/core-js/internals/fails.js"),s=o("../../node_modules/core-js/internals/classof-raw.js"),i=Object,l=t("".split);e.exports=r(function(){return!i("z").propertyIsEnumerable(0)})?function(e){return"String"===s(e)?l(e,""):i(e)}:i},"../../node_modules/core-js/internals/inspect-source.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/function-uncurry-this.js"),r=o("../../node_modules/core-js/internals/is-callable.js"),s=o("../../node_modules/core-js/internals/shared-store.js"),i=t(Function.toString);r(s.inspectSource)||(s.inspectSource=function(e){return i(e)}),e.exports=s.inspectSource},"../../node_modules/core-js/internals/internal-state.js":function(e,n,o){var t,r,s,i=o("../../node_modules/core-js/internals/weak-map-basic-detection.js"),l=o("../../node_modules/core-js/internals/global-this.js"),u=o("../../node_modules/core-js/internals/is-object.js"),c=o("../../node_modules/core-js/internals/create-non-enumerable-property.js"),a=o("../../node_modules/core-js/internals/has-own-property.js"),d=o("../../node_modules/core-js/internals/shared-store.js"),j=o("../../node_modules/core-js/internals/shared-key.js"),f=o("../../node_modules/core-js/internals/hidden-keys.js"),m="Object already initialized",p=l.TypeError,_=l.WeakMap;if(i||d.state){var y=d.state||(d.state=new _);y.get=y.get,y.has=y.has,y.set=y.set,t=function(e,n){if(y.has(e))throw new p(m);return n.facade=e,y.set(e,n),n},r=function(e){return y.get(e)||{}},s=function(e){return y.has(e)}}else{var b=j("state");f[b]=!0,t=function(e,n){if(a(e,b))throw new p(m);return n.facade=e,c(e,b,n),n},r=function(e){return a(e,b)?e[b]:{}},s=function(e){return a(e,b)}}e.exports={set:t,get:r,has:s,enforce:function(e){return s(e)?r(e):t(e,{})},getterFor:function(e){return function(n){var o;if(!u(n)||(o=r(n)).type!==e)throw new p("Incompatible receiver, "+e+" required");return o}}}},"../../node_modules/core-js/internals/is-callable.js":function(e){var n="object"==typeof document&&document.all;e.exports=void 0===n&&void 0!==n?function(e){return"function"==typeof e||e===n}:function(e){return"function"==typeof e}},"../../node_modules/core-js/internals/is-forced.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/fails.js"),r=o("../../node_modules/core-js/internals/is-callable.js"),s=/#|\.prototype\./,i=function(e,n){var o=u[l(e)];return o===a||o!==c&&(r(n)?t(n):!!n)},l=i.normalize=function(e){return String(e).replace(s,".").toLowerCase()},u=i.data={},c=i.NATIVE="N",a=i.POLYFILL="P";e.exports=i},"../../node_modules/core-js/internals/is-null-or-undefined.js":function(e){e.exports=function(e){return null==e}},"../../node_modules/core-js/internals/is-object.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/is-callable.js");e.exports=function(e){return"object"==typeof e?null!==e:t(e)}},"../../node_modules/core-js/internals/is-pure.js":function(e){e.exports=!1},"../../node_modules/core-js/internals/is-symbol.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/get-built-in.js"),r=o("../../node_modules/core-js/internals/is-callable.js"),s=o("../../node_modules/core-js/internals/object-is-prototype-of.js"),i=o("../../node_modules/core-js/internals/use-symbol-as-uid.js"),l=Object;e.exports=i?function(e){return"symbol"==typeof e}:function(e){var n=t("Symbol");return r(n)&&s(n.prototype,l(e))}},"../../node_modules/core-js/internals/length-of-array-like.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/to-length.js");e.exports=function(e){return t(e.length)}},"../../node_modules/core-js/internals/make-built-in.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/function-uncurry-this.js"),r=o("../../node_modules/core-js/internals/fails.js"),s=o("../../node_modules/core-js/internals/is-callable.js"),i=o("../../node_modules/core-js/internals/has-own-property.js"),l=o("../../node_modules/core-js/internals/descriptors.js"),u=o("../../node_modules/core-js/internals/function-name.js").CONFIGURABLE,c=o("../../node_modules/core-js/internals/inspect-source.js"),a=o("../../node_modules/core-js/internals/internal-state.js"),d=a.enforce,j=a.get,f=String,m=Object.defineProperty,p=t("".slice),_=t("".replace),y=t([].join),b=l&&!r(function(){return 8!==m(function(){},"length",{value:8}).length}),v=String(String).split("String"),h=e.exports=function(e,n,o){"Symbol("===p(f(n),0,7)&&(n="["+_(f(n),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),o&&o.getter&&(n="get "+n),o&&o.setter&&(n="set "+n),(!i(e,"name")||u&&e.name!==n)&&(l?m(e,"name",{value:n,configurable:!0}):e.name=n),b&&o&&i(o,"arity")&&e.length!==o.arity&&m(e,"length",{value:o.arity});try{o&&i(o,"constructor")&&o.constructor?l&&m(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var t=d(e);return i(t,"source")||(t.source=y(v,"string"==typeof n?n:"")),e};Function.prototype.toString=h(function(){return s(this)&&j(this).source||c(this)},"toString")},"../../node_modules/core-js/internals/math-trunc.js":function(e){var n=Math.ceil,o=Math.floor;e.exports=Math.trunc||function(e){var t=+e;return(t>0?o:n)(t)}},"../../node_modules/core-js/internals/object-define-property.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/descriptors.js"),r=o("../../node_modules/core-js/internals/ie8-dom-define.js"),s=o("../../node_modules/core-js/internals/v8-prototype-define-bug.js"),i=o("../../node_modules/core-js/internals/an-object.js"),l=o("../../node_modules/core-js/internals/to-property-key.js"),u=TypeError,c=Object.defineProperty,a=Object.getOwnPropertyDescriptor,d="enumerable",j="configurable",f="writable";n.f=t?s?function(e,n,o){if(i(e),n=l(n),i(o),"function"==typeof e&&"prototype"===n&&"value"in o&&f in o&&!o[f]){var t=a(e,n);t&&t[f]&&(e[n]=o.value,o={configurable:j in o?o[j]:t[j],enumerable:d in o?o[d]:t[d],writable:!1})}return c(e,n,o)}:c:function(e,n,o){if(i(e),n=l(n),i(o),r)try{return c(e,n,o)}catch(e){}if("get"in o||"set"in o)throw new u("Accessors not supported");return"value"in o&&(e[n]=o.value),e}},"../../node_modules/core-js/internals/object-get-own-property-descriptor.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/descriptors.js"),r=o("../../node_modules/core-js/internals/function-call.js"),s=o("../../node_modules/core-js/internals/object-property-is-enumerable.js"),i=o("../../node_modules/core-js/internals/create-property-descriptor.js"),l=o("../../node_modules/core-js/internals/to-indexed-object.js"),u=o("../../node_modules/core-js/internals/to-property-key.js"),c=o("../../node_modules/core-js/internals/has-own-property.js"),a=o("../../node_modules/core-js/internals/ie8-dom-define.js"),d=Object.getOwnPropertyDescriptor;n.f=t?d:function(e,n){if(e=l(e),n=u(n),a)try{return d(e,n)}catch(e){}if(c(e,n))return i(!r(s.f,e,n),e[n])}},"../../node_modules/core-js/internals/object-get-own-property-names.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/object-keys-internal.js"),r=o("../../node_modules/core-js/internals/enum-bug-keys.js").concat("length","prototype");n.f=Object.getOwnPropertyNames||function(e){return t(e,r)}},"../../node_modules/core-js/internals/object-get-own-property-symbols.js":function(e,n){n.f=Object.getOwnPropertySymbols},"../../node_modules/core-js/internals/object-is-prototype-of.js":function(e,n,o){e.exports=o("../../node_modules/core-js/internals/function-uncurry-this.js")({}.isPrototypeOf)},"../../node_modules/core-js/internals/object-keys-internal.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/function-uncurry-this.js"),r=o("../../node_modules/core-js/internals/has-own-property.js"),s=o("../../node_modules/core-js/internals/to-indexed-object.js"),i=o("../../node_modules/core-js/internals/array-includes.js").indexOf,l=o("../../node_modules/core-js/internals/hidden-keys.js"),u=t([].push);e.exports=function(e,n){var o,t=s(e),c=0,a=[];for(o in t)!r(l,o)&&r(t,o)&&u(a,o);for(;n.length>c;)r(t,o=n[c++])&&(~i(a,o)||u(a,o));return a}},"../../node_modules/core-js/internals/object-property-is-enumerable.js":function(e,n){var o={}.propertyIsEnumerable,t=Object.getOwnPropertyDescriptor;n.f=t&&!o.call({1:2},1)?function(e){var n=t(this,e);return!!n&&n.enumerable}:o},"../../node_modules/core-js/internals/ordinary-to-primitive.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/function-call.js"),r=o("../../node_modules/core-js/internals/is-callable.js"),s=o("../../node_modules/core-js/internals/is-object.js"),i=TypeError;e.exports=function(e,n){var o,l;if("string"===n&&r(o=e.toString)&&!s(l=t(o,e))||r(o=e.valueOf)&&!s(l=t(o,e))||"string"!==n&&r(o=e.toString)&&!s(l=t(o,e)))return l;throw new i("Can't convert object to primitive value")}},"../../node_modules/core-js/internals/own-keys.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/get-built-in.js"),r=o("../../node_modules/core-js/internals/function-uncurry-this.js"),s=o("../../node_modules/core-js/internals/object-get-own-property-names.js"),i=o("../../node_modules/core-js/internals/object-get-own-property-symbols.js"),l=o("../../node_modules/core-js/internals/an-object.js"),u=r([].concat);e.exports=t("Reflect","ownKeys")||function(e){var n=s.f(l(e)),o=i.f;return o?u(n,o(e)):n}},"../../node_modules/core-js/internals/require-object-coercible.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/is-null-or-undefined.js"),r=TypeError;e.exports=function(e){if(t(e))throw new r("Can't call method on "+e);return e}},"../../node_modules/core-js/internals/shared-key.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/shared.js"),r=o("../../node_modules/core-js/internals/uid.js"),s=t("keys");e.exports=function(e){return s[e]||(s[e]=r(e))}},"../../node_modules/core-js/internals/shared-store.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/is-pure.js"),r=o("../../node_modules/core-js/internals/global-this.js"),s=o("../../node_modules/core-js/internals/define-global-property.js"),i="__core-js_shared__",l=e.exports=r[i]||s(i,{});(l.versions||(l.versions=[])).push({version:"3.44.0",mode:t?"pure":"global",copyright:"\xa9 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.44.0/LICENSE",source:"https://github.com/zloirock/core-js"})},"../../node_modules/core-js/internals/shared.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/shared-store.js");e.exports=function(e,n){return t[e]||(t[e]=n||{})}},"../../node_modules/core-js/internals/symbol-constructor-detection.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/environment-v8-version.js"),r=o("../../node_modules/core-js/internals/fails.js"),s=o("../../node_modules/core-js/internals/global-this.js").String;e.exports=!!Object.getOwnPropertySymbols&&!r(function(){var e=Symbol("symbol detection");return!s(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&t&&t<41})},"../../node_modules/core-js/internals/to-absolute-index.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/to-integer-or-infinity.js"),r=Math.max,s=Math.min;e.exports=function(e,n){var o=t(e);return o<0?r(o+n,0):s(o,n)}},"../../node_modules/core-js/internals/to-indexed-object.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/indexed-object.js"),r=o("../../node_modules/core-js/internals/require-object-coercible.js");e.exports=function(e){return t(r(e))}},"../../node_modules/core-js/internals/to-integer-or-infinity.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/math-trunc.js");e.exports=function(e){var n=+e;return n!=n||0===n?0:t(n)}},"../../node_modules/core-js/internals/to-length.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/to-integer-or-infinity.js"),r=Math.min;e.exports=function(e){var n=t(e);return n>0?r(n,0x1fffffffffffff):0}},"../../node_modules/core-js/internals/to-object.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/require-object-coercible.js"),r=Object;e.exports=function(e){return r(t(e))}},"../../node_modules/core-js/internals/to-primitive.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/function-call.js"),r=o("../../node_modules/core-js/internals/is-object.js"),s=o("../../node_modules/core-js/internals/is-symbol.js"),i=o("../../node_modules/core-js/internals/get-method.js"),l=o("../../node_modules/core-js/internals/ordinary-to-primitive.js"),u=o("../../node_modules/core-js/internals/well-known-symbol.js"),c=TypeError,a=u("toPrimitive");e.exports=function(e,n){if(!r(e)||s(e))return e;var o,u=i(e,a);if(u){if(void 0===n&&(n="default"),!r(o=t(u,e,n))||s(o))return o;throw new c("Can't convert object to primitive value")}return void 0===n&&(n="number"),l(e,n)}},"../../node_modules/core-js/internals/to-property-key.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/to-primitive.js"),r=o("../../node_modules/core-js/internals/is-symbol.js");e.exports=function(e){var n=t(e,"string");return r(n)?n:n+""}},"../../node_modules/core-js/internals/try-to-string.js":function(e){var n=String;e.exports=function(e){try{return n(e)}catch(e){return"Object"}}},"../../node_modules/core-js/internals/uid.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/function-uncurry-this.js"),r=0,s=Math.random(),i=t(1.1.toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+i(++r+s,36)}},"../../node_modules/core-js/internals/use-symbol-as-uid.js":function(e,n,o){e.exports=o("../../node_modules/core-js/internals/symbol-constructor-detection.js")&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},"../../node_modules/core-js/internals/v8-prototype-define-bug.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/descriptors.js"),r=o("../../node_modules/core-js/internals/fails.js");e.exports=t&&r(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},"../../node_modules/core-js/internals/weak-map-basic-detection.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/global-this.js"),r=o("../../node_modules/core-js/internals/is-callable.js"),s=t.WeakMap;e.exports=r(s)&&/native code/.test(String(s))},"../../node_modules/core-js/internals/well-known-symbol.js":function(e,n,o){var t=o("../../node_modules/core-js/internals/global-this.js"),r=o("../../node_modules/core-js/internals/shared.js"),s=o("../../node_modules/core-js/internals/has-own-property.js"),i=o("../../node_modules/core-js/internals/uid.js"),l=o("../../node_modules/core-js/internals/symbol-constructor-detection.js"),u=o("../../node_modules/core-js/internals/use-symbol-as-uid.js"),c=t.Symbol,a=r("wks"),d=u?c.for||c:c&&c.withoutSetter||i;e.exports=function(e){return s(a,e)||(a[e]=l&&s(c,e)?c[e]:d("Symbol."+e)),a[e]}},"../../node_modules/core-js/modules/es.object.has-own.js":function(e,n,o){o("../../node_modules/core-js/internals/export.js")({target:"Object",stat:!0},{hasOwn:o("../../node_modules/core-js/internals/has-own-property.js")})}},_={};function y(e){var n=_[e];if(void 0!==n)return n.exports;var o=_[e]={exports:{}};return p[e].call(o.exports,o,o.exports,y),o.exports}y.g=(()=>{if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}})(),y("../../node_modules/core-js/modules/es.object.has-own.js");let b=Symbol("AaaSPilotKitProvider");function v(e){let n=u(null),t=l(!1),s=l(!1),c=l(!1),d=l(!1),j=()=>{n.value||(t.value=!1,n.value=o(m(e)))},f=()=>{n.value&&!t.value&&(t.value=!0,n.value.dispose(),n.value=null,s.value=!1,c.value=!1,d.value=!1)};j();let p=null;return a(n,e=>{if(p&&(p(),p=null),null==e?void 0:e.emitter){let n=e.emitter,o=e=>{c.value=e},t=e=>{d.value=e},r=()=>{s.value=!0};if(!n.listenerCount||"function"!=typeof n.listenerCount)return void console.warn("Provider emitter is not fully initialized");n.on("mute",o),n.on("is_rendering_change",t),n.on("ready",r),p=()=>{n.off("mute",o),n.off("is_rendering_change",t),n.off("ready",r)}}},{immediate:!0}),r(()=>{p&&p(),f()}),{controller:i(n),isReady:i(s),isMuted:i(c),isRendering:i(d),dispose:f,create:j}}function h(e){let n=v(e);return s(b,n),n}function g(){let e=n(b);if(!e)throw Error("useAaaSPilotKit must be used within a component that provides AaaSPilotKit");return e}let w=()=>g(),x=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=w(),{onReady:o,onAsrStart:s,onAsrMessage:i,onRenderStart:l,onInactivity:u,onBusy:c,onInterrupt:d,onConversationChange:j,onIsRenderingChange:f,onReplyStart:m,onTtft:p}=e,_=null;a(n.controller,()=>{t().then(()=>{(()=>{_&&(_(),_=null);let e=n.controller.value;if(!(null==e?void 0:e.emitter))return;let t=e.emitter,r=()=>{null==o||o()},a=()=>{null==s||s()},y=e=>{null==i||i(e)},b=e=>{null==l||l(e)},v=e=>{null==u||u(e)},h=e=>{null==c||c(e)},g=e=>{null==d||d(e)},w=e=>{null==j||j(e)},x=e=>{null==f||f(e)},S=e=>{null==m||m(e)},O=e=>{null==p||p(e)};t.listenerCount&&"function"==typeof t.listenerCount?(t.on("ready",r),t.on("asr_start",a),t.on("asr_message",y),t.on("render_start",b),t.on("inactivity",v),t.on("busy",h),t.on("interrupt",g),t.on("conversation_change",w),t.on("is_rendering_change",x),t.on("reply_start",S),t.on("ttft",O),_=()=>{t.off("ready",r),t.off("asr_start",a),t.off("asr_message",y),t.off("render_start",b),t.off("inactivity",v),t.off("busy",h),t.off("interrupt",g),t.off("conversation_change",w),t.off("is_rendering_change",x),t.off("reply_start",S),t.off("ttft",O)}):console.warn("Emitter is not fully initialized")})()})},{immediate:!0}),r(()=>{_&&_()})},S="undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),O=new Uint8Array(16),P=[];for(let e=0;e<256;++e)P.push((e+256).toString(16).slice(1));let k=function(n,o,t){if(S&&!o&&!n)return S();var r=n,s=t;let i=(r=r||{}).random??r.rng?.()??function(){if(!e){if("undefined"==typeof crypto||!crypto.getRandomValues)throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");e=crypto.getRandomValues.bind(crypto)}return e(O)}();if(i.length<16)throw Error("Random bytes length must be >= 16");if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,o){if((s=s||0)<0||s+16>o.length)throw RangeError(`UUID byte range ${s}:${s+15} is out of buffer bounds`);for(let e=0;e<16;++e)o[s+e]=i[e];return o}return function(e,n=0){return(P[e[n+0]]+P[e[n+1]]+P[e[n+2]]+P[e[n+3]]+"-"+P[e[n+4]]+P[e[n+5]]+"-"+P[e[n+6]]+P[e[n+7]]+"-"+P[e[n+8]]+P[e[n+9]]+"-"+P[e[n+10]]+P[e[n+11]]+P[e[n+12]]+P[e[n+13]]+P[e[n+14]]+P[e[n+15]]).toLowerCase()}(i)};function E(e){let n=w(),o=l([]),t=[],s=null;return a(e,e=>{s&&s(),s=(e=>{let r;if(t=r=(e=>{let o=n.controller.value,t=null==o?void 0:o.conversationService;if(!e||!t)return[];let r=t.getUIState(e.id);if(r)return r.contents;if("client"===e.type)return[{uiId:k(),mod:"text",content:e.text,completed:!1}];if(e instanceof d){var s;if((null==(s=t.last)?void 0:s.id)===e.id)return[];if(e.contents.length>0){let n=t.buildSnapshotUIState(e);return t.setUIState(e.id,n),n.contents}}return[]})(e),o.value=r,!e)return null;let s=c(e),i=r=>{t=r,o.value=[...r];let s=n.controller.value,i=null==s?void 0:s.conversationService;e&&i&&i.setUIState(e.id,{contents:r,mode:"stream"})},l=e=>{let n=t[t.length-1],o=[];if(n)if(n.mod===e.mod){let r={...n,content:n.content+e.content,completed:e.completed};o=[...t.slice(0,t.length-1),r]}else{let n={...e,uiId:k()};o=[...t,n]}else o=[{...e,uiId:k()}];i(o)},u=e=>{let n=t[t.length-1],o=[];if(n)if(n.mod===e.mod){let r={...n,content:e.content,completed:e.completed};o=[...t.slice(0,t.length-1),r]}else{let n={...e,uiId:k()};o=[...t,n]}else o=[{...e,uiId:k()}];i(o)},a=null,j=(null==s?void 0:s.emitter)?c(s.emitter):null;if(!j)return console.warn("Conversation emitter is not available"),null;if(!j.on||"function"!=typeof j.on)return console.warn("Conversation emitter is not fully initialized"),null;try{s instanceof d?(j.on("content_change",l),a=()=>{j.off("content_change",l)}):(j.on("content_change",u),a=()=>{j.off("content_change",u)})}catch(e){return console.error("Error setting up emitter listeners:",e),null}return a})(null!=e?e:null)},{immediate:!0}),r(()=>{s&&s()}),{conversationContents:o}}function C(){let e=w(),n=l([]),o=null;return a(e.controller,()=>{t().then(()=>{(()=>{o&&(o(),o=null);let t=e.controller.value;if(!(null==t?void 0:t.emitter))return;let r=t.conversationService;r&&(n.value=[...r.beans]);let s=t.emitter,i=e=>{n.value=[...n.value,e]};s.listenerCount&&"function"==typeof s.listenerCount?(s.on("conversation_add",i),o=()=>{s.off("conversation_add",i)}):console.warn("Controller emitter is not fully initialized")})()})},{immediate:!0}),r(()=>{o&&o()}),{conversationList:n}}let I=(e,n)=>{let o=null;a(e,()=>{t().then(()=>{(()=>{o&&(o(),o=null);let t=e.value;if(!t||!(t instanceof d))return;let r=c(t),s=c(r.emitter);if(!s||"function"!=typeof s.on)return console.warn("[useConversationEnd] emitter 未正确初始化");let i=e=>{null==n||n(e)};s.on("conversation_end",i),o=()=>{s.off("conversation_end",i)}})()})},{immediate:!0}),r(()=>{o&&o()})};export{b as AaaSPilotKitProviderKey,j as BaseAgentService,f as Language,g as injectAaaSPilotKit,h as provideAaaSPilotKit,w as useAaaSPilotKit,x as useAaaSPilotKitEvents,v as useAaaSPilotKitProvider,E as useConversation,I as useConversationEnd,C as useConversationList};
@@ -1,2 +1,2 @@
1
1
  /*! For license information please see ky-aaas-pilot-kit-vue3.umd.js.LICENSE.txt */
2
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("@bdky/aaas-pilot-kit")):"function"==typeof define&&define.amd?define(["@bdky/aaas-pilot-kit"],t):"object"==typeof exports?exports.KyDigitalHumanVue3=t(require("@bdky/aaas-pilot-kit")):e.KyDigitalHumanVue3=t(e["@bdky/aaas-pilot-kit"])}(globalThis,e=>(()=>{"use strict";var t={"@bdky/aaas-pilot-kit":function(t){t.exports=e},"../../node_modules/core-js/internals/a-callable.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/is-callable.js"),o=n("../../node_modules/core-js/internals/try-to-string.js"),s=TypeError;e.exports=function(e){if(r(e))return e;throw new s(o(e)+" is not a function")}},"../../node_modules/core-js/internals/an-object.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/is-object.js"),o=String,s=TypeError;e.exports=function(e){if(r(e))return e;throw new s(o(e)+" is not an object")}},"../../node_modules/core-js/internals/array-includes.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/to-indexed-object.js"),o=n("../../node_modules/core-js/internals/to-absolute-index.js"),s=n("../../node_modules/core-js/internals/length-of-array-like.js"),l=function(e){return function(t,n,l){var i,u=r(t),a=s(u);if(0===a)return!e&&-1;var c=o(l,a);if(e&&n!=n){for(;a>c;)if((i=u[c++])!=i)return!0}else for(;a>c;c++)if((e||c in u)&&u[c]===n)return e||c||0;return!e&&-1}};e.exports={includes:l(!0),indexOf:l(!1)}},"../../node_modules/core-js/internals/classof-raw.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/function-uncurry-this.js"),o=r({}.toString),s=r("".slice);e.exports=function(e){return s(o(e),8,-1)}},"../../node_modules/core-js/internals/copy-constructor-properties.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/has-own-property.js"),o=n("../../node_modules/core-js/internals/own-keys.js"),s=n("../../node_modules/core-js/internals/object-get-own-property-descriptor.js"),l=n("../../node_modules/core-js/internals/object-define-property.js");e.exports=function(e,t,n){for(var i=o(t),u=l.f,a=s.f,c=0;c<i.length;c++){var d=i[c];r(e,d)||n&&r(n,d)||u(e,d,a(t,d))}}},"../../node_modules/core-js/internals/create-non-enumerable-property.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/descriptors.js"),o=n("../../node_modules/core-js/internals/object-define-property.js"),s=n("../../node_modules/core-js/internals/create-property-descriptor.js");e.exports=r?function(e,t,n){return o.f(e,t,s(1,n))}:function(e,t,n){return e[t]=n,e}},"../../node_modules/core-js/internals/create-property-descriptor.js":function(e){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"../../node_modules/core-js/internals/define-built-in.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/is-callable.js"),o=n("../../node_modules/core-js/internals/object-define-property.js"),s=n("../../node_modules/core-js/internals/make-built-in.js"),l=n("../../node_modules/core-js/internals/define-global-property.js");e.exports=function(e,t,n,i){i||(i={});var u=i.enumerable,a=void 0!==i.name?i.name:t;if(r(n)&&s(n,a,i),i.global)u?e[t]=n:l(t,n);else{try{i.unsafe?e[t]&&(u=!0):delete e[t]}catch(e){}u?e[t]=n:o.f(e,t,{value:n,enumerable:!1,configurable:!i.nonConfigurable,writable:!i.nonWritable})}return e}},"../../node_modules/core-js/internals/define-global-property.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/global-this.js"),o=Object.defineProperty;e.exports=function(e,t){try{o(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},"../../node_modules/core-js/internals/descriptors.js":function(e,t,n){e.exports=!n("../../node_modules/core-js/internals/fails.js")(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},"../../node_modules/core-js/internals/document-create-element.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/global-this.js"),o=n("../../node_modules/core-js/internals/is-object.js"),s=r.document,l=o(s)&&o(s.createElement);e.exports=function(e){return l?s.createElement(e):{}}},"../../node_modules/core-js/internals/enum-bug-keys.js":function(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"../../node_modules/core-js/internals/environment-user-agent.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/global-this.js").navigator,o=r&&r.userAgent;e.exports=o?String(o):""},"../../node_modules/core-js/internals/environment-v8-version.js":function(e,t,n){var r,o,s=n("../../node_modules/core-js/internals/global-this.js"),l=n("../../node_modules/core-js/internals/environment-user-agent.js"),i=s.process,u=s.Deno,a=i&&i.versions||u&&u.version,c=a&&a.v8;c&&(o=(r=c.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&l&&(!(r=l.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=l.match(/Chrome\/(\d+)/))&&(o=+r[1]),e.exports=o},"../../node_modules/core-js/internals/export.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/global-this.js"),o=n("../../node_modules/core-js/internals/object-get-own-property-descriptor.js").f,s=n("../../node_modules/core-js/internals/create-non-enumerable-property.js"),l=n("../../node_modules/core-js/internals/define-built-in.js"),i=n("../../node_modules/core-js/internals/define-global-property.js"),u=n("../../node_modules/core-js/internals/copy-constructor-properties.js"),a=n("../../node_modules/core-js/internals/is-forced.js");e.exports=function(e,t){var n,c,d,f,p,j=e.target,m=e.global,h=e.stat;if(n=m?r:h?r[j]||i(j,{}):r[j]&&r[j].prototype)for(c in t){if(f=t[c],d=e.dontCallGetSet?(p=o(n,c))&&p.value:n[c],!a(m?c:j+(h?".":"#")+c,e.forced)&&void 0!==d){if(typeof f==typeof d)continue;u(f,d)}(e.sham||d&&d.sham)&&s(f,"sham",!0),l(n,c,f,e)}}},"../../node_modules/core-js/internals/fails.js":function(e){e.exports=function(e){try{return!!e()}catch(e){return!0}}},"../../node_modules/core-js/internals/function-bind-native.js":function(e,t,n){e.exports=!n("../../node_modules/core-js/internals/fails.js")(function(){var e=(function(){}).bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})},"../../node_modules/core-js/internals/function-call.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/function-bind-native.js"),o=Function.prototype.call;e.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},"../../node_modules/core-js/internals/function-name.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/descriptors.js"),o=n("../../node_modules/core-js/internals/has-own-property.js"),s=Function.prototype,l=r&&Object.getOwnPropertyDescriptor,i=o(s,"name"),u=i&&(!r||r&&l(s,"name").configurable);e.exports={EXISTS:i,PROPER:i&&"something"===(function(){}).name,CONFIGURABLE:u}},"../../node_modules/core-js/internals/function-uncurry-this.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/function-bind-native.js"),o=Function.prototype,s=o.call,l=r&&o.bind.bind(s,s);e.exports=r?l:function(e){return function(){return s.apply(e,arguments)}}},"../../node_modules/core-js/internals/get-built-in.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/global-this.js"),o=n("../../node_modules/core-js/internals/is-callable.js");e.exports=function(e,t){var n;return arguments.length<2?o(n=r[e])?n:void 0:r[e]&&r[e][t]}},"../../node_modules/core-js/internals/get-method.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/a-callable.js"),o=n("../../node_modules/core-js/internals/is-null-or-undefined.js");e.exports=function(e,t){var n=e[t];return o(n)?void 0:r(n)}},"../../node_modules/core-js/internals/global-this.js":function(e,t,n){var r=function(e){return e&&e.Math===Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||r("object"==typeof this&&this)||function(){return this}()||Function("return this")()},"../../node_modules/core-js/internals/has-own-property.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/function-uncurry-this.js"),o=n("../../node_modules/core-js/internals/to-object.js"),s=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return s(o(e),t)}},"../../node_modules/core-js/internals/hidden-keys.js":function(e){e.exports={}},"../../node_modules/core-js/internals/ie8-dom-define.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/descriptors.js"),o=n("../../node_modules/core-js/internals/fails.js"),s=n("../../node_modules/core-js/internals/document-create-element.js");e.exports=!r&&!o(function(){return 7!==Object.defineProperty(s("div"),"a",{get:function(){return 7}}).a})},"../../node_modules/core-js/internals/indexed-object.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/function-uncurry-this.js"),o=n("../../node_modules/core-js/internals/fails.js"),s=n("../../node_modules/core-js/internals/classof-raw.js"),l=Object,i=r("".split);e.exports=o(function(){return!l("z").propertyIsEnumerable(0)})?function(e){return"String"===s(e)?i(e,""):l(e)}:l},"../../node_modules/core-js/internals/inspect-source.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/function-uncurry-this.js"),o=n("../../node_modules/core-js/internals/is-callable.js"),s=n("../../node_modules/core-js/internals/shared-store.js"),l=r(Function.toString);o(s.inspectSource)||(s.inspectSource=function(e){return l(e)}),e.exports=s.inspectSource},"../../node_modules/core-js/internals/internal-state.js":function(e,t,n){var r,o,s,l=n("../../node_modules/core-js/internals/weak-map-basic-detection.js"),i=n("../../node_modules/core-js/internals/global-this.js"),u=n("../../node_modules/core-js/internals/is-object.js"),a=n("../../node_modules/core-js/internals/create-non-enumerable-property.js"),c=n("../../node_modules/core-js/internals/has-own-property.js"),d=n("../../node_modules/core-js/internals/shared-store.js"),f=n("../../node_modules/core-js/internals/shared-key.js"),p=n("../../node_modules/core-js/internals/hidden-keys.js"),j="Object already initialized",m=i.TypeError,h=i.WeakMap;if(l||d.state){var _=d.state||(d.state=new h);_.get=_.get,_.has=_.has,_.set=_.set,r=function(e,t){if(_.has(e))throw new m(j);return t.facade=e,_.set(e,t),t},o=function(e){return _.get(e)||{}},s=function(e){return _.has(e)}}else{var v=f("state");p[v]=!0,r=function(e,t){if(c(e,v))throw new m(j);return t.facade=e,a(e,v,t),t},o=function(e){return c(e,v)?e[v]:{}},s=function(e){return c(e,v)}}e.exports={set:r,get:o,has:s,enforce:function(e){return s(e)?o(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!u(t)||(n=o(t)).type!==e)throw new m("Incompatible receiver, "+e+" required");return n}}}},"../../node_modules/core-js/internals/is-callable.js":function(e){var t="object"==typeof document&&document.all;e.exports=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},"../../node_modules/core-js/internals/is-forced.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/fails.js"),o=n("../../node_modules/core-js/internals/is-callable.js"),s=/#|\.prototype\./,l=function(e,t){var n=u[i(e)];return n===c||n!==a&&(o(t)?r(t):!!t)},i=l.normalize=function(e){return String(e).replace(s,".").toLowerCase()},u=l.data={},a=l.NATIVE="N",c=l.POLYFILL="P";e.exports=l},"../../node_modules/core-js/internals/is-null-or-undefined.js":function(e){e.exports=function(e){return null==e}},"../../node_modules/core-js/internals/is-object.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/is-callable.js");e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},"../../node_modules/core-js/internals/is-pure.js":function(e){e.exports=!1},"../../node_modules/core-js/internals/is-symbol.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/get-built-in.js"),o=n("../../node_modules/core-js/internals/is-callable.js"),s=n("../../node_modules/core-js/internals/object-is-prototype-of.js"),l=n("../../node_modules/core-js/internals/use-symbol-as-uid.js"),i=Object;e.exports=l?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return o(t)&&s(t.prototype,i(e))}},"../../node_modules/core-js/internals/length-of-array-like.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/to-length.js");e.exports=function(e){return r(e.length)}},"../../node_modules/core-js/internals/make-built-in.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/function-uncurry-this.js"),o=n("../../node_modules/core-js/internals/fails.js"),s=n("../../node_modules/core-js/internals/is-callable.js"),l=n("../../node_modules/core-js/internals/has-own-property.js"),i=n("../../node_modules/core-js/internals/descriptors.js"),u=n("../../node_modules/core-js/internals/function-name.js").CONFIGURABLE,a=n("../../node_modules/core-js/internals/inspect-source.js"),c=n("../../node_modules/core-js/internals/internal-state.js"),d=c.enforce,f=c.get,p=String,j=Object.defineProperty,m=r("".slice),h=r("".replace),_=r([].join),v=i&&!o(function(){return 8!==j(function(){},"length",{value:8}).length}),y=String(String).split("String"),b=e.exports=function(e,t,n){"Symbol("===m(p(t),0,7)&&(t="["+h(p(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!l(e,"name")||u&&e.name!==t)&&(i?j(e,"name",{value:t,configurable:!0}):e.name=t),v&&n&&l(n,"arity")&&e.length!==n.arity&&j(e,"length",{value:n.arity});try{n&&l(n,"constructor")&&n.constructor?i&&j(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=d(e);return l(r,"source")||(r.source=_(y,"string"==typeof t?t:"")),e};Function.prototype.toString=b(function(){return s(this)&&f(this).source||a(this)},"toString")},"../../node_modules/core-js/internals/math-trunc.js":function(e){var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?n:t)(r)}},"../../node_modules/core-js/internals/object-define-property.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/descriptors.js"),o=n("../../node_modules/core-js/internals/ie8-dom-define.js"),s=n("../../node_modules/core-js/internals/v8-prototype-define-bug.js"),l=n("../../node_modules/core-js/internals/an-object.js"),i=n("../../node_modules/core-js/internals/to-property-key.js"),u=TypeError,a=Object.defineProperty,c=Object.getOwnPropertyDescriptor,d="enumerable",f="configurable",p="writable";t.f=r?s?function(e,t,n){if(l(e),t=i(t),l(n),"function"==typeof e&&"prototype"===t&&"value"in n&&p in n&&!n[p]){var r=c(e,t);r&&r[p]&&(e[t]=n.value,n={configurable:f in n?n[f]:r[f],enumerable:d in n?n[d]:r[d],writable:!1})}return a(e,t,n)}:a:function(e,t,n){if(l(e),t=i(t),l(n),o)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw new u("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},"../../node_modules/core-js/internals/object-get-own-property-descriptor.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/descriptors.js"),o=n("../../node_modules/core-js/internals/function-call.js"),s=n("../../node_modules/core-js/internals/object-property-is-enumerable.js"),l=n("../../node_modules/core-js/internals/create-property-descriptor.js"),i=n("../../node_modules/core-js/internals/to-indexed-object.js"),u=n("../../node_modules/core-js/internals/to-property-key.js"),a=n("../../node_modules/core-js/internals/has-own-property.js"),c=n("../../node_modules/core-js/internals/ie8-dom-define.js"),d=Object.getOwnPropertyDescriptor;t.f=r?d:function(e,t){if(e=i(e),t=u(t),c)try{return d(e,t)}catch(e){}if(a(e,t))return l(!o(s.f,e,t),e[t])}},"../../node_modules/core-js/internals/object-get-own-property-names.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/object-keys-internal.js"),o=n("../../node_modules/core-js/internals/enum-bug-keys.js").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},"../../node_modules/core-js/internals/object-get-own-property-symbols.js":function(e,t){t.f=Object.getOwnPropertySymbols},"../../node_modules/core-js/internals/object-is-prototype-of.js":function(e,t,n){e.exports=n("../../node_modules/core-js/internals/function-uncurry-this.js")({}.isPrototypeOf)},"../../node_modules/core-js/internals/object-keys-internal.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/function-uncurry-this.js"),o=n("../../node_modules/core-js/internals/has-own-property.js"),s=n("../../node_modules/core-js/internals/to-indexed-object.js"),l=n("../../node_modules/core-js/internals/array-includes.js").indexOf,i=n("../../node_modules/core-js/internals/hidden-keys.js"),u=r([].push);e.exports=function(e,t){var n,r=s(e),a=0,c=[];for(n in r)!o(i,n)&&o(r,n)&&u(c,n);for(;t.length>a;)o(r,n=t[a++])&&(~l(c,n)||u(c,n));return c}},"../../node_modules/core-js/internals/object-property-is-enumerable.js":function(e,t){var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor;t.f=r&&!n.call({1:2},1)?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},"../../node_modules/core-js/internals/ordinary-to-primitive.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/function-call.js"),o=n("../../node_modules/core-js/internals/is-callable.js"),s=n("../../node_modules/core-js/internals/is-object.js"),l=TypeError;e.exports=function(e,t){var n,i;if("string"===t&&o(n=e.toString)&&!s(i=r(n,e))||o(n=e.valueOf)&&!s(i=r(n,e))||"string"!==t&&o(n=e.toString)&&!s(i=r(n,e)))return i;throw new l("Can't convert object to primitive value")}},"../../node_modules/core-js/internals/own-keys.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/get-built-in.js"),o=n("../../node_modules/core-js/internals/function-uncurry-this.js"),s=n("../../node_modules/core-js/internals/object-get-own-property-names.js"),l=n("../../node_modules/core-js/internals/object-get-own-property-symbols.js"),i=n("../../node_modules/core-js/internals/an-object.js"),u=o([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=s.f(i(e)),n=l.f;return n?u(t,n(e)):t}},"../../node_modules/core-js/internals/require-object-coercible.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/is-null-or-undefined.js"),o=TypeError;e.exports=function(e){if(r(e))throw new o("Can't call method on "+e);return e}},"../../node_modules/core-js/internals/shared-key.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/shared.js"),o=n("../../node_modules/core-js/internals/uid.js"),s=r("keys");e.exports=function(e){return s[e]||(s[e]=o(e))}},"../../node_modules/core-js/internals/shared-store.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/is-pure.js"),o=n("../../node_modules/core-js/internals/global-this.js"),s=n("../../node_modules/core-js/internals/define-global-property.js"),l="__core-js_shared__",i=e.exports=o[l]||s(l,{});(i.versions||(i.versions=[])).push({version:"3.44.0",mode:r?"pure":"global",copyright:"\xa9 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.44.0/LICENSE",source:"https://github.com/zloirock/core-js"})},"../../node_modules/core-js/internals/shared.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/shared-store.js");e.exports=function(e,t){return r[e]||(r[e]=t||{})}},"../../node_modules/core-js/internals/symbol-constructor-detection.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/environment-v8-version.js"),o=n("../../node_modules/core-js/internals/fails.js"),s=n("../../node_modules/core-js/internals/global-this.js").String;e.exports=!!Object.getOwnPropertySymbols&&!o(function(){var e=Symbol("symbol detection");return!s(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41})},"../../node_modules/core-js/internals/to-absolute-index.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/to-integer-or-infinity.js"),o=Math.max,s=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):s(n,t)}},"../../node_modules/core-js/internals/to-indexed-object.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/indexed-object.js"),o=n("../../node_modules/core-js/internals/require-object-coercible.js");e.exports=function(e){return r(o(e))}},"../../node_modules/core-js/internals/to-integer-or-infinity.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/math-trunc.js");e.exports=function(e){var t=+e;return t!=t||0===t?0:r(t)}},"../../node_modules/core-js/internals/to-length.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/to-integer-or-infinity.js"),o=Math.min;e.exports=function(e){var t=r(e);return t>0?o(t,0x1fffffffffffff):0}},"../../node_modules/core-js/internals/to-object.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/require-object-coercible.js"),o=Object;e.exports=function(e){return o(r(e))}},"../../node_modules/core-js/internals/to-primitive.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/function-call.js"),o=n("../../node_modules/core-js/internals/is-object.js"),s=n("../../node_modules/core-js/internals/is-symbol.js"),l=n("../../node_modules/core-js/internals/get-method.js"),i=n("../../node_modules/core-js/internals/ordinary-to-primitive.js"),u=n("../../node_modules/core-js/internals/well-known-symbol.js"),a=TypeError,c=u("toPrimitive");e.exports=function(e,t){if(!o(e)||s(e))return e;var n,u=l(e,c);if(u){if(void 0===t&&(t="default"),!o(n=r(u,e,t))||s(n))return n;throw new a("Can't convert object to primitive value")}return void 0===t&&(t="number"),i(e,t)}},"../../node_modules/core-js/internals/to-property-key.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/to-primitive.js"),o=n("../../node_modules/core-js/internals/is-symbol.js");e.exports=function(e){var t=r(e,"string");return o(t)?t:t+""}},"../../node_modules/core-js/internals/try-to-string.js":function(e){var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},"../../node_modules/core-js/internals/uid.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/function-uncurry-this.js"),o=0,s=Math.random(),l=r(1.1.toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+l(++o+s,36)}},"../../node_modules/core-js/internals/use-symbol-as-uid.js":function(e,t,n){e.exports=n("../../node_modules/core-js/internals/symbol-constructor-detection.js")&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},"../../node_modules/core-js/internals/v8-prototype-define-bug.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/descriptors.js"),o=n("../../node_modules/core-js/internals/fails.js");e.exports=r&&o(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},"../../node_modules/core-js/internals/weak-map-basic-detection.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/global-this.js"),o=n("../../node_modules/core-js/internals/is-callable.js"),s=r.WeakMap;e.exports=o(s)&&/native code/.test(String(s))},"../../node_modules/core-js/internals/well-known-symbol.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/global-this.js"),o=n("../../node_modules/core-js/internals/shared.js"),s=n("../../node_modules/core-js/internals/has-own-property.js"),l=n("../../node_modules/core-js/internals/uid.js"),i=n("../../node_modules/core-js/internals/symbol-constructor-detection.js"),u=n("../../node_modules/core-js/internals/use-symbol-as-uid.js"),a=r.Symbol,c=o("wks"),d=u?a.for||a:a&&a.withoutSetter||l;e.exports=function(e){return s(c,e)||(c[e]=i&&s(a,e)?a[e]:d("Symbol."+e)),c[e]}},"../../node_modules/core-js/modules/es.object.has-own.js":function(e,t,n){n("../../node_modules/core-js/internals/export.js")({target:"Object",stat:!0},{hasOwn:n("../../node_modules/core-js/internals/has-own-property.js")})}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var s=n[e]={exports:{}};return t[e].call(s.exports,s,s.exports,r),s.exports}r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=(()=>{if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}})(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};return(()=>{let e,t,n,s,l,i,u,a,c;function d(e){let t=Object.create(null);for(let n of e.split(","))t[n]=1;return e=>e in t}r.r(o),r.d(o,{useAaaSPilotKit:()=>t3,injectAaaSPilotKit:()=>t8,Language:()=>t1.Language,useAaaSPilotKitProvider:()=>t4,provideAaaSPilotKit:()=>t6,useConversationList:()=>nr,AaaSPilotKitProviderKey:()=>t2,useAaaSPilotKitEvents:()=>t5,useConversationEnd:()=>no,useConversation:()=>nn,BaseAgentService:()=>t1.BaseAgentService}),r("../../node_modules/core-js/modules/es.object.has-own.js");let f={},p=()=>{},j=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||97>e.charCodeAt(2)),m=Object.assign,h=(e,t)=>{let n=e.indexOf(t);n>-1&&e.splice(n,1)},_=Object.prototype.hasOwnProperty,v=Array.isArray,y=e=>"function"==typeof e,b=e=>"string"==typeof e,g=e=>"symbol"==typeof e,w=e=>null!==e&&"object"==typeof e,x=Object.prototype.toString,S=e=>b(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,k=d(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),O=e=>{let t=Object.create(null);return n=>t[n]||(t[n]=e(n))},P=/-\w/g,C=O(e=>e.replace(P,e=>e.slice(1).toUpperCase())),E=/\B([A-Z])/g,R=O(e=>e.replace(E,"-$1").toLowerCase()),T=O(e=>e.charAt(0).toUpperCase()+e.slice(1)),A=O(e=>e?`on${T(e)}`:""),I=()=>e||(e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==r.g?r.g:{});function D(e){if(v(e)){let t={};for(let n=0;n<e.length;n++){let r=e[n],o=b(r)?function(e){let t={};return e.replace(F,"").split(M).forEach(e=>{if(e){let n=e.split(L);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}(r):D(r);if(o)for(let e in o)t[e]=o[e]}return t}if(b(e)||w(e))return e}let M=/;(?![^(]*\))/g,L=/:([^]+)/,F=/\/\*[^]*?\*\//g;function V(e){let t="";if(b(e))t=e;else if(v(e))for(let n=0;n<e.length;n++){let r=V(e[n]);r&&(t+=r+" ")}else if(w(e))for(let n in e)e[n]&&(t+=n+" ");return t.trim()}let $=new WeakSet;class U{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,t&&t.active&&t.effects.push(this)}pause(){this.flags|=64}resume(){64&this.flags&&(this.flags&=-65,$.has(this)&&($.delete(this),this.trigger()))}notify(){(!(2&this.flags)||32&this.flags)&&(8&this.flags||N(this))}run(){if(!(1&this.flags))return this.fn();this.flags|=2,Q(this),z(this);let e=n,t=J;n=this,J=!0;try{return this.fn()}finally{B(this),n=e,J=t,this.flags&=-3}}stop(){if(1&this.flags){for(let e=this.deps;e;e=e.nextDep)G(e);this.deps=this.depsTail=void 0,Q(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){64&this.flags?$.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){q(this)&&this.run()}get dirty(){return q(this)}}let K=0;function N(e,t=!1){if(e.flags|=8,t){e.next=l,l=e;return}e.next=s,s=e}function W(){let e;if(!(--K>0)){if(l){let e=l;for(l=void 0;e;){let t=e.next;e.next=void 0,e.flags&=-9,e=t}}for(;s;){let t=s;for(s=void 0;t;){let n=t.next;if(t.next=void 0,t.flags&=-9,1&t.flags)try{t.trigger()}catch(t){e||(e=t)}t=n}}if(e)throw e}}function z(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function B(e){let t,n=e.depsTail,r=n;for(;r;){let e=r.prevDep;-1===r.version?(r===n&&(n=e),G(r),function(e){let{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=e}e.deps=t,e.depsTail=n}function q(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(H(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function H(e){if(4&e.flags&&!(16&e.flags)||(e.flags&=-17,e.globalVersion===ee)||(e.globalVersion=ee,!e.isSSR&&128&e.flags&&(!e.deps&&!e._dirty||!q(e))))return;e.flags|=2;let t=e.dep,r=n,o=J;n=e,J=!0;try{let n;z(e);let r=e.fn(e._value);(0===t.version||(n=e._value,!Object.is(r,n)))&&(e.flags|=128,e._value=r,t.version++)}catch(e){throw t.version++,e}finally{n=r,J=o,B(e),e.flags&=-3}}function G(e,t=!1){let{dep:n,prevSub:r,nextSub:o}=e;if(r&&(r.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let e=n.computed.deps;e;e=e.nextDep)G(e,!0)}t||--n.sc||!n.map||n.map.delete(n.key)}let J=!0,X=[];function Y(){X.push(J),J=!1}function Z(){let e=X.pop();J=void 0===e||e}function Q(e){let{cleanup:t}=e;if(e.cleanup=void 0,t){let e=n;n=void 0;try{t()}finally{n=e}}}let ee=0;class et{constructor(e,t){this.sub=e,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class en{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(e){if(!n||!J||n===this.computed)return;let t=this.activeLink;if(void 0===t||t.sub!==n)t=this.activeLink=new et(n,this),n.deps?(t.prevDep=n.depsTail,n.depsTail.nextDep=t,n.depsTail=t):n.deps=n.depsTail=t,function e(t){if(t.dep.sc++,4&t.sub.flags){let n=t.dep.computed;if(n&&!t.dep.subs){n.flags|=20;for(let t=n.deps;t;t=t.nextDep)e(t)}let r=t.dep.subs;r!==t&&(t.prevSub=r,r&&(r.nextSub=t)),t.dep.subs=t}}(t);else if(-1===t.version&&(t.version=this.version,t.nextDep)){let e=t.nextDep;e.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=e),t.prevDep=n.depsTail,t.nextDep=void 0,n.depsTail.nextDep=t,n.depsTail=t,n.deps===t&&(n.deps=e)}return t}trigger(e){this.version++,ee++,this.notify(e)}notify(e){K++;try{for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{W()}}}let er=new WeakMap,eo=Symbol(""),es=Symbol(""),el=Symbol("");function ei(e,t,r){if(J&&n){let t=er.get(e);t||er.set(e,t=new Map);let n=t.get(r);n||(t.set(r,n=new en),n.map=t,n.key=r),n.track()}}function eu(e,t,n,r,o,s){let l=er.get(e);if(!l)return void ee++;let i=e=>{e&&e.trigger()};if(K++,"clear"===t)l.forEach(i);else{let o=v(e),s=o&&S(n);if(o&&"length"===n){let e=Number(r);l.forEach((t,n)=>{("length"===n||n===el||!g(n)&&n>=e)&&i(t)})}else switch((void 0!==n||l.has(void 0))&&i(l.get(n)),s&&i(l.get(el)),t){case"add":if(o)s&&i(l.get("length"));else{let t;i(l.get(eo));"[object Map]"===(t=e,x.call(t))&&i(l.get(es))}break;case"delete":if(!o){let t;i(l.get(eo));"[object Map]"===(t=e,x.call(t))&&i(l.get(es))}break;case"set":let u;"[object Map]"===(u=e,x.call(u))&&i(l.get(eo))}}W()}function ea(e){let t=eK(e);return t===e?t:(ei(t,"iterate",el),e$(e)?t:t.map(eW))}function ec(e){return ei(e=eK(e),"iterate",el),e}let ed={__proto__:null,[Symbol.iterator](){return ef(this,Symbol.iterator,eW)},concat(...e){return ea(this).concat(...e.map(e=>v(e)?ea(e):e))},entries(){return ef(this,"entries",e=>(e[1]=eW(e[1]),e))},every(e,t){return ej(this,"every",e,t,void 0,arguments)},filter(e,t){return ej(this,"filter",e,t,e=>e.map(eW),arguments)},find(e,t){return ej(this,"find",e,t,eW,arguments)},findIndex(e,t){return ej(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return ej(this,"findLast",e,t,eW,arguments)},findLastIndex(e,t){return ej(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return ej(this,"forEach",e,t,void 0,arguments)},includes(...e){return eh(this,"includes",e)},indexOf(...e){return eh(this,"indexOf",e)},join(e){return ea(this).join(e)},lastIndexOf(...e){return eh(this,"lastIndexOf",e)},map(e,t){return ej(this,"map",e,t,void 0,arguments)},pop(){return e_(this,"pop")},push(...e){return e_(this,"push",e)},reduce(e,...t){return em(this,"reduce",e,t)},reduceRight(e,...t){return em(this,"reduceRight",e,t)},shift(){return e_(this,"shift")},some(e,t){return ej(this,"some",e,t,void 0,arguments)},splice(...e){return e_(this,"splice",e)},toReversed(){return ea(this).toReversed()},toSorted(e){return ea(this).toSorted(e)},toSpliced(...e){return ea(this).toSpliced(...e)},unshift(...e){return e_(this,"unshift",e)},values(){return ef(this,"values",eW)}};function ef(e,t,n){let r=ec(e),o=r[t]();return r===e||e$(e)||(o._next=o.next,o.next=()=>{let e=o._next();return e.done||(e.value=n(e.value)),e}),o}let ep=Array.prototype;function ej(e,t,n,r,o,s){let l=ec(e),i=l!==e&&!e$(e),u=l[t];if(u!==ep[t]){let t=u.apply(e,s);return i?eW(t):t}let a=n;l!==e&&(i?a=function(t,r){return n.call(this,eW(t),r,e)}:n.length>2&&(a=function(t,r){return n.call(this,t,r,e)}));let c=u.call(l,a,r);return i&&o?o(c):c}function em(e,t,n,r){let o=ec(e),s=n;return o!==e&&(e$(e)?n.length>3&&(s=function(t,r,o){return n.call(this,t,r,o,e)}):s=function(t,r,o){return n.call(this,t,eW(r),o,e)}),o[t](s,...r)}function eh(e,t,n){let r=eK(e);ei(r,"iterate",el);let o=r[t](...n);return(-1===o||!1===o)&&eU(n[0])?(n[0]=eK(n[0]),r[t](...n)):o}function e_(e,t,n=[]){Y(),K++;let r=eK(e)[t].apply(e,n);return W(),Z(),r}let ev=d("__proto__,__v_isRef,__isVue"),ey=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>"arguments"!==e&&"caller"!==e).map(e=>Symbol[e]).filter(g));function eb(e){g(e)||(e=String(e));let t=eK(this);return ei(t,"has",e),t.hasOwnProperty(e)}class eg{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){if("__v_skip"===t)return e.__v_skip;let r=this._isReadonly,o=this._isShallow;if("__v_isReactive"===t)return!r;if("__v_isReadonly"===t)return r;if("__v_isShallow"===t)return o;if("__v_raw"===t)return n===(r?o?eI:eA:o?eT:eR).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;let s=v(e);if(!r){let e;if(s&&(e=ed[t]))return e;if("hasOwnProperty"===t)return eb}let l=Reflect.get(e,t,eB(e)?e:n);if((g(t)?ey.has(t):ev(t))||(r||ei(e,"get",t),o))return l;if(eB(l)){let e=s&&S(t)?l:l.value;return r&&w(e)?eM(e):e}return w(l)?r?eM(l):eD(l):l}}class ew extends eg{constructor(e=!1){super(!1,e)}set(e,t,n,r){let o,s,l=e[t];if(!this._isShallow){let t=eV(l);if(e$(n)||eV(n)||(l=eK(l),n=eK(n)),!v(e)&&eB(l)&&!eB(n))if(t)return!0;else return l.value=n,!0}let i=v(e)&&S(t)?Number(t)<e.length:(o=e,s=t,_.call(o,s)),u=Reflect.set(e,t,n,eB(e)?e:r);return e===eK(r)&&(i?Object.is(n,l)||eu(e,"set",t,n,l):eu(e,"add",t,n)),u}deleteProperty(e,t){let n,r,o=(n=e,r=t,_.call(n,r)),s=e[t],l=Reflect.deleteProperty(e,t);return l&&o&&eu(e,"delete",t,void 0,s),l}has(e,t){let n=Reflect.has(e,t);return g(t)&&ey.has(t)||ei(e,"has",t),n}ownKeys(e){return ei(e,"iterate",v(e)?"length":eo),Reflect.ownKeys(e)}}let ex=new ew,eS=new class extends eg{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}},ek=e=>e;function eO(e){return function(){return"delete"!==e&&("clear"===e?void 0:this)}}function eP(e,t){let n,r=(m(n={get(n){let r=this.__v_raw,o=eK(r),s=eK(n);e||(Object.is(n,s)||ei(o,"get",n),ei(o,"get",s));let{has:l}=Reflect.getPrototypeOf(o),i=t?ek:e?ez:eW;return l.call(o,n)?i(r.get(n)):l.call(o,s)?i(r.get(s)):void(r!==o&&r.get(n))},get size(){let t=this.__v_raw;return e||ei(eK(t),"iterate",eo),t.size},has(t){let n=this.__v_raw,r=eK(n),o=eK(t);return e||(Object.is(t,o)||ei(r,"has",t),ei(r,"has",o)),t===o?n.has(t):n.has(t)||n.has(o)},forEach(n,r){let o=this,s=o.__v_raw,l=eK(s),i=t?ek:e?ez:eW;return e||ei(l,"iterate",eo),s.forEach((e,t)=>n.call(r,i(e),i(t),o))}},e?{add:eO("add"),set:eO("set"),delete:eO("delete"),clear:eO("clear")}:{add(e){t||e$(e)||eV(e)||(e=eK(e));let n=eK(this);return Reflect.getPrototypeOf(n).has.call(n,e)||(n.add(e),eu(n,"add",e,e)),this},set(e,n){t||e$(n)||eV(n)||(n=eK(n));let r=eK(this),{has:o,get:s}=Reflect.getPrototypeOf(r),l=o.call(r,e);l||(e=eK(e),l=o.call(r,e));let i=s.call(r,e);return(r.set(e,n),l)?Object.is(n,i)||eu(r,"set",e,n,i):eu(r,"add",e,n),this},delete(e){let t=eK(this),{has:n,get:r}=Reflect.getPrototypeOf(t),o=n.call(t,e);o||(e=eK(e),o=n.call(t,e));let s=r?r.call(t,e):void 0,l=t.delete(e);return o&&eu(t,"delete",e,void 0,s),l},clear(){let e=eK(this),t=0!==e.size,n=e.clear();return t&&eu(e,"clear",void 0,void 0,void 0),n}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=function(...n){let o,s=this.__v_raw,l=eK(s),i="[object Map]"===(o=l,x.call(o)),u="entries"===r||r===Symbol.iterator&&i,a=s[r](...n),c=t?ek:e?ez:eW;return e||ei(l,"iterate","keys"===r&&i?es:eo),{next(){let{value:e,done:t}=a.next();return t?{value:e,done:t}:{value:u?[c(e[0]),c(e[1])]:c(e),done:t}},[Symbol.iterator](){return this}}}}),n);return(t,n,o)=>{let s,l;if("__v_isReactive"===n)return!e;if("__v_isReadonly"===n)return e;if("__v_raw"===n)return t;return Reflect.get((s=r,l=n,_.call(s,l)&&n in t)?r:t,n,o)}}let eC={get:eP(!1,!1)},eE={get:eP(!0,!1)},eR=new WeakMap,eT=new WeakMap,eA=new WeakMap,eI=new WeakMap;function eD(e){return eV(e)?e:eL(e,!1,ex,eC,eR)}function eM(e){return eL(e,!0,eS,eE,eA)}function eL(e,t,n,r,o){var s;let l;if(!w(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;let i=(s=e).__v_skip||!Object.isExtensible(s)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((l=s,x.call(l)).slice(8,-1));if(0===i)return e;let u=o.get(e);if(u)return u;let a=new Proxy(e,2===i?r:n);return o.set(e,a),a}function eF(e){return eV(e)?eF(e.__v_raw):!!(e&&e.__v_isReactive)}function eV(e){return!!(e&&e.__v_isReadonly)}function e$(e){return!!(e&&e.__v_isShallow)}function eU(e){return!!e&&!!e.__v_raw}function eK(e){let t=e&&e.__v_raw;return t?eK(t):e}function eN(e){let t,n;return t=e,n="__v_skip",!_.call(t,n)&&Object.isExtensible(e)&&((e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})})(e,"__v_skip",!0),e}let eW=e=>w(e)?eD(e):e,ez=e=>w(e)?eM(e):e;function eB(e){return!!e&&!0===e.__v_isRef}function eq(e){return eH(e,!1)}function eH(e,t){return eB(e)?e:new eG(e,t)}class eG{constructor(e,t){this.dep=new en,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:eK(e),this._value=t?e:eW(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){let t=this._rawValue,n=this.__v_isShallow||e$(e)||eV(e);Object.is(e=n?e:eK(e),t)||(this._rawValue=e,this._value=n?e:eW(e),this.dep.trigger())}}let eJ={get:(e,t,n)=>{var r;return"__v_raw"===t?e:eB(r=Reflect.get(e,t,n))?r.value:r},set:(e,t,n,r)=>{let o=e[t];return eB(o)&&!eB(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function eX(e){return eF(e)?e:new Proxy(e,eJ)}let eY={},eZ=new WeakMap;function eQ(e,t=1/0,n){if(t<=0||!w(e)||e.__v_skip||((n=n||new Map).get(e)||0)>=t)return e;if(n.set(e,t),t--,eB(e))eQ(e.value,t,n);else if(v(e))for(let r=0;r<e.length;r++)eQ(e[r],t,n);else{let r,o;if("[object Set]"===(r=e,x.call(r))||"[object Map]"===(o=e,x.call(o)))e.forEach(e=>{eQ(e,t,n)});else{let r;if("[object Object]"===(r=e,x.call(r))){for(let r in e)eQ(e[r],t,n);for(let r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&eQ(e[r],t,n)}}}return e}function e0(e,t,n,r){try{return r?e(...r):e()}catch(e){e2(e,t,n)}}function e1(e,t,n,r){if(y(e)){let o,s=e0(e,t,n,r);return s&&(w(o=s)||y(o))&&y(o.then)&&y(o.catch)&&s.catch(e=>{e2(e,t,n)}),s}if(v(e)){let o=[];for(let s=0;s<e.length;s++)o.push(e1(e[s],t,n,r));return o}}function e2(e,t,n,r=!0){let o=t?t.vnode:null,{errorHandler:s,throwUnhandledErrorInProduction:l}=t&&t.appContext.config||f;if(t){let r=t.parent,o=t.proxy,l=`https://vuejs.org/error-reference/#runtime-${n}`;for(;r;){let t=r.ec;if(t){for(let n=0;n<t.length;n++)if(!1===t[n](e,o,l))return}r=r.parent}if(s){Y(),e0(s,null,10,[e,o,l]),Z();return}}!function(e,t,n,r=!0,o=!1){if(o)throw e;console.error(e)}(e,0,0,r,l)}let e4=[],e6=-1,e8=[],e3=null,e5=0,e7=Promise.resolve(),e9=null;function te(e){let t=e9||e7;return e?t.then(this?e.bind(this):e):t}function tt(e){if(!(1&e.flags)){let t=tr(e),n=e4[e4.length-1];!n||!(2&e.flags)&&t>=tr(n)?e4.push(e):e4.splice(function(e){let t=e6+1,n=e4.length;for(;t<n;){let r=t+n>>>1,o=e4[r],s=tr(o);s<e||s===e&&2&o.flags?t=r+1:n=r}return t}(t),0,e),e.flags|=1,tn()}}function tn(){e9||(e9=e7.then(function e(t){try{for(e6=0;e6<e4.length;e6++){let e=e4[e6];e&&!(8&e.flags)&&(4&e.flags&&(e.flags&=-2),e0(e,e.i,e.i?15:14),4&e.flags||(e.flags&=-2))}}finally{for(;e6<e4.length;e6++){let e=e4[e6];e&&(e.flags&=-2)}e6=-1,e4.length=0,function(e){if(e8.length){let e=[...new Set(e8)].sort((e,t)=>tr(e)-tr(t));if(e8.length=0,e3)return e3.push(...e);for(e5=0,e3=e;e5<e3.length;e5++){let e=e3[e5];4&e.flags&&(e.flags&=-2),8&e.flags||e(),e.flags&=-2}e3=null,e5=0}}(0),e9=null,(e4.length||e8.length)&&e(t)}}))}let tr=e=>null==e.id?2&e.flags?-1:1/0:e.id,to=null,ts=null;Symbol("_vte"),Symbol("_leaveCb"),Symbol("_enterCb");I().requestIdleCallback||(e=>setTimeout(e,1)),I().cancelIdleCallback||(e=>clearTimeout(e));function tl(e,t,n=tH,r=!1){if(n){let o=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...r)=>{Y();let o=tJ(n),s=e1(t,n,e,r);return o(),Z(),s});return r?o.unshift(s):o.push(s),s}}let ti=e=>(t,n=tH)=>{tX&&"sp"!==e||tl(e,(...e)=>t(...e),n)},tu=ti("bm"),ta=ti("m"),tc=ti("bu"),td=ti("u"),tf=ti("bum"),tp=ti("um"),tj=ti("sp"),tm=ti("rtg"),th=ti("rtc"),t_=Symbol.for("v-ndc"),tv=e=>{var t;return e?function(e){return 4&e.vnode.shapeFlag}(e)?(t=e).exposed?t.exposeProxy||(t.exposeProxy=new Proxy(eX(eN(t.exposed)),{get:(e,n)=>n in e?e[n]:n in ty?ty[n](t):void 0,has:(e,t)=>t in e||t in ty})):t.proxy:tv(e.parent):null},ty=m(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>tv(e.parent),$root:e=>tv(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>tg(e),$forceUpdate:e=>e.f||(e.f=()=>{tt(e.update)}),$nextTick:e=>e.n||(e.n=te.bind(e.proxy)),$watch:e=>tM.bind(e)});function tb(e){return v(e)?e.reduce((e,t)=>(e[t]=null,e),{}):e}function tg(e){let t,n=e.type,{mixins:r,extends:o}=n,{mixins:s,optionsCache:l,config:{optionMergeStrategies:i}}=e.appContext,u=l.get(n);return u?t=u:s.length||r||o?(t={},s.length&&s.forEach(e=>tw(t,e,i,!0)),tw(t,n,i)):t=n,w(n)&&l.set(n,t),t}function tw(e,t,n,r=!1){let{mixins:o,extends:s}=t;for(let l in s&&tw(e,s,n,!0),o&&o.forEach(t=>tw(e,t,n,!0)),t)if(r&&"expose"===l);else{let r=tx[l]||n&&n[l];e[l]=r?r(e[l],t[l]):t[l]}return e}let tx={data:tS,props:tC,emits:tC,methods:tP,computed:tP,beforeCreate:tO,created:tO,beforeMount:tO,mounted:tO,beforeUpdate:tO,updated:tO,beforeDestroy:tO,beforeUnmount:tO,destroyed:tO,unmounted:tO,activated:tO,deactivated:tO,errorCaptured:tO,serverPrefetch:tO,components:tP,directives:tP,watch:function(e,t){if(!e)return t;if(!t)return e;let n=m(Object.create(null),e);for(let r in t)n[r]=tO(e[r],t[r]);return n},provide:tS,inject:function(e,t){return tP(tk(e),tk(t))}};function tS(e,t){return t?e?function(){return m(y(e)?e.call(this,this):e,y(t)?t.call(this,this):t)}:t:e}function tk(e){if(v(e)){let t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function tO(e,t){return e?[...new Set([].concat(e,t))]:t}function tP(e,t){return e?m(Object.create(null),e,t):t}function tC(e,t){return e?v(e)&&v(t)?[...new Set([...e,...t])]:m(Object.create(null),tb(e),tb(null!=t?t:{})):t}function tE(e,t){if(tH){let n=tH.provides,r=tH.parent&&tH.parent.provides;r===n&&(n=tH.provides=Object.create(r)),n[e]=t}}function tR(e,t,n=!1){let r=tG();if(r){let o=r?null==r.parent||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return n&&y(t)?t.call(r&&r.proxy):t}}let tT={},tA=e=>Object.getPrototypeOf(e)===tT,tI=Symbol.for("v-scx");function tD(e,n,r=f){let o,{immediate:s,deep:l,flush:i,once:u}=r,c=m({},r),d=n&&s||!n&&"post"!==i;if(tX){if("sync"===i){let e=tR(tI);o=e.__watcherHandles||(e.__watcherHandles=[])}else if(!d){let e=()=>{};return e.stop=p,e.resume=p,e.pause=p,e}}let j=tH;c.call=(e,t,n)=>e1(e,j,t,n);let _=!1;"post"===i?c.scheduler=e=>{!function(e,t){if(t&&t.pendingBranch)v(e)?t.effects.push(...e):t.effects.push(e);else v(e)?e8.push(...e):e3&&-1===e.id?e3.splice(e5+1,0,e):1&e.flags||(e8.push(e),e.flags|=1),tn()}(e,j&&j.suspense)}:"sync"!==i&&(_=!0,c.scheduler=(e,t)=>{t?e():tt(e)}),c.augmentJob=e=>{n&&(e.flags|=4),_&&(e.flags|=2,j&&(e.id=j.uid,e.i=j))};let b=function(e,n,r=f){let o,s,l,i,{immediate:u,deep:c,once:d,scheduler:j,augmentJob:m,call:_}=r,b=e=>c?e:e$(e)||!1===c||0===c?eQ(e,1):eQ(e),g=!1,w=!1;if(eB(e)?(s=()=>e.value,g=e$(e)):eF(e)?(s=()=>b(e),g=!0):v(e)?(w=!0,g=e.some(e=>eF(e)||e$(e)),s=()=>e.map(e=>eB(e)?e.value:eF(e)?b(e):y(e)?_?_(e,2):e():void 0)):s=y(e)?n?_?()=>_(e,2):e:()=>{if(l){Y();try{l()}finally{Z()}}let t=a;a=o;try{return _?_(e,3,[i]):e(i)}finally{a=t}}:p,n&&c){let e=s,t=!0===c?1/0:c;s=()=>eQ(e(),t)}let x=t,S=()=>{o.stop(),x&&x.active&&h(x.effects,o)};if(d&&n){let e=n;n=(...t)=>{e(...t),S()}}let k=w?Array(e.length).fill(eY):eY,O=e=>{if(1&o.flags&&(o.dirty||e))if(n){let e=o.run();if(c||g||(w?e.some((e,t)=>!Object.is(e,k[t])):!Object.is(e,k))){l&&l();let t=a;a=o;try{let t=[e,k===eY?void 0:w&&k[0]===eY?[]:k,i];k=e,_?_(n,3,t):n(...t)}finally{a=t}}}else o.run()};return m&&m(O),(o=new U(s)).scheduler=j?()=>j(O,!1):O,i=e=>(function(e,t=!1,n=a){if(n){let t=eZ.get(n);t||eZ.set(n,t=[]),t.push(e)}})(e,!1,o),l=o.onStop=()=>{let e=eZ.get(o);if(e){if(_)_(e,4);else for(let t of e)t();eZ.delete(o)}},n?u?O(!0):k=o.run():j?j(O.bind(null,!0),!0):o.run(),S.pause=o.pause.bind(o),S.resume=o.resume.bind(o),S.stop=S,S}(e,n,c);return tX&&(o?o.push(b):d&&b()),b}function tM(e,t,n){let r,o=this.proxy,s=b(e)?e.includes(".")?tL(o,e):()=>o[e]:e.bind(o,o);y(t)?r=t:(r=t.handler,n=t);let l=tJ(this),i=tD(s,r.bind(o),n);return l(),i}function tL(e,t){let n=t.split(".");return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}let tF=Symbol.for("v-fgt"),tV=Symbol.for("v-txt"),t$=Symbol.for("v-cmt");Symbol.for("v-stc");let tU=1;function tK(e){return!!e&&!0===e.__v_isVNode}let tN=({key:e})=>null!=e?e:null,tW=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?b(e)||eB(e)||y(e)?{i:to,r:e,k:t,f:!!n}:e:null),tz=function(e,t=null,n=null,r=0,o=null,s=!1){var l,i;if(e&&e!==t_||(e=t$),tK(e)){let r=tB(e,t,!0);return n&&tq(r,n),tU>0,r.patchFlag=-2,r}if(y(l=e)&&"__vccOpts"in l&&(e=e.__vccOpts),t){let{class:e,style:n}=t=(i=t)?eU(i)||tA(i)?m({},i):i:null;e&&!b(e)&&(t.class=V(e)),w(n)&&(eU(n)&&!v(n)&&(n=m({},n)),t.style=D(n))}let u=b(e)?1:e.__isSuspense?128:e.__isTeleport?64:w(e)?4:2*!!y(e);return function(e,t=null,n=null,r=0,o=null,s=+(e!==tF),l=!1,i=!1){let u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&tN(t),ref:t&&tW(t),scopeId:ts,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:to};return i?(tq(u,n),128&s&&e.normalize(u)):n&&(u.shapeFlag|=b(n)?8:16),tU>0,u}(e,t,n,r,o,u,s,!0)};function tB(e,t,n=!1,r=!1){let{props:o,ref:s,patchFlag:l,children:i,transition:u}=e,a=t?function(...e){let t={};for(let n=0;n<e.length;n++){let r=e[n];for(let e in r)if("class"===e)t.class!==r.class&&(t.class=V([t.class,r.class]));else if("style"===e)t.style=D([t.style,r.style]);else if(j(e)){let n=t[e],o=r[e];o&&n!==o&&!(v(n)&&n.includes(o))&&(t[e]=n?[].concat(n,o):o)}else""!==e&&(t[e]=r[e])}return t}(o||{},t):o,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&tN(a),ref:t&&t.ref?n&&s?v(s)?s.concat(tW(t)):[s,tW(t)]:tW(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==tF?-1===l?16:16|l:l,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:u,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&tB(e.ssContent),ssFallback:e.ssFallback&&tB(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return u&&r&&function e(t,n){6&t.shapeFlag&&t.component?(t.transition=n,e(t.component.subTree,n)):128&t.shapeFlag?(t.ssContent.transition=n.clone(t.ssContent),t.ssFallback.transition=n.clone(t.ssFallback)):t.transition=n}(c,u.clone(c)),c}function tq(e,t){let n=0,{shapeFlag:r}=e;if(null==t)t=null;else if(v(t))n=16;else if("object"==typeof t)if(65&r){let n=t.default;n&&(n._c&&(n._d=!1),tq(e,n()),n._c&&(n._d=!0));return}else{n=32;let r=t._;r||tA(t)?3===r&&to&&(1===to.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=to}else y(t)?(t={default:t,_ctx:to},n=32):(t=String(t),64&r?(n=16,t=[function(e=" ",t=0){return tz(tV,null,e,t)}(t)]):n=8);e.children=t,e.shapeFlag|=n}()=>!1;let tH=null,tG=()=>tH||to;{let e=I(),t=(t,n)=>{let r;return(r=e[t])||(r=e[t]=[]),r.push(n),e=>{r.length>1?r.forEach(t=>t(e)):r[0](e)}};i=t("__VUE_INSTANCE_SETTERS__",e=>tH=e),t("__VUE_SSR_SETTERS__",e=>tX=e)}let tJ=e=>{let t=tH;return i(e),e.scope.on(),()=>{e.scope.off(),i(t)}},tX=!1,tY="undefined"!=typeof window&&window.trustedTypes;if(tY)try{c=tY.createPolicy("vue",{createHTML:e=>e})}catch(e){}let tZ="undefined"!=typeof document?document:null,tQ=(tZ,"transition"),t0=Symbol("_vtc");Symbol("_vod"),Symbol("_vsh"),Symbol("");Symbol("_vei"),"undefined"!=typeof HTMLElement&&HTMLElement,Symbol("_moveCb"),Symbol("_enterCb"),Symbol("_assign");var t1=r("@bdky/aaas-pilot-kit");let t2=Symbol("AaaSPilotKitProvider");function t4(e){let t=eH(null,!0),n=eq(!1),r=eq(!1),o=eq(!1),s=eq(!1),l=()=>{t.value||(n.value=!1,t.value=eN((0,t1.createAaaSPilotKit)(e)))},i=()=>{t.value&&!n.value&&(n.value=!0,t.value.dispose(),t.value=null,r.value=!1,o.value=!1,s.value=!1)};l();let u=null;return tD(t,e=>{if(u&&(u(),u=null),null==e?void 0:e.emitter){let t=e.emitter,n=e=>{o.value=e},l=e=>{s.value=e},i=()=>{r.value=!0};if(!t.listenerCount||"function"!=typeof t.listenerCount)return void console.warn("Provider emitter is not fully initialized");t.on("mute",n),t.on("is_rendering_change",l),t.on("ready",i),u=()=>{t.off("mute",n),t.off("is_rendering_change",l),t.off("ready",i)}}},{immediate:!0}),tp(()=>{u&&u(),i()}),{controller:eM(t),isReady:eM(r),isMuted:eM(o),isRendering:eM(s),dispose:i,create:l}}function t6(e){let t=t4(e);return tE(t2,t),t}function t8(){let e=tR(t2);if(!e)throw Error("useAaaSPilotKit must be used within a component that provides AaaSPilotKit");return e}let t3=()=>t8(),t5=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=t3(),{onReady:n,onAsrStart:r,onAsrMessage:o,onRenderStart:s,onInactivity:l,onBusy:i,onInterrupt:u,onConversationChange:a,onIsRenderingChange:c,onReplyStart:d,onTtft:f}=e,p=null;tD(t.controller,()=>{te().then(()=>{(()=>{p&&(p(),p=null);let e=t.controller.value;if(!(null==e?void 0:e.emitter))return;let j=e.emitter,m=()=>{null==n||n()},h=()=>{null==r||r()},_=e=>{null==o||o(e)},v=e=>{null==s||s(e)},y=e=>{null==l||l(e)},b=e=>{null==i||i(e)},g=e=>{null==u||u(e)},w=e=>{null==a||a(e)},x=e=>{null==c||c(e)},S=e=>{null==d||d(e)},k=e=>{null==f||f(e)};j.listenerCount&&"function"==typeof j.listenerCount?(j.on("ready",m),j.on("asr_start",h),j.on("asr_message",_),j.on("render_start",v),j.on("inactivity",y),j.on("busy",b),j.on("interrupt",g),j.on("conversation_change",w),j.on("is_rendering_change",x),j.on("reply_start",S),j.on("ttft",k),p=()=>{j.off("ready",m),j.off("asr_start",h),j.off("asr_message",_),j.off("render_start",v),j.off("inactivity",y),j.off("busy",b),j.off("interrupt",g),j.off("conversation_change",w),j.off("is_rendering_change",x),j.off("reply_start",S),j.off("ttft",k)}):console.warn("Emitter is not fully initialized")})()})},{immediate:!0}),tp(()=>{p&&p()})},t7="undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),t9=new Uint8Array(16),ne=[];for(let e=0;e<256;++e)ne.push((e+256).toString(16).slice(1));let nt=function(e,t,n){if(t7&&!t&&!e)return t7();var r=e,o=n;let s=(r=r||{}).random??r.rng?.()??function(){if(!u){if("undefined"==typeof crypto||!crypto.getRandomValues)throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");u=crypto.getRandomValues.bind(crypto)}return u(t9)}();if(s.length<16)throw Error("Random bytes length must be >= 16");if(s[6]=15&s[6]|64,s[8]=63&s[8]|128,t){if((o=o||0)<0||o+16>t.length)throw RangeError(`UUID byte range ${o}:${o+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[o+e]=s[e];return t}return function(e,t=0){return(ne[e[t+0]]+ne[e[t+1]]+ne[e[t+2]]+ne[e[t+3]]+"-"+ne[e[t+4]]+ne[e[t+5]]+"-"+ne[e[t+6]]+ne[e[t+7]]+"-"+ne[e[t+8]]+ne[e[t+9]]+"-"+ne[e[t+10]]+ne[e[t+11]]+ne[e[t+12]]+ne[e[t+13]]+ne[e[t+14]]+ne[e[t+15]]).toLowerCase()}(s)};function nn(e){let t=eq([]),n=[],r=null;return tD(e,e=>{r&&r(),r=(e=>{if((e=>{if(!e||"aiWorker"===e.type){n=[],t.value=[];return}let r={uiId:nt(),mod:"text",content:e.text,completed:!1};n=[r],t.value=[r]})(e),!e)return null;let r=eK(e),o=e=>{let r=[],o=[...n][n.length-1];if(o)if(o.mod===e.mod)o.content+=e.content,o.completed=e.completed,r=[...n.slice(0,n.length-1),o];else{let t={...e,uiId:nt()};r=[...n,t]}else r=[{...e,uiId:nt()}];n=r,t.value=r},s=e=>{let r=[],o=[...n][n.length-1];if(o)if(o.mod===e.mod)o.content=e.content,o.completed=e.completed,r=[...n.slice(0,n.length-1),o];else{let t={...e,uiId:nt()};r=[...n,t]}else r=[{...e,uiId:nt()}];n=r,t.value=r},l=null,i=(null==r?void 0:r.emitter)?eK(r.emitter):null;if(!i)return console.warn("Conversation emitter is not available"),null;if(!i.on||"function"!=typeof i.on)return console.warn("Conversation emitter is not fully initialized"),null;try{r instanceof t1.AIWorkerConversationBean?(i.on("content_change",o),l=()=>{i.off("content_change",o)}):(i.on("content_change",s),l=()=>{i.off("content_change",s)})}catch(e){return console.error("Error setting up emitter listeners:",e),null}return l})(null!=e?e:null)},{immediate:!0}),tp(()=>{r&&r()}),{conversationContents:t}}function nr(){let e=t3(),t=eq([]),n=null;return tD(e.controller,()=>{te().then(()=>{(()=>{n&&(n(),n=null);let r=e.controller.value;if(!(null==r?void 0:r.emitter))return;let o=r.emitter,s=e=>{t.value=[...t.value,e]};o.listenerCount&&"function"==typeof o.listenerCount?(o.on("conversation_add",s),n=()=>{o.off("conversation_add",s)}):console.warn("Controller emitter is not fully initialized")})()})},{immediate:!0}),tp(()=>{n&&n()}),{conversationList:t}}let no=(e,t)=>{let n=null;tD(e,()=>{te().then(()=>{(()=>{n&&(n(),n=null);let r=e.value;if(!r||!(r instanceof t1.AIWorkerConversationBean))return;let o=eK(r),s=eK(o.emitter);if(!s||"function"!=typeof s.on)return console.warn("[useConversationEnd] emitter 未正确初始化");let l=e=>{null==t||t(e)};s.on("conversation_end",l),n=()=>{s.off("conversation_end",l)}})()})},{immediate:!0}),tp(()=>{n&&n()})}})(),o})());
2
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("@bdky/aaas-pilot-kit")):"function"==typeof define&&define.amd?define(["@bdky/aaas-pilot-kit"],t):"object"==typeof exports?exports.KyDigitalHumanVue3=t(require("@bdky/aaas-pilot-kit")):e.KyDigitalHumanVue3=t(e["@bdky/aaas-pilot-kit"])}(globalThis,e=>(()=>{"use strict";var t={"@bdky/aaas-pilot-kit":function(t){t.exports=e},"../../node_modules/core-js/internals/a-callable.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/is-callable.js"),o=n("../../node_modules/core-js/internals/try-to-string.js"),s=TypeError;e.exports=function(e){if(r(e))return e;throw new s(o(e)+" is not a function")}},"../../node_modules/core-js/internals/an-object.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/is-object.js"),o=String,s=TypeError;e.exports=function(e){if(r(e))return e;throw new s(o(e)+" is not an object")}},"../../node_modules/core-js/internals/array-includes.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/to-indexed-object.js"),o=n("../../node_modules/core-js/internals/to-absolute-index.js"),s=n("../../node_modules/core-js/internals/length-of-array-like.js"),l=function(e){return function(t,n,l){var i,u=r(t),a=s(u);if(0===a)return!e&&-1;var c=o(l,a);if(e&&n!=n){for(;a>c;)if((i=u[c++])!=i)return!0}else for(;a>c;c++)if((e||c in u)&&u[c]===n)return e||c||0;return!e&&-1}};e.exports={includes:l(!0),indexOf:l(!1)}},"../../node_modules/core-js/internals/classof-raw.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/function-uncurry-this.js"),o=r({}.toString),s=r("".slice);e.exports=function(e){return s(o(e),8,-1)}},"../../node_modules/core-js/internals/copy-constructor-properties.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/has-own-property.js"),o=n("../../node_modules/core-js/internals/own-keys.js"),s=n("../../node_modules/core-js/internals/object-get-own-property-descriptor.js"),l=n("../../node_modules/core-js/internals/object-define-property.js");e.exports=function(e,t,n){for(var i=o(t),u=l.f,a=s.f,c=0;c<i.length;c++){var d=i[c];r(e,d)||n&&r(n,d)||u(e,d,a(t,d))}}},"../../node_modules/core-js/internals/create-non-enumerable-property.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/descriptors.js"),o=n("../../node_modules/core-js/internals/object-define-property.js"),s=n("../../node_modules/core-js/internals/create-property-descriptor.js");e.exports=r?function(e,t,n){return o.f(e,t,s(1,n))}:function(e,t,n){return e[t]=n,e}},"../../node_modules/core-js/internals/create-property-descriptor.js":function(e){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"../../node_modules/core-js/internals/define-built-in.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/is-callable.js"),o=n("../../node_modules/core-js/internals/object-define-property.js"),s=n("../../node_modules/core-js/internals/make-built-in.js"),l=n("../../node_modules/core-js/internals/define-global-property.js");e.exports=function(e,t,n,i){i||(i={});var u=i.enumerable,a=void 0!==i.name?i.name:t;if(r(n)&&s(n,a,i),i.global)u?e[t]=n:l(t,n);else{try{i.unsafe?e[t]&&(u=!0):delete e[t]}catch(e){}u?e[t]=n:o.f(e,t,{value:n,enumerable:!1,configurable:!i.nonConfigurable,writable:!i.nonWritable})}return e}},"../../node_modules/core-js/internals/define-global-property.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/global-this.js"),o=Object.defineProperty;e.exports=function(e,t){try{o(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},"../../node_modules/core-js/internals/descriptors.js":function(e,t,n){e.exports=!n("../../node_modules/core-js/internals/fails.js")(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},"../../node_modules/core-js/internals/document-create-element.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/global-this.js"),o=n("../../node_modules/core-js/internals/is-object.js"),s=r.document,l=o(s)&&o(s.createElement);e.exports=function(e){return l?s.createElement(e):{}}},"../../node_modules/core-js/internals/enum-bug-keys.js":function(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"../../node_modules/core-js/internals/environment-user-agent.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/global-this.js").navigator,o=r&&r.userAgent;e.exports=o?String(o):""},"../../node_modules/core-js/internals/environment-v8-version.js":function(e,t,n){var r,o,s=n("../../node_modules/core-js/internals/global-this.js"),l=n("../../node_modules/core-js/internals/environment-user-agent.js"),i=s.process,u=s.Deno,a=i&&i.versions||u&&u.version,c=a&&a.v8;c&&(o=(r=c.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&l&&(!(r=l.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=l.match(/Chrome\/(\d+)/))&&(o=+r[1]),e.exports=o},"../../node_modules/core-js/internals/export.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/global-this.js"),o=n("../../node_modules/core-js/internals/object-get-own-property-descriptor.js").f,s=n("../../node_modules/core-js/internals/create-non-enumerable-property.js"),l=n("../../node_modules/core-js/internals/define-built-in.js"),i=n("../../node_modules/core-js/internals/define-global-property.js"),u=n("../../node_modules/core-js/internals/copy-constructor-properties.js"),a=n("../../node_modules/core-js/internals/is-forced.js");e.exports=function(e,t){var n,c,d,f,p,j=e.target,m=e.global,h=e.stat;if(n=m?r:h?r[j]||i(j,{}):r[j]&&r[j].prototype)for(c in t){if(f=t[c],d=e.dontCallGetSet?(p=o(n,c))&&p.value:n[c],!a(m?c:j+(h?".":"#")+c,e.forced)&&void 0!==d){if(typeof f==typeof d)continue;u(f,d)}(e.sham||d&&d.sham)&&s(f,"sham",!0),l(n,c,f,e)}}},"../../node_modules/core-js/internals/fails.js":function(e){e.exports=function(e){try{return!!e()}catch(e){return!0}}},"../../node_modules/core-js/internals/function-bind-native.js":function(e,t,n){e.exports=!n("../../node_modules/core-js/internals/fails.js")(function(){var e=(function(){}).bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})},"../../node_modules/core-js/internals/function-call.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/function-bind-native.js"),o=Function.prototype.call;e.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},"../../node_modules/core-js/internals/function-name.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/descriptors.js"),o=n("../../node_modules/core-js/internals/has-own-property.js"),s=Function.prototype,l=r&&Object.getOwnPropertyDescriptor,i=o(s,"name"),u=i&&(!r||r&&l(s,"name").configurable);e.exports={EXISTS:i,PROPER:i&&"something"===(function(){}).name,CONFIGURABLE:u}},"../../node_modules/core-js/internals/function-uncurry-this.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/function-bind-native.js"),o=Function.prototype,s=o.call,l=r&&o.bind.bind(s,s);e.exports=r?l:function(e){return function(){return s.apply(e,arguments)}}},"../../node_modules/core-js/internals/get-built-in.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/global-this.js"),o=n("../../node_modules/core-js/internals/is-callable.js");e.exports=function(e,t){var n;return arguments.length<2?o(n=r[e])?n:void 0:r[e]&&r[e][t]}},"../../node_modules/core-js/internals/get-method.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/a-callable.js"),o=n("../../node_modules/core-js/internals/is-null-or-undefined.js");e.exports=function(e,t){var n=e[t];return o(n)?void 0:r(n)}},"../../node_modules/core-js/internals/global-this.js":function(e,t,n){var r=function(e){return e&&e.Math===Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||r("object"==typeof this&&this)||function(){return this}()||Function("return this")()},"../../node_modules/core-js/internals/has-own-property.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/function-uncurry-this.js"),o=n("../../node_modules/core-js/internals/to-object.js"),s=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return s(o(e),t)}},"../../node_modules/core-js/internals/hidden-keys.js":function(e){e.exports={}},"../../node_modules/core-js/internals/ie8-dom-define.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/descriptors.js"),o=n("../../node_modules/core-js/internals/fails.js"),s=n("../../node_modules/core-js/internals/document-create-element.js");e.exports=!r&&!o(function(){return 7!==Object.defineProperty(s("div"),"a",{get:function(){return 7}}).a})},"../../node_modules/core-js/internals/indexed-object.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/function-uncurry-this.js"),o=n("../../node_modules/core-js/internals/fails.js"),s=n("../../node_modules/core-js/internals/classof-raw.js"),l=Object,i=r("".split);e.exports=o(function(){return!l("z").propertyIsEnumerable(0)})?function(e){return"String"===s(e)?i(e,""):l(e)}:l},"../../node_modules/core-js/internals/inspect-source.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/function-uncurry-this.js"),o=n("../../node_modules/core-js/internals/is-callable.js"),s=n("../../node_modules/core-js/internals/shared-store.js"),l=r(Function.toString);o(s.inspectSource)||(s.inspectSource=function(e){return l(e)}),e.exports=s.inspectSource},"../../node_modules/core-js/internals/internal-state.js":function(e,t,n){var r,o,s,l=n("../../node_modules/core-js/internals/weak-map-basic-detection.js"),i=n("../../node_modules/core-js/internals/global-this.js"),u=n("../../node_modules/core-js/internals/is-object.js"),a=n("../../node_modules/core-js/internals/create-non-enumerable-property.js"),c=n("../../node_modules/core-js/internals/has-own-property.js"),d=n("../../node_modules/core-js/internals/shared-store.js"),f=n("../../node_modules/core-js/internals/shared-key.js"),p=n("../../node_modules/core-js/internals/hidden-keys.js"),j="Object already initialized",m=i.TypeError,h=i.WeakMap;if(l||d.state){var _=d.state||(d.state=new h);_.get=_.get,_.has=_.has,_.set=_.set,r=function(e,t){if(_.has(e))throw new m(j);return t.facade=e,_.set(e,t),t},o=function(e){return _.get(e)||{}},s=function(e){return _.has(e)}}else{var v=f("state");p[v]=!0,r=function(e,t){if(c(e,v))throw new m(j);return t.facade=e,a(e,v,t),t},o=function(e){return c(e,v)?e[v]:{}},s=function(e){return c(e,v)}}e.exports={set:r,get:o,has:s,enforce:function(e){return s(e)?o(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!u(t)||(n=o(t)).type!==e)throw new m("Incompatible receiver, "+e+" required");return n}}}},"../../node_modules/core-js/internals/is-callable.js":function(e){var t="object"==typeof document&&document.all;e.exports=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},"../../node_modules/core-js/internals/is-forced.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/fails.js"),o=n("../../node_modules/core-js/internals/is-callable.js"),s=/#|\.prototype\./,l=function(e,t){var n=u[i(e)];return n===c||n!==a&&(o(t)?r(t):!!t)},i=l.normalize=function(e){return String(e).replace(s,".").toLowerCase()},u=l.data={},a=l.NATIVE="N",c=l.POLYFILL="P";e.exports=l},"../../node_modules/core-js/internals/is-null-or-undefined.js":function(e){e.exports=function(e){return null==e}},"../../node_modules/core-js/internals/is-object.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/is-callable.js");e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},"../../node_modules/core-js/internals/is-pure.js":function(e){e.exports=!1},"../../node_modules/core-js/internals/is-symbol.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/get-built-in.js"),o=n("../../node_modules/core-js/internals/is-callable.js"),s=n("../../node_modules/core-js/internals/object-is-prototype-of.js"),l=n("../../node_modules/core-js/internals/use-symbol-as-uid.js"),i=Object;e.exports=l?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return o(t)&&s(t.prototype,i(e))}},"../../node_modules/core-js/internals/length-of-array-like.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/to-length.js");e.exports=function(e){return r(e.length)}},"../../node_modules/core-js/internals/make-built-in.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/function-uncurry-this.js"),o=n("../../node_modules/core-js/internals/fails.js"),s=n("../../node_modules/core-js/internals/is-callable.js"),l=n("../../node_modules/core-js/internals/has-own-property.js"),i=n("../../node_modules/core-js/internals/descriptors.js"),u=n("../../node_modules/core-js/internals/function-name.js").CONFIGURABLE,a=n("../../node_modules/core-js/internals/inspect-source.js"),c=n("../../node_modules/core-js/internals/internal-state.js"),d=c.enforce,f=c.get,p=String,j=Object.defineProperty,m=r("".slice),h=r("".replace),_=r([].join),v=i&&!o(function(){return 8!==j(function(){},"length",{value:8}).length}),y=String(String).split("String"),b=e.exports=function(e,t,n){"Symbol("===m(p(t),0,7)&&(t="["+h(p(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!l(e,"name")||u&&e.name!==t)&&(i?j(e,"name",{value:t,configurable:!0}):e.name=t),v&&n&&l(n,"arity")&&e.length!==n.arity&&j(e,"length",{value:n.arity});try{n&&l(n,"constructor")&&n.constructor?i&&j(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=d(e);return l(r,"source")||(r.source=_(y,"string"==typeof t?t:"")),e};Function.prototype.toString=b(function(){return s(this)&&f(this).source||a(this)},"toString")},"../../node_modules/core-js/internals/math-trunc.js":function(e){var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?n:t)(r)}},"../../node_modules/core-js/internals/object-define-property.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/descriptors.js"),o=n("../../node_modules/core-js/internals/ie8-dom-define.js"),s=n("../../node_modules/core-js/internals/v8-prototype-define-bug.js"),l=n("../../node_modules/core-js/internals/an-object.js"),i=n("../../node_modules/core-js/internals/to-property-key.js"),u=TypeError,a=Object.defineProperty,c=Object.getOwnPropertyDescriptor,d="enumerable",f="configurable",p="writable";t.f=r?s?function(e,t,n){if(l(e),t=i(t),l(n),"function"==typeof e&&"prototype"===t&&"value"in n&&p in n&&!n[p]){var r=c(e,t);r&&r[p]&&(e[t]=n.value,n={configurable:f in n?n[f]:r[f],enumerable:d in n?n[d]:r[d],writable:!1})}return a(e,t,n)}:a:function(e,t,n){if(l(e),t=i(t),l(n),o)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw new u("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},"../../node_modules/core-js/internals/object-get-own-property-descriptor.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/descriptors.js"),o=n("../../node_modules/core-js/internals/function-call.js"),s=n("../../node_modules/core-js/internals/object-property-is-enumerable.js"),l=n("../../node_modules/core-js/internals/create-property-descriptor.js"),i=n("../../node_modules/core-js/internals/to-indexed-object.js"),u=n("../../node_modules/core-js/internals/to-property-key.js"),a=n("../../node_modules/core-js/internals/has-own-property.js"),c=n("../../node_modules/core-js/internals/ie8-dom-define.js"),d=Object.getOwnPropertyDescriptor;t.f=r?d:function(e,t){if(e=i(e),t=u(t),c)try{return d(e,t)}catch(e){}if(a(e,t))return l(!o(s.f,e,t),e[t])}},"../../node_modules/core-js/internals/object-get-own-property-names.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/object-keys-internal.js"),o=n("../../node_modules/core-js/internals/enum-bug-keys.js").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},"../../node_modules/core-js/internals/object-get-own-property-symbols.js":function(e,t){t.f=Object.getOwnPropertySymbols},"../../node_modules/core-js/internals/object-is-prototype-of.js":function(e,t,n){e.exports=n("../../node_modules/core-js/internals/function-uncurry-this.js")({}.isPrototypeOf)},"../../node_modules/core-js/internals/object-keys-internal.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/function-uncurry-this.js"),o=n("../../node_modules/core-js/internals/has-own-property.js"),s=n("../../node_modules/core-js/internals/to-indexed-object.js"),l=n("../../node_modules/core-js/internals/array-includes.js").indexOf,i=n("../../node_modules/core-js/internals/hidden-keys.js"),u=r([].push);e.exports=function(e,t){var n,r=s(e),a=0,c=[];for(n in r)!o(i,n)&&o(r,n)&&u(c,n);for(;t.length>a;)o(r,n=t[a++])&&(~l(c,n)||u(c,n));return c}},"../../node_modules/core-js/internals/object-property-is-enumerable.js":function(e,t){var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor;t.f=r&&!n.call({1:2},1)?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},"../../node_modules/core-js/internals/ordinary-to-primitive.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/function-call.js"),o=n("../../node_modules/core-js/internals/is-callable.js"),s=n("../../node_modules/core-js/internals/is-object.js"),l=TypeError;e.exports=function(e,t){var n,i;if("string"===t&&o(n=e.toString)&&!s(i=r(n,e))||o(n=e.valueOf)&&!s(i=r(n,e))||"string"!==t&&o(n=e.toString)&&!s(i=r(n,e)))return i;throw new l("Can't convert object to primitive value")}},"../../node_modules/core-js/internals/own-keys.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/get-built-in.js"),o=n("../../node_modules/core-js/internals/function-uncurry-this.js"),s=n("../../node_modules/core-js/internals/object-get-own-property-names.js"),l=n("../../node_modules/core-js/internals/object-get-own-property-symbols.js"),i=n("../../node_modules/core-js/internals/an-object.js"),u=o([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=s.f(i(e)),n=l.f;return n?u(t,n(e)):t}},"../../node_modules/core-js/internals/require-object-coercible.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/is-null-or-undefined.js"),o=TypeError;e.exports=function(e){if(r(e))throw new o("Can't call method on "+e);return e}},"../../node_modules/core-js/internals/shared-key.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/shared.js"),o=n("../../node_modules/core-js/internals/uid.js"),s=r("keys");e.exports=function(e){return s[e]||(s[e]=o(e))}},"../../node_modules/core-js/internals/shared-store.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/is-pure.js"),o=n("../../node_modules/core-js/internals/global-this.js"),s=n("../../node_modules/core-js/internals/define-global-property.js"),l="__core-js_shared__",i=e.exports=o[l]||s(l,{});(i.versions||(i.versions=[])).push({version:"3.44.0",mode:r?"pure":"global",copyright:"\xa9 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.44.0/LICENSE",source:"https://github.com/zloirock/core-js"})},"../../node_modules/core-js/internals/shared.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/shared-store.js");e.exports=function(e,t){return r[e]||(r[e]=t||{})}},"../../node_modules/core-js/internals/symbol-constructor-detection.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/environment-v8-version.js"),o=n("../../node_modules/core-js/internals/fails.js"),s=n("../../node_modules/core-js/internals/global-this.js").String;e.exports=!!Object.getOwnPropertySymbols&&!o(function(){var e=Symbol("symbol detection");return!s(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41})},"../../node_modules/core-js/internals/to-absolute-index.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/to-integer-or-infinity.js"),o=Math.max,s=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):s(n,t)}},"../../node_modules/core-js/internals/to-indexed-object.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/indexed-object.js"),o=n("../../node_modules/core-js/internals/require-object-coercible.js");e.exports=function(e){return r(o(e))}},"../../node_modules/core-js/internals/to-integer-or-infinity.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/math-trunc.js");e.exports=function(e){var t=+e;return t!=t||0===t?0:r(t)}},"../../node_modules/core-js/internals/to-length.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/to-integer-or-infinity.js"),o=Math.min;e.exports=function(e){var t=r(e);return t>0?o(t,0x1fffffffffffff):0}},"../../node_modules/core-js/internals/to-object.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/require-object-coercible.js"),o=Object;e.exports=function(e){return o(r(e))}},"../../node_modules/core-js/internals/to-primitive.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/function-call.js"),o=n("../../node_modules/core-js/internals/is-object.js"),s=n("../../node_modules/core-js/internals/is-symbol.js"),l=n("../../node_modules/core-js/internals/get-method.js"),i=n("../../node_modules/core-js/internals/ordinary-to-primitive.js"),u=n("../../node_modules/core-js/internals/well-known-symbol.js"),a=TypeError,c=u("toPrimitive");e.exports=function(e,t){if(!o(e)||s(e))return e;var n,u=l(e,c);if(u){if(void 0===t&&(t="default"),!o(n=r(u,e,t))||s(n))return n;throw new a("Can't convert object to primitive value")}return void 0===t&&(t="number"),i(e,t)}},"../../node_modules/core-js/internals/to-property-key.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/to-primitive.js"),o=n("../../node_modules/core-js/internals/is-symbol.js");e.exports=function(e){var t=r(e,"string");return o(t)?t:t+""}},"../../node_modules/core-js/internals/try-to-string.js":function(e){var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},"../../node_modules/core-js/internals/uid.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/function-uncurry-this.js"),o=0,s=Math.random(),l=r(1.1.toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+l(++o+s,36)}},"../../node_modules/core-js/internals/use-symbol-as-uid.js":function(e,t,n){e.exports=n("../../node_modules/core-js/internals/symbol-constructor-detection.js")&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},"../../node_modules/core-js/internals/v8-prototype-define-bug.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/descriptors.js"),o=n("../../node_modules/core-js/internals/fails.js");e.exports=r&&o(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},"../../node_modules/core-js/internals/weak-map-basic-detection.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/global-this.js"),o=n("../../node_modules/core-js/internals/is-callable.js"),s=r.WeakMap;e.exports=o(s)&&/native code/.test(String(s))},"../../node_modules/core-js/internals/well-known-symbol.js":function(e,t,n){var r=n("../../node_modules/core-js/internals/global-this.js"),o=n("../../node_modules/core-js/internals/shared.js"),s=n("../../node_modules/core-js/internals/has-own-property.js"),l=n("../../node_modules/core-js/internals/uid.js"),i=n("../../node_modules/core-js/internals/symbol-constructor-detection.js"),u=n("../../node_modules/core-js/internals/use-symbol-as-uid.js"),a=r.Symbol,c=o("wks"),d=u?a.for||a:a&&a.withoutSetter||l;e.exports=function(e){return s(c,e)||(c[e]=i&&s(a,e)?a[e]:d("Symbol."+e)),c[e]}},"../../node_modules/core-js/modules/es.object.has-own.js":function(e,t,n){n("../../node_modules/core-js/internals/export.js")({target:"Object",stat:!0},{hasOwn:n("../../node_modules/core-js/internals/has-own-property.js")})}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var s=n[e]={exports:{}};return t[e].call(s.exports,s,s.exports,r),s.exports}r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=(()=>{if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}})(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};return(()=>{let e,t,n,s,l,i,u,a,c;function d(e){let t=Object.create(null);for(let n of e.split(","))t[n]=1;return e=>e in t}r.r(o),r.d(o,{useAaaSPilotKit:()=>t3,injectAaaSPilotKit:()=>t8,Language:()=>t1.Language,useAaaSPilotKitProvider:()=>t4,provideAaaSPilotKit:()=>t6,useConversationList:()=>nr,AaaSPilotKitProviderKey:()=>t2,useAaaSPilotKitEvents:()=>t5,useConversationEnd:()=>no,useConversation:()=>nn,BaseAgentService:()=>t1.BaseAgentService}),r("../../node_modules/core-js/modules/es.object.has-own.js");let f={},p=()=>{},j=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||97>e.charCodeAt(2)),m=Object.assign,h=(e,t)=>{let n=e.indexOf(t);n>-1&&e.splice(n,1)},_=Object.prototype.hasOwnProperty,v=Array.isArray,y=e=>"function"==typeof e,b=e=>"string"==typeof e,g=e=>"symbol"==typeof e,w=e=>null!==e&&"object"==typeof e,x=Object.prototype.toString,S=e=>b(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,k=d(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),O=e=>{let t=Object.create(null);return n=>t[n]||(t[n]=e(n))},P=/-\w/g,C=O(e=>e.replace(P,e=>e.slice(1).toUpperCase())),E=/\B([A-Z])/g,I=O(e=>e.replace(E,"-$1").toLowerCase()),R=O(e=>e.charAt(0).toUpperCase()+e.slice(1)),T=O(e=>e?`on${R(e)}`:""),A=()=>e||(e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==r.g?r.g:{});function D(e){if(v(e)){let t={};for(let n=0;n<e.length;n++){let r=e[n],o=b(r)?function(e){let t={};return e.replace(F,"").split(M).forEach(e=>{if(e){let n=e.split(L);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}(r):D(r);if(o)for(let e in o)t[e]=o[e]}return t}if(b(e)||w(e))return e}let M=/;(?![^(]*\))/g,L=/:([^]+)/,F=/\/\*[^]*?\*\//g;function U(e){let t="";if(b(e))t=e;else if(v(e))for(let n=0;n<e.length;n++){let r=U(e[n]);r&&(t+=r+" ")}else if(w(e))for(let n in e)e[n]&&(t+=n+" ");return t.trim()}let V=new WeakSet;class ${constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,t&&t.active&&t.effects.push(this)}pause(){this.flags|=64}resume(){64&this.flags&&(this.flags&=-65,V.has(this)&&(V.delete(this),this.trigger()))}notify(){(!(2&this.flags)||32&this.flags)&&(8&this.flags||N(this))}run(){if(!(1&this.flags))return this.fn();this.flags|=2,Q(this),z(this);let e=n,t=J;n=this,J=!0;try{return this.fn()}finally{B(this),n=e,J=t,this.flags&=-3}}stop(){if(1&this.flags){for(let e=this.deps;e;e=e.nextDep)G(e);this.deps=this.depsTail=void 0,Q(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){64&this.flags?V.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){q(this)&&this.run()}get dirty(){return q(this)}}let K=0;function N(e,t=!1){if(e.flags|=8,t){e.next=l,l=e;return}e.next=s,s=e}function W(){let e;if(!(--K>0)){if(l){let e=l;for(l=void 0;e;){let t=e.next;e.next=void 0,e.flags&=-9,e=t}}for(;s;){let t=s;for(s=void 0;t;){let n=t.next;if(t.next=void 0,t.flags&=-9,1&t.flags)try{t.trigger()}catch(t){e||(e=t)}t=n}}if(e)throw e}}function z(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function B(e){let t,n=e.depsTail,r=n;for(;r;){let e=r.prevDep;-1===r.version?(r===n&&(n=e),G(r),function(e){let{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=e}e.deps=t,e.depsTail=n}function q(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(H(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function H(e){if(4&e.flags&&!(16&e.flags)||(e.flags&=-17,e.globalVersion===ee)||(e.globalVersion=ee,!e.isSSR&&128&e.flags&&(!e.deps&&!e._dirty||!q(e))))return;e.flags|=2;let t=e.dep,r=n,o=J;n=e,J=!0;try{let n;z(e);let r=e.fn(e._value);(0===t.version||(n=e._value,!Object.is(r,n)))&&(e.flags|=128,e._value=r,t.version++)}catch(e){throw t.version++,e}finally{n=r,J=o,B(e),e.flags&=-3}}function G(e,t=!1){let{dep:n,prevSub:r,nextSub:o}=e;if(r&&(r.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let e=n.computed.deps;e;e=e.nextDep)G(e,!0)}t||--n.sc||!n.map||n.map.delete(n.key)}let J=!0,X=[];function Y(){X.push(J),J=!1}function Z(){let e=X.pop();J=void 0===e||e}function Q(e){let{cleanup:t}=e;if(e.cleanup=void 0,t){let e=n;n=void 0;try{t()}finally{n=e}}}let ee=0;class et{constructor(e,t){this.sub=e,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class en{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(e){if(!n||!J||n===this.computed)return;let t=this.activeLink;if(void 0===t||t.sub!==n)t=this.activeLink=new et(n,this),n.deps?(t.prevDep=n.depsTail,n.depsTail.nextDep=t,n.depsTail=t):n.deps=n.depsTail=t,function e(t){if(t.dep.sc++,4&t.sub.flags){let n=t.dep.computed;if(n&&!t.dep.subs){n.flags|=20;for(let t=n.deps;t;t=t.nextDep)e(t)}let r=t.dep.subs;r!==t&&(t.prevSub=r,r&&(r.nextSub=t)),t.dep.subs=t}}(t);else if(-1===t.version&&(t.version=this.version,t.nextDep)){let e=t.nextDep;e.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=e),t.prevDep=n.depsTail,t.nextDep=void 0,n.depsTail.nextDep=t,n.depsTail=t,n.deps===t&&(n.deps=e)}return t}trigger(e){this.version++,ee++,this.notify(e)}notify(e){K++;try{for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{W()}}}let er=new WeakMap,eo=Symbol(""),es=Symbol(""),el=Symbol("");function ei(e,t,r){if(J&&n){let t=er.get(e);t||er.set(e,t=new Map);let n=t.get(r);n||(t.set(r,n=new en),n.map=t,n.key=r),n.track()}}function eu(e,t,n,r,o,s){let l=er.get(e);if(!l)return void ee++;let i=e=>{e&&e.trigger()};if(K++,"clear"===t)l.forEach(i);else{let o=v(e),s=o&&S(n);if(o&&"length"===n){let e=Number(r);l.forEach((t,n)=>{("length"===n||n===el||!g(n)&&n>=e)&&i(t)})}else switch((void 0!==n||l.has(void 0))&&i(l.get(n)),s&&i(l.get(el)),t){case"add":if(o)s&&i(l.get("length"));else{let t;i(l.get(eo));"[object Map]"===(t=e,x.call(t))&&i(l.get(es))}break;case"delete":if(!o){let t;i(l.get(eo));"[object Map]"===(t=e,x.call(t))&&i(l.get(es))}break;case"set":let u;"[object Map]"===(u=e,x.call(u))&&i(l.get(eo))}}W()}function ea(e){let t=eK(e);return t===e?t:(ei(t,"iterate",el),eV(e)?t:t.map(eW))}function ec(e){return ei(e=eK(e),"iterate",el),e}let ed={__proto__:null,[Symbol.iterator](){return ef(this,Symbol.iterator,eW)},concat(...e){return ea(this).concat(...e.map(e=>v(e)?ea(e):e))},entries(){return ef(this,"entries",e=>(e[1]=eW(e[1]),e))},every(e,t){return ej(this,"every",e,t,void 0,arguments)},filter(e,t){return ej(this,"filter",e,t,e=>e.map(eW),arguments)},find(e,t){return ej(this,"find",e,t,eW,arguments)},findIndex(e,t){return ej(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return ej(this,"findLast",e,t,eW,arguments)},findLastIndex(e,t){return ej(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return ej(this,"forEach",e,t,void 0,arguments)},includes(...e){return eh(this,"includes",e)},indexOf(...e){return eh(this,"indexOf",e)},join(e){return ea(this).join(e)},lastIndexOf(...e){return eh(this,"lastIndexOf",e)},map(e,t){return ej(this,"map",e,t,void 0,arguments)},pop(){return e_(this,"pop")},push(...e){return e_(this,"push",e)},reduce(e,...t){return em(this,"reduce",e,t)},reduceRight(e,...t){return em(this,"reduceRight",e,t)},shift(){return e_(this,"shift")},some(e,t){return ej(this,"some",e,t,void 0,arguments)},splice(...e){return e_(this,"splice",e)},toReversed(){return ea(this).toReversed()},toSorted(e){return ea(this).toSorted(e)},toSpliced(...e){return ea(this).toSpliced(...e)},unshift(...e){return e_(this,"unshift",e)},values(){return ef(this,"values",eW)}};function ef(e,t,n){let r=ec(e),o=r[t]();return r===e||eV(e)||(o._next=o.next,o.next=()=>{let e=o._next();return e.done||(e.value=n(e.value)),e}),o}let ep=Array.prototype;function ej(e,t,n,r,o,s){let l=ec(e),i=l!==e&&!eV(e),u=l[t];if(u!==ep[t]){let t=u.apply(e,s);return i?eW(t):t}let a=n;l!==e&&(i?a=function(t,r){return n.call(this,eW(t),r,e)}:n.length>2&&(a=function(t,r){return n.call(this,t,r,e)}));let c=u.call(l,a,r);return i&&o?o(c):c}function em(e,t,n,r){let o=ec(e),s=n;return o!==e&&(eV(e)?n.length>3&&(s=function(t,r,o){return n.call(this,t,r,o,e)}):s=function(t,r,o){return n.call(this,t,eW(r),o,e)}),o[t](s,...r)}function eh(e,t,n){let r=eK(e);ei(r,"iterate",el);let o=r[t](...n);return(-1===o||!1===o)&&e$(n[0])?(n[0]=eK(n[0]),r[t](...n)):o}function e_(e,t,n=[]){Y(),K++;let r=eK(e)[t].apply(e,n);return W(),Z(),r}let ev=d("__proto__,__v_isRef,__isVue"),ey=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>"arguments"!==e&&"caller"!==e).map(e=>Symbol[e]).filter(g));function eb(e){g(e)||(e=String(e));let t=eK(this);return ei(t,"has",e),t.hasOwnProperty(e)}class eg{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){if("__v_skip"===t)return e.__v_skip;let r=this._isReadonly,o=this._isShallow;if("__v_isReactive"===t)return!r;if("__v_isReadonly"===t)return r;if("__v_isShallow"===t)return o;if("__v_raw"===t)return n===(r?o?eA:eT:o?eR:eI).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;let s=v(e);if(!r){let e;if(s&&(e=ed[t]))return e;if("hasOwnProperty"===t)return eb}let l=Reflect.get(e,t,eB(e)?e:n);if((g(t)?ey.has(t):ev(t))||(r||ei(e,"get",t),o))return l;if(eB(l)){let e=s&&S(t)?l:l.value;return r&&w(e)?eM(e):e}return w(l)?r?eM(l):eD(l):l}}class ew extends eg{constructor(e=!1){super(!1,e)}set(e,t,n,r){let o,s,l=e[t];if(!this._isShallow){let t=eU(l);if(eV(n)||eU(n)||(l=eK(l),n=eK(n)),!v(e)&&eB(l)&&!eB(n))if(t)return!0;else return l.value=n,!0}let i=v(e)&&S(t)?Number(t)<e.length:(o=e,s=t,_.call(o,s)),u=Reflect.set(e,t,n,eB(e)?e:r);return e===eK(r)&&(i?Object.is(n,l)||eu(e,"set",t,n,l):eu(e,"add",t,n)),u}deleteProperty(e,t){let n,r,o=(n=e,r=t,_.call(n,r)),s=e[t],l=Reflect.deleteProperty(e,t);return l&&o&&eu(e,"delete",t,void 0,s),l}has(e,t){let n=Reflect.has(e,t);return g(t)&&ey.has(t)||ei(e,"has",t),n}ownKeys(e){return ei(e,"iterate",v(e)?"length":eo),Reflect.ownKeys(e)}}let ex=new ew,eS=new class extends eg{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}},ek=e=>e;function eO(e){return function(){return"delete"!==e&&("clear"===e?void 0:this)}}function eP(e,t){let n,r=(m(n={get(n){let r=this.__v_raw,o=eK(r),s=eK(n);e||(Object.is(n,s)||ei(o,"get",n),ei(o,"get",s));let{has:l}=Reflect.getPrototypeOf(o),i=t?ek:e?ez:eW;return l.call(o,n)?i(r.get(n)):l.call(o,s)?i(r.get(s)):void(r!==o&&r.get(n))},get size(){let t=this.__v_raw;return e||ei(eK(t),"iterate",eo),t.size},has(t){let n=this.__v_raw,r=eK(n),o=eK(t);return e||(Object.is(t,o)||ei(r,"has",t),ei(r,"has",o)),t===o?n.has(t):n.has(t)||n.has(o)},forEach(n,r){let o=this,s=o.__v_raw,l=eK(s),i=t?ek:e?ez:eW;return e||ei(l,"iterate",eo),s.forEach((e,t)=>n.call(r,i(e),i(t),o))}},e?{add:eO("add"),set:eO("set"),delete:eO("delete"),clear:eO("clear")}:{add(e){t||eV(e)||eU(e)||(e=eK(e));let n=eK(this);return Reflect.getPrototypeOf(n).has.call(n,e)||(n.add(e),eu(n,"add",e,e)),this},set(e,n){t||eV(n)||eU(n)||(n=eK(n));let r=eK(this),{has:o,get:s}=Reflect.getPrototypeOf(r),l=o.call(r,e);l||(e=eK(e),l=o.call(r,e));let i=s.call(r,e);return(r.set(e,n),l)?Object.is(n,i)||eu(r,"set",e,n,i):eu(r,"add",e,n),this},delete(e){let t=eK(this),{has:n,get:r}=Reflect.getPrototypeOf(t),o=n.call(t,e);o||(e=eK(e),o=n.call(t,e));let s=r?r.call(t,e):void 0,l=t.delete(e);return o&&eu(t,"delete",e,void 0,s),l},clear(){let e=eK(this),t=0!==e.size,n=e.clear();return t&&eu(e,"clear",void 0,void 0,void 0),n}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=function(...n){let o,s=this.__v_raw,l=eK(s),i="[object Map]"===(o=l,x.call(o)),u="entries"===r||r===Symbol.iterator&&i,a=s[r](...n),c=t?ek:e?ez:eW;return e||ei(l,"iterate","keys"===r&&i?es:eo),{next(){let{value:e,done:t}=a.next();return t?{value:e,done:t}:{value:u?[c(e[0]),c(e[1])]:c(e),done:t}},[Symbol.iterator](){return this}}}}),n);return(t,n,o)=>{let s,l;if("__v_isReactive"===n)return!e;if("__v_isReadonly"===n)return e;if("__v_raw"===n)return t;return Reflect.get((s=r,l=n,_.call(s,l)&&n in t)?r:t,n,o)}}let eC={get:eP(!1,!1)},eE={get:eP(!0,!1)},eI=new WeakMap,eR=new WeakMap,eT=new WeakMap,eA=new WeakMap;function eD(e){return eU(e)?e:eL(e,!1,ex,eC,eI)}function eM(e){return eL(e,!0,eS,eE,eT)}function eL(e,t,n,r,o){var s;let l;if(!w(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;let i=(s=e).__v_skip||!Object.isExtensible(s)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((l=s,x.call(l)).slice(8,-1));if(0===i)return e;let u=o.get(e);if(u)return u;let a=new Proxy(e,2===i?r:n);return o.set(e,a),a}function eF(e){return eU(e)?eF(e.__v_raw):!!(e&&e.__v_isReactive)}function eU(e){return!!(e&&e.__v_isReadonly)}function eV(e){return!!(e&&e.__v_isShallow)}function e$(e){return!!e&&!!e.__v_raw}function eK(e){let t=e&&e.__v_raw;return t?eK(t):e}function eN(e){let t,n;return t=e,n="__v_skip",!_.call(t,n)&&Object.isExtensible(e)&&((e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})})(e,"__v_skip",!0),e}let eW=e=>w(e)?eD(e):e,ez=e=>w(e)?eM(e):e;function eB(e){return!!e&&!0===e.__v_isRef}function eq(e){return eH(e,!1)}function eH(e,t){return eB(e)?e:new eG(e,t)}class eG{constructor(e,t){this.dep=new en,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:eK(e),this._value=t?e:eW(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){let t=this._rawValue,n=this.__v_isShallow||eV(e)||eU(e);Object.is(e=n?e:eK(e),t)||(this._rawValue=e,this._value=n?e:eW(e),this.dep.trigger())}}let eJ={get:(e,t,n)=>{var r;return"__v_raw"===t?e:eB(r=Reflect.get(e,t,n))?r.value:r},set:(e,t,n,r)=>{let o=e[t];return eB(o)&&!eB(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function eX(e){return eF(e)?e:new Proxy(e,eJ)}let eY={},eZ=new WeakMap;function eQ(e,t=1/0,n){if(t<=0||!w(e)||e.__v_skip||((n=n||new Map).get(e)||0)>=t)return e;if(n.set(e,t),t--,eB(e))eQ(e.value,t,n);else if(v(e))for(let r=0;r<e.length;r++)eQ(e[r],t,n);else{let r,o;if("[object Set]"===(r=e,x.call(r))||"[object Map]"===(o=e,x.call(o)))e.forEach(e=>{eQ(e,t,n)});else{let r;if("[object Object]"===(r=e,x.call(r))){for(let r in e)eQ(e[r],t,n);for(let r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&eQ(e[r],t,n)}}}return e}function e0(e,t,n,r){try{return r?e(...r):e()}catch(e){e2(e,t,n)}}function e1(e,t,n,r){if(y(e)){let o,s=e0(e,t,n,r);return s&&(w(o=s)||y(o))&&y(o.then)&&y(o.catch)&&s.catch(e=>{e2(e,t,n)}),s}if(v(e)){let o=[];for(let s=0;s<e.length;s++)o.push(e1(e[s],t,n,r));return o}}function e2(e,t,n,r=!0){let o=t?t.vnode:null,{errorHandler:s,throwUnhandledErrorInProduction:l}=t&&t.appContext.config||f;if(t){let r=t.parent,o=t.proxy,l=`https://vuejs.org/error-reference/#runtime-${n}`;for(;r;){let t=r.ec;if(t){for(let n=0;n<t.length;n++)if(!1===t[n](e,o,l))return}r=r.parent}if(s){Y(),e0(s,null,10,[e,o,l]),Z();return}}!function(e,t,n,r=!0,o=!1){if(o)throw e;console.error(e)}(e,0,0,r,l)}let e4=[],e6=-1,e8=[],e3=null,e5=0,e7=Promise.resolve(),e9=null;function te(e){let t=e9||e7;return e?t.then(this?e.bind(this):e):t}function tt(e){if(!(1&e.flags)){let t=tr(e),n=e4[e4.length-1];!n||!(2&e.flags)&&t>=tr(n)?e4.push(e):e4.splice(function(e){let t=e6+1,n=e4.length;for(;t<n;){let r=t+n>>>1,o=e4[r],s=tr(o);s<e||s===e&&2&o.flags?t=r+1:n=r}return t}(t),0,e),e.flags|=1,tn()}}function tn(){e9||(e9=e7.then(function e(t){try{for(e6=0;e6<e4.length;e6++){let e=e4[e6];e&&!(8&e.flags)&&(4&e.flags&&(e.flags&=-2),e0(e,e.i,e.i?15:14),4&e.flags||(e.flags&=-2))}}finally{for(;e6<e4.length;e6++){let e=e4[e6];e&&(e.flags&=-2)}e6=-1,e4.length=0,function(e){if(e8.length){let e=[...new Set(e8)].sort((e,t)=>tr(e)-tr(t));if(e8.length=0,e3)return e3.push(...e);for(e5=0,e3=e;e5<e3.length;e5++){let e=e3[e5];4&e.flags&&(e.flags&=-2),8&e.flags||e(),e.flags&=-2}e3=null,e5=0}}(0),e9=null,(e4.length||e8.length)&&e(t)}}))}let tr=e=>null==e.id?2&e.flags?-1:1/0:e.id,to=null,ts=null;Symbol("_vte"),Symbol("_leaveCb"),Symbol("_enterCb");A().requestIdleCallback||(e=>setTimeout(e,1)),A().cancelIdleCallback||(e=>clearTimeout(e));function tl(e,t,n=tH,r=!1){if(n){let o=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...r)=>{Y();let o=tJ(n),s=e1(t,n,e,r);return o(),Z(),s});return r?o.unshift(s):o.push(s),s}}let ti=e=>(t,n=tH)=>{tX&&"sp"!==e||tl(e,(...e)=>t(...e),n)},tu=ti("bm"),ta=ti("m"),tc=ti("bu"),td=ti("u"),tf=ti("bum"),tp=ti("um"),tj=ti("sp"),tm=ti("rtg"),th=ti("rtc"),t_=Symbol.for("v-ndc"),tv=e=>{var t;return e?function(e){return 4&e.vnode.shapeFlag}(e)?(t=e).exposed?t.exposeProxy||(t.exposeProxy=new Proxy(eX(eN(t.exposed)),{get:(e,n)=>n in e?e[n]:n in ty?ty[n](t):void 0,has:(e,t)=>t in e||t in ty})):t.proxy:tv(e.parent):null},ty=m(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>tv(e.parent),$root:e=>tv(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>tg(e),$forceUpdate:e=>e.f||(e.f=()=>{tt(e.update)}),$nextTick:e=>e.n||(e.n=te.bind(e.proxy)),$watch:e=>tM.bind(e)});function tb(e){return v(e)?e.reduce((e,t)=>(e[t]=null,e),{}):e}function tg(e){let t,n=e.type,{mixins:r,extends:o}=n,{mixins:s,optionsCache:l,config:{optionMergeStrategies:i}}=e.appContext,u=l.get(n);return u?t=u:s.length||r||o?(t={},s.length&&s.forEach(e=>tw(t,e,i,!0)),tw(t,n,i)):t=n,w(n)&&l.set(n,t),t}function tw(e,t,n,r=!1){let{mixins:o,extends:s}=t;for(let l in s&&tw(e,s,n,!0),o&&o.forEach(t=>tw(e,t,n,!0)),t)if(r&&"expose"===l);else{let r=tx[l]||n&&n[l];e[l]=r?r(e[l],t[l]):t[l]}return e}let tx={data:tS,props:tC,emits:tC,methods:tP,computed:tP,beforeCreate:tO,created:tO,beforeMount:tO,mounted:tO,beforeUpdate:tO,updated:tO,beforeDestroy:tO,beforeUnmount:tO,destroyed:tO,unmounted:tO,activated:tO,deactivated:tO,errorCaptured:tO,serverPrefetch:tO,components:tP,directives:tP,watch:function(e,t){if(!e)return t;if(!t)return e;let n=m(Object.create(null),e);for(let r in t)n[r]=tO(e[r],t[r]);return n},provide:tS,inject:function(e,t){return tP(tk(e),tk(t))}};function tS(e,t){return t?e?function(){return m(y(e)?e.call(this,this):e,y(t)?t.call(this,this):t)}:t:e}function tk(e){if(v(e)){let t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function tO(e,t){return e?[...new Set([].concat(e,t))]:t}function tP(e,t){return e?m(Object.create(null),e,t):t}function tC(e,t){return e?v(e)&&v(t)?[...new Set([...e,...t])]:m(Object.create(null),tb(e),tb(null!=t?t:{})):t}function tE(e,t){if(tH){let n=tH.provides,r=tH.parent&&tH.parent.provides;r===n&&(n=tH.provides=Object.create(r)),n[e]=t}}function tI(e,t,n=!1){let r=tG();if(r){let o=r?null==r.parent||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return n&&y(t)?t.call(r&&r.proxy):t}}let tR={},tT=e=>Object.getPrototypeOf(e)===tR,tA=Symbol.for("v-scx");function tD(e,n,r=f){let o,{immediate:s,deep:l,flush:i,once:u}=r,c=m({},r),d=n&&s||!n&&"post"!==i;if(tX){if("sync"===i){let e=tI(tA);o=e.__watcherHandles||(e.__watcherHandles=[])}else if(!d){let e=()=>{};return e.stop=p,e.resume=p,e.pause=p,e}}let j=tH;c.call=(e,t,n)=>e1(e,j,t,n);let _=!1;"post"===i?c.scheduler=e=>{!function(e,t){if(t&&t.pendingBranch)v(e)?t.effects.push(...e):t.effects.push(e);else v(e)?e8.push(...e):e3&&-1===e.id?e3.splice(e5+1,0,e):1&e.flags||(e8.push(e),e.flags|=1),tn()}(e,j&&j.suspense)}:"sync"!==i&&(_=!0,c.scheduler=(e,t)=>{t?e():tt(e)}),c.augmentJob=e=>{n&&(e.flags|=4),_&&(e.flags|=2,j&&(e.id=j.uid,e.i=j))};let b=function(e,n,r=f){let o,s,l,i,{immediate:u,deep:c,once:d,scheduler:j,augmentJob:m,call:_}=r,b=e=>c?e:eV(e)||!1===c||0===c?eQ(e,1):eQ(e),g=!1,w=!1;if(eB(e)?(s=()=>e.value,g=eV(e)):eF(e)?(s=()=>b(e),g=!0):v(e)?(w=!0,g=e.some(e=>eF(e)||eV(e)),s=()=>e.map(e=>eB(e)?e.value:eF(e)?b(e):y(e)?_?_(e,2):e():void 0)):s=y(e)?n?_?()=>_(e,2):e:()=>{if(l){Y();try{l()}finally{Z()}}let t=a;a=o;try{return _?_(e,3,[i]):e(i)}finally{a=t}}:p,n&&c){let e=s,t=!0===c?1/0:c;s=()=>eQ(e(),t)}let x=t,S=()=>{o.stop(),x&&x.active&&h(x.effects,o)};if(d&&n){let e=n;n=(...t)=>{e(...t),S()}}let k=w?Array(e.length).fill(eY):eY,O=e=>{if(1&o.flags&&(o.dirty||e))if(n){let e=o.run();if(c||g||(w?e.some((e,t)=>!Object.is(e,k[t])):!Object.is(e,k))){l&&l();let t=a;a=o;try{let t=[e,k===eY?void 0:w&&k[0]===eY?[]:k,i];k=e,_?_(n,3,t):n(...t)}finally{a=t}}}else o.run()};return m&&m(O),(o=new $(s)).scheduler=j?()=>j(O,!1):O,i=e=>(function(e,t=!1,n=a){if(n){let t=eZ.get(n);t||eZ.set(n,t=[]),t.push(e)}})(e,!1,o),l=o.onStop=()=>{let e=eZ.get(o);if(e){if(_)_(e,4);else for(let t of e)t();eZ.delete(o)}},n?u?O(!0):k=o.run():j?j(O.bind(null,!0),!0):o.run(),S.pause=o.pause.bind(o),S.resume=o.resume.bind(o),S.stop=S,S}(e,n,c);return tX&&(o?o.push(b):d&&b()),b}function tM(e,t,n){let r,o=this.proxy,s=b(e)?e.includes(".")?tL(o,e):()=>o[e]:e.bind(o,o);y(t)?r=t:(r=t.handler,n=t);let l=tJ(this),i=tD(s,r.bind(o),n);return l(),i}function tL(e,t){let n=t.split(".");return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}let tF=Symbol.for("v-fgt"),tU=Symbol.for("v-txt"),tV=Symbol.for("v-cmt");Symbol.for("v-stc");let t$=1;function tK(e){return!!e&&!0===e.__v_isVNode}let tN=({key:e})=>null!=e?e:null,tW=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?b(e)||eB(e)||y(e)?{i:to,r:e,k:t,f:!!n}:e:null),tz=function(e,t=null,n=null,r=0,o=null,s=!1){var l,i;if(e&&e!==t_||(e=tV),tK(e)){let r=tB(e,t,!0);return n&&tq(r,n),t$>0,r.patchFlag=-2,r}if(y(l=e)&&"__vccOpts"in l&&(e=e.__vccOpts),t){let{class:e,style:n}=t=(i=t)?e$(i)||tT(i)?m({},i):i:null;e&&!b(e)&&(t.class=U(e)),w(n)&&(e$(n)&&!v(n)&&(n=m({},n)),t.style=D(n))}let u=b(e)?1:e.__isSuspense?128:e.__isTeleport?64:w(e)?4:2*!!y(e);return function(e,t=null,n=null,r=0,o=null,s=+(e!==tF),l=!1,i=!1){let u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&tN(t),ref:t&&tW(t),scopeId:ts,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:to};return i?(tq(u,n),128&s&&e.normalize(u)):n&&(u.shapeFlag|=b(n)?8:16),t$>0,u}(e,t,n,r,o,u,s,!0)};function tB(e,t,n=!1,r=!1){let{props:o,ref:s,patchFlag:l,children:i,transition:u}=e,a=t?function(...e){let t={};for(let n=0;n<e.length;n++){let r=e[n];for(let e in r)if("class"===e)t.class!==r.class&&(t.class=U([t.class,r.class]));else if("style"===e)t.style=D([t.style,r.style]);else if(j(e)){let n=t[e],o=r[e];o&&n!==o&&!(v(n)&&n.includes(o))&&(t[e]=n?[].concat(n,o):o)}else""!==e&&(t[e]=r[e])}return t}(o||{},t):o,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&tN(a),ref:t&&t.ref?n&&s?v(s)?s.concat(tW(t)):[s,tW(t)]:tW(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==tF?-1===l?16:16|l:l,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:u,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&tB(e.ssContent),ssFallback:e.ssFallback&&tB(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return u&&r&&function e(t,n){6&t.shapeFlag&&t.component?(t.transition=n,e(t.component.subTree,n)):128&t.shapeFlag?(t.ssContent.transition=n.clone(t.ssContent),t.ssFallback.transition=n.clone(t.ssFallback)):t.transition=n}(c,u.clone(c)),c}function tq(e,t){let n=0,{shapeFlag:r}=e;if(null==t)t=null;else if(v(t))n=16;else if("object"==typeof t)if(65&r){let n=t.default;n&&(n._c&&(n._d=!1),tq(e,n()),n._c&&(n._d=!0));return}else{n=32;let r=t._;r||tT(t)?3===r&&to&&(1===to.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=to}else y(t)?(t={default:t,_ctx:to},n=32):(t=String(t),64&r?(n=16,t=[function(e=" ",t=0){return tz(tU,null,e,t)}(t)]):n=8);e.children=t,e.shapeFlag|=n}()=>!1;let tH=null,tG=()=>tH||to;{let e=A(),t=(t,n)=>{let r;return(r=e[t])||(r=e[t]=[]),r.push(n),e=>{r.length>1?r.forEach(t=>t(e)):r[0](e)}};i=t("__VUE_INSTANCE_SETTERS__",e=>tH=e),t("__VUE_SSR_SETTERS__",e=>tX=e)}let tJ=e=>{let t=tH;return i(e),e.scope.on(),()=>{e.scope.off(),i(t)}},tX=!1,tY="undefined"!=typeof window&&window.trustedTypes;if(tY)try{c=tY.createPolicy("vue",{createHTML:e=>e})}catch(e){}let tZ="undefined"!=typeof document?document:null,tQ=(tZ,"transition"),t0=Symbol("_vtc");Symbol("_vod"),Symbol("_vsh"),Symbol("");Symbol("_vei"),"undefined"!=typeof HTMLElement&&HTMLElement,Symbol("_moveCb"),Symbol("_enterCb"),Symbol("_assign");var t1=r("@bdky/aaas-pilot-kit");let t2=Symbol("AaaSPilotKitProvider");function t4(e){let t=eH(null,!0),n=eq(!1),r=eq(!1),o=eq(!1),s=eq(!1),l=()=>{t.value||(n.value=!1,t.value=eN((0,t1.createAaaSPilotKit)(e)))},i=()=>{t.value&&!n.value&&(n.value=!0,t.value.dispose(),t.value=null,r.value=!1,o.value=!1,s.value=!1)};l();let u=null;return tD(t,e=>{if(u&&(u(),u=null),null==e?void 0:e.emitter){let t=e.emitter,n=e=>{o.value=e},l=e=>{s.value=e},i=()=>{r.value=!0};if(!t.listenerCount||"function"!=typeof t.listenerCount)return void console.warn("Provider emitter is not fully initialized");t.on("mute",n),t.on("is_rendering_change",l),t.on("ready",i),u=()=>{t.off("mute",n),t.off("is_rendering_change",l),t.off("ready",i)}}},{immediate:!0}),tp(()=>{u&&u(),i()}),{controller:eM(t),isReady:eM(r),isMuted:eM(o),isRendering:eM(s),dispose:i,create:l}}function t6(e){let t=t4(e);return tE(t2,t),t}function t8(){let e=tI(t2);if(!e)throw Error("useAaaSPilotKit must be used within a component that provides AaaSPilotKit");return e}let t3=()=>t8(),t5=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=t3(),{onReady:n,onAsrStart:r,onAsrMessage:o,onRenderStart:s,onInactivity:l,onBusy:i,onInterrupt:u,onConversationChange:a,onIsRenderingChange:c,onReplyStart:d,onTtft:f}=e,p=null;tD(t.controller,()=>{te().then(()=>{(()=>{p&&(p(),p=null);let e=t.controller.value;if(!(null==e?void 0:e.emitter))return;let j=e.emitter,m=()=>{null==n||n()},h=()=>{null==r||r()},_=e=>{null==o||o(e)},v=e=>{null==s||s(e)},y=e=>{null==l||l(e)},b=e=>{null==i||i(e)},g=e=>{null==u||u(e)},w=e=>{null==a||a(e)},x=e=>{null==c||c(e)},S=e=>{null==d||d(e)},k=e=>{null==f||f(e)};j.listenerCount&&"function"==typeof j.listenerCount?(j.on("ready",m),j.on("asr_start",h),j.on("asr_message",_),j.on("render_start",v),j.on("inactivity",y),j.on("busy",b),j.on("interrupt",g),j.on("conversation_change",w),j.on("is_rendering_change",x),j.on("reply_start",S),j.on("ttft",k),p=()=>{j.off("ready",m),j.off("asr_start",h),j.off("asr_message",_),j.off("render_start",v),j.off("inactivity",y),j.off("busy",b),j.off("interrupt",g),j.off("conversation_change",w),j.off("is_rendering_change",x),j.off("reply_start",S),j.off("ttft",k)}):console.warn("Emitter is not fully initialized")})()})},{immediate:!0}),tp(()=>{p&&p()})},t7="undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),t9=new Uint8Array(16),ne=[];for(let e=0;e<256;++e)ne.push((e+256).toString(16).slice(1));let nt=function(e,t,n){if(t7&&!t&&!e)return t7();var r=e,o=n;let s=(r=r||{}).random??r.rng?.()??function(){if(!u){if("undefined"==typeof crypto||!crypto.getRandomValues)throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");u=crypto.getRandomValues.bind(crypto)}return u(t9)}();if(s.length<16)throw Error("Random bytes length must be >= 16");if(s[6]=15&s[6]|64,s[8]=63&s[8]|128,t){if((o=o||0)<0||o+16>t.length)throw RangeError(`UUID byte range ${o}:${o+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[o+e]=s[e];return t}return function(e,t=0){return(ne[e[t+0]]+ne[e[t+1]]+ne[e[t+2]]+ne[e[t+3]]+"-"+ne[e[t+4]]+ne[e[t+5]]+"-"+ne[e[t+6]]+ne[e[t+7]]+"-"+ne[e[t+8]]+ne[e[t+9]]+"-"+ne[e[t+10]]+ne[e[t+11]]+ne[e[t+12]]+ne[e[t+13]]+ne[e[t+14]]+ne[e[t+15]]).toLowerCase()}(s)};function nn(e){let t=t3(),n=eq([]),r=[],o=null;return tD(e,e=>{o&&o(),o=(e=>{let o;if(r=o=(e=>{let n=t.controller.value,r=null==n?void 0:n.conversationService;if(!e||!r)return[];let o=r.getUIState(e.id);if(o)return o.contents;if("client"===e.type)return[{uiId:nt(),mod:"text",content:e.text,completed:!1}];if(e instanceof t1.AIWorkerConversationBean){var s;if((null==(s=r.last)?void 0:s.id)===e.id)return[];if(e.contents.length>0){let t=r.buildSnapshotUIState(e);return r.setUIState(e.id,t),t.contents}}return[]})(e),n.value=o,!e)return null;let s=eK(e),l=o=>{r=o,n.value=[...o];let s=t.controller.value,l=null==s?void 0:s.conversationService;e&&l&&l.setUIState(e.id,{contents:o,mode:"stream"})},i=e=>{let t=r[r.length-1],n=[];if(t)if(t.mod===e.mod){let o={...t,content:t.content+e.content,completed:e.completed};n=[...r.slice(0,r.length-1),o]}else{let t={...e,uiId:nt()};n=[...r,t]}else n=[{...e,uiId:nt()}];l(n)},u=e=>{let t=r[r.length-1],n=[];if(t)if(t.mod===e.mod){let o={...t,content:e.content,completed:e.completed};n=[...r.slice(0,r.length-1),o]}else{let t={...e,uiId:nt()};n=[...r,t]}else n=[{...e,uiId:nt()}];l(n)},a=null,c=(null==s?void 0:s.emitter)?eK(s.emitter):null;if(!c)return console.warn("Conversation emitter is not available"),null;if(!c.on||"function"!=typeof c.on)return console.warn("Conversation emitter is not fully initialized"),null;try{s instanceof t1.AIWorkerConversationBean?(c.on("content_change",i),a=()=>{c.off("content_change",i)}):(c.on("content_change",u),a=()=>{c.off("content_change",u)})}catch(e){return console.error("Error setting up emitter listeners:",e),null}return a})(null!=e?e:null)},{immediate:!0}),tp(()=>{o&&o()}),{conversationContents:n}}function nr(){let e=t3(),t=eq([]),n=null;return tD(e.controller,()=>{te().then(()=>{(()=>{n&&(n(),n=null);let r=e.controller.value;if(!(null==r?void 0:r.emitter))return;let o=r.conversationService;o&&(t.value=[...o.beans]);let s=r.emitter,l=e=>{t.value=[...t.value,e]};s.listenerCount&&"function"==typeof s.listenerCount?(s.on("conversation_add",l),n=()=>{s.off("conversation_add",l)}):console.warn("Controller emitter is not fully initialized")})()})},{immediate:!0}),tp(()=>{n&&n()}),{conversationList:t}}let no=(e,t)=>{let n=null;tD(e,()=>{te().then(()=>{(()=>{n&&(n(),n=null);let r=e.value;if(!r||!(r instanceof t1.AIWorkerConversationBean))return;let o=eK(r),s=eK(o.emitter);if(!s||"function"!=typeof s.on)return console.warn("[useConversationEnd] emitter 未正确初始化");let l=e=>{null==t||t(e)};s.on("conversation_end",l),n=()=>{s.off("conversation_end",l)}})()})},{immediate:!0}),tp(()=>{n&&n()})}})(),o})());
package/package.json CHANGED
@@ -1,7 +1,23 @@
1
1
  {
2
2
  "name": "@bdky/aaas-pilot-kit-vue3",
3
- "version": "1.0.7",
3
+ "version": "1.0.9",
4
+ "description": "百度数字员工 AaaS Pilot Kit 的 Vue 3 封装,提供 Composables 和依赖注入支持",
5
+ "keywords": [
6
+ "vue3",
7
+ "vue-composables",
8
+ "composition-api",
9
+ "digital-employee",
10
+ "digital-human",
11
+ "数字员工",
12
+ "数字人",
13
+ "ai-assistant",
14
+ "chatbot",
15
+ "baidu",
16
+ "百度",
17
+ "客悦"
18
+ ],
4
19
  "license": "MIT",
20
+ "author": "Baidu Keyue Team <zhangwenxi@baidu.com>",
5
21
  "contributors": [
6
22
  {
7
23
  "name": "zhangwenxi",
@@ -32,7 +48,7 @@
32
48
  "analyze": "RSDOCTOR=true npx rslib build"
33
49
  },
34
50
  "dependencies": {
35
- "@bdky/aaas-pilot-kit": "^1.0.7",
51
+ "@bdky/aaas-pilot-kit": "^1.0.9",
36
52
  "uuid": "^13.0.0"
37
53
  },
38
54
  "devDependencies": {