You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
llll/unpackage/dist/build/app-plus/uni-app-view.umd.js

8 lines
304 KiB

2 months ago
!function(e){"function"==typeof define&&define.amd?define(e):e()}((function(){"use strict";function e(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var t={exports:{}},n={exports:{}},r={exports:{}},i=r.exports={version:"2.6.12"};"number"==typeof __e&&(__e=i);var a=r.exports,o={exports:{}},s=o.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=s);var l=o.exports,u=a,c=l,d="__core-js_shared__",h=c[d]||(c[d]={});(n.exports=function(e,t){return h[e]||(h[e]=void 0!==t?t:{})})("versions",[]).push({version:u.version,mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"});var f=n.exports,p=0,v=Math.random(),g=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++p+v).toString(36))},m=f("wks"),_=g,y=l.Symbol,b="function"==typeof y;(t.exports=function(e){return m[e]||(m[e]=b&&y[e]||(b?y:_)("Symbol."+e))}).store=m;var w,x,S=t.exports,k={},T=function(e){return"object"==typeof e?null!==e:"function"==typeof e},E=T,C=function(e){if(!E(e))throw TypeError(e+" is not an object!");return e},O=function(e){try{return!!e()}catch(t){return!0}},M=!O((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}));function L(){if(x)return w;x=1;var e=T,t=l.document,n=e(t)&&e(t.createElement);return w=function(e){return n?t.createElement(e):{}}}var I=!M&&!O((function(){return 7!=Object.defineProperty(L()("div"),"a",{get:function(){return 7}}).a})),A=T,B=C,N=I,R=function(e,t){if(!A(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!A(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!A(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!A(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},P=Object.defineProperty;k.f=M?Object.defineProperty:function(e,t,n){if(B(e),t=R(t,!0),B(n),N)try{return P(e,t,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e};var D=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},z=k,F=D,$=M?function(e,t,n){return z.f(e,t,F(1,n))}:function(e,t,n){return e[t]=n,e},j=S("unscopables"),V=Array.prototype;null==V[j]&&$(V,j,{});var W={},H={}.toString,U=function(e){return H.call(e).slice(8,-1)},q=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},Y=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==U(e)?e.split(""):Object(e)},X=q,Z=function(e){return Y(X(e))},G={exports:{}},K={}.hasOwnProperty,J=function(e,t){return K.call(e,t)},Q=f("native-function-to-string",Function.toString),ee=l,te=$,ne=J,re=g("src"),ie=Q,ae="toString",oe=(""+ie).split(ae);a.inspectSource=function(e){return ie.call(e)},(G.exports=function(e,t,n,r){var i="function"==typeof n;i&&(ne(n,"name")||te(n,"name",t)),e[t]!==n&&(i&&(ne(n,re)||te(n,re,e[t]?""+e[t]:oe.join(String(t)))),e===ee?e[t]=n:r?e[t]?e[t]=n:te(e,t,n):(delete e[t],te(e,t,n)))})(Function.prototype,ae,(function(){return"function"==typeof this&&this[re]||ie.call(this)}));var se=G.exports,le=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e},ue=le,ce=l,de=a,he=$,fe=se,pe=function(e,t,n){if(ue(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}},ve="prototype",ge=function(e,t,n){var r,i,a,o,s=e&ge.F,l=e&ge.G,u=e&ge.S,c=e&ge.P,d=e&ge.B,h=l?ce:u?ce[t]||(ce[t]={}):(ce[t]||{})[ve],f=l?de:de[t]||(de[t]={}),p=f[ve]||(f[ve]={});for(r in l&&(n=t),n)a=((i=!s&&h&&void 0!==h[r])?h:n)[r],o=d&&i?pe(a,ce):c&&"function"==typeof a?pe(Function.call,a):a,h&&fe(h,r,a,e&ge.U),f[r]!=a&&he(f,r,o),c&&p[r]!=a&&(p[r]=a)};ce.core=de,ge.F=1,ge.G=2,ge.S=4,ge.P=8,ge.B=16,ge.W=32,ge.U=64,ge.R=128;var me,_e,ye,be=ge,we=Math.ceil,xe=Math.floor,Se=function(e){return isNaN(e=+e)?0:(e>0?xe:we)(e)},ke=Se,Te=Math.min,Ee=Se,Ce=Math.max,Oe=Math.min
/**
* @vue/shared v3.4.21
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function Kt(e,t){var n=new Set(e.split(","));return t?e=>n.has(e.toLowerCase()):e=>n.has(e)}var Jt,Qt={},en=[],tn=()=>{},nn=()=>!1,rn=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),an=e=>e.startsWith("onUpdate:"),on=Object.assign,sn=(e,t)=>{var n=e.indexOf(t);n>-1&&e.splice(n,1)},ln=Object.prototype.hasOwnProperty,un=(e,t)=>ln.call(e,t),cn=Array.isArray,dn=e=>"[object Map]"===yn(e),hn=e=>"[object Set]"===yn(e),fn=e=>"function"==typeof e,pn=e=>"string"==typeof e,vn=e=>"symbol"==typeof e,gn=e=>null!==e&&"object"==typeof e,mn=e=>(gn(e)||fn(e))&&fn(e.then)&&fn(e.catch),_n=Object.prototype.toString,yn=e=>_n.call(e),bn=e=>yn(e).slice(8,-1),wn=e=>"[object Object]"===yn(e),xn=e=>pn(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,Sn=Kt(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),kn=e=>{var t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Tn=/-(\w)/g,En=kn((e=>e.replace(Tn,((e,t)=>t?t.toUpperCase():"")))),Cn=/\B([A-Z])/g,On=kn((e=>e.replace(Cn,"-$1").toLowerCase())),Mn=kn((e=>e.charAt(0).toUpperCase()+e.slice(1))),Ln=kn((e=>e?"on".concat(Mn(e)):"")),In=(e,t)=>!Object.is(e,t),An=(e,t)=>{for(var n=0;n<e.length;n++)e[n](t)},Bn=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Nn=e=>{var t=parseFloat(e);return isNaN(t)?e:t},Rn=()=>Jt||(Jt="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window||"undefined"!=typeof window?window:{});function Pn(e){if(cn(e)){for(var t={},n=0;n<e.length;n++){var r=e[n],i=pn(r)?$n(r):Pn(r);if(i)for(var a in i)t[a]=i[a]}return t}if(pn(e)||gn(e))return e}var Dn=/;(?![^(]*\))/g,zn=/:([^]+)/,Fn=/\/\*[^]*?\*\//g;function $n(e){var t={};return e.replace(Fn,"").split(Dn).forEach((e=>{if(e){var n=e.split(zn);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function jn(e){var t="";if(pn(e))t=e;else if(cn(e))for(var n=0;n<e.length;n++){var r=jn(e[n]);r&&(t+=r+" ")}else if(gn(e))for(var i in e)e[i]&&(t+=i+" ");return t.trim()}var Vn,Wn,Hn=Kt("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function Un(e){return!!e||""===e}var qn=be,Yn=le,Xn=ct,Zn=O,Gn=[].sort,Kn=[1,2,3];qn(qn.P+qn.F*(Zn((function(){Kn.sort(void 0)}))||!Zn((function(){Kn.sort(null)}))||!function(){if(Wn)return Vn;Wn=1;var e=O;return Vn=function(t,n){return!!t&&e((function(){n?t.call(null,(function(){}),1):t.call(null)}))}}()(Gn)),"Array",{sort:function(e){return void 0===e?Gn.call(Xn(this)):Gn.call(Xn(this),Yn(e))}});var Jn="\n",Qn=44,er="#007aff",tr=/^([a-z-]+:)?\/\//i,nr=/^data:.*,.*/,rr="wxs://",ir="json://",ar="wxsModules",or="renderjsModules",sr="onThemeChange",lr="onPageScroll",ur="onReachBottom",cr=0;function dr(e){var t=Date.now(),n=cr?t-cr:0;cr=t;for(var r=arguments.length,i=new Array(r>1?r-1:0),a=1;a<r;a++)i[a-1]=arguments[a];return"[".concat(t,"][").concat(n,"ms][").concat(e,"]").concat(i.map((e=>JSON.stringify(e))).join(" "))}function hr(e){return function(e){return 0===e.indexOf("/")}(e)?e:"/"+e}function fr(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return function(){if(e){for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];t=e.apply(n,i),e=null}return t}}function pr(e,t){if(pn(t)){var n=(t=t.replace(/\[(\d+)\]/g,".$1")).split("."),r=n[0];return e||(e={}),1===n.length?e[r]:pr(e[r],n.slice(1).join("."))}}function vr(e){return En(e.substring(5))}var gr=fr((()=>{var e=HTMLElement.prototype,t=e.setAttribute;e.setAttribute=function(e,n){e.startsWith("data-")&&this.tagName.startsWith("UNI-")&&((this.__uniDataset||(this.__uniDataset={}))[vr(e)]=n);t.call(this,e,n)};var n=e.removeAttribute;e.removeAttribute=function(e){this.__uniDataset&&e.startsWith("data-")&&this.tagName.startsWith("UNI-")&&delete this.__uniDataset[vr(e)],n.call(this,e)}}));function mr(e){return on({},e.dataset,e.__uniDataset)}var _r=new RegExp("\"[^\"]+\"|'[^']+'|url\\([^)]+\\)|(\\d*\\.?\\d+)[r|u]px","g");function yr(e){return{passive:e}}function br(e){var{id:t,offsetTop:n,offsetLeft:r}=
/*! #__NO_SIDE_EFFECTS__ */function Yo(e,t){return fn(e)?(()=>on({name:e.name},t,{setup:e}))():e}var Xo=e=>!!e.type.__asyncLoader,Zo=e=>e.type.__isKeepAlive;function Go(e,t){Jo(e,"a",t)}function Ko(e,t){Jo(e,"da",t)}function Jo(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Cl,r=e.__wdc||(e.__wdc=()=>{for(var t=n;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(es(t,r,n),n)for(var i=n.parent;i&&i.parent;)Zo(i.parent.vnode)&&Qo(r,t,n,i),i=i.parent}function Qo(e,t,n,r){var i=es(t,e,r,!0);ss((()=>{sn(r[t],i)}),n)}function es(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Cl,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(n){var i=n[e]||(n[e]=[]),a=t.__weh||(t.__weh=function(){if(!n.isUnmounted){Wi();for(var r=Il(n),i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];var s=oo(t,n,e,a);return r(),Hi(),s}});return r?i.unshift(a):i.push(a),a}}var ts=e=>function(t){return(!Rl||"sp"===e)&&es(e,(function(){return t(...arguments)}),arguments.length>1&&void 0!==arguments[1]?arguments[1]:Cl)},ns=ts("bm"),rs=ts("m"),is=ts("bu"),as=ts("u"),os=ts("bum"),ss=ts("um"),ls=ts("sp"),us=ts("rtg"),cs=ts("rtc");function ds(e){es("ec",e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:Cl)}var hs=e=>e?Bl(e)?zl(e)||e.proxy:hs(e.parent):null,fs=on(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>hs(e.parent),$root:e=>hs(e.root),$emit:e=>e.emit,$options:e=>ws(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,yo(e.update)}),$nextTick:e=>e.n||(e.n=_o.bind(e.proxy)),$watch:e=>Vo.bind(e)}),ps=(e,t)=>e!==Qt&&!e.__isScriptSetup&&un(e,t),vs={get(e,t){var n,{_:r}=e,{ctx:i,setupState:a,data:o,props:s,accessCache:l,type:u,appContext:c}=r;if("$"!==t[0]){var d=l[t];if(void 0!==d)switch(d){case 1:return a[t];case 2:return o[t];case 4:return i[t];case 3:return s[t]}else{if(ps(a,t))return l[t]=1,a[t];if(o!==Qt&&un(o,t))return l[t]=2,o[t];if((n=r.propsOptions[0])&&un(n,t))return l[t]=3,s[t];if(i!==Qt&&un(i,t))return l[t]=4,i[t];ms&&(l[t]=0)}}var h,f,p=fs[t];return p?("$attrs"===t&&ea(r,0,t),p(r)):(h=u.__cssModules)&&(h=h[t])?h:i!==Qt&&un(i,t)?(l[t]=4,i[t]):(f=c.config.globalProperties,un(f,t)?f[t]:void 0)},set(e,t,n){var{_:r}=e,{data:i,setupState:a,ctx:o}=r;return ps(a,t)?(a[t]=n,!0):i!==Qt&&un(i,t)?(i[t]=n,!0):!un(r.props,t)&&(("$"!==t[0]||!(t.slice(1)in r))&&(o[t]=n,!0))},has(e,t){var n,{_:{data:r,setupState:i,accessCache:a,ctx:o,appContext:s,propsOptions:l}}=e;return!!a[t]||r!==Qt&&un(r,t)||ps(i,t)||(n=l[0])&&un(n,t)||un(o,t)||un(fs,t)||un(s.config.globalProperties,t)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:un(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function gs(e){return cn(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}var ms=!0;function _s(e){var t=ws(e),n=e.proxy,r=e.ctx;ms=!1,t.beforeCreate&&ys(t.beforeCreate,e,"bc");var i,{data:a,computed:o,methods:s,watch:l,provide:u,inject:c,created:d,beforeMount:h,mounted:f,beforeUpdate:p,updated:v,activated:g,deactivated:m,beforeDestroy:_,beforeUnmount:y,destroyed:b,unmounted:w,render:x,renderTracked:S,renderTriggered:k,errorCaptured:T,serverPrefetch:E,expose:C,inheritAttrs:O,components:M,directives:L,filters:I}=t;if(c&&function(e,t){cn(e)&&(e=Ts(e));var n=function(n){var r=e[n],i=void 0;Ja(i=gn(r)?"default"in r?Ns(r.from||n,r.default,!0):Ns(r.from||n):Ns(r))?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e}):t[n]=i};for(var r in e)n(r)}(c,r),s)for(var A in s){var B=s[A];fn(B)&&(r[A]=B.bind(n))}if(a&&(i=a.call(n,n),gn(i)&&(e.data=za(i))),ms=!0,o){var N=function(e){var t=o[e],i=fn(t)?t.bind(n,n):fn(t.get)?t.get.bind(n,n):tn,a=!fn(t)&&fn(t.set)?t.set.bind(n):tn,s=Fl({get:i,set:a});Object.defineProperty(r,e,{enumerable:!0,configurable:!0,get:()=>s.value,set:e=>s.value=e})};for(var R in o)N(R)}if(l)for(var P in l)bs(l[P],r,n,P);if(u){var D=fn(u)?u.call(n):u;Reflect.ownKeys(D).forEach((e=>{Bs(e,D[e])}))}function z(e,t){cn(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n)