diff --git a/dist/dist.js b/dist/dist.js index f66aaae1..60300adb 100644 --- a/dist/dist.js +++ b/dist/dist.js @@ -1,2 +1,2 @@ -!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("cdav",[],e):"object"==typeof exports?exports.cdav=e():t.cdav=e()}(window,function(){return function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="/",r(r.s=115)}([function(t,e,r){r(70)("asyncIterator")},function(t,e,r){"use strict";var n=r(4),o=r(16),i=r(10),u=r(6),a=r(15),c=r(50).KEY,s=r(11),l=r(47),f=r(32),p=r(30),h=r(3),y=r(71),v=r(70),d=r(90),m=r(72),b=r(7),g=r(5),w=r(23),_=r(44),x=r(29),P=r(37),O=r(91),k=r(52),S=r(9),j=r(22),R=k.f,E=S.f,A=O.f,T=n.Symbol,C=n.JSON,F=C&&C.stringify,L=h("_hidden"),D=h("toPrimitive"),N={}.propertyIsEnumerable,V=l("symbol-registry"),Y=l("symbols"),I=l("op-symbols"),M=Object.prototype,q="function"==typeof T,U=n.QObject,X=!U||!U.prototype||!U.prototype.findChild,B=i&&s(function(){return 7!=P(E({},"a",{get:function(){return E(this,"a",{value:7}).a}})).a})?function(t,e,r){var n=R(M,e);n&&delete M[e],E(t,e,r),n&&t!==M&&E(M,e,n)}:E,H=function(t){var e=Y[t]=P(T.prototype);return e._k=t,e},z=q&&"symbol"==typeof T.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof T},G=function(t,e,r){return t===M&&G(I,e,r),b(t),e=_(e,!0),b(r),o(Y,e)?(r.enumerable?(o(t,L)&&t[L][e]&&(t[L][e]=!1),r=P(r,{enumerable:x(0,!1)})):(o(t,L)||E(t,L,x(1,{})),t[L][e]=!0),B(t,e,r)):E(t,e,r)},W=function(t,e){b(t);for(var r,n=d(e=w(e)),o=0,i=n.length;i>o;)G(t,r=n[o++],e[r]);return t},K=function(t){var e=N.call(this,t=_(t,!0));return!(this===M&&o(Y,t)&&!o(I,t))&&(!(e||!o(this,t)||!o(Y,t)||o(this,L)&&this[L][t])||e)},Q=function(t,e){if(t=w(t),e=_(e,!0),t!==M||!o(Y,e)||o(I,e)){var r=R(t,e);return!r||!o(Y,e)||o(t,L)&&t[L][e]||(r.enumerable=!0),r}},J=function(t){for(var e,r=A(w(t)),n=[],i=0;r.length>i;)o(Y,e=r[i++])||e==L||e==c||n.push(e);return n},$=function(t){for(var e,r=t===M,n=A(r?I:w(t)),i=[],u=0;n.length>u;)!o(Y,e=n[u++])||r&&!o(M,e)||i.push(Y[e]);return i};q||(a((T=function(){if(this instanceof T)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),e=function(r){this===M&&e.call(I,r),o(this,L)&&o(this[L],t)&&(this[L][t]=!1),B(this,t,x(1,r))};return i&&X&&B(M,t,{configurable:!0,set:e}),H(t)}).prototype,"toString",function(){return this._k}),k.f=Q,S.f=G,r(73).f=O.f=J,r(35).f=K,r(51).f=$,i&&!r(28)&&a(M,"propertyIsEnumerable",K,!0),y.f=function(t){return H(h(t))}),u(u.G+u.W+u.F*!q,{Symbol:T});for(var Z="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),tt=0;Z.length>tt;)h(Z[tt++]);for(var et=j(h.store),rt=0;et.length>rt;)v(et[rt++]);u(u.S+u.F*!q,"Symbol",{for:function(t){return o(V,t+="")?V[t]:V[t]=T(t)},keyFor:function(t){if(!z(t))throw TypeError(t+" is not a symbol!");for(var e in V)if(V[e]===t)return e},useSetter:function(){X=!0},useSimple:function(){X=!1}}),u(u.S+u.F*!q,"Object",{create:function(t,e){return void 0===e?P(t):W(P(t),e)},defineProperty:G,defineProperties:W,getOwnPropertyDescriptor:Q,getOwnPropertyNames:J,getOwnPropertySymbols:$}),C&&u(u.S+u.F*(!q||s(function(){var t=T();return"[null]"!=F([t])||"{}"!=F({a:t})||"{}"!=F(Object(t))})),"JSON",{stringify:function(t){for(var e,r,n=[t],o=1;arguments.length>o;)n.push(arguments[o++]);if(r=e=n[1],(g(e)||void 0!==t)&&!z(t))return m(e)||(e=function(t,e){if("function"==typeof r&&(e=r.call(this,t,e)),!z(e))return e}),n[1]=e,F.apply(C,n)}}),T.prototype[D]||r(14)(T.prototype,D,T.prototype.valueOf),f(T,"Symbol"),f(Math,"Math",!0),f(n.JSON,"JSON",!0)},function(t,e,r){var n=r(6);n(n.S,"Object",{setPrototypeOf:r(81).set})},function(t,e,r){var n=r(47)("wks"),o=r(30),i=r(4).Symbol,u="function"==typeof i;(t.exports=function(t){return n[t]||(n[t]=u&&i[t]||(u?i:o)("Symbol."+t))}).store=n},function(t,e){var r=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,r){var n=r(4),o=r(21),i=r(14),u=r(15),a=r(17),c=function(t,e,r){var s,l,f,p,h=t&c.F,y=t&c.G,v=t&c.S,d=t&c.P,m=t&c.B,b=y?n:v?n[e]||(n[e]={}):(n[e]||{}).prototype,g=y?o:o[e]||(o[e]={}),w=g.prototype||(g.prototype={});for(s in y&&(r=e),r)f=((l=!h&&b&&void 0!==b[s])?b:r)[s],p=m&&l?a(f,n):d&&"function"==typeof f?a(Function.call,f):f,b&&u(b,s,f,t&c.U),g[s]!=f&&i(g,s,p),d&&w[s]!=f&&(w[s]=f)};n.core=o,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},function(t,e,r){var n=r(5);t.exports=function(t){if(!n(t))throw TypeError(t+" is not an object!");return t}},function(t,e,r){for(var n=r(19),o=r(22),i=r(15),u=r(4),a=r(14),c=r(31),s=r(3),l=s("iterator"),f=s("toStringTag"),p=c.Array,h={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},y=o(h),v=0;vi;)u(r[i++]);t._c=[],t._n=!1,e&&!t._h&&L(t)})}},L=function(t){m.call(c,function(){var e,r,n,o=t._v,i=D(t);if(i&&(e=w(function(){R?O.emit("unhandledRejection",o,t):(r=c.onunhandledrejection)?r({promise:t,reason:o}):(n=c.console)&&n.error&&n.error("Unhandled promise rejection",o)}),t._h=R||D(t)?2:1),t._a=void 0,i&&e.e)throw e.v})},D=function(t){return 1!==t._h&&0===(t._a||t._c).length},N=function(t){m.call(c,function(){var e;R?O.emit("rejectionHandled",t):(e=c.onrejectionhandled)&&e({promise:t,reason:t._v})})},V=function(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),F(e,!0))},Y=function(t){var e,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===t)throw P("Promise can't be resolved itself");(e=C(t))?b(function(){var n={_w:r,_d:!1};try{e.call(t,s(Y,n,1),s(V,n,1))}catch(t){V.call(n,t)}}):(r._v=t,r._s=1,F(r,!1))}catch(t){V.call({_w:r,_d:!1},t)}}};T||(j=function(t){y(this,j,"Promise","_h"),h(t),n.call(this);try{t(s(Y,this,1),s(V,this,1))}catch(t){V.call(this,t)}},(n=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=r(55)(j.prototype,{then:function(t,e){var r=A(d(this,j));return r.ok="function"!=typeof t||t,r.fail="function"==typeof e&&e,r.domain=R?O.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&F(this,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new n;this.promise=t,this.resolve=s(Y,t,1),this.reject=s(V,t,1)},g.f=A=function(t){return t===j||t===u?new i(t):o(t)}),f(f.G+f.W+f.F*!T,{Promise:j}),r(32)(j,"Promise"),r(78)("Promise"),u=r(21).Promise,f(f.S+f.F*!T,"Promise",{reject:function(t){var e=A(this);return(0,e.reject)(t),e.promise}}),f(f.S+f.F*(a||!T),"Promise",{resolve:function(t){return x(a&&this===u?j:this,t)}}),f(f.S+f.F*!(T&&r(49)(function(t){j.all(t).catch(E)})),"Promise",{all:function(t){var e=this,r=A(e),n=r.resolve,o=r.reject,i=w(function(){var r=[],i=0,u=1;v(t,!1,function(t){var a=i++,c=!1;r.push(void 0),u++,e.resolve(t).then(function(t){c||(c=!0,r[a]=t,--u||n(r))},o)}),--u||n(r)});return i.e&&o(i.v),r.promise},race:function(t){var e=this,r=A(e),n=r.reject,o=w(function(){v(t,!1,function(t){e.resolve(t).then(r.resolve,n)})});return o.e&&n(o.v),r.promise}})},function(t,e){!function(e){"use strict";var r,n=Object.prototype,o=n.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},u=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag",s="object"==typeof t,l=e.regeneratorRuntime;if(l)s&&(t.exports=l);else{(l=e.regeneratorRuntime=s?t.exports:{}).wrap=w;var f="suspendedStart",p="suspendedYield",h="executing",y="completed",v={},d={};d[u]=function(){return this};var m=Object.getPrototypeOf,b=m&&m(m(T([])));b&&b!==n&&o.call(b,u)&&(d=b);var g=O.prototype=x.prototype=Object.create(d);P.prototype=g.constructor=O,O.constructor=P,O[c]=P.displayName="GeneratorFunction",l.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===P||"GeneratorFunction"===(e.displayName||e.name))},l.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,O):(t.__proto__=O,c in t||(t[c]="GeneratorFunction")),t.prototype=Object.create(g),t},l.awrap=function(t){return{__await:t}},k(S.prototype),S.prototype[a]=function(){return this},l.AsyncIterator=S,l.async=function(t,e,r,n){var o=new S(w(t,e,r,n));return l.isGeneratorFunction(e)?o:o.next().then(function(t){return t.done?t.value:o.next()})},k(g),g[c]="Generator",g[u]=function(){return this},g.toString=function(){return"[object Generator]"},l.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},l.values=T,A.prototype={constructor:A,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(E),!t)for(var e in this)"t"===e.charAt(0)&&o.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=r)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(n,o){return a.type="throw",a.arg=t,e.next=n,o&&(e.method="next",e.arg=r),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var u=this.tryEntries[i],a=u.completion;if("root"===u.tryLoc)return n("end");if(u.tryLoc<=this.prev){var c=o.call(u,"catchLoc"),s=o.call(u,"finallyLoc");if(c&&s){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),E(r),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;E(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:T(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=r),v}}}function w(t,e,r,n){var o=e&&e.prototype instanceof x?e:x,i=Object.create(o.prototype),u=new A(n||[]);return i._invoke=function(t,e,r){var n=f;return function(o,i){if(n===h)throw new Error("Generator is already running");if(n===y){if("throw"===o)throw i;return C()}for(r.method=o,r.arg=i;;){var u=r.delegate;if(u){var a=j(u,r);if(a){if(a===v)continue;return a}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===f)throw n=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=h;var c=_(t,e,r);if("normal"===c.type){if(n=r.done?y:p,c.arg===v)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n=y,r.method="throw",r.arg=c.arg)}}}(t,r,u),i}function _(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}function x(){}function P(){}function O(){}function k(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function S(t){var e;this._invoke=function(r,n){function i(){return new Promise(function(e,i){!function e(r,n,i,u){var a=_(t[r],t,n);if("throw"!==a.type){var c=a.arg,s=c.value;return s&&"object"==typeof s&&o.call(s,"__await")?Promise.resolve(s.__await).then(function(t){e("next",t,i,u)},function(t){e("throw",t,i,u)}):Promise.resolve(s).then(function(t){c.value=t,i(c)},u)}u(a.arg)}(r,n,e,i)})}return e=e?e.then(i,i):i()}}function j(t,e){var n=t.iterator[e.method];if(n===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=r,j(t,e),"throw"===e.method))return v;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var o=_(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,v;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=r),e.delegate=null,v):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,v)}function R(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function E(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(R,this),this.reset(!0)}function T(t){if(t){var e=t[u];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n=t.length?(this._t=void 0,o(1)):o(0,"keys"==e?r:"values"==e?t[r]:[r,t[r]])},"values"),i.Arguments=i.Array,n("keys"),n("values"),n("entries")},function(t,e,r){var n=r(52),o=r(64),i=r(16),u=r(6),a=r(5),c=r(7);u(u.S,"Reflect",{get:function t(e,r){var u,s,l=arguments.length<3?e:arguments[2];return c(e)===l?e[r]:(u=n.f(e,r))?i(u,"value")?u.value:void 0!==u.get?u.get.call(l):void 0:a(s=o(e))?t(s,r,l):void 0}})},function(t,e){var r=t.exports={version:"2.5.7"};"number"==typeof __e&&(__e=r)},function(t,e,r){var n=r(61),o=r(48);t.exports=Object.keys||function(t){return n(t,o)}},function(t,e,r){var n=r(45),o=r(27);t.exports=function(t){return n(o(t))}},function(t,e,r){"use strict";var n=r(84)(!0);r(42)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,r=this._i;return r>=e.length?{value:void 0,done:!0}:(t=n(e,r),this._i+=t.length,{value:t,done:!1})})},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e){t.exports=!1},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){var r=0,n=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++r+n).toString(36))}},function(t,e){t.exports={}},function(t,e,r){var n=r(9).f,o=r(16),i=r(3)("toStringTag");t.exports=function(t,e,r){t&&!o(t=r?t:t.prototype,i)&&n(t,i,{configurable:!0,value:e})}},function(t,e,r){var n=r(27);t.exports=function(t){return Object(n(t))}},function(t,e,r){"use strict";var n=r(17),o=r(6),i=r(33),u=r(65),a=r(66),c=r(38),s=r(88),l=r(67);o(o.S+o.F*!r(49)(function(t){Array.from(t)}),"Array",{from:function(t){var e,r,o,f,p=i(t),h="function"==typeof this?this:Array,y=arguments.length,v=y>1?arguments[1]:void 0,d=void 0!==v,m=0,b=l(p);if(d&&(v=n(v,y>2?arguments[2]:void 0,2)),void 0==b||h==Array&&a(b))for(r=new h(e=c(p.length));e>m;m++)s(r,m,d?v(p[m],m):p[m]);else for(f=b.call(p),r=new h;!(o=f.next()).done;m++)s(r,m,d?u(f,v,[o.value,m],!0):o.value);return r.length=m,r}})},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,r){var n=r(6);n(n.S+n.F,"Object",{assign:r(97)})},function(t,e,r){var n=r(7),o=r(86),i=r(48),u=r(46)("IE_PROTO"),a=function(){},c=function(){var t,e=r(43)("iframe"),n=i.length;for(e.style.display="none",r(63).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("