(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,S=(o,e)=>d.call(o,e),O=Object.prototype.toString,h=o=>O.call(o),g=o=>h(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)),T="__uniSSR",N="data",R="globalData",I="onShow",f="onHide",C="onLaunch",E="onError",P="onThemeChange",B="onPageNotFound",L="onUnhandledRejection",U="onLastPageBackPress",v="onExit",D="onLoad",p="onReady",w="onUnload",y="onInit",H="onSaveExitState",b="onUploadDouyinVideo",m="onLiveMount",V="onTitleClick",F="onResize",j="onBackPress",G="onPageScroll",M="onTabItemTap",k="onReachBottom",z="onPullDownRefresh",K="onShareTimeline",Y="onShareChat",q="onCopyUrl",J="onAddToFavorites",W="onShareAppMessage",X="onNavigationBarButtonTap",Z="onNavigationBarSearchInputClicked",$="onNavigationBarSearchInputChanged",Q="onNavigationBarSearchInputConfirmed",x="onNavigationBarSearchInputFocusChanged",nn=o=>o&&JSON.parse(JSON.stringify(o))||o;function on(){return Vue.getCurrentInstance()?N:R}function tn(o,e=!1){if(!o)throw new Error(`${e?"shallowSsrRef":"ssrRef"}: You must provide a key.`)}const l=(o,e,a=!1)=>{const c=a?Vue.shallowRef(o):Vue.ref(o);if(typeof window=="undefined")return c;const s=window[T];if(!s)return c;const r=on();return tn(e,a),S(s[r],e)&&(c.value=s[r][e],r===N&&delete s[r][e]),c},en={},an=(o,e)=>l(o,e),cn=(o,e)=>l(o,e,!0);function sn(){return nn(en)}function rn(){return uni.getSubNVueById(plus.webview.currentWebview().id)}function un(o){return weex.requireModule(o)}function _n(o,e,...a){uni.__log__?uni.__log__(o,e,...a):console[o].apply(console,[...a,e])}function Sn(o,e,...a){e&&a.push(e),console[o].apply(console,a)}function Nn(o,e){return typeof o=="string"?e:o}const t=(o,e=0)=>(a,c=Vue.getCurrentInstance())=>{!Vue.isInSSRComponentSetup&&Vue.injectHook(o,a,c)},u=t(I,3),_=t(f,3),ln=t(C,1),dn=t(E,1),On=t(P,1),hn=t(B,1),gn=t(L,1),An=t(U,1),Tn=t(v,1),Rn=t(y,6),In=t(D,2),fn=t(p,2),Cn=t(w,2),En=t(F,2),Pn=t(j,2),Bn=t(G,2),Ln=t(M,2),Un=t(k,2),vn=t(z,2),Dn=t(H,2),pn=t(V,2),wn=t(K,2),yn=t(Y,2),Hn=t(J,2),bn=t(W,2),mn=t(q,2),Vn=t(b,2),Fn=t(m,2),jn=t(X,2),Gn=t($,2),Mn=t(Z,2),kn=t(Q,2),zn=t(x,2),Kn=_,Yn=u,qn=_,Jn=u;function Wn(o,e,a=null){return o[e]?o[e](a):null}n.capitalize=A,n.extend=i,n.formatAppLog=_n,n.formatLog=Sn,n.getCurrentSubNVue=rn,n.getSsrGlobalData=sn,n.hasOwn=S,n.isPlainObject=g,n.onAddToFavorites=Hn,n.onAppHide=qn,n.onAppShow=Jn,n.onBackPress=Pn,n.onCopyUrl=mn,n.onError=dn,n.onExit=Tn,n.onHide=_,n.onInit=Rn,n.onLastPageBackPress=An,n.onLaunch=ln,n.onLiveMount=Fn,n.onLoad=In,n.onNavigationBarButtonTap=jn,n.onNavigationBarSearchInputChanged=Gn,n.onNavigationBarSearchInputClicked=Mn,n.onNavigationBarSearchInputConfirmed=kn,n.onNavigationBarSearchInputFocusChanged=zn,n.onPageHide=Kn,n.onPageNotFound=hn,n.onPageScroll=Bn,n.onPageShow=Yn,n.onPullDownRefresh=vn,n.onReachBottom=Un,n.onReady=fn,n.onResize=En,n.onSaveExitState=Dn,n.onShareAppMessage=bn,n.onShareChat=yn,n.onShareTimeline=wn,n.onShow=u,n.onTabItemTap=Ln,n.onThemeChange=On,n.onTitleClick=pn,n.onUnhandledRejection=gn,n.onUnload=Cn,n.onUploadDouyinVideo=Vn,n.renderComponentSlot=Wn,n.requireNativePlugin=un,n.resolveEasycom=Nn,n.shallowSsrRef=cn,n.ssrRef=an,Object.defineProperty(n,Symbol.toStringTag,{value:"Module"})}));
