(function(n,i){typeof exports=="object"&&typeof module!="undefined"?i(exports):typeof define=="function"&&define.amd?define(["exports"],i):(n=typeof globalThis!="undefined"?globalThis:n||self,i(n.UniApp={}))})(this,(function(n){"use strict";const i=Object.assign,d=Object.prototype.hasOwnProperty,u=(o,t)=>d.call(o,t),h=Object.prototype.toString,g=o=>h.call(o),O=o=>g(o)==="[object Object]",A=(o=>{const t=Object.create(null);return a=>t[a]||(t[a]=o(a))})(o=>o.charAt(0).toUpperCase()+o.slice(1)),f="__uniSSR",N="data",R="globalData",T="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:R}function Z(o,t=!1){if(!o)throw new Error(`${t?"shallowSsrRef":"ssrRef"}: You must provide a key.`)}const S=(o,t,a=!1)=>{const c=a?Vue.shallowRef(o):Vue.ref(o);if(typeof window=="undefined")return c;const s=window[f];if(!s)return c;const r=Y();return Z(t,a),u(s[r],t)&&(c.value=s[r][t],r===N&&delete s[r][t]),c},$={},Q=(o,t)=>S(o,t),x=(o,t)=>S(o,t,!0);function nn(){return X($)}function on(){return uni.getSubNVueById(plus.webview.currentWebview().id)}function en(o){return weex.requireModule(o)}function tn(o,t,...a){uni.__log__?uni.__log__(o,t,...a):console[o].apply(console,[...a,t])}function an(o,t,...a){t&&a.push(t),console[o].apply(console,a)}function cn(o,t){return typeof o=="string"?t:o}const e=(o,t=0)=>(a,c=Vue.getCurrentInstance())=>{!Vue.isInSSRComponentSetup&&Vue.injectHook(o,a,c)},_=e(T,3),l=e(I,3),sn=e(E,1),rn=e(C,1),un=e(B,1),Nn=e(P,1),Sn=e(v,1),_n=e(w,1),ln=e(H,6),dn=e(b,2),hn=e(m,2),gn=e(D,2),On=e(U,2),An=e(p,2),fn=e(y,2),Rn=e(F,2),Tn=e(V,2),In=e(j,2),En=e(L,2),Cn=e(G,2),Bn=e(M,2),Pn=e(k,2),vn=e(z,2),wn=e(J,2),bn=e(q,2),mn=e(K,2),Dn=e(W,2),Hn=l,Ln=_;function Un(o,t,a=null){return o[t]?o[t](a):null}n.capitalize=A,n.extend=i,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=fn,n.onPageShow=Ln,n.onPullDownRefresh=In,n.onReachBottom=Tn,n.onReady=hn,n.onResize=On,n.onSaveExitState=En,n.onShareAppMessage=Pn,n.onShareTimeline=Cn,n.onShow=_,n.onTabItemTap=Rn,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"})}));
