Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@vue/composition-api

Package Overview
Dependencies
Maintainers
16
Versions
106
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vue/composition-api - npm Package Compare versions

Comparing version 1.0.0-beta.9 to 1.0.0-beta.10

10

CHANGELOG.md

@@ -0,1 +1,11 @@

<a name="1.0.0-beta.10"></a>
# [1.0.0-beta.10](https://github.com/vuejs/composition-api/compare/v1.0.0-beta.9...v1.0.0-beta.10) (2020-08-15)
### Bug Fixes
* **watch:** check if __ob__ has value before addSub ([#477](https://github.com/vuejs/composition-api/issues/477)) ([d8cd30d](https://github.com/vuejs/composition-api/commit/d8cd30d))
<a name="1.0.0-beta.9"></a>

@@ -2,0 +12,0 @@ # [1.0.0-beta.9](https://github.com/vuejs/composition-api/compare/v1.0.0-beta.8...v1.0.0-beta.9) (2020-08-11)

3

dist/vue-composition-api.common.js

@@ -876,2 +876,3 @@ 'use strict';

function createWatcher(vm, source, cb, options) {
var _a;
var flushMode = options.flush;

@@ -991,3 +992,3 @@ var isSync = flushMode === 'sync';

// watch for changes, this might happen when new key is added
if (isReactive(watcher.value) && deep) {
if (isReactive(watcher.value) && ((_a = watcher.value.__ob__) === null || _a === void 0 ? void 0 : _a.dep) && deep) {
watcher.value.__ob__.dep.addSub({

@@ -994,0 +995,0 @@ update: function () {

@@ -15,2 +15,2 @@ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e,t=(e=require("vue"))&&"object"==typeof e&&"default"in e?e.default:e;function n(e){return"function"==typeof e&&/native code/.test(e.toString())}var r="undefined"!=typeof Symbol&&n(Symbol)&&"undefined"!=typeof Reflect&&n(Reflect.ownKeys),o=function(e){return e},i={enumerable:!0,configurable:!0,get:o,set:o};function u(e,t,n){var r=n.get,u=n.set;i.get=r||o,i.set=u||o,Object.defineProperty(e,t,i)}function a(e,t,n,r){Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!0,configurable:!0})}function f(e,t){return Object.hasOwnProperty.call(e,t)}function c(e){return"[object Object]"===function(e){return Object.prototype.toString.call(e)}(e)}function s(e){return"function"==typeof e}function l(e,n){t.util.warn(e,n)}var p,v=null,d=null;function y(){return v}function b(){return d}function g(e){d=e}function h(e){return b()}function _(e,t){void 0===t&&(t={});var n=e.config.silent;e.config.silent=!0;var r=new e(t);return e.config.silent=n,r}function m(e){var t=y();return t&&e instanceof t}function x(e,t){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return e.$scopedSlots[t]?e.$scopedSlots[t].apply(e,n):l("slots."+t+'() got called outside of the "render()" scope',e)}}var w=function(){return(w=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};

PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */function j(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function O(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),u=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)u.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return u}function $(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(O(arguments[t]));return e}function S(e){return r?Symbol.for(e):e}var k=S("composition-api.preFlushQueue"),R=S("composition-api.postFlushQueue"),E=S("composition-api.accessControlIdentifier"),P=S("composition-api.reactiveIdentifier"),A=S("composition-api.rawIdentifierKey"),C=S("composition-api.readonlyIdentifierKey"),M="composition-api.refKey",D=function(e){u(this,"value",{get:e.get,set:e.set})};function I(e,t){void 0===t&&(t=!1);var n=new D(e);return t&&(n[C]=t),Object.seal(n)}function U(e){var t;if(z(e))return e;var n=L(((t={})[M]=e,t));return I({get:function(){return n[M]},set:function(e){return n[M]=e}})}function z(e){return e instanceof D}function B(e){return z(e)?e.value:e}function K(e,t){var n=e[t];return z(n)?n:I({get:function(){return e[t]},set:function(n){return e[t]=n}})}var F={},T={},V={};function W(e){return f(e,A)&&e[A]===V}function Q(e){return null!==(t=e)&&"object"==typeof t&&Object.isExtensible(e)&&f(e,P)&&e[P]===T;var t}function q(e){if(!(!c(e)||W(e)||Array.isArray(e)||z(e)||m(e)||f(e,E)&&e[E]===F)){Object.isExtensible(e)&&a(e,E,F);for(var t=Object.keys(e),n=0;n<t.length;n++)J(e,t[n])}}function J(e,t,n){if("__ob__"!==t){var r,o,i=Object.getOwnPropertyDescriptor(e,t);if(i){if(!1===i.configurable)return;r=i.get,o=i.set,r&&!o||2!==arguments.length||(n=e[t])}q(n),Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var o=r?r.call(e):n;return t!==M&&z(o)?o.value:o},set:function(i){if(!r||o){var u=r?r.call(e):n;t!==M&&z(u)&&!z(i)?u.value=i:o?o.call(e,i):n=i,q(i)}}})}}function N(e){var t,n=y();n.observable?t=n.observable(e):t=_(n,{data:{$$state:e}})._data.$$state;return t}function G(e){var t,n;if(!c(e)||Q(e)||W(e)||!Object.isExtensible(e))return e;var r=N({});H(r,!0),q(r);var o=r.__ob__,i=function(t){var n,i,a=e[t],f=Object.getOwnPropertyDescriptor(e,t);if(f){if(!1===f.configurable)return"continue";n=f.get,i=f.set,n&&!i||2!==u.length||(a=e[t])}Object.defineProperty(r,t,{enumerable:!0,configurable:!0,get:function(){var t=n?n.call(e):a;return o.dep.depend(),t},set:function(t){n&&!i||(i?i.call(e,t):a=t,o.dep.notify())}})},u=arguments;try{for(var a=j(Object.keys(e)),f=a.next();!f.done;f=a.next()){var s=f.value;i(s)}}catch(e){t={error:e}}finally{try{f&&!f.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}return r}function H(e,t){if(void 0===t&&(t=!1),!(!c(e)||W(e)||Array.isArray(e)||z(e)||m(e)||f(e,P)&&e[P]===T||(Object.isExtensible(e)&&a(e,P,T),t)))for(var n=Object.keys(e),r=0;r<n.length;r++)H(e[n[r]])}function L(e){if(!c(e)||Q(e)||W(e)||!Object.isExtensible(e))return e;var t=N(e);return H(e),q(t),t}function X(e){return c(e)&&Object.isExtensible(e)?(a(e,"__ob__",N({}).__ob__),a(e,A,V),e):e}function Y(e){return function(t){var n,r=h(((n=e)[0].toUpperCase(),n.slice(1)));r&&function(e,t,n,r){var o=t.$options,i=e.config.optionMergeStrategies[n];o[n]=i(o[n],function(e,t){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o=b();g(e);try{return t.apply(void 0,$(n))}finally{g(o)}}}(t,r))}(y(),r,e,t)}}var Z,ee=Y("beforeMount"),te=Y("mounted"),ne=Y("beforeUpdate"),re=Y("updated"),oe=Y("beforeDestroy"),ie=Y("destroyed"),ue=Y("errorCaptured"),ae=Y("activated"),fe=Y("deactivated"),ce=Y("serverPrefetch");function se(){ve(this,k)}function le(){ve(this,R)}function pe(){var e=b();return e?function(e){return void 0!==e[k]}(e)||function(e){e[k]=[],e[R]=[],e.$on("hook:beforeUpdate",se),e.$on("hook:updated",le)}(e):(Z||(Z=_(y())),e=Z),e}function ve(e,t){for(var n=e[t],r=0;r<n.length;r++)n[r]();n.length=0}function de(e,t,n){var r=function(){e.$nextTick((function(){e[k].length&&ve(e,k),e[R].length&&ve(e,R)}))};switch(n){case"pre":r(),e[k].push(t);break;case"post":r(),e[R].push(t);break;default:!function(e,t){if(!e)throw new Error("[vue-composition-api] "+t)}(!1,'flush must be one of ["post", "pre", "sync"], but got '+n)}}function ye(e,t){var n=e.teardown;e.teardown=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];n.apply(e,r),t()}}function be(e,t,n,r){var i,u=r.flush,a="sync"===u,f=function(e){i=function(){try{e()}catch(e){!function(e,t,n){if("undefined"==typeof window||"undefined"==typeof console)throw e;console.error(e)}(e)}}},c=function(){i&&(i(),i=null)},p=function(t){return a||e===Z?t:function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return de(e,(function(){t.apply(void 0,$(n))}),u)}};if(null===n){var v=!1,d=function(e,t,n,r){var o=e._watchers.length;return e.$watch(t,n,{immediate:r.immediateInvokeCallback,deep:r.deep,lazy:r.noRun,sync:r.sync,before:r.before}),e._watchers[o]}(e,(function(){if(!v)try{v=!0,t(f)}finally{v=!1}}),o,{deep:r.deep||!1,sync:a,before:c});ye(d,c),d.lazy=!1;var y=d.get.bind(d);return d.get=p(y),function(){d.teardown()}}var b,g=r.deep;Array.isArray(t)?b=function(){return t.map((function(e){return z(e)?e.value:e()}))}:z(t)?b=function(){return t.value}:Q(t)?(b=function(){return t},g=!0):s(t)?b=t:(b=o,l("Invalid watch source: "+JSON.stringify(t)+".\n A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.",e));var h=function(e,t){c(),n(e,t,f)},_=p(h);if(r.immediate){var m=_,x=function(e,t){x=m,h(e,t)};_=function(e,t){x(e,t)}}var w=e.$watch(b,_,{immediate:r.immediate,deep:g,sync:a}),j=e._watchers[e._watchers.length-1];return Q(j.value)&&g&&j.value.__ob__.dep.addSub({update:function(){j.run()}}),ye(j,c),function(){w()}}var ge={};var he={};var _e;var me={set:function(e,t,n){(e.__composition_api_state__=e.__composition_api_state__||{})[t]=n},get:function(e,t){return(e.__composition_api_state__||{})[t]}};function xe(e){var t=me.get(e,"rawBindings")||{};if(t&&Object.keys(t).length){for(var n=e.$refs,r=me.get(e,"refs")||[],o=0;o<r.length;o++){var i=t[f=r[o]];!n[f]&&i&&z(i)&&(i.value=null)}var u=Object.keys(n),a=[];for(o=0;o<u.length;o++){var f;i=t[f=u[o]];n[f]&&i&&z(i)&&(i.value=n[f],a.push(f))}me.set(e,"refs",a)}}function we(e,t){var n=e.$options._parentVnode;if(n){for(var r=me.get(e,"slots")||[],o=function(e,t){var n;if(e){if(e._normalized)return e._normalized;for(var r in n={},e)e[r]&&"$"!==r[0]&&(n[r]=!0)}else n={};for(var r in t)r in n||(n[r]=!0);return n}(n.data.scopedSlots,e.$slots),i=0;i<r.length;i++){o[a=r[i]]||delete t[a]}var u=Object.keys(o);for(i=0;i<u.length;i++){var a;t[a=u[i]]||(t[a]=x(e,a))}me.set(e,"slots",u)}}function je(e,t,n){var r=b();g(e);try{return t(e)}catch(e){if(!n)throw e;n(e)}finally{g(r)}}function Oe(e){e.mixin({beforeCreate:function(){var e=this,t=e.$options,n=t.setup,r=t.render;r&&(t.render=function(){for(var t=this,n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];return je(e,(function(){return r.apply(t,n)}))});if(!n)return;if("function"!=typeof n)return;var o=t.data;t.data=function(){return function(e,t){void 0===t&&(t={});var n,r=e.$options.setup,o=function(e){var t={slots:{}},n=["emit"];return["root","parent","refs","attrs","listeners","isServer","ssrContext"].forEach((function(n){var r,o,i;Array.isArray(n)?(r=O(n,2),o=r[0],i=r[1]):o=i=n,i="$"+i,u(t,o,{get:function(){return e[i]},set:function(){l("Cannot assign to '"+o+"' because it is a read-only property",e)}})})),n.forEach((function(n){var r="$"+n;u(t,n,{get:function(){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];e[r].apply(e,t)}}})})),t}(e);if(H(t),we(e,o.slots),je(e,(function(){n=r(t,o)})),!n)return;if(s(n)){var i=n;return void(e.$options.render=function(){return we(e,o.slots),je(e,(function(){return i()}))})}if(c(n)){var a=n;me.set(e,"rawBindings",n),Object.keys(n).forEach((function(t){var n=a[t];z(n)||(Q(n)?n=U(n):(s(n)&&(n=n.bind(e)),n=U(X(n)))),function(e,t,n){var r=e.$options.props;t in e||r&&f(r,t)||u(e,t,{get:function(){return n.value},set:function(e){n.value=e}})}(e,t,n)}))}}(e,e.$props),"function"==typeof o?o.call(e,e):o||{}}},mounted:function(){xe(this)},updated:function(){xe(this)}})}function $e(e){v||function(e){return f(e,"__composition_api_installed__")}(e)||(e.config.optionMergeStrategies.setup=function(e,t){return function(n,o){return function e(t,n){if(!t)return n;if(!n)return t;for(var o,i,u,a=r?Reflect.ownKeys(t):Object.keys(t),s=0;s<a.length;s++)"__ob__"!==(o=a[s])&&(i=n[o],u=t[o],f(n,o)?i!==u&&c(i)&&!z(i)&&c(u)&&!z(u)&&e(u,i):n[o]=u);return n}("function"==typeof e?e(n,o)||{}:void 0,"function"==typeof t?t(n,o)||{}:void 0)}},function(e){v=e,Object.defineProperty(e,"__composition_api_installed__",{configurable:!0,writable:!0,value:!0})}(e),Oe(e))}var Se={install:function(e){return $e(e)}};"undefined"!=typeof window&&window.Vue&&window.Vue.use(Se),exports.computed=function(e){var t,n,r,i,u=b();if("function"==typeof e?t=e:(t=e.get,n=e.set),u&&!u.$isServer){var a,f=function(){if(!p){var e=_(y(),{computed:{value:function(){return 0}}}),t=e._computedWatchers.value.constructor,n=e._data.__ob__.dep.constructor;p={Watcher:t,Dep:n},e.$destroy()}return p}(),c=f.Watcher,s=f.Dep;i=function(){return a||(a=new c(u,t,o,{lazy:!0})),a.dirty&&a.evaluate(),s.target&&a.depend(),a.value},r=function(e){n&&n(e)}}else{var l=_(y(),{computed:{$$state:{get:t,set:n}}});u&&u.$on("hook:destroyed",(function(){return l.$destroy()})),i=function(){return l.$$state},r=function(e){l.$$state=e}}return I({get:i,set:r},!n)},exports.createApp=function(e,t){void 0===t&&(t=void 0);var n=y(),r=void 0;return{config:n.config,use:n.use.bind(n),mixin:n.mixin.bind(n),component:n.component.bind(n),directive:n.directive.bind(n),mount:function(o,i){return r||((r=new n(w({propsData:t},e))).$mount(o,i),r)},unmount:function(){r&&(r.$destroy(),r=void 0)}}},exports.customRef=function(e){var t=U(0);return I(e((function(){t.value}),(function(){++t.value})))},exports.default=Se,exports.defineComponent=function(e){return e},exports.getCurrentInstance=b,exports.h=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=b();return n?n.$createElement.apply(n,e):(l("`createElement()` has been called outside of render function."),_e||(_e=_(y()).$createElement),_e.apply(_e,e))},exports.inject=function(e,t){if(!e)return t;var n=b();if(n){var r=function(e,t){for(var n=t;n;){if(n._provided&&f(n._provided,e))return n._provided[e];n=n.$parent}return ge}(e,n);return r!==ge?r:t}l("inject() can only be used inside setup() or functional components.")},exports.isReactive=Q,exports.isReadonly=function(e){return f(e,C)&&e[C]},exports.isRef=z,exports.markRaw=X,exports.markReactive=H,exports.nextTick=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return null===(e=y())||void 0===e?void 0:e.nextTick.apply(this,t)},exports.onActivated=ae,exports.onBeforeMount=ee,exports.onBeforeUnmount=oe,exports.onBeforeUpdate=ne,exports.onDeactivated=fe,exports.onErrorCaptured=ue,exports.onMounted=te,exports.onServerPrefetch=ce,exports.onUnmounted=ie,exports.onUpdated=re,exports.provide=function(e,t){var n=h();if(n){if(!n._provided){var r={};Object.defineProperty(n,"_provided",{get:function(){return r},set:function(e){return Object.assign(r,e)}})}n._provided[e]=t}},exports.proxyRefs=function(e){var t,n,r;if(Q(e))return e;var o=L(((t={})[M]=e,t)),i=function(e){u(o,e,{get:function(){return z(o[e])?o[e].value:o[e]},set:function(t){if(z(o[e]))return o[e].value=B(t);o[e]=B(t)}})};try{for(var a=j(Object.keys(e)),f=a.next();!f.done;f=a.next()){i(f.value)}}catch(e){n={error:e}}finally{try{f&&!f.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return o},exports.reactive=L,exports.ref=U,exports.set=function(e,t,n){var r,o=y().util,i=(o.warn,o.defineReactive);if(r=e,Array.isArray(r)&&function(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}(t))return e.length=Math.max(e.length,t),e.splice(t,1,n),n;if(t in e&&!(t in Object.prototype))return e[t]=n,n;var u=e.__ob__;return e._isVue||u&&u.vmCount?n:u?(i(u.value,t,n),J(e,t,n),H(u.value[t]),u.dep.notify(),n):(e[t]=n,n)},exports.shallowReactive=G,exports.shallowReadonly=function(e){var t,n,r;if(!c(e)||!Object.isExtensible(e))return e;var o=((t={})[C]=!0,t),i=L({}),u=i.__ob__,a=function(t){var n,r=e[t],i=void 0,a=Object.getOwnPropertyDescriptor(e,t);if(a){if(!1===a.configurable)return"continue";n=a.get,i=a.set,n&&!i||2!==f.length||(r=e[t])}Object.defineProperty(o,t,{enumerable:!0,configurable:!0,get:function(){var t=n?n.call(e):r;return u.dep.depend(),t},set:function(e){}})},f=arguments;try{for(var s=j(Object.keys(e)),l=s.next();!l.done;l=s.next()){var p=l.value;a(p)}}catch(e){n={error:e}}finally{try{l&&!l.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}return o},exports.shallowRef=function(e){var t;if(z(e))return e;var n=G(((t={})[M]=e,t));return I({get:function(){return n[M]},set:function(e){return n[M]=e}})},exports.toRaw=function(e){return W(e)||!Object.isExtensible(e)?e:e.__ob__.value||e},exports.toRef=K,exports.toRefs=function(e){if(!c(e))return e;var t={};for(var n in e)t[n]=K(e,n);return t},exports.triggerRef=function(e){z(e)&&(e.value=e.value)},exports.unref=B,exports.useCSSModule=function(e){void 0===e&&(e="$style");var t=b();if(!t)return he;var n=t[e];return n||he},exports.watch=function(e,t,n){var r=null;"function"==typeof t?r=t:(n=t,r=null);var o=function(e){return w({immediate:!1,deep:!1,flush:"post"},e)}(n);return be(pe(),e,r,o)},exports.watchEffect=function(e,t){var n=function(e){return w({immediate:!0,deep:!1,flush:"post"},e)}(t);return be(pe(),e,null,n)};
***************************************************************************** */function j(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function O(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),u=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)u.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return u}function $(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(O(arguments[t]));return e}function S(e){return r?Symbol.for(e):e}var k=S("composition-api.preFlushQueue"),R=S("composition-api.postFlushQueue"),E=S("composition-api.accessControlIdentifier"),P=S("composition-api.reactiveIdentifier"),A=S("composition-api.rawIdentifierKey"),C=S("composition-api.readonlyIdentifierKey"),M="composition-api.refKey",D=function(e){u(this,"value",{get:e.get,set:e.set})};function I(e,t){void 0===t&&(t=!1);var n=new D(e);return t&&(n[C]=t),Object.seal(n)}function U(e){var t;if(z(e))return e;var n=L(((t={})[M]=e,t));return I({get:function(){return n[M]},set:function(e){return n[M]=e}})}function z(e){return e instanceof D}function B(e){return z(e)?e.value:e}function K(e,t){var n=e[t];return z(n)?n:I({get:function(){return e[t]},set:function(n){return e[t]=n}})}var F={},T={},V={};function W(e){return f(e,A)&&e[A]===V}function Q(e){return null!==(t=e)&&"object"==typeof t&&Object.isExtensible(e)&&f(e,P)&&e[P]===T;var t}function q(e){if(!(!c(e)||W(e)||Array.isArray(e)||z(e)||m(e)||f(e,E)&&e[E]===F)){Object.isExtensible(e)&&a(e,E,F);for(var t=Object.keys(e),n=0;n<t.length;n++)J(e,t[n])}}function J(e,t,n){if("__ob__"!==t){var r,o,i=Object.getOwnPropertyDescriptor(e,t);if(i){if(!1===i.configurable)return;r=i.get,o=i.set,r&&!o||2!==arguments.length||(n=e[t])}q(n),Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var o=r?r.call(e):n;return t!==M&&z(o)?o.value:o},set:function(i){if(!r||o){var u=r?r.call(e):n;t!==M&&z(u)&&!z(i)?u.value=i:o?o.call(e,i):n=i,q(i)}}})}}function N(e){var t,n=y();n.observable?t=n.observable(e):t=_(n,{data:{$$state:e}})._data.$$state;return t}function G(e){var t,n;if(!c(e)||Q(e)||W(e)||!Object.isExtensible(e))return e;var r=N({});H(r,!0),q(r);var o=r.__ob__,i=function(t){var n,i,a=e[t],f=Object.getOwnPropertyDescriptor(e,t);if(f){if(!1===f.configurable)return"continue";n=f.get,i=f.set,n&&!i||2!==u.length||(a=e[t])}Object.defineProperty(r,t,{enumerable:!0,configurable:!0,get:function(){var t=n?n.call(e):a;return o.dep.depend(),t},set:function(t){n&&!i||(i?i.call(e,t):a=t,o.dep.notify())}})},u=arguments;try{for(var a=j(Object.keys(e)),f=a.next();!f.done;f=a.next()){var s=f.value;i(s)}}catch(e){t={error:e}}finally{try{f&&!f.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}return r}function H(e,t){if(void 0===t&&(t=!1),!(!c(e)||W(e)||Array.isArray(e)||z(e)||m(e)||f(e,P)&&e[P]===T||(Object.isExtensible(e)&&a(e,P,T),t)))for(var n=Object.keys(e),r=0;r<n.length;r++)H(e[n[r]])}function L(e){if(!c(e)||Q(e)||W(e)||!Object.isExtensible(e))return e;var t=N(e);return H(e),q(t),t}function X(e){return c(e)&&Object.isExtensible(e)?(a(e,"__ob__",N({}).__ob__),a(e,A,V),e):e}function Y(e){return function(t){var n,r=h(((n=e)[0].toUpperCase(),n.slice(1)));r&&function(e,t,n,r){var o=t.$options,i=e.config.optionMergeStrategies[n];o[n]=i(o[n],function(e,t){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o=b();g(e);try{return t.apply(void 0,$(n))}finally{g(o)}}}(t,r))}(y(),r,e,t)}}var Z,ee=Y("beforeMount"),te=Y("mounted"),ne=Y("beforeUpdate"),re=Y("updated"),oe=Y("beforeDestroy"),ie=Y("destroyed"),ue=Y("errorCaptured"),ae=Y("activated"),fe=Y("deactivated"),ce=Y("serverPrefetch");function se(){ve(this,k)}function le(){ve(this,R)}function pe(){var e=b();return e?function(e){return void 0!==e[k]}(e)||function(e){e[k]=[],e[R]=[],e.$on("hook:beforeUpdate",se),e.$on("hook:updated",le)}(e):(Z||(Z=_(y())),e=Z),e}function ve(e,t){for(var n=e[t],r=0;r<n.length;r++)n[r]();n.length=0}function de(e,t,n){var r=function(){e.$nextTick((function(){e[k].length&&ve(e,k),e[R].length&&ve(e,R)}))};switch(n){case"pre":r(),e[k].push(t);break;case"post":r(),e[R].push(t);break;default:!function(e,t){if(!e)throw new Error("[vue-composition-api] "+t)}(!1,'flush must be one of ["post", "pre", "sync"], but got '+n)}}function ye(e,t){var n=e.teardown;e.teardown=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];n.apply(e,r),t()}}function be(e,t,n,r){var i,u,a=r.flush,f="sync"===a,c=function(e){u=function(){try{e()}catch(e){!function(e,t,n){if("undefined"==typeof window||"undefined"==typeof console)throw e;console.error(e)}(e)}}},p=function(){u&&(u(),u=null)},v=function(t){return f||e===Z?t:function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return de(e,(function(){t.apply(void 0,$(n))}),a)}};if(null===n){var d=!1,y=function(e,t,n,r){var o=e._watchers.length;return e.$watch(t,n,{immediate:r.immediateInvokeCallback,deep:r.deep,lazy:r.noRun,sync:r.sync,before:r.before}),e._watchers[o]}(e,(function(){if(!d)try{d=!0,t(c)}finally{d=!1}}),o,{deep:r.deep||!1,sync:f,before:p});ye(y,p),y.lazy=!1;var b=y.get.bind(y);return y.get=v(b),function(){y.teardown()}}var g,h=r.deep;Array.isArray(t)?g=function(){return t.map((function(e){return z(e)?e.value:e()}))}:z(t)?g=function(){return t.value}:Q(t)?(g=function(){return t},h=!0):s(t)?g=t:(g=o,l("Invalid watch source: "+JSON.stringify(t)+".\n A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.",e));var _=function(e,t){p(),n(e,t,c)},m=v(_);if(r.immediate){var x=m,w=function(e,t){w=x,_(e,t)};m=function(e,t){w(e,t)}}var j=e.$watch(g,m,{immediate:r.immediate,deep:h,sync:f}),O=e._watchers[e._watchers.length-1];return Q(O.value)&&(null===(i=O.value.__ob__)||void 0===i?void 0:i.dep)&&h&&O.value.__ob__.dep.addSub({update:function(){O.run()}}),ye(O,p),function(){j()}}var ge={};var he={};var _e;var me={set:function(e,t,n){(e.__composition_api_state__=e.__composition_api_state__||{})[t]=n},get:function(e,t){return(e.__composition_api_state__||{})[t]}};function xe(e){var t=me.get(e,"rawBindings")||{};if(t&&Object.keys(t).length){for(var n=e.$refs,r=me.get(e,"refs")||[],o=0;o<r.length;o++){var i=t[f=r[o]];!n[f]&&i&&z(i)&&(i.value=null)}var u=Object.keys(n),a=[];for(o=0;o<u.length;o++){var f;i=t[f=u[o]];n[f]&&i&&z(i)&&(i.value=n[f],a.push(f))}me.set(e,"refs",a)}}function we(e,t){var n=e.$options._parentVnode;if(n){for(var r=me.get(e,"slots")||[],o=function(e,t){var n;if(e){if(e._normalized)return e._normalized;for(var r in n={},e)e[r]&&"$"!==r[0]&&(n[r]=!0)}else n={};for(var r in t)r in n||(n[r]=!0);return n}(n.data.scopedSlots,e.$slots),i=0;i<r.length;i++){o[a=r[i]]||delete t[a]}var u=Object.keys(o);for(i=0;i<u.length;i++){var a;t[a=u[i]]||(t[a]=x(e,a))}me.set(e,"slots",u)}}function je(e,t,n){var r=b();g(e);try{return t(e)}catch(e){if(!n)throw e;n(e)}finally{g(r)}}function Oe(e){e.mixin({beforeCreate:function(){var e=this,t=e.$options,n=t.setup,r=t.render;r&&(t.render=function(){for(var t=this,n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];return je(e,(function(){return r.apply(t,n)}))});if(!n)return;if("function"!=typeof n)return;var o=t.data;t.data=function(){return function(e,t){void 0===t&&(t={});var n,r=e.$options.setup,o=function(e){var t={slots:{}},n=["emit"];return["root","parent","refs","attrs","listeners","isServer","ssrContext"].forEach((function(n){var r,o,i;Array.isArray(n)?(r=O(n,2),o=r[0],i=r[1]):o=i=n,i="$"+i,u(t,o,{get:function(){return e[i]},set:function(){l("Cannot assign to '"+o+"' because it is a read-only property",e)}})})),n.forEach((function(n){var r="$"+n;u(t,n,{get:function(){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];e[r].apply(e,t)}}})})),t}(e);if(H(t),we(e,o.slots),je(e,(function(){n=r(t,o)})),!n)return;if(s(n)){var i=n;return void(e.$options.render=function(){return we(e,o.slots),je(e,(function(){return i()}))})}if(c(n)){var a=n;me.set(e,"rawBindings",n),Object.keys(n).forEach((function(t){var n=a[t];z(n)||(Q(n)?n=U(n):(s(n)&&(n=n.bind(e)),n=U(X(n)))),function(e,t,n){var r=e.$options.props;t in e||r&&f(r,t)||u(e,t,{get:function(){return n.value},set:function(e){n.value=e}})}(e,t,n)}))}}(e,e.$props),"function"==typeof o?o.call(e,e):o||{}}},mounted:function(){xe(this)},updated:function(){xe(this)}})}function $e(e){v||function(e){return f(e,"__composition_api_installed__")}(e)||(e.config.optionMergeStrategies.setup=function(e,t){return function(n,o){return function e(t,n){if(!t)return n;if(!n)return t;for(var o,i,u,a=r?Reflect.ownKeys(t):Object.keys(t),s=0;s<a.length;s++)"__ob__"!==(o=a[s])&&(i=n[o],u=t[o],f(n,o)?i!==u&&c(i)&&!z(i)&&c(u)&&!z(u)&&e(u,i):n[o]=u);return n}("function"==typeof e?e(n,o)||{}:void 0,"function"==typeof t?t(n,o)||{}:void 0)}},function(e){v=e,Object.defineProperty(e,"__composition_api_installed__",{configurable:!0,writable:!0,value:!0})}(e),Oe(e))}var Se={install:function(e){return $e(e)}};"undefined"!=typeof window&&window.Vue&&window.Vue.use(Se),exports.computed=function(e){var t,n,r,i,u=b();if("function"==typeof e?t=e:(t=e.get,n=e.set),u&&!u.$isServer){var a,f=function(){if(!p){var e=_(y(),{computed:{value:function(){return 0}}}),t=e._computedWatchers.value.constructor,n=e._data.__ob__.dep.constructor;p={Watcher:t,Dep:n},e.$destroy()}return p}(),c=f.Watcher,s=f.Dep;i=function(){return a||(a=new c(u,t,o,{lazy:!0})),a.dirty&&a.evaluate(),s.target&&a.depend(),a.value},r=function(e){n&&n(e)}}else{var l=_(y(),{computed:{$$state:{get:t,set:n}}});u&&u.$on("hook:destroyed",(function(){return l.$destroy()})),i=function(){return l.$$state},r=function(e){l.$$state=e}}return I({get:i,set:r},!n)},exports.createApp=function(e,t){void 0===t&&(t=void 0);var n=y(),r=void 0;return{config:n.config,use:n.use.bind(n),mixin:n.mixin.bind(n),component:n.component.bind(n),directive:n.directive.bind(n),mount:function(o,i){return r||((r=new n(w({propsData:t},e))).$mount(o,i),r)},unmount:function(){r&&(r.$destroy(),r=void 0)}}},exports.customRef=function(e){var t=U(0);return I(e((function(){t.value}),(function(){++t.value})))},exports.default=Se,exports.defineComponent=function(e){return e},exports.getCurrentInstance=b,exports.h=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=b();return n?n.$createElement.apply(n,e):(l("`createElement()` has been called outside of render function."),_e||(_e=_(y()).$createElement),_e.apply(_e,e))},exports.inject=function(e,t){if(!e)return t;var n=b();if(n){var r=function(e,t){for(var n=t;n;){if(n._provided&&f(n._provided,e))return n._provided[e];n=n.$parent}return ge}(e,n);return r!==ge?r:t}l("inject() can only be used inside setup() or functional components.")},exports.isReactive=Q,exports.isReadonly=function(e){return f(e,C)&&e[C]},exports.isRef=z,exports.markRaw=X,exports.markReactive=H,exports.nextTick=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return null===(e=y())||void 0===e?void 0:e.nextTick.apply(this,t)},exports.onActivated=ae,exports.onBeforeMount=ee,exports.onBeforeUnmount=oe,exports.onBeforeUpdate=ne,exports.onDeactivated=fe,exports.onErrorCaptured=ue,exports.onMounted=te,exports.onServerPrefetch=ce,exports.onUnmounted=ie,exports.onUpdated=re,exports.provide=function(e,t){var n=h();if(n){if(!n._provided){var r={};Object.defineProperty(n,"_provided",{get:function(){return r},set:function(e){return Object.assign(r,e)}})}n._provided[e]=t}},exports.proxyRefs=function(e){var t,n,r;if(Q(e))return e;var o=L(((t={})[M]=e,t)),i=function(e){u(o,e,{get:function(){return z(o[e])?o[e].value:o[e]},set:function(t){if(z(o[e]))return o[e].value=B(t);o[e]=B(t)}})};try{for(var a=j(Object.keys(e)),f=a.next();!f.done;f=a.next()){i(f.value)}}catch(e){n={error:e}}finally{try{f&&!f.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return o},exports.reactive=L,exports.ref=U,exports.set=function(e,t,n){var r,o=y().util,i=(o.warn,o.defineReactive);if(r=e,Array.isArray(r)&&function(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}(t))return e.length=Math.max(e.length,t),e.splice(t,1,n),n;if(t in e&&!(t in Object.prototype))return e[t]=n,n;var u=e.__ob__;return e._isVue||u&&u.vmCount?n:u?(i(u.value,t,n),J(e,t,n),H(u.value[t]),u.dep.notify(),n):(e[t]=n,n)},exports.shallowReactive=G,exports.shallowReadonly=function(e){var t,n,r;if(!c(e)||!Object.isExtensible(e))return e;var o=((t={})[C]=!0,t),i=L({}),u=i.__ob__,a=function(t){var n,r=e[t],i=void 0,a=Object.getOwnPropertyDescriptor(e,t);if(a){if(!1===a.configurable)return"continue";n=a.get,i=a.set,n&&!i||2!==f.length||(r=e[t])}Object.defineProperty(o,t,{enumerable:!0,configurable:!0,get:function(){var t=n?n.call(e):r;return u.dep.depend(),t},set:function(e){}})},f=arguments;try{for(var s=j(Object.keys(e)),l=s.next();!l.done;l=s.next()){var p=l.value;a(p)}}catch(e){n={error:e}}finally{try{l&&!l.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}return o},exports.shallowRef=function(e){var t;if(z(e))return e;var n=G(((t={})[M]=e,t));return I({get:function(){return n[M]},set:function(e){return n[M]=e}})},exports.toRaw=function(e){return W(e)||!Object.isExtensible(e)?e:e.__ob__.value||e},exports.toRef=K,exports.toRefs=function(e){if(!c(e))return e;var t={};for(var n in e)t[n]=K(e,n);return t},exports.triggerRef=function(e){z(e)&&(e.value=e.value)},exports.unref=B,exports.useCSSModule=function(e){void 0===e&&(e="$style");var t=b();if(!t)return he;var n=t[e];return n||he},exports.watch=function(e,t,n){var r=null;"function"==typeof t?r=t:(n=t,r=null);var o=function(e){return w({immediate:!1,deep:!1,flush:"post"},e)}(n);return be(pe(),e,r,o)},exports.watchEffect=function(e,t){var n=function(e){return w({immediate:!0,deep:!1,flush:"post"},e)}(t);return be(pe(),e,null,n)};

@@ -870,2 +870,3 @@ import Vue from 'vue';

function createWatcher(vm, source, cb, options) {
var _a;
var flushMode = options.flush;

@@ -985,3 +986,3 @@ var isSync = flushMode === 'sync';

// watch for changes, this might happen when new key is added
if (isReactive(watcher.value) && deep) {
if (isReactive(watcher.value) && ((_a = watcher.value.__ob__) === null || _a === void 0 ? void 0 : _a.dep) && deep) {
watcher.value.__ob__.dep.addSub({

@@ -988,0 +989,0 @@ update: function () {

@@ -876,2 +876,3 @@ (function (global, factory) {

function createWatcher(vm, source, cb, options) {
var _a;
var flushMode = options.flush;

@@ -991,3 +992,3 @@ var isSync = flushMode === 'sync';

// watch for changes, this might happen when new key is added
if (isReactive(watcher.value) && deep) {
if (isReactive(watcher.value) && ((_a = watcher.value.__ob__) === null || _a === void 0 ? void 0 : _a.dep) && deep) {
watcher.value.__ob__.dep.addSub({

@@ -994,0 +995,0 @@ update: function () {

@@ -15,2 +15,2 @@ !function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("vue")):"function"==typeof define&&define.amd?define(["exports","vue"],n):n((e="undefined"!=typeof globalThis?globalThis:e||self).VueCompositionAPI={},e.Vue)}(this,(function(e,n){"use strict";n=n&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n;function t(e){return"function"==typeof e&&/native code/.test(e.toString())}var r="undefined"!=typeof Symbol&&t(Symbol)&&"undefined"!=typeof Reflect&&t(Reflect.ownKeys),o=function(e){return e},i={enumerable:!0,configurable:!0,get:o,set:o};function u(e,n,t){var r=t.get,u=t.set;i.get=r||o,i.set=u||o,Object.defineProperty(e,n,i)}function a(e,n,t,r){Object.defineProperty(e,n,{value:t,enumerable:!!r,writable:!0,configurable:!0})}function f(e,n){return Object.hasOwnProperty.call(e,n)}function c(e){return"[object Object]"===function(e){return Object.prototype.toString.call(e)}(e)}function l(e){return"function"==typeof e}function s(e,t){n.util.warn(e,t)}var v,d=null,p=null;function y(){return d}function b(){return p}function h(e){p=e}function g(e){return b()}function _(e,n){void 0===n&&(n={});var t=e.config.silent;e.config.silent=!0;var r=new e(n);return e.config.silent=t,r}function m(e){var n=y();return n&&e instanceof n}function w(e,n){return function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return e.$scopedSlots[n]?e.$scopedSlots[n].apply(e,t):s("slots."+n+'() got called outside of the "render()" scope',e)}}var O=function(){return(O=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var o in n=arguments[t])Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o]);return e}).apply(this,arguments)};

PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */function j(e){var n="function"==typeof Symbol&&Symbol.iterator,t=n&&e[n],r=0;if(t)return t.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function $(e,n){var t="function"==typeof Symbol&&e[Symbol.iterator];if(!t)return e;var r,o,i=t.call(e),u=[];try{for(;(void 0===n||n-- >0)&&!(r=i.next()).done;)u.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(t=i.return)&&t.call(i)}finally{if(o)throw o.error}}return u}function x(){for(var e=[],n=0;n<arguments.length;n++)e=e.concat($(arguments[n]));return e}function S(e){return r?Symbol.for(e):e}var k=S("composition-api.preFlushQueue"),R=S("composition-api.postFlushQueue"),E=S("composition-api.accessControlIdentifier"),P=S("composition-api.reactiveIdentifier"),A=S("composition-api.rawIdentifierKey"),C=S("composition-api.readonlyIdentifierKey"),M="composition-api.refKey",D=function(e){u(this,"value",{get:e.get,set:e.set})};function I(e,n){void 0===n&&(n=!1);var t=new D(e);return n&&(t[C]=n),Object.seal(t)}function U(e){var n;if(T(e))return e;var t=L(((n={})[M]=e,n));return I({get:function(){return t[M]},set:function(e){return t[M]=e}})}function T(e){return e instanceof D}function V(e){return T(e)?e.value:e}function z(e,n){var t=e[n];return T(t)?t:I({get:function(){return e[n]},set:function(t){return e[n]=t}})}var B={},K={},F={};function W(e){return f(e,A)&&e[A]===F}function Q(e){return null!==(n=e)&&"object"==typeof n&&Object.isExtensible(e)&&f(e,P)&&e[P]===K;var n}function q(e){if(!(!c(e)||W(e)||Array.isArray(e)||T(e)||m(e)||f(e,E)&&e[E]===B)){Object.isExtensible(e)&&a(e,E,B);for(var n=Object.keys(e),t=0;t<n.length;t++)J(e,n[t])}}function J(e,n,t){if("__ob__"!==n){var r,o,i=Object.getOwnPropertyDescriptor(e,n);if(i){if(!1===i.configurable)return;r=i.get,o=i.set,r&&!o||2!==arguments.length||(t=e[n])}q(t),Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:function(){var o=r?r.call(e):t;return n!==M&&T(o)?o.value:o},set:function(i){if(!r||o){var u=r?r.call(e):t;n!==M&&T(u)&&!T(i)?u.value=i:o?o.call(e,i):t=i,q(i)}}})}}function N(e){var n,t=y();t.observable?n=t.observable(e):n=_(t,{data:{$$state:e}})._data.$$state;return n}function G(e){var n,t;if(!c(e)||Q(e)||W(e)||!Object.isExtensible(e))return e;var r=N({});H(r,!0),q(r);var o=r.__ob__,i=function(n){var t,i,a=e[n],f=Object.getOwnPropertyDescriptor(e,n);if(f){if(!1===f.configurable)return"continue";t=f.get,i=f.set,t&&!i||2!==u.length||(a=e[n])}Object.defineProperty(r,n,{enumerable:!0,configurable:!0,get:function(){var n=t?t.call(e):a;return o.dep.depend(),n},set:function(n){t&&!i||(i?i.call(e,n):a=n,o.dep.notify())}})},u=arguments;try{for(var a=j(Object.keys(e)),f=a.next();!f.done;f=a.next()){var l=f.value;i(l)}}catch(e){n={error:e}}finally{try{f&&!f.done&&(t=a.return)&&t.call(a)}finally{if(n)throw n.error}}return r}function H(e,n){if(void 0===n&&(n=!1),!(!c(e)||W(e)||Array.isArray(e)||T(e)||m(e)||f(e,P)&&e[P]===K||(Object.isExtensible(e)&&a(e,P,K),n)))for(var t=Object.keys(e),r=0;r<t.length;r++)H(e[t[r]])}function L(e){if(!c(e)||Q(e)||W(e)||!Object.isExtensible(e))return e;var n=N(e);return H(e),q(n),n}function X(e){return c(e)&&Object.isExtensible(e)?(a(e,"__ob__",N({}).__ob__),a(e,A,F),e):e}function Y(e){return function(n){var t,r=g(((t=e)[0].toUpperCase(),t.slice(1)));r&&function(e,n,t,r){var o=n.$options,i=e.config.optionMergeStrategies[t];o[t]=i(o[t],function(e,n){return function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var o=b();h(e);try{return n.apply(void 0,x(t))}finally{h(o)}}}(n,r))}(y(),r,e,n)}}var Z,ee=Y("beforeMount"),ne=Y("mounted"),te=Y("beforeUpdate"),re=Y("updated"),oe=Y("beforeDestroy"),ie=Y("destroyed"),ue=Y("errorCaptured"),ae=Y("activated"),fe=Y("deactivated"),ce=Y("serverPrefetch");function le(){de(this,k)}function se(){de(this,R)}function ve(){var e=b();return e?function(e){return void 0!==e[k]}(e)||function(e){e[k]=[],e[R]=[],e.$on("hook:beforeUpdate",le),e.$on("hook:updated",se)}(e):(Z||(Z=_(y())),e=Z),e}function de(e,n){for(var t=e[n],r=0;r<t.length;r++)t[r]();t.length=0}function pe(e,n,t){var r=function(){e.$nextTick((function(){e[k].length&&de(e,k),e[R].length&&de(e,R)}))};switch(t){case"pre":r(),e[k].push(n);break;case"post":r(),e[R].push(n);break;default:!function(e,n){if(!e)throw new Error("[vue-composition-api] "+n)}(!1,'flush must be one of ["post", "pre", "sync"], but got '+t)}}function ye(e,n){var t=e.teardown;e.teardown=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];t.apply(e,r),n()}}function be(e,n,t,r){var i,u=r.flush,a="sync"===u,f=function(e){i=function(){try{e()}catch(e){!function(e,n,t){if("undefined"==typeof window||"undefined"==typeof console)throw e;console.error(e)}(e)}}},c=function(){i&&(i(),i=null)},v=function(n){return a||e===Z?n:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return pe(e,(function(){n.apply(void 0,x(t))}),u)}};if(null===t){var d=!1,p=function(e,n,t,r){var o=e._watchers.length;return e.$watch(n,t,{immediate:r.immediateInvokeCallback,deep:r.deep,lazy:r.noRun,sync:r.sync,before:r.before}),e._watchers[o]}(e,(function(){if(!d)try{d=!0,n(f)}finally{d=!1}}),o,{deep:r.deep||!1,sync:a,before:c});ye(p,c),p.lazy=!1;var y=p.get.bind(p);return p.get=v(y),function(){p.teardown()}}var b,h=r.deep;Array.isArray(n)?b=function(){return n.map((function(e){return T(e)?e.value:e()}))}:T(n)?b=function(){return n.value}:Q(n)?(b=function(){return n},h=!0):l(n)?b=n:(b=o,s("Invalid watch source: "+JSON.stringify(n)+".\n A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.",e));var g=function(e,n){c(),t(e,n,f)},_=v(g);if(r.immediate){var m=_,w=function(e,n){w=m,g(e,n)};_=function(e,n){w(e,n)}}var O=e.$watch(b,_,{immediate:r.immediate,deep:h,sync:a}),j=e._watchers[e._watchers.length-1];return Q(j.value)&&h&&j.value.__ob__.dep.addSub({update:function(){j.run()}}),ye(j,c),function(){O()}}var he={};var ge={};var _e;var me={set:function(e,n,t){(e.__composition_api_state__=e.__composition_api_state__||{})[n]=t},get:function(e,n){return(e.__composition_api_state__||{})[n]}};function we(e){var n=me.get(e,"rawBindings")||{};if(n&&Object.keys(n).length){for(var t=e.$refs,r=me.get(e,"refs")||[],o=0;o<r.length;o++){var i=n[f=r[o]];!t[f]&&i&&T(i)&&(i.value=null)}var u=Object.keys(t),a=[];for(o=0;o<u.length;o++){var f;i=n[f=u[o]];t[f]&&i&&T(i)&&(i.value=t[f],a.push(f))}me.set(e,"refs",a)}}function Oe(e,n){var t=e.$options._parentVnode;if(t){for(var r=me.get(e,"slots")||[],o=function(e,n){var t;if(e){if(e._normalized)return e._normalized;for(var r in t={},e)e[r]&&"$"!==r[0]&&(t[r]=!0)}else t={};for(var r in n)r in t||(t[r]=!0);return t}(t.data.scopedSlots,e.$slots),i=0;i<r.length;i++){o[a=r[i]]||delete n[a]}var u=Object.keys(o);for(i=0;i<u.length;i++){var a;n[a=u[i]]||(n[a]=w(e,a))}me.set(e,"slots",u)}}function je(e,n,t){var r=b();h(e);try{return n(e)}catch(e){if(!t)throw e;t(e)}finally{h(r)}}function $e(e){e.mixin({beforeCreate:function(){var e=this,n=e.$options,t=n.setup,r=n.render;r&&(n.render=function(){for(var n=this,t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return je(e,(function(){return r.apply(n,t)}))});if(!t)return;if("function"!=typeof t)return;var o=n.data;n.data=function(){return function(e,n){void 0===n&&(n={});var t,r=e.$options.setup,o=function(e){var n={slots:{}},t=["emit"];return["root","parent","refs","attrs","listeners","isServer","ssrContext"].forEach((function(t){var r,o,i;Array.isArray(t)?(r=$(t,2),o=r[0],i=r[1]):o=i=t,i="$"+i,u(n,o,{get:function(){return e[i]},set:function(){s("Cannot assign to '"+o+"' because it is a read-only property",e)}})})),t.forEach((function(t){var r="$"+t;u(n,t,{get:function(){return function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];e[r].apply(e,n)}}})})),n}(e);if(H(n),Oe(e,o.slots),je(e,(function(){t=r(n,o)})),!t)return;if(l(t)){var i=t;return void(e.$options.render=function(){return Oe(e,o.slots),je(e,(function(){return i()}))})}if(c(t)){var a=t;me.set(e,"rawBindings",t),Object.keys(t).forEach((function(n){var t=a[n];T(t)||(Q(t)?t=U(t):(l(t)&&(t=t.bind(e)),t=U(X(t)))),function(e,n,t){var r=e.$options.props;n in e||r&&f(r,n)||u(e,n,{get:function(){return t.value},set:function(e){t.value=e}})}(e,n,t)}))}}(e,e.$props),"function"==typeof o?o.call(e,e):o||{}}},mounted:function(){we(this)},updated:function(){we(this)}})}function xe(e){d||function(e){return f(e,"__composition_api_installed__")}(e)||(e.config.optionMergeStrategies.setup=function(e,n){return function(t,o){return function e(n,t){if(!n)return t;if(!t)return n;for(var o,i,u,a=r?Reflect.ownKeys(n):Object.keys(n),l=0;l<a.length;l++)"__ob__"!==(o=a[l])&&(i=t[o],u=n[o],f(t,o)?i!==u&&c(i)&&!T(i)&&c(u)&&!T(u)&&e(u,i):t[o]=u);return t}("function"==typeof e?e(t,o)||{}:void 0,"function"==typeof n?n(t,o)||{}:void 0)}},function(e){d=e,Object.defineProperty(e,"__composition_api_installed__",{configurable:!0,writable:!0,value:!0})}(e),$e(e))}var Se={install:function(e){return xe(e)}};"undefined"!=typeof window&&window.Vue&&window.Vue.use(Se),e.computed=function(e){var n,t,r,i,u=b();if("function"==typeof e?n=e:(n=e.get,t=e.set),u&&!u.$isServer){var a,f=function(){if(!v){var e=_(y(),{computed:{value:function(){return 0}}}),n=e._computedWatchers.value.constructor,t=e._data.__ob__.dep.constructor;v={Watcher:n,Dep:t},e.$destroy()}return v}(),c=f.Watcher,l=f.Dep;i=function(){return a||(a=new c(u,n,o,{lazy:!0})),a.dirty&&a.evaluate(),l.target&&a.depend(),a.value},r=function(e){t&&t(e)}}else{var s=_(y(),{computed:{$$state:{get:n,set:t}}});u&&u.$on("hook:destroyed",(function(){return s.$destroy()})),i=function(){return s.$$state},r=function(e){s.$$state=e}}return I({get:i,set:r},!t)},e.createApp=function(e,n){void 0===n&&(n=void 0);var t=y(),r=void 0;return{config:t.config,use:t.use.bind(t),mixin:t.mixin.bind(t),component:t.component.bind(t),directive:t.directive.bind(t),mount:function(o,i){return r||((r=new t(O({propsData:n},e))).$mount(o,i),r)},unmount:function(){r&&(r.$destroy(),r=void 0)}}},e.customRef=function(e){var n=U(0);return I(e((function(){n.value}),(function(){++n.value})))},e.default=Se,e.defineComponent=function(e){return e},e.getCurrentInstance=b,e.h=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var t=b();return t?t.$createElement.apply(t,e):(s("`createElement()` has been called outside of render function."),_e||(_e=_(y()).$createElement),_e.apply(_e,e))},e.inject=function(e,n){if(!e)return n;var t=b();if(t){var r=function(e,n){for(var t=n;t;){if(t._provided&&f(t._provided,e))return t._provided[e];t=t.$parent}return he}(e,t);return r!==he?r:n}s("inject() can only be used inside setup() or functional components.")},e.isReactive=Q,e.isReadonly=function(e){return f(e,C)&&e[C]},e.isRef=T,e.markRaw=X,e.markReactive=H,e.nextTick=function(){for(var e,n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];return null===(e=y())||void 0===e?void 0:e.nextTick.apply(this,n)},e.onActivated=ae,e.onBeforeMount=ee,e.onBeforeUnmount=oe,e.onBeforeUpdate=te,e.onDeactivated=fe,e.onErrorCaptured=ue,e.onMounted=ne,e.onServerPrefetch=ce,e.onUnmounted=ie,e.onUpdated=re,e.provide=function(e,n){var t=g();if(t){if(!t._provided){var r={};Object.defineProperty(t,"_provided",{get:function(){return r},set:function(e){return Object.assign(r,e)}})}t._provided[e]=n}},e.proxyRefs=function(e){var n,t,r;if(Q(e))return e;var o=L(((n={})[M]=e,n)),i=function(e){u(o,e,{get:function(){return T(o[e])?o[e].value:o[e]},set:function(n){if(T(o[e]))return o[e].value=V(n);o[e]=V(n)}})};try{for(var a=j(Object.keys(e)),f=a.next();!f.done;f=a.next()){i(f.value)}}catch(e){t={error:e}}finally{try{f&&!f.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return o},e.reactive=L,e.ref=U,e.set=function(e,n,t){var r,o=y().util,i=(o.warn,o.defineReactive);if(r=e,Array.isArray(r)&&function(e){var n=parseFloat(String(e));return n>=0&&Math.floor(n)===n&&isFinite(e)}(n))return e.length=Math.max(e.length,n),e.splice(n,1,t),t;if(n in e&&!(n in Object.prototype))return e[n]=t,t;var u=e.__ob__;return e._isVue||u&&u.vmCount?t:u?(i(u.value,n,t),J(e,n,t),H(u.value[n]),u.dep.notify(),t):(e[n]=t,t)},e.shallowReactive=G,e.shallowReadonly=function(e){var n,t,r;if(!c(e)||!Object.isExtensible(e))return e;var o=((n={})[C]=!0,n),i=L({}),u=i.__ob__,a=function(n){var t,r=e[n],i=void 0,a=Object.getOwnPropertyDescriptor(e,n);if(a){if(!1===a.configurable)return"continue";t=a.get,i=a.set,t&&!i||2!==f.length||(r=e[n])}Object.defineProperty(o,n,{enumerable:!0,configurable:!0,get:function(){var n=t?t.call(e):r;return u.dep.depend(),n},set:function(e){}})},f=arguments;try{for(var l=j(Object.keys(e)),s=l.next();!s.done;s=l.next()){var v=s.value;a(v)}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=l.return)&&r.call(l)}finally{if(t)throw t.error}}return o},e.shallowRef=function(e){var n;if(T(e))return e;var t=G(((n={})[M]=e,n));return I({get:function(){return t[M]},set:function(e){return t[M]=e}})},e.toRaw=function(e){return W(e)||!Object.isExtensible(e)?e:e.__ob__.value||e},e.toRef=z,e.toRefs=function(e){if(!c(e))return e;var n={};for(var t in e)n[t]=z(e,t);return n},e.triggerRef=function(e){T(e)&&(e.value=e.value)},e.unref=V,e.useCSSModule=function(e){void 0===e&&(e="$style");var n=b();if(!n)return ge;var t=n[e];return t||ge},e.watch=function(e,n,t){var r=null;"function"==typeof n?r=n:(t=n,r=null);var o=function(e){return O({immediate:!1,deep:!1,flush:"post"},e)}(t);return be(ve(),e,r,o)},e.watchEffect=function(e,n){var t=function(e){return O({immediate:!0,deep:!1,flush:"post"},e)}(n);return be(ve(),e,null,t)},Object.defineProperty(e,"__esModule",{value:!0})}));
***************************************************************************** */function j(e){var n="function"==typeof Symbol&&Symbol.iterator,t=n&&e[n],r=0;if(t)return t.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function $(e,n){var t="function"==typeof Symbol&&e[Symbol.iterator];if(!t)return e;var r,o,i=t.call(e),u=[];try{for(;(void 0===n||n-- >0)&&!(r=i.next()).done;)u.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(t=i.return)&&t.call(i)}finally{if(o)throw o.error}}return u}function x(){for(var e=[],n=0;n<arguments.length;n++)e=e.concat($(arguments[n]));return e}function S(e){return r?Symbol.for(e):e}var k=S("composition-api.preFlushQueue"),R=S("composition-api.postFlushQueue"),E=S("composition-api.accessControlIdentifier"),P=S("composition-api.reactiveIdentifier"),A=S("composition-api.rawIdentifierKey"),C=S("composition-api.readonlyIdentifierKey"),M="composition-api.refKey",D=function(e){u(this,"value",{get:e.get,set:e.set})};function I(e,n){void 0===n&&(n=!1);var t=new D(e);return n&&(t[C]=n),Object.seal(t)}function U(e){var n;if(T(e))return e;var t=L(((n={})[M]=e,n));return I({get:function(){return t[M]},set:function(e){return t[M]=e}})}function T(e){return e instanceof D}function V(e){return T(e)?e.value:e}function z(e,n){var t=e[n];return T(t)?t:I({get:function(){return e[n]},set:function(t){return e[n]=t}})}var B={},K={},F={};function W(e){return f(e,A)&&e[A]===F}function Q(e){return null!==(n=e)&&"object"==typeof n&&Object.isExtensible(e)&&f(e,P)&&e[P]===K;var n}function q(e){if(!(!c(e)||W(e)||Array.isArray(e)||T(e)||m(e)||f(e,E)&&e[E]===B)){Object.isExtensible(e)&&a(e,E,B);for(var n=Object.keys(e),t=0;t<n.length;t++)J(e,n[t])}}function J(e,n,t){if("__ob__"!==n){var r,o,i=Object.getOwnPropertyDescriptor(e,n);if(i){if(!1===i.configurable)return;r=i.get,o=i.set,r&&!o||2!==arguments.length||(t=e[n])}q(t),Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:function(){var o=r?r.call(e):t;return n!==M&&T(o)?o.value:o},set:function(i){if(!r||o){var u=r?r.call(e):t;n!==M&&T(u)&&!T(i)?u.value=i:o?o.call(e,i):t=i,q(i)}}})}}function N(e){var n,t=y();t.observable?n=t.observable(e):n=_(t,{data:{$$state:e}})._data.$$state;return n}function G(e){var n,t;if(!c(e)||Q(e)||W(e)||!Object.isExtensible(e))return e;var r=N({});H(r,!0),q(r);var o=r.__ob__,i=function(n){var t,i,a=e[n],f=Object.getOwnPropertyDescriptor(e,n);if(f){if(!1===f.configurable)return"continue";t=f.get,i=f.set,t&&!i||2!==u.length||(a=e[n])}Object.defineProperty(r,n,{enumerable:!0,configurable:!0,get:function(){var n=t?t.call(e):a;return o.dep.depend(),n},set:function(n){t&&!i||(i?i.call(e,n):a=n,o.dep.notify())}})},u=arguments;try{for(var a=j(Object.keys(e)),f=a.next();!f.done;f=a.next()){var l=f.value;i(l)}}catch(e){n={error:e}}finally{try{f&&!f.done&&(t=a.return)&&t.call(a)}finally{if(n)throw n.error}}return r}function H(e,n){if(void 0===n&&(n=!1),!(!c(e)||W(e)||Array.isArray(e)||T(e)||m(e)||f(e,P)&&e[P]===K||(Object.isExtensible(e)&&a(e,P,K),n)))for(var t=Object.keys(e),r=0;r<t.length;r++)H(e[t[r]])}function L(e){if(!c(e)||Q(e)||W(e)||!Object.isExtensible(e))return e;var n=N(e);return H(e),q(n),n}function X(e){return c(e)&&Object.isExtensible(e)?(a(e,"__ob__",N({}).__ob__),a(e,A,F),e):e}function Y(e){return function(n){var t,r=g(((t=e)[0].toUpperCase(),t.slice(1)));r&&function(e,n,t,r){var o=n.$options,i=e.config.optionMergeStrategies[t];o[t]=i(o[t],function(e,n){return function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var o=b();h(e);try{return n.apply(void 0,x(t))}finally{h(o)}}}(n,r))}(y(),r,e,n)}}var Z,ee=Y("beforeMount"),ne=Y("mounted"),te=Y("beforeUpdate"),re=Y("updated"),oe=Y("beforeDestroy"),ie=Y("destroyed"),ue=Y("errorCaptured"),ae=Y("activated"),fe=Y("deactivated"),ce=Y("serverPrefetch");function le(){de(this,k)}function se(){de(this,R)}function ve(){var e=b();return e?function(e){return void 0!==e[k]}(e)||function(e){e[k]=[],e[R]=[],e.$on("hook:beforeUpdate",le),e.$on("hook:updated",se)}(e):(Z||(Z=_(y())),e=Z),e}function de(e,n){for(var t=e[n],r=0;r<t.length;r++)t[r]();t.length=0}function pe(e,n,t){var r=function(){e.$nextTick((function(){e[k].length&&de(e,k),e[R].length&&de(e,R)}))};switch(t){case"pre":r(),e[k].push(n);break;case"post":r(),e[R].push(n);break;default:!function(e,n){if(!e)throw new Error("[vue-composition-api] "+n)}(!1,'flush must be one of ["post", "pre", "sync"], but got '+t)}}function ye(e,n){var t=e.teardown;e.teardown=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];t.apply(e,r),n()}}function be(e,n,t,r){var i,u,a=r.flush,f="sync"===a,c=function(e){u=function(){try{e()}catch(e){!function(e,n,t){if("undefined"==typeof window||"undefined"==typeof console)throw e;console.error(e)}(e)}}},v=function(){u&&(u(),u=null)},d=function(n){return f||e===Z?n:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return pe(e,(function(){n.apply(void 0,x(t))}),a)}};if(null===t){var p=!1,y=function(e,n,t,r){var o=e._watchers.length;return e.$watch(n,t,{immediate:r.immediateInvokeCallback,deep:r.deep,lazy:r.noRun,sync:r.sync,before:r.before}),e._watchers[o]}(e,(function(){if(!p)try{p=!0,n(c)}finally{p=!1}}),o,{deep:r.deep||!1,sync:f,before:v});ye(y,v),y.lazy=!1;var b=y.get.bind(y);return y.get=d(b),function(){y.teardown()}}var h,g=r.deep;Array.isArray(n)?h=function(){return n.map((function(e){return T(e)?e.value:e()}))}:T(n)?h=function(){return n.value}:Q(n)?(h=function(){return n},g=!0):l(n)?h=n:(h=o,s("Invalid watch source: "+JSON.stringify(n)+".\n A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.",e));var _=function(e,n){v(),t(e,n,c)},m=d(_);if(r.immediate){var w=m,O=function(e,n){O=w,_(e,n)};m=function(e,n){O(e,n)}}var j=e.$watch(h,m,{immediate:r.immediate,deep:g,sync:f}),$=e._watchers[e._watchers.length-1];return Q($.value)&&(null===(i=$.value.__ob__)||void 0===i?void 0:i.dep)&&g&&$.value.__ob__.dep.addSub({update:function(){$.run()}}),ye($,v),function(){j()}}var he={};var ge={};var _e;var me={set:function(e,n,t){(e.__composition_api_state__=e.__composition_api_state__||{})[n]=t},get:function(e,n){return(e.__composition_api_state__||{})[n]}};function we(e){var n=me.get(e,"rawBindings")||{};if(n&&Object.keys(n).length){for(var t=e.$refs,r=me.get(e,"refs")||[],o=0;o<r.length;o++){var i=n[f=r[o]];!t[f]&&i&&T(i)&&(i.value=null)}var u=Object.keys(t),a=[];for(o=0;o<u.length;o++){var f;i=n[f=u[o]];t[f]&&i&&T(i)&&(i.value=t[f],a.push(f))}me.set(e,"refs",a)}}function Oe(e,n){var t=e.$options._parentVnode;if(t){for(var r=me.get(e,"slots")||[],o=function(e,n){var t;if(e){if(e._normalized)return e._normalized;for(var r in t={},e)e[r]&&"$"!==r[0]&&(t[r]=!0)}else t={};for(var r in n)r in t||(t[r]=!0);return t}(t.data.scopedSlots,e.$slots),i=0;i<r.length;i++){o[a=r[i]]||delete n[a]}var u=Object.keys(o);for(i=0;i<u.length;i++){var a;n[a=u[i]]||(n[a]=w(e,a))}me.set(e,"slots",u)}}function je(e,n,t){var r=b();h(e);try{return n(e)}catch(e){if(!t)throw e;t(e)}finally{h(r)}}function $e(e){e.mixin({beforeCreate:function(){var e=this,n=e.$options,t=n.setup,r=n.render;r&&(n.render=function(){for(var n=this,t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return je(e,(function(){return r.apply(n,t)}))});if(!t)return;if("function"!=typeof t)return;var o=n.data;n.data=function(){return function(e,n){void 0===n&&(n={});var t,r=e.$options.setup,o=function(e){var n={slots:{}},t=["emit"];return["root","parent","refs","attrs","listeners","isServer","ssrContext"].forEach((function(t){var r,o,i;Array.isArray(t)?(r=$(t,2),o=r[0],i=r[1]):o=i=t,i="$"+i,u(n,o,{get:function(){return e[i]},set:function(){s("Cannot assign to '"+o+"' because it is a read-only property",e)}})})),t.forEach((function(t){var r="$"+t;u(n,t,{get:function(){return function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];e[r].apply(e,n)}}})})),n}(e);if(H(n),Oe(e,o.slots),je(e,(function(){t=r(n,o)})),!t)return;if(l(t)){var i=t;return void(e.$options.render=function(){return Oe(e,o.slots),je(e,(function(){return i()}))})}if(c(t)){var a=t;me.set(e,"rawBindings",t),Object.keys(t).forEach((function(n){var t=a[n];T(t)||(Q(t)?t=U(t):(l(t)&&(t=t.bind(e)),t=U(X(t)))),function(e,n,t){var r=e.$options.props;n in e||r&&f(r,n)||u(e,n,{get:function(){return t.value},set:function(e){t.value=e}})}(e,n,t)}))}}(e,e.$props),"function"==typeof o?o.call(e,e):o||{}}},mounted:function(){we(this)},updated:function(){we(this)}})}function xe(e){d||function(e){return f(e,"__composition_api_installed__")}(e)||(e.config.optionMergeStrategies.setup=function(e,n){return function(t,o){return function e(n,t){if(!n)return t;if(!t)return n;for(var o,i,u,a=r?Reflect.ownKeys(n):Object.keys(n),l=0;l<a.length;l++)"__ob__"!==(o=a[l])&&(i=t[o],u=n[o],f(t,o)?i!==u&&c(i)&&!T(i)&&c(u)&&!T(u)&&e(u,i):t[o]=u);return t}("function"==typeof e?e(t,o)||{}:void 0,"function"==typeof n?n(t,o)||{}:void 0)}},function(e){d=e,Object.defineProperty(e,"__composition_api_installed__",{configurable:!0,writable:!0,value:!0})}(e),$e(e))}var Se={install:function(e){return xe(e)}};"undefined"!=typeof window&&window.Vue&&window.Vue.use(Se),e.computed=function(e){var n,t,r,i,u=b();if("function"==typeof e?n=e:(n=e.get,t=e.set),u&&!u.$isServer){var a,f=function(){if(!v){var e=_(y(),{computed:{value:function(){return 0}}}),n=e._computedWatchers.value.constructor,t=e._data.__ob__.dep.constructor;v={Watcher:n,Dep:t},e.$destroy()}return v}(),c=f.Watcher,l=f.Dep;i=function(){return a||(a=new c(u,n,o,{lazy:!0})),a.dirty&&a.evaluate(),l.target&&a.depend(),a.value},r=function(e){t&&t(e)}}else{var s=_(y(),{computed:{$$state:{get:n,set:t}}});u&&u.$on("hook:destroyed",(function(){return s.$destroy()})),i=function(){return s.$$state},r=function(e){s.$$state=e}}return I({get:i,set:r},!t)},e.createApp=function(e,n){void 0===n&&(n=void 0);var t=y(),r=void 0;return{config:t.config,use:t.use.bind(t),mixin:t.mixin.bind(t),component:t.component.bind(t),directive:t.directive.bind(t),mount:function(o,i){return r||((r=new t(O({propsData:n},e))).$mount(o,i),r)},unmount:function(){r&&(r.$destroy(),r=void 0)}}},e.customRef=function(e){var n=U(0);return I(e((function(){n.value}),(function(){++n.value})))},e.default=Se,e.defineComponent=function(e){return e},e.getCurrentInstance=b,e.h=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var t=b();return t?t.$createElement.apply(t,e):(s("`createElement()` has been called outside of render function."),_e||(_e=_(y()).$createElement),_e.apply(_e,e))},e.inject=function(e,n){if(!e)return n;var t=b();if(t){var r=function(e,n){for(var t=n;t;){if(t._provided&&f(t._provided,e))return t._provided[e];t=t.$parent}return he}(e,t);return r!==he?r:n}s("inject() can only be used inside setup() or functional components.")},e.isReactive=Q,e.isReadonly=function(e){return f(e,C)&&e[C]},e.isRef=T,e.markRaw=X,e.markReactive=H,e.nextTick=function(){for(var e,n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];return null===(e=y())||void 0===e?void 0:e.nextTick.apply(this,n)},e.onActivated=ae,e.onBeforeMount=ee,e.onBeforeUnmount=oe,e.onBeforeUpdate=te,e.onDeactivated=fe,e.onErrorCaptured=ue,e.onMounted=ne,e.onServerPrefetch=ce,e.onUnmounted=ie,e.onUpdated=re,e.provide=function(e,n){var t=g();if(t){if(!t._provided){var r={};Object.defineProperty(t,"_provided",{get:function(){return r},set:function(e){return Object.assign(r,e)}})}t._provided[e]=n}},e.proxyRefs=function(e){var n,t,r;if(Q(e))return e;var o=L(((n={})[M]=e,n)),i=function(e){u(o,e,{get:function(){return T(o[e])?o[e].value:o[e]},set:function(n){if(T(o[e]))return o[e].value=V(n);o[e]=V(n)}})};try{for(var a=j(Object.keys(e)),f=a.next();!f.done;f=a.next()){i(f.value)}}catch(e){t={error:e}}finally{try{f&&!f.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return o},e.reactive=L,e.ref=U,e.set=function(e,n,t){var r,o=y().util,i=(o.warn,o.defineReactive);if(r=e,Array.isArray(r)&&function(e){var n=parseFloat(String(e));return n>=0&&Math.floor(n)===n&&isFinite(e)}(n))return e.length=Math.max(e.length,n),e.splice(n,1,t),t;if(n in e&&!(n in Object.prototype))return e[n]=t,t;var u=e.__ob__;return e._isVue||u&&u.vmCount?t:u?(i(u.value,n,t),J(e,n,t),H(u.value[n]),u.dep.notify(),t):(e[n]=t,t)},e.shallowReactive=G,e.shallowReadonly=function(e){var n,t,r;if(!c(e)||!Object.isExtensible(e))return e;var o=((n={})[C]=!0,n),i=L({}),u=i.__ob__,a=function(n){var t,r=e[n],i=void 0,a=Object.getOwnPropertyDescriptor(e,n);if(a){if(!1===a.configurable)return"continue";t=a.get,i=a.set,t&&!i||2!==f.length||(r=e[n])}Object.defineProperty(o,n,{enumerable:!0,configurable:!0,get:function(){var n=t?t.call(e):r;return u.dep.depend(),n},set:function(e){}})},f=arguments;try{for(var l=j(Object.keys(e)),s=l.next();!s.done;s=l.next()){var v=s.value;a(v)}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=l.return)&&r.call(l)}finally{if(t)throw t.error}}return o},e.shallowRef=function(e){var n;if(T(e))return e;var t=G(((n={})[M]=e,n));return I({get:function(){return t[M]},set:function(e){return t[M]=e}})},e.toRaw=function(e){return W(e)||!Object.isExtensible(e)?e:e.__ob__.value||e},e.toRef=z,e.toRefs=function(e){if(!c(e))return e;var n={};for(var t in e)n[t]=z(e,t);return n},e.triggerRef=function(e){T(e)&&(e.value=e.value)},e.unref=V,e.useCSSModule=function(e){void 0===e&&(e="$style");var n=b();if(!n)return ge;var t=n[e];return t||ge},e.watch=function(e,n,t){var r=null;"function"==typeof n?r=n:(t=n,r=null);var o=function(e){return O({immediate:!1,deep:!1,flush:"post"},e)}(t);return be(ve(),e,r,o)},e.watchEffect=function(e,n){var t=function(e){return O({immediate:!0,deep:!1,flush:"post"},e)}(n);return be(ve(),e,null,t)},Object.defineProperty(e,"__esModule",{value:!0})}));

@@ -0,0 +0,0 @@ 'use strict'

{
"name": "@vue/composition-api",
"version": "1.0.0-beta.9",
"version": "1.0.0-beta.10",
"description": "Provide logic composition capabilities for Vue.",

@@ -5,0 +5,0 @@ "keywords": [

@@ -43,3 +43,3 @@ # @vue/composition-api

<script src="https://cdn.jsdelivr.net/npm/vue@2.6"></script>
<script src="https://cdn.jsdelivr.net/npm/@vue/composition-api@1.0.0-beta.9"></script>
<script src="https://cdn.jsdelivr.net/npm/@vue/composition-api@1.0.0-beta.10"></script>
```

@@ -46,0 +46,0 @@ <!--cdn-links-end-->

@@ -43,3 +43,3 @@ # @vue/composition-api

<script src="https://cdn.jsdelivr.net/npm/vue@2.6"></script>
<script src="https://cdn.jsdelivr.net/npm/@vue/composition-api@1.0.0-beta.9"></script>
<script src="https://cdn.jsdelivr.net/npm/@vue/composition-api@1.0.0-beta.10"></script>
```

@@ -46,0 +46,0 @@ <!--cdn-links-end-->

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc