@vtj/materials 0.9.29 → 0.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. package/dist/assets/antdv/index.umd.js +2 -2
  2. package/dist/assets/charts/index.umd.js +2 -2
  3. package/dist/assets/element/index.umd.js +2 -2
  4. package/dist/assets/ui/index.umd.js +2 -2
  5. package/dist/assets/uni-h5/index.umd.js +7 -0
  6. package/dist/assets/vant/index.umd.js +3 -3
  7. package/dist/deps/@vtj/charts/index.umd.js +2 -2
  8. package/dist/deps/@vtj/icons/index.umd.js +2 -2
  9. package/dist/deps/@vtj/icons/style.css +1 -1
  10. package/dist/deps/@vtj/ui/index.umd.js +2 -2
  11. package/dist/deps/@vtj/uni/index.umd.js +7 -0
  12. package/dist/deps/@vtj/uni/style.css +1 -0
  13. package/dist/deps/@vtj/utils/index.umd.js +3 -3
  14. package/dist/deps/@vueuse/core/index.iife.min.js +1 -1
  15. package/dist/deps/@vueuse/shared/index.iife.min.js +1 -1
  16. package/dist/deps/uni-app/index.umd.js +1 -0
  17. package/dist/deps/uni-h5/index.umd.js +19 -0
  18. package/dist/deps/uni-h5/style.css +1 -0
  19. package/dist/deps/uni-h5-vue/index.umd.js +8 -0
  20. package/dist/deps/xe-utils/xe-utils.umd.min.js +2 -2
  21. package/package.json +15 -8
  22. package/src/uni-app/index.ts +1 -0
  23. package/src/uni-h5/components/Switch.ts +36 -0
  24. package/src/uni-h5/components/audio.ts +69 -0
  25. package/src/uni-h5/components/button.ts +206 -0
  26. package/src/uni-h5/components/canvas.ts +50 -0
  27. package/src/uni-h5/components/checkbox.ts +81 -0
  28. package/src/uni-h5/components/coverImage.ts +18 -0
  29. package/src/uni-h5/components/coverView.ts +19 -0
  30. package/src/uni-h5/components/editor.ts +49 -0
  31. package/src/uni-h5/components/form.ts +53 -0
  32. package/src/uni-h5/components/icon.ts +44 -0
  33. package/src/uni-h5/components/image.ts +80 -0
  34. package/src/uni-h5/components/index.ts +119 -0
  35. package/src/uni-h5/components/input.ts +220 -0
  36. package/src/uni-h5/components/label.ts +17 -0
  37. package/src/uni-h5/components/map.ts +207 -0
  38. package/src/uni-h5/components/matchMedia.ts +59 -0
  39. package/src/uni-h5/components/movableArea.ts +31 -0
  40. package/src/uni-h5/components/movableView.ts +97 -0
  41. package/src/uni-h5/components/navigator.ts +90 -0
  42. package/src/uni-h5/components/picker.ts +81 -0
  43. package/src/uni-h5/components/pickerView.ts +163 -0
  44. package/src/uni-h5/components/progress.ts +71 -0
  45. package/src/uni-h5/components/radio.ts +127 -0
  46. package/src/uni-h5/components/richText.ts +67 -0
  47. package/src/uni-h5/components/scrollView.ts +157 -0
  48. package/src/uni-h5/components/slider.ts +75 -0
  49. package/src/uni-h5/components/swiper.ts +220 -0
  50. package/src/uni-h5/components/text.ts +38 -0
  51. package/src/uni-h5/components/textarea.ts +169 -0
  52. package/src/uni-h5/components/video.ts +276 -0
  53. package/src/uni-h5/components/view.ts +39 -0
  54. package/src/uni-h5/components/webView.ts +54 -0
  55. package/src/uni-h5/index.ts +11 -0
  56. package/src/uni-h5/style.scss +59 -0
  57. package/src/uni-h5-vue/index.ts +2 -0
  58. package/src/vant/tabbar.ts +1 -1
  59. package/src/version.ts +2 -2
@@ -1 +1 @@
1
- (function(i,o){"use strict";function H(e,t){var n;const r=o.shallowRef();return o.watchEffect(()=>{r.value=e()},{...t,flush:(n=t?.flush)!=null?n:"sync"}),o.readonly(r)}function G(e,t){let n,r,a;const u=o.ref(!0),c=()=>{u.value=!0,a()};o.watch(e,c,{flush:"sync"});const l=typeof t=="function"?t:t.get,s=typeof t=="function"?void 0:t.set,h=o.customRef((m,d)=>(r=m,a=d,{get(){return u.value&&(n=l(n),u.value=!1),r(),n},set(f){s?.(f)}}));return Object.isExtensible(h)&&(h.trigger=c),h}function p(e){return o.getCurrentScope()?(o.onScopeDispose(e),!0):!1}function de(){const e=new Set,t=u=>{e.delete(u)};return{on:u=>{e.add(u);const c=()=>t(u);return p(c),{off:c}},off:t,trigger:(...u)=>Promise.all(Array.from(e).map(c=>c(...u))),clear:()=>{e.clear()}}}function me(e){let t=!1,n;const r=o.effectScope(!0);return(...a)=>(t||(n=r.run(()=>e(...a)),t=!0),n)}const S=new WeakMap,z=(...e)=>{var t;const n=e[0],r=(t=o.getCurrentInstance())==null?void 0:t.proxy;if(r==null&&!o.hasInjectionContext())throw new Error("injectLocal must be called in setup");return r&&S.has(r)&&n in S.get(r)?S.get(r)[n]:o.inject(...e)},q=(e,t)=>{var n;const r=(n=o.getCurrentInstance())==null?void 0:n.proxy;if(r==null)throw new Error("provideLocal must be called in setup");S.has(r)||S.set(r,Object.create(null));const a=S.get(r);a[e]=t,o.provide(e,t)};function he(e,t){const n=t?.injectionKey||Symbol(e.name||"InjectionState"),r=t?.defaultValue;return[(...c)=>{const l=e(...c);return q(n,l),l},()=>z(n,r)]}function ye(e){let t=0,n,r;const a=()=>{t-=1,r&&t<=0&&(r.stop(),n=void 0,r=void 0)};return(...u)=>(t+=1,r||(r=o.effectScope(!0),n=r.run(()=>e(...u))),p(a),n)}function Z(e,t,{enumerable:n=!1,unwrap:r=!0}={}){for(const[a,u]of Object.entries(t))a!=="value"&&(o.isRef(u)&&r?Object.defineProperty(e,a,{get(){return u.value},set(c){u.value=c},enumerable:n}):Object.defineProperty(e,a,{value:u,enumerable:n}));return e}function ge(e,t){return t==null?o.unref(e):o.unref(e)[t]}function we(e){return o.unref(e)!=null}function Ve(e,t){if(typeof Symbol<"u"){const n={...e};return Object.defineProperty(n,Symbol.iterator,{enumerable:!1,value(){let r=0;return{next:()=>({value:t[r++],done:r>t.length})}}}),n}else return Object.assign([...t],e)}function k(e,t){const n=t?.computedGetter===!1?o.unref:o.toValue;return function(...r){return o.computed(()=>e.apply(this,r.map(a=>n(a))))}}function be(e,t={}){let n=[],r;if(Array.isArray(t))n=t;else{r=t;const{includeOwnProperties:a=!0}=t;n.push(...Object.keys(e)),a&&n.push(...Object.getOwnPropertyNames(e))}return Object.fromEntries(n.map(a=>{const u=e[a];return[a,typeof u=="function"?k(u.bind(e),r):u]}))}function J(e){if(!o.isRef(e))return o.reactive(e);const t=new Proxy({},{get(n,r,a){return o.unref(Reflect.get(e.value,r,a))},set(n,r,a){return o.isRef(e.value[r])&&!o.isRef(a)?e.value[r].value=a:e.value[r]=a,!0},deleteProperty(n,r){return Reflect.deleteProperty(e.value,r)},has(n,r){return Reflect.has(e.value,r)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return o.reactive(t)}function E(e){return J(o.computed(e))}function pe(e,...t){const n=t.flat(),r=n[0];return E(()=>Object.fromEntries(typeof r=="function"?Object.entries(o.toRefs(e)).filter(([a,u])=>!r(o.toValue(u),a)):Object.entries(o.toRefs(e)).filter(a=>!n.includes(a[0]))))}const D=typeof window<"u"&&typeof document<"u",Ae=typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope,Oe=e=>typeof e<"u",Se=e=>e!=null,Te=(e,...t)=>{e||console.warn(...t)},De=Object.prototype.toString,X=e=>De.call(e)==="[object Object]",Fe=()=>Date.now(),K=()=>+Date.now(),Me=(e,t,n)=>Math.min(n,Math.max(t,e)),A=()=>{},Pe=(e,t)=>(e=Math.ceil(e),t=Math.floor(t),Math.floor(Math.random()*(t-e+1))+e),Ie=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),Re=Ce();function Ce(){var e,t;return D&&((e=window?.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window?.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function F(e,t){function n(...r){return new Promise((a,u)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(a).catch(u)})}return n}const I=e=>e();function _(e,t={}){let n,r,a=A;const u=s=>{clearTimeout(s),a(),a=A};let c;return s=>{const h=o.toValue(e),m=o.toValue(t.maxWait);return n&&u(n),h<=0||m!==void 0&&m<=0?(r&&(u(r),r=null),Promise.resolve(s())):new Promise((d,f)=>{a=t.rejectOnCancel?f:d,c=s,m&&!r&&(r=setTimeout(()=>{n&&u(n),r=null,d(c())},m)),n=setTimeout(()=>{r&&u(r),r=null,d(s())},h)})}}function N(...e){let t=0,n,r=!0,a=A,u,c,l,s,h;!o.isRef(e[0])&&typeof e[0]=="object"?{delay:c,trailing:l=!0,leading:s=!0,rejectOnCancel:h=!1}=e[0]:[c,l=!0,s=!0,h=!1]=e;const m=()=>{n&&(clearTimeout(n),n=void 0,a(),a=A)};return f=>{const y=o.toValue(c),g=Date.now()-t,V=()=>u=f();return m(),y<=0?(t=Date.now(),V()):(g>y&&(s||!r)?(t=Date.now(),V()):l&&(u=new Promise((w,b)=>{a=h?b:w,n=setTimeout(()=>{t=Date.now(),r=!0,w(V()),m()},Math.max(0,y-g))})),!s&&!n&&(n=setTimeout(()=>r=!0,y)),r=!1,u)}}function Q(e=I){const t=o.ref(!0);function n(){t.value=!1}function r(){t.value=!0}const a=(...u)=>{t.value&&e(...u)};return{isActive:o.readonly(t),pause:n,resume:r,eventFilter:a}}function v(e){const t=Object.create(null);return n=>t[n]||(t[n]=e(n))}const ke=/\B([A-Z])/g,Ee=v(e=>e.replace(ke,"-$1").toLowerCase()),_e=/-(\w)/g,Ne=v(e=>e.replace(_e,(t,n)=>n?n.toUpperCase():""));function j(e,t=!1,n="Timeout"){return new Promise((r,a)=>{setTimeout(t?()=>a(n):r,e)})}function je(e){return e}function Le(e){let t;function n(){return t||(t=e()),t}return n.reset=async()=>{const r=t;t=void 0,r&&await r},n}function We(e){return e()}function x(e,...t){return t.some(n=>n in e)}function Ue(e,t){var n;if(typeof e=="number")return e+t;const r=((n=e.match(/^-?\d+\.?\d*/))==null?void 0:n[0])||"",a=e.slice(r.length),u=Number.parseFloat(r)+t;return Number.isNaN(u)?e:u+a}function Be(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function Ye(e,t,n=!1){return t.reduce((r,a)=>(a in e&&(!n||e[a]!==void 0)&&(r[a]=e[a]),r),{})}function $e(e,t,n=!1){return Object.fromEntries(Object.entries(e).filter(([r,a])=>(!n||a!==void 0)&&!t.includes(r)))}function He(e){return Object.entries(e)}function M(e){return e||o.getCurrentInstance()}function ee(e){return Array.isArray(e)?e:[e]}function L(...e){if(e.length!==1)return o.toRef(...e);const t=e[0];return typeof t=="function"?o.readonly(o.customRef(()=>({get:t,set:A}))):o.ref(t)}const Ge=L;function ze(e,...t){const n=t.flat(),r=n[0];return E(()=>Object.fromEntries(typeof r=="function"?Object.entries(o.toRefs(e)).filter(([a,u])=>r(o.toValue(u),a)):n.map(a=>[a,L(e,a)])))}function te(e,t=1e4){return o.customRef((n,r)=>{let a=o.toValue(e),u;const c=()=>setTimeout(()=>{a=o.toValue(e),r()},o.toValue(t));return p(()=>{clearTimeout(u)}),{get(){return n(),a},set(l){a=l,r(),clearTimeout(u),u=c()}}})}function ne(e,t=200,n={}){return F(_(t,n),e)}function W(e,t=200,n={}){const r=o.ref(e.value),a=ne(()=>{r.value=e.value},t,n);return o.watch(e,()=>a()),r}function qe(e,t){return o.computed({get(){var n;return(n=e.value)!=null?n:t},set(n){e.value=n}})}function re(e,t=200,n=!1,r=!0,a=!1){return F(N(t,n,r,a),e)}function U(e,t=200,n=!0,r=!0){if(t<=0)return e;const a=o.ref(e.value),u=re(()=>{a.value=e.value},t,n,r);return o.watch(e,()=>u()),a}function oe(e,t={}){let n=e,r,a;const u=o.customRef((f,y)=>(r=f,a=y,{get(){return c()},set(g){l(g)}}));function c(f=!0){return f&&r(),n}function l(f,y=!0){var g,V;if(f===n)return;const w=n;((g=t.onBeforeChange)==null?void 0:g.call(t,f,w))!==!1&&(n=f,(V=t.onChanged)==null||V.call(t,f,w),y&&a())}return Z(u,{get:c,set:l,untrackedGet:()=>c(!1),silentSet:f=>l(f,!1),peek:()=>c(!1),lay:f=>l(f,!1)},{enumerable:!0})}const Ze=oe;function Je(...e){if(e.length===2){const[t,n]=e;t.value=n}if(e.length===3){const[t,n,r]=e;t[n]=r}}function P(e,t,n={}){const{eventFilter:r=I,...a}=n;return o.watch(e,F(r,t),a)}function R(e,t,n={}){const{eventFilter:r,...a}=n,{eventFilter:u,pause:c,resume:l,isActive:s}=Q(r);return{stop:P(e,t,{...a,eventFilter:u}),pause:c,resume:l,isActive:s}}function Xe(e,t,...[n]){const{flush:r="sync",deep:a=!1,immediate:u=!0,direction:c="both",transform:l={}}=n||{},s=[],h="ltr"in l&&l.ltr||(f=>f),m="rtl"in l&&l.rtl||(f=>f);return(c==="both"||c==="ltr")&&s.push(R(e,f=>{s.forEach(y=>y.pause()),t.value=h(f),s.forEach(y=>y.resume())},{flush:r,deep:a,immediate:u})),(c==="both"||c==="rtl")&&s.push(R(t,f=>{s.forEach(y=>y.pause()),e.value=m(f),s.forEach(y=>y.resume())},{flush:r,deep:a,immediate:u})),()=>{s.forEach(f=>f.stop())}}function Ke(e,t,n={}){const{flush:r="sync",deep:a=!1,immediate:u=!0}=n;return t=ee(t),o.watch(e,c=>t.forEach(l=>l.value=c),{flush:r,deep:a,immediate:u})}function Qe(e,t={}){if(!o.isRef(e))return o.toRefs(e);const n=Array.isArray(e.value)?Array.from({length:e.value.length}):{};for(const r in e.value)n[r]=o.customRef(()=>({get(){return e.value[r]},set(a){var u;if((u=o.toValue(t.replaceRef))!=null?u:!0)if(Array.isArray(e.value)){const l=[...e.value];l[r]=a,e.value=l}else{const l={...e.value,[r]:a};Object.setPrototypeOf(l,Object.getPrototypeOf(e.value)),e.value=l}else e.value[r]=a}}));return n}const ve=o.toValue,xe=o.toValue;function et(e,t=!0,n){M(n)?o.onBeforeMount(e,n):t?e():o.nextTick(e)}function tt(e,t){M(t)&&o.onBeforeUnmount(e,t)}function nt(e,t=!0,n){M()?o.onMounted(e,n):t?e():o.nextTick(e)}function rt(e,t){M(t)&&o.onUnmounted(e,t)}function B(e,t=!1){function n(d,{flush:f="sync",deep:y=!1,timeout:g,throwOnTimeout:V}={}){let w=null;const $=[new Promise(C=>{w=o.watch(e,T=>{d(T)!==t&&(w?w():o.nextTick(()=>w?.()),C(T))},{flush:f,deep:y,immediate:!0})})];return g!=null&&$.push(j(g,V).then(()=>o.toValue(e)).finally(()=>w?.())),Promise.race($)}function r(d,f){if(!o.isRef(d))return n(T=>T===d,f);const{flush:y="sync",deep:g=!1,timeout:V,throwOnTimeout:w}=f??{};let b=null;const C=[new Promise(T=>{b=o.watch([e,d],([fe,$t])=>{t!==(fe===$t)&&(b?b():o.nextTick(()=>b?.()),T(fe))},{flush:y,deep:g,immediate:!0})})];return V!=null&&C.push(j(V,w).then(()=>o.toValue(e)).finally(()=>(b?.(),o.toValue(e)))),Promise.race(C)}function a(d){return n(f=>!!f,d)}function u(d){return r(null,d)}function c(d){return r(void 0,d)}function l(d){return n(Number.isNaN,d)}function s(d,f){return n(y=>{const g=Array.from(y);return g.includes(d)||g.includes(o.toValue(d))},f)}function h(d){return m(1,d)}function m(d=1,f){let y=-1;return n(()=>(y+=1,y>=d),f)}return Array.isArray(o.toValue(e))?{toMatch:n,toContains:s,changed:h,changedTimes:m,get not(){return B(e,!t)}}:{toMatch:n,toBe:r,toBeTruthy:a,toBeNull:u,toBeNaN:l,toBeUndefined:c,changed:h,changedTimes:m,get not(){return B(e,!t)}}}function ot(e){return B(e)}function at(e,t){return e===t}function ut(...e){var t,n;const r=e[0],a=e[1];let u=(t=e[2])!=null?t:at;const{symmetric:c=!1}=(n=e[3])!=null?n:{};if(typeof u=="string"){const s=u;u=(h,m)=>h[s]===m[s]}const l=o.computed(()=>o.toValue(r).filter(s=>o.toValue(a).findIndex(h=>u(s,h))===-1));if(c){const s=o.computed(()=>o.toValue(a).filter(h=>o.toValue(r).findIndex(m=>u(h,m))===-1));return o.computed(()=>c?[...o.toValue(l),...o.toValue(s)]:o.toValue(l))}else return l}function it(e,t){return o.computed(()=>o.toValue(e).every((n,r,a)=>t(o.toValue(n),r,a)))}function ct(e,t){return o.computed(()=>o.toValue(e).map(n=>o.toValue(n)).filter(t))}function lt(e,t){return o.computed(()=>o.toValue(o.toValue(e).find((n,r,a)=>t(o.toValue(n),r,a))))}function st(e,t){return o.computed(()=>o.toValue(e).findIndex((n,r,a)=>t(o.toValue(n),r,a)))}function ft(e,t){let n=e.length;for(;n-- >0;)if(t(e[n],n,e))return e[n]}function dt(e,t){return o.computed(()=>o.toValue(Array.prototype.findLast?o.toValue(e).findLast((n,r,a)=>t(o.toValue(n),r,a)):ft(o.toValue(e),(n,r,a)=>t(o.toValue(n),r,a))))}function mt(e){return X(e)&&x(e,"formIndex","comparator")}function ht(...e){var t;const n=e[0],r=e[1];let a=e[2],u=0;if(mt(a)&&(u=(t=a.fromIndex)!=null?t:0,a=a.comparator),typeof a=="string"){const c=a;a=(l,s)=>l[c]===o.toValue(s)}return a=a??((c,l)=>c===o.toValue(l)),o.computed(()=>o.toValue(n).slice(u).some((c,l,s)=>a(o.toValue(c),o.toValue(r),l,o.toValue(s))))}function yt(e,t){return o.computed(()=>o.toValue(e).map(n=>o.toValue(n)).join(o.toValue(t)))}function gt(e,t){return o.computed(()=>o.toValue(e).map(n=>o.toValue(n)).map(t))}function wt(e,t,...n){const r=(a,u,c)=>t(o.toValue(a),o.toValue(u),c);return o.computed(()=>{const a=o.toValue(e);return n.length?a.reduce(r,typeof n[0]=="function"?o.toValue(n[0]()):o.toValue(n[0])):a.reduce(r)})}function Vt(e,t){return o.computed(()=>o.toValue(e).some((n,r,a)=>t(o.toValue(n),r,a)))}function bt(e){return Array.from(new Set(e))}function pt(e,t){return e.reduce((n,r)=>(n.some(a=>t(r,a,e))||n.push(r),n),[])}function At(e,t){return o.computed(()=>{const n=o.toValue(e).map(r=>o.toValue(r));return t?pt(n,t):bt(n)})}function Ot(e=0,t={}){let n=o.unref(e);const r=o.ref(e),{max:a=Number.POSITIVE_INFINITY,min:u=Number.NEGATIVE_INFINITY}=t,c=(d=1)=>r.value=Math.max(Math.min(a,r.value+d),u),l=(d=1)=>r.value=Math.min(Math.max(u,r.value-d),a),s=()=>r.value,h=d=>r.value=Math.max(u,Math.min(a,d));return{count:r,inc:c,dec:l,get:s,set:h,reset:(d=n)=>(n=d,h(d))}}const St=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[T\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/i,Tt=/[YMDHhms]o|\[([^\]]+)\]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a{1,2}|A{1,2}|m{1,2}|s{1,2}|Z{1,2}|SSS/g;function Dt(e,t,n,r){let a=e<12?"AM":"PM";return r&&(a=a.split("").reduce((u,c)=>u+=`${c}.`,"")),n?a.toLowerCase():a}function O(e){const t=["th","st","nd","rd"],n=e%100;return e+(t[(n-20)%10]||t[n]||t[0])}function ae(e,t,n={}){var r;const a=e.getFullYear(),u=e.getMonth(),c=e.getDate(),l=e.getHours(),s=e.getMinutes(),h=e.getSeconds(),m=e.getMilliseconds(),d=e.getDay(),f=(r=n.customMeridiem)!=null?r:Dt,y={Yo:()=>O(a),YY:()=>String(a).slice(-2),YYYY:()=>a,M:()=>u+1,Mo:()=>O(u+1),MM:()=>`${u+1}`.padStart(2,"0"),MMM:()=>e.toLocaleDateString(o.toValue(n.locales),{month:"short"}),MMMM:()=>e.toLocaleDateString(o.toValue(n.locales),{month:"long"}),D:()=>String(c),Do:()=>O(c),DD:()=>`${c}`.padStart(2,"0"),H:()=>String(l),Ho:()=>O(l),HH:()=>`${l}`.padStart(2,"0"),h:()=>`${l%12||12}`.padStart(1,"0"),ho:()=>O(l%12||12),hh:()=>`${l%12||12}`.padStart(2,"0"),m:()=>String(s),mo:()=>O(s),mm:()=>`${s}`.padStart(2,"0"),s:()=>String(h),so:()=>O(h),ss:()=>`${h}`.padStart(2,"0"),SSS:()=>`${m}`.padStart(3,"0"),d:()=>d,dd:()=>e.toLocaleDateString(o.toValue(n.locales),{weekday:"narrow"}),ddd:()=>e.toLocaleDateString(o.toValue(n.locales),{weekday:"short"}),dddd:()=>e.toLocaleDateString(o.toValue(n.locales),{weekday:"long"}),A:()=>f(l,s),AA:()=>f(l,s,!1,!0),a:()=>f(l,s,!0),aa:()=>f(l,s,!0,!0)};return t.replace(Tt,(g,V)=>{var w,b;return(b=V??((w=y[g])==null?void 0:w.call(y)))!=null?b:g})}function ue(e){if(e===null)return new Date(Number.NaN);if(e===void 0)return new Date;if(e instanceof Date)return new Date(e);if(typeof e=="string"&&!/Z$/i.test(e)){const t=e.match(St);if(t){const n=t[2]-1||0,r=(t[7]||"0").substring(0,3);return new Date(t[1],n,t[3]||1,t[4]||0,t[5]||0,t[6]||0,r)}}return new Date(e)}function Ft(e,t="HH:mm:ss",n={}){return o.computed(()=>ae(ue(o.toValue(e)),o.toValue(t),n))}function ie(e,t=1e3,n={}){const{immediate:r=!0,immediateCallback:a=!1}=n;let u=null;const c=o.ref(!1);function l(){u&&(clearInterval(u),u=null)}function s(){c.value=!1,l()}function h(){const m=o.toValue(t);m<=0||(c.value=!0,a&&e(),l(),c.value&&(u=setInterval(e,m)))}if(r&&D&&h(),o.isRef(t)||typeof t=="function"){const m=o.watch(t,()=>{c.value&&D&&h()});p(m)}return p(s),{isActive:c,pause:s,resume:h}}function Mt(e=1e3,t={}){const{controls:n=!1,immediate:r=!0,callback:a}=t,u=o.ref(0),c=()=>u.value+=1,l=()=>{u.value=0},s=ie(a?()=>{c(),a(u.value)}:c,e,{immediate:r});return n?{counter:u,reset:l,...s}:u}function Pt(e,t={}){var n;const r=o.ref((n=t.initialValue)!=null?n:null);return o.watch(e,()=>r.value=K(),t),r}function ce(e,t,n={}){const{immediate:r=!0}=n,a=o.ref(!1);let u=null;function c(){u&&(clearTimeout(u),u=null)}function l(){a.value=!1,c()}function s(...h){c(),a.value=!0,u=setTimeout(()=>{a.value=!1,u=null,e(...h)},o.toValue(t))}return r&&(a.value=!0,D&&s()),p(l),{isPending:o.readonly(a),start:s,stop:l}}function It(e=1e3,t={}){const{controls:n=!1,callback:r}=t,a=ce(r??A,e,t),u=o.computed(()=>!a.isPending.value);return n?{ready:u,...a}:u}function Rt(e,t={}){const{method:n="parseFloat",radix:r,nanToZero:a}=t;return o.computed(()=>{let u=o.toValue(e);return typeof n=="function"?u=n(u):typeof u=="string"&&(u=Number[n](u,r)),a&&Number.isNaN(u)&&(u=0),u})}function Ct(e){return o.computed(()=>`${o.toValue(e)}`)}function kt(e=!1,t={}){const{truthyValue:n=!0,falsyValue:r=!1}=t,a=o.isRef(e),u=o.ref(e);function c(l){if(arguments.length)return u.value=l,u.value;{const s=o.toValue(n);return u.value=u.value===s?o.toValue(r):s,u.value}}return a?c:[u,c]}function Et(e,t,n){let r=n?.immediate?[]:[...e instanceof Function?e():Array.isArray(e)?e:o.toValue(e)];return o.watch(e,(a,u,c)=>{const l=Array.from({length:r.length}),s=[];for(const m of a){let d=!1;for(let f=0;f<r.length;f++)if(!l[f]&&m===r[f]){l[f]=!0,d=!0;break}d||s.push(m)}const h=r.filter((m,d)=>!l[d]);t(a,r,s,h,c),r=[...a]},n)}function _t(e,t,n){const{count:r,...a}=n,u=o.ref(0),c=P(e,(...l)=>{u.value+=1,u.value>=o.toValue(r)&&o.nextTick(()=>c()),t(...l)},a);return{count:u,stop:c}}function le(e,t,n={}){const{debounce:r=0,maxWait:a=void 0,...u}=n;return P(e,t,{...u,eventFilter:_(r,{maxWait:a})})}function Nt(e,t,n){return o.watch(e,t,{...n,deep:!0})}function Y(e,t,n={}){const{eventFilter:r=I,...a}=n,u=F(r,t);let c,l,s;if(a.flush==="sync"){const h=o.ref(!1);l=()=>{},c=m=>{h.value=!0,m(),h.value=!1},s=o.watch(e,(...m)=>{h.value||u(...m)},a)}else{const h=[],m=o.ref(0),d=o.ref(0);l=()=>{m.value=d.value},h.push(o.watch(e,()=>{d.value++},{...a,flush:"sync"})),c=f=>{const y=d.value;f(),m.value+=d.value-y},h.push(o.watch(e,(...f)=>{const y=m.value>0&&m.value===d.value;m.value=0,d.value=0,!y&&u(...f)},a)),s=()=>{h.forEach(f=>f())}}return{stop:s,ignoreUpdates:c,ignorePrevAsyncUpdates:l}}function jt(e,t,n){return o.watch(e,t,{...n,immediate:!0})}function Lt(e,t,n){const r=o.watch(e,(...a)=>(o.nextTick(()=>r()),t(...a)),n);return r}function se(e,t,n={}){const{throttle:r=0,trailing:a=!0,leading:u=!0,...c}=n;return P(e,t,{...c,eventFilter:N(r,a,u)})}function Wt(e,t,n={}){let r;function a(){if(!r)return;const m=r;r=void 0,m()}function u(m){r=m}const c=(m,d)=>(a(),t(m,d,u)),l=Y(e,c,n),{ignoreUpdates:s}=l;return{...l,trigger:()=>{let m;return s(()=>{m=c(Ut(e),Bt(e))}),m}}}function Ut(e){return o.isReactive(e)?e:Array.isArray(e)?e.map(t=>o.toValue(t)):o.toValue(e)}function Bt(e){return Array.isArray(e)?e.map(()=>{}):void 0}function Yt(e,t,n){const r=o.watch(e,(a,u,c)=>{a&&(n?.once&&o.nextTick(()=>r()),t(a,u,c))},{...n,once:!1});return r}i.assert=Te,i.autoResetRef=te,i.bypassFilter=I,i.camelize=Ne,i.clamp=Me,i.computedEager=H,i.computedWithControl=G,i.containsProp=x,i.controlledComputed=G,i.controlledRef=Ze,i.createEventHook=de,i.createFilterWrapper=F,i.createGlobalState=me,i.createInjectionState=he,i.createReactiveFn=k,i.createSharedComposable=ye,i.createSingletonPromise=Le,i.debounceFilter=_,i.debouncedRef=W,i.debouncedWatch=le,i.eagerComputed=H,i.extendRef=Z,i.formatDate=ae,i.get=ge,i.getLifeCycleTarget=M,i.hasOwn=Ie,i.hyphenate=Ee,i.identity=je,i.ignorableWatch=Y,i.increaseWithUnit=Ue,i.injectLocal=z,i.invoke=We,i.isClient=D,i.isDef=Oe,i.isDefined=we,i.isIOS=Re,i.isObject=X,i.isWorker=Ae,i.makeDestructurable=Ve,i.noop=A,i.normalizeDate=ue,i.notNullish=Se,i.now=Fe,i.objectEntries=He,i.objectOmit=$e,i.objectPick=Ye,i.pausableFilter=Q,i.pausableWatch=R,i.promiseTimeout=j,i.provideLocal=q,i.pxValue=Be,i.rand=Pe,i.reactify=k,i.reactifyObject=be,i.reactiveComputed=E,i.reactiveOmit=pe,i.reactivePick=ze,i.refAutoReset=te,i.refDebounced=W,i.refDefault=qe,i.refThrottled=U,i.refWithControl=oe,i.resolveRef=Ge,i.resolveUnref=xe,i.set=Je,i.syncRef=Xe,i.syncRefs=Ke,i.throttleFilter=N,i.throttledRef=U,i.throttledWatch=se,i.timestamp=K,i.toArray=ee,i.toReactive=J,i.toRef=L,i.toRefs=Qe,i.toValue=ve,i.tryOnBeforeMount=et,i.tryOnBeforeUnmount=tt,i.tryOnMounted=nt,i.tryOnScopeDispose=p,i.tryOnUnmounted=rt,i.until=ot,i.useArrayDifference=ut,i.useArrayEvery=it,i.useArrayFilter=ct,i.useArrayFind=lt,i.useArrayFindIndex=st,i.useArrayFindLast=dt,i.useArrayIncludes=ht,i.useArrayJoin=yt,i.useArrayMap=gt,i.useArrayReduce=wt,i.useArraySome=Vt,i.useArrayUnique=At,i.useCounter=Ot,i.useDateFormat=Ft,i.useDebounce=W,i.useDebounceFn=ne,i.useInterval=Mt,i.useIntervalFn=ie,i.useLastChanged=Pt,i.useThrottle=U,i.useThrottleFn=re,i.useTimeout=It,i.useTimeoutFn=ce,i.useToNumber=Rt,i.useToString=Ct,i.useToggle=kt,i.watchArray=Et,i.watchAtMost=_t,i.watchDebounced=le,i.watchDeep=Nt,i.watchIgnorable=Y,i.watchImmediate=jt,i.watchOnce=Lt,i.watchPausable=R,i.watchThrottled=se,i.watchTriggerable=Wt,i.watchWithFilter=P,i.whenever=Yt})(this.VueUse=this.VueUse||{},Vue);
1
+ (function(i,o){"use strict";function $(t,e){var n;const r=o.shallowRef();return o.watchEffect(()=>{r.value=t()},{...e,flush:(n=e?.flush)!=null?n:"sync"}),o.readonly(r)}function H(t,e){let n,r,a;const l=o.shallowRef(!0),c=()=>{l.value=!0,a()};o.watch(t,c,{flush:"sync"});const u=typeof e=="function"?e:e.get,s=typeof e=="function"?void 0:e.set,h=o.customRef((m,d)=>(r=m,a=d,{get(){return l.value&&(n=u(n),l.value=!1),r(),n},set(f){s?.(f)}}));return Object.isExtensible(h)&&(h.trigger=c),h}function p(t){return o.getCurrentScope()?(o.onScopeDispose(t),!0):!1}function dt(){const t=new Set,e=l=>{t.delete(l)};return{on:l=>{t.add(l);const c=()=>e(l);return p(c),{off:c}},off:e,trigger:(...l)=>Promise.all(Array.from(t).map(c=>c(...l))),clear:()=>{t.clear()}}}function mt(t){let e=!1,n;const r=o.effectScope(!0);return(...a)=>(e||(n=r.run(()=>t(...a)),e=!0),n)}const S=new WeakMap,G=(...t)=>{var e;const n=t[0],r=(e=o.getCurrentInstance())==null?void 0:e.proxy;if(r==null&&!o.hasInjectionContext())throw new Error("injectLocal must be called in setup");return r&&S.has(r)&&n in S.get(r)?S.get(r)[n]:o.inject(...t)},Z=(t,e)=>{var n;const r=(n=o.getCurrentInstance())==null?void 0:n.proxy;if(r==null)throw new Error("provideLocal must be called in setup");S.has(r)||S.set(r,Object.create(null));const a=S.get(r);a[t]=e,o.provide(t,e)};function ht(t,e){const n=e?.injectionKey||Symbol(t.name||"InjectionState"),r=e?.defaultValue;return[(...c)=>{const u=t(...c);return Z(n,u),u},()=>G(n,r)]}function yt(t){let e=0,n,r;const a=()=>{e-=1,r&&e<=0&&(r.stop(),n=void 0,r=void 0)};return(...l)=>(e+=1,r||(r=o.effectScope(!0),n=r.run(()=>t(...l))),p(a),n)}function q(t,e,{enumerable:n=!1,unwrap:r=!0}={}){for(const[a,l]of Object.entries(e))a!=="value"&&(o.isRef(l)&&r?Object.defineProperty(t,a,{get(){return l.value},set(c){l.value=c},enumerable:n}):Object.defineProperty(t,a,{value:l,enumerable:n}));return t}function wt(t,e){return e==null?o.unref(t):o.unref(t)[e]}function gt(t){return o.unref(t)!=null}function Vt(t,e){if(typeof Symbol<"u"){const n={...t};return Object.defineProperty(n,Symbol.iterator,{enumerable:!1,value(){let r=0;return{next:()=>({value:e[r++],done:r>e.length})}}}),n}else return Object.assign([...e],t)}function _(t,e){const n=e?.computedGetter===!1?o.unref:o.toValue;return function(...r){return o.computed(()=>t.apply(this,r.map(a=>n(a))))}}function bt(t,e={}){let n=[],r;if(Array.isArray(e))n=e;else{r=e;const{includeOwnProperties:a=!0}=e;n.push(...Object.keys(t)),a&&n.push(...Object.getOwnPropertyNames(t))}return Object.fromEntries(n.map(a=>{const l=t[a];return[a,typeof l=="function"?_(l.bind(t),r):l]}))}function J(t){if(!o.isRef(t))return o.reactive(t);const e=new Proxy({},{get(n,r,a){return o.unref(Reflect.get(t.value,r,a))},set(n,r,a){return o.isRef(t.value[r])&&!o.isRef(a)?t.value[r].value=a:t.value[r]=a,!0},deleteProperty(n,r){return Reflect.deleteProperty(t.value,r)},has(n,r){return Reflect.has(t.value,r)},ownKeys(){return Object.keys(t.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return o.reactive(e)}function N(t){return J(o.computed(t))}function pt(t,...e){const n=e.flat(),r=n[0];return N(()=>Object.fromEntries(typeof r=="function"?Object.entries(o.toRefs(t)).filter(([a,l])=>!r(o.toValue(l),a)):Object.entries(o.toRefs(t)).filter(a=>!n.includes(a[0]))))}const R=typeof window<"u"&&typeof document<"u",At=typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope,Ot=t=>typeof t<"u",St=t=>t!=null,Tt=(t,...e)=>{t||console.warn(...e)},Dt=Object.prototype.toString,X=t=>Dt.call(t)==="[object Object]",Rt=()=>Date.now(),K=()=>+Date.now(),Ft=(t,e,n)=>Math.min(n,Math.max(e,t)),A=()=>{},Mt=(t,e)=>(t=Math.ceil(t),e=Math.floor(e),Math.floor(Math.random()*(e-t+1))+t),Pt=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),It=Ct();function Ct(){var t,e;return R&&((t=window?.navigator)==null?void 0:t.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((e=window?.navigator)==null?void 0:e.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function F(t,e){function n(...r){return new Promise((a,l)=>{Promise.resolve(t(()=>e.apply(this,r),{fn:e,thisArg:this,args:r})).then(a).catch(l)})}return n}const I=t=>t();function L(t,e={}){let n,r,a=A;const l=s=>{clearTimeout(s),a(),a=A};let c;return s=>{const h=o.toValue(t),m=o.toValue(e.maxWait);return n&&l(n),h<=0||m!==void 0&&m<=0?(r&&(l(r),r=null),Promise.resolve(s())):new Promise((d,f)=>{a=e.rejectOnCancel?f:d,c=s,m&&!r&&(r=setTimeout(()=>{n&&l(n),r=null,d(c())},m)),n=setTimeout(()=>{r&&l(r),r=null,d(s())},h)})}}function j(...t){let e=0,n,r=!0,a=A,l,c,u,s,h;!o.isRef(t[0])&&typeof t[0]=="object"?{delay:c,trailing:u=!0,leading:s=!0,rejectOnCancel:h=!1}=t[0]:[c,u=!0,s=!0,h=!1]=t;const m=()=>{n&&(clearTimeout(n),n=void 0,a(),a=A)};return f=>{const y=o.toValue(c),g=Date.now()-e,V=()=>l=f();return m(),y<=0?(e=Date.now(),V()):(g>y&&(s||!r)?(e=Date.now(),V()):u&&(l=new Promise((w,b)=>{a=h?b:w,n=setTimeout(()=>{e=Date.now(),r=!0,w(V()),m()},Math.max(0,y-g))})),!s&&!n&&(n=setTimeout(()=>r=!0,y)),r=!1,l)}}function v(t=I,e={}){const{initialState:n="active"}=e,r=C(n==="active");function a(){r.value=!1}function l(){r.value=!0}const c=(...u)=>{r.value&&t(...u)};return{isActive:o.readonly(r),pause:a,resume:l,eventFilter:c}}function Q(t){const e=Object.create(null);return n=>e[n]||(e[n]=t(n))}const kt=/\B([A-Z])/g,Et=Q(t=>t.replace(kt,"-$1").toLowerCase()),_t=/-(\w)/g,Nt=Q(t=>t.replace(_t,(e,n)=>n?n.toUpperCase():""));function W(t,e=!1,n="Timeout"){return new Promise((r,a)=>{setTimeout(e?()=>a(n):r,t)})}function Lt(t){return t}function jt(t){let e;function n(){return e||(e=t()),e}return n.reset=async()=>{const r=e;e=void 0,r&&await r},n}function Wt(t){return t()}function x(t,...e){return e.some(n=>n in t)}function Ut(t,e){var n;if(typeof t=="number")return t+e;const r=((n=t.match(/^-?\d+\.?\d*/))==null?void 0:n[0])||"",a=t.slice(r.length),l=Number.parseFloat(r)+e;return Number.isNaN(l)?t:l+a}function zt(t){return t.endsWith("rem")?Number.parseFloat(t)*16:Number.parseFloat(t)}function Bt(t,e,n=!1){return e.reduce((r,a)=>(a in t&&(!n||t[a]!==void 0)&&(r[a]=t[a]),r),{})}function Yt(t,e,n=!1){return Object.fromEntries(Object.entries(t).filter(([r,a])=>(!n||a!==void 0)&&!e.includes(r)))}function $t(t){return Object.entries(t)}function M(t){return t||o.getCurrentInstance()}function tt(t){return Array.isArray(t)?t:[t]}function C(...t){if(t.length!==1)return o.toRef(...t);const e=t[0];return typeof e=="function"?o.readonly(o.customRef(()=>({get:e,set:A}))):o.ref(e)}const Ht=C;function Gt(t,...e){const n=e.flat(),r=n[0];return N(()=>Object.fromEntries(typeof r=="function"?Object.entries(o.toRefs(t)).filter(([a,l])=>r(o.toValue(l),a)):n.map(a=>[a,C(t,a)])))}function et(t,e=1e4){return o.customRef((n,r)=>{let a=o.toValue(t),l;const c=()=>setTimeout(()=>{a=o.toValue(t),r()},o.toValue(e));return p(()=>{clearTimeout(l)}),{get(){return n(),a},set(u){a=u,r(),clearTimeout(l),l=c()}}})}function nt(t,e=200,n={}){return F(L(e,n),t)}function U(t,e=200,n={}){const r=o.ref(t.value),a=nt(()=>{r.value=t.value},e,n);return o.watch(t,()=>a()),r}function Zt(t,e){return o.computed({get(){var n;return(n=t.value)!=null?n:e},set(n){t.value=n}})}function rt(t,e=200,n=!1,r=!0,a=!1){return F(j(e,n,r,a),t)}function z(t,e=200,n=!0,r=!0){if(e<=0)return t;const a=o.ref(t.value),l=rt(()=>{a.value=t.value},e,n,r);return o.watch(t,()=>l()),a}function ot(t,e={}){let n=t,r,a;const l=o.customRef((f,y)=>(r=f,a=y,{get(){return c()},set(g){u(g)}}));function c(f=!0){return f&&r(),n}function u(f,y=!0){var g,V;if(f===n)return;const w=n;((g=e.onBeforeChange)==null?void 0:g.call(e,f,w))!==!1&&(n=f,(V=e.onChanged)==null||V.call(e,f,w),y&&a())}return q(l,{get:c,set:u,untrackedGet:()=>c(!1),silentSet:f=>u(f,!1),peek:()=>c(!1),lay:f=>u(f,!1)},{enumerable:!0})}const qt=ot;function Jt(...t){if(t.length===2){const[e,n]=t;e.value=n}if(t.length===3){const[e,n,r]=t;e[n]=r}}function P(t,e,n={}){const{eventFilter:r=I,...a}=n;return o.watch(t,F(r,e),a)}function k(t,e,n={}){const{eventFilter:r,initialState:a="active",...l}=n,{eventFilter:c,pause:u,resume:s,isActive:h}=v(r,{initialState:a});return{stop:P(t,e,{...l,eventFilter:c}),pause:u,resume:s,isActive:h}}function Xt(t,e,...[n]){const{flush:r="sync",deep:a=!1,immediate:l=!0,direction:c="both",transform:u={}}=n||{},s=[],h="ltr"in u&&u.ltr||(f=>f),m="rtl"in u&&u.rtl||(f=>f);return(c==="both"||c==="ltr")&&s.push(k(t,f=>{s.forEach(y=>y.pause()),e.value=h(f),s.forEach(y=>y.resume())},{flush:r,deep:a,immediate:l})),(c==="both"||c==="rtl")&&s.push(k(e,f=>{s.forEach(y=>y.pause()),t.value=m(f),s.forEach(y=>y.resume())},{flush:r,deep:a,immediate:l})),()=>{s.forEach(f=>f.stop())}}function Kt(t,e,n={}){const{flush:r="sync",deep:a=!1,immediate:l=!0}=n;return e=tt(e),o.watch(t,c=>e.forEach(u=>u.value=c),{flush:r,deep:a,immediate:l})}function vt(t,e={}){if(!o.isRef(t))return o.toRefs(t);const n=Array.isArray(t.value)?Array.from({length:t.value.length}):{};for(const r in t.value)n[r]=o.customRef(()=>({get(){return t.value[r]},set(a){var l;if((l=o.toValue(e.replaceRef))!=null?l:!0)if(Array.isArray(t.value)){const u=[...t.value];u[r]=a,t.value=u}else{const u={...t.value,[r]:a};Object.setPrototypeOf(u,Object.getPrototypeOf(t.value)),t.value=u}else t.value[r]=a}}));return n}const Qt=o.toValue,xt=o.toValue;function te(t,e=!0,n){M(n)?o.onBeforeMount(t,n):e?t():o.nextTick(t)}function ee(t,e){M(e)&&o.onBeforeUnmount(t,e)}function ne(t,e=!0,n){M()?o.onMounted(t,n):e?t():o.nextTick(t)}function re(t,e){M(e)&&o.onUnmounted(t,e)}function B(t,e=!1){function n(d,{flush:f="sync",deep:y=!1,timeout:g,throwOnTimeout:V}={}){let w=null;const T=[new Promise(E=>{w=o.watch(t,D=>{d(D)!==e&&(w?w():o.nextTick(()=>w?.()),E(D))},{flush:f,deep:y,immediate:!0})})];return g!=null&&T.push(W(g,V).then(()=>o.toValue(t)).finally(()=>w?.())),Promise.race(T)}function r(d,f){if(!o.isRef(d))return n(D=>D===d,f);const{flush:y="sync",deep:g=!1,timeout:V,throwOnTimeout:w}=f??{};let b=null;const E=[new Promise(D=>{b=o.watch([t,d],([ft,Ye])=>{e!==(ft===Ye)&&(b?b():o.nextTick(()=>b?.()),D(ft))},{flush:y,deep:g,immediate:!0})})];return V!=null&&E.push(W(V,w).then(()=>o.toValue(t)).finally(()=>(b?.(),o.toValue(t)))),Promise.race(E)}function a(d){return n(f=>!!f,d)}function l(d){return r(null,d)}function c(d){return r(void 0,d)}function u(d){return n(Number.isNaN,d)}function s(d,f){return n(y=>{const g=Array.from(y);return g.includes(d)||g.includes(o.toValue(d))},f)}function h(d){return m(1,d)}function m(d=1,f){let y=-1;return n(()=>(y+=1,y>=d),f)}return Array.isArray(o.toValue(t))?{toMatch:n,toContains:s,changed:h,changedTimes:m,get not(){return B(t,!e)}}:{toMatch:n,toBe:r,toBeTruthy:a,toBeNull:l,toBeNaN:u,toBeUndefined:c,changed:h,changedTimes:m,get not(){return B(t,!e)}}}function oe(t){return B(t)}function ae(t,e){return t===e}function le(...t){var e,n;const r=t[0],a=t[1];let l=(e=t[2])!=null?e:ae;const{symmetric:c=!1}=(n=t[3])!=null?n:{};if(typeof l=="string"){const s=l;l=(h,m)=>h[s]===m[s]}const u=o.computed(()=>o.toValue(r).filter(s=>o.toValue(a).findIndex(h=>l(s,h))===-1));if(c){const s=o.computed(()=>o.toValue(a).filter(h=>o.toValue(r).findIndex(m=>l(h,m))===-1));return o.computed(()=>c?[...o.toValue(u),...o.toValue(s)]:o.toValue(u))}else return u}function ie(t,e){return o.computed(()=>o.toValue(t).every((n,r,a)=>e(o.toValue(n),r,a)))}function ce(t,e){return o.computed(()=>o.toValue(t).map(n=>o.toValue(n)).filter(e))}function ue(t,e){return o.computed(()=>o.toValue(o.toValue(t).find((n,r,a)=>e(o.toValue(n),r,a))))}function se(t,e){return o.computed(()=>o.toValue(t).findIndex((n,r,a)=>e(o.toValue(n),r,a)))}function fe(t,e){let n=t.length;for(;n-- >0;)if(e(t[n],n,t))return t[n]}function de(t,e){return o.computed(()=>o.toValue(Array.prototype.findLast?o.toValue(t).findLast((n,r,a)=>e(o.toValue(n),r,a)):fe(o.toValue(t),(n,r,a)=>e(o.toValue(n),r,a))))}function me(t){return X(t)&&x(t,"formIndex","comparator")}function he(...t){var e;const n=t[0],r=t[1];let a=t[2],l=0;if(me(a)&&(l=(e=a.fromIndex)!=null?e:0,a=a.comparator),typeof a=="string"){const c=a;a=(u,s)=>u[c]===o.toValue(s)}return a=a??((c,u)=>c===o.toValue(u)),o.computed(()=>o.toValue(n).slice(l).some((c,u,s)=>a(o.toValue(c),o.toValue(r),u,o.toValue(s))))}function ye(t,e){return o.computed(()=>o.toValue(t).map(n=>o.toValue(n)).join(o.toValue(e)))}function we(t,e){return o.computed(()=>o.toValue(t).map(n=>o.toValue(n)).map(e))}function ge(t,e,...n){const r=(a,l,c)=>e(o.toValue(a),o.toValue(l),c);return o.computed(()=>{const a=o.toValue(t);return n.length?a.reduce(r,typeof n[0]=="function"?o.toValue(n[0]()):o.toValue(n[0])):a.reduce(r)})}function Ve(t,e){return o.computed(()=>o.toValue(t).some((n,r,a)=>e(o.toValue(n),r,a)))}function be(t){return Array.from(new Set(t))}function pe(t,e){return t.reduce((n,r)=>(n.some(a=>e(r,a,t))||n.push(r),n),[])}function Ae(t,e){return o.computed(()=>{const n=o.toValue(t).map(r=>o.toValue(r));return e?pe(n,e):be(n)})}function Oe(t=0,e={}){let n=o.unref(t);const r=o.ref(t),{max:a=Number.POSITIVE_INFINITY,min:l=Number.NEGATIVE_INFINITY}=e,c=(d=1)=>r.value=Math.max(Math.min(a,r.value+d),l),u=(d=1)=>r.value=Math.min(Math.max(l,r.value-d),a),s=()=>r.value,h=d=>r.value=Math.max(l,Math.min(a,d));return{count:r,inc:c,dec:u,get:s,set:h,reset:(d=n)=>(n=d,h(d))}}const Se=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[T\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/i,Te=/[YMDHhms]o|\[([^\]]+)\]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a{1,2}|A{1,2}|m{1,2}|s{1,2}|Z{1,2}|z{1,4}|SSS/g;function De(t,e,n,r){let a=t<12?"AM":"PM";return r&&(a=a.split("").reduce((l,c)=>l+=`${c}.`,"")),n?a.toLowerCase():a}function O(t){const e=["th","st","nd","rd"],n=t%100;return t+(e[(n-20)%10]||e[n]||e[0])}function at(t,e,n={}){var r;const a=t.getFullYear(),l=t.getMonth(),c=t.getDate(),u=t.getHours(),s=t.getMinutes(),h=t.getSeconds(),m=t.getMilliseconds(),d=t.getDay(),f=(r=n.customMeridiem)!=null?r:De,y=V=>{var w;return(w=V.split(" ")[1])!=null?w:""},g={Yo:()=>O(a),YY:()=>String(a).slice(-2),YYYY:()=>a,M:()=>l+1,Mo:()=>O(l+1),MM:()=>`${l+1}`.padStart(2,"0"),MMM:()=>t.toLocaleDateString(o.toValue(n.locales),{month:"short"}),MMMM:()=>t.toLocaleDateString(o.toValue(n.locales),{month:"long"}),D:()=>String(c),Do:()=>O(c),DD:()=>`${c}`.padStart(2,"0"),H:()=>String(u),Ho:()=>O(u),HH:()=>`${u}`.padStart(2,"0"),h:()=>`${u%12||12}`.padStart(1,"0"),ho:()=>O(u%12||12),hh:()=>`${u%12||12}`.padStart(2,"0"),m:()=>String(s),mo:()=>O(s),mm:()=>`${s}`.padStart(2,"0"),s:()=>String(h),so:()=>O(h),ss:()=>`${h}`.padStart(2,"0"),SSS:()=>`${m}`.padStart(3,"0"),d:()=>d,dd:()=>t.toLocaleDateString(o.toValue(n.locales),{weekday:"narrow"}),ddd:()=>t.toLocaleDateString(o.toValue(n.locales),{weekday:"short"}),dddd:()=>t.toLocaleDateString(o.toValue(n.locales),{weekday:"long"}),A:()=>f(u,s),AA:()=>f(u,s,!1,!0),a:()=>f(u,s,!0),aa:()=>f(u,s,!0,!0),z:()=>y(t.toLocaleDateString(o.toValue(n.locales),{timeZoneName:"shortOffset"})),zz:()=>y(t.toLocaleDateString(o.toValue(n.locales),{timeZoneName:"shortOffset"})),zzz:()=>y(t.toLocaleDateString(o.toValue(n.locales),{timeZoneName:"shortOffset"})),zzzz:()=>y(t.toLocaleDateString(o.toValue(n.locales),{timeZoneName:"longOffset"}))};return e.replace(Te,(V,w)=>{var b,T;return(T=w??((b=g[V])==null?void 0:b.call(g)))!=null?T:V})}function lt(t){if(t===null)return new Date(Number.NaN);if(t===void 0)return new Date;if(t instanceof Date)return new Date(t);if(typeof t=="string"&&!/Z$/i.test(t)){const e=t.match(Se);if(e){const n=e[2]-1||0,r=(e[7]||"0").substring(0,3);return new Date(e[1],n,e[3]||1,e[4]||0,e[5]||0,e[6]||0,r)}}return new Date(t)}function Re(t,e="HH:mm:ss",n={}){return o.computed(()=>at(lt(o.toValue(t)),o.toValue(e),n))}function it(t,e=1e3,n={}){const{immediate:r=!0,immediateCallback:a=!1}=n;let l=null;const c=o.shallowRef(!1);function u(){l&&(clearInterval(l),l=null)}function s(){c.value=!1,u()}function h(){const m=o.toValue(e);m<=0||(c.value=!0,a&&t(),u(),c.value&&(l=setInterval(t,m)))}if(r&&R&&h(),o.isRef(e)||typeof e=="function"){const m=o.watch(e,()=>{c.value&&R&&h()});p(m)}return p(s),{isActive:c,pause:s,resume:h}}function Fe(t=1e3,e={}){const{controls:n=!1,immediate:r=!0,callback:a}=e,l=o.shallowRef(0),c=()=>l.value+=1,u=()=>{l.value=0},s=it(a?()=>{c(),a(l.value)}:c,t,{immediate:r});return n?{counter:l,reset:u,...s}:l}function Me(t,e={}){var n;const r=o.ref((n=e.initialValue)!=null?n:null);return o.watch(t,()=>r.value=K(),e),r}function ct(t,e,n={}){const{immediate:r=!0,immediateCallback:a=!1}=n,l=o.shallowRef(!1);let c=null;function u(){c&&(clearTimeout(c),c=null)}function s(){l.value=!1,u()}function h(...m){a&&t(),u(),l.value=!0,c=setTimeout(()=>{l.value=!1,c=null,t(...m)},o.toValue(e))}return r&&(l.value=!0,R&&h()),p(s),{isPending:o.readonly(l),start:h,stop:s}}function Pe(t=1e3,e={}){const{controls:n=!1,callback:r}=e,a=ct(r??A,t,e),l=o.computed(()=>!a.isPending.value);return n?{ready:l,...a}:l}function Ie(t,e={}){const{method:n="parseFloat",radix:r,nanToZero:a}=e;return o.computed(()=>{let l=o.toValue(t);return typeof n=="function"?l=n(l):typeof l=="string"&&(l=Number[n](l,r)),a&&Number.isNaN(l)&&(l=0),l})}function Ce(t){return o.computed(()=>`${o.toValue(t)}`)}function ke(t=!1,e={}){const{truthyValue:n=!0,falsyValue:r=!1}=e,a=o.isRef(t),l=o.ref(t);function c(u){if(arguments.length)return l.value=u,l.value;{const s=o.toValue(n);return l.value=l.value===s?o.toValue(r):s,l.value}}return a?c:[l,c]}function Ee(t,e,n){let r=n?.immediate?[]:[...t instanceof Function?t():Array.isArray(t)?t:o.toValue(t)];return o.watch(t,(a,l,c)=>{const u=Array.from({length:r.length}),s=[];for(const m of a){let d=!1;for(let f=0;f<r.length;f++)if(!u[f]&&m===r[f]){u[f]=!0,d=!0;break}d||s.push(m)}const h=r.filter((m,d)=>!u[d]);e(a,r,s,h,c),r=[...a]},n)}function _e(t,e,n){const{count:r,...a}=n,l=o.shallowRef(0),c=P(t,(...u)=>{l.value+=1,l.value>=o.toValue(r)&&o.nextTick(()=>c()),e(...u)},a);return{count:l,stop:c}}function ut(t,e,n={}){const{debounce:r=0,maxWait:a=void 0,...l}=n;return P(t,e,{...l,eventFilter:L(r,{maxWait:a})})}function Ne(t,e,n){return o.watch(t,e,{...n,deep:!0})}function Y(t,e,n={}){const{eventFilter:r=I,...a}=n,l=F(r,e);let c,u,s;if(a.flush==="sync"){const h=o.shallowRef(!1);u=()=>{},c=m=>{h.value=!0,m(),h.value=!1},s=o.watch(t,(...m)=>{h.value||l(...m)},a)}else{const h=[],m=o.shallowRef(0),d=o.shallowRef(0);u=()=>{m.value=d.value},h.push(o.watch(t,()=>{d.value++},{...a,flush:"sync"})),c=f=>{const y=d.value;f(),m.value+=d.value-y},h.push(o.watch(t,(...f)=>{const y=m.value>0&&m.value===d.value;m.value=0,d.value=0,!y&&l(...f)},a)),s=()=>{h.forEach(f=>f())}}return{stop:s,ignoreUpdates:c,ignorePrevAsyncUpdates:u}}function Le(t,e,n){return o.watch(t,e,{...n,immediate:!0})}function je(t,e,n){const r=o.watch(t,(...a)=>(o.nextTick(()=>r()),e(...a)),n);return r}function st(t,e,n={}){const{throttle:r=0,trailing:a=!0,leading:l=!0,...c}=n;return P(t,e,{...c,eventFilter:j(r,a,l)})}function We(t,e,n={}){let r;function a(){if(!r)return;const m=r;r=void 0,m()}function l(m){r=m}const c=(m,d)=>(a(),e(m,d,l)),u=Y(t,c,n),{ignoreUpdates:s}=u;return{...u,trigger:()=>{let m;return s(()=>{m=c(Ue(t),ze(t))}),m}}}function Ue(t){return o.isReactive(t)?t:Array.isArray(t)?t.map(e=>o.toValue(e)):o.toValue(t)}function ze(t){return Array.isArray(t)?t.map(()=>{}):void 0}function Be(t,e,n){const r=o.watch(t,(a,l,c)=>{a&&(n?.once&&o.nextTick(()=>r()),e(a,l,c))},{...n,once:!1});return r}i.assert=Tt,i.autoResetRef=et,i.bypassFilter=I,i.camelize=Nt,i.clamp=Ft,i.computedEager=$,i.computedWithControl=H,i.containsProp=x,i.controlledComputed=H,i.controlledRef=qt,i.createEventHook=dt,i.createFilterWrapper=F,i.createGlobalState=mt,i.createInjectionState=ht,i.createReactiveFn=_,i.createSharedComposable=yt,i.createSingletonPromise=jt,i.debounceFilter=L,i.debouncedRef=U,i.debouncedWatch=ut,i.eagerComputed=$,i.extendRef=q,i.formatDate=at,i.get=wt,i.getLifeCycleTarget=M,i.hasOwn=Pt,i.hyphenate=Et,i.identity=Lt,i.ignorableWatch=Y,i.increaseWithUnit=Ut,i.injectLocal=G,i.invoke=Wt,i.isClient=R,i.isDef=Ot,i.isDefined=gt,i.isIOS=It,i.isObject=X,i.isWorker=At,i.makeDestructurable=Vt,i.noop=A,i.normalizeDate=lt,i.notNullish=St,i.now=Rt,i.objectEntries=$t,i.objectOmit=Yt,i.objectPick=Bt,i.pausableFilter=v,i.pausableWatch=k,i.promiseTimeout=W,i.provideLocal=Z,i.pxValue=zt,i.rand=Mt,i.reactify=_,i.reactifyObject=bt,i.reactiveComputed=N,i.reactiveOmit=pt,i.reactivePick=Gt,i.refAutoReset=et,i.refDebounced=U,i.refDefault=Zt,i.refThrottled=z,i.refWithControl=ot,i.resolveRef=Ht,i.resolveUnref=xt,i.set=Jt,i.syncRef=Xt,i.syncRefs=Kt,i.throttleFilter=j,i.throttledRef=z,i.throttledWatch=st,i.timestamp=K,i.toArray=tt,i.toReactive=J,i.toRef=C,i.toRefs=vt,i.toValue=Qt,i.tryOnBeforeMount=te,i.tryOnBeforeUnmount=ee,i.tryOnMounted=ne,i.tryOnScopeDispose=p,i.tryOnUnmounted=re,i.until=oe,i.useArrayDifference=le,i.useArrayEvery=ie,i.useArrayFilter=ce,i.useArrayFind=ue,i.useArrayFindIndex=se,i.useArrayFindLast=de,i.useArrayIncludes=he,i.useArrayJoin=ye,i.useArrayMap=we,i.useArrayReduce=ge,i.useArraySome=Ve,i.useArrayUnique=Ae,i.useCounter=Oe,i.useDateFormat=Re,i.useDebounce=U,i.useDebounceFn=nt,i.useInterval=Fe,i.useIntervalFn=it,i.useLastChanged=Me,i.useThrottle=z,i.useThrottleFn=rt,i.useTimeout=Pe,i.useTimeoutFn=ct,i.useToNumber=Ie,i.useToString=Ce,i.useToggle=ke,i.watchArray=Ee,i.watchAtMost=_e,i.watchDebounced=ut,i.watchDeep=Ne,i.watchIgnorable=Y,i.watchImmediate=Le,i.watchOnce=je,i.watchPausable=k,i.watchThrottled=st,i.watchTriggerable=We,i.watchWithFilter=P,i.whenever=Be})(this.VueUse=this.VueUse||{},Vue);
@@ -0,0 +1 @@
1
+ (function(n,c){typeof exports=="object"&&typeof module!="undefined"?c(exports):typeof define=="function"&&define.amd?define(["exports"],c):(n=typeof globalThis!="undefined"?globalThis:n||self,c(n.UniApp={}))})(this,function(n){"use strict";const c=Object.assign,d=Object.prototype.hasOwnProperty,u=(o,e)=>d.call(o,e),h=Object.prototype.toString,g=o=>h.call(o),O=o=>g(o)==="[object Object]",A=(o=>{const e=Object.create(null);return a=>e[a]||(e[a]=o(a))})(o=>o.charAt(0).toUpperCase()+o.slice(1)),R="__uniSSR",N="data",T="globalData",f="onShow",I="onHide",E="onLaunch",C="onError",B="onThemeChange",P="onPageNotFound",v="onUnhandledRejection",w="onExit",b="onLoad",m="onReady",D="onUnload",H="onInit",L="onSaveExitState",U="onResize",p="onBackPress",y="onPageScroll",F="onTabItemTap",V="onReachBottom",j="onPullDownRefresh",G="onShareTimeline",M="onAddToFavorites",k="onShareAppMessage",z="onNavigationBarButtonTap",q="onNavigationBarSearchInputClicked",J="onNavigationBarSearchInputChanged",K="onNavigationBarSearchInputConfirmed",W="onNavigationBarSearchInputFocusChanged",X=o=>o&&JSON.parse(JSON.stringify(o))||o;function Y(){return Vue.getCurrentInstance()?N:T}function Z(o,e=!1){if(!o)throw new Error(`${e?"shallowSsrRef":"ssrRef"}: You must provide a key.`)}const S=(o,e,a=!1)=>{const i=a?Vue.shallowRef(o):Vue.ref(o);if(typeof window=="undefined")return i;const s=window[R];if(!s)return i;const r=Y();return Z(e,a),u(s[r],e)&&(i.value=s[r][e],r===N&&delete s[r][e]),i},$={},Q=(o,e)=>S(o,e),x=(o,e)=>S(o,e,!0);function nn(){return X($)}function on(){return uni.getSubNVueById(plus.webview.currentWebview().id)}function en(o){return weex.requireModule(o)}function tn(o,e,...a){uni.__log__?uni.__log__(o,e,...a):console[o].apply(console,[...a,e])}function an(o,e,...a){e&&a.push(e),console[o].apply(console,a)}function cn(o,e){return typeof o=="string"?e:o}const t=o=>(e,a=Vue.getCurrentInstance())=>{!Vue.isInSSRComponentSetup&&Vue.injectHook(o,e,a)},_=t(f),l=t(I),sn=t(E),rn=t(C),un=t(B),Nn=t(P),Sn=t(v),_n=t(w),ln=t(H),dn=t(b),hn=t(m),gn=t(D),On=t(U),An=t(p),Rn=t(y),Tn=t(F),fn=t(V),In=t(j),En=t(L),Cn=t(G),Bn=t(M),Pn=t(k),vn=t(z),wn=t(J),bn=t(q),mn=t(K),Dn=t(W),Hn=l,Ln=_;function Un(o,e,a=null){return o[e]?o[e](a):null}n.capitalize=A,n.extend=c,n.formatAppLog=tn,n.formatLog=an,n.getCurrentSubNVue=on,n.getSsrGlobalData=nn,n.hasOwn=u,n.isPlainObject=O,n.onAddToFavorites=Bn,n.onBackPress=An,n.onError=rn,n.onExit=_n,n.onHide=l,n.onInit=ln,n.onLaunch=sn,n.onLoad=dn,n.onNavigationBarButtonTap=vn,n.onNavigationBarSearchInputChanged=wn,n.onNavigationBarSearchInputClicked=bn,n.onNavigationBarSearchInputConfirmed=mn,n.onNavigationBarSearchInputFocusChanged=Dn,n.onPageHide=Hn,n.onPageNotFound=Nn,n.onPageScroll=Rn,n.onPageShow=Ln,n.onPullDownRefresh=In,n.onReachBottom=fn,n.onReady=hn,n.onResize=On,n.onSaveExitState=En,n.onShareAppMessage=Pn,n.onShareTimeline=Cn,n.onShow=_,n.onTabItemTap=Tn,n.onThemeChange=un,n.onUnhandledRejection=Sn,n.onUnload=gn,n.renderComponentSlot=Un,n.requireNativePlugin=en,n.resolveEasycom=cn,n.shallowSsrRef=x,n.ssrRef=Q,Object.defineProperty(n,Symbol.toStringTag,{value:"Module"})});