UNPKG

leancloud-storage

Version:
1 lines 257 kB
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.AV=e():t.AV=e()}("undefined"!=typeof self?self:this,function(){return function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=249)}([function(t,e,n){"use strict";var r=n(6),i=n(69),o=n(4),a=n(7),u=n(71).f,s=n(149),c=n(10),f=n(45),l=n(35),d=n(14),h=function(t){var e=function(n,r,o){if(this instanceof e){switch(arguments.length){case 0:return new t;case 1:return new t(n);case 2:return new t(n,r)}return new t(n,r,o)}return i(t,this,arguments)};return e.prototype=t.prototype,e};t.exports=function(t,e){var n,i,p,v,_,b,g,y,m,O=t.target,w=t.global,j=t.stat,x=t.proto,A=w?r:j?r[O]:(r[O]||{}).prototype,S=w?c:c[O]||l(c,O,{})[O],E=S.prototype;for(v in e)n=s(w?v:O+(j?".":"#")+v,t.forced),i=!n&&A&&d(A,v),b=S[v],i&&(t.dontCallGetSet?(m=u(A,v),g=m&&m.value):g=A[v]),_=i&&g?g:e[v],i&&typeof b==typeof _||(y=t.bind&&i?f(_,r):t.wrap&&i?h(_):x&&a(_)?o(_):_,(t.sham||_&&_.sham||b&&b.sham)&&l(y,"sham",!0),l(S,v,y),x&&(p=O+"Prototype",d(c,p)||l(c,p,{}),l(c[p],v,_),t.real&&E&&!E[v]&&l(E,v,_)))}},function(t,e){function n(t){return t&&t.__esModule?t:{default:t}}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(290);n.d(e,"default",function(){return r.a});var i=n(126);n.d(e,"VERSION",function(){return i.VERSION}),n.d(e,"restArguments",function(){return i.restArguments}),n.d(e,"isObject",function(){return i.isObject}),n.d(e,"isNull",function(){return i.isNull}),n.d(e,"isUndefined",function(){return i.isUndefined}),n.d(e,"isBoolean",function(){return i.isBoolean}),n.d(e,"isElement",function(){return i.isElement}),n.d(e,"isString",function(){return i.isString}),n.d(e,"isNumber",function(){return i.isNumber}),n.d(e,"isDate",function(){return i.isDate}),n.d(e,"isRegExp",function(){return i.isRegExp}),n.d(e,"isError",function(){return i.isError}),n.d(e,"isSymbol",function(){return i.isSymbol}),n.d(e,"isArrayBuffer",function(){return i.isArrayBuffer}),n.d(e,"isDataView",function(){return i.isDataView}),n.d(e,"isArray",function(){return i.isArray}),n.d(e,"isFunction",function(){return i.isFunction}),n.d(e,"isArguments",function(){return i.isArguments}),n.d(e,"isFinite",function(){return i.isFinite}),n.d(e,"isNaN",function(){return i.isNaN}),n.d(e,"isTypedArray",function(){return i.isTypedArray}),n.d(e,"isEmpty",function(){return i.isEmpty}),n.d(e,"isMatch",function(){return i.isMatch}),n.d(e,"isEqual",function(){return i.isEqual}),n.d(e,"isMap",function(){return i.isMap}),n.d(e,"isWeakMap",function(){return i.isWeakMap}),n.d(e,"isSet",function(){return i.isSet}),n.d(e,"isWeakSet",function(){return i.isWeakSet}),n.d(e,"keys",function(){return i.keys}),n.d(e,"allKeys",function(){return i.allKeys}),n.d(e,"values",function(){return i.values}),n.d(e,"pairs",function(){return i.pairs}),n.d(e,"invert",function(){return i.invert}),n.d(e,"functions",function(){return i.functions}),n.d(e,"methods",function(){return i.methods}),n.d(e,"extend",function(){return i.extend}),n.d(e,"extendOwn",function(){return i.extendOwn}),n.d(e,"assign",function(){return i.assign}),n.d(e,"defaults",function(){return i.defaults}),n.d(e,"create",function(){return i.create}),n.d(e,"clone",function(){return i.clone}),n.d(e,"tap",function(){return i.tap}),n.d(e,"get",function(){return i.get}),n.d(e,"has",function(){return i.has}),n.d(e,"mapObject",function(){return i.mapObject}),n.d(e,"identity",function(){return i.identity}),n.d(e,"constant",function(){return i.constant}),n.d(e,"noop",function(){return i.noop}),n.d(e,"toPath",function(){return i.toPath}),n.d(e,"property",function(){return i.property}),n.d(e,"propertyOf",function(){return i.propertyOf}),n.d(e,"matcher",function(){return i.matcher}),n.d(e,"matches",function(){return i.matches}),n.d(e,"times",function(){return i.times}),n.d(e,"random",function(){return i.random}),n.d(e,"now",function(){return i.now}),n.d(e,"escape",function(){return i.escape}),n.d(e,"unescape",function(){return i.unescape}),n.d(e,"templateSettings",function(){return i.templateSettings}),n.d(e,"template",function(){return i.template}),n.d(e,"result",function(){return i.result}),n.d(e,"uniqueId",function(){return i.uniqueId}),n.d(e,"chain",function(){return i.chain}),n.d(e,"iteratee",function(){return i.iteratee}),n.d(e,"partial",function(){return i.partial}),n.d(e,"bind",function(){return i.bind}),n.d(e,"bindAll",function(){return i.bindAll}),n.d(e,"memoize",function(){return i.memoize}),n.d(e,"delay",function(){return i.delay}),n.d(e,"defer",function(){return i.defer}),n.d(e,"throttle",function(){return i.throttle}),n.d(e,"debounce",function(){return i.debounce}),n.d(e,"wrap",function(){return i.wrap}),n.d(e,"negate",function(){return i.negate}),n.d(e,"compose",function(){return i.compose}),n.d(e,"after",function(){return i.after}),n.d(e,"before",function(){return i.before}),n.d(e,"once",function(){return i.once}),n.d(e,"findKey",function(){return i.findKey}),n.d(e,"findIndex",function(){return i.findIndex}),n.d(e,"findLastIndex",function(){return i.findLastIndex}),n.d(e,"sortedIndex",function(){return i.sortedIndex}),n.d(e,"indexOf",function(){return i.indexOf}),n.d(e,"lastIndexOf",function(){return i.lastIndexOf}),n.d(e,"find",function(){return i.find}),n.d(e,"detect",function(){return i.detect}),n.d(e,"findWhere",function(){return i.findWhere}),n.d(e,"each",function(){return i.each}),n.d(e,"forEach",function(){return i.forEach}),n.d(e,"map",function(){return i.map}),n.d(e,"collect",function(){return i.collect}),n.d(e,"reduce",function(){return i.reduce}),n.d(e,"foldl",function(){return i.foldl}),n.d(e,"inject",function(){return i.inject}),n.d(e,"reduceRight",function(){return i.reduceRight}),n.d(e,"foldr",function(){return i.foldr}),n.d(e,"filter",function(){return i.filter}),n.d(e,"select",function(){return i.select}),n.d(e,"reject",function(){return i.reject}),n.d(e,"every",function(){return i.every}),n.d(e,"all",function(){return i.all}),n.d(e,"some",function(){return i.some}),n.d(e,"any",function(){return i.any}),n.d(e,"contains",function(){return i.contains}),n.d(e,"includes",function(){return i.includes}),n.d(e,"include",function(){return i.include}),n.d(e,"invoke",function(){return i.invoke}),n.d(e,"pluck",function(){return i.pluck}),n.d(e,"where",function(){return i.where}),n.d(e,"max",function(){return i.max}),n.d(e,"min",function(){return i.min}),n.d(e,"shuffle",function(){return i.shuffle}),n.d(e,"sample",function(){return i.sample}),n.d(e,"sortBy",function(){return i.sortBy}),n.d(e,"groupBy",function(){return i.groupBy}),n.d(e,"indexBy",function(){return i.indexBy}),n.d(e,"countBy",function(){return i.countBy}),n.d(e,"partition",function(){return i.partition}),n.d(e,"toArray",function(){return i.toArray}),n.d(e,"size",function(){return i.size}),n.d(e,"pick",function(){return i.pick}),n.d(e,"omit",function(){return i.omit}),n.d(e,"first",function(){return i.first}),n.d(e,"head",function(){return i.head}),n.d(e,"take",function(){return i.take}),n.d(e,"initial",function(){return i.initial}),n.d(e,"last",function(){return i.last}),n.d(e,"rest",function(){return i.rest}),n.d(e,"tail",function(){return i.tail}),n.d(e,"drop",function(){return i.drop}),n.d(e,"compact",function(){return i.compact}),n.d(e,"flatten",function(){return i.flatten}),n.d(e,"without",function(){return i.without}),n.d(e,"uniq",function(){return i.uniq}),n.d(e,"unique",function(){return i.unique}),n.d(e,"union",function(){return i.union}),n.d(e,"intersection",function(){return i.intersection}),n.d(e,"difference",function(){return i.difference}),n.d(e,"unzip",function(){return i.unzip}),n.d(e,"transpose",function(){return i.transpose}),n.d(e,"zip",function(){return i.zip}),n.d(e,"object",function(){return i.object}),n.d(e,"range",function(){return i.range}),n.d(e,"chunk",function(){return i.chunk}),n.d(e,"mixin",function(){return i.mixin})},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var r=n(70),i=Function.prototype,o=i.bind,a=i.call,u=r&&o.bind(a,a);t.exports=r?function(t){return t&&u(t)}:function(t){return t&&function(){return a.apply(t,arguments)}}},function(t,e,n){"use strict";(function(t){n.d(e,"e",function(){return r}),n.d(e,"p",function(){return i}),n.d(e,"a",function(){return o}),n.d(e,"c",function(){return a}),n.d(e,"d",function(){return u}),n.d(e,"o",function(){return s}),n.d(e,"q",function(){return c}),n.d(e,"t",function(){return f}),n.d(e,"i",function(){return l}),n.d(e,"r",function(){return d}),n.d(e,"s",function(){return h}),n.d(e,"k",function(){return p}),n.d(e,"m",function(){return v}),n.d(e,"j",function(){return _}),n.d(e,"l",function(){return b}),n.d(e,"g",function(){return g}),n.d(e,"f",function(){return y}),n.d(e,"h",function(){return m}),n.d(e,"n",function(){return O}),n.d(e,"b",function(){return w});var r="1.12.1",i="object"==typeof self&&self.self===self&&self||"object"==typeof t&&t.global===t&&t||Function("return this")()||{},o=Array.prototype,a=Object.prototype,u="undefined"!=typeof Symbol?Symbol.prototype:null,s=o.push,c=o.slice,f=a.toString,l=a.hasOwnProperty,d="undefined"!=typeof ArrayBuffer,h="undefined"!=typeof DataView,p=Array.isArray,v=Object.keys,_=Object.create,b=d&&ArrayBuffer.isView,g=isNaN,y=isFinite,m=!{toString:null}.propertyIsEnumerable("toString"),O=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],w=Math.pow(2,53)-1}).call(e,n(112))},function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(e,n(112))},function(t,e){t.exports=function(t){return"function"==typeof t}},function(t,e,n){var r=n(10),i=n(14),o=n(144),a=n(22).f;t.exports=function(t){var e=r.Symbol||(r.Symbol={});i(e,t)||a(e,t,{value:o.f(t)})}},function(t,e,n){var r=n(6),i=n(73),o=n(14),a=n(92),u=n(57),s=n(147),c=i("wks"),f=r.Symbol,l=f&&f.for,d=s?f:f&&f.withoutSetter||a;t.exports=function(t){if(!o(c,t)||!u&&"string"!=typeof c[t]){var e="Symbol."+t;u&&o(f,t)?c[t]=f[t]:c[t]=s&&l?l(e):d(e)}return c[t]}},function(t,e){t.exports={}},function(t,e,n){var r=n(7);t.exports=function(t){return"object"==typeof t?null!==t:r(t)}},function(t,e,n){t.exports=n(252)},function(t,e,n){var r=n(70),i=Function.prototype.call;t.exports=r?i.bind(i):function(){return i.apply(i,arguments)}},function(t,e,n){var r=n(4),i=n(34),o=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return o(i(t),e)}},function(t,e,n){"use strict";function r(t){if(!Object(i.a)(t))return[];if(o.m)return Object(o.m)(t);var e=[];for(var n in t)Object(a.a)(t,n)&&e.push(n);return o.h&&Object(u.a)(t,e),e}e.a=r;var i=n(52),o=n(5),a=n(40),u=n(180)},function(t,e,n){var r=n(3);t.exports=!r(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})},function(t,e,n){"use strict";function r(t){var e="[object "+t+"]";return function(t){return i.t.call(t)===e}}e.a=r;var i=n(5)},function(t,e,n){var r=n(10),i=n(6),o=n(7),a=function(t){return o(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?a(r[t])||a(i[t]):r[t]&&r[t][e]||i[t]&&i[t][e]}},function(t,e,n){var r=n(11),i=String,o=TypeError;t.exports=function(t){if(r(t))return t;throw o(i(t)+" is not an object")}},function(t,e,n){"use strict";function r(t,e,n){return i.a.iteratee!==a.a?i.a.iteratee(t,e):Object(o.a)(t,e,n)}e.a=r;var i=n(24),o=n(190),a=n(191)},function(t,e,n){var r=n(4);t.exports=r({}.isPrototypeOf)},function(t,e,n){var r=n(16),i=n(148),o=n(150),a=n(19),u=n(88),s=TypeError,c=Object.defineProperty,f=Object.getOwnPropertyDescriptor;e.f=r?o?function(t,e,n){if(a(t),e=u(e),a(n),"function"==typeof t&&"prototype"===e&&"value"in n&&"writable"in n&&!n.writable){var r=f(t,e);r&&r.writable&&(t[e]=n.value,n={configurable:"configurable"in n?n.configurable:r.configurable,enumerable:"enumerable"in n?n.enumerable:r.enumerable,writable:!1})}return c(t,e,n)}:c:function(t,e,n){if(a(t),e=u(e),a(n),i)try{return c(t,e,n)}catch(t){}if("get"in n||"set"in n)throw s("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){"use strict";function r(t,e){return e=null==e?t.length-1:+e,function(){for(var n=Math.max(arguments.length-e,0),r=Array(n),i=0;i<n;i++)r[i]=arguments[i+e];switch(e){case 0:return t.call(this,r);case 1:return t.call(this,arguments[0],r);case 2:return t.call(this,arguments[0],arguments[1],r)}var o=Array(e+1);for(i=0;i<e;i++)o[i]=arguments[i];return o[e]=r,t.apply(this,o)}}e.a=r},function(t,e,n){"use strict";function r(t){return t instanceof r?t:this instanceof r?void(this._wrapped=t):new r(t)}e.a=r;var i=n(5);r.VERSION=i.e,r.prototype.value=function(){return this._wrapped},r.prototype.valueOf=r.prototype.toJSON=r.prototype.value,r.prototype.toString=function(){return String(this._wrapped)}},function(t,e,n){"use strict";var r=n(178),i=n(28);e.a=Object(r.a)(i.a)},function(t,e,n){"use strict";var r=n(1),i=r(n(30)),o=r(n(12)),a=n(2),u=n(502),s=n(2),c=s.extend,f=n(65),l=n(43),d=n(29),h=d.getSessionToken,p=n(108),v=function(t,e){var n,r=(new Date).getTime(),o=u(r+t);if(e){var a;return(0,i.default)(a="".concat(o,",")).call(a,r,",master")}return(0,i.default)(n="".concat(o,",")).call(n,r)},_=function(t,e){e?t["X-LC-Sign"]=v(f.applicationKey):t["X-LC-Key"]=f.applicationKey},b=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0,n={"X-LC-Id":f.applicationId,"Content-Type":"application/json;charset=UTF-8"},r=!1;return"boolean"==typeof t.useMasterKey?r=t.useMasterKey:"boolean"==typeof f._config.useMasterKey&&(r=f._config.useMasterKey),r?f.masterKey?e?n["X-LC-Sign"]=v(f.masterKey,!0):n["X-LC-Key"]="".concat(f.masterKey,",master"):(console.warn("masterKey is not set, fall back to use appKey"),_(n,e)):_(n,e),f.hookKey&&(n["X-LC-Hook-Key"]=f.hookKey),null!==f._config.production&&(n["X-LC-Prod"]=String(f._config.production)),n["X-LC-UA"]=f._sharedConfig.userAgent,o.default.resolve().then(function(){var e=h(t);if(e)n["X-LC-Session"]=e;else if(!f._config.disableCurrentUser)return f.User.currentAsync().then(function(t){return t&&t._sessionToken&&(n["X-LC-Session"]=t._sessionToken),n});return n})},g=function(t){var e=t.service,n=void 0===e?"api":e,r=t.version,i=void 0===r?"1.1":r,o=t.path,a=f._config.serverURLs[n];if(!a)throw new Error("undefined server URL for ".concat(n));return"/"!==a.charAt(a.length-1)&&(a+="/"),a+=i,o&&(a+=o),a},y=function(t){var e=t.service,n=t.version,r=t.method,o=t.path,u=t.query,s=t.data,c=t.authOptions,d=t.signKey,h=void 0===d||d;if(!f.applicationId||!f.applicationKey&&!f.masterKey)throw new Error("Not initialized");f._appRouter&&f._appRouter.refresh();var v=f._config.requestTimeout,_=g({service:e,path:o,version:n});return b(c,h).then(function(t){return p({method:r,url:_,query:u,data:s,headers:t,timeout:v}).catch(function(t){var e={code:t.code||-1,error:t.message||t.responseText};if(t.response&&t.response.code)e=t.response;else if(t.responseText)try{e=JSON.parse(t.responseText)}catch(t){}if(e.rawMessage=e.rawMessage||e.error,!f._sharedConfig.keepErrorRawMessage){var n,o;e.error+=(0,i.default)(n=(0,i.default)(o=" [".concat(t.statusCode||"N/A"," ")).call(o,r," ")).call(n,_,"]")}var u=new l(e.code,e.error);throw delete e.error,a.extend(u,e)})})},m=function(t,e,n,r,i,o,a){var u="";if(t&&(u+="/".concat(t)),e&&(u+="/".concat(e)),n&&(u+="/".concat(n)),i&&i._fetchWhenSave)throw new Error("_fetchWhenSave should be in the query");if(i&&i._where)throw new Error("_where should be in the query");return r&&"get"===r.toLowerCase()&&(a=c({},a,i),i=null),y({method:r,path:u,query:a,data:i,authOptions:o})};f.request=y,t.exports={_request:m,request:y}},function(t,e,n){"use strict";var r=n(17),i=n(5),o=Object(r.a)("Function"),a=i.p.document&&i.p.document.childNodes;"function"!=typeof/./&&"object"!=typeof Int8Array&&"function"!=typeof a&&(o=function(t){return"function"==typeof t||!1}),e.a=o},function(t,e,n){"use strict";var r=n(179);e.a=Object(r.a)("length")},function(t,e,n){"use strict";var r=n(1),i=r(n(55)),o=r(n(142)),a=r(n(12)),u=n(2),s=function(t){return u.isNull(t)||u.isUndefined(t)},c=function(t){return u.isArray(t)?t:void 0===t||null===t?[]:[t]},f=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=(0,i.default)(t),n=t.include,r=t.includeACL,o={};return e&&(o.keys=c(e).join(",")),n&&(o.include=c(n).join(",")),r&&(o.returnACL=r),o},l=function(t){return t.sessionToken?t.sessionToken:t.user&&"function"==typeof t.user.getSessionToken?t.user.getSessionToken():void 0},d=function(t){return function(e){return t(e),e}},h=function(){},p=function(t,e,n){var r;return r=e&&e.hasOwnProperty("constructor")?e.constructor:function(){t.apply(this,arguments)},u.extend(r,t),h.prototype=t.prototype,r.prototype=new h,e&&u.extend(r.prototype,e),n&&u.extend(r,n),r.prototype.constructor=r,r.__super__=t.prototype,r},v=function(t){return new Date(t)},_=function(t,e,n){var r=e.split("."),i=r.pop(),o=t;return r.forEach(function(t){void 0===o[t]&&(o[t]={}),o=o[t]}),o[i]=n,t},b=function(t,e){for(var n=e.split("."),r=n[0],i=n.pop(),o=t,a=0;a<n.length;a++)if(void 0===(o=o[n[a]]))return[void 0,void 0,i];return[o[i],o,i,r]},g=function(t){return u.isObject(t)&&(0,o.default)(t)===Object.prototype},y=function t(e,n){return e()?n().then(function(){return t(e,n)}):a.default.resolve()};t.exports={isNullOrUndefined:s,ensureArray:c,transformFetchOptions:f,getSessionToken:l,tap:d,inherits:p,parseDate:v,setValue:_,findValue:b,isPlainObject:g,continueWhile:y}},function(t,e,n){t.exports=n(362)},function(t,e,n){var r=n(7),i=n(72),o=TypeError;t.exports=function(t){if(r(t))return t;throw o(i(t)+" is not a function")}},function(t,e){t.exports=!0},function(t,e,n){var r=n(114),i=n(115);t.exports=function(t){return r(i(t))}},function(t,e,n){var r=n(115),i=Object;t.exports=function(t){return i(r(t))}},function(t,e,n){var r=n(16),i=n(22),o=n(44);t.exports=r?function(t,e,n){return i.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){t.exports=n(374)},function(t,e,n){var r=n(45),i=n(13),o=n(19),a=n(72),u=n(156),s=n(46),c=n(21),f=n(157),l=n(99),d=n(158),h=TypeError,p=function(t,e){this.stopped=t,this.result=e},v=p.prototype;t.exports=function(t,e,n){var _,b,g,y,m,O,w,j=n&&n.that,x=!(!n||!n.AS_ENTRIES),A=!(!n||!n.IS_ITERATOR),S=!(!n||!n.INTERRUPTED),E=r(e,j),C=function(t){return _&&d(_,"normal",t),new p(!0,t)},T=function(t){return x?(o(t),S?E(t[0],t[1],C):E(t[0],t[1])):S?E(t,C):E(t)};if(A)_=t;else{if(!(b=l(t)))throw h(a(t)+" is not iterable");if(u(b)){for(g=0,y=s(t);y>g;g++)if((m=T(t[g]))&&c(v,m))return m;return new p(!1)}_=f(t,b)}for(O=_.next;!(w=i(O,_)).done;){try{m=T(w.value)}catch(t){d(_,"throw",t)}if("object"==typeof m&&m&&c(v,m))return m}return new p(!1)}},function(t,e,n){var r,i,o,a=n(160),u=n(6),s=n(4),c=n(11),f=n(35),l=n(14),d=n(117),h=n(94),p=n(74),v=u.TypeError,_=u.WeakMap,b=function(t){return o(t)?i(t):r(t,{})},g=function(t){return function(e){var n;if(!c(e)||(n=i(e)).type!==t)throw v("Incompatible receiver, "+t+" required");return n}};if(a||d.state){var y=d.state||(d.state=new _),m=s(y.get),O=s(y.has),w=s(y.set);r=function(t,e){if(O(y,t))throw new v("Object already initialized");return e.facade=t,w(y,t,e),e},i=function(t){return m(y,t)||{}},o=function(t){return O(y,t)}}else{var j=h("state");p[j]=!0,r=function(t,e){if(l(t,j))throw new v("Object already initialized");return e.facade=t,f(t,j,e),e},i=function(t){return l(t,j)?t[j]:{}},o=function(t){return l(t,j)}}t.exports={set:r,get:i,has:o,enforce:b,getterFor:g}},function(t,e,n){var r=n(35);t.exports=function(t,e,n,i){return i&&i.enumerable?t[e]=n:r(t,e,n),t}},function(t,e,n){"use strict";function r(t,e){return null!=t&&i.i.call(t,e)}e.a=r;var i=n(5)},function(t,e,n){var r=n(10);t.exports=function(t){return r[t+"Prototype"]}},function(t,e,n){t.exports=n(367)},function(t,e,n){"use strict";function r(t,e){if(this instanceof r?this.constructor:void 0){var n=new Error(e);return(0,o.default)(n,(0,a.default)(this)),n.code=t,n}return new r(t,e)}var i=n(1),o=i(n(227)),a=i(n(142)),u=n(2);r.prototype=Object.create(Error.prototype,{constructor:{value:Error,enumerable:!1,writable:!0,configurable:!0}}),(0,o.default)(r,Error),u.extend(r,{OTHER_CAUSE:-1,INTERNAL_SERVER_ERROR:1,CONNECTION_FAILED:100,OBJECT_NOT_FOUND:101,INVALID_QUERY:102,INVALID_CLASS_NAME:103,MISSING_OBJECT_ID:104,INVALID_KEY_NAME:105,INVALID_POINTER:106,INVALID_JSON:107,COMMAND_UNAVAILABLE:108,NOT_INITIALIZED:109,INCORRECT_TYPE:111,INVALID_CHANNEL_NAME:112,PUSH_MISCONFIGURED:115,OBJECT_TOO_LARGE:116,OPERATION_FORBIDDEN:119,CACHE_MISS:120,INVALID_NESTED_KEY:121,INVALID_FILE_NAME:122,INVALID_ACL:123,TIMEOUT:124,INVALID_EMAIL_ADDRESS:125,MISSING_CONTENT_TYPE:126,MISSING_CONTENT_LENGTH:127,INVALID_CONTENT_LENGTH:128,FILE_TOO_LARGE:129,FILE_SAVE_ERROR:130,FILE_DELETE_ERROR:153,DUPLICATE_VALUE:137,INVALID_ROLE_NAME:139,EXCEEDED_QUOTA:140,SCRIPT_FAILED:141,VALIDATION_ERROR:142,INVALID_IMAGE_DATA:150,UNSAVED_FILE_ERROR:151,INVALID_PUSH_TIME_ERROR:152,USERNAME_MISSING:200,PASSWORD_MISSING:201,USERNAME_TAKEN:202,EMAIL_TAKEN:203,EMAIL_MISSING:204,EMAIL_NOT_FOUND:205,SESSION_MISSING:206,MUST_CREATE_USER_THROUGH_SIGNUP:207,ACCOUNT_ALREADY_LINKED:208,LINKED_ID_MISSING:250,INVALID_LINKED_SESSION:251,UNSUPPORTED_SERVICE:252,X_DOMAIN_REQUEST:602}),t.exports=r},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){var r=n(4),i=n(31),o=n(70),a=r(r.bind);t.exports=function(t,e){return i(t),void 0===e?t:o?a(t,e):function(){return t.apply(e,arguments)}}},function(t,e,n){var r=n(263);t.exports=function(t){return r(t.length)}},function(t,e,n){var r,i=n(19),o=n(154),a=n(121),u=n(74),s=n(155),c=n(118),f=n(94),l=f("IE_PROTO"),d=function(){},h=function(t){return"<script>"+t+"<\/script>"},p=function(t){t.write(h("")),t.close();var e=t.parentWindow.Object;return t=null,e},v=function(){var t,e=c("iframe");return e.style.display="none",s.appendChild(e),e.src=String("javascript:"),t=e.contentWindow.document,t.open(),t.write(h("document.F=Object")),t.close(),t.F},_=function(){try{r=new ActiveXObject("htmlfile")}catch(t){}_="undefined"!=typeof document?document.domain&&r?p(r):v():p(r);for(var t=a.length;t--;)delete _.prototype[a[t]];return _()};u[l]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(d.prototype=i(t),n=new d,d.prototype=null,n[l]=t):n=_(),void 0===e?n:o.f(n,e)}},function(t,e,n){"use strict";var r=n(33),i=n(159),o=n(58),a=n(38),u=n(22).f,s=n(124),c=n(32),f=n(16),l=a.set,d=a.getterFor("Array Iterator");t.exports=s(Array,"Array",function(t,e){l(this,{type:"Array Iterator",target:r(t),index:0,kind:e})},function(){var t=d(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}},"values");var h=o.Arguments=o.Array;if(i("keys"),i("values"),i("entries"),!c&&f&&"values"!==h.name)try{u(h,"name",{value:"values"})}catch(t){}},function(t,e,n){var r=n(122),i=n(22).f,o=n(35),a=n(14),u=n(270),s=n(9),c=s("toStringTag");t.exports=function(t,e,n,s){if(t){var f=n?t:t.prototype;a(f,c)||i(f,c,{configurable:!0,value:e}),s&&!r&&o(f,"toString",u)}}},function(t,e,n){"use strict";var r=n(31),i=function(t){var e,n;this.promise=new t(function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r}),this.resolve=r(e),this.reject=r(n)};t.exports.f=function(t){return new i(t)}},function(t,e,n){n(48);var r=n(289),i=n(6),o=n(59),a=n(35),u=n(58),s=n(9),c=s("toStringTag");for(var f in r){var l=i[f],d=l&&l.prototype;d&&o(d)!==c&&a(d,c,f),u[f]=u.Array}},function(t,e,n){"use strict";function r(t){var e=typeof t;return"function"===e||"object"===e&&!!t}e.a=r},function(t,e,n){"use strict";var r=n(5),i=n(17);e.a=r.k||Object(i.a)("Array")},function(t,e,n){"use strict";function r(t,e,n){e=Object(i.a)(e,n);var r,u;if(Object(o.a)(t))for(r=0,u=t.length;r<u;r++)e(t[r],r,t);else{var s=Object(a.a)(t);for(r=0,u=s.length;r<u;r++)e(t[s[r]],s[r],t)}return t}e.a=r;var i=n(82),o=n(25),a=n(15)},function(t,e,n){t.exports=n(381)},function(t,e,n){var r=n(4),i=r({}.toString),o=r("".slice);t.exports=function(t){return o(i(t),8,-1)}},function(t,e,n){var r=n(90),i=n(3);t.exports=!!Object.getOwnPropertySymbols&&!i(function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41})},function(t,e){t.exports={}},function(t,e,n){var r=n(122),i=n(7),o=n(56),a=n(9),u=a("toStringTag"),s=Object,c="Arguments"==o(function(){return arguments}()),f=function(t,e){try{return t[e]}catch(t){}};t.exports=r?o:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=f(e=s(t),u))?n:c?o(e):"Object"==(r=o(e))&&i(e.callee)?"Arguments":r}},function(t,e){},function(t,e,n){var r=n(6);t.exports=r.Promise},function(t,e,n){"use strict";function r(t){for(var e=Object(i.a)(t),n=e.length,r=Array(n),o=0;o<n;o++)r[o]=t[e[o]];return r}e.a=r;var i=n(15)},function(t,e,n){"use strict";function r(t,e,n,s){if(s=s||[],e||0===e){if(e<=0)return s.concat(t)}else e=1/0;for(var c=s.length,f=0,l=Object(i.a)(t);f<l;f++){var d=t[f];if(Object(o.a)(d)&&(Object(a.a)(d)||Object(u.a)(d)))if(e>1)r(d,e-1,n,s),c=s.length;else for(var h=0,p=d.length;h<p;)s[c++]=d[h++];else n||(s[c++]=d)}return s}e.a=r;var i=n(28),o=n(25),a=n(53),u=n(129)},function(t,e,n){"use strict";function r(t,e,n){e=Object(i.a)(e,n);for(var r=!Object(o.a)(t)&&Object(a.a)(t),u=(r||t).length,s=Array(u),c=0;c<u;c++){var f=r?r[c]:c;s[c]=e(t[f],f,t)}return s}e.a=r;var i=n(20),o=n(25),a=n(15)},function(t,e,n){"use strict";(function(e){var r=n(1),i=r(n(12)),o=r(n(30)),a=r(n(42)),u=r(n(141)),s=r(n(36)),c=r(n(86)),f=r(n(55)),l=n(2),d=n(221),h=n(67),p=n(29),v=p.inherits,_=p.parseDate,b=n(223),g=n(68),y=g.setAdapters,m=g.adapterManager,O=e.AV||{};O._config={serverURLs:{},useMasterKey:!1,production:null,realtime:null,requestTimeout:null};var w="LeanCloud-JS-SDK/".concat(b);O._sharedConfig={userAgent:w,liveQueryRealtime:null},m.on("platformInfo",function(t){var e=w;if(t)if(t.userAgent)e=t.userAgent;else{var n=t.name;t.version&&(n+="/".concat(t.version)),t.extra&&(n+="; ".concat(t.extra)),e+=" (".concat(n,")")}O._sharedConfig.userAgent=e}),O._getAVPath=function(t){if(!O.applicationId)throw new Error("You need to call AV.initialize before using AV.");if(t||(t=""),!l.isString(t))throw new Error("Tried to get a localStorage path that wasn't a String.");return"/"===t[0]&&(t=t.substring(1)),"AV/"+O.applicationId+"/"+t},O._installationId=null,O._getInstallationId=function(){if(O._installationId)return i.default.resolve(O._installationId);var t=O._getAVPath("installationId");return O.localStorage.getItemAsync(t).then(function(e){return O._installationId=e,O._installationId?e:(O._installationId=e=d(),O.localStorage.setItemAsync(t,e).then(function(){return e}))})},O._subscriptionId=null,O._refreshSubscriptionId=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:O._getAVPath("subscriptionId"),e=O._subscriptionId=d();return O.localStorage.setItemAsync(t,e).then(function(){return e})},O._getSubscriptionId=function(){if(O._subscriptionId)return i.default.resolve(O._subscriptionId);var t=O._getAVPath("subscriptionId");return O.localStorage.getItemAsync(t).then(function(e){return O._subscriptionId=e,O._subscriptionId||(e=O._refreshSubscriptionId(t)),e})},O._parseDate=_,O._extend=function(t,e){var n=v(this,t,e);return n.extend=this.extend,n},O._encode=function(t,e,n){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(t instanceof O.Object){if(n)throw new Error("AV.Objects not allowed here");return e&&!l.include(e,t)&&t._hasData?t._toFullJSON((0,o.default)(e).call(e,t),r):t._toPointer()}if(t instanceof O.ACL)return t.toJSON();if(l.isDate(t))return r?{__type:"Date",iso:t.toJSON()}:t.toJSON();if(t instanceof O.GeoPoint)return t.toJSON();if(l.isArray(t))return(0,a.default)(l).call(l,t,function(t){return O._encode(t,e,n,r)});if(l.isRegExp(t))return t.source;if(t instanceof O.Relation)return t.toJSON();if(t instanceof O.Op)return t.toJSON();if(t instanceof O.File){if(!t.url()&&!t.id)throw new Error("Tried to save an object containing an unsaved file.");return t._toFullJSON(e,r)}return l.isObject(t)?l.mapObject(t,function(t,i){return O._encode(t,e,n,r)}):t},O._decode=function(t,e){if(!l.isObject(t)||l.isDate(t))return t;if(l.isArray(t))return(0,a.default)(l).call(l,t,function(t){return O._decode(t)});if(t instanceof O.Object)return t;if(t instanceof O.File)return t;if(t instanceof O.Op)return t;if(t instanceof O.GeoPoint)return t;if(t instanceof O.ACL)return t;if("ACL"===e)return new O.ACL(t);if(t.__op)return O.Op._decode(t);var n;if("Pointer"===t.__type){n=t.className;var r=O.Object._create(n);if((0,u.default)(t).length>3){var i=l.clone(t);delete i.__type,delete i.className,r._finishFetch(i,!0)}else r._finishFetch({objectId:t.objectId},!1);return r}if("Object"===t.__type){n=t.className;var o=l.clone(t);delete o.__type,delete o.className;var s=O.Object._create(n);return s._finishFetch(o,!0),s}if("Date"===t.__type)return O._parseDate(t.iso);if("GeoPoint"===t.__type)return new O.GeoPoint({latitude:t.latitude,longitude:t.longitude});if("Relation"===t.__type){if(!e)throw new Error("key missing decoding a Relation");var c=new O.Relation(null,e);return c.targetClassName=t.className,c}if("File"===t.__type){var f=new O.File(t.name),d=l.clone(t);return delete d.__type,f._finishFetch(d),f}return l.mapObject(t,O._decode)},O.parseJSON=O._decode,O.parse=function(t){return O.parseJSON(JSON.parse(t))},O.stringify=function(t){return(0,s.default)(O._encode(t,[],!1,!0))},O._encodeObjectOrArray=function(t){var e=function(t){return t&&t._toFullJSON&&(t=t._toFullJSON([])),l.mapObject(t,function(t){return O._encode(t,[])})};return l.isArray(t)?(0,a.default)(t).call(t,function(t){return e(t)}):e(t)},O._arrayEach=l.each,O._traverse=function(t,e,n){if(t instanceof O.Object){if(n=n||[],(0,c.default)(l).call(l,n,t)>=0)return;return n.push(t),O._traverse(t.attributes,e,n),e(t)}return t instanceof O.Relation||t instanceof O.File?e(t):l.isArray(t)?(l.each(t,function(r,i){var o=O._traverse(r,e,n);o&&(t[i]=o)}),e(t)):l.isObject(t)?(O._each(t,function(r,i){var o=O._traverse(r,e,n);o&&(t[i]=o)}),e(t)):e(t)},O._objectEach=O._each=function(t,e){l.isObject(t)?l.each((0,f.default)(l).call(l,t),function(n){e(t[n],n)}):l.each(t,e)},O.debug={enable:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"leancloud*";return h.enable(t)},disable:h.disable},O.setAdapters=y,t.exports=O}).call(e,n(112))},function(t,e,n){var r=n(45),i=n(4),o=n(114),a=n(34),u=n(46),s=n(219),c=i([].push),f=function(t){var e=1==t,n=2==t,i=3==t,f=4==t,l=6==t,d=7==t,h=5==t||l;return function(p,v,_,b){for(var g,y,m=a(p),O=o(m),w=r(v,_),j=u(O),x=0,A=b||s,S=e?A(p,j):n||d?A(p,0):void 0;j>x;x++)if((h||x in O)&&(g=O[x],y=w(g,x,m),t))if(e)S[x]=y;else if(y)switch(t){case 3:return!0;case 5:return g;case 6:return x;case 2:c(S,g)}else switch(t){case 4:return!1;case 7:c(S,g)}return l?-1:i||f?f:S}};t.exports={forEach:f(0),map:f(1),filter:f(2),some:f(3),every:f(4),find:f(5),findIndex:f(6),filterReject:f(7)}},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type&&!window.process.__nwjs)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))}function o(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+t.exports.humanize(this.diff),this.useColors){var n="color: "+this.color;e.splice(1,0,n,"color: inherit");var r=0,i=0;e[0].replace(/%[a-zA-Z%]/g,function(t){"%%"!==t&&(r++,"%c"===t&&(i=r))}),e.splice(i,0,n)}}function a(){var t;return"object"===("undefined"==typeof console?"undefined":r(console))&&console.log&&(t=console).log.apply(t,arguments)}function u(t){try{t?e.storage.setItem("debug",t):e.storage.removeItem("debug")}catch(t){}}function s(){var t;try{t=e.storage.getItem("debug")}catch(t){}return!t&&"undefined"!=typeof process&&"env"in process&&(t=process.env.DEBUG),t}e.log=a,e.formatArgs=o,e.save=u,e.load=s,e.useColors=i,e.storage=function(){try{return localStorage}catch(t){}}(),e.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.exports=n(386)(e),t.exports.formatters.j=function(t){try{return JSON.stringify(t)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}},function(t,e,n){"use strict";var r=n(1),i=r(n(55)),o=n(2),a=n(224),u=n(29),s=u.inherits,c=s(a,{constructor:function(){a.apply(this),this._adapters={}},getAdapter:function(t){var e=this._adapters[t];if(void 0===e)throw new Error("".concat(t," adapter is not configured"));return e},setAdapters:function(t){var e=this;o.extend(this._adapters,t),(0,i.default)(o).call(o,t).forEach(function(n){return e.emit(n,t[n])})}}),f=new c;t.exports={getAdapter:f.getAdapter.bind(f),setAdapters:f.setAdapters.bind(f),adapterManager:f}},function(t,e,n){var r=n(70),i=Function.prototype,o=i.apply,a=i.call;t.exports="object"==typeof Reflect&&Reflect.apply||(r?a.bind(o):function(){return a.apply(o,arguments)})},function(t,e,n){var r=n(3);t.exports=!r(function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})},function(t,e,n){var r=n(16),i=n(13),o=n(113),a=n(44),u=n(33),s=n(88),c=n(14),f=n(148),l=Object.getOwnPropertyDescriptor;e.f=r?l:function(t,e){if(t=u(t),e=s(e),f)try{return l(t,e)}catch(t){}if(c(t,e))return a(!i(o.f,t,e),t[e])}},function(t,e){var n=String;t.exports=function(t){try{return n(t)}catch(t){return"Object"}}},function(t,e,n){var r=n(32),i=n(117);(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.23.3",mode:r?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.23.3/LICENSE",source:"https://github.com/zloirock/core-js"})},function(t,e){t.exports={}},function(t,e,n){var r=n(59),i=String;t.exports=function(t){if("Symbol"===r(t))throw TypeError("Cannot convert a Symbol value to a string");return i(t)}},function(t,e){t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},function(t,e,n){var r=n(6),i=n(61),o=n(7),a=n(149),u=n(123),s=n(9),c=n(279),f=n(32),l=n(90),d=i&&i.prototype,h=s("species"),p=!1,v=o(r.PromiseRejectionEvent),_=a("Promise",function(){var t=u(i),e=t!==String(i);if(!e&&66===l)return!0;if(f&&(!d.catch||!d.finally))return!0;if(l>=51&&/native code/.test(t))return!1;var n=new i(function(t){t(1)}),r=function(t){t(function(){},function(){})},o=n.constructor={};return o[h]=r,!(p=n.then(function(){})instanceof r)||!e&&c&&!v});t.exports={CONSTRUCTOR:_,REJECTION_EVENT:v,SUBCLASSING:p}},function(t,e,n){"use strict";var r=n(288).charAt,i=n(75),o=n(38),a=n(124),u=o.set,s=o.getterFor("String Iterator");a(String,"String",function(t){u(this,{type:"String Iterator",string:i(t),index:0})},function(){var t,e=s(this),n=e.string,i=e.index;return i>=n.length?{value:void 0,done:!0}:(t=r(n,i),e.index+=t.length,{value:t,done:!1})})},function(t,e,n){"use strict";n.d(e,"a",function(){return o}),n.d(e,"b",function(){return a});var r=n(5),i=n(296),o=r.s&&Object(i.a)(new DataView(new ArrayBuffer(8))),a="undefined"!=typeof Map&&Object(i.a)(new Map)},function(t,e,n){"use strict";function r(t){if(!Object(i.a)(t))return[];var e=[];for(var n in t)e.push(n);return o.h&&Object(a.a)(t,e),e}e.a=r;var i=n(52),o=n(5),a=n(180)},function(t,e,n){"use strict";function r(t){return i.a.toPath(t)}e.a=r;var i=n(24);n(189)},function(t,e,n){"use strict";function r(t,e,n){if(void 0===e)return t;switch(null==n?3:n){case 1:return function(n){return t.call(e,n)};case 3:return function(n,r,i){return t.call(e,n,r,i)};case 4:return function(n,r,i,o){return t.call(e,n,r,i,o)}}return function(){return t.apply(e,arguments)}}e.a=r},function(t,e,n){"use strict";function r(t,e,n){var r=[];return e=Object(i.a)(e,n),Object(o.a)(t,function(t,n,i){e(t,n,i)&&r.push(t)}),r}e.a=r;var i=n(20),o=n(54)},function(t,e,n){"use strict";function r(t,e,n,r){return Object(i.a)(t)||(t=Object(o.a)(t)),("number"!=typeof n||r)&&(n=0),Object(a.a)(t,e,n)>=0}e.a=r;var i=n(25),o=n(62),a=n(205)},function(t,e,n){var r=n(56);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){t.exports=n(376)},function(t,e,n){t.exports=n(229)},function(t,e,n){var r=n(256),i=n(89);t.exports=function(t){var e=r(t,"string");return i(e)?e:e+""}},function(t,e,n){var r=n(18),i=n(7),o=n(21),a=n(147),u=Object;t.exports=a?function(t){return"symbol"==typeof t}:function(t){var e=r("Symbol");return i(e)&&o(e.prototype,u(t))}},function(t,e,n){var r,i,o=n(6),a=n(91),u=o.process,s=o.Deno,c=u&&u.versions||s&&s.version,f=c&&c.v8;f&&(r=f.split("."),i=r[0]>0&&r[0]<4?1:+(r[0]+r[1])),!i&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(i=+r[1]),t.exports=i},function(t,e,n){var r=n(18);t.exports=r("navigator","userAgent")||""},function(t,e,n){var r=n(4),i=0,o=Math.random(),a=r(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++i+o,36)}},function(t,e,n){var r=n(14),i=n(7),o=n(34),a=n(94),u=n(151),s=a("IE_PROTO"),c=Object,f=c.prototype;t.exports=u?c.getPrototypeOf:function(t){var e=o(t);if(r(e,s))return e[s];var n=e.constructor;return i(n)&&e instanceof n?n.prototype:e instanceof c?f:null}},function(t,e,n){var r=n(73),i=n(92),o=r("keys");t.exports=function(t){return o[t]||(o[t]=i(t))}},function(t,e,n){var r=n(4),i=n(19),o=n(259);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{t=r(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),t(n,[]),e=n instanceof Array}catch(t){}return function(n,r){return i(n),o(r),e?t(n,r):n.__proto__=r,n}}():void 0)},function(t,e,n){var r=n(152),i=n(121),o=i.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var r=n(152),i=n(121);t.exports=Object.keys||function(t){return r(t,i)}},function(t,e,n){var r=n(59),i=n(116),o=n(58),a=n(9),u=a("iterator");t.exports=function(t){if(void 0!=t)return i(t,u)||i(t,"@@iterator")||o[r(t)]}},function(t,e,n){var r=n(21),i=TypeError;t.exports=function(t,e){if(r(e,t))return t;throw i("Incorrect invocation")}},function(t,e,n){var r=n(4),i=n(3),o=n(7),a=n(59),u=n(18),s=n(123),c=function(){},f=[],l=u("Reflect","construct"),d=/^\s*(?:class|function)\b/,h=r(d.exec),p=!d.exec(c),v=function(t){if(!o(t))return!1;try{return l(c,f,t),!0}catch(t){return!1}},_=function(t){if(!o(t))return!1;switch(a(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return p||!!h(d,s(t))}catch(t){return!0}};_.sham=!0,t.exports=!l||i(function(){var t;return v(v.call)||!v(Object)||!v(function(){t=!0})||t})?_:v},function(t,e,n){var r=n(4);t.exports=r([].slice)},function(t,e,n){"use strict";function r(t){return t=Object(i.a)({},t),function(e){return Object(o.a)(e,t)}}e.a=r;var i=n(133),o=n(181)},function(t,e,n){"use strict";var r=n(23),i=n(197),o=n(24),a=Object(r.a)(function(t,e){var n=a.placeholder,r=function(){for(var o=0,a=e.length,u=Array(a),s=0;s<a;s++)u[s]=e[s]===n?arguments[o++]:e[s];for(;o<arguments.length;)u.push(arguments[o++]);return Object(i.a)(t,r,this,this,u)};return r});a.placeholder=o.a,e.a=a},function(t,e,n){"use strict";function r(t,e){return function(n,r,a){var u=e?[[],[]]:{};return r=Object(i.a)(r,a),Object(o.a)(n,function(e,i){var o=r(e,i,n);t(u,e,o)}),u}}e.a=r;var i=n(20),o=n(54)},function(t,e,n){"use strict";var r=n(88),i=n(22),o=n(44);t.exports=function(t,e,n){var a=r(e);a in t?i.f(t,a,o(0,n)):t[a]=n}},function(t,e,n){var r=n(3),i=n(9),o=n(90),a=i("species");t.exports=function(t){return o>=51||!r(function(){var e=[],n=e.constructor={};return n[a]=function(){return{foo:1}},1!==e[t](Boolean).foo})}},function(t,e,n){"use strict";var r=n(1),i=r(n(109)),o=r(n(437)),a=r(n(42)),u=r(n(141)),s=r(n(36)),c=r(n(30)),f=(n(2),n(442)),l=f.timeout,d=n(67),h=d("leancloud:request"),p=d("leancloud:request:error"),v=n(68),_=v.getAdapter,b=0,g=function(t){var e=t.method,n=t.url,r=t.query,f=t.data,v=t.headers,g=void 0===v?{}:v,y=t.timeout,m=t.onprogress;if(r){var O,w,j,x=(0,o.default)(O=(0,a.default)(w=(0,u.default)(r)).call(w,function(t){var e,n=r[t];if(void 0!==n){var o="object"===(0,i.default)(n)?(0,s.default)(n):n;return(0,c.default)(e="".concat(encodeURIComponent(t),"=")).call(e,encodeURIComponent(o))}})).call(O,function(t){return t}).join("&");n=(0,c.default)(j="".concat(n,"?")).call(j,x)}var A=b++;h("request(%d) %s %s %o %o %o",A,e,n,r,f,g);var S=_("request"),E=S(n,{method:e,headers:g,data:f,onprogress:m}).then(function(t){if(h("response(%d) %d %O %o",A,t.status,t.data||t.text,t.header),!1===t.ok){var e=new Error;throw e.response=t,e}return t.data}).catch(function(t){throw t.response&&(d.enabled("leancloud:request")||p("request(%d) %s %s %o %o %o",A,e,n,r,f,g),p("response(%d) %d %O %o",A,t.response.status,t.response.data||t.response.text,t.response.header),t.statusCode=t.response.status,t.responseText=t.response.text,t.response=t.response.data),t});return y?l(E,y):E};t.exports=g},function(t,e,n){function r(e){"@babel/helpers - typeof";return t.exports=r="function"==typeof i&&"symbol"==typeof o?function(t){return typeof t}:function(t){return t&&"function"==typeof i&&t.constructor===i&&t!==i.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,r(e)}var i=n(231),o=n(432);t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){t.exports=n(447)},function(t,e,n){var r=n(0),i=n(4),o=n(74),a=n(11),u=n(14),s=n(22).f,c=n(96),f=n(234),l=n(247),d=n(92),h=n(562),p=!1,v=d("meta"),_=0,b=function(t){s(t,v,{value:{objectID:"O"+_++,weakData:{}}})},g=function(t,e){if(!a(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!u(t,v)){if(!l(t))return"F";if(!e)return"E";b(t)}return t[v].objectID},y=function(t,e){if(!u(t,v)){if(!l(t))return!0;if(!e)return!1;b(t)}return t[v].weakData},m=function(t){return h&&p&&l(t)&&!u(t,v)&&b(t),t},O=function(){w.enable=function(){},p=!0;var t=c.f,e=i([].splice),n={};n[v]=1,t(n).length&&(c.f=function(n){for(var r=t(n),i=0,o=r.length;i<o;i++)if(r[i]===v){e(r,i,1);break}return r},r({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:f.f}))},w=t.exports={enable:O,fastKey:g,getWeakData:y,onFreeze:m};o[v]=!0},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){"use strict";var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!r.call({1:2},1);e.f=o?function(t){var e=i(this,t);return!!e&&e.enumerable}:r},function(t,e,n){var r=n(4),i=n(3),o=n(56),a=Object,u=r("".split);t.exports=i(function(){return!a("z").propertyIsEnumerable(0)})?function(t){return"String"==o(t)?u(t,""):a(t)}:a},function(t,e){var n=TypeError;t.exports=function(t){if(void 0==t)throw n("Can't call method on "+t);return t}},function(t,e,n){var r=n(31);t.exports=function(t,e){var n=t[e];return null==n?void 0:r(n)}},function(t,e,n){var r=n(6),i=n(258),o=r["__core-js_shared__"]||i("__core-js_shared__",{});t.exports=o},function(t,e,n){var r=n(6),i=n(11),o=r.document,a=i(o)&&i(o.createElement);t.exports=function(t){return a?o.createElement(t):{}}},function(t,e,n){var r=n(120),i=Math.max,o=Math.min;t.exports=function(t,e){var n=r(t);return n<0?i(n+e,0):o(n,e)}},function(t,e,n){var r=n(262);t.exports=function(t){var e=+t;return e!==e||0===e?0:r(e)}},function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,e,n){var r=n(9),i=r("toStringTag"),o={};o[i]="z",t.exports="[object z]"===String(o)},function(t,e,n){var r=n(4),i=n(7),o=n(117),a=r(Function.toString);i(o.inspectSource)||(o.inspectSource=function(t){return a(t)}),t.exports=o.inspectSource},function(t,e,n){"use strict";var r=n(0),i=n(13),o=n(32),a=n(268),u=n(7),s=n(269),c=n(93),f=n(95),l=n(49),d=n(35),h=n(39),p=n(9),v=n(58),_=n(161),b=a.PROPER,g=a.CONFIGURABLE,y=_.IteratorPrototype,m=_.BUGGY_SAFARI_ITERATORS,O=p("iterator"),w=function(){return this};t.exports=function(t,e,n,a,p,_,j){s(n,e,a);var x,A,S,E=function(t){if(t===p&&U)return U;if(!m&&t in N)return N[t];switch(t){case"keys":case"values":case"entries":return function(){return new n(this,t)}}return function(){return new n(this)}},C=e+" Iterator",T=!1,N=t.prototype,I=N[O]||N["@@iterator"]||p&&N[p],U=!m&&I||E(p),k="Array"==e?N.entries||I:I;if(k&&(x=c(k.call(new t)))!==Object.prototype&&x.next&&(o||c(x)===y||(f?f(x,y):u(x[O])||h(x,O,w)),l(x,C,!0,!0),o&&(v[C]=w)),b&&"values"==p&&I&&"values"!==I.name&&(!o&&g?d(N,"name","values"):(T=!0,U=function(){return i(I,this)})),p)if(A={values:E("values"),keys:_?U:E("keys"),entries:E("entries")},j)for(S in A)!m&&!T&&S in N||h(N,S,A[S]);else r({target:e,proto:!0,forced:m||T},A);return o&&!j||N[O]===U||h(N,O,U,{name:p}),v[e]=U,A}},function(t,e,n){var r=n(56),i=n(6);t.exports="process"==r(i.process)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(5);n.d(e,"VERSION",function(){return r.e});var i=n(23);n.d(e,"restArguments",function(){return i.a});var o=n(52);n.d(e,"isObject",function(){return o.a});var a=n(291);n.d(e,"isNull",function(){return a.a});var u=n(170);n.d(e,"isUndefined",function(){return u.a});var s=n(171);n.d(e,"isBoolean",function(){return s.a});var c=n(292);n.d(e,"isElement",function(){return c.a});var f=n(127);n.d(e,"isString",function(){return f.a});var l=n(172);n.d(e,"isNumber",function(){return l.a});var d=n(293);n.d(e,"isDate",function(){return d.a});var h=n(294);n.d(e,"isRegExp",function(){return h.a});var p=n(295);n.d(e,"isError",function(){return p.a});var v=n(173);n.d(e,"isSymbol",function(){return v.a});var _=n(174);n.d(e,"isArrayBuffer",function(){return _.a});var b=n(128);n.d(e,"isDataView",function(){return b.a});var g=n(53);n.d(e,"isArray",function(){return g.a});var y=n(27);n.d(e,"isFunction",function(){return y.a});var m=n(129);n.d(e,"isArguments",function(){return m.a});var O=n(297);n.d(e,"isFinite",function(){return O.a});var w=n(175);n.d(e,"isNaN",function(){return w.a});var j=n(176);n.d(e,"isTypedArray",function(){return j.a});var x=n(299);n.d(e,"isEmpty",function(){return x.a});var A=n(181);n.d(e,"isMatch",function(){return A.a});var S=n(300);n.d(e,"isEqual",function(){return S.a});var E=n(302);n.d(e,"isMap",function(){return E.a});var C=n(303);n.d(e,"isWeakMap",function(){return C.a});var T=n(304);n.d(e,"isSet",function(){return T.a});var N=n(305);n.d(e,"isWeakSet",function(){return N.a});var I=n(15);n.d(e,"keys",function(){return I.a});var U=n(80);n.d(e,"allKeys",function(){return U.a});var k=n(62);n.d(e,"values",function(){return k.a});var P=n(306);n.d(e,"pairs",function(){return P.a});var R=n(182);n.d(e,"invert",function(){return R.a});var D=n(183);n.d(e,"functions",function(){return D.a}),n.d(e,"methods",function(){return D.a});var M=n(184);n.d(e,"extend",function(){return M.a});var L=n(133);n.d(e,"extendOwn",function(){return L.a}),n.d(e,"assign",function(){return L.a});var F=n(185);n.d(e,"defaults",function(){return F.a});var q=n(307);n.d(e,"create",function(){return q.a});var W=n(187);n.d(e,"clone",function(){return W.a});var B=n(308);n.d(e,"tap",function(){return B.a});var V=n(188);n.d(e,"get",function(){return V.a});var z=n(309);n.d(e,"has",function(){return z.a});var K=n(310);n.d(e,"mapObject",function(){return K.a});var Q=n(135);n.d(e,"identity",function(){return Q.a});var J=n(177);n.d(e,"constant",function(){return J.a});var G=n(192);n.d(e,"noop",function(){return G.a});var H=n(189);n.d(e,"toPath",function(){return H.a});var $=n(136);n.d(e,"property",function(){return $.a});var X=n(311);n.d(e,"propertyOf",function(){return X.a});var Y=n(103);n.d(e,"matcher",function(){return Y.a}),n.d(e,"matches",function(){return Y.a});var Z=n(312);n.d(e,"times",function(){return Z.a});var tt=n(193);n.d(e,"random",function(){return tt.a});var et=n(137);n.d(e