UNPKG

@thibremy/vue-fetch-composable

Version:

Isomorphic fetch hook that should|will works with SSR (server side rendering).

1 lines 52.3 kB
(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e(require("vue")):"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["VueFetchComposable"]=e(require("vue")):t["VueFetchComposable"]=e(t["Vue"])})("undefined"!==typeof self?self:this,(function(t){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="fae3")}({"00ee":function(t,e,r){var n=r("b622"),o=n("toStringTag"),i={};i[o]="z",t.exports="[object z]"===String(i)},"0366":function(t,e,r){var n=r("1c0b");t.exports=function(t,e,r){if(n(t),void 0===e)return t;switch(r){case 0:return function(){return t.call(e)};case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,o){return t.call(e,r,n,o)}}return function(){return t.apply(e,arguments)}}},"057f":function(t,e,r){var n=r("fc6a"),o=r("241c").f,i={}.toString,c="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],u=function(t){try{return o(t)}catch(e){return c.slice()}};t.exports.f=function(t){return c&&"[object Window]"==i.call(t)?u(t):o(n(t))}},"06cf":function(t,e,r){var n=r("83ab"),o=r("d1e7"),i=r("5c6c"),c=r("fc6a"),u=r("c04e"),a=r("5135"),f=r("0cfb"),s=Object.getOwnPropertyDescriptor;e.f=n?s:function(t,e){if(t=c(t),e=u(e,!0),f)try{return s(t,e)}catch(r){}if(a(t,e))return i(!o.f.call(t,e),t[e])}},"0cfb":function(t,e,r){var n=r("83ab"),o=r("d039"),i=r("cc12");t.exports=!n&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},"129f":function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t===1/e:t!=t&&e!=e}},"14c3":function(t,e,r){var n=r("c6b6"),o=r("9263");t.exports=function(t,e){var r=t.exec;if("function"===typeof r){var i=r.call(t,e);if("object"!==typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==n(t))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(t,e)}},"159b":function(t,e,r){var n=r("da84"),o=r("fdbc"),i=r("17c2"),c=r("9112");for(var u in o){var a=n[u],f=a&&a.prototype;if(f&&f.forEach!==i)try{c(f,"forEach",i)}catch(s){f.forEach=i}}},"17c2":function(t,e,r){"use strict";var n=r("b727").forEach,o=r("a640"),i=r("ae40"),c=o("forEach"),u=i("forEach");t.exports=c&&u?[].forEach:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}},"19aa":function(t,e){t.exports=function(t,e,r){if(!(t instanceof e))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return t}},"1be4":function(t,e,r){var n=r("d066");t.exports=n("document","documentElement")},"1c0b":function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},"1c7e":function(t,e,r){var n=r("b622"),o=n("iterator"),i=!1;try{var c=0,u={next:function(){return{done:!!c++}},return:function(){i=!0}};u[o]=function(){return this},Array.from(u,(function(){throw 2}))}catch(a){}t.exports=function(t,e){if(!e&&!i)return!1;var r=!1;try{var n={};n[o]=function(){return{next:function(){return{done:r=!0}}}},t(n)}catch(a){}return r}},"1cdc":function(t,e,r){var n=r("342f");t.exports=/(iphone|ipod|ipad).*applewebkit/i.test(n)},"1d80":function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},"1dde":function(t,e,r){var n=r("d039"),o=r("b622"),i=r("2d00"),c=o("species");t.exports=function(t){return i>=51||!n((function(){var e=[],r=e.constructor={};return r[c]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},2266:function(t,e,r){var n=r("825a"),o=r("e95a"),i=r("50c4"),c=r("0366"),u=r("35a1"),a=r("9bdd"),f=function(t,e){this.stopped=t,this.result=e},s=t.exports=function(t,e,r,s,l){var p,d,v,h,b,y,g,m=c(e,r,s?2:1);if(l)p=t;else{if(d=u(t),"function"!=typeof d)throw TypeError("Target is not iterable");if(o(d)){for(v=0,h=i(t.length);h>v;v++)if(b=s?m(n(g=t[v])[0],g[1]):m(t[v]),b&&b instanceof f)return b;return new f(!1)}p=d.call(t)}y=p.next;while(!(g=y.call(p)).done)if(b=a(p,m,g.value,s),"object"==typeof b&&b&&b instanceof f)return b;return new f(!1)};s.stop=function(t){return new f(!0,t)}},"23cb":function(t,e,r){var n=r("a691"),o=Math.max,i=Math.min;t.exports=function(t,e){var r=n(t);return r<0?o(r+e,0):i(r,e)}},"23e7":function(t,e,r){var n=r("da84"),o=r("06cf").f,i=r("9112"),c=r("6eeb"),u=r("ce4e"),a=r("e893"),f=r("94ca");t.exports=function(t,e){var r,s,l,p,d,v,h=t.target,b=t.global,y=t.stat;if(s=b?n:y?n[h]||u(h,{}):(n[h]||{}).prototype,s)for(l in e){if(d=e[l],t.noTargetGet?(v=o(s,l),p=v&&v.value):p=s[l],r=f(b?l:h+(y?".":"#")+l,t.forced),!r&&void 0!==p){if(typeof d===typeof p)continue;a(d,p)}(t.sham||p&&p.sham)&&i(d,"sham",!0),c(s,l,d,t)}}},"241c":function(t,e,r){var n=r("ca84"),o=r("7839"),i=o.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,i)}},2626:function(t,e,r){"use strict";var n=r("d066"),o=r("9bf2"),i=r("b622"),c=r("83ab"),u=i("species");t.exports=function(t){var e=n(t),r=o.f;c&&e&&!e[u]&&r(e,u,{configurable:!0,get:function(){return this}})}},"2ca0":function(t,e,r){"use strict";var n=r("23e7"),o=r("06cf").f,i=r("50c4"),c=r("5a34"),u=r("1d80"),a=r("ab13"),f=r("c430"),s="".startsWith,l=Math.min,p=a("startsWith"),d=!f&&!p&&!!function(){var t=o(String.prototype,"startsWith");return t&&!t.writable}();n({target:"String",proto:!0,forced:!d&&!p},{startsWith:function(t){var e=String(u(this));c(t);var r=i(l(arguments.length>1?arguments[1]:void 0,e.length)),n=String(t);return s?s.call(e,n,r):e.slice(r,r+n.length)===n}})},"2cf4":function(t,e,r){var n,o,i,c=r("da84"),u=r("d039"),a=r("c6b6"),f=r("0366"),s=r("1be4"),l=r("cc12"),p=r("1cdc"),d=c.location,v=c.setImmediate,h=c.clearImmediate,b=c.process,y=c.MessageChannel,g=c.Dispatch,m=0,x={},w="onreadystatechange",O=function(t){if(x.hasOwnProperty(t)){var e=x[t];delete x[t],e()}},j=function(t){return function(){O(t)}},S=function(t){O(t.data)},E=function(t){c.postMessage(t+"",d.protocol+"//"+d.host)};v&&h||(v=function(t){var e=[],r=1;while(arguments.length>r)e.push(arguments[r++]);return x[++m]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},n(m),m},h=function(t){delete x[t]},"process"==a(b)?n=function(t){b.nextTick(j(t))}:g&&g.now?n=function(t){g.now(j(t))}:y&&!p?(o=new y,i=o.port2,o.port1.onmessage=S,n=f(i.postMessage,i,1)):!c.addEventListener||"function"!=typeof postMessage||c.importScripts||u(E)||"file:"===d.protocol?n=w in l("script")?function(t){s.appendChild(l("script"))[w]=function(){s.removeChild(this),O(t)}}:function(t){setTimeout(j(t),0)}:(n=E,c.addEventListener("message",S,!1))),t.exports={set:v,clear:h}},"2d00":function(t,e,r){var n,o,i=r("da84"),c=r("342f"),u=i.process,a=u&&u.versions,f=a&&a.v8;f?(n=f.split("."),o=n[0]+n[1]):c&&(n=c.match(/Edge\/(\d+)/),(!n||n[1]>=74)&&(n=c.match(/Chrome\/(\d+)/),n&&(o=n[1]))),t.exports=o&&+o},"342f":function(t,e,r){var n=r("d066");t.exports=n("navigator","userAgent")||""},"35a1":function(t,e,r){var n=r("f5df"),o=r("3f8c"),i=r("b622"),c=i("iterator");t.exports=function(t){if(void 0!=t)return t[c]||t["@@iterator"]||o[n(t)]}},"37e8":function(t,e,r){var n=r("83ab"),o=r("9bf2"),i=r("825a"),c=r("df75");t.exports=n?Object.defineProperties:function(t,e){i(t);var r,n=c(e),u=n.length,a=0;while(u>a)o.f(t,r=n[a++],e[r]);return t}},"3bbe":function(t,e,r){var n=r("861d");t.exports=function(t){if(!n(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},"3ca3":function(t,e,r){"use strict";var n=r("6547").charAt,o=r("69f3"),i=r("7dd0"),c="String Iterator",u=o.set,a=o.getterFor(c);i(String,"String",(function(t){u(this,{type:c,string:String(t),index:0})}),(function(){var t,e=a(this),r=e.string,o=e.index;return o>=r.length?{value:void 0,done:!0}:(t=n(r,o),e.index+=t.length,{value:t,done:!1})}))},"3f8c":function(t,e){t.exports={}},4160:function(t,e,r){"use strict";var n=r("23e7"),o=r("17c2");n({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},"428f":function(t,e,r){var n=r("da84");t.exports=n},"44ad":function(t,e,r){var n=r("d039"),o=r("c6b6"),i="".split;t.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},"44d2":function(t,e,r){var n=r("b622"),o=r("7c73"),i=r("9bf2"),c=n("unscopables"),u=Array.prototype;void 0==u[c]&&i.f(u,c,{configurable:!0,value:o(null)}),t.exports=function(t){u[c][t]=!0}},"44de":function(t,e,r){var n=r("da84");t.exports=function(t,e){var r=n.console;r&&r.error&&(1===arguments.length?r.error(t):r.error(t,e))}},"44e7":function(t,e,r){var n=r("861d"),o=r("c6b6"),i=r("b622"),c=i("match");t.exports=function(t){var e;return n(t)&&(void 0!==(e=t[c])?!!e:"RegExp"==o(t))}},"45fc":function(t,e,r){"use strict";var n=r("23e7"),o=r("b727").some,i=r("a640"),c=r("ae40"),u=i("some"),a=c("some");n({target:"Array",proto:!0,forced:!u||!a},{some:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},4840:function(t,e,r){var n=r("825a"),o=r("1c0b"),i=r("b622"),c=i("species");t.exports=function(t,e){var r,i=n(t).constructor;return void 0===i||void 0==(r=n(i)[c])?e:o(r)}},4930:function(t,e,r){var n=r("d039");t.exports=!!Object.getOwnPropertySymbols&&!n((function(){return!String(Symbol())}))},"4d64":function(t,e,r){var n=r("fc6a"),o=r("50c4"),i=r("23cb"),c=function(t){return function(e,r,c){var u,a=n(e),f=o(a.length),s=i(c,f);if(t&&r!=r){while(f>s)if(u=a[s++],u!=u)return!0}else for(;f>s;s++)if((t||s in a)&&a[s]===r)return t||s||0;return!t&&-1}};t.exports={includes:c(!0),indexOf:c(!1)}},"4de4":function(t,e,r){"use strict";var n=r("23e7"),o=r("b727").filter,i=r("1dde"),c=r("ae40"),u=i("filter"),a=c("filter");n({target:"Array",proto:!0,forced:!u||!a},{filter:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},"50c4":function(t,e,r){var n=r("a691"),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},5135:function(t,e){var r={}.hasOwnProperty;t.exports=function(t,e){return r.call(t,e)}},5692:function(t,e,r){var n=r("c430"),o=r("c6cd");(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.5",mode:n?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"56ef":function(t,e,r){var n=r("d066"),o=r("241c"),i=r("7418"),c=r("825a");t.exports=n("Reflect","ownKeys")||function(t){var e=o.f(c(t)),r=i.f;return r?e.concat(r(t)):e}},"5a34":function(t,e,r){var n=r("44e7");t.exports=function(t){if(n(t))throw TypeError("The method doesn't accept regular expressions");return t}},"5c6c":function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},6547:function(t,e,r){var n=r("a691"),o=r("1d80"),i=function(t){return function(e,r){var i,c,u=String(o(e)),a=n(r),f=u.length;return a<0||a>=f?t?"":void 0:(i=u.charCodeAt(a),i<55296||i>56319||a+1===f||(c=u.charCodeAt(a+1))<56320||c>57343?t?u.charAt(a):i:t?u.slice(a,a+2):c-56320+(i-55296<<10)+65536)}};t.exports={codeAt:i(!1),charAt:i(!0)}},"65f0":function(t,e,r){var n=r("861d"),o=r("e8b5"),i=r("b622"),c=i("species");t.exports=function(t,e){var r;return o(t)&&(r=t.constructor,"function"!=typeof r||r!==Array&&!o(r.prototype)?n(r)&&(r=r[c],null===r&&(r=void 0)):r=void 0),new(void 0===r?Array:r)(0===e?0:e)}},"69f3":function(t,e,r){var n,o,i,c=r("7f9a"),u=r("da84"),a=r("861d"),f=r("9112"),s=r("5135"),l=r("f772"),p=r("d012"),d=u.WeakMap,v=function(t){return i(t)?o(t):n(t,{})},h=function(t){return function(e){var r;if(!a(e)||(r=o(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}};if(c){var b=new d,y=b.get,g=b.has,m=b.set;n=function(t,e){return m.call(b,t,e),e},o=function(t){return y.call(b,t)||{}},i=function(t){return g.call(b,t)}}else{var x=l("state");p[x]=!0,n=function(t,e){return f(t,x,e),e},o=function(t){return s(t,x)?t[x]:{}},i=function(t){return s(t,x)}}t.exports={set:n,get:o,has:i,enforce:v,getterFor:h}},"6eeb":function(t,e,r){var n=r("da84"),o=r("9112"),i=r("5135"),c=r("ce4e"),u=r("8925"),a=r("69f3"),f=a.get,s=a.enforce,l=String(String).split("String");(t.exports=function(t,e,r,u){var a=!!u&&!!u.unsafe,f=!!u&&!!u.enumerable,p=!!u&&!!u.noTargetGet;"function"==typeof r&&("string"!=typeof e||i(r,"name")||o(r,"name",e),s(r).source=l.join("string"==typeof e?e:"")),t!==n?(a?!p&&t[e]&&(f=!0):delete t[e],f?t[e]=r:o(t,e,r)):f?t[e]=r:c(e,r)})(Function.prototype,"toString",(function(){return"function"==typeof this&&f(this).source||u(this)}))},7418:function(t,e){e.f=Object.getOwnPropertySymbols},"746f":function(t,e,r){var n=r("428f"),o=r("5135"),i=r("e538"),c=r("9bf2").f;t.exports=function(t){var e=n.Symbol||(n.Symbol={});o(e,t)||c(e,t,{value:i.f(t)})}},7839:function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(t,e,r){var n=r("1d80");t.exports=function(t){return Object(n(t))}},"7c73":function(t,e,r){var n,o=r("825a"),i=r("37e8"),c=r("7839"),u=r("d012"),a=r("1be4"),f=r("cc12"),s=r("f772"),l=">",p="<",d="prototype",v="script",h=s("IE_PROTO"),b=function(){},y=function(t){return p+v+l+t+p+"/"+v+l},g=function(t){t.write(y("")),t.close();var e=t.parentWindow.Object;return t=null,e},m=function(){var t,e=f("iframe"),r="java"+v+":";return e.style.display="none",a.appendChild(e),e.src=String(r),t=e.contentWindow.document,t.open(),t.write(y("document.F=Object")),t.close(),t.F},x=function(){try{n=document.domain&&new ActiveXObject("htmlfile")}catch(e){}x=n?g(n):m();var t=c.length;while(t--)delete x[d][c[t]];return x()};u[h]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(b[d]=o(t),r=new b,b[d]=null,r[h]=t):r=x(),void 0===e?r:i(r,e)}},"7dd0":function(t,e,r){"use strict";var n=r("23e7"),o=r("9ed3"),i=r("e163"),c=r("d2bb"),u=r("d44e"),a=r("9112"),f=r("6eeb"),s=r("b622"),l=r("c430"),p=r("3f8c"),d=r("ae93"),v=d.IteratorPrototype,h=d.BUGGY_SAFARI_ITERATORS,b=s("iterator"),y="keys",g="values",m="entries",x=function(){return this};t.exports=function(t,e,r,s,d,w,O){o(r,e,s);var j,S,E,P=function(t){if(t===d&&_)return _;if(!h&&t in R)return R[t];switch(t){case y:return function(){return new r(this,t)};case g:return function(){return new r(this,t)};case m:return function(){return new r(this,t)}}return function(){return new r(this)}},T=e+" Iterator",L=!1,R=t.prototype,A=R[b]||R["@@iterator"]||d&&R[d],_=!h&&A||P(d),I="Array"==e&&R.entries||A;if(I&&(j=i(I.call(new t)),v!==Object.prototype&&j.next&&(l||i(j)===v||(c?c(j,v):"function"!=typeof j[b]&&a(j,b,x)),u(j,T,!0,!0),l&&(p[T]=x))),d==g&&A&&A.name!==g&&(L=!0,_=function(){return A.call(this)}),l&&!O||R[b]===_||a(R,b,_),p[e]=_,d)if(S={values:P(g),keys:w?_:P(y),entries:P(m)},O)for(E in S)(h||L||!(E in R))&&f(R,E,S[E]);else n({target:e,proto:!0,forced:h||L},S);return S}},"7f9a":function(t,e,r){var n=r("da84"),o=r("8925"),i=n.WeakMap;t.exports="function"===typeof i&&/native code/.test(o(i))},"825a":function(t,e,r){var n=r("861d");t.exports=function(t){if(!n(t))throw TypeError(String(t)+" is not an object");return t}},"83ab":function(t,e,r){var n=r("d039");t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8418:function(t,e,r){"use strict";var n=r("c04e"),o=r("9bf2"),i=r("5c6c");t.exports=function(t,e,r){var c=n(e);c in t?o.f(t,c,i(0,r)):t[c]=r}},"841c":function(t,e,r){"use strict";var n=r("d784"),o=r("825a"),i=r("1d80"),c=r("129f"),u=r("14c3");n("search",1,(function(t,e,r){return[function(e){var r=i(this),n=void 0==e?void 0:e[t];return void 0!==n?n.call(e,r):new RegExp(e)[t](String(r))},function(t){var n=r(e,t,this);if(n.done)return n.value;var i=o(t),a=String(this),f=i.lastIndex;c(f,0)||(i.lastIndex=0);var s=u(i,a);return c(i.lastIndex,f)||(i.lastIndex=f),null===s?-1:s.index}]}))},"861d":function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},8875:function(t,e,r){var n,o,i;(function(r,c){o=[],n=c,i="function"===typeof n?n.apply(e,o):n,void 0===i||(t.exports=i)})("undefined"!==typeof self&&self,(function(){function t(){var e=Object.getOwnPropertyDescriptor(document,"currentScript");if(!e&&"currentScript"in document&&document.currentScript)return document.currentScript;if(e&&e.get!==t&&document.currentScript)return document.currentScript;try{throw new Error}catch(d){var r,n,o,i=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,c=/@([^@]*):(\d+):(\d+)\s*$/gi,u=i.exec(d.stack)||c.exec(d.stack),a=u&&u[1]||!1,f=u&&u[2]||!1,s=document.location.href.replace(document.location.hash,""),l=document.getElementsByTagName("script");a===s&&(r=document.documentElement.outerHTML,n=new RegExp("(?:[^\\n]+?\\n){0,"+(f-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),o=r.replace(n,"$1").trim());for(var p=0;p<l.length;p++){if("interactive"===l[p].readyState)return l[p];if(l[p].src===a)return l[p];if(a===s&&l[p].innerHTML&&l[p].innerHTML.trim()===o)return l[p]}return null}}return t}))},8925:function(t,e,r){var n=r("c6cd"),o=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(t){return o.call(t)}),t.exports=n.inspectSource},"8bbf":function(e,r){e.exports=t},"90e3":function(t,e){var r=0,n=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++r+n).toString(36)}},9112:function(t,e,r){var n=r("83ab"),o=r("9bf2"),i=r("5c6c");t.exports=n?function(t,e,r){return o.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},9263:function(t,e,r){"use strict";var n=r("ad6d"),o=r("9f7f"),i=RegExp.prototype.exec,c=String.prototype.replace,u=i,a=function(){var t=/a/,e=/b*/g;return i.call(t,"a"),i.call(e,"a"),0!==t.lastIndex||0!==e.lastIndex}(),f=o.UNSUPPORTED_Y||o.BROKEN_CARET,s=void 0!==/()??/.exec("")[1],l=a||s||f;l&&(u=function(t){var e,r,o,u,l=this,p=f&&l.sticky,d=n.call(l),v=l.source,h=0,b=t;return p&&(d=d.replace("y",""),-1===d.indexOf("g")&&(d+="g"),b=String(t).slice(l.lastIndex),l.lastIndex>0&&(!l.multiline||l.multiline&&"\n"!==t[l.lastIndex-1])&&(v="(?: "+v+")",b=" "+b,h++),r=new RegExp("^(?:"+v+")",d)),s&&(r=new RegExp("^"+v+"$(?!\\s)",d)),a&&(e=l.lastIndex),o=i.call(p?r:l,b),p?o?(o.input=o.input.slice(h),o[0]=o[0].slice(h),o.index=l.lastIndex,l.lastIndex+=o[0].length):l.lastIndex=0:a&&o&&(l.lastIndex=l.global?o.index+o[0].length:e),s&&o&&o.length>1&&c.call(o[0],r,(function(){for(u=1;u<arguments.length-2;u++)void 0===arguments[u]&&(o[u]=void 0)})),o}),t.exports=u},"94ca":function(t,e,r){var n=r("d039"),o=/#|\.prototype\./,i=function(t,e){var r=u[c(t)];return r==f||r!=a&&("function"==typeof e?n(e):!!e)},c=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},u=i.data={},a=i.NATIVE="N",f=i.POLYFILL="P";t.exports=i},"96cf":function(t,e,r){var n=function(t){"use strict";var e,r=Object.prototype,n=r.hasOwnProperty,o="function"===typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",c=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function a(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{a({},"")}catch(I){a=function(t,e,r){return t[e]=r}}function f(t,e,r,n){var o=e&&e.prototype instanceof b?e:b,i=Object.create(o.prototype),c=new R(n||[]);return i._invoke=E(t,r,c),i}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(I){return{type:"throw",arg:I}}}t.wrap=f;var l="suspendedStart",p="suspendedYield",d="executing",v="completed",h={};function b(){}function y(){}function g(){}var m={};m[i]=function(){return this};var x=Object.getPrototypeOf,w=x&&x(x(A([])));w&&w!==r&&n.call(w,i)&&(m=w);var O=g.prototype=b.prototype=Object.create(m);function j(t){["next","throw","return"].forEach((function(e){a(t,e,(function(t){return this._invoke(e,t)}))}))}function S(t,e){function r(o,i,c,u){var a=s(t[o],t,i);if("throw"!==a.type){var f=a.arg,l=f.value;return l&&"object"===typeof l&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,c,u)}),(function(t){r("throw",t,c,u)})):e.resolve(l).then((function(t){f.value=t,c(f)}),(function(t){return r("throw",t,c,u)}))}u(a.arg)}var o;function i(t,n){function i(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(i,i):i()}this._invoke=i}function E(t,e,r){var n=l;return function(o,i){if(n===d)throw new Error("Generator is already running");if(n===v){if("throw"===o)throw i;return _()}r.method=o,r.arg=i;while(1){var c=r.delegate;if(c){var u=P(c,r);if(u){if(u===h)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===l)throw n=v,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=d;var a=s(t,e,r);if("normal"===a.type){if(n=r.done?v:p,a.arg===h)continue;return{value:a.arg,done:r.done}}"throw"===a.type&&(n=v,r.method="throw",r.arg=a.arg)}}}function P(t,r){var n=t.iterator[r.method];if(n===e){if(r.delegate=null,"throw"===r.method){if(t.iterator["return"]&&(r.method="return",r.arg=e,P(t,r),"throw"===r.method))return h;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var o=s(n,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,h;var i=o.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,h):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,h)}function T(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 L(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function R(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function A(t){if(t){var r=t[i];if(r)return r.call(t);if("function"===typeof t.next)return t;if(!isNaN(t.length)){var o=-1,c=function r(){while(++o<t.length)if(n.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return c.next=c}}return{next:_}}function _(){return{value:e,done:!0}}return y.prototype=O.constructor=g,g.constructor=y,y.displayName=a(g,u,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"===typeof t&&t.constructor;return!!e&&(e===y||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,g):(t.__proto__=g,a(t,u,"GeneratorFunction")),t.prototype=Object.create(O),t},t.awrap=function(t){return{__await:t}},j(S.prototype),S.prototype[c]=function(){return this},t.AsyncIterator=S,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var c=new S(f(e,r,n,o),i);return t.isGeneratorFunction(r)?c:c.next().then((function(t){return t.done?t.value:c.next()}))},j(O),a(O,u,"Generator"),O[i]=function(){return this},O.toString=function(){return"[object Generator]"},t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){while(e.length){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=A,R.prototype={constructor:R,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(L),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0],e=t.completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function o(n,o){return u.type="throw",u.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var c=this.tryEntries[i],u=c.completion;if("root"===c.tryLoc)return o("end");if(c.tryLoc<=this.prev){var a=n.call(c,"catchLoc"),f=n.call(c,"finallyLoc");if(a&&f){if(this.prev<c.catchLoc)return o(c.catchLoc,!0);if(this.prev<c.finallyLoc)return o(c.finallyLoc)}else if(a){if(this.prev<c.catchLoc)return o(c.catchLoc,!0)}else{if(!f)throw new Error("try statement without catch or finally");if(this.prev<c.finallyLoc)return o(c.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var c=i?i.completion:{};return c.type=t,c.arg=e,i?(this.method="next",this.next=i.finallyLoc,h):this.complete(c)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),h},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),L(r),h}},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;L(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:A(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),h}},t}(t.exports);try{regeneratorRuntime=n}catch(o){Function("r","regeneratorRuntime = r")(n)}},"9bdd":function(t,e,r){var n=r("825a");t.exports=function(t,e,r,o){try{return o?e(n(r)[0],r[1]):e(r)}catch(c){var i=t["return"];throw void 0!==i&&n(i.call(t)),c}}},"9bf2":function(t,e,r){var n=r("83ab"),o=r("0cfb"),i=r("825a"),c=r("c04e"),u=Object.defineProperty;e.f=n?u:function(t,e,r){if(i(t),e=c(e,!0),i(r),o)try{return u(t,e,r)}catch(n){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},"9ed3":function(t,e,r){"use strict";var n=r("ae93").IteratorPrototype,o=r("7c73"),i=r("5c6c"),c=r("d44e"),u=r("3f8c"),a=function(){return this};t.exports=function(t,e,r){var f=e+" Iterator";return t.prototype=o(n,{next:i(1,r)}),c(t,f,!1,!0),u[f]=a,t}},"9f7f":function(t,e,r){"use strict";var n=r("d039");function o(t,e){return RegExp(t,e)}e.UNSUPPORTED_Y=n((function(){var t=o("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),e.BROKEN_CARET=n((function(){var t=o("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},a15b:function(t,e,r){"use strict";var n=r("23e7"),o=r("44ad"),i=r("fc6a"),c=r("a640"),u=[].join,a=o!=Object,f=c("join",",");n({target:"Array",proto:!0,forced:a||!f},{join:function(t){return u.call(i(this),void 0===t?",":t)}})},a4d3:function(t,e,r){"use strict";var n=r("23e7"),o=r("da84"),i=r("d066"),c=r("c430"),u=r("83ab"),a=r("4930"),f=r("fdbf"),s=r("d039"),l=r("5135"),p=r("e8b5"),d=r("861d"),v=r("825a"),h=r("7b0b"),b=r("fc6a"),y=r("c04e"),g=r("5c6c"),m=r("7c73"),x=r("df75"),w=r("241c"),O=r("057f"),j=r("7418"),S=r("06cf"),E=r("9bf2"),P=r("d1e7"),T=r("9112"),L=r("6eeb"),R=r("5692"),A=r("f772"),_=r("d012"),I=r("90e3"),k=r("b622"),C=r("e538"),F=r("746f"),M=r("d44e"),N=r("69f3"),D=r("b727").forEach,G=A("hidden"),U="Symbol",q="prototype",V=k("toPrimitive"),W=N.set,B=N.getterFor(U),$=Object[q],H=o.Symbol,Y=i("JSON","stringify"),z=S.f,K=E.f,J=O.f,X=P.f,Q=R("symbols"),Z=R("op-symbols"),tt=R("string-to-symbol-registry"),et=R("symbol-to-string-registry"),rt=R("wks"),nt=o.QObject,ot=!nt||!nt[q]||!nt[q].findChild,it=u&&s((function(){return 7!=m(K({},"a",{get:function(){return K(this,"a",{value:7}).a}})).a}))?function(t,e,r){var n=z($,e);n&&delete $[e],K(t,e,r),n&&t!==$&&K($,e,n)}:K,ct=function(t,e){var r=Q[t]=m(H[q]);return W(r,{type:U,tag:t,description:e}),u||(r.description=e),r},ut=f?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof H},at=function(t,e,r){t===$&&at(Z,e,r),v(t);var n=y(e,!0);return v(r),l(Q,n)?(r.enumerable?(l(t,G)&&t[G][n]&&(t[G][n]=!1),r=m(r,{enumerable:g(0,!1)})):(l(t,G)||K(t,G,g(1,{})),t[G][n]=!0),it(t,n,r)):K(t,n,r)},ft=function(t,e){v(t);var r=b(e),n=x(r).concat(vt(r));return D(n,(function(e){u&&!lt.call(r,e)||at(t,e,r[e])})),t},st=function(t,e){return void 0===e?m(t):ft(m(t),e)},lt=function(t){var e=y(t,!0),r=X.call(this,e);return!(this===$&&l(Q,e)&&!l(Z,e))&&(!(r||!l(this,e)||!l(Q,e)||l(this,G)&&this[G][e])||r)},pt=function(t,e){var r=b(t),n=y(e,!0);if(r!==$||!l(Q,n)||l(Z,n)){var o=z(r,n);return!o||!l(Q,n)||l(r,G)&&r[G][n]||(o.enumerable=!0),o}},dt=function(t){var e=J(b(t)),r=[];return D(e,(function(t){l(Q,t)||l(_,t)||r.push(t)})),r},vt=function(t){var e=t===$,r=J(e?Z:b(t)),n=[];return D(r,(function(t){!l(Q,t)||e&&!l($,t)||n.push(Q[t])})),n};if(a||(H=function(){if(this instanceof H)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=I(t),r=function(t){this===$&&r.call(Z,t),l(this,G)&&l(this[G],e)&&(this[G][e]=!1),it(this,e,g(1,t))};return u&&ot&&it($,e,{configurable:!0,set:r}),ct(e,t)},L(H[q],"toString",(function(){return B(this).tag})),L(H,"withoutSetter",(function(t){return ct(I(t),t)})),P.f=lt,E.f=at,S.f=pt,w.f=O.f=dt,j.f=vt,C.f=function(t){return ct(k(t),t)},u&&(K(H[q],"description",{configurable:!0,get:function(){return B(this).description}}),c||L($,"propertyIsEnumerable",lt,{unsafe:!0}))),n({global:!0,wrap:!0,forced:!a,sham:!a},{Symbol:H}),D(x(rt),(function(t){F(t)})),n({target:U,stat:!0,forced:!a},{for:function(t){var e=String(t);if(l(tt,e))return tt[e];var r=H(e);return tt[e]=r,et[r]=e,r},keyFor:function(t){if(!ut(t))throw TypeError(t+" is not a symbol");if(l(et,t))return et[t]},useSetter:function(){ot=!0},useSimple:function(){ot=!1}}),n({target:"Object",stat:!0,forced:!a,sham:!u},{create:st,defineProperty:at,defineProperties:ft,getOwnPropertyDescriptor:pt}),n({target:"Object",stat:!0,forced:!a},{getOwnPropertyNames:dt,getOwnPropertySymbols:vt}),n({target:"Object",stat:!0,forced:s((function(){j.f(1)}))},{getOwnPropertySymbols:function(t){return j.f(h(t))}}),Y){var ht=!a||s((function(){var t=H();return"[null]"!=Y([t])||"{}"!=Y({a:t})||"{}"!=Y(Object(t))}));n({target:"JSON",stat:!0,forced:ht},{stringify:function(t,e,r){var n,o=[t],i=1;while(arguments.length>i)o.push(arguments[i++]);if(n=e,(d(e)||void 0!==t)&&!ut(t))return p(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!ut(e))return e}),o[1]=e,Y.apply(null,o)}})}H[q][V]||T(H[q],V,H[q].valueOf),M(H,U),_[G]=!0},a640:function(t,e,r){"use strict";var n=r("d039");t.exports=function(t,e){var r=[][t];return!!r&&n((function(){r.call(null,e||function(){throw 1},1)}))}},a691:function(t,e){var r=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:r)(t)}},ab13:function(t,e,r){var n=r("b622"),o=n("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(r){try{return e[o]=!1,"/./"[t](e)}catch(n){}}return!1}},ac1f:function(t,e,r){"use strict";var n=r("23e7"),o=r("9263");n({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},ad6d:function(t,e,r){"use strict";var n=r("825a");t.exports=function(){var t=n(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},ae40:function(t,e,r){var n=r("83ab"),o=r("d039"),i=r("5135"),c=Object.defineProperty,u={},a=function(t){throw t};t.exports=function(t,e){if(i(u,t))return u[t];e||(e={});var r=[][t],f=!!i(e,"ACCESSORS")&&e.ACCESSORS,s=i(e,0)?e[0]:a,l=i(e,1)?e[1]:void 0;return u[t]=!!r&&!o((function(){if(f&&!n)return!0;var t={length:-1};f?c(t,1,{enumerable:!0,get:a}):t[1]=1,r.call(t,s,l)}))}},ae93:function(t,e,r){"use strict";var n,o,i,c=r("e163"),u=r("9112"),a=r("5135"),f=r("b622"),s=r("c430"),l=f("iterator"),p=!1,d=function(){return this};[].keys&&(i=[].keys(),"next"in i?(o=c(c(i)),o!==Object.prototype&&(n=o)):p=!0),void 0==n&&(n={}),s||a(n,l)||u(n,l,d),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:p}},b041:function(t,e,r){"use strict";var n=r("00ee"),o=r("f5df");t.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},b575:function(t,e,r){var n,o,i,c,u,a,f,s,l=r("da84"),p=r("06cf").f,d=r("c6b6"),v=r("2cf4").set,h=r("1cdc"),b=l.MutationObserver||l.WebKitMutationObserver,y=l.process,g=l.Promise,m="process"==d(y),x=p(l,"queueMicrotask"),w=x&&x.value;w||(n=function(){var t,e;m&&(t=y.domain)&&t.exit();while(o){e=o.fn,o=o.next;try{e()}catch(r){throw o?c():i=void 0,r}}i=void 0,t&&t.enter()},m?c=function(){y.nextTick(n)}:b&&!h?(u=!0,a=document.createTextNode(""),new b(n).observe(a,{characterData:!0}),c=function(){a.data=u=!u}):g&&g.resolve?(f=g.resolve(void 0),s=f.then,c=function(){s.call(f,n)}):c=function(){v.call(l,n)}),t.exports=w||function(t){var e={fn:t,next:void 0};i&&(i.next=e),o||(o=e,c()),i=e}},b622:function(t,e,r){var n=r("da84"),o=r("5692"),i=r("5135"),c=r("90e3"),u=r("4930"),a=r("fdbf"),f=o("wks"),s=n.Symbol,l=a?s:s&&s.withoutSetter||c;t.exports=function(t){return i(f,t)||(u&&i(s,t)?f[t]=s[t]:f[t]=l("Symbol."+t)),f[t]}},b64b:function(t,e,r){var n=r("23e7"),o=r("7b0b"),i=r("df75"),c=r("d039"),u=c((function(){i(1)}));n({target:"Object",stat:!0,forced:u},{keys:function(t){return i(o(t))}})},b727:function(t,e,r){var n=r("0366"),o=r("44ad"),i=r("7b0b"),c=r("50c4"),u=r("65f0"),a=[].push,f=function(t){var e=1==t,r=2==t,f=3==t,s=4==t,l=6==t,p=5==t||l;return function(d,v,h,b){for(var y,g,m=i(d),x=o(m),w=n(v,h,3),O=c(x.length),j=0,S=b||u,E=e?S(d,O):r?S(d,0):void 0;O>j;j++)if((p||j in x)&&(y=x[j],g=w(y,j,m),t))if(e)E[j]=g;else if(g)switch(t){case 3:return!0;case 5:return y;case 6:return j;case 2:a.call(E,y)}else if(s)return!1;return l?-1:f||s?s:E}};t.exports={forEach:f(0),map:f(1),filter:f(2),some:f(3),every:f(4),find:f(5),findIndex:f(6)}},c04e:function(t,e,r){var n=r("861d");t.exports=function(t,e){if(!n(t))return t;var r,o;if(e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;if("function"==typeof(r=t.valueOf)&&!n(o=r.call(t)))return o;if(!e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},c430:function(t,e){t.exports=!1},c6b6:function(t,e){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},c6cd:function(t,e,r){var n=r("da84"),o=r("ce4e"),i="__core-js_shared__",c=n[i]||o(i,{});t.exports=c},c8ba:function(t,e){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(n){"object"===typeof window&&(r=window)}t.exports=r},ca84:function(t,e,r){var n=r("5135"),o=r("fc6a"),i=r("4d64").indexOf,c=r("d012");t.exports=function(t,e){var r,u=o(t),a=0,f=[];for(r in u)!n(c,r)&&n(u,r)&&f.push(r);while(e.length>a)n(u,r=e[a++])&&(~i(f,r)||f.push(r));return f}},cc12:function(t,e,r){var n=r("da84"),o=r("861d"),i=n.document,c=o(i)&&o(i.createElement);t.exports=function(t){return c?i.createElement(t):{}}},cdf9:function(t,e,r){var n=r("825a"),o=r("861d"),i=r("f069");t.exports=function(t,e){if(n(t),o(e)&&e.constructor===t)return e;var r=i.f(t),c=r.resolve;return c(e),r.promise}},ce4e:function(t,e,r){var n=r("da84"),o=r("9112");t.exports=function(t,e){try{o(n,t,e)}catch(r){n[t]=e}return e}},d012:function(t,e){t.exports={}},d039:function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},d066:function(t,e,r){var n=r("428f"),o=r("da84"),i=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?i(n[t])||i(o[t]):n[t]&&n[t][e]||o[t]&&o[t][e]}},d1e7:function(t,e,r){"use strict";var n={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!n.call({1:2},1);e.f=i?function(t){var e=o(this,t);return!!e&&e.enumerable}:n},d2bb:function(t,e,r){var n=r("825a"),o=r("3bbe");t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,t.call(r,[]),e=r instanceof Array}catch(i){}return function(r,i){return n(r),o(i),e?t.call(r,i):r.__proto__=i,r}}():void 0)},d3b7:function(t,e,r){var n=r("00ee"),o=r("6eeb"),i=r("b041");n||o(Object.prototype,"toString",i,{unsafe:!0})},d44e:function(t,e,r){var n=r("9bf2").f,o=r("5135"),i=r("b622"),c=i("toStringTag");t.exports=function(t,e,r){t&&!o(t=r?t:t.prototype,c)&&n(t,c,{configurable:!0,value:e})}},d784:function(t,e,r){"use strict";r("ac1f");var n=r("6eeb"),o=r("d039"),i=r("b622"),c=r("9263"),u=r("9112"),a=i("species"),f=!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),s=function(){return"$0"==="a".replace(/./,"$0")}(),l=i("replace"),p=function(){return!!/./[l]&&""===/./[l]("a","$0")}(),d=!o((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var r="ab".split(t);return 2!==r.length||"a"!==r[0]||"b"!==r[1]}));t.exports=function(t,e,r,l){var v=i(t),h=!o((function(){var e={};return e[v]=function(){return 7},7!=""[t](e)})),b=h&&!o((function(){var e=!1,r=/a/;return"split"===t&&(r={},r.constructor={},r.constructor[a]=function(){return r},r.flags="",r[v]=/./[v]),r.exec=function(){return e=!0,null},r[v](""),!e}));if(!h||!b||"replace"===t&&(!f||!s||p)||"split"===t&&!d){var y=/./[v],g=r(v,""[t],(function(t,e,r,n,o){return e.exec===c?h&&!o?{done:!0,value:y.call(e,r,n)}:{done:!0,value:t.call(r,e,n)}:{done:!1}}),{REPLACE_KEEPS_$0:s,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:p}),m=g[0],x=g[1];n(String.prototype,t,m),n(RegExp.prototype,v,2==e?function(t,e){return x.call(t,this,e)}:function(t){return x.call(t,this)})}l&&u(RegExp.prototype[v],"sham",!0)}},da84:function(t,e,r){(function(e){var r=function(t){return t&&t.Math==Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof e&&e)||Function("return this")()}).call(this,r("c8ba"))},dbb4:function(t,e,r){var n=r("23e7"),o=r("83ab"),i=r("56ef"),c=r("fc6a"),u=r("06cf"),a=r("8418");n({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(t){var e,r,n=c(t),o=u.f,f=i(n),s={},l=0;while(f.length>l)r=o(n,e=f[l++]),void 0!==r&&a(s,e,r);return s}})},ddb0:function(t,e,r){var n=r("da84"),o=r("fdbc"),i=r("e260"),c=r("9112"),u=r("b622"),a=u("iterator"),f=u("toStringTag"),s=i.values;for(var l in o){var p=n[l],d=p&&p.prototype;if(d){if(d[a]!==s)try{c(d,a,s)}catch(h){d[a]=s}if(d[f]||c(d,f,l),o[l])for(var v in i)if(d[v]!==i[v])try{c(d,v,i[v])}catch(h){d[v]=i[v]}}}},df75:function(t,e,r){var n=r("ca84"),o=r("7839");t.exports=Object.keys||function(t){return n(t,o)}},e163:function(t,e,r){var n=r("5135"),o=r("7b0b"),i=r("f772"),c=r("e177"),u=i("IE_PROTO"),a=Object.prototype;t.exports=c?Object.getPrototypeOf:function(t){return t=o(t),n(t,u)?t[u]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},e177:function(t,e,r){var n=r("d039");t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},e260:function(t,e,r){"use strict";var n=r("fc6a"),o=r("44d2"),i=r("3f8c"),c=r("69f3"),u=r("7dd0"),a="Array Iterator",f=c.set,s=c.getterFor(a);t.exports=u(Array,"Array",(function(t,e){f(this,{type:a,target:n(t),index:0,kind:e})}),(function(){var t=s(this),e=t.target,r=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:e[n],done:!1}:{value:[n,e[n]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},e2cc:function(t,e,r){var n=r("6eeb");t.exports=function(t,e,r){for(var o in e)n(t,o,e[o],r);return t}},e439:function(t,e,r){var n=r("23e7"),o=r("d039"),i=r("fc6a"),c=r("06cf").f,u=r("83ab"),a=o((function(){c(1)})),f=!u||a;n({target:"Object",stat:!0,forced:f,sham:!u},{getOwnPropertyDescriptor:function(t,e){return c(i(t),e)}})},e538:function(t,e,r){var n=r("b622");e.f=n},e667:function(t,e){t.exports=function(t){try{return{error:!1,value:t()}}catch(e){return{error:!0,value:e}}}},e6cf:function(t,e,r){"use strict";var n,o,i,c,u=r("23e7"),a=r("c430"),f=r("da84"),s=r("d066"),l=r("fea9"),p=r("6eeb"),d=r("e2cc"),v=r("d44e"),h=r("2626"),b=r("861d"),y=r("1c0b"),g=r("19aa"),m=r("c6b6"),x=r("8925"),w=r("2266"),O=r("1c7e"),j=r("4840"),S=r("2cf4").set,E=r("b575"),P=r("cdf9"),T=r("44de"),L=r("f069"),R=r("e667"),A=r("69f3"),_=r("94ca"),I=r("b622"),k=r("2d00"),C=I("species"),F="Promise",M=A.get,N=A.set,D=A.getterFor(F),G=l,U=f.TypeError,q=f.document,V=f.process,W=s("fetch"),B=L.f,$=B,H="process"==m(V),Y=!!(q&&q.createEvent&&f.dispatchEvent),z="unhandledrejection",K="rejectionhandled",J=0,X=1,Q=2,Z=1,tt=2,et=_(F,(function(){var t=x(G)!==String(G);if(!t){if(66===k)return!0;if(!H&&"function"!=typeof PromiseRejectionEvent)return!0}if(a&&!G.prototype["finally"])return!0;if(k>=51&&/native code/.test(G))return!1;var e=G.resolve(1),r=function(t){t((function(){}),(function(){}))},n=e.constructor={};return n[C]=r,!(e.then((function(){}))instanceof r)})),rt=et||!O((function(t){G.all(t)["catch"]((function(){}))})),nt=function(t){var e;return!(!b(t)||"function"!=typeof(e=t.then))&&e},ot=function(t,e,r){if(!e.notified){e.notified=!0;var n=e.reactions;E((function(){var o=e.value,i=e.state==X,c=0;while(n.length>c){var u,a,f,s=n[c++],l=i?s.ok:s.fail,p=s.resolve,d=s.reject,v=s.domain;try{l?(i||(e.rejection===tt&&at(t,e),e.rejection=Z),!0===l?u=o:(v&&v.enter(),u=l(o),v&&(v.exit(),f=!0)),u===s.promise?d(U("Promise-chain cycle")):(a=nt(u))?a.call(u,p,d):p(u)):d(o)}catch(h){v&&!f&&v.exit(),d(h)}}e.reactions=[],e.notified=!1,r&&!e.rejection&&ct(t,e)}))}},it=function(t,e,r){var n,o;Y?(n=q.createEvent("Event"),n.promise=e,n.reason=r,n.initEvent(t,!1,!0),f.dispatchEvent(n)):n={promise:e,reason:r},(o=f["on"+t])?o(n):t===z&&T("Unhandled promise rejection",r)},ct=function(t,e){S.call(f,(function(){var r,n=e.value,o=ut(e);if(o&&(r=R((function(){H?V.emit("unhandledRejection",n,t):it(z,t,n)})),e.rejection=H||ut(e)?tt:Z,r.error))throw r.value}))},ut=function(t){return t.rejection!==Z&&!t.parent},at=function(t,e){S.call(f,(function(){H?V.emit("rejectionHandled",t):it(K,t,e.value)}))},ft=function(t,e,r,n){return function(o){t(e,r,o,n)}},st=function(t,e,r,n){e.done||(e.done=!0,n&&(e=n),e.value=r,e.state=Q,ot(t,e,!0))},lt=function(t,e,r,n){if(!e.done){e.done=!0,n&&(e=n);try{if(t===r)throw U("Promise can't be resolved itself");var o=nt(r);o?E((function(){var n={done:!1};try{o.call(r,ft(lt,t,n,e),ft(st,t,n,e))}catch(i){st(t,n,i,e)}})):(e.value=r,e.state=X,ot(t,e,!1))}catch(i){st(t,{done:!1},i,e)}}};et&&(G=function(t){g(this,G,F),y(t),n.call(this);var e=M(this);try{t(ft(lt,this,e),ft(st,this,e))}catch(r){st(this,e,r)}},n=function(t){N(this,{type:F,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:J,value:void 0})},n.prototype=d(G.prototype,{then:function(t,e){var r=D(this),n=B(j(this,G));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=H?V.domain:void 0,r.parent=!0,r.reactions.push(n),r.state!=J&&ot(this,r,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new n,e=M(t);this.promise=t,this.resolve=ft(lt,t,e),this.reject=ft(st,t,e)},L.f=B=function(t){return t===G||t===i?new o(t):$(t)},a||"function"!=typeof l||(c=l.prototype.then,p(l.prototype,"then",(function(t,e){var r=this;return new G((function(t,e){c.call(r,t,e)})).then(t,e)}),{unsafe:!0}),"function"==typeof W&&u({global:!0,enumerable:!0,forced:!0},{fetch:function(t){return P(G,W.apply(f,arguments))}}))),u({global:!0,wrap:!0,forced:et},{Promise:G}),v(G,F,!1,!0),h(F),i=s(F),u({target:F,stat:!0,forced:et},{reject:function(t){var e=B(this);return e.reject.call(void 0,t),e.promise}}),u({target:F,stat:!0,forced:a||et},{resolve:function(t){return P(a&&this===i?G:this,t)}}),u({target:F,stat:!0,forced:rt},{all:function(t){var e=this,r=B(e),n=r.resolve,o=r.reject,i=R((function(){var r=y(e.resolve),i=[],c=0,u=1;w(t,(function(t){var a=c++,f=!1;i.push(void 0),u++,r.call(e,t).then((function(t){f||(f=!0,i[a]=t,--u||n(i))}),o)})),--u||n(i)}));return i.error&&o(i.value),r.promise},race:function(t){var e=this,r=B(e),n=r.reject,o=R((function(){var o=y(e.resolve);w(t,(function(t){o.call(e,t).then(r.resolve,n)}))}));return o.error&&n(o.value),r.promise}})},e893:function(t,e,r){var n=r("5135"),o=r("56ef"),i=r("06cf"),c=r("9bf2");t.exports=function(t,e){for(var r=o(e),u=c.f,a=i.f,f=0;f<r.length;f++){var s=r[f];n(t,s)||u(t,s,a(e,s))}}},e8b5:function(t,e,r){var n=r("c6b6");t.exports=Array.isArray||function(t){return"Array"==n(t)}},e95a:function(t,e,r){var n=r("b622"),o=r("3f8c"),i=n("iterator"),c=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||c[i]===t)}},f069:function(t,e,r){"use strict";var n=r("1c0b"),o=function(t){var e,r;this.promise=new t((function(t,n){if(void 0!==e||void 0!==r)throw TypeError("Bad Promise constructor");e=t,r=n})),this.resolve=n(e),this.reject=n(r)};t.exports.f=function(t){return new o(t)}},f5df:function(t,e,r){var n=r("00ee"),o=r("c6b6"),i=r("b622"),c=i("toStringTag"),u="Arguments"==o(function(){return arguments}()),a=function(t,e){try{return t[e]}catch(r){}};t.exports=n?o:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=a(e=Object(t),c))?r:u?o(e):"Object"==(n=o(e))&&"function"==typeof e.callee?"Arguments":n}},f772:function(t,e,r){var n=r("5692"),o=r("90e3"),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},fae3:function(t,e,r){"use strict";if(r.r(e),r.d(e,"FetchStates",(function(){return l})),r.d(e,"createAbortController",(function(){return m})),r.d(e,"useFetch",(function(){return x})),r.d(e,"isRequest",(function(){return d})),r.d(e,"isBaseURL",(function(){return v})),r.d(e,"isOnFetchState",(function(){return h})),r.d(e,"isFetchCompleted",(function(){return b})),r.d(e,"isFetchFetching",(function(){return y})),r.d(e,"isFetchIdle",(function(){return g})),r.d(e,"watchFetchRequest",(function(){return w})),r.d(e,"watchFetchResponse",(function(){return O})),"undefined"!==typeof window){var n=window.document.currentScript,o=r("8875");n=o(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:o});var i=n&&n.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);i&&(r.p=i[1])}r("e260"),r("a15b"),r("d3b7"),r("e6cf"),r("ac1f"),r("3ca3"),r("841c"),r("ddb0"),r("96cf");function c(t,e,r,n,o,i,c){try{var u=t[i](c),a=u.value}catch(f){return void r(f)}u.done?e(a):Promise.resolve(a).then(n,o)}function u(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function u(t){c(i,n,o,u,a,"next",t)}function a(t){c(i,n,o,u,a,"throw",t)}u(void 0)}))}}r("a4d3"),r("4de4"),r("4160"),r("e439"),r("dbb4"),r("b64b"),r("159b");function a(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function f(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function s(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?f(Object(r),!0).forEach((function(e){a(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var l,p=r("8bbf"),d=(r("45fc"),r("2ca0"),function(t){return t instanceof Request}),v=function(t){var e=["http://","https://"];return"string"===typeof t&&e.some((function(e){return t.startsWith(e)}))},h=function(t,e){return Object(p["computed"])((function(){return t.value===e}))},b=function(t){return h(t,l.Completed)},y=function(t){return h(t,l.Fetching)},g=function(t){return h(t,l.Idle)};(function(t){t["Idle"]="idle",t["Fetching"]="fetching",t["Completed"]="completed"})(l||(l={}));var m=function(){return window&&window.AbortController||AbortController?new AbortController:null};function x(t,e){var r=Object(p["ref"])(t||""),n=Object(p["ref"])(e||{}),o=Object(p["ref"])(null),i=Object(p["ref"])(null),c=Object(p["ref"])(null),a=Object(p["ref"])(l.Idle),f=Object(p["ref"])(m()),h=Object(p["ref"])(""),x=Object(p["ref"])(),w=Object(p["ref"])(null),O=function t(e,o){if(d(e))return t(e.clone().url,s(s(s({},e),n.value),o||{}));if(v(e))return new Request(e,s(s({},n.value),o||{}));var i=[d(r.value)?r.value.url:r.value,e].join("");return new Request(i,s(s({},n.value),o||{}))},j=function(){var t=u(regeneratorRuntime.mark((function t(e,r){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,c.value=null,f.value=m(),o.value=O(e,s(s({},r||{}),{},{signal:f.value?f.value.signal:null})),a.value=l.Fetching,t.next=7,window.fetch(o.value);case 7:return i.value=t.sent,t.abrupt("return",i.value);case 11:return t.prev=11,t.t0=t["catch"](0),c.value=t.t0,t.t0 instanceof Response&&(i.value=t.t0),t.abrupt("return",i.value);case 16:return t.prev=16,a.value=l.Completed,t.finish(16);case 19:case"end":return t.stop()}}),t,null,[[0,11,16,19]])})));return function(e,r){return t.apply(this,arguments)}}(),S=function(){f.value?T.value===l.Fetching?f.value.abort():console.warn("abort as no effect because state(%s)",T.value):console.warn("abort as no effect because abortControllerRef is not defined")},E=Object(p["computed"])((function(){return o.value})),P=Object(p["computed"])((function(){return i.value})),T=Object(p["computed"])((function(){return a.value})),L=Object(p["computed"])((function(){return c.value})),R=Object(p["computed"])((function(){return w.value})),A=Object(p["computed"])((function(){return h.value})),_=Object(p["computed"])((function(){return x.value}));return Object(p["watchEffect"])(u(regeneratorRuntime.mark((function t(){var e,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e=i.value,e){t.next=3;break}return t.abrupt("retur