@openmrs/esm-implementer-tools-app 3.3.2-pre.30 → 3.3.2-pre.38

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/769.js CHANGED
@@ -1,3 +1,3 @@
1
1
  /*! For license information please see 769.js.LICENSE.txt */
2
- "use strict";(self.webpackChunk_openmrs_esm_implementer_tools_app=self.webpackChunk_openmrs_esm_implementer_tools_app||[]).push([[769],{7555:(t,e,r)=>{r.d(e,{Z:()=>i});var n=r(8251),o=r(6983),a=r.n(o),c=a().createElement("path",{d:"M17 15L17 8 15 8 15 15 8 15 8 17 15 17 15 24 17 24 17 17 24 17 24 15z"});const i=a().forwardRef((function(t,e){var r=t.children,o=(0,n._)(t,["children"]);return a().createElement(n.I,(0,n.a)({width:16,height:16,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:e},o),c,r)}))},2626:(t,e,r)=>{r.d(e,{Z:()=>i});var n=r(8251),o=r(6983),a=r.n(o),c=a().createElement("path",{d:"M8 11L3 6 3.7 5.3 8 9.6 12.3 5.3 13 6z"});const i=a().forwardRef((function(t,e){var r=t.children,o=(0,n._)(t,["children"]);return a().createElement(n.I,(0,n.a)({width:16,height:16,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:e},o),c,r)}))},1890:(t,e,r)=>{r.d(e,{Z:()=>i});var n=r(8251),o=r(6983),a=r.n(o),c=a().createElement("path",{d:"M8 5L13 10 12.3 10.7 8 6.4 3.7 10.7 3 10z"});const i=a().forwardRef((function(t,e){var r=t.children,o=(0,n._)(t,["children"]);return a().createElement(n.I,(0,n.a)({width:16,height:16,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:e},o),c,r)}))},4790:(t,e,r)=>{r.d(e,{Z:()=>i});var n=r(8251),o=r(6983),a=r.n(o),c=a().createElement("path",{d:"M24 9.4L22.6 8 16 14.6 9.4 8 8 9.4 14.6 16 8 22.6 9.4 24 16 17.4 22.6 24 24 22.6 17.4 16 24 9.4z"});const i=a().forwardRef((function(t,e){var r=t.children,o=(0,n._)(t,["children"]);return a().createElement(n.I,(0,n.a)({width:16,height:16,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:e},o),c,r)}))},2562:(t,e,r)=>{r.d(e,{Z:()=>i});var n=r(8251),o=r(6983),a=r.n(o),c=a().createElement("path",{d:"M13 7L12.3 6.3 8.5 10.1 8.5 1 7.5 1 7.5 10.1 3.7 6.3 3 7 8 12zM13 12v2H3v-2H2v2l0 0c0 .6.4 1 1 1h10c.6 0 1-.4 1-1l0 0v-2H13z"});const i=a().forwardRef((function(t,e){var r=t.children,o=(0,n._)(t,["children"]);return a().createElement(n.I,(0,n.a)({width:16,height:16,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:e},o),c,r)}))},2059:(t,e,r)=>{r.d(e,{Z:()=>i});var n=r(8251),o=r(6983),a=r.n(o),c=a().createElement("path",{d:"M2 26H30V28H2zM25.4 9c.8-.8.8-2 0-2.8 0 0 0 0 0 0l-3.6-3.6c-.8-.8-2-.8-2.8 0 0 0 0 0 0 0l-15 15V24h6.4L25.4 9zM20.4 4L24 7.6l-3 3L17.4 7 20.4 4zM6 22v-3.6l10-10 3.6 3.6-10 10H6z"});const i=a().forwardRef((function(t,e){var r=t.children,o=(0,n._)(t,["children"]);return a().createElement(n.I,(0,n.a)({width:16,height:16,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:e},o),c,r)}))},2015:(t,e,r)=>{r.d(e,{Z:()=>i});var n=r(8251),o=r(6983),a=r.n(o),c=a().createElement("path",{d:"M18,28A12,12,0,1,0,6,16v6.2L2.4,18.6,1,20l6,6,6-6-1.4-1.4L8,22.2V16H8A10,10,0,1,1,18,26Z"});const i=a().forwardRef((function(t,e){var r=t.children,o=(0,n._)(t,["children"]);return a().createElement(n.I,(0,n.a)({width:16,height:16,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:e},o),c,r)}))},9963:(t,e,r)=>{r.d(e,{Z:()=>i});var n=r(8251),o=r(6983),a=r.n(o),c=a().createElement("path",{d:"M13.9,4.6l-2.5-2.5C11.3,2.1,11.1,2,11,2H3C2.4,2,2,2.4,2,3v10c0,0.6,0.4,1,1,1h10c0.6,0,1-0.4,1-1V5\tC14,4.9,13.9,4.7,13.9,4.6z M6,3h4v2H6V3z M10,13H6V9h4V13z M11,13V9c0-0.6-0.4-1-1-1H6C5.4,8,5,8.4,5,9v4H3V3h2v2c0,0.6,0.4,1,1,1\th4c0.6,0,1-0.4,1-1V3.2l2,2V13H11z"});const i=a().forwardRef((function(t,e){var r=t.children,o=(0,n._)(t,["children"]);return a().createElement(n.I,(0,n.a)({width:16,height:16,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:e},o),c,r)}))},4946:(t,e,r)=>{r.d(e,{Z:()=>u});var n=r(8251),o=r(6983),a=r.n(o),c=a().createElement("path",{d:"M12 12H14V24H12zM18 12H20V24H18z"}),i=a().createElement("path",{d:"M4 6V8H6V28a2 2 0 002 2H24a2 2 0 002-2V8h2V6zM8 28V8H24V28zM12 2H20V4H12z"});const u=a().forwardRef((function(t,e){var r=t.children,o=(0,n._)(t,["children"]);return a().createElement(n.I,(0,n.a)({width:16,height:16,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:e},o),c,i,r)}))},675:(t,e,r)=>{r.d(e,{Z:()=>i});var n=r(3679);var o=r(6763),a=r(2717);function c(t){var e=this.__data__=new n.Z(t);this.size=e.size}c.prototype.clear=function(){this.__data__=new n.Z,this.size=0},c.prototype.delete=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r},c.prototype.get=function(t){return this.__data__.get(t)},c.prototype.has=function(t){return this.__data__.has(t)},c.prototype.set=function(t,e){var r=this.__data__;if(r instanceof n.Z){var c=r.__data__;if(!o.Z||c.length<199)return c.push([t,e]),this.size=++r.size,this;r=this.__data__=new a.Z(c)}return r.set(t,e),this.size=r.size,this};const i=c},4269:(t,e,r)=>{r.d(e,{Z:()=>n});const n=r(658).Z.Uint8Array},1931:(t,e,r)=>{r.d(e,{Z:()=>f});var n=r(175),o=r(6575),a=r(7840),c=r(5313),i=r(4161),u=Object.prototype.hasOwnProperty;const f=function(t,e){var r=(0,o.Z)(t),f=!r&&(0,n.Z)(t),s=!r&&!f&&(0,a.Z)(t),l=!r&&!f&&!s&&(0,i.Z)(t),v=r||f||s||l,d=v?function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}(t.length,String):[],p=d.length;for(var h in t)!e&&!u.call(t,h)||v&&("length"==h||s&&("offset"==h||"parent"==h)||l&&("buffer"==h||"byteLength"==h||"byteOffset"==h)||(0,c.Z)(h,p))||d.push(h);return d}},9616:(t,e,r)=>{r.d(e,{Z:()=>c});var n=r(1250),o=r(8670),a=Object.prototype.hasOwnProperty;const c=function(t,e,r){var c=t[e];a.call(t,e)&&(0,o.Z)(c,r)&&(void 0!==r||e in t)||(0,n.Z)(t,e,r)}},1250:(t,e,r)=>{r.d(e,{Z:()=>o});var n=r(6684);const o=function(t,e,r){"__proto__"==e&&n.Z?(0,n.Z)(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}},7106:(t,e,r)=>{r.d(e,{Z:()=>a});var n=r(8717),o=r(199);const a=function(t,e){for(var r=0,a=(e=(0,n.Z)(e,t)).length;null!=t&&r<a;)t=t[(0,o.Z)(e[r++])];return r&&r==a?t:void 0}},6449:(t,e,r)=>{r.d(e,{Z:()=>a});var n=r(4895),o=r(6575);const a=function(t,e,r){var a=e(t);return(0,o.Z)(t)?a:(0,n.Z)(a,r(t))}},9040:(t,e,r)=>{r.d(e,{Z:()=>A});var n=r(675),o=r(2199);const a=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(e(t[r],r,t))return!0;return!1};var c=r(2248);const i=function(t,e,r,n,i,u){var f=1&r,s=t.length,l=e.length;if(s!=l&&!(f&&l>s))return!1;var v=u.get(t),d=u.get(e);if(v&&d)return v==e&&d==t;var p=-1,h=!0,Z=2&r?new o.Z:void 0;for(u.set(t,e),u.set(e,t);++p<s;){var b=t[p],y=e[p];if(n)var g=f?n(y,b,p,e,t,u):n(b,y,p,t,e,u);if(void 0!==g){if(g)continue;h=!1;break}if(Z){if(!a(e,(function(t,e){if(!(0,c.Z)(Z,e)&&(b===t||i(b,t,r,n,u)))return Z.push(e)}))){h=!1;break}}else if(b!==y&&!i(b,y,r,n,u)){h=!1;break}}return u.delete(t),u.delete(e),h};var u=r(7851),f=r(4269),s=r(8670);const l=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t,n){r[++e]=[n,t]})),r},v=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t){r[++e]=t})),r};var d=u.Z?u.Z.prototype:void 0,p=d?d.valueOf:void 0;var h=r(8924),Z=Object.prototype.hasOwnProperty;var b=r(606),y=r(6575),g=r(7840),w=r(4161),j="[object Arguments]",m="[object Array]",O="[object Object]",_=Object.prototype.hasOwnProperty;const x=function(t,e,r,o,a,c){var u=(0,y.Z)(t),d=(0,y.Z)(e),x=u?m:(0,b.Z)(t),E=d?m:(0,b.Z)(e),A=(x=x==j?O:x)==O,V=(E=E==j?O:E)==O,M=x==E;if(M&&(0,g.Z)(t)){if(!(0,g.Z)(e))return!1;u=!0,A=!1}if(M&&!A)return c||(c=new n.Z),u||(0,w.Z)(t)?i(t,e,r,o,a,c):function(t,e,r,n,o,a,c){switch(r){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!a(new f.Z(t),new f.Z(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return(0,s.Z)(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var u=l;case"[object Set]":var d=1&n;if(u||(u=v),t.size!=e.size&&!d)return!1;var h=c.get(t);if(h)return h==e;n|=2,c.set(t,e);var Z=i(u(t),u(e),n,o,a,c);return c.delete(t),Z;case"[object Symbol]":if(p)return p.call(t)==p.call(e)}return!1}(t,e,x,r,o,a,c);if(!(1&r)){var R=A&&_.call(t,"__wrapped__"),S=V&&_.call(e,"__wrapped__");if(R||S){var z=R?t.value():t,C=S?e.value():e;return c||(c=new n.Z),a(z,C,r,o,c)}}return!!M&&(c||(c=new n.Z),function(t,e,r,n,o,a){var c=1&r,i=(0,h.Z)(t),u=i.length;if(u!=(0,h.Z)(e).length&&!c)return!1;for(var f=u;f--;){var s=i[f];if(!(c?s in e:Z.call(e,s)))return!1}var l=a.get(t),v=a.get(e);if(l&&v)return l==e&&v==t;var d=!0;a.set(t,e),a.set(e,t);for(var p=c;++f<u;){var b=t[s=i[f]],y=e[s];if(n)var g=c?n(y,b,s,e,t,a):n(b,y,s,t,e,a);if(!(void 0===g?b===y||o(b,y,r,n,a):g)){d=!1;break}p||(p="constructor"==s)}if(d&&!p){var w=t.constructor,j=e.constructor;w==j||!("constructor"in t)||!("constructor"in e)||"function"==typeof w&&w instanceof w&&"function"==typeof j&&j instanceof j||(d=!1)}return a.delete(t),a.delete(e),d}(t,e,r,o,a,c))};var E=r(4897);const A=function t(e,r,n,o,a){return e===r||(null==e||null==r||!(0,E.Z)(e)&&!(0,E.Z)(r)?e!=e&&r!=r:x(e,r,n,o,t,a))}},9295:(t,e,r)=>{r.d(e,{Z:()=>c});var n=r(9494);const o=(0,r(6899).Z)(Object.keys,Object);var a=Object.prototype.hasOwnProperty;const c=function(t){if(!(0,n.Z)(t))return o(t);var e=[];for(var r in Object(t))a.call(t,r)&&"constructor"!=r&&e.push(r);return e}},8717:(t,e,r)=>{r.d(e,{Z:()=>d});var n=r(6575),o=r(5506),a=r(2717);function c(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var r=function(){var n=arguments,o=e?e.apply(this,n):n[0],a=r.cache;if(a.has(o))return a.get(o);var c=t.apply(this,n);return r.cache=a.set(o,c)||a,c};return r.cache=new(c.Cache||a.Z),r}c.Cache=a.Z;var i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,u=/\\(\\)?/g;const f=(s=c((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(i,(function(t,r,n,o){e.push(n?o.replace(u,"$1"):r||t)})),e}),(function(t){return 500===l.size&&l.clear(),t})),l=s.cache,s);var s,l,v=r(2341);const d=function(t,e){return(0,n.Z)(t)?t:(0,o.Z)(t,e)?[t]:f((0,v.Z)(t))}},8924:(t,e,r)=>{r.d(e,{Z:()=>c});var n=r(6449),o=r(8018),a=r(825);const c=function(t){return(0,n.Z)(t,a.Z,o.Z)}},1325:(t,e,r)=>{r.d(e,{Z:()=>c});var n=r(6449),o=r(1830),a=r(4027);const c=function(t){return(0,n.Z)(t,a.Z,o.Z)}},4003:(t,e,r)=>{r.d(e,{Z:()=>n});const n=(0,r(6899).Z)(Object.getPrototypeOf,Object)},8018:(t,e,r)=>{r.d(e,{Z:()=>c});var n=r(1940),o=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols;const c=a?function(t){return null==t?[]:(t=Object(t),function(t,e){for(var r=-1,n=null==t?0:t.length,o=0,a=[];++r<n;){var c=t[r];e(c,r,t)&&(a[o++]=c)}return a}(a(t),(function(e){return o.call(t,e)})))}:n.Z},1830:(t,e,r)=>{r.d(e,{Z:()=>i});var n=r(4895),o=r(4003),a=r(8018),c=r(1940);const i=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)(0,n.Z)(e,(0,a.Z)(t)),t=(0,o.Z)(t);return e}:c.Z},606:(t,e,r)=>{r.d(e,{Z:()=>O});var n=r(682),o=r(658);const a=(0,n.Z)(o.Z,"DataView");var c=r(6763);const i=(0,n.Z)(o.Z,"Promise"),u=(0,n.Z)(o.Z,"Set"),f=(0,n.Z)(o.Z,"WeakMap");var s=r(963),l=r(9441),v="[object Map]",d="[object Promise]",p="[object Set]",h="[object WeakMap]",Z="[object DataView]",b=(0,l.Z)(a),y=(0,l.Z)(c.Z),g=(0,l.Z)(i),w=(0,l.Z)(u),j=(0,l.Z)(f),m=s.Z;(a&&m(new a(new ArrayBuffer(1)))!=Z||c.Z&&m(new c.Z)!=v||i&&m(i.resolve())!=d||u&&m(new u)!=p||f&&m(new f)!=h)&&(m=function(t){var e=(0,s.Z)(t),r="[object Object]"==e?t.constructor:void 0,n=r?(0,l.Z)(r):"";if(n)switch(n){case b:return Z;case y:return v;case g:return d;case w:return p;case j:return h}return e});const O=m},5313:(t,e,r)=>{r.d(e,{Z:()=>o});var n=/^(?:0|[1-9]\d*)$/;const o=function(t,e){var r=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==r||"symbol"!=r&&n.test(t))&&t>-1&&t%1==0&&t<e}},5506:(t,e,r)=>{r.d(e,{Z:()=>i});var n=r(6575),o=r(54),a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,c=/^\w*$/;const i=function(t,e){if((0,n.Z)(t))return!1;var r=typeof t;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=t&&!(0,o.Z)(t))||c.test(t)||!a.test(t)||null!=e&&t in Object(e)}},9494:(t,e,r)=>{r.d(e,{Z:()=>o});var n=Object.prototype;const o=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||n)}},9801:(t,e,r)=>{r.d(e,{Z:()=>i});var n=r(5852),o="object"==typeof exports&&exports&&!exports.nodeType&&exports,a=o&&"object"==typeof module&&module&&!module.nodeType&&module,c=a&&a.exports===o&&n.Z.process;const i=function(){try{return a&&a.require&&a.require("util").types||c&&c.binding&&c.binding("util")}catch(t){}}()},6899:(t,e,r)=>{r.d(e,{Z:()=>n});const n=function(t,e){return function(r){return t(e(r))}}},199:(t,e,r)=>{r.d(e,{Z:()=>o});var n=r(54);const o=function(t){if("string"==typeof t||(0,n.Z)(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}},5259:(t,e,r)=>{r.d(e,{Z:()=>$});var n=r(675);var o=r(9616),a=r(1250);const c=function(t,e,r,n){var c=!r;r||(r={});for(var i=-1,u=e.length;++i<u;){var f=e[i],s=n?n(r[f],t[f],f,r,t):void 0;void 0===s&&(s=t[f]),c?(0,a.Z)(r,f,s):(0,o.Z)(r,f,s)}return r};var i=r(825);var u=r(4027);var f=r(658),s="object"==typeof exports&&exports&&!exports.nodeType&&exports,l=s&&"object"==typeof module&&module&&!module.nodeType&&module,v=l&&l.exports===s?f.Z.Buffer:void 0,d=v?v.allocUnsafe:void 0;var p=r(8018);var h=r(1830);var Z=r(8924),b=r(1325),y=r(606),g=Object.prototype.hasOwnProperty;var w=r(4269);const j=function(t){var e=new t.constructor(t.byteLength);return new w.Z(e).set(new w.Z(t)),e};var m=/\w*$/;var O=r(7851),_=O.Z?O.Z.prototype:void 0,x=_?_.valueOf:void 0;const E=function(t,e,r){var n,o,a,c=t.constructor;switch(e){case"[object ArrayBuffer]":return j(t);case"[object Boolean]":case"[object Date]":return new c(+t);case"[object DataView]":return function(t,e){var r=e?j(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}(t,r);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return function(t,e){var r=e?j(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}(t,r);case"[object Map]":case"[object Set]":return new c;case"[object Number]":case"[object String]":return new c(t);case"[object RegExp]":return(a=new(o=t).constructor(o.source,m.exec(o))).lastIndex=o.lastIndex,a;case"[object Symbol]":return n=t,x?Object(x.call(n)):{}}};var A=r(7275),V=Object.create;const M=function(){function t(){}return function(e){if(!(0,A.Z)(e))return{};if(V)return V(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}}();var R=r(4003),S=r(9494);var z=r(6575),C=r(7840),k=r(4897);var I=r(7133),T=r(9801),L=T.Z&&T.Z.isMap;const H=L?(0,I.Z)(L):function(t){return(0,k.Z)(t)&&"[object Map]"==(0,y.Z)(t)};var B=T.Z&&T.Z.isSet;const D=B?(0,I.Z)(B):function(t){return(0,k.Z)(t)&&"[object Set]"==(0,y.Z)(t)};var P="[object Arguments]",F="[object Function]",U="[object Object]",N={};N[P]=N["[object Array]"]=N["[object ArrayBuffer]"]=N["[object DataView]"]=N["[object Boolean]"]=N["[object Date]"]=N["[object Float32Array]"]=N["[object Float64Array]"]=N["[object Int8Array]"]=N["[object Int16Array]"]=N["[object Int32Array]"]=N["[object Map]"]=N["[object Number]"]=N[U]=N["[object RegExp]"]=N["[object Set]"]=N["[object String]"]=N["[object Symbol]"]=N["[object Uint8Array]"]=N["[object Uint8ClampedArray]"]=N["[object Uint16Array]"]=N["[object Uint32Array]"]=!0,N["[object Error]"]=N[F]=N["[object WeakMap]"]=!1;const W=function t(e,r,a,f,s,l){var v,w=1&r,j=2&r,m=4&r;if(a&&(v=s?a(e,f,s,l):a(e)),void 0!==v)return v;if(!(0,A.Z)(e))return e;var O=(0,z.Z)(e);if(O){if(v=function(t){var e=t.length,r=new t.constructor(e);return e&&"string"==typeof t[0]&&g.call(t,"index")&&(r.index=t.index,r.input=t.input),r}(e),!w)return function(t,e){var r=-1,n=t.length;for(e||(e=Array(n));++r<n;)e[r]=t[r];return e}(e,v)}else{var _=(0,y.Z)(e),x=_==F||"[object GeneratorFunction]"==_;if((0,C.Z)(e))return function(t,e){if(e)return t.slice();var r=t.length,n=d?d(r):new t.constructor(r);return t.copy(n),n}(e,w);if(_==U||_==P||x&&!s){if(v=j||x?{}:function(t){return"function"!=typeof t.constructor||(0,S.Z)(t)?{}:M((0,R.Z)(t))}(e),!w)return j?function(t,e){return c(t,(0,h.Z)(t),e)}(e,function(t,e){return t&&c(e,(0,u.Z)(e),t)}(v,e)):function(t,e){return c(t,(0,p.Z)(t),e)}(e,function(t,e){return t&&c(e,(0,i.Z)(e),t)}(v,e))}else{if(!N[_])return s?e:{};v=E(e,_,w)}}l||(l=new n.Z);var V=l.get(e);if(V)return V;l.set(e,v),D(e)?e.forEach((function(n){v.add(t(n,r,a,n,e,l))})):H(e)&&e.forEach((function(n,o){v.set(o,t(n,r,a,o,e,l))}));var k=m?j?b.Z:Z.Z:j?u.Z:i.Z,I=O?void 0:k(e);return function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n&&!1!==e(t[r],r,t););}(I||e,(function(n,c){I&&(n=e[c=n]),(0,o.Z)(v,c,t(n,r,a,c,e,l))})),v},$=function(t){return W(t,5)}},753:(t,e,r)=>{r.d(e,{Z:()=>b});var n=r(7275),o=r(658);const a=function(){return o.Z.Date.now()};var c=/\s/;var i=/^\s+/;const u=function(t){return t?t.slice(0,function(t){for(var e=t.length;e--&&c.test(t.charAt(e)););return e}(t)+1).replace(i,""):t};var f=r(54),s=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,v=/^0o[0-7]+$/i,d=parseInt;const p=function(t){if("number"==typeof t)return t;if((0,f.Z)(t))return NaN;if((0,n.Z)(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=(0,n.Z)(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=u(t);var r=l.test(t);return r||v.test(t)?d(t.slice(2),r?2:8):s.test(t)?NaN:+t};var h=Math.max,Z=Math.min;const b=function(t,e,r){var o,c,i,u,f,s,l=0,v=!1,d=!1,b=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function y(e){var r=o,n=c;return o=c=void 0,l=e,u=t.apply(n,r)}function g(t){return l=t,f=setTimeout(j,e),v?y(t):u}function w(t){var r=t-s;return void 0===s||r>=e||r<0||d&&t-l>=i}function j(){var t=a();if(w(t))return m(t);f=setTimeout(j,function(t){var r=e-(t-s);return d?Z(r,i-(t-l)):r}(t))}function m(t){return f=void 0,b&&o?y(t):(o=c=void 0,u)}function O(){var t=a(),r=w(t);if(o=arguments,c=this,s=t,r){if(void 0===f)return g(s);if(d)return clearTimeout(f),f=setTimeout(j,e),y(s)}return void 0===f&&(f=setTimeout(j,e)),u}return e=p(e)||0,(0,n.Z)(r)&&(v=!!r.leading,i=(d="maxWait"in r)?h(p(r.maxWait)||0,e):i,b="trailing"in r?!!r.trailing:b),O.cancel=function(){void 0!==f&&clearTimeout(f),l=0,o=s=c=f=void 0},O.flush=function(){return void 0===f?u:m(a())},O}},7840:(t,e,r)=>{r.d(e,{Z:()=>i});var n=r(658);var o="object"==typeof exports&&exports&&!exports.nodeType&&exports,a=o&&"object"==typeof module&&module&&!module.nodeType&&module,c=a&&a.exports===o?n.Z.Buffer:void 0;const i=(c?c.isBuffer:void 0)||function(){return!1}},8403:(t,e,r)=>{r.d(e,{Z:()=>v});var n=r(9295),o=r(606),a=r(175),c=r(6575),i=r(6905),u=r(7840),f=r(9494),s=r(4161),l=Object.prototype.hasOwnProperty;const v=function(t){if(null==t)return!0;if((0,i.Z)(t)&&((0,c.Z)(t)||"string"==typeof t||"function"==typeof t.splice||(0,u.Z)(t)||(0,s.Z)(t)||(0,a.Z)(t)))return!t.length;var e=(0,o.Z)(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if((0,f.Z)(t))return!(0,n.Z)(t).length;for(var r in t)if(l.call(t,r))return!1;return!0}},988:(t,e,r)=>{r.d(e,{Z:()=>o});var n=r(9040);const o=function(t,e){return(0,n.Z)(t,e)}},54:(t,e,r)=>{r.d(e,{Z:()=>a});var n=r(963),o=r(4897);const a=function(t){return"symbol"==typeof t||(0,o.Z)(t)&&"[object Symbol]"==(0,n.Z)(t)}},4161:(t,e,r)=>{r.d(e,{Z:()=>s});var n=r(963),o=r(3492),a=r(4897),c={};c["[object Float32Array]"]=c["[object Float64Array]"]=c["[object Int8Array]"]=c["[object Int16Array]"]=c["[object Int32Array]"]=c["[object Uint8Array]"]=c["[object Uint8ClampedArray]"]=c["[object Uint16Array]"]=c["[object Uint32Array]"]=!0,c["[object Arguments]"]=c["[object Array]"]=c["[object ArrayBuffer]"]=c["[object Boolean]"]=c["[object DataView]"]=c["[object Date]"]=c["[object Error]"]=c["[object Function]"]=c["[object Map]"]=c["[object Number]"]=c["[object Object]"]=c["[object RegExp]"]=c["[object Set]"]=c["[object String]"]=c["[object WeakMap]"]=!1;var i=r(7133),u=r(9801),f=u.Z&&u.Z.isTypedArray;const s=f?(0,i.Z)(f):function(t){return(0,a.Z)(t)&&(0,o.Z)(t.length)&&!!c[(0,n.Z)(t)]}},825:(t,e,r)=>{r.d(e,{Z:()=>c});var n=r(1931),o=r(9295),a=r(6905);const c=function(t){return(0,a.Z)(t)?(0,n.Z)(t):(0,o.Z)(t)}},4027:(t,e,r)=>{r.d(e,{Z:()=>f});var n=r(1931),o=r(7275),a=r(9494);var c=Object.prototype.hasOwnProperty;const i=function(t){if(!(0,o.Z)(t))return function(t){var e=[];if(null!=t)for(var r in Object(t))e.push(r);return e}(t);var e=(0,a.Z)(t),r=[];for(var n in t)("constructor"!=n||!e&&c.call(t,n))&&r.push(n);return r};var u=r(6905);const f=function(t){return(0,u.Z)(t)?(0,n.Z)(t,!0):i(t)}},8180:(t,e,r)=>{r.d(e,{Z:()=>A});var n=r(2363),o=r(675),a=r(9040);var c=r(7275);const i=function(t){return t==t&&!(0,c.Z)(t)};var u=r(825);const f=function(t,e){return function(r){return null!=r&&r[t]===e&&(void 0!==e||t in Object(r))}},s=function(t){var e=function(t){for(var e=(0,u.Z)(t),r=e.length;r--;){var n=e[r],o=t[n];e[r]=[n,o,i(o)]}return e}(t);return 1==e.length&&e[0][2]?f(e[0][0],e[0][1]):function(r){return r===t||function(t,e,r,n){var c=r.length,i=c,u=!n;if(null==t)return!i;for(t=Object(t);c--;){var f=r[c];if(u&&f[2]?f[1]!==t[f[0]]:!(f[0]in t))return!1}for(;++c<i;){var s=(f=r[c])[0],l=t[s],v=f[1];if(u&&f[2]){if(void 0===l&&!(s in t))return!1}else{var d=new o.Z;if(n)var p=n(l,v,s,t,e,d);if(!(void 0===p?(0,a.Z)(v,l,3,n,d):p))return!1}}return!0}(r,t,e)}};var l=r(7106);const v=function(t,e){return null!=t&&e in Object(t)};var d=r(8717),p=r(175),h=r(6575),Z=r(5313),b=r(3492),y=r(199);const g=function(t,e){return null!=t&&function(t,e,r){for(var n=-1,o=(e=(0,d.Z)(e,t)).length,a=!1;++n<o;){var c=(0,y.Z)(e[n]);if(!(a=null!=t&&r(t,c)))break;t=t[c]}return a||++n!=o?a:!!(o=null==t?0:t.length)&&(0,b.Z)(o)&&(0,Z.Z)(c,o)&&((0,h.Z)(t)||(0,p.Z)(t))}(t,e,v)};var w=r(5506);const j=function(t,e){return(0,w.Z)(t)&&i(e)?f((0,y.Z)(t),e):function(r){var n=function(t,e,r){var n=null==t?void 0:(0,l.Z)(t,e);return void 0===n?r:n}(r,t);return void 0===n&&n===e?g(r,t):(0,a.Z)(e,n,3)}};var m=r(1116);const O=function(t){return(0,w.Z)(t)?(e=(0,y.Z)(t),function(t){return null==t?void 0:t[e]}):function(t){return function(e){return(0,l.Z)(e,t)}}(t);var e};var _=r(9616);const x=function(t,e,r,n){if(!(0,c.Z)(t))return t;for(var o=-1,a=(e=(0,d.Z)(e,t)).length,i=a-1,u=t;null!=u&&++o<a;){var f=(0,y.Z)(e[o]),s=r;if("__proto__"===f||"constructor"===f||"prototype"===f)return t;if(o!=i){var l=u[f];void 0===(s=n?n(l,f,u):void 0)&&(s=(0,c.Z)(l)?l:(0,Z.Z)(e[o+1])?[]:{})}(0,_.Z)(u,f,s),u=u[f]}return t};var E=r(1325);const A=function(t,e){if(null==t)return{};var r,o=(0,n.Z)((0,E.Z)(t),(function(t){return[t]}));return e="function"==typeof(r=e)?r:null==r?m.Z:"object"==typeof r?(0,h.Z)(r)?j(r[0],r[1]):s(r):O(r),function(t,e,r){for(var n=-1,o=e.length,a={};++n<o;){var c=e[n],i=(0,l.Z)(t,c);r(i,c)&&x(a,(0,d.Z)(c,t),i)}return a}(t,o,(function(t,r){return e(t,r[0])}))}},1940:(t,e,r)=>{r.d(e,{Z:()=>n});const n=function(){return[]}},2341:(t,e,r)=>{r.d(e,{Z:()=>s});var n=r(7851),o=r(2363),a=r(6575),c=r(54),i=n.Z?n.Z.prototype:void 0,u=i?i.toString:void 0;const f=function t(e){if("string"==typeof e)return e;if((0,a.Z)(e))return(0,o.Z)(e,t)+"";if((0,c.Z)(e))return u?u.call(e):"";var r=e+"";return"0"==r&&1/e==-1/0?"-0":r},s=function(t){return null==t?"":f(t)}},7474:(t,e,r)=>{r.d(e,{Z:()=>a});var n=r(2341),o=0;const a=function(t){var e=++o;return(0,n.Z)(t)+e}},323:(t,e,r)=>{r.d(e,{Z:()=>i});var n=r(8717);var o=r(7106);const a=function(t,e){return e.length<2?t:(0,o.Z)(t,function(t,e,r){var n=-1,o=t.length;e<0&&(e=-e>o?0:o+e),(r=r>o?o:r)<0&&(r+=o),o=e>r?0:r-e>>>0,e>>>=0;for(var a=Array(o);++n<o;)a[n]=t[n+e];return a}(e,0,-1))};var c=r(199);const i=function(t,e){return null==t||function(t,e){return e=(0,n.Z)(e,t),null==(t=a(t,e))||delete t[(0,c.Z)((r=e,o=null==r?0:r.length,o?r[o-1]:void 0))];var r,o}(t,e)}},9136:(t,e,r)=>{r.d(e,{ZP:()=>J});var n=r(6983);function o(t,e,r,n){return new(r||(r=Promise))((function(o,a){function c(t){try{u(n.next(t))}catch(t){a(t)}}function i(t){try{u(n.throw(t))}catch(t){a(t)}}function u(t){var e;t.done?o(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(c,i)}u((n=n.apply(t,e||[])).next())}))}function a(t,e){var r,n,o,a,c={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:i(0),throw:i(1),return:i(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function i(a){return function(i){return function(a){if(r)throw new TypeError("Generator is already executing.");for(;c;)try{if(r=1,n&&(o=2&a[0]?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return c.label++,{value:a[1],done:!1};case 5:c.label++,n=a[1],a=[0];continue;case 7:a=c.ops.pop(),c.trys.pop();continue;default:if(!((o=(o=c.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){c=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){c.label=a[1];break}if(6===a[0]&&c.label<o[1]){c.label=o[1],o=a;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(a);break}o[2]&&c.ops.pop(),c.trys.pop();continue}a=e.call(t,c)}catch(t){a=[6,t],n=0}finally{r=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,i])}}}var c,i=function(){},u=i(),f=Object,s=function(t){return t===u},l=function(t){return"function"==typeof t},v=function(t,e){return f.assign({},t,e)},d="undefined",p=function(){return typeof window!=d},h=new WeakMap,Z=0,b=function(t){var e,r,n=typeof t,o=t&&t.constructor,a=o==Date;if(f(t)!==t||a||o==RegExp)e=a?t.toJSON():"symbol"==n?t.toString():"string"==n?JSON.stringify(t):""+t;else{if(e=h.get(t))return e;if(e=++Z+"~",h.set(t,e),o==Array){for(e="@",r=0;r<t.length;r++)e+=b(t[r])+",";h.set(t,e)}if(o==f){e="#";for(var c=f.keys(t).sort();!s(r=c.pop());)s(t[r])||(e+=r+":"+b(t[r])+",");h.set(t,e)}}return e},y=!0,g=p(),w=typeof document!=d,j=g&&window.addEventListener?window.addEventListener.bind(window):i,m=w?document.addEventListener.bind(document):i,O=g&&window.removeEventListener?window.removeEventListener.bind(window):i,_=w?document.removeEventListener.bind(document):i,x={isOnline:function(){return y},isVisible:function(){var t=w&&document.visibilityState;return s(t)||"hidden"!==t}},E={initFocus:function(t){return m("visibilitychange",t),j("focus",t),function(){_("visibilitychange",t),O("focus",t)}},initReconnect:function(t){var e=function(){y=!0,t()},r=function(){y=!1};return j("online",e),j("offline",r),function(){O("online",e),O("offline",r)}}},A=!p()||"Deno"in window,V=A?n.useEffect:n.useLayoutEffect,M="undefined"!=typeof navigator&&navigator.connection,R=!A&&M&&(["slow-2g","2g"].includes(M.effectiveType)||M.saveData),S=function(t){if(l(t))try{t=t()}catch(e){t=""}var e=[].concat(t);return[t="string"==typeof t?t:(Array.isArray(t)?t.length:t)?b(t):"",e,t?"$swr$"+t:""]},z=new WeakMap,C=function(t,e,r,n,o,a,c){void 0===c&&(c=!0);var i=z.get(t),u=i[0],f=i[1],s=i[3],l=u[e],v=f[e];if(c&&v)for(var d=0;d<v.length;++d)v[d](r,n,o);return a&&(delete s[e],l&&l[0])?l[0](2).then((function(){return t.get(e)})):t.get(e)},k=0,I=function(){return++k},T=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return o(void 0,void 0,void 0,(function(){var e,r,n,o,c,i,f,d,p,h,Z,b,y,g,w,j,m,O,_,x;return a(this,(function(a){switch(a.label){case 0:if(e=t[0],r=t[1],n=t[2],o=t[3],i=!!s((c="boolean"==typeof o?{revalidate:o}:o||{}).populateCache)||c.populateCache,f=!1!==c.revalidate,d=!1!==c.rollbackOnError,p=c.optimisticData,h=S(r),Z=h[0],b=h[2],!Z)return[2];if(y=z.get(e),g=y[2],t.length<3)return[2,C(e,Z,e.get(Z),u,u,f,!0)];if(w=n,m=I(),g[Z]=[m,0],O=!s(p),_=e.get(Z),O&&(e.set(Z,p),C(e,Z,p)),l(w))try{w=w(e.get(Z))}catch(t){j=t}return w&&l(w.then)?[4,w.catch((function(t){j=t}))]:[3,2];case 1:if(w=a.sent(),m!==g[Z][0]){if(j)throw j;return[2,w]}j&&O&&d&&(i=!0,w=_,e.set(Z,_)),a.label=2;case 2:return i&&(j||(l(i)&&(w=i(w,_)),e.set(Z,w)),e.set(b,v(e.get(b),{error:j}))),g[Z][1]=I(),[4,C(e,Z,w,j,u,f,!!i)];case 3:if(x=a.sent(),j)throw j;return[2,i?x:w]}}))}))},L=function(t,e){for(var r in t)t[r][0]&&t[r][0](e)},H=function(t,e){if(!z.has(t)){var r=v(E,e),n={},o=T.bind(u,t),a=i;if(z.set(t,[n,{},{},{},o]),!A){var c=r.initFocus(setTimeout.bind(u,L.bind(u,n,0))),f=r.initReconnect(setTimeout.bind(u,L.bind(u,n,1)));a=function(){c&&c(),f&&f(),z.delete(t)}}return[t,o,a]}return[t,z.get(t)[4]]},B=H(new Map),D=B[0],P=B[1],F=v({onLoadingSlow:i,onSuccess:i,onError:i,onErrorRetry:function(t,e,r,n,o){var a=r.errorRetryCount,c=o.retryCount,i=~~((Math.random()+.5)*(1<<(c<8?c:8)))*r.errorRetryInterval;!s(a)&&c>a||setTimeout(n,i,o)},onDiscarded:i,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:R?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:R?5e3:3e3,compare:function(t,e){return b(t)==b(e)},isPaused:function(){return!1},cache:D,mutate:P,fallback:{}},x),U=function(t,e){var r=v(t,e);if(e){var n=t.use,o=t.fallback,a=e.use,c=e.fallback;n&&a&&(r.use=n.concat(a)),o&&c&&(r.fallback=v(o,c))}return r},N=(0,n.createContext)({}),W=function(t){return l(t[1])?[t[0],t[1],t[2]||{}]:[t[0],null,(null===t[1]?t[2]:t[1])||{}]},$=function(){return v(F,(0,n.useContext)(N))},q=function(t,e,r){var n=e[t]||(e[t]=[]);return n.push(r),function(){var t=n.indexOf(r);t>=0&&(n[t]=n[n.length-1],n.pop())}},G={dedupe:!0},J=(f.defineProperty((function(t){var e=t.value,r=U((0,n.useContext)(N),e),o=e&&e.provider,a=(0,n.useState)((function(){return o?H(o(r.cache||D),e):u}))[0];return a&&(r.cache=a[0],r.mutate=a[1]),V((function(){return a?a[2]:u}),[]),(0,n.createElement)(N.Provider,v(t,{value:r}))}),"default",{value:F}),c=function(t,e,r){var c=r.cache,i=r.compare,f=r.fallbackData,h=r.suspense,Z=r.revalidateOnMount,b=r.refreshInterval,y=r.refreshWhenHidden,g=r.refreshWhenOffline,w=z.get(c),j=w[0],m=w[1],O=w[2],_=w[3],x=S(t),E=x[0],M=x[1],R=x[2],k=(0,n.useRef)(!1),L=(0,n.useRef)(!1),H=(0,n.useRef)(E),B=(0,n.useRef)(e),D=(0,n.useRef)(r),P=function(){return D.current},F=function(){return P().isVisible()&&P().isOnline()},U=function(t){return c.set(R,v(c.get(R),t))},N=c.get(E),W=s(f)?r.fallback[E]:f,$=s(N)?W:N,J=c.get(R)||{},K=J.error,Q=!k.current,X=function(){return Q&&!s(Z)?Z:!P().isPaused()&&(h?!s($):s($)||r.revalidateIfStale)},Y=!(!E||!e)&&(!!J.isValidating||Q&&X()),tt=function(t,e){var r=(0,n.useState)({})[1],o=(0,n.useRef)(t),a=(0,n.useRef)({data:!1,error:!1,isValidating:!1}),c=(0,n.useCallback)((function(t){var n=!1,c=o.current;for(var i in t){var u=i;c[u]!==t[u]&&(c[u]=t[u],a.current[u]&&(n=!0))}n&&!e.current&&r({})}),[]);return V((function(){o.current=t})),[o,a.current,c]}({data:$,error:K,isValidating:Y},L),et=tt[0],rt=tt[1],nt=tt[2],ot=(0,n.useCallback)((function(t){return o(void 0,void 0,void 0,(function(){var e,n,o,f,v,d,p,h,Z,b,y,g,w;return a(this,(function(a){switch(a.label){case 0:if(e=B.current,!E||!e||L.current||P().isPaused())return[2,!1];f=!0,v=t||{},d=!_[E]||!v.dedupe,p=function(){return!L.current&&E===H.current&&k.current},h=function(){var t=_[E];t&&t[1]===o&&delete _[E]},Z={isValidating:!1},b=function(){U({isValidating:!1}),p()&&nt(Z)},U({isValidating:!0}),nt({isValidating:!0}),a.label=1;case 1:return a.trys.push([1,3,,4]),d&&(C(c,E,et.current.data,et.current.error,!0),r.loadingTimeout&&!c.get(E)&&setTimeout((function(){f&&p()&&P().onLoadingSlow(E,r)}),r.loadingTimeout),_[E]=[e.apply(void 0,M),I()]),w=_[E],n=w[0],o=w[1],[4,n];case 2:return n=a.sent(),d&&setTimeout(h,r.dedupingInterval),_[E]&&_[E][1]===o?(U({error:u}),Z.error=u,y=O[E],!s(y)&&(o<=y[0]||o<=y[1]||0===y[1])?(b(),d&&p()&&P().onDiscarded(E),[2,!1]):(i(et.current.data,n)?Z.data=et.current.data:Z.data=n,i(c.get(E),n)||c.set(E,n),d&&p()&&P().onSuccess(n,E,r),[3,4])):(d&&p()&&P().onDiscarded(E),[2,!1]);case 3:return g=a.sent(),h(),P().isPaused()||(U({error:g}),Z.error=g,d&&p()&&(P().onError(g,E,r),("boolean"==typeof r.shouldRetryOnError&&r.shouldRetryOnError||l(r.shouldRetryOnError)&&r.shouldRetryOnError(g))&&F()&&P().onErrorRetry(g,E,r,ot,{retryCount:(v.retryCount||0)+1,dedupe:!0}))),[3,4];case 4:return f=!1,b(),p()&&d&&C(c,E,Z.data,Z.error,!1),[2,!0]}}))}))}),[E]),at=(0,n.useCallback)(T.bind(u,c,(function(){return H.current})),[]);if(V((function(){B.current=e,D.current=r})),V((function(){if(E){var t=E!==H.current,e=ot.bind(u,G),r=0,n=q(E,m,(function(t,e,r){nt(v({error:e,isValidating:r},i(et.current.data,t)?u:{data:t}))})),o=q(E,j,(function(t){if(0==t){var n=Date.now();P().revalidateOnFocus&&n>r&&F()&&(r=n+P().focusThrottleInterval,e())}else if(1==t)P().revalidateOnReconnect&&F()&&e();else if(2==t)return ot()}));return L.current=!1,H.current=E,k.current=!0,t&&nt({data:$,error:K,isValidating:Y}),X()&&(s($)||A?e():(a=e,p()&&typeof window.requestAnimationFrame!=d?window.requestAnimationFrame(a):setTimeout(a,1))),function(){L.current=!0,n(),o()}}var a}),[E,ot]),V((function(){var t;function e(){var e=l(b)?b($):b;e&&-1!==t&&(t=setTimeout(r,e))}function r(){et.current.error||!y&&!P().isVisible()||!g&&!P().isOnline()?e():ot(G).then(e)}return e(),function(){t&&(clearTimeout(t),t=-1)}}),[b,y,g,ot]),(0,n.useDebugValue)($),h&&s($)&&E)throw B.current=e,D.current=r,L.current=!1,s(K)?ot(G):K;return{mutate:at,get data(){return rt.data=!0,$},get error(){return rt.error=!0,K},get isValidating(){return rt.isValidating=!0,Y}}},function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var r=$(),n=W(t),o=n[0],a=n[1],i=n[2],u=U(r,i),f=c,s=u.use;if(s)for(var l=s.length;l-- >0;)f=s[l](f);return f(o,a||u.fetcher,u)})}}]);
2
+ "use strict";(self.webpackChunk_openmrs_esm_implementer_tools_app=self.webpackChunk_openmrs_esm_implementer_tools_app||[]).push([[769],{7555:(t,e,r)=>{r.d(e,{Z:()=>i});var n=r(8251),o=r(6983),a=r.n(o),c=a().createElement("path",{d:"M17 15L17 8 15 8 15 15 8 15 8 17 15 17 15 24 17 24 17 17 24 17 24 15z"});const i=a().forwardRef((function(t,e){var r=t.children,o=(0,n._)(t,["children"]);return a().createElement(n.I,(0,n.a)({width:16,height:16,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:e},o),c,r)}))},2626:(t,e,r)=>{r.d(e,{Z:()=>i});var n=r(8251),o=r(6983),a=r.n(o),c=a().createElement("path",{d:"M8 11L3 6 3.7 5.3 8 9.6 12.3 5.3 13 6z"});const i=a().forwardRef((function(t,e){var r=t.children,o=(0,n._)(t,["children"]);return a().createElement(n.I,(0,n.a)({width:16,height:16,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:e},o),c,r)}))},1890:(t,e,r)=>{r.d(e,{Z:()=>i});var n=r(8251),o=r(6983),a=r.n(o),c=a().createElement("path",{d:"M8 5L13 10 12.3 10.7 8 6.4 3.7 10.7 3 10z"});const i=a().forwardRef((function(t,e){var r=t.children,o=(0,n._)(t,["children"]);return a().createElement(n.I,(0,n.a)({width:16,height:16,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:e},o),c,r)}))},4790:(t,e,r)=>{r.d(e,{Z:()=>i});var n=r(8251),o=r(6983),a=r.n(o),c=a().createElement("path",{d:"M24 9.4L22.6 8 16 14.6 9.4 8 8 9.4 14.6 16 8 22.6 9.4 24 16 17.4 22.6 24 24 22.6 17.4 16 24 9.4z"});const i=a().forwardRef((function(t,e){var r=t.children,o=(0,n._)(t,["children"]);return a().createElement(n.I,(0,n.a)({width:16,height:16,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:e},o),c,r)}))},2562:(t,e,r)=>{r.d(e,{Z:()=>i});var n=r(8251),o=r(6983),a=r.n(o),c=a().createElement("path",{d:"M13 7L12.3 6.3 8.5 10.1 8.5 1 7.5 1 7.5 10.1 3.7 6.3 3 7 8 12zM13 12v2H3v-2H2v2l0 0c0 .6.4 1 1 1h10c.6 0 1-.4 1-1l0 0v-2H13z"});const i=a().forwardRef((function(t,e){var r=t.children,o=(0,n._)(t,["children"]);return a().createElement(n.I,(0,n.a)({width:16,height:16,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:e},o),c,r)}))},2059:(t,e,r)=>{r.d(e,{Z:()=>i});var n=r(8251),o=r(6983),a=r.n(o),c=a().createElement("path",{d:"M2 26H30V28H2zM25.4 9c.8-.8.8-2 0-2.8 0 0 0 0 0 0l-3.6-3.6c-.8-.8-2-.8-2.8 0 0 0 0 0 0 0l-15 15V24h6.4L25.4 9zM20.4 4L24 7.6l-3 3L17.4 7 20.4 4zM6 22v-3.6l10-10 3.6 3.6-10 10H6z"});const i=a().forwardRef((function(t,e){var r=t.children,o=(0,n._)(t,["children"]);return a().createElement(n.I,(0,n.a)({width:16,height:16,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:e},o),c,r)}))},2015:(t,e,r)=>{r.d(e,{Z:()=>i});var n=r(8251),o=r(6983),a=r.n(o),c=a().createElement("path",{d:"M18,28A12,12,0,1,0,6,16v6.2L2.4,18.6,1,20l6,6,6-6-1.4-1.4L8,22.2V16H8A10,10,0,1,1,18,26Z"});const i=a().forwardRef((function(t,e){var r=t.children,o=(0,n._)(t,["children"]);return a().createElement(n.I,(0,n.a)({width:16,height:16,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:e},o),c,r)}))},9963:(t,e,r)=>{r.d(e,{Z:()=>i});var n=r(8251),o=r(6983),a=r.n(o),c=a().createElement("path",{d:"M13.9,4.6l-2.5-2.5C11.3,2.1,11.1,2,11,2H3C2.4,2,2,2.4,2,3v10c0,0.6,0.4,1,1,1h10c0.6,0,1-0.4,1-1V5\tC14,4.9,13.9,4.7,13.9,4.6z M6,3h4v2H6V3z M10,13H6V9h4V13z M11,13V9c0-0.6-0.4-1-1-1H6C5.4,8,5,8.4,5,9v4H3V3h2v2c0,0.6,0.4,1,1,1\th4c0.6,0,1-0.4,1-1V3.2l2,2V13H11z"});const i=a().forwardRef((function(t,e){var r=t.children,o=(0,n._)(t,["children"]);return a().createElement(n.I,(0,n.a)({width:16,height:16,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:e},o),c,r)}))},4946:(t,e,r)=>{r.d(e,{Z:()=>u});var n=r(8251),o=r(6983),a=r.n(o),c=a().createElement("path",{d:"M12 12H14V24H12zM18 12H20V24H18z"}),i=a().createElement("path",{d:"M4 6V8H6V28a2 2 0 002 2H24a2 2 0 002-2V8h2V6zM8 28V8H24V28zM12 2H20V4H12z"});const u=a().forwardRef((function(t,e){var r=t.children,o=(0,n._)(t,["children"]);return a().createElement(n.I,(0,n.a)({width:16,height:16,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:e},o),c,i,r)}))},675:(t,e,r)=>{r.d(e,{Z:()=>i});var n=r(3679);var o=r(6763),a=r(2717);function c(t){var e=this.__data__=new n.Z(t);this.size=e.size}c.prototype.clear=function(){this.__data__=new n.Z,this.size=0},c.prototype.delete=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r},c.prototype.get=function(t){return this.__data__.get(t)},c.prototype.has=function(t){return this.__data__.has(t)},c.prototype.set=function(t,e){var r=this.__data__;if(r instanceof n.Z){var c=r.__data__;if(!o.Z||c.length<199)return c.push([t,e]),this.size=++r.size,this;r=this.__data__=new a.Z(c)}return r.set(t,e),this.size=r.size,this};const i=c},4269:(t,e,r)=>{r.d(e,{Z:()=>n});const n=r(658).Z.Uint8Array},1931:(t,e,r)=>{r.d(e,{Z:()=>f});var n=r(175),o=r(6575),a=r(7840),c=r(5313),i=r(4161),u=Object.prototype.hasOwnProperty;const f=function(t,e){var r=(0,o.Z)(t),f=!r&&(0,n.Z)(t),s=!r&&!f&&(0,a.Z)(t),l=!r&&!f&&!s&&(0,i.Z)(t),v=r||f||s||l,d=v?function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}(t.length,String):[],p=d.length;for(var h in t)!e&&!u.call(t,h)||v&&("length"==h||s&&("offset"==h||"parent"==h)||l&&("buffer"==h||"byteLength"==h||"byteOffset"==h)||(0,c.Z)(h,p))||d.push(h);return d}},9616:(t,e,r)=>{r.d(e,{Z:()=>c});var n=r(1250),o=r(8670),a=Object.prototype.hasOwnProperty;const c=function(t,e,r){var c=t[e];a.call(t,e)&&(0,o.Z)(c,r)&&(void 0!==r||e in t)||(0,n.Z)(t,e,r)}},1250:(t,e,r)=>{r.d(e,{Z:()=>o});var n=r(6684);const o=function(t,e,r){"__proto__"==e&&n.Z?(0,n.Z)(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}},7106:(t,e,r)=>{r.d(e,{Z:()=>a});var n=r(8717),o=r(199);const a=function(t,e){for(var r=0,a=(e=(0,n.Z)(e,t)).length;null!=t&&r<a;)t=t[(0,o.Z)(e[r++])];return r&&r==a?t:void 0}},6449:(t,e,r)=>{r.d(e,{Z:()=>a});var n=r(4895),o=r(6575);const a=function(t,e,r){var a=e(t);return(0,o.Z)(t)?a:(0,n.Z)(a,r(t))}},9040:(t,e,r)=>{r.d(e,{Z:()=>A});var n=r(675),o=r(2199);const a=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(e(t[r],r,t))return!0;return!1};var c=r(2248);const i=function(t,e,r,n,i,u){var f=1&r,s=t.length,l=e.length;if(s!=l&&!(f&&l>s))return!1;var v=u.get(t),d=u.get(e);if(v&&d)return v==e&&d==t;var p=-1,h=!0,Z=2&r?new o.Z:void 0;for(u.set(t,e),u.set(e,t);++p<s;){var b=t[p],y=e[p];if(n)var g=f?n(y,b,p,e,t,u):n(b,y,p,t,e,u);if(void 0!==g){if(g)continue;h=!1;break}if(Z){if(!a(e,(function(t,e){if(!(0,c.Z)(Z,e)&&(b===t||i(b,t,r,n,u)))return Z.push(e)}))){h=!1;break}}else if(b!==y&&!i(b,y,r,n,u)){h=!1;break}}return u.delete(t),u.delete(e),h};var u=r(7851),f=r(4269),s=r(8670);const l=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t,n){r[++e]=[n,t]})),r},v=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t){r[++e]=t})),r};var d=u.Z?u.Z.prototype:void 0,p=d?d.valueOf:void 0;var h=r(8924),Z=Object.prototype.hasOwnProperty;var b=r(606),y=r(6575),g=r(7840),w=r(4161),j="[object Arguments]",m="[object Array]",O="[object Object]",_=Object.prototype.hasOwnProperty;const x=function(t,e,r,o,a,c){var u=(0,y.Z)(t),d=(0,y.Z)(e),x=u?m:(0,b.Z)(t),E=d?m:(0,b.Z)(e),A=(x=x==j?O:x)==O,V=(E=E==j?O:E)==O,M=x==E;if(M&&(0,g.Z)(t)){if(!(0,g.Z)(e))return!1;u=!0,A=!1}if(M&&!A)return c||(c=new n.Z),u||(0,w.Z)(t)?i(t,e,r,o,a,c):function(t,e,r,n,o,a,c){switch(r){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!a(new f.Z(t),new f.Z(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return(0,s.Z)(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var u=l;case"[object Set]":var d=1&n;if(u||(u=v),t.size!=e.size&&!d)return!1;var h=c.get(t);if(h)return h==e;n|=2,c.set(t,e);var Z=i(u(t),u(e),n,o,a,c);return c.delete(t),Z;case"[object Symbol]":if(p)return p.call(t)==p.call(e)}return!1}(t,e,x,r,o,a,c);if(!(1&r)){var R=A&&_.call(t,"__wrapped__"),S=V&&_.call(e,"__wrapped__");if(R||S){var z=R?t.value():t,C=S?e.value():e;return c||(c=new n.Z),a(z,C,r,o,c)}}return!!M&&(c||(c=new n.Z),function(t,e,r,n,o,a){var c=1&r,i=(0,h.Z)(t),u=i.length;if(u!=(0,h.Z)(e).length&&!c)return!1;for(var f=u;f--;){var s=i[f];if(!(c?s in e:Z.call(e,s)))return!1}var l=a.get(t),v=a.get(e);if(l&&v)return l==e&&v==t;var d=!0;a.set(t,e),a.set(e,t);for(var p=c;++f<u;){var b=t[s=i[f]],y=e[s];if(n)var g=c?n(y,b,s,e,t,a):n(b,y,s,t,e,a);if(!(void 0===g?b===y||o(b,y,r,n,a):g)){d=!1;break}p||(p="constructor"==s)}if(d&&!p){var w=t.constructor,j=e.constructor;w==j||!("constructor"in t)||!("constructor"in e)||"function"==typeof w&&w instanceof w&&"function"==typeof j&&j instanceof j||(d=!1)}return a.delete(t),a.delete(e),d}(t,e,r,o,a,c))};var E=r(4897);const A=function t(e,r,n,o,a){return e===r||(null==e||null==r||!(0,E.Z)(e)&&!(0,E.Z)(r)?e!=e&&r!=r:x(e,r,n,o,t,a))}},9295:(t,e,r)=>{r.d(e,{Z:()=>c});var n=r(9494);const o=(0,r(6899).Z)(Object.keys,Object);var a=Object.prototype.hasOwnProperty;const c=function(t){if(!(0,n.Z)(t))return o(t);var e=[];for(var r in Object(t))a.call(t,r)&&"constructor"!=r&&e.push(r);return e}},8717:(t,e,r)=>{r.d(e,{Z:()=>d});var n=r(6575),o=r(5506),a=r(2717);function c(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var r=function(){var n=arguments,o=e?e.apply(this,n):n[0],a=r.cache;if(a.has(o))return a.get(o);var c=t.apply(this,n);return r.cache=a.set(o,c)||a,c};return r.cache=new(c.Cache||a.Z),r}c.Cache=a.Z;var i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,u=/\\(\\)?/g;const f=(s=c((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(i,(function(t,r,n,o){e.push(n?o.replace(u,"$1"):r||t)})),e}),(function(t){return 500===l.size&&l.clear(),t})),l=s.cache,s);var s,l,v=r(2341);const d=function(t,e){return(0,n.Z)(t)?t:(0,o.Z)(t,e)?[t]:f((0,v.Z)(t))}},8924:(t,e,r)=>{r.d(e,{Z:()=>c});var n=r(6449),o=r(8018),a=r(825);const c=function(t){return(0,n.Z)(t,a.Z,o.Z)}},1325:(t,e,r)=>{r.d(e,{Z:()=>c});var n=r(6449),o=r(1830),a=r(4027);const c=function(t){return(0,n.Z)(t,a.Z,o.Z)}},4003:(t,e,r)=>{r.d(e,{Z:()=>n});const n=(0,r(6899).Z)(Object.getPrototypeOf,Object)},8018:(t,e,r)=>{r.d(e,{Z:()=>c});var n=r(1940),o=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols;const c=a?function(t){return null==t?[]:(t=Object(t),function(t,e){for(var r=-1,n=null==t?0:t.length,o=0,a=[];++r<n;){var c=t[r];e(c,r,t)&&(a[o++]=c)}return a}(a(t),(function(e){return o.call(t,e)})))}:n.Z},1830:(t,e,r)=>{r.d(e,{Z:()=>i});var n=r(4895),o=r(4003),a=r(8018),c=r(1940);const i=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)(0,n.Z)(e,(0,a.Z)(t)),t=(0,o.Z)(t);return e}:c.Z},606:(t,e,r)=>{r.d(e,{Z:()=>O});var n=r(1752),o=r(658);const a=(0,n.Z)(o.Z,"DataView");var c=r(6763);const i=(0,n.Z)(o.Z,"Promise"),u=(0,n.Z)(o.Z,"Set"),f=(0,n.Z)(o.Z,"WeakMap");var s=r(963),l=r(9441),v="[object Map]",d="[object Promise]",p="[object Set]",h="[object WeakMap]",Z="[object DataView]",b=(0,l.Z)(a),y=(0,l.Z)(c.Z),g=(0,l.Z)(i),w=(0,l.Z)(u),j=(0,l.Z)(f),m=s.Z;(a&&m(new a(new ArrayBuffer(1)))!=Z||c.Z&&m(new c.Z)!=v||i&&m(i.resolve())!=d||u&&m(new u)!=p||f&&m(new f)!=h)&&(m=function(t){var e=(0,s.Z)(t),r="[object Object]"==e?t.constructor:void 0,n=r?(0,l.Z)(r):"";if(n)switch(n){case b:return Z;case y:return v;case g:return d;case w:return p;case j:return h}return e});const O=m},5313:(t,e,r)=>{r.d(e,{Z:()=>o});var n=/^(?:0|[1-9]\d*)$/;const o=function(t,e){var r=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==r||"symbol"!=r&&n.test(t))&&t>-1&&t%1==0&&t<e}},5506:(t,e,r)=>{r.d(e,{Z:()=>i});var n=r(6575),o=r(54),a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,c=/^\w*$/;const i=function(t,e){if((0,n.Z)(t))return!1;var r=typeof t;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=t&&!(0,o.Z)(t))||c.test(t)||!a.test(t)||null!=e&&t in Object(e)}},9494:(t,e,r)=>{r.d(e,{Z:()=>o});var n=Object.prototype;const o=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||n)}},9801:(t,e,r)=>{r.d(e,{Z:()=>i});var n=r(5852),o="object"==typeof exports&&exports&&!exports.nodeType&&exports,a=o&&"object"==typeof module&&module&&!module.nodeType&&module,c=a&&a.exports===o&&n.Z.process;const i=function(){try{return a&&a.require&&a.require("util").types||c&&c.binding&&c.binding("util")}catch(t){}}()},6899:(t,e,r)=>{r.d(e,{Z:()=>n});const n=function(t,e){return function(r){return t(e(r))}}},199:(t,e,r)=>{r.d(e,{Z:()=>o});var n=r(54);const o=function(t){if("string"==typeof t||(0,n.Z)(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}},5259:(t,e,r)=>{r.d(e,{Z:()=>$});var n=r(675);var o=r(9616),a=r(1250);const c=function(t,e,r,n){var c=!r;r||(r={});for(var i=-1,u=e.length;++i<u;){var f=e[i],s=n?n(r[f],t[f],f,r,t):void 0;void 0===s&&(s=t[f]),c?(0,a.Z)(r,f,s):(0,o.Z)(r,f,s)}return r};var i=r(825);var u=r(4027);var f=r(658),s="object"==typeof exports&&exports&&!exports.nodeType&&exports,l=s&&"object"==typeof module&&module&&!module.nodeType&&module,v=l&&l.exports===s?f.Z.Buffer:void 0,d=v?v.allocUnsafe:void 0;var p=r(8018);var h=r(1830);var Z=r(8924),b=r(1325),y=r(606),g=Object.prototype.hasOwnProperty;var w=r(4269);const j=function(t){var e=new t.constructor(t.byteLength);return new w.Z(e).set(new w.Z(t)),e};var m=/\w*$/;var O=r(7851),_=O.Z?O.Z.prototype:void 0,x=_?_.valueOf:void 0;const E=function(t,e,r){var n,o,a,c=t.constructor;switch(e){case"[object ArrayBuffer]":return j(t);case"[object Boolean]":case"[object Date]":return new c(+t);case"[object DataView]":return function(t,e){var r=e?j(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}(t,r);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return function(t,e){var r=e?j(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}(t,r);case"[object Map]":case"[object Set]":return new c;case"[object Number]":case"[object String]":return new c(t);case"[object RegExp]":return(a=new(o=t).constructor(o.source,m.exec(o))).lastIndex=o.lastIndex,a;case"[object Symbol]":return n=t,x?Object(x.call(n)):{}}};var A=r(7275),V=Object.create;const M=function(){function t(){}return function(e){if(!(0,A.Z)(e))return{};if(V)return V(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}}();var R=r(4003),S=r(9494);var z=r(6575),C=r(7840),k=r(4897);var I=r(7133),T=r(9801),L=T.Z&&T.Z.isMap;const H=L?(0,I.Z)(L):function(t){return(0,k.Z)(t)&&"[object Map]"==(0,y.Z)(t)};var B=T.Z&&T.Z.isSet;const D=B?(0,I.Z)(B):function(t){return(0,k.Z)(t)&&"[object Set]"==(0,y.Z)(t)};var P="[object Arguments]",F="[object Function]",U="[object Object]",N={};N[P]=N["[object Array]"]=N["[object ArrayBuffer]"]=N["[object DataView]"]=N["[object Boolean]"]=N["[object Date]"]=N["[object Float32Array]"]=N["[object Float64Array]"]=N["[object Int8Array]"]=N["[object Int16Array]"]=N["[object Int32Array]"]=N["[object Map]"]=N["[object Number]"]=N[U]=N["[object RegExp]"]=N["[object Set]"]=N["[object String]"]=N["[object Symbol]"]=N["[object Uint8Array]"]=N["[object Uint8ClampedArray]"]=N["[object Uint16Array]"]=N["[object Uint32Array]"]=!0,N["[object Error]"]=N[F]=N["[object WeakMap]"]=!1;const W=function t(e,r,a,f,s,l){var v,w=1&r,j=2&r,m=4&r;if(a&&(v=s?a(e,f,s,l):a(e)),void 0!==v)return v;if(!(0,A.Z)(e))return e;var O=(0,z.Z)(e);if(O){if(v=function(t){var e=t.length,r=new t.constructor(e);return e&&"string"==typeof t[0]&&g.call(t,"index")&&(r.index=t.index,r.input=t.input),r}(e),!w)return function(t,e){var r=-1,n=t.length;for(e||(e=Array(n));++r<n;)e[r]=t[r];return e}(e,v)}else{var _=(0,y.Z)(e),x=_==F||"[object GeneratorFunction]"==_;if((0,C.Z)(e))return function(t,e){if(e)return t.slice();var r=t.length,n=d?d(r):new t.constructor(r);return t.copy(n),n}(e,w);if(_==U||_==P||x&&!s){if(v=j||x?{}:function(t){return"function"!=typeof t.constructor||(0,S.Z)(t)?{}:M((0,R.Z)(t))}(e),!w)return j?function(t,e){return c(t,(0,h.Z)(t),e)}(e,function(t,e){return t&&c(e,(0,u.Z)(e),t)}(v,e)):function(t,e){return c(t,(0,p.Z)(t),e)}(e,function(t,e){return t&&c(e,(0,i.Z)(e),t)}(v,e))}else{if(!N[_])return s?e:{};v=E(e,_,w)}}l||(l=new n.Z);var V=l.get(e);if(V)return V;l.set(e,v),D(e)?e.forEach((function(n){v.add(t(n,r,a,n,e,l))})):H(e)&&e.forEach((function(n,o){v.set(o,t(n,r,a,o,e,l))}));var k=m?j?b.Z:Z.Z:j?u.Z:i.Z,I=O?void 0:k(e);return function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n&&!1!==e(t[r],r,t););}(I||e,(function(n,c){I&&(n=e[c=n]),(0,o.Z)(v,c,t(n,r,a,c,e,l))})),v},$=function(t){return W(t,5)}},753:(t,e,r)=>{r.d(e,{Z:()=>b});var n=r(7275),o=r(658);const a=function(){return o.Z.Date.now()};var c=/\s/;var i=/^\s+/;const u=function(t){return t?t.slice(0,function(t){for(var e=t.length;e--&&c.test(t.charAt(e)););return e}(t)+1).replace(i,""):t};var f=r(54),s=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,v=/^0o[0-7]+$/i,d=parseInt;const p=function(t){if("number"==typeof t)return t;if((0,f.Z)(t))return NaN;if((0,n.Z)(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=(0,n.Z)(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=u(t);var r=l.test(t);return r||v.test(t)?d(t.slice(2),r?2:8):s.test(t)?NaN:+t};var h=Math.max,Z=Math.min;const b=function(t,e,r){var o,c,i,u,f,s,l=0,v=!1,d=!1,b=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function y(e){var r=o,n=c;return o=c=void 0,l=e,u=t.apply(n,r)}function g(t){return l=t,f=setTimeout(j,e),v?y(t):u}function w(t){var r=t-s;return void 0===s||r>=e||r<0||d&&t-l>=i}function j(){var t=a();if(w(t))return m(t);f=setTimeout(j,function(t){var r=e-(t-s);return d?Z(r,i-(t-l)):r}(t))}function m(t){return f=void 0,b&&o?y(t):(o=c=void 0,u)}function O(){var t=a(),r=w(t);if(o=arguments,c=this,s=t,r){if(void 0===f)return g(s);if(d)return clearTimeout(f),f=setTimeout(j,e),y(s)}return void 0===f&&(f=setTimeout(j,e)),u}return e=p(e)||0,(0,n.Z)(r)&&(v=!!r.leading,i=(d="maxWait"in r)?h(p(r.maxWait)||0,e):i,b="trailing"in r?!!r.trailing:b),O.cancel=function(){void 0!==f&&clearTimeout(f),l=0,o=s=c=f=void 0},O.flush=function(){return void 0===f?u:m(a())},O}},7840:(t,e,r)=>{r.d(e,{Z:()=>i});var n=r(658);var o="object"==typeof exports&&exports&&!exports.nodeType&&exports,a=o&&"object"==typeof module&&module&&!module.nodeType&&module,c=a&&a.exports===o?n.Z.Buffer:void 0;const i=(c?c.isBuffer:void 0)||function(){return!1}},8403:(t,e,r)=>{r.d(e,{Z:()=>v});var n=r(9295),o=r(606),a=r(175),c=r(6575),i=r(6905),u=r(7840),f=r(9494),s=r(4161),l=Object.prototype.hasOwnProperty;const v=function(t){if(null==t)return!0;if((0,i.Z)(t)&&((0,c.Z)(t)||"string"==typeof t||"function"==typeof t.splice||(0,u.Z)(t)||(0,s.Z)(t)||(0,a.Z)(t)))return!t.length;var e=(0,o.Z)(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if((0,f.Z)(t))return!(0,n.Z)(t).length;for(var r in t)if(l.call(t,r))return!1;return!0}},988:(t,e,r)=>{r.d(e,{Z:()=>o});var n=r(9040);const o=function(t,e){return(0,n.Z)(t,e)}},54:(t,e,r)=>{r.d(e,{Z:()=>a});var n=r(963),o=r(4897);const a=function(t){return"symbol"==typeof t||(0,o.Z)(t)&&"[object Symbol]"==(0,n.Z)(t)}},4161:(t,e,r)=>{r.d(e,{Z:()=>s});var n=r(963),o=r(3492),a=r(4897),c={};c["[object Float32Array]"]=c["[object Float64Array]"]=c["[object Int8Array]"]=c["[object Int16Array]"]=c["[object Int32Array]"]=c["[object Uint8Array]"]=c["[object Uint8ClampedArray]"]=c["[object Uint16Array]"]=c["[object Uint32Array]"]=!0,c["[object Arguments]"]=c["[object Array]"]=c["[object ArrayBuffer]"]=c["[object Boolean]"]=c["[object DataView]"]=c["[object Date]"]=c["[object Error]"]=c["[object Function]"]=c["[object Map]"]=c["[object Number]"]=c["[object Object]"]=c["[object RegExp]"]=c["[object Set]"]=c["[object String]"]=c["[object WeakMap]"]=!1;var i=r(7133),u=r(9801),f=u.Z&&u.Z.isTypedArray;const s=f?(0,i.Z)(f):function(t){return(0,a.Z)(t)&&(0,o.Z)(t.length)&&!!c[(0,n.Z)(t)]}},825:(t,e,r)=>{r.d(e,{Z:()=>c});var n=r(1931),o=r(9295),a=r(6905);const c=function(t){return(0,a.Z)(t)?(0,n.Z)(t):(0,o.Z)(t)}},4027:(t,e,r)=>{r.d(e,{Z:()=>f});var n=r(1931),o=r(7275),a=r(9494);var c=Object.prototype.hasOwnProperty;const i=function(t){if(!(0,o.Z)(t))return function(t){var e=[];if(null!=t)for(var r in Object(t))e.push(r);return e}(t);var e=(0,a.Z)(t),r=[];for(var n in t)("constructor"!=n||!e&&c.call(t,n))&&r.push(n);return r};var u=r(6905);const f=function(t){return(0,u.Z)(t)?(0,n.Z)(t,!0):i(t)}},8180:(t,e,r)=>{r.d(e,{Z:()=>A});var n=r(2363),o=r(675),a=r(9040);var c=r(7275);const i=function(t){return t==t&&!(0,c.Z)(t)};var u=r(825);const f=function(t,e){return function(r){return null!=r&&r[t]===e&&(void 0!==e||t in Object(r))}},s=function(t){var e=function(t){for(var e=(0,u.Z)(t),r=e.length;r--;){var n=e[r],o=t[n];e[r]=[n,o,i(o)]}return e}(t);return 1==e.length&&e[0][2]?f(e[0][0],e[0][1]):function(r){return r===t||function(t,e,r,n){var c=r.length,i=c,u=!n;if(null==t)return!i;for(t=Object(t);c--;){var f=r[c];if(u&&f[2]?f[1]!==t[f[0]]:!(f[0]in t))return!1}for(;++c<i;){var s=(f=r[c])[0],l=t[s],v=f[1];if(u&&f[2]){if(void 0===l&&!(s in t))return!1}else{var d=new o.Z;if(n)var p=n(l,v,s,t,e,d);if(!(void 0===p?(0,a.Z)(v,l,3,n,d):p))return!1}}return!0}(r,t,e)}};var l=r(7106);const v=function(t,e){return null!=t&&e in Object(t)};var d=r(8717),p=r(175),h=r(6575),Z=r(5313),b=r(3492),y=r(199);const g=function(t,e){return null!=t&&function(t,e,r){for(var n=-1,o=(e=(0,d.Z)(e,t)).length,a=!1;++n<o;){var c=(0,y.Z)(e[n]);if(!(a=null!=t&&r(t,c)))break;t=t[c]}return a||++n!=o?a:!!(o=null==t?0:t.length)&&(0,b.Z)(o)&&(0,Z.Z)(c,o)&&((0,h.Z)(t)||(0,p.Z)(t))}(t,e,v)};var w=r(5506);const j=function(t,e){return(0,w.Z)(t)&&i(e)?f((0,y.Z)(t),e):function(r){var n=function(t,e,r){var n=null==t?void 0:(0,l.Z)(t,e);return void 0===n?r:n}(r,t);return void 0===n&&n===e?g(r,t):(0,a.Z)(e,n,3)}};var m=r(1116);const O=function(t){return(0,w.Z)(t)?(e=(0,y.Z)(t),function(t){return null==t?void 0:t[e]}):function(t){return function(e){return(0,l.Z)(e,t)}}(t);var e};var _=r(9616);const x=function(t,e,r,n){if(!(0,c.Z)(t))return t;for(var o=-1,a=(e=(0,d.Z)(e,t)).length,i=a-1,u=t;null!=u&&++o<a;){var f=(0,y.Z)(e[o]),s=r;if("__proto__"===f||"constructor"===f||"prototype"===f)return t;if(o!=i){var l=u[f];void 0===(s=n?n(l,f,u):void 0)&&(s=(0,c.Z)(l)?l:(0,Z.Z)(e[o+1])?[]:{})}(0,_.Z)(u,f,s),u=u[f]}return t};var E=r(1325);const A=function(t,e){if(null==t)return{};var r,o=(0,n.Z)((0,E.Z)(t),(function(t){return[t]}));return e="function"==typeof(r=e)?r:null==r?m.Z:"object"==typeof r?(0,h.Z)(r)?j(r[0],r[1]):s(r):O(r),function(t,e,r){for(var n=-1,o=e.length,a={};++n<o;){var c=e[n],i=(0,l.Z)(t,c);r(i,c)&&x(a,(0,d.Z)(c,t),i)}return a}(t,o,(function(t,r){return e(t,r[0])}))}},1940:(t,e,r)=>{r.d(e,{Z:()=>n});const n=function(){return[]}},2341:(t,e,r)=>{r.d(e,{Z:()=>s});var n=r(7851),o=r(2363),a=r(6575),c=r(54),i=n.Z?n.Z.prototype:void 0,u=i?i.toString:void 0;const f=function t(e){if("string"==typeof e)return e;if((0,a.Z)(e))return(0,o.Z)(e,t)+"";if((0,c.Z)(e))return u?u.call(e):"";var r=e+"";return"0"==r&&1/e==-1/0?"-0":r},s=function(t){return null==t?"":f(t)}},7474:(t,e,r)=>{r.d(e,{Z:()=>a});var n=r(2341),o=0;const a=function(t){var e=++o;return(0,n.Z)(t)+e}},323:(t,e,r)=>{r.d(e,{Z:()=>i});var n=r(8717);var o=r(7106);const a=function(t,e){return e.length<2?t:(0,o.Z)(t,function(t,e,r){var n=-1,o=t.length;e<0&&(e=-e>o?0:o+e),(r=r>o?o:r)<0&&(r+=o),o=e>r?0:r-e>>>0,e>>>=0;for(var a=Array(o);++n<o;)a[n]=t[n+e];return a}(e,0,-1))};var c=r(199);const i=function(t,e){return null==t||function(t,e){return e=(0,n.Z)(e,t),null==(t=a(t,e))||delete t[(0,c.Z)((r=e,o=null==r?0:r.length,o?r[o-1]:void 0))];var r,o}(t,e)}},9136:(t,e,r)=>{r.d(e,{ZP:()=>J});var n=r(6983);function o(t,e,r,n){return new(r||(r=Promise))((function(o,a){function c(t){try{u(n.next(t))}catch(t){a(t)}}function i(t){try{u(n.throw(t))}catch(t){a(t)}}function u(t){var e;t.done?o(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(c,i)}u((n=n.apply(t,e||[])).next())}))}function a(t,e){var r,n,o,a,c={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:i(0),throw:i(1),return:i(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function i(a){return function(i){return function(a){if(r)throw new TypeError("Generator is already executing.");for(;c;)try{if(r=1,n&&(o=2&a[0]?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return c.label++,{value:a[1],done:!1};case 5:c.label++,n=a[1],a=[0];continue;case 7:a=c.ops.pop(),c.trys.pop();continue;default:if(!((o=(o=c.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){c=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){c.label=a[1];break}if(6===a[0]&&c.label<o[1]){c.label=o[1],o=a;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(a);break}o[2]&&c.ops.pop(),c.trys.pop();continue}a=e.call(t,c)}catch(t){a=[6,t],n=0}finally{r=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,i])}}}var c,i=function(){},u=i(),f=Object,s=function(t){return t===u},l=function(t){return"function"==typeof t},v=function(t,e){return f.assign({},t,e)},d="undefined",p=function(){return typeof window!=d},h=new WeakMap,Z=0,b=function(t){var e,r,n=typeof t,o=t&&t.constructor,a=o==Date;if(f(t)!==t||a||o==RegExp)e=a?t.toJSON():"symbol"==n?t.toString():"string"==n?JSON.stringify(t):""+t;else{if(e=h.get(t))return e;if(e=++Z+"~",h.set(t,e),o==Array){for(e="@",r=0;r<t.length;r++)e+=b(t[r])+",";h.set(t,e)}if(o==f){e="#";for(var c=f.keys(t).sort();!s(r=c.pop());)s(t[r])||(e+=r+":"+b(t[r])+",");h.set(t,e)}}return e},y=!0,g=p(),w=typeof document!=d,j=g&&window.addEventListener?window.addEventListener.bind(window):i,m=w?document.addEventListener.bind(document):i,O=g&&window.removeEventListener?window.removeEventListener.bind(window):i,_=w?document.removeEventListener.bind(document):i,x={isOnline:function(){return y},isVisible:function(){var t=w&&document.visibilityState;return s(t)||"hidden"!==t}},E={initFocus:function(t){return m("visibilitychange",t),j("focus",t),function(){_("visibilitychange",t),O("focus",t)}},initReconnect:function(t){var e=function(){y=!0,t()},r=function(){y=!1};return j("online",e),j("offline",r),function(){O("online",e),O("offline",r)}}},A=!p()||"Deno"in window,V=A?n.useEffect:n.useLayoutEffect,M="undefined"!=typeof navigator&&navigator.connection,R=!A&&M&&(["slow-2g","2g"].includes(M.effectiveType)||M.saveData),S=function(t){if(l(t))try{t=t()}catch(e){t=""}var e=[].concat(t);return[t="string"==typeof t?t:(Array.isArray(t)?t.length:t)?b(t):"",e,t?"$swr$"+t:""]},z=new WeakMap,C=function(t,e,r,n,o,a,c){void 0===c&&(c=!0);var i=z.get(t),u=i[0],f=i[1],s=i[3],l=u[e],v=f[e];if(c&&v)for(var d=0;d<v.length;++d)v[d](r,n,o);return a&&(delete s[e],l&&l[0])?l[0](2).then((function(){return t.get(e)})):t.get(e)},k=0,I=function(){return++k},T=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return o(void 0,void 0,void 0,(function(){var e,r,n,o,c,i,f,d,p,h,Z,b,y,g,w,j,m,O,_,x;return a(this,(function(a){switch(a.label){case 0:if(e=t[0],r=t[1],n=t[2],o=t[3],i=!!s((c="boolean"==typeof o?{revalidate:o}:o||{}).populateCache)||c.populateCache,f=!1!==c.revalidate,d=!1!==c.rollbackOnError,p=c.optimisticData,h=S(r),Z=h[0],b=h[2],!Z)return[2];if(y=z.get(e),g=y[2],t.length<3)return[2,C(e,Z,e.get(Z),u,u,f,!0)];if(w=n,m=I(),g[Z]=[m,0],O=!s(p),_=e.get(Z),O&&(e.set(Z,p),C(e,Z,p)),l(w))try{w=w(e.get(Z))}catch(t){j=t}return w&&l(w.then)?[4,w.catch((function(t){j=t}))]:[3,2];case 1:if(w=a.sent(),m!==g[Z][0]){if(j)throw j;return[2,w]}j&&O&&d&&(i=!0,w=_,e.set(Z,_)),a.label=2;case 2:return i&&(j||(l(i)&&(w=i(w,_)),e.set(Z,w)),e.set(b,v(e.get(b),{error:j}))),g[Z][1]=I(),[4,C(e,Z,w,j,u,f,!!i)];case 3:if(x=a.sent(),j)throw j;return[2,i?x:w]}}))}))},L=function(t,e){for(var r in t)t[r][0]&&t[r][0](e)},H=function(t,e){if(!z.has(t)){var r=v(E,e),n={},o=T.bind(u,t),a=i;if(z.set(t,[n,{},{},{},o]),!A){var c=r.initFocus(setTimeout.bind(u,L.bind(u,n,0))),f=r.initReconnect(setTimeout.bind(u,L.bind(u,n,1)));a=function(){c&&c(),f&&f(),z.delete(t)}}return[t,o,a]}return[t,z.get(t)[4]]},B=H(new Map),D=B[0],P=B[1],F=v({onLoadingSlow:i,onSuccess:i,onError:i,onErrorRetry:function(t,e,r,n,o){var a=r.errorRetryCount,c=o.retryCount,i=~~((Math.random()+.5)*(1<<(c<8?c:8)))*r.errorRetryInterval;!s(a)&&c>a||setTimeout(n,i,o)},onDiscarded:i,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:R?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:R?5e3:3e3,compare:function(t,e){return b(t)==b(e)},isPaused:function(){return!1},cache:D,mutate:P,fallback:{}},x),U=function(t,e){var r=v(t,e);if(e){var n=t.use,o=t.fallback,a=e.use,c=e.fallback;n&&a&&(r.use=n.concat(a)),o&&c&&(r.fallback=v(o,c))}return r},N=(0,n.createContext)({}),W=function(t){return l(t[1])?[t[0],t[1],t[2]||{}]:[t[0],null,(null===t[1]?t[2]:t[1])||{}]},$=function(){return v(F,(0,n.useContext)(N))},q=function(t,e,r){var n=e[t]||(e[t]=[]);return n.push(r),function(){var t=n.indexOf(r);t>=0&&(n[t]=n[n.length-1],n.pop())}},G={dedupe:!0},J=(f.defineProperty((function(t){var e=t.value,r=U((0,n.useContext)(N),e),o=e&&e.provider,a=(0,n.useState)((function(){return o?H(o(r.cache||D),e):u}))[0];return a&&(r.cache=a[0],r.mutate=a[1]),V((function(){return a?a[2]:u}),[]),(0,n.createElement)(N.Provider,v(t,{value:r}))}),"default",{value:F}),c=function(t,e,r){var c=r.cache,i=r.compare,f=r.fallbackData,h=r.suspense,Z=r.revalidateOnMount,b=r.refreshInterval,y=r.refreshWhenHidden,g=r.refreshWhenOffline,w=z.get(c),j=w[0],m=w[1],O=w[2],_=w[3],x=S(t),E=x[0],M=x[1],R=x[2],k=(0,n.useRef)(!1),L=(0,n.useRef)(!1),H=(0,n.useRef)(E),B=(0,n.useRef)(e),D=(0,n.useRef)(r),P=function(){return D.current},F=function(){return P().isVisible()&&P().isOnline()},U=function(t){return c.set(R,v(c.get(R),t))},N=c.get(E),W=s(f)?r.fallback[E]:f,$=s(N)?W:N,J=c.get(R)||{},K=J.error,Q=!k.current,X=function(){return Q&&!s(Z)?Z:!P().isPaused()&&(h?!s($):s($)||r.revalidateIfStale)},Y=!(!E||!e)&&(!!J.isValidating||Q&&X()),tt=function(t,e){var r=(0,n.useState)({})[1],o=(0,n.useRef)(t),a=(0,n.useRef)({data:!1,error:!1,isValidating:!1}),c=(0,n.useCallback)((function(t){var n=!1,c=o.current;for(var i in t){var u=i;c[u]!==t[u]&&(c[u]=t[u],a.current[u]&&(n=!0))}n&&!e.current&&r({})}),[]);return V((function(){o.current=t})),[o,a.current,c]}({data:$,error:K,isValidating:Y},L),et=tt[0],rt=tt[1],nt=tt[2],ot=(0,n.useCallback)((function(t){return o(void 0,void 0,void 0,(function(){var e,n,o,f,v,d,p,h,Z,b,y,g,w;return a(this,(function(a){switch(a.label){case 0:if(e=B.current,!E||!e||L.current||P().isPaused())return[2,!1];f=!0,v=t||{},d=!_[E]||!v.dedupe,p=function(){return!L.current&&E===H.current&&k.current},h=function(){var t=_[E];t&&t[1]===o&&delete _[E]},Z={isValidating:!1},b=function(){U({isValidating:!1}),p()&&nt(Z)},U({isValidating:!0}),nt({isValidating:!0}),a.label=1;case 1:return a.trys.push([1,3,,4]),d&&(C(c,E,et.current.data,et.current.error,!0),r.loadingTimeout&&!c.get(E)&&setTimeout((function(){f&&p()&&P().onLoadingSlow(E,r)}),r.loadingTimeout),_[E]=[e.apply(void 0,M),I()]),w=_[E],n=w[0],o=w[1],[4,n];case 2:return n=a.sent(),d&&setTimeout(h,r.dedupingInterval),_[E]&&_[E][1]===o?(U({error:u}),Z.error=u,y=O[E],!s(y)&&(o<=y[0]||o<=y[1]||0===y[1])?(b(),d&&p()&&P().onDiscarded(E),[2,!1]):(i(et.current.data,n)?Z.data=et.current.data:Z.data=n,i(c.get(E),n)||c.set(E,n),d&&p()&&P().onSuccess(n,E,r),[3,4])):(d&&p()&&P().onDiscarded(E),[2,!1]);case 3:return g=a.sent(),h(),P().isPaused()||(U({error:g}),Z.error=g,d&&p()&&(P().onError(g,E,r),("boolean"==typeof r.shouldRetryOnError&&r.shouldRetryOnError||l(r.shouldRetryOnError)&&r.shouldRetryOnError(g))&&F()&&P().onErrorRetry(g,E,r,ot,{retryCount:(v.retryCount||0)+1,dedupe:!0}))),[3,4];case 4:return f=!1,b(),p()&&d&&C(c,E,Z.data,Z.error,!1),[2,!0]}}))}))}),[E]),at=(0,n.useCallback)(T.bind(u,c,(function(){return H.current})),[]);if(V((function(){B.current=e,D.current=r})),V((function(){if(E){var t=E!==H.current,e=ot.bind(u,G),r=0,n=q(E,m,(function(t,e,r){nt(v({error:e,isValidating:r},i(et.current.data,t)?u:{data:t}))})),o=q(E,j,(function(t){if(0==t){var n=Date.now();P().revalidateOnFocus&&n>r&&F()&&(r=n+P().focusThrottleInterval,e())}else if(1==t)P().revalidateOnReconnect&&F()&&e();else if(2==t)return ot()}));return L.current=!1,H.current=E,k.current=!0,t&&nt({data:$,error:K,isValidating:Y}),X()&&(s($)||A?e():(a=e,p()&&typeof window.requestAnimationFrame!=d?window.requestAnimationFrame(a):setTimeout(a,1))),function(){L.current=!0,n(),o()}}var a}),[E,ot]),V((function(){var t;function e(){var e=l(b)?b($):b;e&&-1!==t&&(t=setTimeout(r,e))}function r(){et.current.error||!y&&!P().isVisible()||!g&&!P().isOnline()?e():ot(G).then(e)}return e(),function(){t&&(clearTimeout(t),t=-1)}}),[b,y,g,ot]),(0,n.useDebugValue)($),h&&s($)&&E)throw B.current=e,D.current=r,L.current=!1,s(K)?ot(G):K;return{mutate:at,get data(){return rt.data=!0,$},get error(){return rt.error=!0,K},get isValidating(){return rt.isValidating=!0,Y}}},function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var r=$(),n=W(t),o=n[0],a=n[1],i=n[2],u=U(r,i),f=c,s=u.use;if(s)for(var l=s.length;l-- >0;)f=s[l](f);return f(o,a||u.fetcher,u)})}}]);
3
3
  //# sourceMappingURL=769.js.map