diff --git a/dist/dist.js b/dist/dist.js index df905402..c5e08d3f 100644 --- a/dist/dist.js +++ b/dist/dist.js @@ -1,2 +1,2 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("cdav",[],t):"object"==typeof exports?exports.cdav=t():e.cdav=t()}(self,(function(){return(()=>{var e={3099:e=>{e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},6077:(e,t,r)=>{var n=r(111);e.exports=function(e){if(!n(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},1223:(e,t,r)=>{var n=r(5112),s=r(30),a=r(3070),i=n("unscopables"),o=Array.prototype;null==o[i]&&a.f(o,i,{configurable:!0,value:s(null)}),e.exports=function(e){o[i][e]=!0}},1530:(e,t,r)=>{"use strict";var n=r(8710).charAt;e.exports=function(e,t,r){return t+(r?n(e,t).length:1)}},5787:e=>{e.exports=function(e,t,r){if(!(e instanceof t))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return e}},9670:(e,t,r)=>{var n=r(111);e.exports=function(e){if(!n(e))throw TypeError(String(e)+" is not an object");return e}},8457:(e,t,r)=>{"use strict";var n=r(9974),s=r(7908),a=r(3411),i=r(7659),o=r(7466),c=r(6135),l=r(1246);e.exports=function(e){var t,r,u,p,h,d,f=s(e),m="function"==typeof this?this:Array,g=arguments.length,y=g>1?arguments[1]:void 0,v=void 0!==y,b=l(f),x=0;if(v&&(y=n(y,g>2?arguments[2]:void 0,2)),null==b||m==Array&&i(b))for(r=new m(t=o(f.length));t>x;x++)d=v?y(f[x],x):f[x],c(r,x,d);else for(h=(p=b.call(f)).next,r=new m;!(u=h.call(p)).done;x++)d=v?a(p,y,[u.value,x],!0):u.value,c(r,x,d);return r.length=x,r}},1318:(e,t,r)=>{var n=r(5656),s=r(7466),a=r(1400),i=function(e){return function(t,r,i){var o,c=n(t),l=s(c.length),u=a(i,l);if(e&&r!=r){for(;l>u;)if((o=c[u++])!=o)return!0}else for(;l>u;u++)if((e||u in c)&&c[u]===r)return e||u||0;return!e&&-1}};e.exports={includes:i(!0),indexOf:i(!1)}},3411:(e,t,r)=>{var n=r(9670),s=r(9212);e.exports=function(e,t,r,a){try{return a?t(n(r)[0],r[1]):t(r)}catch(t){throw s(e),t}}},4326:e=>{var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},648:(e,t,r)=>{var n=r(1694),s=r(4326),a=r(5112)("toStringTag"),i="Arguments"==s(function(){return arguments}());e.exports=n?s:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),a))?r:i?s(t):"Object"==(n=s(t))&&"function"==typeof t.callee?"Arguments":n}},9920:(e,t,r)=>{var n=r(6656),s=r(3887),a=r(1236),i=r(3070);e.exports=function(e,t){for(var r=s(t),o=i.f,c=a.f,l=0;l{var n=r(7293);e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},4994:(e,t,r)=>{"use strict";var n=r(3383).IteratorPrototype,s=r(30),a=r(9114),i=r(8003),o=r(7497),c=function(){return this};e.exports=function(e,t,r){var l=t+" Iterator";return e.prototype=s(n,{next:a(1,r)}),i(e,l,!1,!0),o[l]=c,e}},8880:(e,t,r)=>{var n=r(9781),s=r(3070),a=r(9114);e.exports=n?function(e,t,r){return s.f(e,t,a(1,r))}:function(e,t,r){return e[t]=r,e}},9114:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},6135:(e,t,r)=>{"use strict";var n=r(7593),s=r(3070),a=r(9114);e.exports=function(e,t,r){var i=n(t);i in e?s.f(e,i,a(0,r)):e[i]=r}},654:(e,t,r)=>{"use strict";var n=r(2109),s=r(4994),a=r(9518),i=r(7674),o=r(8003),c=r(8880),l=r(1320),u=r(5112),p=r(1913),h=r(7497),d=r(3383),f=d.IteratorPrototype,m=d.BUGGY_SAFARI_ITERATORS,g=u("iterator"),y="keys",v="values",b="entries",x=function(){return this};e.exports=function(e,t,r,u,d,P,_){s(r,t,u);var w,A,S,R=function(e){if(e===d&&C)return C;if(!m&&e in E)return E[e];switch(e){case y:case v:case b:return function(){return new r(this,e)}}return function(){return new r(this)}},L=t+" Iterator",T=!1,E=e.prototype,O=E[g]||E["@@iterator"]||d&&E[d],C=!m&&O||R(d),F="Array"==t&&E.entries||O;if(F&&(w=a(F.call(new e)),f!==Object.prototype&&w.next&&(p||a(w)===f||(i?i(w,f):"function"!=typeof w[g]&&c(w,g,x)),o(w,L,!0,!0),p&&(h[L]=x))),d==v&&O&&O.name!==v&&(T=!0,C=function(){return O.call(this)}),p&&!_||E[g]===C||c(E,g,C),h[t]=C,d)if(A={values:R(v),keys:P?C:R(y),entries:R(b)},_)for(S in A)(m||T||!(S in E))&&l(E,S,A[S]);else n({target:t,proto:!0,forced:m||T},A);return A}},9781:(e,t,r)=>{var n=r(7293);e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},317:(e,t,r)=>{var n=r(7854),s=r(111),a=n.document,i=s(a)&&s(a.createElement);e.exports=function(e){return i?a.createElement(e):{}}},8324:e=>{e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},8113:(e,t,r)=>{var n=r(5005);e.exports=n("navigator","userAgent")||""},7392:(e,t,r)=>{var n,s,a=r(7854),i=r(8113),o=a.process,c=o&&o.versions,l=c&&c.v8;l?s=(n=l.split("."))[0]<4?1:n[0]+n[1]:i&&(!(n=i.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=i.match(/Chrome\/(\d+)/))&&(s=n[1]),e.exports=s&&+s},748:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:(e,t,r)=>{var n=r(7854),s=r(1236).f,a=r(8880),i=r(1320),o=r(3505),c=r(9920),l=r(4705);e.exports=function(e,t){var r,u,p,h,d,f=e.target,m=e.global,g=e.stat;if(r=m?n:g?n[f]||o(f,{}):(n[f]||{}).prototype)for(u in t){if(h=t[u],p=e.noTargetGet?(d=s(r,u))&&d.value:r[u],!l(m?u:f+(g?".":"#")+u,e.forced)&&void 0!==p){if(typeof h==typeof p)continue;c(h,p)}(e.sham||p&&p.sham)&&a(h,"sham",!0),i(r,u,h,e)}}},7293:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},7007:(e,t,r)=>{"use strict";r(4916);var n=r(1320),s=r(2261),a=r(7293),i=r(5112),o=r(8880),c=i("species"),l=RegExp.prototype;e.exports=function(e,t,r,u){var p=i(e),h=!a((function(){var t={};return t[p]=function(){return 7},7!=""[e](t)})),d=h&&!a((function(){var t=!1,r=/a/;return"split"===e&&((r={}).constructor={},r.constructor[c]=function(){return r},r.flags="",r[p]=/./[p]),r.exec=function(){return t=!0,null},r[p](""),!t}));if(!h||!d||r){var f=/./[p],m=t(p,""[e],(function(e,t,r,n,a){var i=t.exec;return i===s||i===l.exec?h&&!a?{done:!0,value:f.call(t,r,n)}:{done:!0,value:e.call(r,t,n)}:{done:!1}}));n(String.prototype,e,m[0]),n(l,p,m[1])}u&&o(l[p],"sham",!0)}},9974:(e,t,r)=>{var n=r(3099);e.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 0:return function(){return e.call(t)};case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,s){return e.call(t,r,n,s)}}return function(){return e.apply(t,arguments)}}},5005:(e,t,r)=>{var n=r(857),s=r(7854),a=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?a(n[e])||a(s[e]):n[e]&&n[e][t]||s[e]&&s[e][t]}},1246:(e,t,r)=>{var n=r(648),s=r(7497),a=r(5112)("iterator");e.exports=function(e){if(null!=e)return e[a]||e["@@iterator"]||s[n(e)]}},8554:(e,t,r)=>{var n=r(9670),s=r(1246);e.exports=function(e){var t=s(e);if("function"!=typeof t)throw TypeError(String(e)+" is not iterable");return n(t.call(e))}},647:(e,t,r)=>{var n=r(7908),s=Math.floor,a="".replace,i=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,o=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,r,c,l,u){var p=r+e.length,h=c.length,d=o;return void 0!==l&&(l=n(l),d=i),a.call(u,d,(function(n,a){var i;switch(a.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,r);case"'":return t.slice(p);case"<":i=l[a.slice(1,-1)];break;default:var o=+a;if(0===o)return n;if(o>h){var u=s(o/10);return 0===u?n:u<=h?void 0===c[u-1]?a.charAt(1):c[u-1]+a.charAt(1):n}i=c[o-1]}return void 0===i?"":i}))}},7854:(e,t,r)=>{var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||function(){return this}()||Function("return this")()},6656:(e,t,r)=>{var n=r(7908),s={}.hasOwnProperty;e.exports=Object.hasOwn||function(e,t){return s.call(n(e),t)}},3501:e=>{e.exports={}},490:(e,t,r)=>{var n=r(5005);e.exports=n("document","documentElement")},4664:(e,t,r)=>{var n=r(9781),s=r(7293),a=r(317);e.exports=!n&&!s((function(){return 7!=Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))},8361:(e,t,r)=>{var n=r(7293),s=r(4326),a="".split;e.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==s(e)?a.call(e,""):Object(e)}:Object},2788:(e,t,r)=>{var n=r(5465),s=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(e){return s.call(e)}),e.exports=n.inspectSource},9909:(e,t,r)=>{var n,s,a,i=r(8536),o=r(7854),c=r(111),l=r(8880),u=r(6656),p=r(5465),h=r(6200),d=r(3501),f="Object already initialized",m=o.WeakMap;if(i||p.state){var g=p.state||(p.state=new m),y=g.get,v=g.has,b=g.set;n=function(e,t){if(v.call(g,e))throw new TypeError(f);return t.facade=e,b.call(g,e,t),t},s=function(e){return y.call(g,e)||{}},a=function(e){return v.call(g,e)}}else{var x=h("state");d[x]=!0,n=function(e,t){if(u(e,x))throw new TypeError(f);return t.facade=e,l(e,x,t),t},s=function(e){return u(e,x)?e[x]:{}},a=function(e){return u(e,x)}}e.exports={set:n,get:s,has:a,enforce:function(e){return a(e)?s(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!c(t)||(r=s(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return r}}}},7659:(e,t,r)=>{var n=r(5112),s=r(7497),a=n("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(s.Array===e||i[a]===e)}},4705:(e,t,r)=>{var n=r(7293),s=/#|\.prototype\./,a=function(e,t){var r=o[i(e)];return r==l||r!=c&&("function"==typeof t?n(t):!!t)},i=a.normalize=function(e){return String(e).replace(s,".").toLowerCase()},o=a.data={},c=a.NATIVE="N",l=a.POLYFILL="P";e.exports=a},111:e=>{e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},1913:e=>{e.exports=!1},9212:(e,t,r)=>{var n=r(9670);e.exports=function(e){var t=e.return;if(void 0!==t)return n(t.call(e)).value}},3383:(e,t,r)=>{"use strict";var n,s,a,i=r(7293),o=r(9518),c=r(8880),l=r(6656),u=r(5112),p=r(1913),h=u("iterator"),d=!1;[].keys&&("next"in(a=[].keys())?(s=o(o(a)))!==Object.prototype&&(n=s):d=!0);var f=null==n||i((function(){var e={};return n[h].call(e)!==e}));f&&(n={}),p&&!f||l(n,h)||c(n,h,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:d}},7497:e=>{e.exports={}},133:(e,t,r)=>{var n=r(7392),s=r(7293);e.exports=!!Object.getOwnPropertySymbols&&!s((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},590:(e,t,r)=>{var n=r(7293),s=r(5112),a=r(1913),i=s("iterator");e.exports=!n((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,r="";return e.pathname="c%20d",t.forEach((function(e,n){t.delete("b"),r+=n+e})),a&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[i]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==r||"x"!==new URL("http://x",void 0).host}))},8536:(e,t,r)=>{var n=r(7854),s=r(2788),a=n.WeakMap;e.exports="function"==typeof a&&/native code/.test(s(a))},1574:(e,t,r)=>{"use strict";var n=r(9781),s=r(7293),a=r(1956),i=r(5181),o=r(5296),c=r(7908),l=r(8361),u=Object.assign,p=Object.defineProperty;e.exports=!u||s((function(){if(n&&1!==u({b:1},u(p({},"a",{enumerable:!0,get:function(){p(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol(),s="abcdefghijklmnopqrst";return e[r]=7,s.split("").forEach((function(e){t[e]=e})),7!=u({},e)[r]||a(u({},t)).join("")!=s}))?function(e,t){for(var r=c(e),s=arguments.length,u=1,p=i.f,h=o.f;s>u;)for(var d,f=l(arguments[u++]),m=p?a(f).concat(p(f)):a(f),g=m.length,y=0;g>y;)d=m[y++],n&&!h.call(f,d)||(r[d]=f[d]);return r}:u},30:(e,t,r)=>{var n,s=r(9670),a=r(6048),i=r(748),o=r(3501),c=r(490),l=r(317),u=r(6200)("IE_PROTO"),p=function(){},h=function(e){return"