(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["common/vendor"],[,function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.createApp=In,e.createComponent=Hn,e.createPage=Vn,e.createPlugin=zn,e.createSubpackageApp=Qn,e.default=void0;varr,i=n(3),o=a(n(4));functiona(t){returnt&&t.__esModule?t:{default:t}}functions(t,e){varn=Object.keys(t);if(Object.getOwnPropertySymbols){varr=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){returnObject.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}returnn}functionu(t){for(vare=1;e<arguments.length;e++){varn=null!=arguments[e]?arguments[e]:{};e%2?s(Object(n),!0).forEach((function(e){d(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}returnt}functionc(t,e){returnh(t)||f(t,e)||g(t,e)||l()}functionl(){thrownewTypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}functionf(t,e){if("undefined"!==typeofSymbol&&Symbol.iteratorinObject(t)){varn=[],r=!0,i=!1,o=void0;try{for(vara,s=t[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),e&&n.length===e)break}catch(u){i=!0,o=u}finally{try{r||null==s["return"]||s["return"]()}finally{if(i)throwo}}returnn}}functionh(t){if(Array.isArray(t))returnt}functiond(t,e,n){returneint?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}functionp(t){returnm(t)||y(t)||g(t)||v()}functionv(){thrownewTypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}functiong(t,e){if(t){if("string"===typeoft)returnb(t,e);varn=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?b(t,e):void0}}functiony(t){if("undefined"!==typeofSymbol&&Symbol.iteratorinObject(t))returnArray.from(t)}functionm(t){if(Array.isArray(t))returnb(t)}functionb(t,e){(null==e||e>t.length)&&(e=t.length);for(varn=0,r=newArray(e);n<e;n++)r[n]=t[n];returnr}varw="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_=/^(?:[A-Za-z\d+/]{4})*?(?:[A-Za-z\d+/]{2}(?:==)?|[A-Za-z\d+/]{3}=?)?$/;functionA(t){returndecodeURIComponent(r(t).split("").map((function(t){return"%"+("00"+t.charCodeAt(0).toString(16)).slice(-2)})).join(""))}functionE(){vart,e=wx.getStorageSync("uni_id_token")||"",n=e.split(".");if(!e||3!==n.length)return{uid:null,role:[],permission:[],tokenExpired:0};try{t=JSON.parse(A(n[1]))}catch(r){thrownewError("获取当前用户信息出错,详细错误信息为:"+r.message)}returnt.tokenExpired=1e3*t.exp,deletet.exp,deletet.iat,t}functionS(t){t.prototype.uniIDHasRole=function(t){vare=E(),n=e.role;returnn.indexOf(t)>-1},t.prototype.uniIDHasPermission=function(t){vare=E(),n=e.permission;returnthis.uniIDHasRole("admin")||n.indexOf(t)>-1},t.prototype.uniIDTokenValid=function(){vart=E(),e=t.tokenExpired;returne>Date.now()}}r="function"!==typeofatob?function(t){if(t=String(t).replace(/[\t\n\f\r ]+/g,""),!_.test(t))thrownewError("Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.");vare;t+="==".slice(2-(3&t.length));for(varn,r,i="",o=0;o<t.length;)e=w.indexOf(t.charAt(o++))<<18|w.indexOf(t.charAt(o++))<<12|(n=w.indexOf(t.charAt(o++)))<<6|(r=w.indexOf(t.charAt(o++))),i+=64===n?String.fromCharCode(e>>16&255):64===r?String.fromCharCode(e>>16&255,e>>8&255):String.fromCharCode(e>>16&255,e>>8&255,255&e);returni}:atob;varO=Object.prototype.toString,x=Object.prototype.hasOwnProperty;functionk(t){return"function"===typeoft}functionP(t){return"string"===typeoft}functionB(t){return"[object Object]"===O.call(t)}functionI(t,e){returnx.call(t,e)}functionT(){}functionM(t){va
/*! For license information please see gtpush-min.js.LICENSE.txt */}varv=p((function(n,i){(function(t,e){n.exports=e()})(self,(function(){returnfunction(){varn={4736:function(t,e,n){varr;t=n.nmd(t);vari=function(t){vare=1e7,n=7,r=9007199254740992,o=d(r),a="0123456789abcdefghijklmnopqrstuvwxyz",s="function"===typeofBigInt;functionu(t,e,n,r){return"undefined"===typeoft?u[0]:"undefined"!==typeofe&&(10!==+e||n)?$(t,e,n,r):ot(t)}functionc(t,e){this.value=t,this.sign=e,this.isSmall=!1}functionl(t){this.value=t,this.sign=t<0,this.isSmall=!0}functionf(t){this.value=t}functionh(t){return-r<t&&t<r}functiond(t){returnt<1e7?[t]:t<1e14?[t%1e7,Math.floor(t/1e7)]:[t%1e7,Math.floor(t/1e7)%1e7,Math.floor(t/1e14)]}functionp(t){v(t);varn=t.length;if(n<4&&j(t,o)<0)switch(n){case0:return0;case1:returnt[0];case2:returnt[0]+t[1]*e;default:returnt[0]+(t[1]+t[2]*e)*e}returnt}functionv(t){vare=t.length;while(0===t[--e]);t.length=e+1}functiong(t){vare=newArray(t),n=-1;while(++n<t)e[n]=0;returne}functiony(t){returnt>0?Math.floor(t):Math.ceil(t)}functionm(t,n){varr,i,o=t.length,a=n.length,s=newArray(o),u=0,c=e;for(i=0;i<a;i++)r=t[i]+n[i]+u,u=r>=c?1:0,s[i]=r-u*c;while(i<o)r=t[i]+u,u=r===c?1:0,s[i++]=r-u*c;returnu>0&&s.push(u),s}functionb(t,e){returnt.length>=e.length?m(t,e):m(e,t)}functionw(t,n){varr,i,o=t.length,a=newArray(o),s=e;for(i=0;i<o;i++)r=t[i]-s+n,n=Math.floor(r/s),a[i]=r-n*s,n+=1;while(n>0)a[i++]=n%s,n=Math.floor(n/s);returna}function_(t,n){varr,i,o=t.length,a=n.length,s=newArray(o),u=0,c=e;for(r=0;r<a;r++)i=t[r]-u-n[r],i<0?(i+=c,u=1):u=0,s[r]=i;for(r=a;r<o;r++){if(i=t[r]-u,!(i<0)){s[r++]=i;break}i+=c,s[r]=i}for(;r<o;r++)s[r]=t[r];returnv(s),s}functionA(t,e,n){varr;returnj(t,e)>=0?r=_(t,e):(r=_(e,t),n=!n),r=p(r),"number"===typeofr?(n&&(r=-r),newl(r)):newc(r,n)}functionE(t,n,r){vari,o,a=t.length,s=newArray(a),u=-n,f=e;for(i=0;i<a;i++)o=t[i]+u,u=Math.floor(o/f),o%=f,s[i]=o<0?o+f:o;returns=p(s),"number"===typeofs?(r&&(s=-s),newl(s)):newc(s,r)}functionS(t,n){varr,i,o,a,s,u=t.length,c=n.length,l=u+c,f=g(l),h=e;for(o=0;o<u;++o){a=t[o];for(vard=0;d<c;++d)s=n[d],r=a*s+f[o+d],i=Math.floor(r/h),f[o+d]=r-i*h,f[o+d+1]+=i}returnv(f),f}functionO(t,n){varr,i,o=t.length,a=newArray(o),s=e,u=0;for(i=0;i<o;i++)r=t[i]*n+u,u=Math.floor(r/s),a[i]=r-u*s;while(u>0)a[i++]=u%s,u=Math.floor(u/s);returna}functionx(t,e){varn=[];while(e-->0)n.push(0);returnn.concat(t)}functionk(t,e){varn=Math.max(t.length,e.length);if(n<=30)returnS(t,e);n=Math.ceil(n/2);varr=t.slice(n),i=t.slice(0,n),o=e.slice(n),a=e.slice(0,n),s=k(i,a),u=k(r,o),c=k(b(i,r),b(a,o)),l=b(b(s,x(_(_(c,s),u),n)),x(u,2*n));returnv(l),l}functionP(t,e){return-.012*t-.012*e+15e-6*t*e>0}functionB(t,n,r){returnnewc(t<e?O(n,t):S(n,d(t)),r)}functionI(t){varn,r,i,o,a,s=t.length,u=g(s+s),c=e;for(i=0;i<s;i++){o=t[i],r=0-o*o;for(varl=i;l<s;l++)a=t[l],n=o*a*2+u[i+l]+r,r=Math.floor(n/c),u[i+l]=n-r*c;u[i+s]=r}returnv(u),u}functionT(t,n){varr,i,o,a,s,u,c,l=t.length,f=n.length,h=e,d=g(n.length),v=n[f-1],y=Math.ceil(h/(2*v)),m=O(t,y),b=O(n,y);for(m.length<=l&&m.push(0),b.push(0),v=b[f-1],i=l-f;i>=0;i--){for(r=h-1,m[i+f]!==v&&(r=Math.floor((m[i+f]*h+m[i+f-1])/v)),o=0,a=0,u=b.length,s=0;s<u;s++)o+=r*b[s],c=Math.floor(o/h),a+=m[i+s]-(o-c*h),o=c,a<0?(m[i+s]=a+h,a=-1):(m[i+s]=a,a=0);while(0!==a){for(r-=1,o=0,s=0;s<u;s++)o+=m[i+s]-h+b[s],o<0?(m[i+s]=o+h,o=0):(m[i+s]=o,o=1);a+=o}d[i]=r}returnm=D(m,y)[0],[p(d),p(m)]}functionM(t,n){varr,i,o,a,s,u=t.length,c=n.length,l=[],f=[],h=e;while(u)if(f.unshift(t[--u]),v(f),j(f,n)<0)l.push(0);else{i=f.length,o=f[i-1]*h+f[i-2],a=n[c-1]*h+n[c-2],i>c&&(o=(o+1)*h),r=Math.ceil(o/a);do{if(s=O(n,r),j(s,f)<=0)break;r--}while(r);l.push(r),f=_(f,s)}returnl.reverse(),[p(l),p(f)]}functionD(t,n){varr,i,o,a,s=t.length,u=g(s),c=e;for(o=0,r=s-1;r>=0;--r)a=o*c+t[r],i=y(a/n),o=a-i*n,u[r]=0|i;return[u,0|o]}functionC(t,n){varr,i=ot(n);if(s)return[newf(t.value/i.value),newf(t.value%i.value)];varo,a=t.value,h=i.value;if(0===h)thrownewError("Cannot divide by zero");if(t.isSmall)returni.isSmall?[newl(y(a/h)),newl(a%
varr=n(31),i=n(32),o=n(33);functiona(){try{vart=newUint8Array(1);returnt.__proto__={__proto__:Uint8Array.prototype,foo:function(){return42}},42===t.foo()&&"function"===typeoft.subarray&&0===t.subarray(1,1).byteLength}catch(e){return!1}}functions(){returnc.TYPED_ARRAY_SUPPORT?2147483647:1073741823}functionu(t,e){if(s()<e)thrownewRangeError("Invalid typed array length");returnc.TYPED_ARRAY_SUPPORT?(t=newUint8Array(e),t.__proto__=c.prototype):(null===t&&(t=newc(e)),t.length=e),t}functionc(t,e,n){if(!c.TYPED_ARRAY_SUPPORT&&!(thisinstanceofc))returnnewc(t,e,n);if("number"===typeoft){if("string"===typeofe)thrownewError("If encoding is specified then the first argument must be a string");returnd(this,t)}returnl(this,t,e,n)}functionl(t,e,n,r){if("number"===typeofe)thrownewTypeError('"value" argument must not be a number');return"undefined"!==typeofArrayBuffer&&einstanceofArrayBuffer?g(t,e,n,r):"string"===typeofe?p(t,e,n):y(t,e)}functionf(t){if("number"!==typeoft)thrownewTypeError('"size" argument must be a number');if(t<0)thrownewRangeError('"size" argument must not be negative')}functionh(t,e,n,r){returnf(e),e<=0?u(t,e):void0!==n?"string"===typeofr?u(t,e).fill(n,r):u(t,e).fill(n):u(t,e)}functiond(t,e){if(f(e),t=u(t,e<0?0:0|m(e)),!c.TYPED_ARRAY_SUPPORT)for(varn=0;n<e;++n)t[n]=0;returnt}functionp(t,e,n){if("string"===typeofn&&""!==n||(n="utf8"),!c.isEncoding(n))thrownewTypeError('"encoding" must be a valid string encoding');varr=0|w(e,n);t=u(t,r);vari=t.write(e,n);returni!==r&&(t=t.slice(0,i)),t}functionv(t,e){varn=e.length<0?0:0|m(e.length);t=u(t,n);for(varr=0;r<n;r+=1)t[r]=255&e[r];returnt}functiong(t,e,n,r){if(e.byteLength,n<0||e.byteLength<n)thrownewRangeError("'offset' is out of bounds");if(e.byteLength<n+(r||0))thrownewRangeError("'length' is out of bounds");returne=void0===n&&void0===r?newUint8Array(e):void0===r?newUint8Array(e,n):newUint8Array(e,n,r),c.TYPED_ARRAY_SUPPORT?(t=e,t.__proto__=c.prototype):t=v(t,e),t}functiony(t,e){if(c.isBuffer(e)){varn=0|m(e.length);returnt=u(t,n),0===t.length?t:(e.copy(t,0,0,n),t)}if(e){if("undefined"!==typeofArrayBuffer&&e.bufferinstanceofArrayBuffer||"length"ine)return"number"!==typeofe.length||et(e.length)?u(t,0):v(t,e);if("Buffer"===e.type&&o(e.data))returnv(t,e.data)}thrownewTypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}functionm(t){if(t>=s())thrownewRangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return0|t}functionb(t){return+t!=t&&(t=0),c.alloc(+t)}functionw(t,e){if(c.isBuffer(t))returnt.length;if("undefined"!==typeofArrayBuffer&&"function"===typeofArrayBuffer.isView&&(ArrayBuffer.isView(t)||tinstanceofArrayBuffer))returnt.byteLength;"string"!==typeoft&&(t=""+t);varn=t.length;if(0===n)return0;for(varr=!1;;)switch(e){case"ascii":case"latin1":case"binary":returnn;case"utf8":case"utf-8":casevoid0:returnG(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return2*n;case"hex":returnn>>>1;case"base64":returnZ(t).length;default:if(r)returnG(t).length;e=(""+e).toLowerCase(),r=!0}}function_(t,e,n){varr=!1;if((void0===e||e<0)&&(e=0),e>this.length)return"";if((void0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,e>>>=0,n<=e)return"";t||(t="utf8");while(1)switch(t){case"hex":returnN(this,e,n);case"utf8":case"utf-8":returnM(this,e,n);case"ascii":returnj(this,e,n);case"latin1":case"binary":returnR(this,e,n);case"base64":returnT(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":returnL(this,e,n);default:if(r)thrownewTypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}functionA(t,e,n){varr=t[e];t[e]=t[n],t[n]=r}functionE(t,e,n,r,i){if(0===t.length)return-1;if("string"===typeofn?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(i)return-1;n=t.length-1}elseif(n<0){if(!i)return-1;n=0}if("string"===typeofe&&(e=c.from(e,r)),c.isBuffer(e))return0===e.len