@vue/composition-api
Advanced tools
Comparing version 1.3.3 to 1.4.0-beta.0
@@ -0,1 +1,11 @@ | ||
<a name="1.4.0-beta.0"></a> | ||
# [1.4.0-beta.0](https://github.com/vuejs/composition-api/compare/v1.3.3...v1.4.0-beta.0) (2021-11-07) | ||
### Features | ||
* add component $emit typing support ([#846](https://github.com/vuejs/composition-api/issues/846)) ([b980175](https://github.com/vuejs/composition-api/commit/b980175)) | ||
<a name="1.3.3"></a> | ||
@@ -2,0 +12,0 @@ ## [1.3.3](https://github.com/vuejs/composition-api/compare/v1.3.2...v1.3.3) (2021-11-03) |
@@ -16,2 +16,2 @@ "use strict";function t(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var n=t(require("vue"));function e(t){return"function"==typeof t&&/native code/.test(t.toString())}var r="undefined"!=typeof Symbol&&e(Symbol)&&"undefined"!=typeof Reflect&&e(Reflect.ownKeys),o=function(t){return t};function i(t,n,e){var r=e.get,i=e.set;Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:r||o,set:i||o})}function u(t,n,e,r){Object.defineProperty(t,n,{value:e,enumerable:!!r,writable:!0,configurable:!0})}function f(t,n){return Object.hasOwnProperty.call(t,n)}function a(t){return Array.isArray(t)}var c=Object.prototype.toString,s=function(t){return c.call(t)};function l(t){var n=parseFloat(String(t));return n>=0&&Math.floor(n)===n&&isFinite(t)&&n<=4294967295}function v(t){return null!==t&&"object"==typeof t}function p(t){return"[object Object]"===function(t){return Object.prototype.toString.call(t)}(t)}function d(t){return"function"==typeof t}function _(t,e){n.default.util.warn(t,e)} | ||
***************************************************************************** */ | ||
var y=function(t,n){return y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e])},y(t,n)};var h,b=function(){return b=Object.assign||function(t){for(var n,e=1,r=arguments.length;e<r;e++)for(var o in n=arguments[e])Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o]);return t},b.apply(this,arguments)};function g(t){var n="function"==typeof Symbol&&Symbol.iterator,e=n&&t[n],r=0;if(e)return e.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function x(t,n){var e="function"==typeof Symbol&&t[Symbol.iterator];if(!e)return t;var r,o,i=e.call(t),u=[];try{for(;(void 0===n||n-- >0)&&!(r=i.next()).done;)u.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(e=i.return)&&e.call(i)}finally{if(o)throw o.error}}return u}function w(t,n){for(var e=0,r=n.length,o=t.length;e<r;e++,o++)t[o]=n[e];return t}var m=[],$=function(){function t(t){this.active=!0,this.effects=[],this.cleanups=[],this.vm=t}return t.prototype.run=function(t){if(this.active)try{return this.on(),t()}finally{this.off()}},t.prototype.on=function(){this.active&&(m.push(this),h=this)},t.prototype.off=function(){this.active&&(m.pop(),h=m[m.length-1])},t.prototype.stop=function(){this.active&&(this.vm.$destroy(),this.effects.forEach((function(t){return t.stop()})),this.cleanups.forEach((function(t){return t()})),this.active=!1)},t}(),j=function(t){function n(n){void 0===n&&(n=!1);var e,r=void 0;return function(t){var n=C;C=!1;try{t()}finally{C=n}}((function(){r=z(D())})),e=t.call(this,r)||this,n||function(t,n){var e;if((n=n||h)&&n.active)return void n.effects.push(t);var r=null===(e=B())||void 0===e?void 0:e.proxy;r&&r.$on("hook:destroyed",(function(){return t.stop()}))}(e),e}return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function e(){this.constructor=t}y(t,n),t.prototype=null===n?Object.create(n):(e.prototype=n.prototype,new e)}(n,t),n}($);function O(){return h}function S(){var t,n;return(null===(t=O())||void 0===t?void 0:t.vm)||(null===(n=B())||void 0===n?void 0:n.proxy)}var k=void 0;try{var E=require("vue");E&&P(E)?k=E:E&&"default"in E&&P(E.default)&&(k=E.default)}catch(t){}var R=null,M=null,C=!0;function P(t){return t&&d(t)&&"Vue"===t.name}function D(){return R}function U(t){if(C){var n=M;null==n||n.scope.off(),null==(M=t)||M.scope.on()}}function B(){return M}var A,W=new WeakMap;function T(t){if(W.has(t))return W.get(t);var n={proxy:t,update:t.$forceUpdate,type:t.$options,uid:t._uid,emit:t.$emit.bind(t),parent:null,root:null};!function(t){if(!t.scope){var n=new $(t.proxy);t.scope=n,t.proxy.$on("hook:destroyed",(function(){return n.stop()}))}t.scope}(n);return["data","props","attrs","refs","vnode","slots"].forEach((function(e){i(n,e,{get:function(){return t["$"+e]}})})),i(n,"isMounted",{get:function(){return t._isMounted}}),i(n,"isUnmounted",{get:function(){return t._isDestroyed}}),i(n,"isDeactivated",{get:function(){return t._inactive}}),i(n,"emitted",{get:function(){return t._events}}),W.set(t,n),t.$parent&&(n.parent=T(t.$parent)),t.$root&&(n.root=T(t.$root)),n}function V(t,n){return n=n||B()}function z(t,n){void 0===n&&(n={});var e=t.config.silent;t.config.silent=!0;var r=new t(n);return t.config.silent=e,r}function F(t,n){return function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];if(t.$scopedSlots[n])return t.$scopedSlots[n].apply(t,e)}}function K(t){return r?Symbol.for(t):t}var q=K("composition-api.preFlushQueue"),I=K("composition-api.postFlushQueue"),Q="composition-api.refKey",G=new WeakMap,H=new WeakMap,J=new WeakMap,L=function(t){i(this,"value",{get:t.get,set:t.set})};function N(t,n,e){void 0===n&&(n=!1),void 0===e&&(e=!1);var r=new L(t);e&&(r.effect=!0);var o=Object.seal(r);return n&&J.set(o,!0),o}function X(t){var n;if(Y(t))return t;var e=st(((n={})[Q]=t,n));return N({get:function(){return e[Q]},set:function(t){return e[Q]=t}})}function Y(t){return t instanceof L}function Z(t){return Y(t)?t.value:t}function tt(t){if(!p(t))return t;var n={};for(var e in t)n[e]=nt(t,e);return n}function nt(t,n){var e=t[n];return Y(e)?e:N({get:function(){return t[n]},set:function(e){return t[n]=e}})}function et(t){var n;return Boolean(t&&f(t,"__ob__")&&"object"==typeof t.__ob__&&(null===(n=t.__ob__)||void 0===n?void 0:n.__raw__))}function rt(t){var n;return Boolean(t&&f(t,"__ob__")&&"object"==typeof t.__ob__&&!(null===(n=t.__ob__)||void 0===n?void 0:n.__raw__))}function ot(t){if(!(!p(t)||et(t)||a(t)||Y(t)||function(t){var n=D();return n&&t instanceof n}(t)||G.has(t))){G.set(t,!0);for(var n=Object.keys(t),e=0;e<n.length;e++)it(t,n[e])}}function it(t,n,e){if("__ob__"!==n&&!et(t[n])){var r,o,u=Object.getOwnPropertyDescriptor(t,n);if(u){if(!1===u.configurable)return;r=u.get,o=u.set,r&&!o||2!==arguments.length||(e=t[n])}ot(e),i(t,n,{get:function(){var o=r?r.call(t):e;return n!==Q&&Y(o)?o.value:o},set:function(i){r&&!o||(n!==Q&&Y(e)&&!Y(i)?e.value=i:o?(o.call(t,i),e=i):e=i,ot(i))}})}}function ut(t){var n,e=R||k;e.observable?n=e.observable(t):n=z(e,{data:{$$state:t}})._data.$$state;return f(n,"__ob__")||ft(n),n}function ft(t,n){var e,r;if(void 0===n&&(n=new Set),!n.has(t)&&!f(t,"__ob__")&&Object.isExtensible(t)){u(t,"__ob__",function(t){void 0===t&&(t={});return{value:t,dep:{notify:o,depend:o,addSub:o,removeSub:o}}}(t)),n.add(t);try{for(var i=g(Object.keys(t)),c=i.next();!c.done;c=i.next()){var s=t[c.value];(p(s)||a(s))&&!et(s)&&Object.isExtensible(s)&&ft(s,n)}}catch(t){e={error:t}}finally{try{c&&!c.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}}}function at(){return ut({}).__ob__}function ct(t){var n,e;if(!v(t))return t;if(!p(t)&&!a(t)||et(t)||!Object.isExtensible(t))return t;var r=ut(a(t)?[]:{});ot(r);var o=r.__ob__,u=function(n){var e,u,f=t[n],a=Object.getOwnPropertyDescriptor(t,n);if(a){if(!1===a.configurable)return"continue";e=a.get,u=a.set}i(r,n,{get:function(){var n,r=e?e.call(t):f;return null===(n=o.dep)||void 0===n||n.depend(),r},set:function(n){var r;e&&!u||(u?u.call(t,n):f=n,null===(r=o.dep)||void 0===r||r.notify())}})};try{for(var f=g(Object.keys(t)),c=f.next();!c.done;c=f.next()){u(c.value)}}catch(t){n={error:t}}finally{try{c&&!c.done&&(e=f.return)&&e.call(f)}finally{if(n)throw n.error}}return r}function st(t){if(!v(t))return t;if(!p(t)&&!a(t)||et(t)||!Object.isExtensible(t))return t;var n=ut(t);return ot(n),n}function lt(t){return function(n,e){var r,o=V(((r=t)[0].toUpperCase(),r.slice(1)),e);return o&&function(t,n,e,r){var o=n.proxy.$options,i=t.config.optionMergeStrategies[e],u=function(t,n){return function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var o=B();U(t);try{return n.apply(void 0,w([],x(e)))}finally{U(o)}}}(n,r);return o[e]=i(o[e],u),u}(D(),o,t,n)}}var vt,pt=lt("beforeMount"),dt=lt("mounted"),_t=lt("beforeUpdate"),yt=lt("updated"),ht=lt("beforeDestroy"),bt=lt("destroyed"),gt=lt("errorCaptured"),xt=lt("activated"),wt=lt("deactivated"),mt=lt("serverPrefetch");function $t(){St(this,q)}function jt(){St(this,I)}function Ot(){var t=S();return t?function(t){return void 0!==t[q]}(t)||function(t){t[q]=[],t[I]=[],t.$on("hook:beforeUpdate",$t),t.$on("hook:updated",jt)}(t):(vt||(vt=z(D())),t=vt),t}function St(t,n){for(var e=t[n],r=0;r<e.length;r++)e[r]();e.length=0}function kt(t,n,e){var r=function(){t.$nextTick((function(){t[q].length&&St(t,q),t[I].length&&St(t,I)}))};switch(e){case"pre":r(),t[q].push(n);break;case"post":r(),t[I].push(n);break;default:!function(t,n){if(!t)throw new Error("[vue-composition-api] "+n)}(!1,'flush must be one of ["post", "pre", "sync"], but got '+e)}}function Et(t,n){var e=t.teardown;t.teardown=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];e.apply(t,r),n()}}function Rt(t,n,e,r){var i,u,f=r.flush,c="sync"===f,s=function(t){u=function(){try{t()}catch(t){!function(t,n,e){if("undefined"==typeof window||"undefined"==typeof console)throw t;console.error(t)}(t)}}},l=function(){u&&(u(),u=null)},v=function(n){return c||t===vt?n:function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return kt(t,(function(){n.apply(void 0,w([],x(e)))}),f)}};if(null===e){var p=!1,_=function(t,n,e,r){var o=t._watchers.length;return t.$watch(n,e,{immediate:r.immediateInvokeCallback,deep:r.deep,lazy:r.noRun,sync:r.sync,before:r.before}),t._watchers[o]}(t,(function(){if(!p)try{p=!0,n(s)}finally{p=!1}}),o,{deep:r.deep||!1,sync:c,before:l});Et(_,l),_.lazy=!1;var y=_.get.bind(_);return _.get=v(y),function(){_.teardown()}}var h,b=r.deep,g=!1;if(Y(n)?h=function(){return n.value}:rt(n)?(h=function(){return n},b=!0):a(n)?(g=!0,h=function(){return n.map((function(t){return Y(t)?t.value:rt(t)?Ct(t):d(t)?t():o}))}):h=d(n)?n:o,b){var m=h;h=function(){return Ct(m())}}var $=function(t,n){if(b||!g||!t.every((function(t,e){return Object.is(t,n[e])})))return l(),e(t,n,s)},j=v($);if(r.immediate){var O=j,S=function(t,n){return S=O,$(t,a(t)?[]:n)};j=function(t,n){return S(t,n)}}var k=t.$watch(h,j,{immediate:r.immediate,deep:b,sync:c}),E=t._watchers[t._watchers.length-1];return rt(E.value)&&(null===(i=E.value.__ob__)||void 0===i?void 0:i.dep)&&b&&E.value.__ob__.dep.addSub({update:function(){E.run()}}),Et(E,l),function(){k()}}function Mt(t,n){var e=function(t){return b({flush:"pre"},t)}(n);return Rt(Ot(),t,null,e)}function Ct(t,n){if(void 0===n&&(n=new Set),!v(t)||n.has(t))return t;if(n.add(t),Y(t))Ct(t.value,n);else if(a(t))for(var e=0;e<t.length;e++)Ct(t[e],n);else if("[object Set]"===s(t)||function(t){return"[object Map]"===s(t)}(t))t.forEach((function(t){Ct(t,n)}));else if(p(t))for(var r in t)Ct(t[r],n);return t}var Pt={};var Dt={},Ut=function(t){var n;void 0===t&&(t="$style");var e=B();if(!e)return Dt;var r=null===(n=e.proxy)||void 0===n?void 0:n[t];return r||Dt},Bt=Ut;var At;function Wt(){return B().setupContext}var Tt={set:function(t,n,e){(t.__composition_api_state__=t.__composition_api_state__||{})[n]=e},get:function(t,n){return(t.__composition_api_state__||{})[n]}};function Vt(t){var n=Tt.get(t,"rawBindings")||{};if(n&&Object.keys(n).length){for(var e=t.$refs,r=Tt.get(t,"refs")||[],o=0;o<r.length;o++){var i=n[a=r[o]];!e[a]&&i&&Y(i)&&(i.value=null)}var u=Object.keys(e),f=[];for(o=0;o<u.length;o++){var a;i=n[a=u[o]];e[a]&&i&&Y(i)&&(i.value=e[a],f.push(a))}Tt.set(t,"refs",f)}}function zt(t,n){var e,r;if(t){var o=Tt.get(t,"attrBindings");if(o||n){if(!o){var u=st({});o={ctx:n,data:u},Tt.set(t,"attrBindings",o),i(n,"attrs",{get:function(){return null==o?void 0:o.data},set:function(){}})}var a=t.$attrs,c=function(n){f(o.data,n)||i(o.data,n,{get:function(){return t.$attrs[n]}})};try{for(var s=g(Object.keys(a)),l=s.next();!l.done;l=s.next()){c(l.value)}}catch(t){e={error:t}}finally{try{l&&!l.done&&(r=s.return)&&r.call(s)}finally{if(e)throw e.error}}}}}function Ft(t,n){var e=t.$options._parentVnode;if(e){for(var r=Tt.get(t,"slots")||[],o=function(t,n){var e;if(t){if(t._normalized)return t._normalized;for(var r in e={},t)t[r]&&"$"!==r[0]&&(e[r]=!0)}else e={};for(var r in n)r in e||(e[r]=!0);return e}(e.data.scopedSlots,t.$slots),i=0;i<r.length;i++){o[f=r[i]]||delete n[f]}var u=Object.keys(o);for(i=0;i<u.length;i++){var f;n[f=u[i]]||(n[f]=F(t,f))}Tt.set(t,"slots",u)}}function Kt(t,n,e){var r=B();U(t);try{return n(t)}catch(t){if(!e)throw t;e(t)}finally{U(r)}}function qt(t){function n(t,e){if(void 0===e&&(e=new Set),!e.has(t)&&p(t)&&!Y(t)&&!rt(t)&&!et(t)){var r=D().util.defineReactive;Object.keys(t).forEach((function(o){var i=t[o];r(t,o,i),i&&(e.add(i),n(i,e))}))}}function e(t,n){return void 0===n&&(n=new Map),n.has(t)?n.get(t):(n.set(t,!1),a(t)&&rt(t)?(n.set(t,!0),!0):!(!p(t)||et(t)||Y(t))&&Object.keys(t).some((function(r){return e(t[r],n)})))}t.mixin({beforeCreate:function(){var t=this,r=t.$options,o=r.setup,c=r.render;c&&(r.render=function(){for(var n=this,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return Kt(T(t),(function(){return c.apply(n,e)}))});if(!o)return;if(!d(o))return;var s=r.data;r.data=function(){return function(t,r){void 0===r&&(r={});var o,c=t.$options.setup,s=function(t){var n={slots:{}},e=["emit"];return["root","parent","refs","listeners","isServer","ssrContext"].forEach((function(e){var r="$"+e;i(n,e,{get:function(){return t[r]},set:function(){}})})),zt(t,n),e.forEach((function(e){var r="$"+e;i(n,e,{get:function(){return function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];t[r].apply(t,n)}}})})),n}(t),l=T(t);if(l.setupContext=s,u(r,"__ob__",at()),Ft(t,s.slots),Kt(l,(function(){o=c(r,s)})),!o)return;if(d(o)){var _=o;return void(t.$options.render=function(){return Ft(t,s.slots),Kt(l,(function(){return _()}))})}if(p(o)){rt(o)&&(o=tt(o)),Tt.set(t,"rawBindings",o);var y=o;Object.keys(y).forEach((function(r){var o=y[r];if(!Y(o))if(rt(o))a(o)&&(o=X(o));else if(d(o)){var u=o;o=o.bind(t),Object.keys(u).forEach((function(t){o[t]=u[t]}))}else v(o)?e(o)&&n(o):o=X(o);!function(t,n,e){var r=t.$options.props;n in t||r&&f(r,n)||(Y(e)?i(t,n,{get:function(){return e.value},set:function(t){e.value=t}}):i(t,n,{get:function(){return rt(e)&&e.__ob__.dep.depend(),e},set:function(t){e=t}}))}(t,r,o)}))}}(t,t.$props),d(s)?s.call(t,t):s||{}}},mounted:function(){Vt(this)},beforeUpdate:function(){zt(this)},updated:function(){var t;Vt(this),(null===(t=this.$vnode)||void 0===t?void 0:t.context)&&Vt(this.$vnode.context)}})}function It(t,n){if(!t)return n;if(!n)return t;for(var e,o,i,u=r?Reflect.ownKeys(t):Object.keys(t),a=0;a<u.length;a++)"__ob__"!==(e=u[a])&&(o=n[e],i=t[e],f(n,e)?o!==i&&p(o)&&!Y(o)&&p(i)&&!Y(i)&&It(i,o):n[e]=i);return n}function Qt(t){(function(t){return f(t,"__composition_api_installed__")})(t)||(t.config.optionMergeStrategies.setup=function(t,n){return function(e,r){return It(d(t)?t(e,r)||{}:void 0,d(n)?n(e,r)||{}:void 0)}},function(t){R=t,Object.defineProperty(t,"__composition_api_installed__",{configurable:!0,writable:!0,value:!0})}(t),qt(t))}var Gt={install:function(t){return Qt(t)}};"undefined"!=typeof window&&window.Vue&&window.Vue.use(Gt),exports.EffectScope=j,exports.computed=function(t){var n,e,r,i,u=S();if(d(t)?n=t:(n=t.get,e=t.set),u&&!u.$isServer){var f,a=function(){if(!A){var t=z(D(),{computed:{value:function(){return 0}}}),n=t._computedWatchers.value.constructor,e=t._data.__ob__.dep.constructor;A={Watcher:n,Dep:e},t.$destroy()}return A}(),c=a.Watcher,s=a.Dep;i=function(){return f||(f=new c(u,n,o,{lazy:!0})),f.dirty&&f.evaluate(),s.target&&f.depend(),f.value},r=function(t){e&&e(t)}}else{var l=z(D(),{computed:{$$state:{get:n,set:e}}});u&&u.$on("hook:destroyed",(function(){return l.$destroy()})),i=function(){return l.$$state},r=function(t){l.$$state=t}}return N({get:i,set:r},!e,!0)},exports.createApp=function(t,n){void 0===n&&(n=void 0);var e=D(),r=void 0;return{config:e.config,use:e.use.bind(e),mixin:e.mixin.bind(e),component:e.component.bind(e),directive:e.directive.bind(e),mount:function(o,i){return r||((r=new e(b({propsData:n},t))).$mount(o,i),r)},unmount:function(){r&&(r.$destroy(),r=void 0)}}},exports.createRef=N,exports.customRef=function(t){var n=X(0);return N(t((function(){n.value}),(function(){++n.value})))},exports.default=Gt,exports.defineAsyncComponent=function(t){d(t)&&(t={loader:t});var n=t.loader,e=t.loadingComponent,r=t.errorComponent,o=t.delay,i=void 0===o?200:o,u=t.timeout;t.suspensible;var f=t.onError,a=null,c=0,s=function(){var t;return a||(t=a=n().catch((function(t){if(t=t instanceof Error?t:new Error(String(t)),f)return new Promise((function(n,e){f(t,(function(){return n((c++,a=null,s()))}),(function(){return e(t)}),c+1)}));throw t})).then((function(n){return t!==a&&a?a:(n&&(n.__esModule||"Module"===n[Symbol.toStringTag])&&(n=n.default),n)})))};return function(){return{component:s(),delay:i,timeout:u,error:r,loading:e}}},exports.defineComponent=function(t){return t},exports.del=function(t,n){if(D().util.warn,a(t)&&l(n))t.splice(n,1);else{var e=t.__ob__;t._isVue||e&&e.vmCount||f(t,n)&&(delete t[n],e&&e.dep.notify())}},exports.effectScope=function(t){return new j(t)},exports.getCurrentInstance=B,exports.getCurrentScope=O,exports.h=function(){for(var t,n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];var r=null===(t=B())||void 0===t?void 0:t.proxy;return r?r.$createElement.apply(r,n):(At||(At=z(D()).$createElement),At.apply(At,n))},exports.inject=function(t,n,e){var r;void 0===e&&(e=!1);var o=null===(r=B())||void 0===r?void 0:r.proxy;if(o){if(!t)return n;var i=function(t,n){for(var e=n;e;){if(e._provided&&f(e._provided,t))return e._provided[t];e=e.$parent}return Pt}(t,o);return i!==Pt?i:e&&d(n)?n():n}},exports.isRaw=et,exports.isReactive=rt,exports.isReadonly=function(t){return J.has(t)},exports.isRef=Y,exports.markRaw=function(t){if(!p(t)&&!a(t)||!Object.isExtensible(t))return t;var n=at();return n.__raw__=!0,u(t,"__ob__",n),H.set(t,!0),t},exports.nextTick=function(){for(var t,n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return null===(t=D())||void 0===t?void 0:t.nextTick.apply(this,n)},exports.onActivated=xt,exports.onBeforeMount=pt,exports.onBeforeUnmount=ht,exports.onBeforeUpdate=_t,exports.onDeactivated=wt,exports.onErrorCaptured=gt,exports.onMounted=dt,exports.onScopeDispose=function(t){h&&h.cleanups.push(t)},exports.onServerPrefetch=mt,exports.onUnmounted=bt,exports.onUpdated=yt,exports.provide=function(t,n){var e,r=null===(e=V())||void 0===e?void 0:e.proxy;if(r){if(!r._provided){var o={};i(r,"_provided",{get:function(){return o},set:function(t){return Object.assign(o,t)}})}r._provided[t]=n}},exports.proxyRefs=function(t){var n,e,r;if(rt(t))return t;var o=st(((n={})[Q]=t,n));u(o,Q,o[Q],!1);var f=function(t){i(o,t,{get:function(){return Y(o[Q][t])?o[Q][t].value:o[Q][t]},set:function(n){if(Y(o[Q][t]))return o[Q][t].value=Z(n);o[Q][t]=Z(n)}})};try{for(var a=g(Object.keys(t)),c=a.next();!c.done;c=a.next()){f(c.value)}}catch(t){e={error:t}}finally{try{c&&!c.done&&(r=a.return)&&r.call(a)}finally{if(e)throw e.error}}return o},exports.reactive=st,exports.readonly=function(t){return J.set(t,!0),t},exports.ref=X,exports.set=function(t,n,e){var r=D().util;r.warn;var o=r.defineReactive,i=t.__ob__;function u(){i&&v(e)&&!f(e,"__ob__")&&ft(e)}if(a(t)){if(l(n))return t.length=Math.max(t.length,n),t.splice(n,1,e),u(),e;if("length"===n&&e!==t.length)return t.length=e,null==i||i.dep.notify(),e}return n in t&&!(n in Object.prototype)?(t[n]=e,u(),e):t._isVue||i&&i.vmCount?e:i?(o(i.value,n,e),it(t,n,e),u(),i.dep.notify(),e):(t[n]=e,e)},exports.shallowReactive=ct,exports.shallowReadonly=function(t){var n,e;if(!v(t))return t;if(!p(t)&&!a(t)||!Object.isExtensible(t)&&!Y(t))return t;var r=Y(t)?new L({}):rt(t)?ut({}):{},o=st({}).__ob__,u=function(n){var e,u=t[n],f=Object.getOwnPropertyDescriptor(t,n);if(f){if(!1===f.configurable&&!Y(t))return"continue";e=f.get}i(r,n,{get:function(){var n=e?e.call(t):u;return o.dep.depend(),n},set:function(t){}})};try{for(var f=g(Object.keys(t)),c=f.next();!c.done;c=f.next()){u(c.value)}}catch(t){n={error:t}}finally{try{c&&!c.done&&(e=f.return)&&e.call(f)}finally{if(n)throw n.error}}return J.set(r,!0),r},exports.shallowRef=function(t){var n;if(Y(t))return t;var e=ct(((n={})[Q]=t,n));return N({get:function(){return e[Q]},set:function(t){return e[Q]=t}})},exports.toRaw=function(t){var n,e;return et(t)||!Object.isExtensible(t)?t:(null===(e=null===(n=t)||void 0===n?void 0:n.__ob__)||void 0===e?void 0:e.value)||t},exports.toRef=nt,exports.toRefs=tt,exports.triggerRef=function(t){Y(t)&&(t.value=t.value)},exports.unref=Z,exports.useAttrs=function(){return Wt().attrs},exports.useCSSModule=Bt,exports.useCssModule=Ut,exports.useSlots=function(){return Wt().slots},exports.version="1.3.3",exports.warn=function(t){var n;_(t,null===(n=B())||void 0===n?void 0:n.proxy)},exports.watch=function(t,n,e){var r=null;d(n)?r=n:(e=n,r=null);var o=function(t){return b({immediate:!1,deep:!1,flush:"pre"},t)}(e);return Rt(Ot(),t,r,o)},exports.watchEffect=Mt,exports.watchPostEffect=function(t){return Mt(t,{flush:"post"})},exports.watchSyncEffect=function(t){return Mt(t,{flush:"sync"})}; | ||
var y=function(t,n){return y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e])},y(t,n)};var h,b=function(){return b=Object.assign||function(t){for(var n,e=1,r=arguments.length;e<r;e++)for(var o in n=arguments[e])Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o]);return t},b.apply(this,arguments)};function g(t){var n="function"==typeof Symbol&&Symbol.iterator,e=n&&t[n],r=0;if(e)return e.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function x(t,n){var e="function"==typeof Symbol&&t[Symbol.iterator];if(!e)return t;var r,o,i=e.call(t),u=[];try{for(;(void 0===n||n-- >0)&&!(r=i.next()).done;)u.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(e=i.return)&&e.call(i)}finally{if(o)throw o.error}}return u}function w(t,n){for(var e=0,r=n.length,o=t.length;e<r;e++,o++)t[o]=n[e];return t}var m=[],$=function(){function t(t){this.active=!0,this.effects=[],this.cleanups=[],this.vm=t}return t.prototype.run=function(t){if(this.active)try{return this.on(),t()}finally{this.off()}},t.prototype.on=function(){this.active&&(m.push(this),h=this)},t.prototype.off=function(){this.active&&(m.pop(),h=m[m.length-1])},t.prototype.stop=function(){this.active&&(this.vm.$destroy(),this.effects.forEach((function(t){return t.stop()})),this.cleanups.forEach((function(t){return t()})),this.active=!1)},t}(),j=function(t){function n(n){void 0===n&&(n=!1);var e,r=void 0;return function(t){var n=C;C=!1;try{t()}finally{C=n}}((function(){r=z(D())})),e=t.call(this,r)||this,n||function(t,n){var e;if((n=n||h)&&n.active)return void n.effects.push(t);var r=null===(e=B())||void 0===e?void 0:e.proxy;r&&r.$on("hook:destroyed",(function(){return t.stop()}))}(e),e}return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function e(){this.constructor=t}y(t,n),t.prototype=null===n?Object.create(n):(e.prototype=n.prototype,new e)}(n,t),n}($);function O(){return h}function S(){var t,n;return(null===(t=O())||void 0===t?void 0:t.vm)||(null===(n=B())||void 0===n?void 0:n.proxy)}var k=void 0;try{var E=require("vue");E&&P(E)?k=E:E&&"default"in E&&P(E.default)&&(k=E.default)}catch(t){}var R=null,M=null,C=!0;function P(t){return t&&d(t)&&"Vue"===t.name}function D(){return R}function U(t){if(C){var n=M;null==n||n.scope.off(),null==(M=t)||M.scope.on()}}function B(){return M}var A,W=new WeakMap;function T(t){if(W.has(t))return W.get(t);var n={proxy:t,update:t.$forceUpdate,type:t.$options,uid:t._uid,emit:t.$emit.bind(t),parent:null,root:null};!function(t){if(!t.scope){var n=new $(t.proxy);t.scope=n,t.proxy.$on("hook:destroyed",(function(){return n.stop()}))}t.scope}(n);return["data","props","attrs","refs","vnode","slots"].forEach((function(e){i(n,e,{get:function(){return t["$"+e]}})})),i(n,"isMounted",{get:function(){return t._isMounted}}),i(n,"isUnmounted",{get:function(){return t._isDestroyed}}),i(n,"isDeactivated",{get:function(){return t._inactive}}),i(n,"emitted",{get:function(){return t._events}}),W.set(t,n),t.$parent&&(n.parent=T(t.$parent)),t.$root&&(n.root=T(t.$root)),n}function V(t,n){return n=n||B()}function z(t,n){void 0===n&&(n={});var e=t.config.silent;t.config.silent=!0;var r=new t(n);return t.config.silent=e,r}function F(t,n){return function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];if(t.$scopedSlots[n])return t.$scopedSlots[n].apply(t,e)}}function K(t){return r?Symbol.for(t):t}var q=K("composition-api.preFlushQueue"),I=K("composition-api.postFlushQueue"),Q="composition-api.refKey",G=new WeakMap,H=new WeakMap,J=new WeakMap,L=function(t){i(this,"value",{get:t.get,set:t.set})};function N(t,n,e){void 0===n&&(n=!1),void 0===e&&(e=!1);var r=new L(t);e&&(r.effect=!0);var o=Object.seal(r);return n&&J.set(o,!0),o}function X(t){var n;if(Y(t))return t;var e=st(((n={})[Q]=t,n));return N({get:function(){return e[Q]},set:function(t){return e[Q]=t}})}function Y(t){return t instanceof L}function Z(t){return Y(t)?t.value:t}function tt(t){if(!p(t))return t;var n={};for(var e in t)n[e]=nt(t,e);return n}function nt(t,n){var e=t[n];return Y(e)?e:N({get:function(){return t[n]},set:function(e){return t[n]=e}})}function et(t){var n;return Boolean(t&&f(t,"__ob__")&&"object"==typeof t.__ob__&&(null===(n=t.__ob__)||void 0===n?void 0:n.__raw__))}function rt(t){var n;return Boolean(t&&f(t,"__ob__")&&"object"==typeof t.__ob__&&!(null===(n=t.__ob__)||void 0===n?void 0:n.__raw__))}function ot(t){if(!(!p(t)||et(t)||a(t)||Y(t)||function(t){var n=D();return n&&t instanceof n}(t)||G.has(t))){G.set(t,!0);for(var n=Object.keys(t),e=0;e<n.length;e++)it(t,n[e])}}function it(t,n,e){if("__ob__"!==n&&!et(t[n])){var r,o,u=Object.getOwnPropertyDescriptor(t,n);if(u){if(!1===u.configurable)return;r=u.get,o=u.set,r&&!o||2!==arguments.length||(e=t[n])}ot(e),i(t,n,{get:function(){var o=r?r.call(t):e;return n!==Q&&Y(o)?o.value:o},set:function(i){r&&!o||(n!==Q&&Y(e)&&!Y(i)?e.value=i:o?(o.call(t,i),e=i):e=i,ot(i))}})}}function ut(t){var n,e=R||k;e.observable?n=e.observable(t):n=z(e,{data:{$$state:t}})._data.$$state;return f(n,"__ob__")||ft(n),n}function ft(t,n){var e,r;if(void 0===n&&(n=new Set),!n.has(t)&&!f(t,"__ob__")&&Object.isExtensible(t)){u(t,"__ob__",function(t){void 0===t&&(t={});return{value:t,dep:{notify:o,depend:o,addSub:o,removeSub:o}}}(t)),n.add(t);try{for(var i=g(Object.keys(t)),c=i.next();!c.done;c=i.next()){var s=t[c.value];(p(s)||a(s))&&!et(s)&&Object.isExtensible(s)&&ft(s,n)}}catch(t){e={error:t}}finally{try{c&&!c.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}}}function at(){return ut({}).__ob__}function ct(t){var n,e;if(!v(t))return t;if(!p(t)&&!a(t)||et(t)||!Object.isExtensible(t))return t;var r=ut(a(t)?[]:{});ot(r);var o=r.__ob__,u=function(n){var e,u,f=t[n],a=Object.getOwnPropertyDescriptor(t,n);if(a){if(!1===a.configurable)return"continue";e=a.get,u=a.set}i(r,n,{get:function(){var n,r=e?e.call(t):f;return null===(n=o.dep)||void 0===n||n.depend(),r},set:function(n){var r;e&&!u||(u?u.call(t,n):f=n,null===(r=o.dep)||void 0===r||r.notify())}})};try{for(var f=g(Object.keys(t)),c=f.next();!c.done;c=f.next()){u(c.value)}}catch(t){n={error:t}}finally{try{c&&!c.done&&(e=f.return)&&e.call(f)}finally{if(n)throw n.error}}return r}function st(t){if(!v(t))return t;if(!p(t)&&!a(t)||et(t)||!Object.isExtensible(t))return t;var n=ut(t);return ot(n),n}function lt(t){return function(n,e){var r,o=V(((r=t)[0].toUpperCase(),r.slice(1)),e);return o&&function(t,n,e,r){var o=n.proxy.$options,i=t.config.optionMergeStrategies[e],u=function(t,n){return function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var o=B();U(t);try{return n.apply(void 0,w([],x(e)))}finally{U(o)}}}(n,r);return o[e]=i(o[e],u),u}(D(),o,t,n)}}var vt,pt=lt("beforeMount"),dt=lt("mounted"),_t=lt("beforeUpdate"),yt=lt("updated"),ht=lt("beforeDestroy"),bt=lt("destroyed"),gt=lt("errorCaptured"),xt=lt("activated"),wt=lt("deactivated"),mt=lt("serverPrefetch");function $t(){St(this,q)}function jt(){St(this,I)}function Ot(){var t=S();return t?function(t){return void 0!==t[q]}(t)||function(t){t[q]=[],t[I]=[],t.$on("hook:beforeUpdate",$t),t.$on("hook:updated",jt)}(t):(vt||(vt=z(D())),t=vt),t}function St(t,n){for(var e=t[n],r=0;r<e.length;r++)e[r]();e.length=0}function kt(t,n,e){var r=function(){t.$nextTick((function(){t[q].length&&St(t,q),t[I].length&&St(t,I)}))};switch(e){case"pre":r(),t[q].push(n);break;case"post":r(),t[I].push(n);break;default:!function(t,n){if(!t)throw new Error("[vue-composition-api] "+n)}(!1,'flush must be one of ["post", "pre", "sync"], but got '+e)}}function Et(t,n){var e=t.teardown;t.teardown=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];e.apply(t,r),n()}}function Rt(t,n,e,r){var i,u,f=r.flush,c="sync"===f,s=function(t){u=function(){try{t()}catch(t){!function(t,n,e){if("undefined"==typeof window||"undefined"==typeof console)throw t;console.error(t)}(t)}}},l=function(){u&&(u(),u=null)},v=function(n){return c||t===vt?n:function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return kt(t,(function(){n.apply(void 0,w([],x(e)))}),f)}};if(null===e){var p=!1,_=function(t,n,e,r){var o=t._watchers.length;return t.$watch(n,e,{immediate:r.immediateInvokeCallback,deep:r.deep,lazy:r.noRun,sync:r.sync,before:r.before}),t._watchers[o]}(t,(function(){if(!p)try{p=!0,n(s)}finally{p=!1}}),o,{deep:r.deep||!1,sync:c,before:l});Et(_,l),_.lazy=!1;var y=_.get.bind(_);return _.get=v(y),function(){_.teardown()}}var h,b=r.deep,g=!1;if(Y(n)?h=function(){return n.value}:rt(n)?(h=function(){return n},b=!0):a(n)?(g=!0,h=function(){return n.map((function(t){return Y(t)?t.value:rt(t)?Ct(t):d(t)?t():o}))}):h=d(n)?n:o,b){var m=h;h=function(){return Ct(m())}}var $=function(t,n){if(b||!g||!t.every((function(t,e){return Object.is(t,n[e])})))return l(),e(t,n,s)},j=v($);if(r.immediate){var O=j,S=function(t,n){return S=O,$(t,a(t)?[]:n)};j=function(t,n){return S(t,n)}}var k=t.$watch(h,j,{immediate:r.immediate,deep:b,sync:c}),E=t._watchers[t._watchers.length-1];return rt(E.value)&&(null===(i=E.value.__ob__)||void 0===i?void 0:i.dep)&&b&&E.value.__ob__.dep.addSub({update:function(){E.run()}}),Et(E,l),function(){k()}}function Mt(t,n){var e=function(t){return b({flush:"pre"},t)}(n);return Rt(Ot(),t,null,e)}function Ct(t,n){if(void 0===n&&(n=new Set),!v(t)||n.has(t))return t;if(n.add(t),Y(t))Ct(t.value,n);else if(a(t))for(var e=0;e<t.length;e++)Ct(t[e],n);else if("[object Set]"===s(t)||function(t){return"[object Map]"===s(t)}(t))t.forEach((function(t){Ct(t,n)}));else if(p(t))for(var r in t)Ct(t[r],n);return t}var Pt={};var Dt={},Ut=function(t){var n;void 0===t&&(t="$style");var e=B();if(!e)return Dt;var r=null===(n=e.proxy)||void 0===n?void 0:n[t];return r||Dt},Bt=Ut;var At;function Wt(){return B().setupContext}var Tt={set:function(t,n,e){(t.__composition_api_state__=t.__composition_api_state__||{})[n]=e},get:function(t,n){return(t.__composition_api_state__||{})[n]}};function Vt(t){var n=Tt.get(t,"rawBindings")||{};if(n&&Object.keys(n).length){for(var e=t.$refs,r=Tt.get(t,"refs")||[],o=0;o<r.length;o++){var i=n[a=r[o]];!e[a]&&i&&Y(i)&&(i.value=null)}var u=Object.keys(e),f=[];for(o=0;o<u.length;o++){var a;i=n[a=u[o]];e[a]&&i&&Y(i)&&(i.value=e[a],f.push(a))}Tt.set(t,"refs",f)}}function zt(t,n){var e,r;if(t){var o=Tt.get(t,"attrBindings");if(o||n){if(!o){var u=st({});o={ctx:n,data:u},Tt.set(t,"attrBindings",o),i(n,"attrs",{get:function(){return null==o?void 0:o.data},set:function(){}})}var a=t.$attrs,c=function(n){f(o.data,n)||i(o.data,n,{get:function(){return t.$attrs[n]}})};try{for(var s=g(Object.keys(a)),l=s.next();!l.done;l=s.next()){c(l.value)}}catch(t){e={error:t}}finally{try{l&&!l.done&&(r=s.return)&&r.call(s)}finally{if(e)throw e.error}}}}}function Ft(t,n){var e=t.$options._parentVnode;if(e){for(var r=Tt.get(t,"slots")||[],o=function(t,n){var e;if(t){if(t._normalized)return t._normalized;for(var r in e={},t)t[r]&&"$"!==r[0]&&(e[r]=!0)}else e={};for(var r in n)r in e||(e[r]=!0);return e}(e.data.scopedSlots,t.$slots),i=0;i<r.length;i++){o[f=r[i]]||delete n[f]}var u=Object.keys(o);for(i=0;i<u.length;i++){var f;n[f=u[i]]||(n[f]=F(t,f))}Tt.set(t,"slots",u)}}function Kt(t,n,e){var r=B();U(t);try{return n(t)}catch(t){if(!e)throw t;e(t)}finally{U(r)}}function qt(t){function n(t,e){if(void 0===e&&(e=new Set),!e.has(t)&&p(t)&&!Y(t)&&!rt(t)&&!et(t)){var r=D().util.defineReactive;Object.keys(t).forEach((function(o){var i=t[o];r(t,o,i),i&&(e.add(i),n(i,e))}))}}function e(t,n){return void 0===n&&(n=new Map),n.has(t)?n.get(t):(n.set(t,!1),a(t)&&rt(t)?(n.set(t,!0),!0):!(!p(t)||et(t)||Y(t))&&Object.keys(t).some((function(r){return e(t[r],n)})))}t.mixin({beforeCreate:function(){var t=this,r=t.$options,o=r.setup,c=r.render;c&&(r.render=function(){for(var n=this,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return Kt(T(t),(function(){return c.apply(n,e)}))});if(!o)return;if(!d(o))return;var s=r.data;r.data=function(){return function(t,r){void 0===r&&(r={});var o,c=t.$options.setup,s=function(t){var n={slots:{}},e=["emit"];return["root","parent","refs","listeners","isServer","ssrContext"].forEach((function(e){var r="$"+e;i(n,e,{get:function(){return t[r]},set:function(){}})})),zt(t,n),e.forEach((function(e){var r="$"+e;i(n,e,{get:function(){return function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];t[r].apply(t,n)}}})})),n}(t),l=T(t);if(l.setupContext=s,u(r,"__ob__",at()),Ft(t,s.slots),Kt(l,(function(){o=c(r,s)})),!o)return;if(d(o)){var _=o;return void(t.$options.render=function(){return Ft(t,s.slots),Kt(l,(function(){return _()}))})}if(p(o)){rt(o)&&(o=tt(o)),Tt.set(t,"rawBindings",o);var y=o;Object.keys(y).forEach((function(r){var o=y[r];if(!Y(o))if(rt(o))a(o)&&(o=X(o));else if(d(o)){var u=o;o=o.bind(t),Object.keys(u).forEach((function(t){o[t]=u[t]}))}else v(o)?e(o)&&n(o):o=X(o);!function(t,n,e){var r=t.$options.props;n in t||r&&f(r,n)||(Y(e)?i(t,n,{get:function(){return e.value},set:function(t){e.value=t}}):i(t,n,{get:function(){return rt(e)&&e.__ob__.dep.depend(),e},set:function(t){e=t}}))}(t,r,o)}))}}(t,t.$props),d(s)?s.call(t,t):s||{}}},mounted:function(){Vt(this)},beforeUpdate:function(){zt(this)},updated:function(){var t;Vt(this),(null===(t=this.$vnode)||void 0===t?void 0:t.context)&&Vt(this.$vnode.context)}})}function It(t,n){if(!t)return n;if(!n)return t;for(var e,o,i,u=r?Reflect.ownKeys(t):Object.keys(t),a=0;a<u.length;a++)"__ob__"!==(e=u[a])&&(o=n[e],i=t[e],f(n,e)?o!==i&&p(o)&&!Y(o)&&p(i)&&!Y(i)&&It(i,o):n[e]=i);return n}function Qt(t){(function(t){return f(t,"__composition_api_installed__")})(t)||(t.config.optionMergeStrategies.setup=function(t,n){return function(e,r){return It(d(t)?t(e,r)||{}:void 0,d(n)?n(e,r)||{}:void 0)}},function(t){R=t,Object.defineProperty(t,"__composition_api_installed__",{configurable:!0,writable:!0,value:!0})}(t),qt(t))}var Gt={install:function(t){return Qt(t)}};"undefined"!=typeof window&&window.Vue&&window.Vue.use(Gt),exports.EffectScope=j,exports.computed=function(t){var n,e,r,i,u=S();if(d(t)?n=t:(n=t.get,e=t.set),u&&!u.$isServer){var f,a=function(){if(!A){var t=z(D(),{computed:{value:function(){return 0}}}),n=t._computedWatchers.value.constructor,e=t._data.__ob__.dep.constructor;A={Watcher:n,Dep:e},t.$destroy()}return A}(),c=a.Watcher,s=a.Dep;i=function(){return f||(f=new c(u,n,o,{lazy:!0})),f.dirty&&f.evaluate(),s.target&&f.depend(),f.value},r=function(t){e&&e(t)}}else{var l=z(D(),{computed:{$$state:{get:n,set:e}}});u&&u.$on("hook:destroyed",(function(){return l.$destroy()})),i=function(){return l.$$state},r=function(t){l.$$state=t}}return N({get:i,set:r},!e,!0)},exports.createApp=function(t,n){void 0===n&&(n=void 0);var e=D(),r=void 0;return{config:e.config,use:e.use.bind(e),mixin:e.mixin.bind(e),component:e.component.bind(e),directive:e.directive.bind(e),mount:function(o,i){return r||((r=new e(b({propsData:n},t))).$mount(o,i),r)},unmount:function(){r&&(r.$destroy(),r=void 0)}}},exports.createRef=N,exports.customRef=function(t){var n=X(0);return N(t((function(){n.value}),(function(){++n.value})))},exports.default=Gt,exports.defineAsyncComponent=function(t){d(t)&&(t={loader:t});var n=t.loader,e=t.loadingComponent,r=t.errorComponent,o=t.delay,i=void 0===o?200:o,u=t.timeout;t.suspensible;var f=t.onError,a=null,c=0,s=function(){var t;return a||(t=a=n().catch((function(t){if(t=t instanceof Error?t:new Error(String(t)),f)return new Promise((function(n,e){f(t,(function(){return n((c++,a=null,s()))}),(function(){return e(t)}),c+1)}));throw t})).then((function(n){return t!==a&&a?a:(n&&(n.__esModule||"Module"===n[Symbol.toStringTag])&&(n=n.default),n)})))};return function(){return{component:s(),delay:i,timeout:u,error:r,loading:e}}},exports.defineComponent=function(t){return t},exports.del=function(t,n){if(D().util.warn,a(t)&&l(n))t.splice(n,1);else{var e=t.__ob__;t._isVue||e&&e.vmCount||f(t,n)&&(delete t[n],e&&e.dep.notify())}},exports.effectScope=function(t){return new j(t)},exports.getCurrentInstance=B,exports.getCurrentScope=O,exports.h=function(){for(var t,n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];var r=null===(t=B())||void 0===t?void 0:t.proxy;return r?r.$createElement.apply(r,n):(At||(At=z(D()).$createElement),At.apply(At,n))},exports.inject=function(t,n,e){var r;void 0===e&&(e=!1);var o=null===(r=B())||void 0===r?void 0:r.proxy;if(o){if(!t)return n;var i=function(t,n){for(var e=n;e;){if(e._provided&&f(e._provided,t))return e._provided[t];e=e.$parent}return Pt}(t,o);return i!==Pt?i:e&&d(n)?n():n}},exports.isRaw=et,exports.isReactive=rt,exports.isReadonly=function(t){return J.has(t)},exports.isRef=Y,exports.markRaw=function(t){if(!p(t)&&!a(t)||!Object.isExtensible(t))return t;var n=at();return n.__raw__=!0,u(t,"__ob__",n),H.set(t,!0),t},exports.nextTick=function(){for(var t,n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return null===(t=D())||void 0===t?void 0:t.nextTick.apply(this,n)},exports.onActivated=xt,exports.onBeforeMount=pt,exports.onBeforeUnmount=ht,exports.onBeforeUpdate=_t,exports.onDeactivated=wt,exports.onErrorCaptured=gt,exports.onMounted=dt,exports.onScopeDispose=function(t){h&&h.cleanups.push(t)},exports.onServerPrefetch=mt,exports.onUnmounted=bt,exports.onUpdated=yt,exports.provide=function(t,n){var e,r=null===(e=V())||void 0===e?void 0:e.proxy;if(r){if(!r._provided){var o={};i(r,"_provided",{get:function(){return o},set:function(t){return Object.assign(o,t)}})}r._provided[t]=n}},exports.proxyRefs=function(t){var n,e,r;if(rt(t))return t;var o=st(((n={})[Q]=t,n));u(o,Q,o[Q],!1);var f=function(t){i(o,t,{get:function(){return Y(o[Q][t])?o[Q][t].value:o[Q][t]},set:function(n){if(Y(o[Q][t]))return o[Q][t].value=Z(n);o[Q][t]=Z(n)}})};try{for(var a=g(Object.keys(t)),c=a.next();!c.done;c=a.next()){f(c.value)}}catch(t){e={error:t}}finally{try{c&&!c.done&&(r=a.return)&&r.call(a)}finally{if(e)throw e.error}}return o},exports.reactive=st,exports.readonly=function(t){return J.set(t,!0),t},exports.ref=X,exports.set=function(t,n,e){var r=D().util;r.warn;var o=r.defineReactive,i=t.__ob__;function u(){i&&v(e)&&!f(e,"__ob__")&&ft(e)}if(a(t)){if(l(n))return t.length=Math.max(t.length,n),t.splice(n,1,e),u(),e;if("length"===n&&e!==t.length)return t.length=e,null==i||i.dep.notify(),e}return n in t&&!(n in Object.prototype)?(t[n]=e,u(),e):t._isVue||i&&i.vmCount?e:i?(o(i.value,n,e),it(t,n,e),u(),i.dep.notify(),e):(t[n]=e,e)},exports.shallowReactive=ct,exports.shallowReadonly=function(t){var n,e;if(!v(t))return t;if(!p(t)&&!a(t)||!Object.isExtensible(t)&&!Y(t))return t;var r=Y(t)?new L({}):rt(t)?ut({}):{},o=st({}).__ob__,u=function(n){var e,u=t[n],f=Object.getOwnPropertyDescriptor(t,n);if(f){if(!1===f.configurable&&!Y(t))return"continue";e=f.get}i(r,n,{get:function(){var n=e?e.call(t):u;return o.dep.depend(),n},set:function(t){}})};try{for(var f=g(Object.keys(t)),c=f.next();!c.done;c=f.next()){u(c.value)}}catch(t){n={error:t}}finally{try{c&&!c.done&&(e=f.return)&&e.call(f)}finally{if(n)throw n.error}}return J.set(r,!0),r},exports.shallowRef=function(t){var n;if(Y(t))return t;var e=ct(((n={})[Q]=t,n));return N({get:function(){return e[Q]},set:function(t){return e[Q]=t}})},exports.toRaw=function(t){var n,e;return et(t)||!Object.isExtensible(t)?t:(null===(e=null===(n=t)||void 0===n?void 0:n.__ob__)||void 0===e?void 0:e.value)||t},exports.toRef=nt,exports.toRefs=tt,exports.triggerRef=function(t){Y(t)&&(t.value=t.value)},exports.unref=Z,exports.useAttrs=function(){return Wt().attrs},exports.useCSSModule=Bt,exports.useCssModule=Ut,exports.useSlots=function(){return Wt().slots},exports.version="1.4.0-beta.0",exports.warn=function(t){var n;_(t,null===(n=B())||void 0===n?void 0:n.proxy)},exports.watch=function(t,n,e){var r=null;d(n)?r=n:(e=n,r=null);var o=function(t){return b({immediate:!1,deep:!1,flush:"pre"},t)}(e);return Rt(Ot(),t,r,o)},exports.watchEffect=Mt,exports.watchPostEffect=function(t){return Mt(t,{flush:"post"})},exports.watchSyncEffect=function(t){return Mt(t,{flush:"sync"})}; |
@@ -1,4 +0,2 @@ | ||
import * as Vue$1 from 'vue'; | ||
import Vue__default, { VNode, VueConstructor, ComponentOptions as ComponentOptions$1, AsyncComponent } from 'vue'; | ||
import { VueConstructor as VueConstructor$1 } from 'vue/types/umd'; | ||
import Vue$1, { VNode, VueConstructor, ComponentOptions, AsyncComponent, CreateElement } from 'vue'; | ||
@@ -72,9 +70,9 @@ declare type Data = { | ||
}; | ||
declare type ObjectEmitsOptions$1 = Record<string, ((...args: any[]) => any) | null>; | ||
declare type EmitsOptions$1 = ObjectEmitsOptions$1 | string[]; | ||
declare type EmitFn<Options = ObjectEmitsOptions$1, Event extends keyof Options = keyof Options> = Options extends Array<infer V> ? (event: V, ...args: any[]) => void : {} extends Options ? (event: string, ...args: any[]) => void : UnionToIntersection<{ | ||
declare type ObjectEmitsOptions = Record<string, ((...args: any[]) => any) | null>; | ||
declare type EmitsOptions = ObjectEmitsOptions | string[]; | ||
declare type EmitFn<Options = ObjectEmitsOptions, Event extends keyof Options = keyof Options> = Options extends Array<infer V> ? (event: V, ...args: any[]) => void : {} extends Options ? (event: string, ...args: any[]) => void : UnionToIntersection<{ | ||
[key in Event]: Options[key] extends (...args: infer Args) => any ? (event: key, ...args: Args) => void : (event: key, ...args: any[]) => void; | ||
}[Event]>; | ||
declare type Slots = Readonly<InternalSlots>; | ||
interface SetupContext<E = EmitsOptions$1> { | ||
interface SetupContext<E = EmitsOptions> { | ||
attrs: Data; | ||
@@ -142,2 +140,7 @@ slots: Slots; | ||
declare type EmitsToProps<T extends EmitsOptions> = T extends string[] ? { | ||
[K in string & `on${Capitalize<T[number]>}`]?: (...args: any[]) => any; | ||
} : T extends ObjectEmitsOptions ? { | ||
[K in string & `on${Capitalize<string & keyof T>}`]?: K extends `on${infer C}` ? T[Uncapitalize<C>] extends null ? (...args: any[]) => any : (...args: T[Uncapitalize<C>] extends (...args: infer P) => any ? P : never) => any : never; | ||
} : {}; | ||
declare type ComponentInstance = InstanceType<VueConstructor>; | ||
@@ -147,9 +150,10 @@ declare type ComponentRenderProxy<P = {}, // props type extracted from props option | ||
D = {}, // return from data() | ||
C extends ComputedOptions = {}, M extends MethodOptions = {}, PublicProps = P, Defaults = {}, MakeDefaultsOptional extends boolean = false> = { | ||
C extends ComputedOptions = {}, M extends MethodOptions = {}, Mixin = {}, Extends = {}, Emits extends EmitsOptions = {}, PublicProps = P, Defaults = {}, MakeDefaultsOptional extends boolean = false> = { | ||
$data: D; | ||
$props: Readonly<MakeDefaultsOptional extends true ? Partial<Defaults> & Omit<P & PublicProps, keyof Defaults> : P & PublicProps>; | ||
$attrs: Data; | ||
} & Readonly<P> & ShallowUnwrapRef<B> & D & M & ExtractComputedReturns<C> & Omit<Vue__default, '$data' | '$props' | '$attrs'>; | ||
declare type VueConstructorProxy<PropsOptions, RawBindings, Data, Computed extends ComputedOptions, Methods extends MethodOptions> = VueConstructor & { | ||
new (...args: any[]): ComponentRenderProxy<ExtractPropTypes<PropsOptions>, ShallowUnwrapRef<RawBindings>, Data, Computed, Methods, ExtractPropTypes<PropsOptions>, ExtractDefaultPropTypes<PropsOptions>, true>; | ||
$emit: EmitFn<Emits>; | ||
} & Readonly<P> & ShallowUnwrapRef<B> & D & M & ExtractComputedReturns<C> & Omit<Vue$1, '$data' | '$props' | '$attrs' | '$emit'>; | ||
declare type VueConstructorProxy<PropsOptions, RawBindings, Data, Computed extends ComputedOptions, Methods extends MethodOptions, Mixin = {}, Extends = {}, Emits extends EmitsOptions = {}, Props = ExtractPropTypes<PropsOptions> & ({} extends Emits ? {} : EmitsToProps<Emits>)> = Omit<VueConstructor, never> & { | ||
new (...args: any[]): ComponentRenderProxy<Props, ShallowUnwrapRef<RawBindings>, Data, Computed, Methods, Mixin, Extends, Emits, Props, ExtractDefaultPropTypes<PropsOptions>, true>; | ||
}; | ||
@@ -163,7 +167,7 @@ declare type DefaultData<V> = object | ((this: V) => object); | ||
}; | ||
declare type VueProxy<PropsOptions, RawBindings, Data = DefaultData<Vue__default>, Computed extends ComputedOptions = DefaultComputed, Methods extends MethodOptions = DefaultMethods<Vue__default>> = ComponentOptions$1<Vue__default, ShallowUnwrapRef<RawBindings> & Data, Methods, Computed, PropsOptions, ExtractPropTypes<PropsOptions>> & VueConstructorProxy<PropsOptions, RawBindings, Data, Computed, Methods>; | ||
declare type VueProxy<PropsOptions, RawBindings, Data = DefaultData<Vue$1>, Computed extends ComputedOptions = DefaultComputed, Methods extends MethodOptions = DefaultMethods<Vue$1>, Mixin = {}, Extends = {}, Emits extends EmitsOptions = {}> = ComponentOptions<Vue$1, ShallowUnwrapRef<RawBindings> & Data, Methods, Computed, PropsOptions, ExtractPropTypes<PropsOptions>> & VueConstructorProxy<PropsOptions, RawBindings, Data, Computed, Methods, Mixin, Extends, Emits>; | ||
declare type ComponentPublicInstance<P = {}, // props type extracted from props option | ||
B = {}, // raw bindings returned from setup() | ||
D = {}, // return from data() | ||
C extends ComputedOptions = {}, M extends MethodOptions = {}, E extends EmitsOptions$1 = {}, PublicProps = P, Defaults = {}, MakeDefaultsOptional extends boolean = false> = { | ||
C extends ComputedOptions = {}, M extends MethodOptions = {}, E extends EmitsOptions = {}, PublicProps = P, Defaults = {}, MakeDefaultsOptional extends boolean = false> = { | ||
$: ComponentInternalInstance; | ||
@@ -186,4 +190,2 @@ $data: D; | ||
declare type ComputedSetter$1<T> = (v: T) => void; | ||
declare type ObjectEmitsOptions = Record<string, ((...args: any[]) => any) | null>; | ||
declare type EmitsOptions = ObjectEmitsOptions | string[]; | ||
interface WritableComputedOptions$1<T> { | ||
@@ -198,5 +200,5 @@ get: ComputedGetter$1<T>; | ||
declare type SetupFunction<Props, RawBindings = {}> = (this: void, props: Readonly<Props>, ctx: SetupContext) => RawBindings | (() => VNode | null) | void; | ||
interface ComponentOptionsBase<Props, D = Data, C extends ComputedOptions = {}, M extends MethodOptions = {}> extends Omit<ComponentOptions$1<Vue__default, D, M, C, Props>, 'data' | 'computed' | 'method' | 'setup' | 'props'> { | ||
interface ComponentOptionsBase<Props, D = Data, C extends ComputedOptions = {}, M extends MethodOptions = {}, Mixin = {}, Extends = {}, Emits extends EmitsOptions = {}> extends Omit<ComponentOptions<Vue$1, D, M, C, Props>, 'data' | 'computed' | 'method' | 'setup' | 'props'> { | ||
[key: string]: any; | ||
data?: (this: Props & Vue__default, vm: Props) => D; | ||
data?: (this: Props & Vue$1, vm: Props) => D; | ||
computed?: C; | ||
@@ -210,19 +212,19 @@ methods?: M; | ||
}; | ||
declare type ComponentOptionsWithProps<PropsOptions = ComponentPropsOptions, RawBindings = Data, D = Data, C extends ComputedOptions = {}, M extends MethodOptions = {}, Props = ExtractPropTypes<PropsOptions>> = ComponentOptionsBase<Props, D, C, M> & { | ||
declare type ComponentOptionsWithProps<PropsOptions = ComponentPropsOptions, RawBindings = Data, D = Data, C extends ComputedOptions = {}, M extends MethodOptions = {}, Mixin = {}, Extends = {}, Emits extends EmitsOptions = {}, Props = ExtractPropTypes<PropsOptions>> = ComponentOptionsBase<Props, D, C, M> & { | ||
props?: PropsOptions; | ||
emits?: (EmitsOptions | string[]) & ThisType<void>; | ||
emits?: Emits & ThisType<void>; | ||
setup?: SetupFunction<Props, RawBindings>; | ||
} & ThisType<ComponentRenderProxy<Props, RawBindings, D, C, M>>; | ||
declare type ComponentOptionsWithArrayProps<PropNames extends string = string, RawBindings = Data, D = Data, C extends ComputedOptions = {}, M extends MethodOptions = {}, Props = Readonly<{ | ||
} & ThisType<ComponentRenderProxy<Props, RawBindings, D, C, M, Mixin, Extends, Emits>>; | ||
declare type ComponentOptionsWithArrayProps<PropNames extends string = string, RawBindings = Data, D = Data, C extends ComputedOptions = {}, M extends MethodOptions = {}, Mixin = {}, Extends = {}, Emits extends EmitsOptions = {}, Props = Readonly<{ | ||
[key in PropNames]?: any; | ||
}>> = ComponentOptionsBase<Props, D, C, M> & { | ||
props?: PropNames[]; | ||
emits?: (EmitsOptions | string[]) & ThisType<void>; | ||
emits?: Emits & ThisType<void>; | ||
setup?: SetupFunction<Props, RawBindings>; | ||
} & ThisType<ComponentRenderProxy<Props, RawBindings, D, C, M>>; | ||
declare type ComponentOptionsWithoutProps<Props = {}, RawBindings = Data, D = Data, C extends ComputedOptions = {}, M extends MethodOptions = {}> = ComponentOptionsBase<Props, D, C, M> & { | ||
} & ThisType<ComponentRenderProxy<Props, RawBindings, D, C, M, Mixin, Extends, Emits>>; | ||
declare type ComponentOptionsWithoutProps<Props = {}, RawBindings = Data, D = Data, C extends ComputedOptions = {}, M extends MethodOptions = {}, Mixin = {}, Extends = {}, Emits extends EmitsOptions = {}> = ComponentOptionsBase<Props, D, C, M> & { | ||
props?: undefined; | ||
emits?: (EmitsOptions | string[]) & ThisType<void>; | ||
emits?: Emits & ThisType<void>; | ||
setup?: SetupFunction<Props, RawBindings>; | ||
} & ThisType<ComponentRenderProxy<Props, RawBindings, D, C, M>>; | ||
} & ThisType<ComponentRenderProxy<Props, RawBindings, D, C, M, Mixin, Extends, Emits>>; | ||
@@ -233,11 +235,24 @@ declare type AnyObject = Record<string | number | symbol, any>; | ||
declare function defineComponent<RawBindings, D = Data, C extends ComputedOptions = {}, M extends MethodOptions = {}>(options: ComponentOptionsWithoutProps<{}, RawBindings, D, C, M>): VueProxy<{}, RawBindings, D, C, M>; | ||
declare function defineComponent<PropNames extends string, RawBindings = Data, D = Data, C extends ComputedOptions = {}, M extends MethodOptions = {}, PropsOptions extends ComponentPropsOptions = ComponentPropsOptions>(options: ComponentOptionsWithArrayProps<PropNames, RawBindings, D, C, M>): VueProxy<Readonly<{ | ||
/** | ||
* overload 1: object format with no props | ||
*/ | ||
declare function defineComponent<RawBindings, D = Data, C extends ComputedOptions = {}, M extends MethodOptions = {}, Mixin = {}, Extends = {}, Emits extends EmitsOptions = {}>(options: ComponentOptionsWithoutProps<{}, RawBindings, D, C, M, Mixin, Extends, Emits>): VueProxy<{}, RawBindings, D, C, M, Mixin, Extends, Emits>; | ||
/** | ||
* overload 2: object format with array props declaration | ||
* props inferred as `{ [key in PropNames]?: any }` | ||
* | ||
* return type is for Vetur and TSX support | ||
*/ | ||
declare function defineComponent<PropNames extends string, RawBindings = Data, D = Data, C extends ComputedOptions = {}, M extends MethodOptions = {}, Mixin = {}, Extends = {}, Emits extends EmitsOptions = {}, PropsOptions extends ComponentPropsOptions = ComponentPropsOptions>(options: ComponentOptionsWithArrayProps<PropNames, RawBindings, D, C, M, Mixin, Extends, Emits>): VueProxy<Readonly<{ | ||
[key in PropNames]?: any; | ||
}>, RawBindings, D, C, M>; | ||
declare function defineComponent<Props, RawBindings = Data, D = Data, C extends ComputedOptions = {}, M extends MethodOptions = {}, PropsOptions extends ComponentPropsOptions = ComponentPropsOptions>(options: HasDefined<Props> extends true ? ComponentOptionsWithProps<PropsOptions, RawBindings, D, C, M, Props> : ComponentOptionsWithProps<PropsOptions, RawBindings, D, C, M>): VueProxy<PropsOptions, RawBindings, D, C, M>; | ||
}>, RawBindings, D, C, M, Mixin, Extends, Emits>; | ||
/** | ||
* overload 3: object format with object props declaration | ||
* | ||
* see `ExtractPropTypes` in './componentProps.ts' | ||
*/ | ||
declare function defineComponent<Props, RawBindings = Data, D = Data, C extends ComputedOptions = {}, M extends MethodOptions = {}, Mixin = {}, Extends = {}, Emits extends EmitsOptions = {}, PropsOptions extends ComponentPropsOptions = ComponentPropsOptions>(options: HasDefined<Props> extends true ? ComponentOptionsWithProps<PropsOptions, RawBindings, D, C, M, Mixin, Extends, Emits, Props> : ComponentOptionsWithProps<PropsOptions, RawBindings, D, C, M, Mixin, Extends, Emits>): VueProxy<PropsOptions, RawBindings, D, C, M, Mixin, Extends, Emits>; | ||
declare type ComponentOptions = ComponentOptionsWithoutProps | ComponentOptionsWithArrayProps | ComponentOptionsWithProps; | ||
declare type Component = VueProxy<any, any, any, any, any>; | ||
declare type ComponentOrComponentOptions = ComponentOptions | Component; | ||
declare type ComponentOrComponentOptions = Component | ComponentOptionsWithoutProps | ComponentOptionsWithArrayProps | ComponentOptionsWithProps; | ||
declare type AsyncComponentResolveResult<T = ComponentOrComponentOptions> = T | { | ||
@@ -429,16 +444,16 @@ default: T; | ||
interface App<T = any> { | ||
config: VueConstructor$1['config']; | ||
use: VueConstructor$1['use']; | ||
mixin: VueConstructor$1['mixin']; | ||
component: VueConstructor$1['component']; | ||
directive: VueConstructor$1['directive']; | ||
mount: Vue__default['$mount']; | ||
unmount: Vue__default['$destroy']; | ||
config: VueConstructor['config']; | ||
use: VueConstructor['use']; | ||
mixin: VueConstructor['mixin']; | ||
component: VueConstructor['component']; | ||
directive: VueConstructor['directive']; | ||
mount: Vue$1['$mount']; | ||
unmount: Vue$1['$destroy']; | ||
} | ||
declare function createApp(rootComponent: any, rootProps?: any): App; | ||
declare type NextTick = Vue__default['$nextTick']; | ||
declare type NextTick = Vue$1['$nextTick']; | ||
declare const nextTick: NextTick; | ||
declare const createElement: Vue$1.CreateElement; | ||
declare const createElement: CreateElement; | ||
@@ -476,3 +491,3 @@ /** | ||
declare module 'vue/types/options' { | ||
interface ComponentOptions<V extends Vue__default> { | ||
interface ComponentOptions<V extends Vue$1> { | ||
setup?: SetupFunction<Data, Data>; | ||
@@ -479,0 +494,0 @@ } |
@@ -16,2 +16,2 @@ !function(t,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("vue")):"function"==typeof define&&define.amd?define(["exports","vue"],n):n((t="undefined"!=typeof globalThis?globalThis:t||self).VueCompositionAPI={},t.Vue)}(this,(function(t,n){"use strict";function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var r=e(n);function o(t){return"function"==typeof t&&/native code/.test(t.toString())}var i="undefined"!=typeof Symbol&&o(Symbol)&&"undefined"!=typeof Reflect&&o(Reflect.ownKeys),u=function(t){return t};function f(t,n,e){var r=e.get,o=e.set;Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:r||u,set:o||u})}function a(t,n,e,r){Object.defineProperty(t,n,{value:e,enumerable:!!r,writable:!0,configurable:!0})}function c(t,n){return Object.hasOwnProperty.call(t,n)}function l(t){return Array.isArray(t)}var s=Object.prototype.toString,v=function(t){return s.call(t)};function d(t){var n=parseFloat(String(t));return n>=0&&Math.floor(n)===n&&isFinite(t)&&n<=4294967295}function p(t){return null!==t&&"object"==typeof t}function y(t){return"[object Object]"===function(t){return Object.prototype.toString.call(t)}(t)}function _(t){return"function"==typeof t}function h(t,n){r.default.util.warn(t,n)} | ||
***************************************************************************** */ | ||
var b=function(t,n){return b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e])},b(t,n)};var g,m=function(){return m=Object.assign||function(t){for(var n,e=1,r=arguments.length;e<r;e++)for(var o in n=arguments[e])Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o]);return t},m.apply(this,arguments)};function w(t){var n="function"==typeof Symbol&&Symbol.iterator,e=n&&t[n],r=0;if(e)return e.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function $(t,n){var e="function"==typeof Symbol&&t[Symbol.iterator];if(!e)return t;var r,o,i=e.call(t),u=[];try{for(;(void 0===n||n-- >0)&&!(r=i.next()).done;)u.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(e=i.return)&&e.call(i)}finally{if(o)throw o.error}}return u}function j(t,n){for(var e=0,r=n.length,o=t.length;e<r;e++,o++)t[o]=n[e];return t}var O=[],x=function(){function t(t){this.active=!0,this.effects=[],this.cleanups=[],this.vm=t}return t.prototype.run=function(t){if(this.active)try{return this.on(),t()}finally{this.off()}},t.prototype.on=function(){this.active&&(O.push(this),g=this)},t.prototype.off=function(){this.active&&(O.pop(),g=O[O.length-1])},t.prototype.stop=function(){this.active&&(this.vm.$destroy(),this.effects.forEach((function(t){return t.stop()})),this.cleanups.forEach((function(t){return t()})),this.active=!1)},t}(),S=function(t){function n(n){void 0===n&&(n=!1);var e,r=void 0;return function(t){var n=D;D=!1;try{t()}finally{D=n}}((function(){r=K(A())})),e=t.call(this,r)||this,n||function(t,n){var e;if((n=n||g)&&n.active)return void n.effects.push(t);var r=null===(e=V())||void 0===e?void 0:e.proxy;r&&r.$on("hook:destroyed",(function(){return t.stop()}))}(e),e}return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function e(){this.constructor=t}b(t,n),t.prototype=null===n?Object.create(n):(e.prototype=n.prototype,new e)}(n,t),n}(x);function k(){return g}function E(){var t,n;return(null===(t=k())||void 0===t?void 0:t.vm)||(null===(n=V())||void 0===n?void 0:n.proxy)}var R=void 0;try{var C=require("vue");C&&B(C)?R=C:C&&"default"in C&&B(C.default)&&(R=C.default)}catch(t){}var M=null,P=null,D=!0,U="__composition_api_installed__";function B(t){return t&&_(t)&&"Vue"===t.name}function A(){return M}function T(t){if(D){var n=P;null==n||n.scope.off(),null==(P=t)||P.scope.on()}}function V(){return P}var W,z=new WeakMap;function F(t){if(z.has(t))return z.get(t);var n={proxy:t,update:t.$forceUpdate,type:t.$options,uid:t._uid,emit:t.$emit.bind(t),parent:null,root:null};!function(t){if(!t.scope){var n=new x(t.proxy);t.scope=n,t.proxy.$on("hook:destroyed",(function(){return n.stop()}))}t.scope}(n);return["data","props","attrs","refs","vnode","slots"].forEach((function(e){f(n,e,{get:function(){return t["$"+e]}})})),f(n,"isMounted",{get:function(){return t._isMounted}}),f(n,"isUnmounted",{get:function(){return t._isDestroyed}}),f(n,"isDeactivated",{get:function(){return t._inactive}}),f(n,"emitted",{get:function(){return t._events}}),z.set(t,n),t.$parent&&(n.parent=F(t.$parent)),t.$root&&(n.root=F(t.$root)),n}function I(t,n){return n=n||V()}function K(t,n){void 0===n&&(n={});var e=t.config.silent;t.config.silent=!0;var r=new t(n);return t.config.silent=e,r}function q(t,n){return function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];if(t.$scopedSlots[n])return t.$scopedSlots[n].apply(t,e)}}function Q(t){return i?Symbol.for(t):t}var G=Q("composition-api.preFlushQueue"),H=Q("composition-api.postFlushQueue"),J="composition-api.refKey",L=new WeakMap,N=new WeakMap,X=new WeakMap,Y=function(t){f(this,"value",{get:t.get,set:t.set})};function Z(t,n,e){void 0===n&&(n=!1),void 0===e&&(e=!1);var r=new Y(t);e&&(r.effect=!0);var o=Object.seal(r);return n&&X.set(o,!0),o}function tt(t){var n;if(nt(t))return t;var e=dt(((n={})[J]=t,n));return Z({get:function(){return e[J]},set:function(t){return e[J]=t}})}function nt(t){return t instanceof Y}function et(t){return nt(t)?t.value:t}function rt(t){if(!y(t))return t;var n={};for(var e in t)n[e]=ot(t,e);return n}function ot(t,n){var e=t[n];return nt(e)?e:Z({get:function(){return t[n]},set:function(e){return t[n]=e}})}function it(t){var n;return Boolean(t&&c(t,"__ob__")&&"object"==typeof t.__ob__&&(null===(n=t.__ob__)||void 0===n?void 0:n.__raw__))}function ut(t){var n;return Boolean(t&&c(t,"__ob__")&&"object"==typeof t.__ob__&&!(null===(n=t.__ob__)||void 0===n?void 0:n.__raw__))}function ft(t){if(!(!y(t)||it(t)||l(t)||nt(t)||function(t){var n=A();return n&&t instanceof n}(t)||L.has(t))){L.set(t,!0);for(var n=Object.keys(t),e=0;e<n.length;e++)at(t,n[e])}}function at(t,n,e){if("__ob__"!==n&&!it(t[n])){var r,o,i=Object.getOwnPropertyDescriptor(t,n);if(i){if(!1===i.configurable)return;r=i.get,o=i.set,r&&!o||2!==arguments.length||(e=t[n])}ft(e),f(t,n,{get:function(){var o=r?r.call(t):e;return n!==J&&nt(o)?o.value:o},set:function(i){r&&!o||(n!==J&&nt(e)&&!nt(i)?e.value=i:o?(o.call(t,i),e=i):e=i,ft(i))}})}}function ct(t){var n,e=M||R;e.observable?n=e.observable(t):n=K(e,{data:{$$state:t}})._data.$$state;return c(n,"__ob__")||lt(n),n}function lt(t,n){var e,r;if(void 0===n&&(n=new Set),!n.has(t)&&!c(t,"__ob__")&&Object.isExtensible(t)){a(t,"__ob__",function(t){void 0===t&&(t={});return{value:t,dep:{notify:u,depend:u,addSub:u,removeSub:u}}}(t)),n.add(t);try{for(var o=w(Object.keys(t)),i=o.next();!i.done;i=o.next()){var f=t[i.value];(y(f)||l(f))&&!it(f)&&Object.isExtensible(f)&<(f,n)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}}}function st(){return ct({}).__ob__}function vt(t){var n,e;if(!p(t))return t;if(!y(t)&&!l(t)||it(t)||!Object.isExtensible(t))return t;var r=ct(l(t)?[]:{});ft(r);var o=r.__ob__,i=function(n){var e,i,u=t[n],a=Object.getOwnPropertyDescriptor(t,n);if(a){if(!1===a.configurable)return"continue";e=a.get,i=a.set}f(r,n,{get:function(){var n,r=e?e.call(t):u;return null===(n=o.dep)||void 0===n||n.depend(),r},set:function(n){var r;e&&!i||(i?i.call(t,n):u=n,null===(r=o.dep)||void 0===r||r.notify())}})};try{for(var u=w(Object.keys(t)),a=u.next();!a.done;a=u.next()){i(a.value)}}catch(t){n={error:t}}finally{try{a&&!a.done&&(e=u.return)&&e.call(u)}finally{if(n)throw n.error}}return r}function dt(t){if(!p(t))return t;if(!y(t)&&!l(t)||it(t)||!Object.isExtensible(t))return t;var n=ct(t);return ft(n),n}function pt(t){return function(n,e){var r,o=I(((r=t)[0].toUpperCase(),r.slice(1)),e);return o&&function(t,n,e,r){var o=n.proxy.$options,i=t.config.optionMergeStrategies[e],u=function(t,n){return function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var o=V();T(t);try{return n.apply(void 0,j([],$(e)))}finally{T(o)}}}(n,r);return o[e]=i(o[e],u),u}(A(),o,t,n)}}var yt,_t=pt("beforeMount"),ht=pt("mounted"),bt=pt("beforeUpdate"),gt=pt("updated"),mt=pt("beforeDestroy"),wt=pt("destroyed"),$t=pt("errorCaptured"),jt=pt("activated"),Ot=pt("deactivated"),xt=pt("serverPrefetch");function St(){Rt(this,G)}function kt(){Rt(this,H)}function Et(){var t=E();return t?function(t){return void 0!==t[G]}(t)||function(t){t[G]=[],t[H]=[],t.$on("hook:beforeUpdate",St),t.$on("hook:updated",kt)}(t):(yt||(yt=K(A())),t=yt),t}function Rt(t,n){for(var e=t[n],r=0;r<e.length;r++)e[r]();e.length=0}function Ct(t,n,e){var r=function(){t.$nextTick((function(){t[G].length&&Rt(t,G),t[H].length&&Rt(t,H)}))};switch(e){case"pre":r(),t[G].push(n);break;case"post":r(),t[H].push(n);break;default:!function(t,n){if(!t)throw new Error("[vue-composition-api] "+n)}(!1,'flush must be one of ["post", "pre", "sync"], but got '+e)}}function Mt(t,n){var e=t.teardown;t.teardown=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];e.apply(t,r),n()}}function Pt(t,n,e,r){var o,i,f=r.flush,a="sync"===f,c=function(t){i=function(){try{t()}catch(t){!function(t,n,e){if("undefined"==typeof window||"undefined"==typeof console)throw t;console.error(t)}(t)}}},s=function(){i&&(i(),i=null)},v=function(n){return a||t===yt?n:function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return Ct(t,(function(){n.apply(void 0,j([],$(e)))}),f)}};if(null===e){var d=!1,p=function(t,n,e,r){var o=t._watchers.length;return t.$watch(n,e,{immediate:r.immediateInvokeCallback,deep:r.deep,lazy:r.noRun,sync:r.sync,before:r.before}),t._watchers[o]}(t,(function(){if(!d)try{d=!0,n(c)}finally{d=!1}}),u,{deep:r.deep||!1,sync:a,before:s});Mt(p,s),p.lazy=!1;var y=p.get.bind(p);return p.get=v(y),function(){p.teardown()}}var h,b=r.deep,g=!1;if(nt(n)?h=function(){return n.value}:ut(n)?(h=function(){return n},b=!0):l(n)?(g=!0,h=function(){return n.map((function(t){return nt(t)?t.value:ut(t)?Ut(t):_(t)?t():u}))}):h=_(n)?n:u,b){var m=h;h=function(){return Ut(m())}}var w=function(t,n){if(b||!g||!t.every((function(t,e){return Object.is(t,n[e])})))return s(),e(t,n,c)},O=v(w);if(r.immediate){var x=O,S=function(t,n){return S=x,w(t,l(t)?[]:n)};O=function(t,n){return S(t,n)}}var k=t.$watch(h,O,{immediate:r.immediate,deep:b,sync:a}),E=t._watchers[t._watchers.length-1];return ut(E.value)&&(null===(o=E.value.__ob__)||void 0===o?void 0:o.dep)&&b&&E.value.__ob__.dep.addSub({update:function(){E.run()}}),Mt(E,s),function(){k()}}function Dt(t,n){var e=function(t){return m({flush:"pre"},t)}(n);return Pt(Et(),t,null,e)}function Ut(t,n){if(void 0===n&&(n=new Set),!p(t)||n.has(t))return t;if(n.add(t),nt(t))Ut(t.value,n);else if(l(t))for(var e=0;e<t.length;e++)Ut(t[e],n);else if("[object Set]"===v(t)||function(t){return"[object Map]"===v(t)}(t))t.forEach((function(t){Ut(t,n)}));else if(y(t))for(var r in t)Ut(t[r],n);return t}var Bt={};var At={},Tt=function(t){var n;void 0===t&&(t="$style");var e=V();if(!e)return At;var r=null===(n=e.proxy)||void 0===n?void 0:n[t];return r||At},Vt=Tt;var Wt;function zt(){return V().setupContext}var Ft={set:function(t,n,e){(t.__composition_api_state__=t.__composition_api_state__||{})[n]=e},get:function(t,n){return(t.__composition_api_state__||{})[n]}};function It(t){var n=Ft.get(t,"rawBindings")||{};if(n&&Object.keys(n).length){for(var e=t.$refs,r=Ft.get(t,"refs")||[],o=0;o<r.length;o++){var i=n[a=r[o]];!e[a]&&i&&nt(i)&&(i.value=null)}var u=Object.keys(e),f=[];for(o=0;o<u.length;o++){var a;i=n[a=u[o]];e[a]&&i&&nt(i)&&(i.value=e[a],f.push(a))}Ft.set(t,"refs",f)}}function Kt(t,n){var e,r;if(t){var o=Ft.get(t,"attrBindings");if(o||n){if(!o){var i=dt({});o={ctx:n,data:i},Ft.set(t,"attrBindings",o),f(n,"attrs",{get:function(){return null==o?void 0:o.data},set:function(){}})}var u=t.$attrs,a=function(n){c(o.data,n)||f(o.data,n,{get:function(){return t.$attrs[n]}})};try{for(var l=w(Object.keys(u)),s=l.next();!s.done;s=l.next()){a(s.value)}}catch(t){e={error:t}}finally{try{s&&!s.done&&(r=l.return)&&r.call(l)}finally{if(e)throw e.error}}}}}function qt(t,n){var e=t.$options._parentVnode;if(e){for(var r=Ft.get(t,"slots")||[],o=function(t,n){var e;if(t){if(t._normalized)return t._normalized;for(var r in e={},t)t[r]&&"$"!==r[0]&&(e[r]=!0)}else e={};for(var r in n)r in e||(e[r]=!0);return e}(e.data.scopedSlots,t.$slots),i=0;i<r.length;i++){o[f=r[i]]||delete n[f]}var u=Object.keys(o);for(i=0;i<u.length;i++){var f;n[f=u[i]]||(n[f]=q(t,f))}Ft.set(t,"slots",u)}}function Qt(t,n,e){var r=V();T(t);try{return n(t)}catch(t){if(!e)throw t;e(t)}finally{T(r)}}function Gt(t){function n(t,e){if(void 0===e&&(e=new Set),!e.has(t)&&y(t)&&!nt(t)&&!ut(t)&&!it(t)){var r=A().util.defineReactive;Object.keys(t).forEach((function(o){var i=t[o];r(t,o,i),i&&(e.add(i),n(i,e))}))}}function e(t,n){return void 0===n&&(n=new Map),n.has(t)?n.get(t):(n.set(t,!1),l(t)&&ut(t)?(n.set(t,!0),!0):!(!y(t)||it(t)||nt(t))&&Object.keys(t).some((function(r){return e(t[r],n)})))}t.mixin({beforeCreate:function(){var t=this,r=t.$options,o=r.setup,i=r.render;i&&(r.render=function(){for(var n=this,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return Qt(F(t),(function(){return i.apply(n,e)}))});if(!o)return;if(!_(o))return;var u=r.data;r.data=function(){return function(t,r){void 0===r&&(r={});var o,i=t.$options.setup,u=function(t){var n={slots:{}},e=["emit"];return["root","parent","refs","listeners","isServer","ssrContext"].forEach((function(e){var r="$"+e;f(n,e,{get:function(){return t[r]},set:function(){}})})),Kt(t,n),e.forEach((function(e){var r="$"+e;f(n,e,{get:function(){return function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];t[r].apply(t,n)}}})})),n}(t),s=F(t);if(s.setupContext=u,a(r,"__ob__",st()),qt(t,u.slots),Qt(s,(function(){o=i(r,u)})),!o)return;if(_(o)){var v=o;return void(t.$options.render=function(){return qt(t,u.slots),Qt(s,(function(){return v()}))})}if(y(o)){ut(o)&&(o=rt(o)),Ft.set(t,"rawBindings",o);var d=o;Object.keys(d).forEach((function(r){var o=d[r];if(!nt(o))if(ut(o))l(o)&&(o=tt(o));else if(_(o)){var i=o;o=o.bind(t),Object.keys(i).forEach((function(t){o[t]=i[t]}))}else p(o)?e(o)&&n(o):o=tt(o);!function(t,n,e){var r=t.$options.props;n in t||r&&c(r,n)||(nt(e)?f(t,n,{get:function(){return e.value},set:function(t){e.value=t}}):f(t,n,{get:function(){return ut(e)&&e.__ob__.dep.depend(),e},set:function(t){e=t}}))}(t,r,o)}))}}(t,t.$props),_(u)?u.call(t,t):u||{}}},mounted:function(){It(this)},beforeUpdate:function(){Kt(this)},updated:function(){var t;It(this),(null===(t=this.$vnode)||void 0===t?void 0:t.context)&&It(this.$vnode.context)}})}function Ht(t,n){if(!t)return n;if(!n)return t;for(var e,r,o,u=i?Reflect.ownKeys(t):Object.keys(t),f=0;f<u.length;f++)"__ob__"!==(e=u[f])&&(r=n[e],o=t[e],c(n,e)?r!==o&&y(r)&&!nt(r)&&y(o)&&!nt(o)&&Ht(o,r):n[e]=o);return n}function Jt(t){(function(t){return c(t,U)})(t)||(t.config.optionMergeStrategies.setup=function(t,n){return function(e,r){return Ht(_(t)?t(e,r)||{}:void 0,_(n)?n(e,r)||{}:void 0)}},function(t){M=t,Object.defineProperty(t,U,{configurable:!0,writable:!0,value:!0})}(t),Gt(t))}var Lt={install:function(t){return Jt(t)}};"undefined"!=typeof window&&window.Vue&&window.Vue.use(Lt),t.EffectScope=S,t.computed=function(t){var n,e,r,o,i=E();if(_(t)?n=t:(n=t.get,e=t.set),i&&!i.$isServer){var f,a=function(){if(!W){var t=K(A(),{computed:{value:function(){return 0}}}),n=t._computedWatchers.value.constructor,e=t._data.__ob__.dep.constructor;W={Watcher:n,Dep:e},t.$destroy()}return W}(),c=a.Watcher,l=a.Dep;o=function(){return f||(f=new c(i,n,u,{lazy:!0})),f.dirty&&f.evaluate(),l.target&&f.depend(),f.value},r=function(t){e&&e(t)}}else{var s=K(A(),{computed:{$$state:{get:n,set:e}}});i&&i.$on("hook:destroyed",(function(){return s.$destroy()})),o=function(){return s.$$state},r=function(t){s.$$state=t}}return Z({get:o,set:r},!e,!0)},t.createApp=function(t,n){void 0===n&&(n=void 0);var e=A(),r=void 0;return{config:e.config,use:e.use.bind(e),mixin:e.mixin.bind(e),component:e.component.bind(e),directive:e.directive.bind(e),mount:function(o,i){return r||((r=new e(m({propsData:n},t))).$mount(o,i),r)},unmount:function(){r&&(r.$destroy(),r=void 0)}}},t.createRef=Z,t.customRef=function(t){var n=tt(0);return Z(t((function(){n.value}),(function(){++n.value})))},t.default=Lt,t.defineAsyncComponent=function(t){_(t)&&(t={loader:t});var n=t.loader,e=t.loadingComponent,r=t.errorComponent,o=t.delay,i=void 0===o?200:o,u=t.timeout;t.suspensible;var f=t.onError,a=null,c=0,l=function(){var t;return a||(t=a=n().catch((function(t){if(t=t instanceof Error?t:new Error(String(t)),f)return new Promise((function(n,e){f(t,(function(){return n((c++,a=null,l()))}),(function(){return e(t)}),c+1)}));throw t})).then((function(n){return t!==a&&a?a:(n&&(n.__esModule||"Module"===n[Symbol.toStringTag])&&(n=n.default),n)})))};return function(){return{component:l(),delay:i,timeout:u,error:r,loading:e}}},t.defineComponent=function(t){return t},t.del=function(t,n){if(A().util.warn,l(t)&&d(n))t.splice(n,1);else{var e=t.__ob__;t._isVue||e&&e.vmCount||c(t,n)&&(delete t[n],e&&e.dep.notify())}},t.effectScope=function(t){return new S(t)},t.getCurrentInstance=V,t.getCurrentScope=k,t.h=function(){for(var t,n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];var r=null===(t=V())||void 0===t?void 0:t.proxy;return r?r.$createElement.apply(r,n):(Wt||(Wt=K(A()).$createElement),Wt.apply(Wt,n))},t.inject=function(t,n,e){var r;void 0===e&&(e=!1);var o=null===(r=V())||void 0===r?void 0:r.proxy;if(o){if(!t)return n;var i=function(t,n){for(var e=n;e;){if(e._provided&&c(e._provided,t))return e._provided[t];e=e.$parent}return Bt}(t,o);return i!==Bt?i:e&&_(n)?n():n}},t.isRaw=it,t.isReactive=ut,t.isReadonly=function(t){return X.has(t)},t.isRef=nt,t.markRaw=function(t){if(!y(t)&&!l(t)||!Object.isExtensible(t))return t;var n=st();return n.__raw__=!0,a(t,"__ob__",n),N.set(t,!0),t},t.nextTick=function(){for(var t,n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return null===(t=A())||void 0===t?void 0:t.nextTick.apply(this,n)},t.onActivated=jt,t.onBeforeMount=_t,t.onBeforeUnmount=mt,t.onBeforeUpdate=bt,t.onDeactivated=Ot,t.onErrorCaptured=$t,t.onMounted=ht,t.onScopeDispose=function(t){g&&g.cleanups.push(t)},t.onServerPrefetch=xt,t.onUnmounted=wt,t.onUpdated=gt,t.provide=function(t,n){var e,r=null===(e=I())||void 0===e?void 0:e.proxy;if(r){if(!r._provided){var o={};f(r,"_provided",{get:function(){return o},set:function(t){return Object.assign(o,t)}})}r._provided[t]=n}},t.proxyRefs=function(t){var n,e,r;if(ut(t))return t;var o=dt(((n={})[J]=t,n));a(o,J,o[J],!1);var i=function(t){f(o,t,{get:function(){return nt(o[J][t])?o[J][t].value:o[J][t]},set:function(n){if(nt(o[J][t]))return o[J][t].value=et(n);o[J][t]=et(n)}})};try{for(var u=w(Object.keys(t)),c=u.next();!c.done;c=u.next()){i(c.value)}}catch(t){e={error:t}}finally{try{c&&!c.done&&(r=u.return)&&r.call(u)}finally{if(e)throw e.error}}return o},t.reactive=dt,t.readonly=function(t){return X.set(t,!0),t},t.ref=tt,t.set=function(t,n,e){var r=A().util;r.warn;var o=r.defineReactive,i=t.__ob__;function u(){i&&p(e)&&!c(e,"__ob__")&<(e)}if(l(t)){if(d(n))return t.length=Math.max(t.length,n),t.splice(n,1,e),u(),e;if("length"===n&&e!==t.length)return t.length=e,null==i||i.dep.notify(),e}return n in t&&!(n in Object.prototype)?(t[n]=e,u(),e):t._isVue||i&&i.vmCount?e:i?(o(i.value,n,e),at(t,n,e),u(),i.dep.notify(),e):(t[n]=e,e)},t.shallowReactive=vt,t.shallowReadonly=function(t){var n,e;if(!p(t))return t;if(!y(t)&&!l(t)||!Object.isExtensible(t)&&!nt(t))return t;var r=nt(t)?new Y({}):ut(t)?ct({}):{},o=dt({}).__ob__,i=function(n){var e,i=t[n],u=Object.getOwnPropertyDescriptor(t,n);if(u){if(!1===u.configurable&&!nt(t))return"continue";e=u.get}f(r,n,{get:function(){var n=e?e.call(t):i;return o.dep.depend(),n},set:function(t){}})};try{for(var u=w(Object.keys(t)),a=u.next();!a.done;a=u.next()){i(a.value)}}catch(t){n={error:t}}finally{try{a&&!a.done&&(e=u.return)&&e.call(u)}finally{if(n)throw n.error}}return X.set(r,!0),r},t.shallowRef=function(t){var n;if(nt(t))return t;var e=vt(((n={})[J]=t,n));return Z({get:function(){return e[J]},set:function(t){return e[J]=t}})},t.toRaw=function(t){var n,e;return it(t)||!Object.isExtensible(t)?t:(null===(e=null===(n=t)||void 0===n?void 0:n.__ob__)||void 0===e?void 0:e.value)||t},t.toRef=ot,t.toRefs=rt,t.triggerRef=function(t){nt(t)&&(t.value=t.value)},t.unref=et,t.useAttrs=function(){return zt().attrs},t.useCSSModule=Vt,t.useCssModule=Tt,t.useSlots=function(){return zt().slots},t.version="1.3.3",t.warn=function(t){var n;h(t,null===(n=V())||void 0===n?void 0:n.proxy)},t.watch=function(t,n,e){var r=null;_(n)?r=n:(e=n,r=null);var o=function(t){return m({immediate:!1,deep:!1,flush:"pre"},t)}(e);return Pt(Et(),t,r,o)},t.watchEffect=Dt,t.watchPostEffect=function(t){return Dt(t,{flush:"post"})},t.watchSyncEffect=function(t){return Dt(t,{flush:"sync"})},Object.defineProperty(t,"__esModule",{value:!0})})); | ||
var b=function(t,n){return b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e])},b(t,n)};var g,m=function(){return m=Object.assign||function(t){for(var n,e=1,r=arguments.length;e<r;e++)for(var o in n=arguments[e])Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o]);return t},m.apply(this,arguments)};function w(t){var n="function"==typeof Symbol&&Symbol.iterator,e=n&&t[n],r=0;if(e)return e.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function $(t,n){var e="function"==typeof Symbol&&t[Symbol.iterator];if(!e)return t;var r,o,i=e.call(t),u=[];try{for(;(void 0===n||n-- >0)&&!(r=i.next()).done;)u.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(e=i.return)&&e.call(i)}finally{if(o)throw o.error}}return u}function j(t,n){for(var e=0,r=n.length,o=t.length;e<r;e++,o++)t[o]=n[e];return t}var O=[],x=function(){function t(t){this.active=!0,this.effects=[],this.cleanups=[],this.vm=t}return t.prototype.run=function(t){if(this.active)try{return this.on(),t()}finally{this.off()}},t.prototype.on=function(){this.active&&(O.push(this),g=this)},t.prototype.off=function(){this.active&&(O.pop(),g=O[O.length-1])},t.prototype.stop=function(){this.active&&(this.vm.$destroy(),this.effects.forEach((function(t){return t.stop()})),this.cleanups.forEach((function(t){return t()})),this.active=!1)},t}(),S=function(t){function n(n){void 0===n&&(n=!1);var e,r=void 0;return function(t){var n=D;D=!1;try{t()}finally{D=n}}((function(){r=K(A())})),e=t.call(this,r)||this,n||function(t,n){var e;if((n=n||g)&&n.active)return void n.effects.push(t);var r=null===(e=V())||void 0===e?void 0:e.proxy;r&&r.$on("hook:destroyed",(function(){return t.stop()}))}(e),e}return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function e(){this.constructor=t}b(t,n),t.prototype=null===n?Object.create(n):(e.prototype=n.prototype,new e)}(n,t),n}(x);function k(){return g}function E(){var t,n;return(null===(t=k())||void 0===t?void 0:t.vm)||(null===(n=V())||void 0===n?void 0:n.proxy)}var R=void 0;try{var C=require("vue");C&&B(C)?R=C:C&&"default"in C&&B(C.default)&&(R=C.default)}catch(t){}var M=null,P=null,D=!0,U="__composition_api_installed__";function B(t){return t&&_(t)&&"Vue"===t.name}function A(){return M}function T(t){if(D){var n=P;null==n||n.scope.off(),null==(P=t)||P.scope.on()}}function V(){return P}var W,z=new WeakMap;function F(t){if(z.has(t))return z.get(t);var n={proxy:t,update:t.$forceUpdate,type:t.$options,uid:t._uid,emit:t.$emit.bind(t),parent:null,root:null};!function(t){if(!t.scope){var n=new x(t.proxy);t.scope=n,t.proxy.$on("hook:destroyed",(function(){return n.stop()}))}t.scope}(n);return["data","props","attrs","refs","vnode","slots"].forEach((function(e){f(n,e,{get:function(){return t["$"+e]}})})),f(n,"isMounted",{get:function(){return t._isMounted}}),f(n,"isUnmounted",{get:function(){return t._isDestroyed}}),f(n,"isDeactivated",{get:function(){return t._inactive}}),f(n,"emitted",{get:function(){return t._events}}),z.set(t,n),t.$parent&&(n.parent=F(t.$parent)),t.$root&&(n.root=F(t.$root)),n}function I(t,n){return n=n||V()}function K(t,n){void 0===n&&(n={});var e=t.config.silent;t.config.silent=!0;var r=new t(n);return t.config.silent=e,r}function q(t,n){return function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];if(t.$scopedSlots[n])return t.$scopedSlots[n].apply(t,e)}}function Q(t){return i?Symbol.for(t):t}var G=Q("composition-api.preFlushQueue"),H=Q("composition-api.postFlushQueue"),J="composition-api.refKey",L=new WeakMap,N=new WeakMap,X=new WeakMap,Y=function(t){f(this,"value",{get:t.get,set:t.set})};function Z(t,n,e){void 0===n&&(n=!1),void 0===e&&(e=!1);var r=new Y(t);e&&(r.effect=!0);var o=Object.seal(r);return n&&X.set(o,!0),o}function tt(t){var n;if(nt(t))return t;var e=dt(((n={})[J]=t,n));return Z({get:function(){return e[J]},set:function(t){return e[J]=t}})}function nt(t){return t instanceof Y}function et(t){return nt(t)?t.value:t}function rt(t){if(!y(t))return t;var n={};for(var e in t)n[e]=ot(t,e);return n}function ot(t,n){var e=t[n];return nt(e)?e:Z({get:function(){return t[n]},set:function(e){return t[n]=e}})}function it(t){var n;return Boolean(t&&c(t,"__ob__")&&"object"==typeof t.__ob__&&(null===(n=t.__ob__)||void 0===n?void 0:n.__raw__))}function ut(t){var n;return Boolean(t&&c(t,"__ob__")&&"object"==typeof t.__ob__&&!(null===(n=t.__ob__)||void 0===n?void 0:n.__raw__))}function ft(t){if(!(!y(t)||it(t)||l(t)||nt(t)||function(t){var n=A();return n&&t instanceof n}(t)||L.has(t))){L.set(t,!0);for(var n=Object.keys(t),e=0;e<n.length;e++)at(t,n[e])}}function at(t,n,e){if("__ob__"!==n&&!it(t[n])){var r,o,i=Object.getOwnPropertyDescriptor(t,n);if(i){if(!1===i.configurable)return;r=i.get,o=i.set,r&&!o||2!==arguments.length||(e=t[n])}ft(e),f(t,n,{get:function(){var o=r?r.call(t):e;return n!==J&&nt(o)?o.value:o},set:function(i){r&&!o||(n!==J&&nt(e)&&!nt(i)?e.value=i:o?(o.call(t,i),e=i):e=i,ft(i))}})}}function ct(t){var n,e=M||R;e.observable?n=e.observable(t):n=K(e,{data:{$$state:t}})._data.$$state;return c(n,"__ob__")||lt(n),n}function lt(t,n){var e,r;if(void 0===n&&(n=new Set),!n.has(t)&&!c(t,"__ob__")&&Object.isExtensible(t)){a(t,"__ob__",function(t){void 0===t&&(t={});return{value:t,dep:{notify:u,depend:u,addSub:u,removeSub:u}}}(t)),n.add(t);try{for(var o=w(Object.keys(t)),i=o.next();!i.done;i=o.next()){var f=t[i.value];(y(f)||l(f))&&!it(f)&&Object.isExtensible(f)&<(f,n)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}}}function st(){return ct({}).__ob__}function vt(t){var n,e;if(!p(t))return t;if(!y(t)&&!l(t)||it(t)||!Object.isExtensible(t))return t;var r=ct(l(t)?[]:{});ft(r);var o=r.__ob__,i=function(n){var e,i,u=t[n],a=Object.getOwnPropertyDescriptor(t,n);if(a){if(!1===a.configurable)return"continue";e=a.get,i=a.set}f(r,n,{get:function(){var n,r=e?e.call(t):u;return null===(n=o.dep)||void 0===n||n.depend(),r},set:function(n){var r;e&&!i||(i?i.call(t,n):u=n,null===(r=o.dep)||void 0===r||r.notify())}})};try{for(var u=w(Object.keys(t)),a=u.next();!a.done;a=u.next()){i(a.value)}}catch(t){n={error:t}}finally{try{a&&!a.done&&(e=u.return)&&e.call(u)}finally{if(n)throw n.error}}return r}function dt(t){if(!p(t))return t;if(!y(t)&&!l(t)||it(t)||!Object.isExtensible(t))return t;var n=ct(t);return ft(n),n}function pt(t){return function(n,e){var r,o=I(((r=t)[0].toUpperCase(),r.slice(1)),e);return o&&function(t,n,e,r){var o=n.proxy.$options,i=t.config.optionMergeStrategies[e],u=function(t,n){return function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var o=V();T(t);try{return n.apply(void 0,j([],$(e)))}finally{T(o)}}}(n,r);return o[e]=i(o[e],u),u}(A(),o,t,n)}}var yt,_t=pt("beforeMount"),ht=pt("mounted"),bt=pt("beforeUpdate"),gt=pt("updated"),mt=pt("beforeDestroy"),wt=pt("destroyed"),$t=pt("errorCaptured"),jt=pt("activated"),Ot=pt("deactivated"),xt=pt("serverPrefetch");function St(){Rt(this,G)}function kt(){Rt(this,H)}function Et(){var t=E();return t?function(t){return void 0!==t[G]}(t)||function(t){t[G]=[],t[H]=[],t.$on("hook:beforeUpdate",St),t.$on("hook:updated",kt)}(t):(yt||(yt=K(A())),t=yt),t}function Rt(t,n){for(var e=t[n],r=0;r<e.length;r++)e[r]();e.length=0}function Ct(t,n,e){var r=function(){t.$nextTick((function(){t[G].length&&Rt(t,G),t[H].length&&Rt(t,H)}))};switch(e){case"pre":r(),t[G].push(n);break;case"post":r(),t[H].push(n);break;default:!function(t,n){if(!t)throw new Error("[vue-composition-api] "+n)}(!1,'flush must be one of ["post", "pre", "sync"], but got '+e)}}function Mt(t,n){var e=t.teardown;t.teardown=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];e.apply(t,r),n()}}function Pt(t,n,e,r){var o,i,f=r.flush,a="sync"===f,c=function(t){i=function(){try{t()}catch(t){!function(t,n,e){if("undefined"==typeof window||"undefined"==typeof console)throw t;console.error(t)}(t)}}},s=function(){i&&(i(),i=null)},v=function(n){return a||t===yt?n:function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return Ct(t,(function(){n.apply(void 0,j([],$(e)))}),f)}};if(null===e){var d=!1,p=function(t,n,e,r){var o=t._watchers.length;return t.$watch(n,e,{immediate:r.immediateInvokeCallback,deep:r.deep,lazy:r.noRun,sync:r.sync,before:r.before}),t._watchers[o]}(t,(function(){if(!d)try{d=!0,n(c)}finally{d=!1}}),u,{deep:r.deep||!1,sync:a,before:s});Mt(p,s),p.lazy=!1;var y=p.get.bind(p);return p.get=v(y),function(){p.teardown()}}var h,b=r.deep,g=!1;if(nt(n)?h=function(){return n.value}:ut(n)?(h=function(){return n},b=!0):l(n)?(g=!0,h=function(){return n.map((function(t){return nt(t)?t.value:ut(t)?Ut(t):_(t)?t():u}))}):h=_(n)?n:u,b){var m=h;h=function(){return Ut(m())}}var w=function(t,n){if(b||!g||!t.every((function(t,e){return Object.is(t,n[e])})))return s(),e(t,n,c)},O=v(w);if(r.immediate){var x=O,S=function(t,n){return S=x,w(t,l(t)?[]:n)};O=function(t,n){return S(t,n)}}var k=t.$watch(h,O,{immediate:r.immediate,deep:b,sync:a}),E=t._watchers[t._watchers.length-1];return ut(E.value)&&(null===(o=E.value.__ob__)||void 0===o?void 0:o.dep)&&b&&E.value.__ob__.dep.addSub({update:function(){E.run()}}),Mt(E,s),function(){k()}}function Dt(t,n){var e=function(t){return m({flush:"pre"},t)}(n);return Pt(Et(),t,null,e)}function Ut(t,n){if(void 0===n&&(n=new Set),!p(t)||n.has(t))return t;if(n.add(t),nt(t))Ut(t.value,n);else if(l(t))for(var e=0;e<t.length;e++)Ut(t[e],n);else if("[object Set]"===v(t)||function(t){return"[object Map]"===v(t)}(t))t.forEach((function(t){Ut(t,n)}));else if(y(t))for(var r in t)Ut(t[r],n);return t}var Bt={};var At={},Tt=function(t){var n;void 0===t&&(t="$style");var e=V();if(!e)return At;var r=null===(n=e.proxy)||void 0===n?void 0:n[t];return r||At},Vt=Tt;var Wt;function zt(){return V().setupContext}var Ft={set:function(t,n,e){(t.__composition_api_state__=t.__composition_api_state__||{})[n]=e},get:function(t,n){return(t.__composition_api_state__||{})[n]}};function It(t){var n=Ft.get(t,"rawBindings")||{};if(n&&Object.keys(n).length){for(var e=t.$refs,r=Ft.get(t,"refs")||[],o=0;o<r.length;o++){var i=n[a=r[o]];!e[a]&&i&&nt(i)&&(i.value=null)}var u=Object.keys(e),f=[];for(o=0;o<u.length;o++){var a;i=n[a=u[o]];e[a]&&i&&nt(i)&&(i.value=e[a],f.push(a))}Ft.set(t,"refs",f)}}function Kt(t,n){var e,r;if(t){var o=Ft.get(t,"attrBindings");if(o||n){if(!o){var i=dt({});o={ctx:n,data:i},Ft.set(t,"attrBindings",o),f(n,"attrs",{get:function(){return null==o?void 0:o.data},set:function(){}})}var u=t.$attrs,a=function(n){c(o.data,n)||f(o.data,n,{get:function(){return t.$attrs[n]}})};try{for(var l=w(Object.keys(u)),s=l.next();!s.done;s=l.next()){a(s.value)}}catch(t){e={error:t}}finally{try{s&&!s.done&&(r=l.return)&&r.call(l)}finally{if(e)throw e.error}}}}}function qt(t,n){var e=t.$options._parentVnode;if(e){for(var r=Ft.get(t,"slots")||[],o=function(t,n){var e;if(t){if(t._normalized)return t._normalized;for(var r in e={},t)t[r]&&"$"!==r[0]&&(e[r]=!0)}else e={};for(var r in n)r in e||(e[r]=!0);return e}(e.data.scopedSlots,t.$slots),i=0;i<r.length;i++){o[f=r[i]]||delete n[f]}var u=Object.keys(o);for(i=0;i<u.length;i++){var f;n[f=u[i]]||(n[f]=q(t,f))}Ft.set(t,"slots",u)}}function Qt(t,n,e){var r=V();T(t);try{return n(t)}catch(t){if(!e)throw t;e(t)}finally{T(r)}}function Gt(t){function n(t,e){if(void 0===e&&(e=new Set),!e.has(t)&&y(t)&&!nt(t)&&!ut(t)&&!it(t)){var r=A().util.defineReactive;Object.keys(t).forEach((function(o){var i=t[o];r(t,o,i),i&&(e.add(i),n(i,e))}))}}function e(t,n){return void 0===n&&(n=new Map),n.has(t)?n.get(t):(n.set(t,!1),l(t)&&ut(t)?(n.set(t,!0),!0):!(!y(t)||it(t)||nt(t))&&Object.keys(t).some((function(r){return e(t[r],n)})))}t.mixin({beforeCreate:function(){var t=this,r=t.$options,o=r.setup,i=r.render;i&&(r.render=function(){for(var n=this,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return Qt(F(t),(function(){return i.apply(n,e)}))});if(!o)return;if(!_(o))return;var u=r.data;r.data=function(){return function(t,r){void 0===r&&(r={});var o,i=t.$options.setup,u=function(t){var n={slots:{}},e=["emit"];return["root","parent","refs","listeners","isServer","ssrContext"].forEach((function(e){var r="$"+e;f(n,e,{get:function(){return t[r]},set:function(){}})})),Kt(t,n),e.forEach((function(e){var r="$"+e;f(n,e,{get:function(){return function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];t[r].apply(t,n)}}})})),n}(t),s=F(t);if(s.setupContext=u,a(r,"__ob__",st()),qt(t,u.slots),Qt(s,(function(){o=i(r,u)})),!o)return;if(_(o)){var v=o;return void(t.$options.render=function(){return qt(t,u.slots),Qt(s,(function(){return v()}))})}if(y(o)){ut(o)&&(o=rt(o)),Ft.set(t,"rawBindings",o);var d=o;Object.keys(d).forEach((function(r){var o=d[r];if(!nt(o))if(ut(o))l(o)&&(o=tt(o));else if(_(o)){var i=o;o=o.bind(t),Object.keys(i).forEach((function(t){o[t]=i[t]}))}else p(o)?e(o)&&n(o):o=tt(o);!function(t,n,e){var r=t.$options.props;n in t||r&&c(r,n)||(nt(e)?f(t,n,{get:function(){return e.value},set:function(t){e.value=t}}):f(t,n,{get:function(){return ut(e)&&e.__ob__.dep.depend(),e},set:function(t){e=t}}))}(t,r,o)}))}}(t,t.$props),_(u)?u.call(t,t):u||{}}},mounted:function(){It(this)},beforeUpdate:function(){Kt(this)},updated:function(){var t;It(this),(null===(t=this.$vnode)||void 0===t?void 0:t.context)&&It(this.$vnode.context)}})}function Ht(t,n){if(!t)return n;if(!n)return t;for(var e,r,o,u=i?Reflect.ownKeys(t):Object.keys(t),f=0;f<u.length;f++)"__ob__"!==(e=u[f])&&(r=n[e],o=t[e],c(n,e)?r!==o&&y(r)&&!nt(r)&&y(o)&&!nt(o)&&Ht(o,r):n[e]=o);return n}function Jt(t){(function(t){return c(t,U)})(t)||(t.config.optionMergeStrategies.setup=function(t,n){return function(e,r){return Ht(_(t)?t(e,r)||{}:void 0,_(n)?n(e,r)||{}:void 0)}},function(t){M=t,Object.defineProperty(t,U,{configurable:!0,writable:!0,value:!0})}(t),Gt(t))}var Lt={install:function(t){return Jt(t)}};"undefined"!=typeof window&&window.Vue&&window.Vue.use(Lt),t.EffectScope=S,t.computed=function(t){var n,e,r,o,i=E();if(_(t)?n=t:(n=t.get,e=t.set),i&&!i.$isServer){var f,a=function(){if(!W){var t=K(A(),{computed:{value:function(){return 0}}}),n=t._computedWatchers.value.constructor,e=t._data.__ob__.dep.constructor;W={Watcher:n,Dep:e},t.$destroy()}return W}(),c=a.Watcher,l=a.Dep;o=function(){return f||(f=new c(i,n,u,{lazy:!0})),f.dirty&&f.evaluate(),l.target&&f.depend(),f.value},r=function(t){e&&e(t)}}else{var s=K(A(),{computed:{$$state:{get:n,set:e}}});i&&i.$on("hook:destroyed",(function(){return s.$destroy()})),o=function(){return s.$$state},r=function(t){s.$$state=t}}return Z({get:o,set:r},!e,!0)},t.createApp=function(t,n){void 0===n&&(n=void 0);var e=A(),r=void 0;return{config:e.config,use:e.use.bind(e),mixin:e.mixin.bind(e),component:e.component.bind(e),directive:e.directive.bind(e),mount:function(o,i){return r||((r=new e(m({propsData:n},t))).$mount(o,i),r)},unmount:function(){r&&(r.$destroy(),r=void 0)}}},t.createRef=Z,t.customRef=function(t){var n=tt(0);return Z(t((function(){n.value}),(function(){++n.value})))},t.default=Lt,t.defineAsyncComponent=function(t){_(t)&&(t={loader:t});var n=t.loader,e=t.loadingComponent,r=t.errorComponent,o=t.delay,i=void 0===o?200:o,u=t.timeout;t.suspensible;var f=t.onError,a=null,c=0,l=function(){var t;return a||(t=a=n().catch((function(t){if(t=t instanceof Error?t:new Error(String(t)),f)return new Promise((function(n,e){f(t,(function(){return n((c++,a=null,l()))}),(function(){return e(t)}),c+1)}));throw t})).then((function(n){return t!==a&&a?a:(n&&(n.__esModule||"Module"===n[Symbol.toStringTag])&&(n=n.default),n)})))};return function(){return{component:l(),delay:i,timeout:u,error:r,loading:e}}},t.defineComponent=function(t){return t},t.del=function(t,n){if(A().util.warn,l(t)&&d(n))t.splice(n,1);else{var e=t.__ob__;t._isVue||e&&e.vmCount||c(t,n)&&(delete t[n],e&&e.dep.notify())}},t.effectScope=function(t){return new S(t)},t.getCurrentInstance=V,t.getCurrentScope=k,t.h=function(){for(var t,n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];var r=null===(t=V())||void 0===t?void 0:t.proxy;return r?r.$createElement.apply(r,n):(Wt||(Wt=K(A()).$createElement),Wt.apply(Wt,n))},t.inject=function(t,n,e){var r;void 0===e&&(e=!1);var o=null===(r=V())||void 0===r?void 0:r.proxy;if(o){if(!t)return n;var i=function(t,n){for(var e=n;e;){if(e._provided&&c(e._provided,t))return e._provided[t];e=e.$parent}return Bt}(t,o);return i!==Bt?i:e&&_(n)?n():n}},t.isRaw=it,t.isReactive=ut,t.isReadonly=function(t){return X.has(t)},t.isRef=nt,t.markRaw=function(t){if(!y(t)&&!l(t)||!Object.isExtensible(t))return t;var n=st();return n.__raw__=!0,a(t,"__ob__",n),N.set(t,!0),t},t.nextTick=function(){for(var t,n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return null===(t=A())||void 0===t?void 0:t.nextTick.apply(this,n)},t.onActivated=jt,t.onBeforeMount=_t,t.onBeforeUnmount=mt,t.onBeforeUpdate=bt,t.onDeactivated=Ot,t.onErrorCaptured=$t,t.onMounted=ht,t.onScopeDispose=function(t){g&&g.cleanups.push(t)},t.onServerPrefetch=xt,t.onUnmounted=wt,t.onUpdated=gt,t.provide=function(t,n){var e,r=null===(e=I())||void 0===e?void 0:e.proxy;if(r){if(!r._provided){var o={};f(r,"_provided",{get:function(){return o},set:function(t){return Object.assign(o,t)}})}r._provided[t]=n}},t.proxyRefs=function(t){var n,e,r;if(ut(t))return t;var o=dt(((n={})[J]=t,n));a(o,J,o[J],!1);var i=function(t){f(o,t,{get:function(){return nt(o[J][t])?o[J][t].value:o[J][t]},set:function(n){if(nt(o[J][t]))return o[J][t].value=et(n);o[J][t]=et(n)}})};try{for(var u=w(Object.keys(t)),c=u.next();!c.done;c=u.next()){i(c.value)}}catch(t){e={error:t}}finally{try{c&&!c.done&&(r=u.return)&&r.call(u)}finally{if(e)throw e.error}}return o},t.reactive=dt,t.readonly=function(t){return X.set(t,!0),t},t.ref=tt,t.set=function(t,n,e){var r=A().util;r.warn;var o=r.defineReactive,i=t.__ob__;function u(){i&&p(e)&&!c(e,"__ob__")&<(e)}if(l(t)){if(d(n))return t.length=Math.max(t.length,n),t.splice(n,1,e),u(),e;if("length"===n&&e!==t.length)return t.length=e,null==i||i.dep.notify(),e}return n in t&&!(n in Object.prototype)?(t[n]=e,u(),e):t._isVue||i&&i.vmCount?e:i?(o(i.value,n,e),at(t,n,e),u(),i.dep.notify(),e):(t[n]=e,e)},t.shallowReactive=vt,t.shallowReadonly=function(t){var n,e;if(!p(t))return t;if(!y(t)&&!l(t)||!Object.isExtensible(t)&&!nt(t))return t;var r=nt(t)?new Y({}):ut(t)?ct({}):{},o=dt({}).__ob__,i=function(n){var e,i=t[n],u=Object.getOwnPropertyDescriptor(t,n);if(u){if(!1===u.configurable&&!nt(t))return"continue";e=u.get}f(r,n,{get:function(){var n=e?e.call(t):i;return o.dep.depend(),n},set:function(t){}})};try{for(var u=w(Object.keys(t)),a=u.next();!a.done;a=u.next()){i(a.value)}}catch(t){n={error:t}}finally{try{a&&!a.done&&(e=u.return)&&e.call(u)}finally{if(n)throw n.error}}return X.set(r,!0),r},t.shallowRef=function(t){var n;if(nt(t))return t;var e=vt(((n={})[J]=t,n));return Z({get:function(){return e[J]},set:function(t){return e[J]=t}})},t.toRaw=function(t){var n,e;return it(t)||!Object.isExtensible(t)?t:(null===(e=null===(n=t)||void 0===n?void 0:n.__ob__)||void 0===e?void 0:e.value)||t},t.toRef=ot,t.toRefs=rt,t.triggerRef=function(t){nt(t)&&(t.value=t.value)},t.unref=et,t.useAttrs=function(){return zt().attrs},t.useCSSModule=Vt,t.useCssModule=Tt,t.useSlots=function(){return zt().slots},t.version="1.4.0-beta.0",t.warn=function(t){var n;h(t,null===(n=V())||void 0===n?void 0:n.proxy)},t.watch=function(t,n,e){var r=null;_(n)?r=n:(e=n,r=null);var o=function(t){return m({immediate:!1,deep:!1,flush:"pre"},t)}(e);return Pt(Et(),t,r,o)},t.watchEffect=Dt,t.watchPostEffect=function(t){return Dt(t,{flush:"post"})},t.watchSyncEffect=function(t){return Dt(t,{flush:"sync"})},Object.defineProperty(t,"__esModule",{value:!0})})); |
{ | ||
"name": "@vue/composition-api", | ||
"version": "1.3.3", | ||
"version": "1.4.0-beta.0", | ||
"description": "Provide logic composition capabilities for Vue.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -44,3 +44,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.3.3"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/@vue/composition-api@1.4.0-beta.0"></script> | ||
``` | ||
@@ -47,0 +47,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.3.3"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/@vue/composition-api@1.4.0-beta.0"></script> | ||
``` | ||
@@ -46,0 +46,0 @@ <!--cdn-links-end--> |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
436328
9379
3